@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
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v3";
|
|
6
6
|
import { safeParse } from "../../../lib/schemas.js";
|
|
7
|
-
import { ClosedEnum } from "../../types/enums.js";
|
|
8
7
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
8
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
9
|
|
|
@@ -14,7 +13,7 @@ export type GetNearestPOIRequest = {
|
|
|
14
13
|
*/
|
|
15
14
|
lat: string;
|
|
16
15
|
/**
|
|
17
|
-
* Maximum number of places to return
|
|
16
|
+
* Maximum number of places to return in total, across every category in `types`. Defaults to 5, at most 100. Results come back nearest first.
|
|
18
17
|
*/
|
|
19
18
|
limit?: string | undefined;
|
|
20
19
|
/**
|
|
@@ -22,11 +21,11 @@ export type GetNearestPOIRequest = {
|
|
|
22
21
|
*/
|
|
23
22
|
lng: string;
|
|
24
23
|
/**
|
|
25
|
-
* How far from that point to search, in metres. Defaults to
|
|
24
|
+
* How far from that point to search, in metres. Defaults to 10000, at most 50000. Places further away are not returned.
|
|
26
25
|
*/
|
|
27
26
|
radius?: string | undefined;
|
|
28
27
|
/**
|
|
29
|
-
* Set to `true` to add the distance and travel time along roads and paths
|
|
28
|
+
* Set to `true` to add, for each place, the distance and travel time by car, by bicycle and on foot along roads and paths, in `routing`. Working these out takes longer than the straight-line distance alone.
|
|
30
29
|
*/
|
|
31
30
|
routing?: string | undefined;
|
|
32
31
|
/**
|
|
@@ -38,134 +37,225 @@ export type GetNearestPOIRequest = {
|
|
|
38
37
|
/**
|
|
39
38
|
* The point the search was centred on.
|
|
40
39
|
*/
|
|
41
|
-
export type
|
|
40
|
+
export type QueryPoint = {
|
|
42
41
|
/**
|
|
43
42
|
* Latitude the search was centred on.
|
|
44
43
|
*/
|
|
45
|
-
|
|
44
|
+
latitude: number;
|
|
46
45
|
/**
|
|
47
46
|
* Longitude the search was centred on.
|
|
48
47
|
*/
|
|
49
|
-
|
|
48
|
+
longitude: number;
|
|
50
49
|
};
|
|
51
50
|
|
|
52
51
|
/**
|
|
53
52
|
* The search that produced these results.
|
|
54
53
|
*/
|
|
55
|
-
export type
|
|
54
|
+
export type Meta = {
|
|
56
55
|
/**
|
|
57
|
-
* The
|
|
56
|
+
* The category codes the search was limited to. Absent when every category was searched.
|
|
58
57
|
*/
|
|
59
|
-
|
|
58
|
+
categoryFilters?: Array<string> | undefined;
|
|
60
59
|
/**
|
|
61
|
-
*
|
|
60
|
+
* How long the search took, in milliseconds.
|
|
62
61
|
*/
|
|
63
|
-
|
|
62
|
+
executionTimeMs?: number | undefined;
|
|
64
63
|
/**
|
|
65
64
|
* The point the search was centred on.
|
|
66
65
|
*/
|
|
67
|
-
|
|
66
|
+
queryPoint: QueryPoint;
|
|
68
67
|
/**
|
|
69
68
|
* The radius that was applied, in metres.
|
|
70
69
|
*/
|
|
71
|
-
|
|
70
|
+
radiusMeters: number;
|
|
72
71
|
/**
|
|
73
|
-
* Number of
|
|
72
|
+
* Number of places returned. It is never more than `limit`.
|
|
74
73
|
*/
|
|
75
|
-
|
|
74
|
+
totalFound: number;
|
|
76
75
|
};
|
|
77
76
|
|
|
78
77
|
/**
|
|
79
|
-
*
|
|
78
|
+
* Logo images for the place's brand. Present only when artwork is held for that brand.
|
|
80
79
|
*/
|
|
81
|
-
export
|
|
82
|
-
|
|
83
|
-
|
|
80
|
+
export type GetNearestPOIBranding = {
|
|
81
|
+
/**
|
|
82
|
+
* The square icon at 64, 128, 256 and 512 pixels wide, as an `<img>` `srcset` value.
|
|
83
|
+
*/
|
|
84
|
+
iconSrcset: string;
|
|
85
|
+
/**
|
|
86
|
+
* URL of the brand's square icon, 256 pixels wide.
|
|
87
|
+
*/
|
|
88
|
+
iconUrl: string;
|
|
89
|
+
/**
|
|
90
|
+
* The wordmark at 256, 512 and 1024 pixels wide, as an `<img>` `srcset` value. Absent when the brand has no wordmark.
|
|
91
|
+
*/
|
|
92
|
+
wordmarkSrcset?: string | undefined;
|
|
93
|
+
/**
|
|
94
|
+
* URL of the brand's horizontal wordmark, 512 pixels wide. Absent when the brand has no wordmark.
|
|
95
|
+
*/
|
|
96
|
+
wordmarkUrl?: string | undefined;
|
|
97
|
+
};
|
|
98
|
+
|
|
84
99
|
/**
|
|
85
|
-
*
|
|
100
|
+
* Position of the place.
|
|
86
101
|
*/
|
|
87
|
-
export type
|
|
102
|
+
export type GetNearestPOICoordinates = {
|
|
103
|
+
/**
|
|
104
|
+
* Latitude of the place, in WGS84 decimal degrees.
|
|
105
|
+
*/
|
|
106
|
+
latitude: number;
|
|
107
|
+
/**
|
|
108
|
+
* Longitude of the place, in WGS84 decimal degrees.
|
|
109
|
+
*/
|
|
110
|
+
longitude: number;
|
|
111
|
+
};
|
|
88
112
|
|
|
89
113
|
/**
|
|
90
|
-
*
|
|
114
|
+
* The route by bicycle. Null when no route was found by bicycle.
|
|
91
115
|
*/
|
|
92
|
-
export type
|
|
116
|
+
export type Bike = {
|
|
93
117
|
/**
|
|
94
|
-
*
|
|
118
|
+
* Distance along the route, in whole metres.
|
|
95
119
|
*/
|
|
96
|
-
|
|
120
|
+
distance: number;
|
|
97
121
|
/**
|
|
98
|
-
*
|
|
122
|
+
* The same distance in kilometres, to two decimal places.
|
|
99
123
|
*/
|
|
100
|
-
|
|
124
|
+
distanceKm: number;
|
|
125
|
+
/**
|
|
126
|
+
* Estimated travel time along the route, in whole seconds.
|
|
127
|
+
*/
|
|
128
|
+
duration: number;
|
|
129
|
+
/**
|
|
130
|
+
* The same travel time in minutes, rounded to the nearest minute.
|
|
131
|
+
*/
|
|
132
|
+
durationMinutes: number;
|
|
101
133
|
};
|
|
102
134
|
|
|
103
135
|
/**
|
|
104
|
-
*
|
|
136
|
+
* The route by car. Null when no route was found by car.
|
|
105
137
|
*/
|
|
106
|
-
export type
|
|
138
|
+
export type Car = {
|
|
107
139
|
/**
|
|
108
|
-
*
|
|
140
|
+
* Distance along the route, in whole metres.
|
|
109
141
|
*/
|
|
110
|
-
|
|
142
|
+
distance: number;
|
|
111
143
|
/**
|
|
112
|
-
*
|
|
144
|
+
* The same distance in kilometres, to two decimal places.
|
|
113
145
|
*/
|
|
114
|
-
|
|
146
|
+
distanceKm: number;
|
|
115
147
|
/**
|
|
116
|
-
*
|
|
148
|
+
* Estimated travel time along the route, in whole seconds.
|
|
117
149
|
*/
|
|
118
|
-
|
|
150
|
+
duration: number;
|
|
119
151
|
/**
|
|
120
|
-
*
|
|
152
|
+
* The same travel time in minutes, rounded to the nearest minute.
|
|
121
153
|
*/
|
|
122
|
-
|
|
154
|
+
durationMinutes: number;
|
|
155
|
+
};
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* The route on foot. Null when no route was found on foot.
|
|
159
|
+
*/
|
|
160
|
+
export type Foot = {
|
|
123
161
|
/**
|
|
124
|
-
*
|
|
162
|
+
* Distance along the route, in whole metres.
|
|
125
163
|
*/
|
|
126
|
-
|
|
164
|
+
distance: number;
|
|
127
165
|
/**
|
|
128
|
-
*
|
|
166
|
+
* The same distance in kilometres, to two decimal places.
|
|
129
167
|
*/
|
|
130
|
-
|
|
168
|
+
distanceKm: number;
|
|
169
|
+
/**
|
|
170
|
+
* Estimated travel time along the route, in whole seconds.
|
|
171
|
+
*/
|
|
172
|
+
duration: number;
|
|
131
173
|
/**
|
|
132
|
-
*
|
|
174
|
+
* The same travel time in minutes, rounded to the nearest minute.
|
|
133
175
|
*/
|
|
134
|
-
|
|
176
|
+
durationMinutes: number;
|
|
177
|
+
};
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* Distance and travel time from the search point to the place by car, by bicycle and on foot, along roads and paths. Present only when `routing` is true, and absent for a place whose routes could not be worked out.
|
|
181
|
+
*/
|
|
182
|
+
export type Routing = {
|
|
135
183
|
/**
|
|
136
|
-
*
|
|
184
|
+
* The route by bicycle. Null when no route was found by bicycle.
|
|
137
185
|
*/
|
|
138
|
-
|
|
186
|
+
bike: Bike | null;
|
|
139
187
|
/**
|
|
140
|
-
*
|
|
188
|
+
* The route by car. Null when no route was found by car.
|
|
141
189
|
*/
|
|
142
|
-
|
|
190
|
+
car: Car | null;
|
|
143
191
|
/**
|
|
144
|
-
*
|
|
192
|
+
* The route on foot. Null when no route was found on foot.
|
|
145
193
|
*/
|
|
146
|
-
|
|
194
|
+
foot: Foot | null;
|
|
147
195
|
};
|
|
148
196
|
|
|
149
197
|
/**
|
|
150
|
-
*
|
|
198
|
+
* A point of interest near the search point, such as a shop, a station or an airport.
|
|
151
199
|
*/
|
|
152
|
-
export type
|
|
200
|
+
export type Results = {
|
|
153
201
|
/**
|
|
154
|
-
*
|
|
202
|
+
* Street address of the place. Absent when none is held.
|
|
155
203
|
*/
|
|
156
|
-
|
|
204
|
+
address?: string | undefined;
|
|
157
205
|
/**
|
|
158
|
-
*
|
|
206
|
+
* Direction of the place from the search point, in whole degrees clockwise from true north, from 0 to 359. Null when the place is at the search point itself.
|
|
159
207
|
*/
|
|
160
|
-
|
|
208
|
+
bearingDegrees: number | null;
|
|
161
209
|
/**
|
|
162
|
-
*
|
|
210
|
+
* Identifier for the brand the place trades under. Absent when the place has no known brand.
|
|
211
|
+
*/
|
|
212
|
+
brandId?: string | undefined;
|
|
213
|
+
/**
|
|
214
|
+
* Logo images for the place's brand. Present only when artwork is held for that brand.
|
|
163
215
|
*/
|
|
164
|
-
|
|
216
|
+
branding?: GetNearestPOIBranding | undefined;
|
|
217
|
+
/**
|
|
218
|
+
* Code identifying the category the place belongs to, one of RETAIL, RAIL, METRO, FERRY, AIRPORT, BUS, AIRPORT_SMALL, AIRPORT_INTERNATIONAL. Pass it in `types` to filter a search.
|
|
219
|
+
*/
|
|
220
|
+
categoryId: string;
|
|
165
221
|
/**
|
|
166
|
-
*
|
|
222
|
+
* Position of the place.
|
|
167
223
|
*/
|
|
168
|
-
|
|
224
|
+
coordinates: GetNearestPOICoordinates;
|
|
225
|
+
/**
|
|
226
|
+
* Straight-line distance from the search point, in whole metres.
|
|
227
|
+
*/
|
|
228
|
+
distanceMeters: number;
|
|
229
|
+
/**
|
|
230
|
+
* Identifier for the point of interest.
|
|
231
|
+
*/
|
|
232
|
+
id: string;
|
|
233
|
+
/**
|
|
234
|
+
* Name of the place.
|
|
235
|
+
*/
|
|
236
|
+
name: string;
|
|
237
|
+
/**
|
|
238
|
+
* Distance and travel time from the search point to the place by car, by bicycle and on foot, along roads and paths. Present only when `routing` is true, and absent for a place whose routes could not be worked out.
|
|
239
|
+
*/
|
|
240
|
+
routing?: Routing | undefined;
|
|
241
|
+
/**
|
|
242
|
+
* When this record was last refreshed in the dataset, as an ISO 8601 timestamp. It is not the date the place itself last changed.
|
|
243
|
+
*/
|
|
244
|
+
updatedAt?: string | undefined;
|
|
245
|
+
};
|
|
246
|
+
|
|
247
|
+
/**
|
|
248
|
+
* Points of interest near the requested location, nearest first.
|
|
249
|
+
*/
|
|
250
|
+
export type GetNearestPOIResponseBody = {
|
|
251
|
+
/**
|
|
252
|
+
* The search that produced these results.
|
|
253
|
+
*/
|
|
254
|
+
meta: Meta;
|
|
255
|
+
/**
|
|
256
|
+
* Points of interest within the search radius, nearest first.
|
|
257
|
+
*/
|
|
258
|
+
results: Array<Results>;
|
|
169
259
|
};
|
|
170
260
|
|
|
171
261
|
/** @internal */
|
|
@@ -185,9 +275,9 @@ export const GetNearestPOIRequest$outboundSchema: z.ZodType<
|
|
|
185
275
|
GetNearestPOIRequest
|
|
186
276
|
> = z.object({
|
|
187
277
|
lat: z.string(),
|
|
188
|
-
limit: z.string().default("
|
|
278
|
+
limit: z.string().default("5"),
|
|
189
279
|
lng: z.string(),
|
|
190
|
-
radius: z.string().default("
|
|
280
|
+
radius: z.string().default("10000"),
|
|
191
281
|
routing: z.string().optional(),
|
|
192
282
|
types: z.string().optional(),
|
|
193
283
|
});
|
|
@@ -201,98 +291,185 @@ export function getNearestPOIRequestToJSON(
|
|
|
201
291
|
}
|
|
202
292
|
|
|
203
293
|
/** @internal */
|
|
204
|
-
export const
|
|
205
|
-
|
|
294
|
+
export const QueryPoint$inboundSchema: z.ZodType<
|
|
295
|
+
QueryPoint,
|
|
206
296
|
z.ZodTypeDef,
|
|
207
297
|
unknown
|
|
208
298
|
> = z.object({
|
|
209
|
-
|
|
210
|
-
|
|
299
|
+
latitude: z.number(),
|
|
300
|
+
longitude: z.number(),
|
|
211
301
|
});
|
|
212
302
|
|
|
213
|
-
export function
|
|
303
|
+
export function queryPointFromJSON(
|
|
214
304
|
jsonString: string,
|
|
215
|
-
): SafeParseResult<
|
|
305
|
+
): SafeParseResult<QueryPoint, SDKValidationError> {
|
|
216
306
|
return safeParse(
|
|
217
307
|
jsonString,
|
|
218
|
-
(x) =>
|
|
219
|
-
`Failed to parse '
|
|
308
|
+
(x) => QueryPoint$inboundSchema.parse(JSON.parse(x)),
|
|
309
|
+
`Failed to parse 'QueryPoint' from JSON`,
|
|
220
310
|
);
|
|
221
311
|
}
|
|
222
312
|
|
|
223
313
|
/** @internal */
|
|
224
|
-
export const
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
searchRadius: z.number(),
|
|
233
|
-
totalResults: z.number(),
|
|
234
|
-
});
|
|
314
|
+
export const Meta$inboundSchema: z.ZodType<Meta, z.ZodTypeDef, unknown> = z
|
|
315
|
+
.object({
|
|
316
|
+
categoryFilters: z.array(z.string()).optional(),
|
|
317
|
+
executionTimeMs: z.number().optional(),
|
|
318
|
+
queryPoint: z.lazy(() => QueryPoint$inboundSchema),
|
|
319
|
+
radiusMeters: z.number(),
|
|
320
|
+
totalFound: z.number(),
|
|
321
|
+
});
|
|
235
322
|
|
|
236
|
-
export function
|
|
323
|
+
export function metaFromJSON(
|
|
237
324
|
jsonString: string,
|
|
238
|
-
): SafeParseResult<
|
|
325
|
+
): SafeParseResult<Meta, SDKValidationError> {
|
|
239
326
|
return safeParse(
|
|
240
327
|
jsonString,
|
|
241
|
-
(x) =>
|
|
242
|
-
`Failed to parse '
|
|
328
|
+
(x) => Meta$inboundSchema.parse(JSON.parse(x)),
|
|
329
|
+
`Failed to parse 'Meta' from JSON`,
|
|
243
330
|
);
|
|
244
331
|
}
|
|
245
332
|
|
|
246
333
|
/** @internal */
|
|
247
|
-
export const
|
|
248
|
-
|
|
249
|
-
> = z.nativeEnum(GetNearestPOIType);
|
|
250
|
-
|
|
251
|
-
/** @internal */
|
|
252
|
-
export const GetNearestPOILocation$inboundSchema: z.ZodType<
|
|
253
|
-
GetNearestPOILocation,
|
|
334
|
+
export const GetNearestPOIBranding$inboundSchema: z.ZodType<
|
|
335
|
+
GetNearestPOIBranding,
|
|
254
336
|
z.ZodTypeDef,
|
|
255
337
|
unknown
|
|
256
338
|
> = z.object({
|
|
257
|
-
|
|
258
|
-
|
|
339
|
+
iconSrcset: z.string(),
|
|
340
|
+
iconUrl: z.string(),
|
|
341
|
+
wordmarkSrcset: z.string().optional(),
|
|
342
|
+
wordmarkUrl: z.string().optional(),
|
|
259
343
|
});
|
|
260
344
|
|
|
261
|
-
export function
|
|
345
|
+
export function getNearestPOIBrandingFromJSON(
|
|
262
346
|
jsonString: string,
|
|
263
|
-
): SafeParseResult<
|
|
347
|
+
): SafeParseResult<GetNearestPOIBranding, SDKValidationError> {
|
|
264
348
|
return safeParse(
|
|
265
349
|
jsonString,
|
|
266
|
-
(x) =>
|
|
267
|
-
`Failed to parse '
|
|
350
|
+
(x) => GetNearestPOIBranding$inboundSchema.parse(JSON.parse(x)),
|
|
351
|
+
`Failed to parse 'GetNearestPOIBranding' from JSON`,
|
|
268
352
|
);
|
|
269
353
|
}
|
|
270
354
|
|
|
271
355
|
/** @internal */
|
|
272
|
-
export const
|
|
273
|
-
|
|
356
|
+
export const GetNearestPOICoordinates$inboundSchema: z.ZodType<
|
|
357
|
+
GetNearestPOICoordinates,
|
|
274
358
|
z.ZodTypeDef,
|
|
275
359
|
unknown
|
|
276
360
|
> = z.object({
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
distance: z.number().optional(),
|
|
280
|
-
id: z.number(),
|
|
281
|
-
location: z.lazy(() => GetNearestPOILocation$inboundSchema),
|
|
282
|
-
name: z.string(),
|
|
283
|
-
routingDistance: z.number().optional(),
|
|
284
|
-
routingDuration: z.number().optional(),
|
|
285
|
-
source: z.nullable(z.string()).optional(),
|
|
286
|
-
sourceId: z.nullable(z.string()).optional(),
|
|
361
|
+
latitude: z.number(),
|
|
362
|
+
longitude: z.number(),
|
|
287
363
|
});
|
|
288
364
|
|
|
289
|
-
export function
|
|
365
|
+
export function getNearestPOICoordinatesFromJSON(
|
|
366
|
+
jsonString: string,
|
|
367
|
+
): SafeParseResult<GetNearestPOICoordinates, SDKValidationError> {
|
|
368
|
+
return safeParse(
|
|
369
|
+
jsonString,
|
|
370
|
+
(x) => GetNearestPOICoordinates$inboundSchema.parse(JSON.parse(x)),
|
|
371
|
+
`Failed to parse 'GetNearestPOICoordinates' from JSON`,
|
|
372
|
+
);
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
/** @internal */
|
|
376
|
+
export const Bike$inboundSchema: z.ZodType<Bike, z.ZodTypeDef, unknown> = z
|
|
377
|
+
.object({
|
|
378
|
+
distance: z.number(),
|
|
379
|
+
distanceKm: z.number(),
|
|
380
|
+
duration: z.number(),
|
|
381
|
+
durationMinutes: z.number(),
|
|
382
|
+
});
|
|
383
|
+
|
|
384
|
+
export function bikeFromJSON(
|
|
385
|
+
jsonString: string,
|
|
386
|
+
): SafeParseResult<Bike, SDKValidationError> {
|
|
387
|
+
return safeParse(
|
|
388
|
+
jsonString,
|
|
389
|
+
(x) => Bike$inboundSchema.parse(JSON.parse(x)),
|
|
390
|
+
`Failed to parse 'Bike' from JSON`,
|
|
391
|
+
);
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
/** @internal */
|
|
395
|
+
export const Car$inboundSchema: z.ZodType<Car, z.ZodTypeDef, unknown> = z
|
|
396
|
+
.object({
|
|
397
|
+
distance: z.number(),
|
|
398
|
+
distanceKm: z.number(),
|
|
399
|
+
duration: z.number(),
|
|
400
|
+
durationMinutes: z.number(),
|
|
401
|
+
});
|
|
402
|
+
|
|
403
|
+
export function carFromJSON(
|
|
404
|
+
jsonString: string,
|
|
405
|
+
): SafeParseResult<Car, SDKValidationError> {
|
|
406
|
+
return safeParse(
|
|
407
|
+
jsonString,
|
|
408
|
+
(x) => Car$inboundSchema.parse(JSON.parse(x)),
|
|
409
|
+
`Failed to parse 'Car' from JSON`,
|
|
410
|
+
);
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
/** @internal */
|
|
414
|
+
export const Foot$inboundSchema: z.ZodType<Foot, z.ZodTypeDef, unknown> = z
|
|
415
|
+
.object({
|
|
416
|
+
distance: z.number(),
|
|
417
|
+
distanceKm: z.number(),
|
|
418
|
+
duration: z.number(),
|
|
419
|
+
durationMinutes: z.number(),
|
|
420
|
+
});
|
|
421
|
+
|
|
422
|
+
export function footFromJSON(
|
|
423
|
+
jsonString: string,
|
|
424
|
+
): SafeParseResult<Foot, SDKValidationError> {
|
|
425
|
+
return safeParse(
|
|
426
|
+
jsonString,
|
|
427
|
+
(x) => Foot$inboundSchema.parse(JSON.parse(x)),
|
|
428
|
+
`Failed to parse 'Foot' from JSON`,
|
|
429
|
+
);
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
/** @internal */
|
|
433
|
+
export const Routing$inboundSchema: z.ZodType<Routing, z.ZodTypeDef, unknown> =
|
|
434
|
+
z.object({
|
|
435
|
+
bike: z.nullable(z.lazy(() => Bike$inboundSchema)),
|
|
436
|
+
car: z.nullable(z.lazy(() => Car$inboundSchema)),
|
|
437
|
+
foot: z.nullable(z.lazy(() => Foot$inboundSchema)),
|
|
438
|
+
});
|
|
439
|
+
|
|
440
|
+
export function routingFromJSON(
|
|
441
|
+
jsonString: string,
|
|
442
|
+
): SafeParseResult<Routing, SDKValidationError> {
|
|
443
|
+
return safeParse(
|
|
444
|
+
jsonString,
|
|
445
|
+
(x) => Routing$inboundSchema.parse(JSON.parse(x)),
|
|
446
|
+
`Failed to parse 'Routing' from JSON`,
|
|
447
|
+
);
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
/** @internal */
|
|
451
|
+
export const Results$inboundSchema: z.ZodType<Results, z.ZodTypeDef, unknown> =
|
|
452
|
+
z.object({
|
|
453
|
+
address: z.string().optional(),
|
|
454
|
+
bearingDegrees: z.nullable(z.number()),
|
|
455
|
+
brandId: z.string().optional(),
|
|
456
|
+
branding: z.lazy(() => GetNearestPOIBranding$inboundSchema).optional(),
|
|
457
|
+
categoryId: z.string(),
|
|
458
|
+
coordinates: z.lazy(() => GetNearestPOICoordinates$inboundSchema),
|
|
459
|
+
distanceMeters: z.number(),
|
|
460
|
+
id: z.string(),
|
|
461
|
+
name: z.string(),
|
|
462
|
+
routing: z.lazy(() => Routing$inboundSchema).optional(),
|
|
463
|
+
updatedAt: z.string().optional(),
|
|
464
|
+
});
|
|
465
|
+
|
|
466
|
+
export function resultsFromJSON(
|
|
290
467
|
jsonString: string,
|
|
291
|
-
): SafeParseResult<
|
|
468
|
+
): SafeParseResult<Results, SDKValidationError> {
|
|
292
469
|
return safeParse(
|
|
293
470
|
jsonString,
|
|
294
|
-
(x) =>
|
|
295
|
-
`Failed to parse '
|
|
471
|
+
(x) => Results$inboundSchema.parse(JSON.parse(x)),
|
|
472
|
+
`Failed to parse 'Results' from JSON`,
|
|
296
473
|
);
|
|
297
474
|
}
|
|
298
475
|
|
|
@@ -302,10 +479,8 @@ export const GetNearestPOIResponseBody$inboundSchema: z.ZodType<
|
|
|
302
479
|
z.ZodTypeDef,
|
|
303
480
|
unknown
|
|
304
481
|
> = z.object({
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
result: z.array(z.lazy(() => GetNearestPOIResult$inboundSchema)),
|
|
308
|
-
success: z.boolean(),
|
|
482
|
+
meta: z.lazy(() => Meta$inboundSchema),
|
|
483
|
+
results: z.array(z.lazy(() => Results$inboundSchema)),
|
|
309
484
|
});
|
|
310
485
|
|
|
311
486
|
export function getNearestPOIResponseBodyFromJSON(
|
|
@@ -49,7 +49,7 @@ export type GetPOIMultipleTilesFormat = OpenEnum<
|
|
|
49
49
|
/**
|
|
50
50
|
* Counts across the whole request, and the format the tiles were returned in.
|
|
51
51
|
*/
|
|
52
|
-
export type
|
|
52
|
+
export type Metadata = {
|
|
53
53
|
/**
|
|
54
54
|
* Number of tiles that could not be returned, each with its own `error`.
|
|
55
55
|
*/
|
|
@@ -158,7 +158,7 @@ export type GetPOIMultipleTilesTile = {
|
|
|
158
158
|
/**
|
|
159
159
|
* Which tile this is and when it was built. Not present in every response.
|
|
160
160
|
*/
|
|
161
|
-
export type
|
|
161
|
+
export type GetPOIMultipleTilesMetadata = {
|
|
162
162
|
/**
|
|
163
163
|
* Number of points of interest in the tile.
|
|
164
164
|
*/
|
|
@@ -191,7 +191,7 @@ export type GetPOIMultipleTiles1 = {
|
|
|
191
191
|
/**
|
|
192
192
|
* Which tile this is and when it was built. Not present in every response.
|
|
193
193
|
*/
|
|
194
|
-
metadata?:
|
|
194
|
+
metadata?: GetPOIMultipleTilesMetadata | undefined;
|
|
195
195
|
type: GetPOIMultipleTilesType;
|
|
196
196
|
};
|
|
197
197
|
|
|
@@ -228,7 +228,7 @@ export type GetPOIMultipleTilesResponseBody = {
|
|
|
228
228
|
/**
|
|
229
229
|
* Counts across the whole request, and the format the tiles were returned in.
|
|
230
230
|
*/
|
|
231
|
-
metadata:
|
|
231
|
+
metadata: Metadata;
|
|
232
232
|
/**
|
|
233
233
|
* One entry per requested tile.
|
|
234
234
|
*/
|
|
@@ -276,8 +276,8 @@ export const GetPOIMultipleTilesFormat$inboundSchema: z.ZodType<
|
|
|
276
276
|
> = openEnums.inboundSchema(GetPOIMultipleTilesFormat);
|
|
277
277
|
|
|
278
278
|
/** @internal */
|
|
279
|
-
export const
|
|
280
|
-
|
|
279
|
+
export const Metadata$inboundSchema: z.ZodType<
|
|
280
|
+
Metadata,
|
|
281
281
|
z.ZodTypeDef,
|
|
282
282
|
unknown
|
|
283
283
|
> = z.object({
|
|
@@ -287,13 +287,13 @@ export const GetPOIMultipleTilesMetadata$inboundSchema: z.ZodType<
|
|
|
287
287
|
successfulTiles: z.number(),
|
|
288
288
|
});
|
|
289
289
|
|
|
290
|
-
export function
|
|
290
|
+
export function metadataFromJSON(
|
|
291
291
|
jsonString: string,
|
|
292
|
-
): SafeParseResult<
|
|
292
|
+
): SafeParseResult<Metadata, SDKValidationError> {
|
|
293
293
|
return safeParse(
|
|
294
294
|
jsonString,
|
|
295
|
-
(x) =>
|
|
296
|
-
`Failed to parse '
|
|
295
|
+
(x) => Metadata$inboundSchema.parse(JSON.parse(x)),
|
|
296
|
+
`Failed to parse 'Metadata' from JSON`,
|
|
297
297
|
);
|
|
298
298
|
}
|
|
299
299
|
|
|
@@ -414,8 +414,8 @@ export function getPOIMultipleTilesTileFromJSON(
|
|
|
414
414
|
}
|
|
415
415
|
|
|
416
416
|
/** @internal */
|
|
417
|
-
export const
|
|
418
|
-
|
|
417
|
+
export const GetPOIMultipleTilesMetadata$inboundSchema: z.ZodType<
|
|
418
|
+
GetPOIMultipleTilesMetadata,
|
|
419
419
|
z.ZodTypeDef,
|
|
420
420
|
unknown
|
|
421
421
|
> = z.object({
|
|
@@ -424,13 +424,13 @@ export const GetPOIMultipleTilesPOIMetadata$inboundSchema: z.ZodType<
|
|
|
424
424
|
tile: z.lazy(() => GetPOIMultipleTilesTile$inboundSchema),
|
|
425
425
|
});
|
|
426
426
|
|
|
427
|
-
export function
|
|
427
|
+
export function getPOIMultipleTilesMetadataFromJSON(
|
|
428
428
|
jsonString: string,
|
|
429
|
-
): SafeParseResult<
|
|
429
|
+
): SafeParseResult<GetPOIMultipleTilesMetadata, SDKValidationError> {
|
|
430
430
|
return safeParse(
|
|
431
431
|
jsonString,
|
|
432
|
-
(x) =>
|
|
433
|
-
`Failed to parse '
|
|
432
|
+
(x) => GetPOIMultipleTilesMetadata$inboundSchema.parse(JSON.parse(x)),
|
|
433
|
+
`Failed to parse 'GetPOIMultipleTilesMetadata' from JSON`,
|
|
434
434
|
);
|
|
435
435
|
}
|
|
436
436
|
|
|
@@ -446,8 +446,7 @@ export const GetPOIMultipleTiles1$inboundSchema: z.ZodType<
|
|
|
446
446
|
unknown
|
|
447
447
|
> = z.object({
|
|
448
448
|
features: z.array(z.lazy(() => GetPOIMultipleTilesFeatures$inboundSchema)),
|
|
449
|
-
metadata: z.lazy(() =>
|
|
450
|
-
.optional(),
|
|
449
|
+
metadata: z.lazy(() => GetPOIMultipleTilesMetadata$inboundSchema).optional(),
|
|
451
450
|
type: GetPOIMultipleTilesType$inboundSchema,
|
|
452
451
|
});
|
|
453
452
|
|
|
@@ -512,7 +511,7 @@ export const GetPOIMultipleTilesResponseBody$inboundSchema: z.ZodType<
|
|
|
512
511
|
unknown
|
|
513
512
|
> = z.object({
|
|
514
513
|
message: z.string().optional(),
|
|
515
|
-
metadata: z.lazy(() =>
|
|
514
|
+
metadata: z.lazy(() => Metadata$inboundSchema),
|
|
516
515
|
result: z.array(z.lazy(() => GetPOIMultipleTilesResult$inboundSchema)),
|
|
517
516
|
success: z.boolean(),
|
|
518
517
|
});
|