@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.
Files changed (427) hide show
  1. package/README.md +452 -434
  2. package/dist/commonjs/funcs/areasGetNearestHistoricLandfill.d.ts +19 -0
  3. package/dist/commonjs/funcs/areasGetNearestHistoricLandfill.d.ts.map +1 -0
  4. package/dist/commonjs/funcs/areasGetNearestHistoricLandfill.js +126 -0
  5. package/dist/commonjs/funcs/areasGetNearestHistoricLandfill.js.map +1 -0
  6. package/dist/commonjs/funcs/areasGetRadonAtPoint.d.ts +19 -0
  7. package/dist/commonjs/funcs/areasGetRadonAtPoint.d.ts.map +1 -0
  8. package/dist/commonjs/funcs/areasGetRadonAtPoint.js +124 -0
  9. package/dist/commonjs/funcs/areasGetRadonAtPoint.js.map +1 -0
  10. package/dist/commonjs/funcs/floodRiskPoint.d.ts +1 -1
  11. package/dist/commonjs/funcs/floodRiskPoint.js +1 -1
  12. package/dist/commonjs/funcs/noisePoint.d.ts +18 -0
  13. package/dist/commonjs/funcs/noisePoint.d.ts.map +1 -0
  14. package/dist/commonjs/funcs/noisePoint.js +121 -0
  15. package/dist/commonjs/funcs/noisePoint.js.map +1 -0
  16. package/dist/commonjs/funcs/poiGetNearestPOI.d.ts +1 -1
  17. package/dist/commonjs/funcs/poiGetNearestPOI.js +1 -1
  18. package/dist/commonjs/lib/config.d.ts +2 -2
  19. package/dist/commonjs/lib/config.js +2 -2
  20. package/dist/commonjs/sdk/areas.d.ts +15 -0
  21. package/dist/commonjs/sdk/areas.d.ts.map +1 -1
  22. package/dist/commonjs/sdk/areas.js +20 -0
  23. package/dist/commonjs/sdk/areas.js.map +1 -1
  24. package/dist/commonjs/sdk/floodrisk.d.ts +1 -1
  25. package/dist/commonjs/sdk/floodrisk.js +1 -1
  26. package/dist/commonjs/sdk/models/errors/getnearesthistoriclandfill.d.ts +201 -0
  27. package/dist/commonjs/sdk/models/errors/getnearesthistoriclandfill.d.ts.map +1 -0
  28. package/dist/commonjs/sdk/models/errors/getnearesthistoriclandfill.js +213 -0
  29. package/dist/commonjs/sdk/models/errors/getnearesthistoriclandfill.js.map +1 -0
  30. package/dist/commonjs/sdk/models/errors/getradonatpoint.d.ts +201 -0
  31. package/dist/commonjs/sdk/models/errors/getradonatpoint.d.ts.map +1 -0
  32. package/dist/commonjs/sdk/models/errors/getradonatpoint.js +213 -0
  33. package/dist/commonjs/sdk/models/errors/getradonatpoint.js.map +1 -0
  34. package/dist/commonjs/sdk/models/errors/index.d.ts +3 -0
  35. package/dist/commonjs/sdk/models/errors/index.d.ts.map +1 -1
  36. package/dist/commonjs/sdk/models/errors/index.js +3 -0
  37. package/dist/commonjs/sdk/models/errors/index.js.map +1 -1
  38. package/dist/commonjs/sdk/models/errors/querynoisepoint.d.ts +201 -0
  39. package/dist/commonjs/sdk/models/errors/querynoisepoint.d.ts.map +1 -0
  40. package/dist/commonjs/sdk/models/errors/querynoisepoint.js +213 -0
  41. package/dist/commonjs/sdk/models/errors/querynoisepoint.js.map +1 -0
  42. package/dist/commonjs/sdk/models/operations/getnearesthistoriclandfill.d.ts +25 -0
  43. package/dist/commonjs/sdk/models/operations/getnearesthistoriclandfill.d.ts.map +1 -0
  44. package/dist/commonjs/sdk/models/operations/getnearesthistoriclandfill.js +51 -0
  45. package/dist/commonjs/sdk/models/operations/getnearesthistoriclandfill.js.map +1 -0
  46. package/dist/commonjs/sdk/models/operations/getnearestpoi.d.ts +167 -68
  47. package/dist/commonjs/sdk/models/operations/getnearestpoi.d.ts.map +1 -1
  48. package/dist/commonjs/sdk/models/operations/getnearestpoi.js +96 -47
  49. package/dist/commonjs/sdk/models/operations/getnearestpoi.js.map +1 -1
  50. package/dist/commonjs/sdk/models/operations/getpoimultipletiles.d.ts +8 -8
  51. package/dist/commonjs/sdk/models/operations/getpoimultipletiles.d.ts.map +1 -1
  52. package/dist/commonjs/sdk/models/operations/getpoimultipletiles.js +11 -12
  53. package/dist/commonjs/sdk/models/operations/getpoimultipletiles.js.map +1 -1
  54. package/dist/commonjs/sdk/models/operations/getradonatpoint.d.ts +20 -0
  55. package/dist/commonjs/sdk/models/operations/getradonatpoint.d.ts.map +1 -0
  56. package/dist/commonjs/sdk/models/operations/getradonatpoint.js +50 -0
  57. package/dist/commonjs/sdk/models/operations/getradonatpoint.js.map +1 -0
  58. package/dist/commonjs/sdk/models/operations/index.d.ts +2 -0
  59. package/dist/commonjs/sdk/models/operations/index.d.ts.map +1 -1
  60. package/dist/commonjs/sdk/models/operations/index.js +2 -0
  61. package/dist/commonjs/sdk/models/operations/index.js.map +1 -1
  62. package/dist/commonjs/sdk/models/operations/queryschools.d.ts +4 -4
  63. package/dist/commonjs/sdk/models/operations/queryschools.d.ts.map +1 -1
  64. package/dist/commonjs/sdk/models/operations/queryschools.js +6 -7
  65. package/dist/commonjs/sdk/models/operations/queryschools.js.map +1 -1
  66. package/dist/commonjs/sdk/models/shared/airqualityinstallations.d.ts +14 -2
  67. package/dist/commonjs/sdk/models/shared/airqualityinstallations.d.ts.map +1 -1
  68. package/dist/commonjs/sdk/models/shared/airqualityinstallations.js.map +1 -1
  69. package/dist/commonjs/sdk/models/shared/airqualitypointoptions.d.ts +5 -0
  70. package/dist/commonjs/sdk/models/shared/airqualitypointoptions.d.ts.map +1 -1
  71. package/dist/commonjs/sdk/models/shared/airqualitypointoptions.js +1 -0
  72. package/dist/commonjs/sdk/models/shared/airqualitypointoptions.js.map +1 -1
  73. package/dist/commonjs/sdk/models/shared/floodclimate2080.d.ts +5 -0
  74. package/dist/commonjs/sdk/models/shared/floodclimate2080.d.ts.map +1 -1
  75. package/dist/commonjs/sdk/models/shared/floodclimate2080.js.map +1 -1
  76. package/dist/commonjs/sdk/models/shared/floodclimateallowance.d.ts +34 -0
  77. package/dist/commonjs/sdk/models/shared/floodclimateallowance.d.ts.map +1 -0
  78. package/dist/commonjs/sdk/models/shared/floodclimateallowance.js +56 -0
  79. package/dist/commonjs/sdk/models/shared/floodclimateallowance.js.map +1 -0
  80. package/dist/commonjs/sdk/models/shared/floodclimateallowancelevel.d.ts +17 -0
  81. package/dist/commonjs/sdk/models/shared/floodclimateallowancelevel.d.ts.map +1 -0
  82. package/dist/commonjs/sdk/models/shared/floodclimateallowancelevel.js +51 -0
  83. package/dist/commonjs/sdk/models/shared/floodclimateallowancelevel.js.map +1 -0
  84. package/dist/commonjs/sdk/models/shared/floodclimatedriver.d.ts +17 -0
  85. package/dist/commonjs/sdk/models/shared/floodclimatedriver.d.ts.map +1 -0
  86. package/dist/commonjs/sdk/models/shared/floodclimatedriver.js +51 -0
  87. package/dist/commonjs/sdk/models/shared/floodclimatedriver.js.map +1 -0
  88. package/dist/commonjs/sdk/models/shared/floodclimateprojection.d.ts +47 -0
  89. package/dist/commonjs/sdk/models/shared/floodclimateprojection.d.ts.map +1 -0
  90. package/dist/commonjs/sdk/models/shared/floodclimateprojection.js +68 -0
  91. package/dist/commonjs/sdk/models/shared/floodclimateprojection.js.map +1 -0
  92. package/dist/commonjs/sdk/models/shared/floodclimateprojectionsource.d.ts +30 -0
  93. package/dist/commonjs/sdk/models/shared/floodclimateprojectionsource.d.ts.map +1 -0
  94. package/dist/commonjs/sdk/models/shared/floodclimateprojectionsource.js +58 -0
  95. package/dist/commonjs/sdk/models/shared/floodclimateprojectionsource.js.map +1 -0
  96. package/dist/commonjs/sdk/models/shared/floodriskpoint.d.ts +10 -0
  97. package/dist/commonjs/sdk/models/shared/floodriskpoint.d.ts.map +1 -1
  98. package/dist/commonjs/sdk/models/shared/floodriskpoint.js +2 -0
  99. package/dist/commonjs/sdk/models/shared/floodriskpoint.js.map +1 -1
  100. package/dist/commonjs/sdk/models/shared/floodriskpointrequest.d.ts +1 -1
  101. package/dist/commonjs/sdk/models/shared/floodscenario.d.ts +2 -2
  102. package/dist/commonjs/sdk/models/shared/floodscenario.js +1 -1
  103. package/dist/commonjs/sdk/models/shared/hazardedition.d.ts +33 -0
  104. package/dist/commonjs/sdk/models/shared/hazardedition.d.ts.map +1 -0
  105. package/dist/commonjs/sdk/models/shared/hazardedition.js +55 -0
  106. package/dist/commonjs/sdk/models/shared/hazardedition.js.map +1 -0
  107. package/dist/commonjs/sdk/models/shared/hazardoutline.d.ts +24 -0
  108. package/dist/commonjs/sdk/models/shared/hazardoutline.d.ts.map +1 -0
  109. package/dist/commonjs/sdk/models/shared/hazardoutline.js +56 -0
  110. package/dist/commonjs/sdk/models/shared/hazardoutline.js.map +1 -0
  111. package/dist/commonjs/sdk/models/shared/historiclandfillnearestresponse.d.ts +28 -0
  112. package/dist/commonjs/sdk/models/shared/historiclandfillnearestresponse.d.ts.map +1 -0
  113. package/dist/commonjs/sdk/models/shared/historiclandfillnearestresponse.js +56 -0
  114. package/dist/commonjs/sdk/models/shared/historiclandfillnearestresponse.js.map +1 -0
  115. package/dist/commonjs/sdk/models/shared/historiclandfillsite.d.ts +33 -0
  116. package/dist/commonjs/sdk/models/shared/historiclandfillsite.d.ts.map +1 -0
  117. package/dist/commonjs/sdk/models/shared/historiclandfillsite.js +55 -0
  118. package/dist/commonjs/sdk/models/shared/historiclandfillsite.js.map +1 -0
  119. package/dist/commonjs/sdk/models/shared/index.d.ts +22 -0
  120. package/dist/commonjs/sdk/models/shared/index.d.ts.map +1 -1
  121. package/dist/commonjs/sdk/models/shared/index.js +22 -0
  122. package/dist/commonjs/sdk/models/shared/index.js.map +1 -1
  123. package/dist/commonjs/sdk/models/shared/noiseband.d.ts +24 -0
  124. package/dist/commonjs/sdk/models/shared/noiseband.d.ts.map +1 -0
  125. package/dist/commonjs/sdk/models/shared/noiseband.js +52 -0
  126. package/dist/commonjs/sdk/models/shared/noiseband.js.map +1 -0
  127. package/dist/commonjs/sdk/models/shared/noisebandset.d.ts +34 -0
  128. package/dist/commonjs/sdk/models/shared/noisebandset.d.ts.map +1 -0
  129. package/dist/commonjs/sdk/models/shared/noisebandset.js +60 -0
  130. package/dist/commonjs/sdk/models/shared/noisebandset.js.map +1 -0
  131. package/dist/commonjs/sdk/models/shared/noisemapsource.d.ts +91 -0
  132. package/dist/commonjs/sdk/models/shared/noisemapsource.d.ts.map +1 -0
  133. package/dist/commonjs/sdk/models/shared/noisemapsource.js +89 -0
  134. package/dist/commonjs/sdk/models/shared/noisemapsource.js.map +1 -0
  135. package/dist/commonjs/sdk/models/shared/noisenationcoverage.d.ts +33 -0
  136. package/dist/commonjs/sdk/models/shared/noisenationcoverage.d.ts.map +1 -0
  137. package/dist/commonjs/sdk/models/shared/noisenationcoverage.js +63 -0
  138. package/dist/commonjs/sdk/models/shared/noisenationcoverage.js.map +1 -0
  139. package/dist/commonjs/sdk/models/shared/noisepointcoordinate.d.ts +25 -0
  140. package/dist/commonjs/sdk/models/shared/noisepointcoordinate.d.ts.map +1 -0
  141. package/dist/commonjs/sdk/models/shared/noisepointcoordinate.js +60 -0
  142. package/dist/commonjs/sdk/models/shared/noisepointcoordinate.js.map +1 -0
  143. package/dist/commonjs/sdk/models/shared/noisepointrequest.d.ts +13 -0
  144. package/dist/commonjs/sdk/models/shared/noisepointrequest.d.ts.map +1 -0
  145. package/dist/commonjs/sdk/models/shared/noisepointrequest.js +50 -0
  146. package/dist/commonjs/sdk/models/shared/noisepointrequest.js.map +1 -0
  147. package/dist/commonjs/sdk/models/shared/noisepointresponse.d.ts +59 -0
  148. package/dist/commonjs/sdk/models/shared/noisepointresponse.d.ts.map +1 -0
  149. package/dist/commonjs/sdk/models/shared/noisepointresponse.js +79 -0
  150. package/dist/commonjs/sdk/models/shared/noisepointresponse.js.map +1 -0
  151. package/dist/commonjs/sdk/models/shared/noisereading.d.ts +37 -0
  152. package/dist/commonjs/sdk/models/shared/noisereading.d.ts.map +1 -0
  153. package/dist/commonjs/sdk/models/shared/noisereading.js +59 -0
  154. package/dist/commonjs/sdk/models/shared/noisereading.js.map +1 -0
  155. package/dist/commonjs/sdk/models/shared/noisereadingstatus.d.ts +17 -0
  156. package/dist/commonjs/sdk/models/shared/noisereadingstatus.d.ts.map +1 -0
  157. package/dist/commonjs/sdk/models/shared/noisereadingstatus.js +51 -0
  158. package/dist/commonjs/sdk/models/shared/noisereadingstatus.js.map +1 -0
  159. package/dist/commonjs/sdk/models/shared/noisesourcereadings.d.ts +18 -0
  160. package/dist/commonjs/sdk/models/shared/noisesourcereadings.d.ts.map +1 -0
  161. package/dist/commonjs/sdk/models/shared/noisesourcereadings.js +52 -0
  162. package/dist/commonjs/sdk/models/shared/noisesourcereadings.js.map +1 -0
  163. package/dist/commonjs/sdk/models/shared/planninglistresponse.d.ts +51 -4
  164. package/dist/commonjs/sdk/models/shared/planninglistresponse.d.ts.map +1 -1
  165. package/dist/commonjs/sdk/models/shared/planninglistresponse.js +31 -1
  166. package/dist/commonjs/sdk/models/shared/planninglistresponse.js.map +1 -1
  167. package/dist/commonjs/sdk/models/shared/radonpointresponse.d.ts +23 -0
  168. package/dist/commonjs/sdk/models/shared/radonpointresponse.d.ts.map +1 -0
  169. package/dist/commonjs/sdk/models/shared/radonpointresponse.js +54 -0
  170. package/dist/commonjs/sdk/models/shared/radonpointresponse.js.map +1 -0
  171. package/dist/commonjs/sdk/models/shared/radonpotentialband.d.ts +20 -0
  172. package/dist/commonjs/sdk/models/shared/radonpotentialband.d.ts.map +1 -0
  173. package/dist/commonjs/sdk/models/shared/radonpotentialband.js +51 -0
  174. package/dist/commonjs/sdk/models/shared/radonpotentialband.js.map +1 -0
  175. package/dist/commonjs/sdk/models/shared/radonsquare.d.ts +30 -0
  176. package/dist/commonjs/sdk/models/shared/radonsquare.d.ts.map +1 -0
  177. package/dist/commonjs/sdk/models/shared/radonsquare.js +55 -0
  178. package/dist/commonjs/sdk/models/shared/radonsquare.js.map +1 -0
  179. package/dist/commonjs/sdk/noise.d.ts +12 -0
  180. package/dist/commonjs/sdk/noise.d.ts.map +1 -0
  181. package/dist/commonjs/sdk/noise.js +22 -0
  182. package/dist/commonjs/sdk/noise.js.map +1 -0
  183. package/dist/commonjs/sdk/poi.d.ts +1 -1
  184. package/dist/commonjs/sdk/poi.js +1 -1
  185. package/dist/commonjs/sdk/sdk.d.ts +3 -0
  186. package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
  187. package/dist/commonjs/sdk/sdk.js +4 -0
  188. package/dist/commonjs/sdk/sdk.js.map +1 -1
  189. package/dist/esm/funcs/areasGetNearestHistoricLandfill.d.ts +19 -0
  190. package/dist/esm/funcs/areasGetNearestHistoricLandfill.d.ts.map +1 -0
  191. package/dist/esm/funcs/areasGetNearestHistoricLandfill.js +90 -0
  192. package/dist/esm/funcs/areasGetNearestHistoricLandfill.js.map +1 -0
  193. package/dist/esm/funcs/areasGetRadonAtPoint.d.ts +19 -0
  194. package/dist/esm/funcs/areasGetRadonAtPoint.d.ts.map +1 -0
  195. package/dist/esm/funcs/areasGetRadonAtPoint.js +88 -0
  196. package/dist/esm/funcs/areasGetRadonAtPoint.js.map +1 -0
  197. package/dist/esm/funcs/floodRiskPoint.d.ts +1 -1
  198. package/dist/esm/funcs/floodRiskPoint.js +1 -1
  199. package/dist/esm/funcs/noisePoint.d.ts +18 -0
  200. package/dist/esm/funcs/noisePoint.d.ts.map +1 -0
  201. package/dist/esm/funcs/noisePoint.js +85 -0
  202. package/dist/esm/funcs/noisePoint.js.map +1 -0
  203. package/dist/esm/funcs/poiGetNearestPOI.d.ts +1 -1
  204. package/dist/esm/funcs/poiGetNearestPOI.js +1 -1
  205. package/dist/esm/lib/config.d.ts +2 -2
  206. package/dist/esm/lib/config.js +2 -2
  207. package/dist/esm/sdk/areas.d.ts +15 -0
  208. package/dist/esm/sdk/areas.d.ts.map +1 -1
  209. package/dist/esm/sdk/areas.js +20 -0
  210. package/dist/esm/sdk/areas.js.map +1 -1
  211. package/dist/esm/sdk/floodrisk.d.ts +1 -1
  212. package/dist/esm/sdk/floodrisk.js +1 -1
  213. package/dist/esm/sdk/models/errors/getnearesthistoriclandfill.d.ts +201 -0
  214. package/dist/esm/sdk/models/errors/getnearesthistoriclandfill.d.ts.map +1 -0
  215. package/dist/esm/sdk/models/errors/getnearesthistoriclandfill.js +171 -0
  216. package/dist/esm/sdk/models/errors/getnearesthistoriclandfill.js.map +1 -0
  217. package/dist/esm/sdk/models/errors/getradonatpoint.d.ts +201 -0
  218. package/dist/esm/sdk/models/errors/getradonatpoint.d.ts.map +1 -0
  219. package/dist/esm/sdk/models/errors/getradonatpoint.js +171 -0
  220. package/dist/esm/sdk/models/errors/getradonatpoint.js.map +1 -0
  221. package/dist/esm/sdk/models/errors/index.d.ts +3 -0
  222. package/dist/esm/sdk/models/errors/index.d.ts.map +1 -1
  223. package/dist/esm/sdk/models/errors/index.js +3 -0
  224. package/dist/esm/sdk/models/errors/index.js.map +1 -1
  225. package/dist/esm/sdk/models/errors/querynoisepoint.d.ts +201 -0
  226. package/dist/esm/sdk/models/errors/querynoisepoint.d.ts.map +1 -0
  227. package/dist/esm/sdk/models/errors/querynoisepoint.js +171 -0
  228. package/dist/esm/sdk/models/errors/querynoisepoint.js.map +1 -0
  229. package/dist/esm/sdk/models/operations/getnearesthistoriclandfill.d.ts +25 -0
  230. package/dist/esm/sdk/models/operations/getnearesthistoriclandfill.d.ts.map +1 -0
  231. package/dist/esm/sdk/models/operations/getnearesthistoriclandfill.js +14 -0
  232. package/dist/esm/sdk/models/operations/getnearesthistoriclandfill.js.map +1 -0
  233. package/dist/esm/sdk/models/operations/getnearestpoi.d.ts +167 -68
  234. package/dist/esm/sdk/models/operations/getnearestpoi.d.ts.map +1 -1
  235. package/dist/esm/sdk/models/operations/getnearestpoi.js +86 -42
  236. package/dist/esm/sdk/models/operations/getnearestpoi.js.map +1 -1
  237. package/dist/esm/sdk/models/operations/getpoimultipletiles.d.ts +8 -8
  238. package/dist/esm/sdk/models/operations/getpoimultipletiles.d.ts.map +1 -1
  239. package/dist/esm/sdk/models/operations/getpoimultipletiles.js +8 -9
  240. package/dist/esm/sdk/models/operations/getpoimultipletiles.js.map +1 -1
  241. package/dist/esm/sdk/models/operations/getradonatpoint.d.ts +20 -0
  242. package/dist/esm/sdk/models/operations/getradonatpoint.d.ts.map +1 -0
  243. package/dist/esm/sdk/models/operations/getradonatpoint.js +13 -0
  244. package/dist/esm/sdk/models/operations/getradonatpoint.js.map +1 -0
  245. package/dist/esm/sdk/models/operations/index.d.ts +2 -0
  246. package/dist/esm/sdk/models/operations/index.d.ts.map +1 -1
  247. package/dist/esm/sdk/models/operations/index.js +2 -0
  248. package/dist/esm/sdk/models/operations/index.js.map +1 -1
  249. package/dist/esm/sdk/models/operations/queryschools.d.ts +4 -4
  250. package/dist/esm/sdk/models/operations/queryschools.d.ts.map +1 -1
  251. package/dist/esm/sdk/models/operations/queryschools.js +4 -5
  252. package/dist/esm/sdk/models/operations/queryschools.js.map +1 -1
  253. package/dist/esm/sdk/models/shared/airqualityinstallations.d.ts +14 -2
  254. package/dist/esm/sdk/models/shared/airqualityinstallations.d.ts.map +1 -1
  255. package/dist/esm/sdk/models/shared/airqualityinstallations.js.map +1 -1
  256. package/dist/esm/sdk/models/shared/airqualitypointoptions.d.ts +5 -0
  257. package/dist/esm/sdk/models/shared/airqualitypointoptions.d.ts.map +1 -1
  258. package/dist/esm/sdk/models/shared/airqualitypointoptions.js +1 -0
  259. package/dist/esm/sdk/models/shared/airqualitypointoptions.js.map +1 -1
  260. package/dist/esm/sdk/models/shared/floodclimate2080.d.ts +5 -0
  261. package/dist/esm/sdk/models/shared/floodclimate2080.d.ts.map +1 -1
  262. package/dist/esm/sdk/models/shared/floodclimate2080.js.map +1 -1
  263. package/dist/esm/sdk/models/shared/floodclimateallowance.d.ts +34 -0
  264. package/dist/esm/sdk/models/shared/floodclimateallowance.d.ts.map +1 -0
  265. package/dist/esm/sdk/models/shared/floodclimateallowance.js +19 -0
  266. package/dist/esm/sdk/models/shared/floodclimateallowance.js.map +1 -0
  267. package/dist/esm/sdk/models/shared/floodclimateallowancelevel.d.ts +17 -0
  268. package/dist/esm/sdk/models/shared/floodclimateallowancelevel.d.ts.map +1 -0
  269. package/dist/esm/sdk/models/shared/floodclimateallowancelevel.js +15 -0
  270. package/dist/esm/sdk/models/shared/floodclimateallowancelevel.js.map +1 -0
  271. package/dist/esm/sdk/models/shared/floodclimatedriver.d.ts +17 -0
  272. package/dist/esm/sdk/models/shared/floodclimatedriver.d.ts.map +1 -0
  273. package/dist/esm/sdk/models/shared/floodclimatedriver.js +15 -0
  274. package/dist/esm/sdk/models/shared/floodclimatedriver.js.map +1 -0
  275. package/dist/esm/sdk/models/shared/floodclimateprojection.d.ts +47 -0
  276. package/dist/esm/sdk/models/shared/floodclimateprojection.d.ts.map +1 -0
  277. package/dist/esm/sdk/models/shared/floodclimateprojection.js +31 -0
  278. package/dist/esm/sdk/models/shared/floodclimateprojection.js.map +1 -0
  279. package/dist/esm/sdk/models/shared/floodclimateprojectionsource.d.ts +30 -0
  280. package/dist/esm/sdk/models/shared/floodclimateprojectionsource.d.ts.map +1 -0
  281. package/dist/esm/sdk/models/shared/floodclimateprojectionsource.js +21 -0
  282. package/dist/esm/sdk/models/shared/floodclimateprojectionsource.js.map +1 -0
  283. package/dist/esm/sdk/models/shared/floodriskpoint.d.ts +10 -0
  284. package/dist/esm/sdk/models/shared/floodriskpoint.d.ts.map +1 -1
  285. package/dist/esm/sdk/models/shared/floodriskpoint.js +2 -0
  286. package/dist/esm/sdk/models/shared/floodriskpoint.js.map +1 -1
  287. package/dist/esm/sdk/models/shared/floodriskpointrequest.d.ts +1 -1
  288. package/dist/esm/sdk/models/shared/floodscenario.d.ts +2 -2
  289. package/dist/esm/sdk/models/shared/floodscenario.js +1 -1
  290. package/dist/esm/sdk/models/shared/hazardedition.d.ts +33 -0
  291. package/dist/esm/sdk/models/shared/hazardedition.d.ts.map +1 -0
  292. package/dist/esm/sdk/models/shared/hazardedition.js +18 -0
  293. package/dist/esm/sdk/models/shared/hazardedition.js.map +1 -0
  294. package/dist/esm/sdk/models/shared/hazardoutline.d.ts +24 -0
  295. package/dist/esm/sdk/models/shared/hazardoutline.d.ts.map +1 -0
  296. package/dist/esm/sdk/models/shared/hazardoutline.js +19 -0
  297. package/dist/esm/sdk/models/shared/hazardoutline.js.map +1 -0
  298. package/dist/esm/sdk/models/shared/historiclandfillnearestresponse.d.ts +28 -0
  299. package/dist/esm/sdk/models/shared/historiclandfillnearestresponse.d.ts.map +1 -0
  300. package/dist/esm/sdk/models/shared/historiclandfillnearestresponse.js +19 -0
  301. package/dist/esm/sdk/models/shared/historiclandfillnearestresponse.js.map +1 -0
  302. package/dist/esm/sdk/models/shared/historiclandfillsite.d.ts +33 -0
  303. package/dist/esm/sdk/models/shared/historiclandfillsite.d.ts.map +1 -0
  304. package/dist/esm/sdk/models/shared/historiclandfillsite.js +18 -0
  305. package/dist/esm/sdk/models/shared/historiclandfillsite.js.map +1 -0
  306. package/dist/esm/sdk/models/shared/index.d.ts +22 -0
  307. package/dist/esm/sdk/models/shared/index.d.ts.map +1 -1
  308. package/dist/esm/sdk/models/shared/index.js +22 -0
  309. package/dist/esm/sdk/models/shared/index.js.map +1 -1
  310. package/dist/esm/sdk/models/shared/noiseband.d.ts +24 -0
  311. package/dist/esm/sdk/models/shared/noiseband.d.ts.map +1 -0
  312. package/dist/esm/sdk/models/shared/noiseband.js +15 -0
  313. package/dist/esm/sdk/models/shared/noiseband.js.map +1 -0
  314. package/dist/esm/sdk/models/shared/noisebandset.d.ts +34 -0
  315. package/dist/esm/sdk/models/shared/noisebandset.d.ts.map +1 -0
  316. package/dist/esm/sdk/models/shared/noisebandset.js +23 -0
  317. package/dist/esm/sdk/models/shared/noisebandset.js.map +1 -0
  318. package/dist/esm/sdk/models/shared/noisemapsource.d.ts +91 -0
  319. package/dist/esm/sdk/models/shared/noisemapsource.d.ts.map +1 -0
  320. package/dist/esm/sdk/models/shared/noisemapsource.js +52 -0
  321. package/dist/esm/sdk/models/shared/noisemapsource.js.map +1 -0
  322. package/dist/esm/sdk/models/shared/noisenationcoverage.d.ts +33 -0
  323. package/dist/esm/sdk/models/shared/noisenationcoverage.d.ts.map +1 -0
  324. package/dist/esm/sdk/models/shared/noisenationcoverage.js +26 -0
  325. package/dist/esm/sdk/models/shared/noisenationcoverage.js.map +1 -0
  326. package/dist/esm/sdk/models/shared/noisepointcoordinate.d.ts +25 -0
  327. package/dist/esm/sdk/models/shared/noisepointcoordinate.d.ts.map +1 -0
  328. package/dist/esm/sdk/models/shared/noisepointcoordinate.js +22 -0
  329. package/dist/esm/sdk/models/shared/noisepointcoordinate.js.map +1 -0
  330. package/dist/esm/sdk/models/shared/noisepointrequest.d.ts +13 -0
  331. package/dist/esm/sdk/models/shared/noisepointrequest.d.ts.map +1 -0
  332. package/dist/esm/sdk/models/shared/noisepointrequest.js +13 -0
  333. package/dist/esm/sdk/models/shared/noisepointrequest.js.map +1 -0
  334. package/dist/esm/sdk/models/shared/noisepointresponse.d.ts +59 -0
  335. package/dist/esm/sdk/models/shared/noisepointresponse.d.ts.map +1 -0
  336. package/dist/esm/sdk/models/shared/noisepointresponse.js +42 -0
  337. package/dist/esm/sdk/models/shared/noisepointresponse.js.map +1 -0
  338. package/dist/esm/sdk/models/shared/noisereading.d.ts +37 -0
  339. package/dist/esm/sdk/models/shared/noisereading.d.ts.map +1 -0
  340. package/dist/esm/sdk/models/shared/noisereading.js +22 -0
  341. package/dist/esm/sdk/models/shared/noisereading.js.map +1 -0
  342. package/dist/esm/sdk/models/shared/noisereadingstatus.d.ts +17 -0
  343. package/dist/esm/sdk/models/shared/noisereadingstatus.d.ts.map +1 -0
  344. package/dist/esm/sdk/models/shared/noisereadingstatus.js +15 -0
  345. package/dist/esm/sdk/models/shared/noisereadingstatus.js.map +1 -0
  346. package/dist/esm/sdk/models/shared/noisesourcereadings.d.ts +18 -0
  347. package/dist/esm/sdk/models/shared/noisesourcereadings.d.ts.map +1 -0
  348. package/dist/esm/sdk/models/shared/noisesourcereadings.js +15 -0
  349. package/dist/esm/sdk/models/shared/noisesourcereadings.js.map +1 -0
  350. package/dist/esm/sdk/models/shared/planninglistresponse.d.ts +51 -4
  351. package/dist/esm/sdk/models/shared/planninglistresponse.d.ts.map +1 -1
  352. package/dist/esm/sdk/models/shared/planninglistresponse.js +28 -0
  353. package/dist/esm/sdk/models/shared/planninglistresponse.js.map +1 -1
  354. package/dist/esm/sdk/models/shared/radonpointresponse.d.ts +23 -0
  355. package/dist/esm/sdk/models/shared/radonpointresponse.d.ts.map +1 -0
  356. package/dist/esm/sdk/models/shared/radonpointresponse.js +17 -0
  357. package/dist/esm/sdk/models/shared/radonpointresponse.js.map +1 -0
  358. package/dist/esm/sdk/models/shared/radonpotentialband.d.ts +20 -0
  359. package/dist/esm/sdk/models/shared/radonpotentialband.d.ts.map +1 -0
  360. package/dist/esm/sdk/models/shared/radonpotentialband.js +14 -0
  361. package/dist/esm/sdk/models/shared/radonpotentialband.js.map +1 -0
  362. package/dist/esm/sdk/models/shared/radonsquare.d.ts +30 -0
  363. package/dist/esm/sdk/models/shared/radonsquare.d.ts.map +1 -0
  364. package/dist/esm/sdk/models/shared/radonsquare.js +18 -0
  365. package/dist/esm/sdk/models/shared/radonsquare.js.map +1 -0
  366. package/dist/esm/sdk/noise.d.ts +12 -0
  367. package/dist/esm/sdk/noise.d.ts.map +1 -0
  368. package/dist/esm/sdk/noise.js +18 -0
  369. package/dist/esm/sdk/noise.js.map +1 -0
  370. package/dist/esm/sdk/poi.d.ts +1 -1
  371. package/dist/esm/sdk/poi.js +1 -1
  372. package/dist/esm/sdk/sdk.d.ts +3 -0
  373. package/dist/esm/sdk/sdk.d.ts.map +1 -1
  374. package/dist/esm/sdk/sdk.js +4 -0
  375. package/dist/esm/sdk/sdk.js.map +1 -1
  376. package/package.json +1 -1
  377. package/src/funcs/areasGetNearestHistoricLandfill.ts +194 -0
  378. package/src/funcs/areasGetRadonAtPoint.ts +189 -0
  379. package/src/funcs/floodRiskPoint.ts +1 -1
  380. package/src/funcs/noisePoint.ts +184 -0
  381. package/src/funcs/poiGetNearestPOI.ts +1 -1
  382. package/src/lib/config.ts +2 -2
  383. package/src/sdk/areas.ts +37 -0
  384. package/src/sdk/floodrisk.ts +1 -1
  385. package/src/sdk/models/errors/getnearesthistoriclandfill.ts +408 -0
  386. package/src/sdk/models/errors/getradonatpoint.ts +391 -0
  387. package/src/sdk/models/errors/index.ts +3 -0
  388. package/src/sdk/models/errors/querynoisepoint.ts +391 -0
  389. package/src/sdk/models/operations/getnearesthistoriclandfill.ts +48 -0
  390. package/src/sdk/models/operations/getnearestpoi.ts +293 -118
  391. package/src/sdk/models/operations/getpoimultipletiles.ts +18 -19
  392. package/src/sdk/models/operations/getradonatpoint.ts +40 -0
  393. package/src/sdk/models/operations/index.ts +2 -0
  394. package/src/sdk/models/operations/queryschools.ts +14 -11
  395. package/src/sdk/models/shared/airqualityinstallations.ts +14 -2
  396. package/src/sdk/models/shared/airqualitypointoptions.ts +6 -0
  397. package/src/sdk/models/shared/floodclimate2080.ts +5 -0
  398. package/src/sdk/models/shared/floodclimateallowance.ts +65 -0
  399. package/src/sdk/models/shared/floodclimateallowancelevel.ts +29 -0
  400. package/src/sdk/models/shared/floodclimatedriver.ts +27 -0
  401. package/src/sdk/models/shared/floodclimateprojection.ts +88 -0
  402. package/src/sdk/models/shared/floodclimateprojectionsource.ts +65 -0
  403. package/src/sdk/models/shared/floodriskpoint.ts +14 -0
  404. package/src/sdk/models/shared/floodriskpointrequest.ts +1 -1
  405. package/src/sdk/models/shared/floodscenario.ts +2 -2
  406. package/src/sdk/models/shared/hazardedition.ts +58 -0
  407. package/src/sdk/models/shared/hazardoutline.ts +50 -0
  408. package/src/sdk/models/shared/historiclandfillnearestresponse.ts +56 -0
  409. package/src/sdk/models/shared/historiclandfillsite.ts +58 -0
  410. package/src/sdk/models/shared/index.ts +22 -0
  411. package/src/sdk/models/shared/noiseband.ts +47 -0
  412. package/src/sdk/models/shared/noisebandset.ts +60 -0
  413. package/src/sdk/models/shared/noisemapsource.ts +140 -0
  414. package/src/sdk/models/shared/noisenationcoverage.ts +64 -0
  415. package/src/sdk/models/shared/noisepointcoordinate.ts +61 -0
  416. package/src/sdk/models/shared/noisepointrequest.ts +36 -0
  417. package/src/sdk/models/shared/noisepointresponse.ts +109 -0
  418. package/src/sdk/models/shared/noisereading.ts +69 -0
  419. package/src/sdk/models/shared/noisereadingstatus.ts +27 -0
  420. package/src/sdk/models/shared/noisesourcereadings.ts +40 -0
  421. package/src/sdk/models/shared/planninglistresponse.ts +97 -4
  422. package/src/sdk/models/shared/radonpointresponse.ts +46 -0
  423. package/src/sdk/models/shared/radonpotentialband.ts +42 -0
  424. package/src/sdk/models/shared/radonsquare.ts +57 -0
  425. package/src/sdk/noise.ts +27 -0
  426. package/src/sdk/poi.ts +1 -1
  427. package/src/sdk/sdk.ts +6 -0
@@ -0,0 +1,56 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { safeParse } from "../../../lib/schemas.js";
7
+ import { Result as SafeParseResult } from "../../types/fp.js";
8
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
9
+ import { HazardEdition, HazardEdition$inboundSchema } from "./hazardedition.js";
10
+ import {
11
+ HistoricLandfillSite,
12
+ HistoricLandfillSite$inboundSchema,
13
+ } from "./historiclandfillsite.js";
14
+
15
+ export type HistoricLandfillNearestResponse = {
16
+ /**
17
+ * Whether the point is in England or Wales and the historic landfill record for that nation is held. Elsewhere a site near the border can still be found, but `found: false` there does not show that none exists.
18
+ */
19
+ covered: boolean;
20
+ edition: HazardEdition | null;
21
+ /**
22
+ * Whether a historic landfill site lies within `radiusM` of the point.
23
+ */
24
+ found: boolean;
25
+ /**
26
+ * The radius searched, in metres.
27
+ */
28
+ radiusM: number;
29
+ /**
30
+ * The site whose outline is nearest the point. Null when `found` is false.
31
+ */
32
+ site: HistoricLandfillSite | null;
33
+ };
34
+
35
+ /** @internal */
36
+ export const HistoricLandfillNearestResponse$inboundSchema: z.ZodType<
37
+ HistoricLandfillNearestResponse,
38
+ z.ZodTypeDef,
39
+ unknown
40
+ > = z.object({
41
+ covered: z.boolean(),
42
+ edition: z.nullable(HazardEdition$inboundSchema),
43
+ found: z.boolean(),
44
+ radiusM: z.number().int(),
45
+ site: z.nullable(HistoricLandfillSite$inboundSchema),
46
+ });
47
+
48
+ export function historicLandfillNearestResponseFromJSON(
49
+ jsonString: string,
50
+ ): SafeParseResult<HistoricLandfillNearestResponse, SDKValidationError> {
51
+ return safeParse(
52
+ jsonString,
53
+ (x) => HistoricLandfillNearestResponse$inboundSchema.parse(JSON.parse(x)),
54
+ `Failed to parse 'HistoricLandfillNearestResponse' from JSON`,
55
+ );
56
+ }
@@ -0,0 +1,58 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { safeParse } from "../../../lib/schemas.js";
7
+ import { Result as SafeParseResult } from "../../types/fp.js";
8
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
9
+ import { HazardOutline, HazardOutline$inboundSchema } from "./hazardoutline.js";
10
+
11
+ /**
12
+ * The site whose outline is nearest the point. Null when `found` is false.
13
+ */
14
+ export type HistoricLandfillSite = {
15
+ /**
16
+ * Direction from the point to the nearest point of the outline, in degrees clockwise from true north, to one decimal place. Null when `distanceM` is 0.
17
+ */
18
+ bearingDeg: number | null;
19
+ /**
20
+ * Distance in metres from the point to the nearest edge of the site's outline, to one decimal place. 0 when the point is on or inside the outline.
21
+ */
22
+ distanceM: number;
23
+ /**
24
+ * The site's name as the record gives it.
25
+ */
26
+ name: string;
27
+ /**
28
+ * The outline as a GeoJSON MultiPolygon in WGS84.
29
+ */
30
+ outline: HazardOutline;
31
+ /**
32
+ * The site's reference in the historic landfill record.
33
+ */
34
+ reference: string;
35
+ };
36
+
37
+ /** @internal */
38
+ export const HistoricLandfillSite$inboundSchema: z.ZodType<
39
+ HistoricLandfillSite,
40
+ z.ZodTypeDef,
41
+ unknown
42
+ > = z.object({
43
+ bearingDeg: z.nullable(z.number()),
44
+ distanceM: z.number(),
45
+ name: z.string(),
46
+ outline: HazardOutline$inboundSchema,
47
+ reference: z.string(),
48
+ });
49
+
50
+ export function historicLandfillSiteFromJSON(
51
+ jsonString: string,
52
+ ): SafeParseResult<HistoricLandfillSite, SDKValidationError> {
53
+ return safeParse(
54
+ jsonString,
55
+ (x) => HistoricLandfillSite$inboundSchema.parse(JSON.parse(x)),
56
+ `Failed to parse 'HistoricLandfillSite' from JSON`,
57
+ );
58
+ }
@@ -176,6 +176,11 @@ export * from "./exceedancelevel.js";
176
176
  export * from "./extendedstatsaggregationresult.js";
177
177
  export * from "./extractioncitation.js";
178
178
  export * from "./floodclimate2080.js";
179
+ export * from "./floodclimateallowance.js";
180
+ export * from "./floodclimateallowancelevel.js";
181
+ export * from "./floodclimatedriver.js";
182
+ export * from "./floodclimateprojection.js";
183
+ export * from "./floodclimateprojectionsource.js";
179
184
  export * from "./flooddataavailability.js";
180
185
  export * from "./flooddefence.js";
181
186
  export * from "./floodhazardrating.js";
@@ -203,6 +208,8 @@ export * from "./geographymetricslistresponse.js";
203
208
  export * from "./geographymetricsrow.js";
204
209
  export * from "./geographyrelatedarea.js";
205
210
  export * from "./geographytimeseriespoint.js";
211
+ export * from "./hazardedition.js";
212
+ export * from "./hazardoutline.js";
206
213
  export * from "./healthevidencelevel.js";
207
214
  export * from "./healthimpact.js";
208
215
  export * from "./healthimpactseverity.js";
@@ -214,6 +221,8 @@ export * from "./heritagezone.js";
214
221
  export * from "./histogramaggregationresult.js";
215
222
  export * from "./histogrambucket.js";
216
223
  export * from "./historicalvaluation.js";
224
+ export * from "./historiclandfillnearestresponse.js";
225
+ export * from "./historiclandfillsite.js";
217
226
  export * from "./imagecondition.js";
218
227
  export * from "./imagedocumentclass.js";
219
228
  export * from "./imagequality.js";
@@ -256,6 +265,16 @@ export * from "./mortgagecharge.js";
256
265
  export * from "./nearestpostcodesresponse.js";
257
266
  export * from "./nestedaggregation.js";
258
267
  export * from "./nestedaggregationresult.js";
268
+ export * from "./noiseband.js";
269
+ export * from "./noisebandset.js";
270
+ export * from "./noisemapsource.js";
271
+ export * from "./noisenationcoverage.js";
272
+ export * from "./noisepointcoordinate.js";
273
+ export * from "./noisepointrequest.js";
274
+ export * from "./noisepointresponse.js";
275
+ export * from "./noisereading.js";
276
+ export * from "./noisereadingstatus.js";
277
+ export * from "./noisesourcereadings.js";
259
278
  export * from "./observedfeature.js";
260
279
  export * from "./officer.js";
261
280
  export * from "./officerlistresponse.js";
@@ -352,6 +371,9 @@ export * from "./pscresponse.js";
352
371
  export * from "./pscstatement.js";
353
372
  export * from "./pscsummary.js";
354
373
  export * from "./purchasestatus.js";
374
+ export * from "./radonpointresponse.js";
375
+ export * from "./radonpotentialband.js";
376
+ export * from "./radonsquare.js";
355
377
  export * from "./rangedefinition.js";
356
378
  export * from "./refurbishmentdata.js";
357
379
  export * from "./registeredcharges.js";
@@ -0,0 +1,47 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { safeParse } from "../../../lib/schemas.js";
7
+ import { Result as SafeParseResult } from "../../types/fp.js";
8
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
9
+
10
+ /**
11
+ * The band from `bandSet` the level falls in. Null when there is no level, the level is below the quietest band, or the metric has no band set.
12
+ */
13
+ export type NoiseBand = {
14
+ /**
15
+ * Band code, such as `ROAD_NOISE_MED`.
16
+ */
17
+ code: string;
18
+ /**
19
+ * Lowest level in the band, in decibels, inclusive.
20
+ */
21
+ fromDb: number;
22
+ /**
23
+ * Level the band stops below, in decibels. Null for the loudest band, which has no upper limit.
24
+ */
25
+ toDb: number | null;
26
+ };
27
+
28
+ /** @internal */
29
+ export const NoiseBand$inboundSchema: z.ZodType<
30
+ NoiseBand,
31
+ z.ZodTypeDef,
32
+ unknown
33
+ > = z.object({
34
+ code: z.string(),
35
+ fromDb: z.number(),
36
+ toDb: z.nullable(z.number()),
37
+ });
38
+
39
+ export function noiseBandFromJSON(
40
+ jsonString: string,
41
+ ): SafeParseResult<NoiseBand, SDKValidationError> {
42
+ return safeParse(
43
+ jsonString,
44
+ (x) => NoiseBand$inboundSchema.parse(JSON.parse(x)),
45
+ `Failed to parse 'NoiseBand' from JSON`,
46
+ );
47
+ }
@@ -0,0 +1,60 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { safeParse } from "../../../lib/schemas.js";
7
+ import { ClosedEnum } from "../../types/enums.js";
8
+ import { Result as SafeParseResult } from "../../types/fp.js";
9
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
+ import { NoiseBand, NoiseBand$inboundSchema } from "./noiseband.js";
11
+
12
+ /**
13
+ * Who set the bands. `vepler` means Vepler's own bands, the same ones the site and property noise overlay tags use. They are not the noise maps' published bands.
14
+ */
15
+ export const NoiseBandSetSource = {
16
+ Vepler: "vepler",
17
+ } as const;
18
+ /**
19
+ * Who set the bands. `vepler` means Vepler's own bands, the same ones the site and property noise overlay tags use. They are not the noise maps' published bands.
20
+ */
21
+ export type NoiseBandSetSource = ClosedEnum<typeof NoiseBandSetSource>;
22
+
23
+ /**
24
+ * The bands this metric is banded with. Null for Lnight.
25
+ */
26
+ export type NoiseBandSet = {
27
+ /**
28
+ * The bands, quietest first.
29
+ */
30
+ bands: Array<NoiseBand | null>;
31
+ /**
32
+ * Who set the bands. `vepler` means Vepler's own bands, the same ones the site and property noise overlay tags use. They are not the noise maps' published bands.
33
+ */
34
+ source: NoiseBandSetSource;
35
+ };
36
+
37
+ /** @internal */
38
+ export const NoiseBandSetSource$inboundSchema: z.ZodNativeEnum<
39
+ typeof NoiseBandSetSource
40
+ > = z.nativeEnum(NoiseBandSetSource);
41
+
42
+ /** @internal */
43
+ export const NoiseBandSet$inboundSchema: z.ZodType<
44
+ NoiseBandSet,
45
+ z.ZodTypeDef,
46
+ unknown
47
+ > = z.object({
48
+ bands: z.array(z.nullable(NoiseBand$inboundSchema)),
49
+ source: NoiseBandSetSource$inboundSchema,
50
+ });
51
+
52
+ export function noiseBandSetFromJSON(
53
+ jsonString: string,
54
+ ): SafeParseResult<NoiseBandSet, SDKValidationError> {
55
+ return safeParse(
56
+ jsonString,
57
+ (x) => NoiseBandSet$inboundSchema.parse(JSON.parse(x)),
58
+ `Failed to parse 'NoiseBandSet' from JSON`,
59
+ );
60
+ }
@@ -0,0 +1,140 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { safeParse } from "../../../lib/schemas.js";
7
+ import * as openEnums from "../../types/enums.js";
8
+ import { OpenEnum } from "../../types/enums.js";
9
+ import { Result as SafeParseResult } from "../../types/fp.js";
10
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
+
12
+ /**
13
+ * `stated` when the publisher states the data year, `inferred` when it is worked out from the regulations the map was made under. Null when the basis is not recorded.
14
+ */
15
+ export const DataYearBasis = {
16
+ Stated: "stated",
17
+ Inferred: "inferred",
18
+ } as const;
19
+ /**
20
+ * `stated` when the publisher states the data year, `inferred` when it is worked out from the regulations the map was made under. Null when the basis is not recorded.
21
+ */
22
+ export type DataYearBasis = OpenEnum<typeof DataYearBasis>;
23
+
24
+ /**
25
+ * The nation whose map the reading comes from. Null when the map does not state it.
26
+ */
27
+ export const NoiseMapSourceNation = {
28
+ Eng: "ENG",
29
+ Sco: "SCO",
30
+ Wal: "WAL",
31
+ Nir: "NIR",
32
+ } as const;
33
+ /**
34
+ * The nation whose map the reading comes from. Null when the map does not state it.
35
+ */
36
+ export type NoiseMapSourceNation = OpenEnum<typeof NoiseMapSourceNation>;
37
+
38
+ /**
39
+ * `stated` when the publisher states the round, `inferred` when it is worked out from the regulations the map was made under. Null when `round` is null.
40
+ */
41
+ export const RoundBasis = {
42
+ Stated: "stated",
43
+ Inferred: "inferred",
44
+ } as const;
45
+ /**
46
+ * `stated` when the publisher states the round, `inferred` when it is worked out from the regulations the map was made under. Null when `round` is null.
47
+ */
48
+ export type RoundBasis = OpenEnum<typeof RoundBasis>;
49
+
50
+ export type NoiseMapSource = {
51
+ /**
52
+ * The attribution the licence requires to be shown wherever the reading is shown.
53
+ */
54
+ attribution: string | null;
55
+ /**
56
+ * The year the map models noise for. Null when not stated.
57
+ */
58
+ dataYear: number | null;
59
+ /**
60
+ * `stated` when the publisher states the data year, `inferred` when it is worked out from the regulations the map was made under. Null when the basis is not recorded.
61
+ */
62
+ dataYearBasis: DataYearBasis | null;
63
+ /**
64
+ * The date the publisher published this edition of the map, as an ISO 8601 date. Null when not stated.
65
+ */
66
+ edition: string | null;
67
+ /**
68
+ * The licence the map is published under, such as `OGL-UK-3.0`.
69
+ */
70
+ licence: string | null;
71
+ /**
72
+ * The nation whose map the reading comes from. Null when the map does not state it.
73
+ */
74
+ nation: NoiseMapSourceNation | null;
75
+ /**
76
+ * The body that publishes the map, such as the Welsh Government. Null when not stated.
77
+ */
78
+ publisher: string | null;
79
+ /**
80
+ * The strategic noise mapping round the map belongs to, such as 4. Null when not stated.
81
+ */
82
+ round: number | null;
83
+ /**
84
+ * `stated` when the publisher states the round, `inferred` when it is worked out from the regulations the map was made under. Null when `round` is null.
85
+ */
86
+ roundBasis: RoundBasis | null;
87
+ /**
88
+ * The publisher's own limitation on how the map may be used, to be shown with the reading. Null when the publisher states none.
89
+ */
90
+ useLimitation: string | null;
91
+ };
92
+
93
+ /** @internal */
94
+ export const DataYearBasis$inboundSchema: z.ZodType<
95
+ DataYearBasis,
96
+ z.ZodTypeDef,
97
+ unknown
98
+ > = openEnums.inboundSchema(DataYearBasis);
99
+
100
+ /** @internal */
101
+ export const NoiseMapSourceNation$inboundSchema: z.ZodType<
102
+ NoiseMapSourceNation,
103
+ z.ZodTypeDef,
104
+ unknown
105
+ > = openEnums.inboundSchema(NoiseMapSourceNation);
106
+
107
+ /** @internal */
108
+ export const RoundBasis$inboundSchema: z.ZodType<
109
+ RoundBasis,
110
+ z.ZodTypeDef,
111
+ unknown
112
+ > = openEnums.inboundSchema(RoundBasis);
113
+
114
+ /** @internal */
115
+ export const NoiseMapSource$inboundSchema: z.ZodType<
116
+ NoiseMapSource,
117
+ z.ZodTypeDef,
118
+ unknown
119
+ > = z.object({
120
+ attribution: z.nullable(z.string()),
121
+ dataYear: z.nullable(z.number().int()),
122
+ dataYearBasis: z.nullable(DataYearBasis$inboundSchema),
123
+ edition: z.nullable(z.string()),
124
+ licence: z.nullable(z.string()),
125
+ nation: z.nullable(NoiseMapSourceNation$inboundSchema),
126
+ publisher: z.nullable(z.string()),
127
+ round: z.nullable(z.number().int()),
128
+ roundBasis: z.nullable(RoundBasis$inboundSchema),
129
+ useLimitation: z.nullable(z.string()),
130
+ });
131
+
132
+ export function noiseMapSourceFromJSON(
133
+ jsonString: string,
134
+ ): SafeParseResult<NoiseMapSource, SDKValidationError> {
135
+ return safeParse(
136
+ jsonString,
137
+ (x) => NoiseMapSource$inboundSchema.parse(JSON.parse(x)),
138
+ `Failed to parse 'NoiseMapSource' from JSON`,
139
+ );
140
+ }
@@ -0,0 +1,64 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { safeParse } from "../../../lib/schemas.js";
7
+ import * as openEnums from "../../types/enums.js";
8
+ import { OpenEnum } from "../../types/enums.js";
9
+ import { Result as SafeParseResult } from "../../types/fp.js";
10
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
+
12
+ /**
13
+ * UK nation.
14
+ */
15
+ export const NoiseNationCoverageNation = {
16
+ Eng: "ENG",
17
+ Sco: "SCO",
18
+ Wal: "WAL",
19
+ Nir: "NIR",
20
+ } as const;
21
+ /**
22
+ * UK nation.
23
+ */
24
+ export type NoiseNationCoverageNation = OpenEnum<
25
+ typeof NoiseNationCoverageNation
26
+ >;
27
+
28
+ export type NoiseNationCoverage = {
29
+ /**
30
+ * Whether the road and rail noise maps cover this nation.
31
+ */
32
+ covered: boolean;
33
+ /**
34
+ * UK nation.
35
+ */
36
+ nation: NoiseNationCoverageNation;
37
+ };
38
+
39
+ /** @internal */
40
+ export const NoiseNationCoverageNation$inboundSchema: z.ZodType<
41
+ NoiseNationCoverageNation,
42
+ z.ZodTypeDef,
43
+ unknown
44
+ > = openEnums.inboundSchema(NoiseNationCoverageNation);
45
+
46
+ /** @internal */
47
+ export const NoiseNationCoverage$inboundSchema: z.ZodType<
48
+ NoiseNationCoverage,
49
+ z.ZodTypeDef,
50
+ unknown
51
+ > = z.object({
52
+ covered: z.boolean(),
53
+ nation: NoiseNationCoverageNation$inboundSchema,
54
+ });
55
+
56
+ export function noiseNationCoverageFromJSON(
57
+ jsonString: string,
58
+ ): SafeParseResult<NoiseNationCoverage, SDKValidationError> {
59
+ return safeParse(
60
+ jsonString,
61
+ (x) => NoiseNationCoverage$inboundSchema.parse(JSON.parse(x)),
62
+ `Failed to parse 'NoiseNationCoverage' from JSON`,
63
+ );
64
+ }
@@ -0,0 +1,61 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { safeParse } from "../../../lib/schemas.js";
7
+ import { Result as SafeParseResult } from "../../types/fp.js";
8
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
9
+
10
+ export type NoisePointCoordinate = {
11
+ /**
12
+ * Latitude in WGS84 decimal degrees. Between 49 and 61.
13
+ */
14
+ lat: number;
15
+ /**
16
+ * Longitude in WGS84 decimal degrees. Between -9 and 2.
17
+ */
18
+ lon: number;
19
+ };
20
+
21
+ /** @internal */
22
+ export const NoisePointCoordinate$inboundSchema: z.ZodType<
23
+ NoisePointCoordinate,
24
+ z.ZodTypeDef,
25
+ unknown
26
+ > = z.object({
27
+ lat: z.number(),
28
+ lon: z.number(),
29
+ });
30
+ /** @internal */
31
+ export type NoisePointCoordinate$Outbound = {
32
+ lat: number;
33
+ lon: number;
34
+ };
35
+
36
+ /** @internal */
37
+ export const NoisePointCoordinate$outboundSchema: z.ZodType<
38
+ NoisePointCoordinate$Outbound,
39
+ z.ZodTypeDef,
40
+ NoisePointCoordinate
41
+ > = z.object({
42
+ lat: z.number(),
43
+ lon: z.number(),
44
+ });
45
+
46
+ export function noisePointCoordinateToJSON(
47
+ noisePointCoordinate: NoisePointCoordinate,
48
+ ): string {
49
+ return JSON.stringify(
50
+ NoisePointCoordinate$outboundSchema.parse(noisePointCoordinate),
51
+ );
52
+ }
53
+ export function noisePointCoordinateFromJSON(
54
+ jsonString: string,
55
+ ): SafeParseResult<NoisePointCoordinate, SDKValidationError> {
56
+ return safeParse(
57
+ jsonString,
58
+ (x) => NoisePointCoordinate$inboundSchema.parse(JSON.parse(x)),
59
+ `Failed to parse 'NoisePointCoordinate' from JSON`,
60
+ );
61
+ }
@@ -0,0 +1,36 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import {
7
+ NoisePointCoordinate,
8
+ NoisePointCoordinate$Outbound,
9
+ NoisePointCoordinate$outboundSchema,
10
+ } from "./noisepointcoordinate.js";
11
+
12
+ export type NoisePointRequest = {
13
+ coordinate: NoisePointCoordinate;
14
+ };
15
+
16
+ /** @internal */
17
+ export type NoisePointRequest$Outbound = {
18
+ coordinate: NoisePointCoordinate$Outbound;
19
+ };
20
+
21
+ /** @internal */
22
+ export const NoisePointRequest$outboundSchema: z.ZodType<
23
+ NoisePointRequest$Outbound,
24
+ z.ZodTypeDef,
25
+ NoisePointRequest
26
+ > = z.object({
27
+ coordinate: NoisePointCoordinate$outboundSchema,
28
+ });
29
+
30
+ export function noisePointRequestToJSON(
31
+ noisePointRequest: NoisePointRequest,
32
+ ): string {
33
+ return JSON.stringify(
34
+ NoisePointRequest$outboundSchema.parse(noisePointRequest),
35
+ );
36
+ }
@@ -0,0 +1,109 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { safeParse } from "../../../lib/schemas.js";
7
+ import * as openEnums from "../../types/enums.js";
8
+ import { OpenEnum } from "../../types/enums.js";
9
+ import { Result as SafeParseResult } from "../../types/fp.js";
10
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
+ import {
12
+ NoiseNationCoverage,
13
+ NoiseNationCoverage$inboundSchema,
14
+ } from "./noisenationcoverage.js";
15
+ import {
16
+ NoisePointCoordinate,
17
+ NoisePointCoordinate$inboundSchema,
18
+ } from "./noisepointcoordinate.js";
19
+ import {
20
+ NoiseSourceReadings,
21
+ NoiseSourceReadings$inboundSchema,
22
+ } from "./noisesourcereadings.js";
23
+
24
+ /**
25
+ * `covered` when the noise maps cover the point. `not_covered` when they do not, in which case every reading is `not_covered` and says nothing about the noise there.
26
+ */
27
+ export const Coverage = {
28
+ Covered: "covered",
29
+ NotCovered: "not_covered",
30
+ } as const;
31
+ /**
32
+ * `covered` when the noise maps cover the point. `not_covered` when they do not, in which case every reading is `not_covered` and says nothing about the noise there.
33
+ */
34
+ export type Coverage = OpenEnum<typeof Coverage>;
35
+
36
+ /**
37
+ * UK nation the point lies in. Null when the point is not in the UK.
38
+ */
39
+ export const NoisePointResponseNation = {
40
+ Eng: "ENG",
41
+ Sco: "SCO",
42
+ Wal: "WAL",
43
+ Nir: "NIR",
44
+ } as const;
45
+ /**
46
+ * UK nation the point lies in. Null when the point is not in the UK.
47
+ */
48
+ export type NoisePointResponseNation = OpenEnum<
49
+ typeof NoisePointResponseNation
50
+ >;
51
+
52
+ export type NoisePointResponse = {
53
+ coordinate: NoisePointCoordinate;
54
+ /**
55
+ * `covered` when the noise maps cover the point. `not_covered` when they do not, in which case every reading is `not_covered` and says nothing about the noise there.
56
+ */
57
+ coverage: Coverage;
58
+ /**
59
+ * UK nation the point lies in. Null when the point is not in the UK.
60
+ */
61
+ nation: NoisePointResponseNation | null;
62
+ /**
63
+ * Which UK nations the noise maps cover.
64
+ */
65
+ nations: Array<NoiseNationCoverage>;
66
+ rail: NoiseSourceReadings;
67
+ /**
68
+ * Road traffic noise at the point.
69
+ */
70
+ road: NoiseSourceReadings;
71
+ };
72
+
73
+ /** @internal */
74
+ export const Coverage$inboundSchema: z.ZodType<
75
+ Coverage,
76
+ z.ZodTypeDef,
77
+ unknown
78
+ > = openEnums.inboundSchema(Coverage);
79
+
80
+ /** @internal */
81
+ export const NoisePointResponseNation$inboundSchema: z.ZodType<
82
+ NoisePointResponseNation,
83
+ z.ZodTypeDef,
84
+ unknown
85
+ > = openEnums.inboundSchema(NoisePointResponseNation);
86
+
87
+ /** @internal */
88
+ export const NoisePointResponse$inboundSchema: z.ZodType<
89
+ NoisePointResponse,
90
+ z.ZodTypeDef,
91
+ unknown
92
+ > = z.object({
93
+ coordinate: NoisePointCoordinate$inboundSchema,
94
+ coverage: Coverage$inboundSchema,
95
+ nation: z.nullable(NoisePointResponseNation$inboundSchema),
96
+ nations: z.array(NoiseNationCoverage$inboundSchema),
97
+ rail: NoiseSourceReadings$inboundSchema,
98
+ road: NoiseSourceReadings$inboundSchema,
99
+ });
100
+
101
+ export function noisePointResponseFromJSON(
102
+ jsonString: string,
103
+ ): SafeParseResult<NoisePointResponse, SDKValidationError> {
104
+ return safeParse(
105
+ jsonString,
106
+ (x) => NoisePointResponse$inboundSchema.parse(JSON.parse(x)),
107
+ `Failed to parse 'NoisePointResponse' from JSON`,
108
+ );
109
+ }