@vepler/sdk 5.28.1 → 6.1.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 (441) hide show
  1. package/README.md +436 -409
  2. package/dist/commonjs/funcs/geographyGetGeographyAncestors.d.ts +17 -0
  3. package/dist/commonjs/funcs/geographyGetGeographyAncestors.d.ts.map +1 -0
  4. package/dist/commonjs/funcs/geographyGetGeographyAncestors.js +126 -0
  5. package/dist/commonjs/funcs/geographyGetGeographyAncestors.js.map +1 -0
  6. package/dist/commonjs/funcs/geographyGetGeographyAreas.d.ts +17 -0
  7. package/dist/commonjs/funcs/geographyGetGeographyAreas.d.ts.map +1 -0
  8. package/dist/commonjs/funcs/geographyGetGeographyAreas.js +125 -0
  9. package/dist/commonjs/funcs/geographyGetGeographyAreas.js.map +1 -0
  10. package/dist/commonjs/funcs/geographyGetGeographyChildren.d.ts +17 -0
  11. package/dist/commonjs/funcs/geographyGetGeographyChildren.d.ts.map +1 -0
  12. package/dist/commonjs/funcs/geographyGetGeographyChildren.js +126 -0
  13. package/dist/commonjs/funcs/geographyGetGeographyChildren.js.map +1 -0
  14. package/dist/commonjs/funcs/geographyGetGeographyDescendants.d.ts +17 -0
  15. package/dist/commonjs/funcs/geographyGetGeographyDescendants.d.ts.map +1 -0
  16. package/dist/commonjs/funcs/geographyGetGeographyDescendants.js +128 -0
  17. package/dist/commonjs/funcs/geographyGetGeographyDescendants.js.map +1 -0
  18. package/dist/commonjs/funcs/geographyGetGeographyProvenance.d.ts +17 -0
  19. package/dist/commonjs/funcs/geographyGetGeographyProvenance.d.ts.map +1 -0
  20. package/dist/commonjs/funcs/geographyGetGeographyProvenance.js +125 -0
  21. package/dist/commonjs/funcs/geographyGetGeographyProvenance.js.map +1 -0
  22. package/dist/commonjs/funcs/geographyGetGeographyRelease.d.ts +17 -0
  23. package/dist/commonjs/funcs/geographyGetGeographyRelease.d.ts.map +1 -0
  24. package/dist/commonjs/funcs/geographyGetGeographyRelease.js +105 -0
  25. package/dist/commonjs/funcs/geographyGetGeographyRelease.js.map +1 -0
  26. package/dist/commonjs/funcs/safetyGetCrimeIncidents.d.ts +1 -1
  27. package/dist/commonjs/funcs/safetyGetCrimeIncidents.js +1 -1
  28. package/dist/commonjs/funcs/safetyGetGeographyMetrics.d.ts +2 -2
  29. package/dist/commonjs/funcs/safetyGetGeographyMetrics.js +2 -2
  30. package/dist/commonjs/funcs/titleDeedsGetV1TitleDeedsTitleNumberApplications.d.ts +19 -0
  31. package/dist/commonjs/funcs/titleDeedsGetV1TitleDeedsTitleNumberApplications.d.ts.map +1 -0
  32. package/dist/commonjs/funcs/titleDeedsGetV1TitleDeedsTitleNumberApplications.js +129 -0
  33. package/dist/commonjs/funcs/titleDeedsGetV1TitleDeedsTitleNumberApplications.js.map +1 -0
  34. package/dist/commonjs/funcs/titleDeedsGetV1TitleDeedsTitleNumberAvailability.d.ts +19 -0
  35. package/dist/commonjs/funcs/titleDeedsGetV1TitleDeedsTitleNumberAvailability.d.ts.map +1 -0
  36. package/dist/commonjs/funcs/titleDeedsGetV1TitleDeedsTitleNumberAvailability.js +129 -0
  37. package/dist/commonjs/funcs/titleDeedsGetV1TitleDeedsTitleNumberAvailability.js.map +1 -0
  38. package/dist/commonjs/lib/config.d.ts +3 -3
  39. package/dist/commonjs/lib/config.js +3 -3
  40. package/dist/commonjs/lib/config.js.map +1 -1
  41. package/dist/commonjs/lib/encodings.d.ts +10 -9
  42. package/dist/commonjs/lib/encodings.d.ts.map +1 -1
  43. package/dist/commonjs/lib/encodings.js +29 -13
  44. package/dist/commonjs/lib/encodings.js.map +1 -1
  45. package/dist/commonjs/sdk/geography.d.ts +47 -0
  46. package/dist/commonjs/sdk/geography.d.ts.map +1 -0
  47. package/dist/commonjs/sdk/geography.js +72 -0
  48. package/dist/commonjs/sdk/geography.js.map +1 -0
  49. package/dist/commonjs/sdk/models/errors/getv1titledeedstitlenumberapplications.d.ts +266 -0
  50. package/dist/commonjs/sdk/models/errors/getv1titledeedstitlenumberapplications.d.ts.map +1 -0
  51. package/dist/commonjs/sdk/models/errors/getv1titledeedstitlenumberapplications.js +261 -0
  52. package/dist/commonjs/sdk/models/errors/getv1titledeedstitlenumberapplications.js.map +1 -0
  53. package/dist/commonjs/sdk/models/errors/getv1titledeedstitlenumberavailability.d.ts +266 -0
  54. package/dist/commonjs/sdk/models/errors/getv1titledeedstitlenumberavailability.d.ts.map +1 -0
  55. package/dist/commonjs/sdk/models/errors/getv1titledeedstitlenumberavailability.js +261 -0
  56. package/dist/commonjs/sdk/models/errors/getv1titledeedstitlenumberavailability.js.map +1 -0
  57. package/dist/commonjs/sdk/models/errors/index.d.ts +2 -0
  58. package/dist/commonjs/sdk/models/errors/index.d.ts.map +1 -1
  59. package/dist/commonjs/sdk/models/errors/index.js +2 -0
  60. package/dist/commonjs/sdk/models/errors/index.js.map +1 -1
  61. package/dist/commonjs/sdk/models/errors/titledeedpurchasenotfound.d.ts +16 -0
  62. package/dist/commonjs/sdk/models/errors/titledeedpurchasenotfound.d.ts.map +1 -1
  63. package/dist/commonjs/sdk/models/errors/titledeedpurchasenotfound.js +6 -0
  64. package/dist/commonjs/sdk/models/errors/titledeedpurchasenotfound.js.map +1 -1
  65. package/dist/commonjs/sdk/models/operations/getgeographyancestors.d.ts +52 -0
  66. package/dist/commonjs/sdk/models/operations/getgeographyancestors.d.ts.map +1 -0
  67. package/dist/commonjs/sdk/models/operations/getgeographyancestors.js +75 -0
  68. package/dist/commonjs/sdk/models/operations/getgeographyancestors.js.map +1 -0
  69. package/dist/commonjs/sdk/models/operations/getgeographyareas.d.ts +47 -0
  70. package/dist/commonjs/sdk/models/operations/getgeographyareas.d.ts.map +1 -0
  71. package/dist/commonjs/sdk/models/operations/getgeographyareas.js +74 -0
  72. package/dist/commonjs/sdk/models/operations/getgeographyareas.js.map +1 -0
  73. package/dist/commonjs/sdk/models/operations/getgeographychildren.d.ts +82 -0
  74. package/dist/commonjs/sdk/models/operations/getgeographychildren.d.ts.map +1 -0
  75. package/dist/commonjs/sdk/models/operations/getgeographychildren.js +89 -0
  76. package/dist/commonjs/sdk/models/operations/getgeographychildren.js.map +1 -0
  77. package/dist/commonjs/sdk/models/operations/getgeographydescendants.d.ts +62 -0
  78. package/dist/commonjs/sdk/models/operations/getgeographydescendants.d.ts.map +1 -0
  79. package/dist/commonjs/sdk/models/operations/getgeographydescendants.js +77 -0
  80. package/dist/commonjs/sdk/models/operations/getgeographydescendants.js.map +1 -0
  81. package/dist/commonjs/sdk/models/operations/getgeographyprovenance.d.ts +54 -0
  82. package/dist/commonjs/sdk/models/operations/getgeographyprovenance.d.ts.map +1 -0
  83. package/dist/commonjs/sdk/models/operations/getgeographyprovenance.js +89 -0
  84. package/dist/commonjs/sdk/models/operations/getgeographyprovenance.js.map +1 -0
  85. package/dist/commonjs/sdk/models/operations/getgeographyrelease.d.ts +19 -0
  86. package/dist/commonjs/sdk/models/operations/getgeographyrelease.d.ts.map +1 -0
  87. package/dist/commonjs/sdk/models/operations/getgeographyrelease.js +58 -0
  88. package/dist/commonjs/sdk/models/operations/getgeographyrelease.js.map +1 -0
  89. package/dist/commonjs/sdk/models/operations/getlistingbyid.d.ts +2 -2
  90. package/dist/commonjs/sdk/models/operations/getlistingbyid.d.ts.map +1 -1
  91. package/dist/commonjs/sdk/models/operations/getlistingbyid.js +1 -1
  92. package/dist/commonjs/sdk/models/operations/getlistingbyid.js.map +1 -1
  93. package/dist/commonjs/sdk/models/operations/getlistingbysource.d.ts +2 -2
  94. package/dist/commonjs/sdk/models/operations/getlistingbysource.d.ts.map +1 -1
  95. package/dist/commonjs/sdk/models/operations/getlistingbysource.js +1 -1
  96. package/dist/commonjs/sdk/models/operations/getlistingbysource.js.map +1 -1
  97. package/dist/commonjs/sdk/models/operations/getlistingsbylocation.d.ts +2 -2
  98. package/dist/commonjs/sdk/models/operations/getlistingsbylocation.d.ts.map +1 -1
  99. package/dist/commonjs/sdk/models/operations/getlistingsbylocation.js +1 -1
  100. package/dist/commonjs/sdk/models/operations/getlistingsbylocation.js.map +1 -1
  101. package/dist/commonjs/sdk/models/operations/getv1titledeedstitlenumberapplications.d.ts +15 -0
  102. package/dist/commonjs/sdk/models/operations/getv1titledeedstitlenumberapplications.d.ts.map +1 -0
  103. package/dist/commonjs/sdk/models/operations/getv1titledeedstitlenumberapplications.js +49 -0
  104. package/dist/commonjs/sdk/models/operations/getv1titledeedstitlenumberapplications.js.map +1 -0
  105. package/dist/commonjs/sdk/models/operations/getv1titledeedstitlenumberavailability.d.ts +15 -0
  106. package/dist/commonjs/sdk/models/operations/getv1titledeedstitlenumberavailability.d.ts.map +1 -0
  107. package/dist/commonjs/sdk/models/operations/getv1titledeedstitlenumberavailability.js +49 -0
  108. package/dist/commonjs/sdk/models/operations/getv1titledeedstitlenumberavailability.js.map +1 -0
  109. package/dist/commonjs/sdk/models/operations/index.d.ts +8 -0
  110. package/dist/commonjs/sdk/models/operations/index.d.ts.map +1 -1
  111. package/dist/commonjs/sdk/models/operations/index.js +8 -0
  112. package/dist/commonjs/sdk/models/operations/index.js.map +1 -1
  113. package/dist/commonjs/sdk/models/operations/querylistings.d.ts +2 -2
  114. package/dist/commonjs/sdk/models/operations/querylistings.d.ts.map +1 -1
  115. package/dist/commonjs/sdk/models/operations/querylistings.js +1 -1
  116. package/dist/commonjs/sdk/models/operations/querylistings.js.map +1 -1
  117. package/dist/commonjs/sdk/models/operations/querylistingsbysource.d.ts +2 -2
  118. package/dist/commonjs/sdk/models/operations/querylistingsbysource.d.ts.map +1 -1
  119. package/dist/commonjs/sdk/models/operations/querylistingsbysource.js +1 -1
  120. package/dist/commonjs/sdk/models/operations/querylistingsbysource.js.map +1 -1
  121. package/dist/commonjs/sdk/models/shared/advancedlisting.d.ts +2 -2
  122. package/dist/commonjs/sdk/models/shared/advancedlisting.d.ts.map +1 -1
  123. package/dist/commonjs/sdk/models/shared/advancedlisting.js +1 -1
  124. package/dist/commonjs/sdk/models/shared/advancedlisting.js.map +1 -1
  125. package/dist/commonjs/sdk/models/shared/conservationdesignationfeature.d.ts +1 -1
  126. package/dist/commonjs/sdk/models/shared/crimecatalogentry.d.ts +5 -6
  127. package/dist/commonjs/sdk/models/shared/crimecatalogentry.d.ts.map +1 -1
  128. package/dist/commonjs/sdk/models/shared/crimecatalogentry.js +1 -2
  129. package/dist/commonjs/sdk/models/shared/crimecatalogentry.js.map +1 -1
  130. package/dist/commonjs/sdk/models/shared/crimecatalogperiodsbycountry.d.ts +1 -1
  131. package/dist/commonjs/sdk/models/shared/crimeconfidenceinterval.d.ts +1 -1
  132. package/dist/commonjs/sdk/models/shared/crimeincident.d.ts +9 -5
  133. package/dist/commonjs/sdk/models/shared/crimeincident.d.ts.map +1 -1
  134. package/dist/commonjs/sdk/models/shared/crimeincident.js +1 -0
  135. package/dist/commonjs/sdk/models/shared/crimeincident.js.map +1 -1
  136. package/dist/commonjs/sdk/models/shared/crimeincidentslistresponse.d.ts +1 -1
  137. package/dist/commonjs/sdk/models/shared/crimeincidentssummary.d.ts +1 -1
  138. package/dist/commonjs/sdk/models/shared/crimeperioddetails.d.ts +13 -1
  139. package/dist/commonjs/sdk/models/shared/crimeperioddetails.d.ts.map +1 -1
  140. package/dist/commonjs/sdk/models/shared/crimeperioddetails.js +3 -0
  141. package/dist/commonjs/sdk/models/shared/crimeperioddetails.js.map +1 -1
  142. package/dist/commonjs/sdk/models/shared/geographyarea.d.ts +33 -0
  143. package/dist/commonjs/sdk/models/shared/geographyarea.d.ts.map +1 -0
  144. package/dist/commonjs/sdk/models/shared/geographyarea.js +55 -0
  145. package/dist/commonjs/sdk/models/shared/geographyarea.js.map +1 -0
  146. package/dist/commonjs/sdk/models/shared/geographycategorymetric.d.ts +46 -10
  147. package/dist/commonjs/sdk/models/shared/geographycategorymetric.d.ts.map +1 -1
  148. package/dist/commonjs/sdk/models/shared/geographycategorymetric.js +9 -0
  149. package/dist/commonjs/sdk/models/shared/geographycategorymetric.js.map +1 -1
  150. package/dist/commonjs/sdk/models/shared/geographymetricsrow.d.ts +32 -4
  151. package/dist/commonjs/sdk/models/shared/geographymetricsrow.d.ts.map +1 -1
  152. package/dist/commonjs/sdk/models/shared/geographymetricsrow.js +7 -0
  153. package/dist/commonjs/sdk/models/shared/geographymetricsrow.js.map +1 -1
  154. package/dist/commonjs/sdk/models/shared/geographyrelatedarea.d.ts +41 -0
  155. package/dist/commonjs/sdk/models/shared/geographyrelatedarea.d.ts.map +1 -0
  156. package/dist/commonjs/sdk/models/shared/geographyrelatedarea.js +57 -0
  157. package/dist/commonjs/sdk/models/shared/geographyrelatedarea.js.map +1 -0
  158. package/dist/commonjs/sdk/models/shared/geographytimeseriespoint.d.ts +9 -5
  159. package/dist/commonjs/sdk/models/shared/geographytimeseriespoint.d.ts.map +1 -1
  160. package/dist/commonjs/sdk/models/shared/geographytimeseriespoint.js +1 -0
  161. package/dist/commonjs/sdk/models/shared/geographytimeseriespoint.js.map +1 -1
  162. package/dist/commonjs/sdk/models/shared/heritagedesignationfeature.d.ts +1 -1
  163. package/dist/commonjs/sdk/models/shared/index.d.ts +5 -0
  164. package/dist/commonjs/sdk/models/shared/index.d.ts.map +1 -1
  165. package/dist/commonjs/sdk/models/shared/index.js +5 -0
  166. package/dist/commonjs/sdk/models/shared/index.js.map +1 -1
  167. package/dist/commonjs/sdk/models/shared/landconstraintdesignationfeature.d.ts +1 -1
  168. package/dist/commonjs/sdk/models/shared/listing.d.ts +2 -2
  169. package/dist/commonjs/sdk/models/shared/listing.d.ts.map +1 -1
  170. package/dist/commonjs/sdk/models/shared/listing.js +1 -1
  171. package/dist/commonjs/sdk/models/shared/listing.js.map +1 -1
  172. package/dist/commonjs/sdk/models/shared/titledeedapplication.d.ts +69 -0
  173. package/dist/commonjs/sdk/models/shared/titledeedapplication.d.ts.map +1 -0
  174. package/dist/commonjs/sdk/models/shared/titledeedapplication.js +84 -0
  175. package/dist/commonjs/sdk/models/shared/titledeedapplication.js.map +1 -0
  176. package/dist/commonjs/sdk/models/shared/titledeedapplicationlistresponse.d.ts +24 -0
  177. package/dist/commonjs/sdk/models/shared/titledeedapplicationlistresponse.d.ts.map +1 -0
  178. package/dist/commonjs/sdk/models/shared/titledeedapplicationlistresponse.js +65 -0
  179. package/dist/commonjs/sdk/models/shared/titledeedapplicationlistresponse.js.map +1 -0
  180. package/dist/commonjs/sdk/models/shared/titledeedavailabilityresponse.d.ts +67 -0
  181. package/dist/commonjs/sdk/models/shared/titledeedavailabilityresponse.d.ts.map +1 -0
  182. package/dist/commonjs/sdk/models/shared/titledeedavailabilityresponse.js +108 -0
  183. package/dist/commonjs/sdk/models/shared/titledeedavailabilityresponse.js.map +1 -0
  184. package/dist/commonjs/sdk/safety.d.ts +3 -3
  185. package/dist/commonjs/sdk/safety.js +3 -3
  186. package/dist/commonjs/sdk/sdk.d.ts +3 -0
  187. package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
  188. package/dist/commonjs/sdk/sdk.js +4 -0
  189. package/dist/commonjs/sdk/sdk.js.map +1 -1
  190. package/dist/commonjs/sdk/titledeeds.d.ts +14 -0
  191. package/dist/commonjs/sdk/titledeeds.d.ts.map +1 -1
  192. package/dist/commonjs/sdk/titledeeds.js +20 -0
  193. package/dist/commonjs/sdk/titledeeds.js.map +1 -1
  194. package/dist/esm/funcs/geographyGetGeographyAncestors.d.ts +17 -0
  195. package/dist/esm/funcs/geographyGetGeographyAncestors.d.ts.map +1 -0
  196. package/dist/esm/funcs/geographyGetGeographyAncestors.js +90 -0
  197. package/dist/esm/funcs/geographyGetGeographyAncestors.js.map +1 -0
  198. package/dist/esm/funcs/geographyGetGeographyAreas.d.ts +17 -0
  199. package/dist/esm/funcs/geographyGetGeographyAreas.d.ts.map +1 -0
  200. package/dist/esm/funcs/geographyGetGeographyAreas.js +89 -0
  201. package/dist/esm/funcs/geographyGetGeographyAreas.js.map +1 -0
  202. package/dist/esm/funcs/geographyGetGeographyChildren.d.ts +17 -0
  203. package/dist/esm/funcs/geographyGetGeographyChildren.d.ts.map +1 -0
  204. package/dist/esm/funcs/geographyGetGeographyChildren.js +90 -0
  205. package/dist/esm/funcs/geographyGetGeographyChildren.js.map +1 -0
  206. package/dist/esm/funcs/geographyGetGeographyDescendants.d.ts +17 -0
  207. package/dist/esm/funcs/geographyGetGeographyDescendants.d.ts.map +1 -0
  208. package/dist/esm/funcs/geographyGetGeographyDescendants.js +92 -0
  209. package/dist/esm/funcs/geographyGetGeographyDescendants.js.map +1 -0
  210. package/dist/esm/funcs/geographyGetGeographyProvenance.d.ts +17 -0
  211. package/dist/esm/funcs/geographyGetGeographyProvenance.d.ts.map +1 -0
  212. package/dist/esm/funcs/geographyGetGeographyProvenance.js +89 -0
  213. package/dist/esm/funcs/geographyGetGeographyProvenance.js.map +1 -0
  214. package/dist/esm/funcs/geographyGetGeographyRelease.d.ts +17 -0
  215. package/dist/esm/funcs/geographyGetGeographyRelease.d.ts.map +1 -0
  216. package/dist/esm/funcs/geographyGetGeographyRelease.js +69 -0
  217. package/dist/esm/funcs/geographyGetGeographyRelease.js.map +1 -0
  218. package/dist/esm/funcs/safetyGetCrimeIncidents.d.ts +1 -1
  219. package/dist/esm/funcs/safetyGetCrimeIncidents.js +1 -1
  220. package/dist/esm/funcs/safetyGetGeographyMetrics.d.ts +2 -2
  221. package/dist/esm/funcs/safetyGetGeographyMetrics.js +2 -2
  222. package/dist/esm/funcs/titleDeedsGetV1TitleDeedsTitleNumberApplications.d.ts +19 -0
  223. package/dist/esm/funcs/titleDeedsGetV1TitleDeedsTitleNumberApplications.d.ts.map +1 -0
  224. package/dist/esm/funcs/titleDeedsGetV1TitleDeedsTitleNumberApplications.js +93 -0
  225. package/dist/esm/funcs/titleDeedsGetV1TitleDeedsTitleNumberApplications.js.map +1 -0
  226. package/dist/esm/funcs/titleDeedsGetV1TitleDeedsTitleNumberAvailability.d.ts +19 -0
  227. package/dist/esm/funcs/titleDeedsGetV1TitleDeedsTitleNumberAvailability.d.ts.map +1 -0
  228. package/dist/esm/funcs/titleDeedsGetV1TitleDeedsTitleNumberAvailability.js +93 -0
  229. package/dist/esm/funcs/titleDeedsGetV1TitleDeedsTitleNumberAvailability.js.map +1 -0
  230. package/dist/esm/lib/config.d.ts +3 -3
  231. package/dist/esm/lib/config.js +3 -3
  232. package/dist/esm/lib/config.js.map +1 -1
  233. package/dist/esm/lib/encodings.d.ts +10 -9
  234. package/dist/esm/lib/encodings.d.ts.map +1 -1
  235. package/dist/esm/lib/encodings.js +29 -13
  236. package/dist/esm/lib/encodings.js.map +1 -1
  237. package/dist/esm/sdk/geography.d.ts +47 -0
  238. package/dist/esm/sdk/geography.d.ts.map +1 -0
  239. package/dist/esm/sdk/geography.js +68 -0
  240. package/dist/esm/sdk/geography.js.map +1 -0
  241. package/dist/esm/sdk/models/errors/getv1titledeedstitlenumberapplications.d.ts +266 -0
  242. package/dist/esm/sdk/models/errors/getv1titledeedstitlenumberapplications.d.ts.map +1 -0
  243. package/dist/esm/sdk/models/errors/getv1titledeedstitlenumberapplications.js +217 -0
  244. package/dist/esm/sdk/models/errors/getv1titledeedstitlenumberapplications.js.map +1 -0
  245. package/dist/esm/sdk/models/errors/getv1titledeedstitlenumberavailability.d.ts +266 -0
  246. package/dist/esm/sdk/models/errors/getv1titledeedstitlenumberavailability.d.ts.map +1 -0
  247. package/dist/esm/sdk/models/errors/getv1titledeedstitlenumberavailability.js +217 -0
  248. package/dist/esm/sdk/models/errors/getv1titledeedstitlenumberavailability.js.map +1 -0
  249. package/dist/esm/sdk/models/errors/index.d.ts +2 -0
  250. package/dist/esm/sdk/models/errors/index.d.ts.map +1 -1
  251. package/dist/esm/sdk/models/errors/index.js +2 -0
  252. package/dist/esm/sdk/models/errors/index.js.map +1 -1
  253. package/dist/esm/sdk/models/errors/titledeedpurchasenotfound.d.ts +16 -0
  254. package/dist/esm/sdk/models/errors/titledeedpurchasenotfound.d.ts.map +1 -1
  255. package/dist/esm/sdk/models/errors/titledeedpurchasenotfound.js +6 -0
  256. package/dist/esm/sdk/models/errors/titledeedpurchasenotfound.js.map +1 -1
  257. package/dist/esm/sdk/models/operations/getgeographyancestors.d.ts +52 -0
  258. package/dist/esm/sdk/models/operations/getgeographyancestors.d.ts.map +1 -0
  259. package/dist/esm/sdk/models/operations/getgeographyancestors.js +37 -0
  260. package/dist/esm/sdk/models/operations/getgeographyancestors.js.map +1 -0
  261. package/dist/esm/sdk/models/operations/getgeographyareas.d.ts +47 -0
  262. package/dist/esm/sdk/models/operations/getgeographyareas.d.ts.map +1 -0
  263. package/dist/esm/sdk/models/operations/getgeographyareas.js +36 -0
  264. package/dist/esm/sdk/models/operations/getgeographyareas.js.map +1 -0
  265. package/dist/esm/sdk/models/operations/getgeographychildren.d.ts +82 -0
  266. package/dist/esm/sdk/models/operations/getgeographychildren.d.ts.map +1 -0
  267. package/dist/esm/sdk/models/operations/getgeographychildren.js +50 -0
  268. package/dist/esm/sdk/models/operations/getgeographychildren.js.map +1 -0
  269. package/dist/esm/sdk/models/operations/getgeographydescendants.d.ts +62 -0
  270. package/dist/esm/sdk/models/operations/getgeographydescendants.d.ts.map +1 -0
  271. package/dist/esm/sdk/models/operations/getgeographydescendants.js +39 -0
  272. package/dist/esm/sdk/models/operations/getgeographydescendants.js.map +1 -0
  273. package/dist/esm/sdk/models/operations/getgeographyprovenance.d.ts +54 -0
  274. package/dist/esm/sdk/models/operations/getgeographyprovenance.d.ts.map +1 -0
  275. package/dist/esm/sdk/models/operations/getgeographyprovenance.js +50 -0
  276. package/dist/esm/sdk/models/operations/getgeographyprovenance.js.map +1 -0
  277. package/dist/esm/sdk/models/operations/getgeographyrelease.d.ts +19 -0
  278. package/dist/esm/sdk/models/operations/getgeographyrelease.d.ts.map +1 -0
  279. package/dist/esm/sdk/models/operations/getgeographyrelease.js +20 -0
  280. package/dist/esm/sdk/models/operations/getgeographyrelease.js.map +1 -0
  281. package/dist/esm/sdk/models/operations/getlistingbyid.d.ts +2 -2
  282. package/dist/esm/sdk/models/operations/getlistingbyid.d.ts.map +1 -1
  283. package/dist/esm/sdk/models/operations/getlistingbyid.js +1 -1
  284. package/dist/esm/sdk/models/operations/getlistingbyid.js.map +1 -1
  285. package/dist/esm/sdk/models/operations/getlistingbysource.d.ts +2 -2
  286. package/dist/esm/sdk/models/operations/getlistingbysource.d.ts.map +1 -1
  287. package/dist/esm/sdk/models/operations/getlistingbysource.js +1 -1
  288. package/dist/esm/sdk/models/operations/getlistingbysource.js.map +1 -1
  289. package/dist/esm/sdk/models/operations/getlistingsbylocation.d.ts +2 -2
  290. package/dist/esm/sdk/models/operations/getlistingsbylocation.d.ts.map +1 -1
  291. package/dist/esm/sdk/models/operations/getlistingsbylocation.js +1 -1
  292. package/dist/esm/sdk/models/operations/getlistingsbylocation.js.map +1 -1
  293. package/dist/esm/sdk/models/operations/getv1titledeedstitlenumberapplications.d.ts +15 -0
  294. package/dist/esm/sdk/models/operations/getv1titledeedstitlenumberapplications.d.ts.map +1 -0
  295. package/dist/esm/sdk/models/operations/getv1titledeedstitlenumberapplications.js +12 -0
  296. package/dist/esm/sdk/models/operations/getv1titledeedstitlenumberapplications.js.map +1 -0
  297. package/dist/esm/sdk/models/operations/getv1titledeedstitlenumberavailability.d.ts +15 -0
  298. package/dist/esm/sdk/models/operations/getv1titledeedstitlenumberavailability.d.ts.map +1 -0
  299. package/dist/esm/sdk/models/operations/getv1titledeedstitlenumberavailability.js +12 -0
  300. package/dist/esm/sdk/models/operations/getv1titledeedstitlenumberavailability.js.map +1 -0
  301. package/dist/esm/sdk/models/operations/index.d.ts +8 -0
  302. package/dist/esm/sdk/models/operations/index.d.ts.map +1 -1
  303. package/dist/esm/sdk/models/operations/index.js +8 -0
  304. package/dist/esm/sdk/models/operations/index.js.map +1 -1
  305. package/dist/esm/sdk/models/operations/querylistings.d.ts +2 -2
  306. package/dist/esm/sdk/models/operations/querylistings.d.ts.map +1 -1
  307. package/dist/esm/sdk/models/operations/querylistings.js +1 -1
  308. package/dist/esm/sdk/models/operations/querylistings.js.map +1 -1
  309. package/dist/esm/sdk/models/operations/querylistingsbysource.d.ts +2 -2
  310. package/dist/esm/sdk/models/operations/querylistingsbysource.d.ts.map +1 -1
  311. package/dist/esm/sdk/models/operations/querylistingsbysource.js +1 -1
  312. package/dist/esm/sdk/models/operations/querylistingsbysource.js.map +1 -1
  313. package/dist/esm/sdk/models/shared/advancedlisting.d.ts +2 -2
  314. package/dist/esm/sdk/models/shared/advancedlisting.d.ts.map +1 -1
  315. package/dist/esm/sdk/models/shared/advancedlisting.js +1 -1
  316. package/dist/esm/sdk/models/shared/advancedlisting.js.map +1 -1
  317. package/dist/esm/sdk/models/shared/conservationdesignationfeature.d.ts +1 -1
  318. package/dist/esm/sdk/models/shared/crimecatalogentry.d.ts +5 -6
  319. package/dist/esm/sdk/models/shared/crimecatalogentry.d.ts.map +1 -1
  320. package/dist/esm/sdk/models/shared/crimecatalogentry.js +1 -2
  321. package/dist/esm/sdk/models/shared/crimecatalogentry.js.map +1 -1
  322. package/dist/esm/sdk/models/shared/crimecatalogperiodsbycountry.d.ts +1 -1
  323. package/dist/esm/sdk/models/shared/crimeconfidenceinterval.d.ts +1 -1
  324. package/dist/esm/sdk/models/shared/crimeincident.d.ts +9 -5
  325. package/dist/esm/sdk/models/shared/crimeincident.d.ts.map +1 -1
  326. package/dist/esm/sdk/models/shared/crimeincident.js +1 -0
  327. package/dist/esm/sdk/models/shared/crimeincident.js.map +1 -1
  328. package/dist/esm/sdk/models/shared/crimeincidentslistresponse.d.ts +1 -1
  329. package/dist/esm/sdk/models/shared/crimeincidentssummary.d.ts +1 -1
  330. package/dist/esm/sdk/models/shared/crimeperioddetails.d.ts +13 -1
  331. package/dist/esm/sdk/models/shared/crimeperioddetails.d.ts.map +1 -1
  332. package/dist/esm/sdk/models/shared/crimeperioddetails.js +3 -0
  333. package/dist/esm/sdk/models/shared/crimeperioddetails.js.map +1 -1
  334. package/dist/esm/sdk/models/shared/geographyarea.d.ts +33 -0
  335. package/dist/esm/sdk/models/shared/geographyarea.d.ts.map +1 -0
  336. package/dist/esm/sdk/models/shared/geographyarea.js +18 -0
  337. package/dist/esm/sdk/models/shared/geographyarea.js.map +1 -0
  338. package/dist/esm/sdk/models/shared/geographycategorymetric.d.ts +46 -10
  339. package/dist/esm/sdk/models/shared/geographycategorymetric.d.ts.map +1 -1
  340. package/dist/esm/sdk/models/shared/geographycategorymetric.js +9 -0
  341. package/dist/esm/sdk/models/shared/geographycategorymetric.js.map +1 -1
  342. package/dist/esm/sdk/models/shared/geographymetricsrow.d.ts +32 -4
  343. package/dist/esm/sdk/models/shared/geographymetricsrow.d.ts.map +1 -1
  344. package/dist/esm/sdk/models/shared/geographymetricsrow.js +7 -0
  345. package/dist/esm/sdk/models/shared/geographymetricsrow.js.map +1 -1
  346. package/dist/esm/sdk/models/shared/geographyrelatedarea.d.ts +41 -0
  347. package/dist/esm/sdk/models/shared/geographyrelatedarea.d.ts.map +1 -0
  348. package/dist/esm/sdk/models/shared/geographyrelatedarea.js +20 -0
  349. package/dist/esm/sdk/models/shared/geographyrelatedarea.js.map +1 -0
  350. package/dist/esm/sdk/models/shared/geographytimeseriespoint.d.ts +9 -5
  351. package/dist/esm/sdk/models/shared/geographytimeseriespoint.d.ts.map +1 -1
  352. package/dist/esm/sdk/models/shared/geographytimeseriespoint.js +1 -0
  353. package/dist/esm/sdk/models/shared/geographytimeseriespoint.js.map +1 -1
  354. package/dist/esm/sdk/models/shared/heritagedesignationfeature.d.ts +1 -1
  355. package/dist/esm/sdk/models/shared/index.d.ts +5 -0
  356. package/dist/esm/sdk/models/shared/index.d.ts.map +1 -1
  357. package/dist/esm/sdk/models/shared/index.js +5 -0
  358. package/dist/esm/sdk/models/shared/index.js.map +1 -1
  359. package/dist/esm/sdk/models/shared/landconstraintdesignationfeature.d.ts +1 -1
  360. package/dist/esm/sdk/models/shared/listing.d.ts +2 -2
  361. package/dist/esm/sdk/models/shared/listing.d.ts.map +1 -1
  362. package/dist/esm/sdk/models/shared/listing.js +1 -1
  363. package/dist/esm/sdk/models/shared/listing.js.map +1 -1
  364. package/dist/esm/sdk/models/shared/titledeedapplication.d.ts +69 -0
  365. package/dist/esm/sdk/models/shared/titledeedapplication.d.ts.map +1 -0
  366. package/dist/esm/sdk/models/shared/titledeedapplication.js +47 -0
  367. package/dist/esm/sdk/models/shared/titledeedapplication.js.map +1 -0
  368. package/dist/esm/sdk/models/shared/titledeedapplicationlistresponse.d.ts +24 -0
  369. package/dist/esm/sdk/models/shared/titledeedapplicationlistresponse.d.ts.map +1 -0
  370. package/dist/esm/sdk/models/shared/titledeedapplicationlistresponse.js +28 -0
  371. package/dist/esm/sdk/models/shared/titledeedapplicationlistresponse.js.map +1 -0
  372. package/dist/esm/sdk/models/shared/titledeedavailabilityresponse.d.ts +67 -0
  373. package/dist/esm/sdk/models/shared/titledeedavailabilityresponse.d.ts.map +1 -0
  374. package/dist/esm/sdk/models/shared/titledeedavailabilityresponse.js +69 -0
  375. package/dist/esm/sdk/models/shared/titledeedavailabilityresponse.js.map +1 -0
  376. package/dist/esm/sdk/safety.d.ts +3 -3
  377. package/dist/esm/sdk/safety.js +3 -3
  378. package/dist/esm/sdk/sdk.d.ts +3 -0
  379. package/dist/esm/sdk/sdk.d.ts.map +1 -1
  380. package/dist/esm/sdk/sdk.js +4 -0
  381. package/dist/esm/sdk/sdk.js.map +1 -1
  382. package/dist/esm/sdk/titledeeds.d.ts +14 -0
  383. package/dist/esm/sdk/titledeeds.d.ts.map +1 -1
  384. package/dist/esm/sdk/titledeeds.js +20 -0
  385. package/dist/esm/sdk/titledeeds.js.map +1 -1
  386. package/package.json +1 -1
  387. package/src/funcs/geographyGetGeographyAncestors.ts +175 -0
  388. package/src/funcs/geographyGetGeographyAreas.ts +173 -0
  389. package/src/funcs/geographyGetGeographyChildren.ts +175 -0
  390. package/src/funcs/geographyGetGeographyDescendants.ts +177 -0
  391. package/src/funcs/geographyGetGeographyProvenance.ts +174 -0
  392. package/src/funcs/geographyGetGeographyRelease.ts +144 -0
  393. package/src/funcs/safetyGetCrimeIncidents.ts +1 -1
  394. package/src/funcs/safetyGetGeographyMetrics.ts +2 -2
  395. package/src/funcs/titleDeedsGetV1TitleDeedsTitleNumberApplications.ts +208 -0
  396. package/src/funcs/titleDeedsGetV1TitleDeedsTitleNumberAvailability.ts +208 -0
  397. package/src/lib/config.ts +3 -3
  398. package/src/lib/encodings.ts +58 -23
  399. package/src/sdk/geography.ts +115 -0
  400. package/src/sdk/models/errors/getv1titledeedstitlenumberapplications.ts +580 -0
  401. package/src/sdk/models/errors/getv1titledeedstitlenumberavailability.ts +580 -0
  402. package/src/sdk/models/errors/index.ts +2 -0
  403. package/src/sdk/models/errors/titledeedpurchasenotfound.ts +22 -0
  404. package/src/sdk/models/operations/getgeographyancestors.ts +108 -0
  405. package/src/sdk/models/operations/getgeographyareas.ts +100 -0
  406. package/src/sdk/models/operations/getgeographychildren.ts +162 -0
  407. package/src/sdk/models/operations/getgeographydescendants.ts +121 -0
  408. package/src/sdk/models/operations/getgeographyprovenance.ts +135 -0
  409. package/src/sdk/models/operations/getgeographyrelease.ts +57 -0
  410. package/src/sdk/models/operations/getlistingbyid.ts +5 -5
  411. package/src/sdk/models/operations/getlistingbysource.ts +5 -5
  412. package/src/sdk/models/operations/getlistingsbylocation.ts +5 -5
  413. package/src/sdk/models/operations/getv1titledeedstitlenumberapplications.ts +38 -0
  414. package/src/sdk/models/operations/getv1titledeedstitlenumberavailability.ts +38 -0
  415. package/src/sdk/models/operations/index.ts +8 -0
  416. package/src/sdk/models/operations/querylistings.ts +5 -5
  417. package/src/sdk/models/operations/querylistingsbysource.ts +5 -5
  418. package/src/sdk/models/shared/advancedlisting.ts +4 -4
  419. package/src/sdk/models/shared/conservationdesignationfeature.ts +1 -1
  420. package/src/sdk/models/shared/crimecatalogentry.ts +5 -6
  421. package/src/sdk/models/shared/crimecatalogperiodsbycountry.ts +1 -1
  422. package/src/sdk/models/shared/crimeconfidenceinterval.ts +1 -1
  423. package/src/sdk/models/shared/crimeincident.ts +10 -5
  424. package/src/sdk/models/shared/crimeincidentslistresponse.ts +1 -1
  425. package/src/sdk/models/shared/crimeincidentssummary.ts +1 -1
  426. package/src/sdk/models/shared/crimeperioddetails.ts +16 -1
  427. package/src/sdk/models/shared/geographyarea.ts +59 -0
  428. package/src/sdk/models/shared/geographycategorymetric.ts +55 -10
  429. package/src/sdk/models/shared/geographymetricsrow.ts +39 -4
  430. package/src/sdk/models/shared/geographyrelatedarea.ts +69 -0
  431. package/src/sdk/models/shared/geographytimeseriespoint.ts +10 -5
  432. package/src/sdk/models/shared/heritagedesignationfeature.ts +1 -1
  433. package/src/sdk/models/shared/index.ts +5 -0
  434. package/src/sdk/models/shared/landconstraintdesignationfeature.ts +1 -1
  435. package/src/sdk/models/shared/listing.ts +4 -4
  436. package/src/sdk/models/shared/titledeedapplication.ts +124 -0
  437. package/src/sdk/models/shared/titledeedapplicationlistresponse.ts +64 -0
  438. package/src/sdk/models/shared/titledeedavailabilityresponse.ts +162 -0
  439. package/src/sdk/safety.ts +3 -3
  440. package/src/sdk/sdk.ts +6 -0
  441. package/src/sdk/titledeeds.ts +36 -0
@@ -17,19 +17,43 @@ import {
17
17
 
18
18
  export type GeographyMetricsRow = {
19
19
  /**
20
- * Breakdown of the period by crime category.
20
+ * Breakdown of the period by crime category, `all` first.
21
21
  */
22
22
  categories: Array<GeographyCategoryMetric>;
23
+ /**
24
+ * `england` or `wales`. Null when merged areas span both.
25
+ */
26
+ country?: string | null | undefined;
27
+ /**
28
+ * How complete the data behind this row is. `available` means the police force reported throughout the window. `partial` means part of the window or part of the area was not reported. `missing` means the force did not report, so counts and rates come from stray incidents recorded by a neighbouring force and must not be read as evidence of safety. `unknown` means coverage could not be determined. Read this beside every number in the row.
29
+ */
30
+ dataAvailability?: string | undefined;
31
+ /**
32
+ * Type of area the code identifies: `lsoa21`, `msoa21`, `district_borough_unitary_ward`, `built_up_area_250`, `local_authority_district`, `county_unitary_authority`, `english_region` or `country_region`. A unitary authority is served as `local_authority_district`, and every ward, in England and in Wales, is served as `district_borough_unitary_ward`. Null when areas are merged.
33
+ */
34
+ entityType?: string | null | undefined;
23
35
  /**
24
36
  * Area code this row covers. When areas are merged it is the comma-joined list of every requested code that contributed to the row.
25
37
  */
26
38
  geographicCode: string;
39
+ /**
40
+ * How much of this area's own footprint is covered by the Lower Layer Super Output Areas its figures are aggregated from, as a fraction from 0 to 1. A value means the figures are an approximation of that quality, so 0.88 says the areas summed together cover 88% of this one. Null means the area is made up of whole Lower Layer Super Output Areas and no approximation arises, which is the case at every administrative level from LSOA to country; it is not an unknown value. Wards and built-up areas average about 0.88, and roughly one in eight is below 0.7.
41
+ */
42
+ geographyFit?: number | null | undefined;
43
+ /**
44
+ * Version of the scoring model that produced the row.
45
+ */
46
+ modelVersion?: string | null | undefined;
47
+ /**
48
+ * Name of the area. Null when areas are merged.
49
+ */
50
+ name?: string | null | undefined;
27
51
  /**
28
52
  * Month this row covers, in `YYYY-MM` form.
29
53
  */
30
54
  period: string;
31
55
  /**
32
- * Resident population the rates are calculated against. When areas are merged it is the sum across them.
56
+ * Resident population the rates are calculated against, from the latest mid-year estimate. When areas are merged it is the sum across them. 0 when the area's data is missing.
33
57
  */
34
58
  population: number;
35
59
  /**
@@ -37,13 +61,17 @@ export type GeographyMetricsRow = {
37
61
  */
38
62
  timeSeriesData: Array<GeographyTimeSeriesPoint>;
39
63
  /**
40
- * Number of incidents across all categories for the period.
64
+ * Number of incidents across all categories over the 24-month window ending at the period.
41
65
  */
42
66
  totalCrimeCount: number;
43
67
  /**
44
- * Incidents across all categories per 1,000 residents.
68
+ * Incidents across all categories per 1,000 residents per year over the window.
45
69
  */
46
70
  totalCrimeRate: number;
71
+ /**
72
+ * The area's overall safety score, from 0 to 100, where higher is safer. The same value as the `all` category's `crimeScore`. Null when areas are merged and when the police force did not report.
73
+ */
74
+ totalCrimeScore?: number | null | undefined;
47
75
  };
48
76
 
49
77
  /** @internal */
@@ -53,12 +81,19 @@ export const GeographyMetricsRow$inboundSchema: z.ZodType<
53
81
  unknown
54
82
  > = z.object({
55
83
  categories: z.array(GeographyCategoryMetric$inboundSchema),
84
+ country: z.nullable(z.string()).optional(),
85
+ dataAvailability: z.string().optional(),
86
+ entityType: z.nullable(z.string()).optional(),
56
87
  geographicCode: z.string(),
88
+ geographyFit: z.nullable(z.number()).optional(),
89
+ modelVersion: z.nullable(z.string()).optional(),
90
+ name: z.nullable(z.string()).optional(),
57
91
  period: z.string(),
58
92
  population: z.number(),
59
93
  timeSeriesData: z.array(GeographyTimeSeriesPoint$inboundSchema),
60
94
  totalCrimeCount: z.number(),
61
95
  totalCrimeRate: z.number(),
96
+ totalCrimeScore: z.nullable(z.number()).optional(),
62
97
  });
63
98
 
64
99
  export function geographyMetricsRowFromJSON(
@@ -0,0 +1,69 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { safeParse } from "../../../lib/schemas.js";
7
+ import { Result as SafeParseResult } from "../../types/fp.js";
8
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
9
+
10
+ export type GeographyRelatedArea = {
11
+ /**
12
+ * The layer as its publisher names it — `lsoa`, `sct_dz`, `nir_dz`. Never carries a vintage.
13
+ */
14
+ areaType: string;
15
+ /**
16
+ * The GSS code, e.g. `E01000001`.
17
+ */
18
+ code: string;
19
+ /**
20
+ * Hops from the area asked about. 1 is a direct parent or child.
21
+ */
22
+ depth: number;
23
+ /**
24
+ * Worst fit along the whole path: `exact`, `best_fit` or `spatial`. Anything other than `exact` means aggregating across this relationship gives an approximate answer.
25
+ */
26
+ minFit: string;
27
+ /**
28
+ * Publisher name. Null where none is published — ONS issues no names for Output Areas — and never unique, so never key on it.
29
+ */
30
+ name: string | null;
31
+ /**
32
+ * `ENG` | `WAL` | `SCO` | `NIR`, or null for a genuinely cross-border area.
33
+ */
34
+ nation: string | null;
35
+ /**
36
+ * Cross-nation tier: `small_area` is an LSOA in England and Wales and a Data Zone in Scotland and Northern Ireland.
37
+ */
38
+ tier: string | null;
39
+ /**
40
+ * The layer edition, e.g. `2021`.
41
+ */
42
+ vintage: string | null;
43
+ };
44
+
45
+ /** @internal */
46
+ export const GeographyRelatedArea$inboundSchema: z.ZodType<
47
+ GeographyRelatedArea,
48
+ z.ZodTypeDef,
49
+ unknown
50
+ > = z.object({
51
+ areaType: z.string(),
52
+ code: z.string(),
53
+ depth: z.number().int(),
54
+ minFit: z.string(),
55
+ name: z.nullable(z.string()),
56
+ nation: z.nullable(z.string()),
57
+ tier: z.nullable(z.string()),
58
+ vintage: z.nullable(z.string()),
59
+ });
60
+
61
+ export function geographyRelatedAreaFromJSON(
62
+ jsonString: string,
63
+ ): SafeParseResult<GeographyRelatedArea, SDKValidationError> {
64
+ return safeParse(
65
+ jsonString,
66
+ (x) => GeographyRelatedArea$inboundSchema.parse(JSON.parse(x)),
67
+ `Failed to parse 'GeographyRelatedArea' from JSON`,
68
+ );
69
+ }
@@ -13,19 +13,23 @@ export type GeographyTimeSeriesPoint = {
13
13
  */
14
14
  category: string;
15
15
  /**
16
- * Number of incidents in this category for the month.
16
+ * Number of incidents in this category over the 24-month window ending at this month.
17
17
  */
18
18
  crimeCount: number;
19
19
  /**
20
- * Incidents in this category per 1,000 residents.
20
+ * Incidents in this category per 1,000 residents per year over that window.
21
21
  */
22
22
  crimeRate: number;
23
23
  /**
24
- * Safety score for this month and category, from 0 to 100, where higher is safer. Null when areas are merged.
24
+ * Safety score for this month and category, from 0 to 100, where higher is safer. Null when areas are merged and when the police force did not report.
25
25
  */
26
26
  crimeScore: number | null;
27
27
  /**
28
- * Where this month's score ranks nationally, from 0 to 100. Null when it has not been ranked.
28
+ * How complete the data behind this row is. `available` means the police force reported throughout the window. `partial` means part of the window or part of the area was not reported. `missing` means the force did not report, so counts and rates come from stray incidents recorded by a neighbouring force and must not be read as evidence of safety. `unknown` means coverage could not be determined. Read this beside every number in the row.
29
+ */
30
+ dataAvailability?: string | undefined;
31
+ /**
32
+ * Where this month's score ranks among areas of the same type, from 0 to 100, where 100 is safest. Null when it has not been ranked.
29
33
  */
30
34
  percentile: number | null;
31
35
  /**
@@ -33,7 +37,7 @@ export type GeographyTimeSeriesPoint = {
33
37
  */
34
38
  period: string;
35
39
  /**
36
- * Direction and size of the change for this month and category, from -1 to 1. Null when areas are merged.
40
+ * Direction and size of the year-on-year change for this month and category. Positive means crime is falling. Null when areas are merged.
37
41
  */
38
42
  trendFactor: number | null;
39
43
  };
@@ -48,6 +52,7 @@ export const GeographyTimeSeriesPoint$inboundSchema: z.ZodType<
48
52
  crimeCount: z.number(),
49
53
  crimeRate: z.number(),
50
54
  crimeScore: z.nullable(z.number()),
55
+ dataAvailability: z.string().optional(),
51
56
  percentile: z.nullable(z.number()),
52
57
  period: z.string(),
53
58
  trendFactor: z.nullable(z.number()),
@@ -96,7 +96,7 @@ export type HeritageDesignationFeature = {
96
96
  listedGrade?: string | undefined;
97
97
  localAuthority?: string | null | undefined;
98
98
  /**
99
- * Extra detail the custodian publishes, narrowed to a fixed set of keys that varies by `designationType`: `status`, `legal_regime`, `woodland_composition`, `native_pct`, `canopy_pct`, `dominant_habitat`, `maturity`, `parish`, `geographic_location` and `stat_area_km2`. Only the keys the source actually carries appear. Requires the `designationSourceData` permission on the licence.
99
+ * Extra detail the custodian publishes, narrowed to `status`, `legal_regime` and `parish`. `legal_regime` names the Act the designation is made under, and `status` is the register status the custodian records for it. Only the keys the source actually carries appear. Requires the `designationSourceData` permission on the licence.
100
100
  */
101
101
  metadata?: { [k: string]: any } | undefined;
102
102
  /**
@@ -195,9 +195,11 @@ export * from "./frameworkdetailresponse.js";
195
195
  export * from "./frameworklistresponse.js";
196
196
  export * from "./geocodeprecision.js";
197
197
  export * from "./geographiccontext.js";
198
+ export * from "./geographyarea.js";
198
199
  export * from "./geographycategorymetric.js";
199
200
  export * from "./geographymetricslistresponse.js";
200
201
  export * from "./geographymetricsrow.js";
202
+ export * from "./geographyrelatedarea.js";
201
203
  export * from "./geographytimeseriespoint.js";
202
204
  export * from "./healthevidencelevel.js";
203
205
  export * from "./healthimpact.js";
@@ -413,6 +415,9 @@ export * from "./termsaggregationresult.js";
413
415
  export * from "./termsbucket.js";
414
416
  export * from "./tierskipreason.js";
415
417
  export * from "./titlecovenant.js";
418
+ export * from "./titledeedapplication.js";
419
+ export * from "./titledeedapplicationlistresponse.js";
420
+ export * from "./titledeedavailabilityresponse.js";
416
421
  export * from "./titledeeddocumentlistresponse.js";
417
422
  export * from "./titledeedpurchasepending.js";
418
423
  export * from "./titledeedpurchaseresponse.js";
@@ -88,7 +88,7 @@ export type LandConstraintDesignationFeature = {
88
88
  licence: string | null;
89
89
  localAuthority?: string | null | undefined;
90
90
  /**
91
- * Extra detail the custodian publishes, narrowed to a fixed set of keys that varies by `designationType`: `status`, `legal_regime`, `woodland_composition`, `native_pct`, `canopy_pct`, `dominant_habitat`, `maturity`, `parish`, `geographic_location` and `stat_area_km2`. Only the keys the source actually carries appear. Requires the `designationSourceData` permission on the licence.
91
+ * Extra detail the custodian publishes, narrowed to `status`, `legal_regime`, `permitted_development_rights` and `bmv`. On an Article 4 direction area, `permitted_development_rights` records which rights that direction withdraws, in the wording the local authority used: most entries are semicolon-separated class codes from the Town and Country Planning (General Permitted Development) (England) Order 2015, such as `1A;1C;1D;1F;2A;2B`, but a substantial minority are a sentence naming the Parts and Classes instead, so parse it defensively. On an agricultural land classification area, `bmv` is true where the grade counts as Best and Most Versatile agricultural land. Only the keys the source actually carries appear, and this field requires the `designationSourceData` permission on the licence.
92
92
  */
93
93
  metadata?: { [k: string]: any } | undefined;
94
94
  name?: string | null | undefined;
@@ -151,9 +151,9 @@ export type Listing = {
151
151
  */
152
152
  pricing?: Pricing | undefined;
153
153
  /**
154
- * When the listing was first published, as an ISO 8601 timestamp.
154
+ * When the listing was first published, as an ISO 8601 timestamp. Null when the source does not publish one.
155
155
  */
156
- publishedDate?: Date | undefined;
156
+ publishedDate?: Date | null | undefined;
157
157
  /**
158
158
  * When the listing was taken down, as an ISO 8601 timestamp. Null while it is still live.
159
159
  */
@@ -299,8 +299,8 @@ export const Listing$inboundSchema: z.ZodType<Listing, z.ZodTypeDef, unknown> =
299
299
  listingId: z.string().optional(),
300
300
  priceChange: z.array(ListingPriceChange$inboundSchema).optional(),
301
301
  pricing: z.lazy(() => Pricing$inboundSchema).optional(),
302
- publishedDate: z.string().datetime({ offset: true }).transform(v =>
303
- new Date(v)
302
+ publishedDate: z.nullable(
303
+ z.string().datetime({ offset: true }).transform(v => new Date(v)),
304
304
  ).optional(),
305
305
  removedDate: z.nullable(
306
306
  z.string().datetime({ offset: true }).transform(v => new Date(v)),
@@ -0,0 +1,124 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { remap as remap$ } from "../../../lib/primitives.js";
7
+ import { safeParse } from "../../../lib/schemas.js";
8
+ import { Result as SafeParseResult } from "../../types/fp.js";
9
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
+
11
+ export type TitleDeedApplication = {
12
+ /**
13
+ * Who the application was made for, where it is recorded.
14
+ */
15
+ applicant: string | null;
16
+ customerReference: string | null;
17
+ /**
18
+ * True when the applicant has asked HM Land Registry to expedite the application.
19
+ */
20
+ expedited: boolean;
21
+ /**
22
+ * The firm that lodged the application.
23
+ */
24
+ lodgedBy: string | null;
25
+ /**
26
+ * Titles this application will create, such as a new leasehold title over part of the property.
27
+ */
28
+ newTitles: Array<string> | null;
29
+ /**
30
+ * Titles this application is being carved out of.
31
+ */
32
+ parentTitles: Array<string> | null;
33
+ /**
34
+ * The date the application takes priority from, where one applies.
35
+ */
36
+ priorityDate: string | null;
37
+ /**
38
+ * End of the priority period, after which the protection lapses.
39
+ */
40
+ priorityEndDate: string | null;
41
+ /**
42
+ * Start of the priority period, on a search that carries one.
43
+ */
44
+ priorityStartDate: string | null;
45
+ priorityTime: string | null;
46
+ /**
47
+ * How far HM Land Registry has taken the application, in their own words.
48
+ */
49
+ progress: string | null;
50
+ /**
51
+ * The part of the property the application concerns, where it names one.
52
+ */
53
+ propertyDescription: string | null;
54
+ /**
55
+ * The channel the application arrived through.
56
+ */
57
+ receivedBy: string | null;
58
+ /**
59
+ * The reference HM Land Registry allocated to this application.
60
+ */
61
+ reference: string;
62
+ searchCertificateNumber: string | null;
63
+ searchInterest: string | null;
64
+ /**
65
+ * What kind of application this is, such as a dealing or a first lease.
66
+ */
67
+ type: string;
68
+ /**
69
+ * The numeric code behind `type`, for callers that prefer to switch on a stable value.
70
+ */
71
+ typeCode: string;
72
+ };
73
+
74
+ /** @internal */
75
+ export const TitleDeedApplication$inboundSchema: z.ZodType<
76
+ TitleDeedApplication,
77
+ z.ZodTypeDef,
78
+ unknown
79
+ > = z.object({
80
+ applicant: z.nullable(z.string()),
81
+ customer_reference: z.nullable(z.string()),
82
+ expedited: z.boolean(),
83
+ lodged_by: z.nullable(z.string()),
84
+ new_titles: z.nullable(z.array(z.string())),
85
+ parent_titles: z.nullable(z.array(z.string())),
86
+ priority_date: z.nullable(z.string()),
87
+ priority_end_date: z.nullable(z.string()),
88
+ priority_start_date: z.nullable(z.string()),
89
+ priority_time: z.nullable(z.string()),
90
+ progress: z.nullable(z.string()),
91
+ property_description: z.nullable(z.string()),
92
+ received_by: z.nullable(z.string()),
93
+ reference: z.string(),
94
+ search_certificate_number: z.nullable(z.string()),
95
+ search_interest: z.nullable(z.string()),
96
+ type: z.string(),
97
+ type_code: z.string(),
98
+ }).transform((v) => {
99
+ return remap$(v, {
100
+ "customer_reference": "customerReference",
101
+ "lodged_by": "lodgedBy",
102
+ "new_titles": "newTitles",
103
+ "parent_titles": "parentTitles",
104
+ "priority_date": "priorityDate",
105
+ "priority_end_date": "priorityEndDate",
106
+ "priority_start_date": "priorityStartDate",
107
+ "priority_time": "priorityTime",
108
+ "property_description": "propertyDescription",
109
+ "received_by": "receivedBy",
110
+ "search_certificate_number": "searchCertificateNumber",
111
+ "search_interest": "searchInterest",
112
+ "type_code": "typeCode",
113
+ });
114
+ });
115
+
116
+ export function titleDeedApplicationFromJSON(
117
+ jsonString: string,
118
+ ): SafeParseResult<TitleDeedApplication, SDKValidationError> {
119
+ return safeParse(
120
+ jsonString,
121
+ (x) => TitleDeedApplication$inboundSchema.parse(JSON.parse(x)),
122
+ `Failed to parse 'TitleDeedApplication' from JSON`,
123
+ );
124
+ }
@@ -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 { remap as remap$ } from "../../../lib/primitives.js";
7
+ import { safeParse } from "../../../lib/schemas.js";
8
+ import { ClosedEnum } from "../../types/enums.js";
9
+ import { Result as SafeParseResult } from "../../types/fp.js";
10
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
+ import {
12
+ TitleDeedApplication,
13
+ TitleDeedApplication$inboundSchema,
14
+ } from "./titledeedapplication.js";
15
+
16
+ export const TitleDeedApplicationListResponseObject = {
17
+ TitleDeedApplicationList: "title_deed_application_list",
18
+ } as const;
19
+ export type TitleDeedApplicationListResponseObject = ClosedEnum<
20
+ typeof TitleDeedApplicationListResponseObject
21
+ >;
22
+
23
+ export type TitleDeedApplicationListResponse = {
24
+ applications: Array<TitleDeedApplication>;
25
+ /**
26
+ * True when at least one application is lodged against this title. While that is the case a standard official copy cannot be purchased.
27
+ */
28
+ applicationsPending: boolean;
29
+ object: TitleDeedApplicationListResponseObject;
30
+ titleNumber: string;
31
+ };
32
+
33
+ /** @internal */
34
+ export const TitleDeedApplicationListResponseObject$inboundSchema:
35
+ z.ZodNativeEnum<typeof TitleDeedApplicationListResponseObject> = z.nativeEnum(
36
+ TitleDeedApplicationListResponseObject,
37
+ );
38
+
39
+ /** @internal */
40
+ export const TitleDeedApplicationListResponse$inboundSchema: z.ZodType<
41
+ TitleDeedApplicationListResponse,
42
+ z.ZodTypeDef,
43
+ unknown
44
+ > = z.object({
45
+ applications: z.array(TitleDeedApplication$inboundSchema),
46
+ applications_pending: z.boolean(),
47
+ object: TitleDeedApplicationListResponseObject$inboundSchema,
48
+ title_number: z.string(),
49
+ }).transform((v) => {
50
+ return remap$(v, {
51
+ "applications_pending": "applicationsPending",
52
+ "title_number": "titleNumber",
53
+ });
54
+ });
55
+
56
+ export function titleDeedApplicationListResponseFromJSON(
57
+ jsonString: string,
58
+ ): SafeParseResult<TitleDeedApplicationListResponse, SDKValidationError> {
59
+ return safeParse(
60
+ jsonString,
61
+ (x) => TitleDeedApplicationListResponse$inboundSchema.parse(JSON.parse(x)),
62
+ `Failed to parse 'TitleDeedApplicationListResponse' from JSON`,
63
+ );
64
+ }
@@ -0,0 +1,162 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { remap as remap$ } from "../../../lib/primitives.js";
7
+ import { safeParse } from "../../../lib/schemas.js";
8
+ import * as openEnums from "../../types/enums.js";
9
+ import { ClosedEnum, OpenEnum } from "../../types/enums.js";
10
+ import { Result as SafeParseResult } from "../../types/fp.js";
11
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
12
+
13
+ export const TitleDeedAvailabilityResponseObject = {
14
+ TitleDeedAvailability: "title_deed_availability",
15
+ } as const;
16
+ export type TitleDeedAvailabilityResponseObject = ClosedEnum<
17
+ typeof TitleDeedAvailabilityResponseObject
18
+ >;
19
+
20
+ /**
21
+ * Why the title cannot be bought, or null when it can. `applications_pending` means an application is lodged against the title and HM Land Registry will not issue a standard official copy until it completes. `register_unavailable` means the register cannot be delivered electronically at all.
22
+ */
23
+ export const ReasonCode = {
24
+ RegisterUnavailable: "register_unavailable",
25
+ ApplicationsPending: "applications_pending",
26
+ } as const;
27
+ /**
28
+ * Why the title cannot be bought, or null when it can. `applications_pending` means an application is lodged against the title and HM Land Registry will not issue a standard official copy until it completes. `register_unavailable` means the register cannot be delivered electronically at all.
29
+ */
30
+ export type ReasonCode = OpenEnum<typeof ReasonCode>;
31
+
32
+ export type Register = {
33
+ availabilityCode: string | null;
34
+ backdated: boolean | null;
35
+ };
36
+
37
+ export type TitlePlan = {
38
+ availabilityCode: string | null;
39
+ backdated: boolean | null;
40
+ };
41
+
42
+ export type TitleDeedAvailabilityResponse = {
43
+ /**
44
+ * True when one or more applications are lodged against this title and not yet completed.
45
+ */
46
+ applicationsPending: boolean | null;
47
+ object: TitleDeedAvailabilityResponseObject;
48
+ /**
49
+ * True when a purchase of this title would be accepted today. False means a purchase would be refused and refunded, so check this before buying.
50
+ */
51
+ purchasable: boolean;
52
+ /**
53
+ * The refusal explained in a sentence, or null when the title can be bought.
54
+ */
55
+ reason: string | null;
56
+ /**
57
+ * Why the title cannot be bought, or null when it can. `applications_pending` means an application is lodged against the title and HM Land Registry will not issue a standard official copy until it completes. `register_unavailable` means the register cannot be delivered electronically at all.
58
+ */
59
+ reasonCode: ReasonCode | null;
60
+ register: Register;
61
+ titleNumber: string;
62
+ titlePlan: TitlePlan;
63
+ /**
64
+ * The registration status HM Land Registry holds for this title.
65
+ */
66
+ titleStatus: string | null;
67
+ };
68
+
69
+ /** @internal */
70
+ export const TitleDeedAvailabilityResponseObject$inboundSchema: z.ZodNativeEnum<
71
+ typeof TitleDeedAvailabilityResponseObject
72
+ > = z.nativeEnum(TitleDeedAvailabilityResponseObject);
73
+
74
+ /** @internal */
75
+ export const ReasonCode$inboundSchema: z.ZodType<
76
+ ReasonCode,
77
+ z.ZodTypeDef,
78
+ unknown
79
+ > = openEnums.inboundSchema(ReasonCode);
80
+
81
+ /** @internal */
82
+ export const Register$inboundSchema: z.ZodType<
83
+ Register,
84
+ z.ZodTypeDef,
85
+ unknown
86
+ > = z.object({
87
+ availability_code: z.nullable(z.string()),
88
+ backdated: z.nullable(z.boolean()),
89
+ }).transform((v) => {
90
+ return remap$(v, {
91
+ "availability_code": "availabilityCode",
92
+ });
93
+ });
94
+
95
+ export function registerFromJSON(
96
+ jsonString: string,
97
+ ): SafeParseResult<Register, SDKValidationError> {
98
+ return safeParse(
99
+ jsonString,
100
+ (x) => Register$inboundSchema.parse(JSON.parse(x)),
101
+ `Failed to parse 'Register' from JSON`,
102
+ );
103
+ }
104
+
105
+ /** @internal */
106
+ export const TitlePlan$inboundSchema: z.ZodType<
107
+ TitlePlan,
108
+ z.ZodTypeDef,
109
+ unknown
110
+ > = z.object({
111
+ availability_code: z.nullable(z.string()),
112
+ backdated: z.nullable(z.boolean()),
113
+ }).transform((v) => {
114
+ return remap$(v, {
115
+ "availability_code": "availabilityCode",
116
+ });
117
+ });
118
+
119
+ export function titlePlanFromJSON(
120
+ jsonString: string,
121
+ ): SafeParseResult<TitlePlan, SDKValidationError> {
122
+ return safeParse(
123
+ jsonString,
124
+ (x) => TitlePlan$inboundSchema.parse(JSON.parse(x)),
125
+ `Failed to parse 'TitlePlan' from JSON`,
126
+ );
127
+ }
128
+
129
+ /** @internal */
130
+ export const TitleDeedAvailabilityResponse$inboundSchema: z.ZodType<
131
+ TitleDeedAvailabilityResponse,
132
+ z.ZodTypeDef,
133
+ unknown
134
+ > = z.object({
135
+ applications_pending: z.nullable(z.boolean()),
136
+ object: TitleDeedAvailabilityResponseObject$inboundSchema,
137
+ purchasable: z.boolean(),
138
+ reason: z.nullable(z.string()),
139
+ reason_code: z.nullable(ReasonCode$inboundSchema),
140
+ register: z.lazy(() => Register$inboundSchema),
141
+ title_number: z.string(),
142
+ title_plan: z.lazy(() => TitlePlan$inboundSchema),
143
+ title_status: z.nullable(z.string()),
144
+ }).transform((v) => {
145
+ return remap$(v, {
146
+ "applications_pending": "applicationsPending",
147
+ "reason_code": "reasonCode",
148
+ "title_number": "titleNumber",
149
+ "title_plan": "titlePlan",
150
+ "title_status": "titleStatus",
151
+ });
152
+ });
153
+
154
+ export function titleDeedAvailabilityResponseFromJSON(
155
+ jsonString: string,
156
+ ): SafeParseResult<TitleDeedAvailabilityResponse, SDKValidationError> {
157
+ return safeParse(
158
+ jsonString,
159
+ (x) => TitleDeedAvailabilityResponse$inboundSchema.parse(JSON.parse(x)),
160
+ `Failed to parse 'TitleDeedAvailabilityResponse' from JSON`,
161
+ );
162
+ }
package/src/sdk/safety.ts CHANGED
@@ -52,7 +52,7 @@ export class Safety extends ClientSDK {
52
52
  * Get crime incidents near a point
53
53
  *
54
54
  * @remarks
55
- * Return the individual crime incidents recorded within `radius` metres of a point, covering England and Wales. Incident locations are anonymised at source to a nearby map point, accurate to roughly 150m, and are published monthly around two months in arrears. The response always covers six months: supplying `date` ends that window at the month given, or at the most recent month with significant reporting if that is earlier, and leaving `date` out ends it at the most recent month with significant reporting in the area. A single request returns at most 5,000 incidents, and sets `summary.truncated` to `true` when it hits that cap, so narrow the radius or the date window to see the rest.
55
+ * Return the individual crime incidents recorded within `radius` metres of a point, covering England and Wales from August 2020 onwards. Incident locations are anonymised at source to a nearby map point, accurate to roughly 150m, and are published monthly around two months in arrears, dated to the first of the month they were recorded in. The response always covers six months: supplying `date` ends that window at the month given, or at the most recent month with significant reporting if that is earlier, and leaving `date` out ends it at the most recent month with significant reporting in the area. A single request returns at most 5,000 incidents, and sets `summary.truncated` to `true` when it hits that cap, so narrow the radius or the date window to see the rest.
56
56
  */
57
57
  async getCrimeIncidents(
58
58
  request: operations.GetCrimeIncidentsRequest,
@@ -83,10 +83,10 @@ export class Safety extends ClientSDK {
83
83
  }
84
84
 
85
85
  /**
86
- * Get crime metrics for one or more geographic areas (England only)
86
+ * Get crime metrics for one or more geographic areas (England and Wales)
87
87
  *
88
88
  * @remarks
89
- * Return scored crime metrics for one or more areas, identified by Lower Layer Super Output Area (LSOA), ward or authority code, across one or more months, each with a per-category breakdown and an optional monthly history. Coverage is England only: the scored area metrics behind this endpoint hold English geographies alone, so codes in Wales, Scotland or Northern Ireland come back as `data: []`, and incident-level data for England and Wales lives at `/v1/safety/crime` instead. By default the response carries one row per area and month; with `mergeAreas=true` it carries one row per month, with counts and population summed across every requested area and scores, percentiles and trends set to null because they cannot be combined across areas. Choose the months either explicitly with `periods=YYYY-MM,YYYY-MM` or as a range with `startDate` and `endDate`, never both, and set how far each row's history reaches back with `months`, which defaults to 12. An empty result comes back as `data: []` with `total_count: 0`, never as a 204.
89
+ * Return scored crime metrics for one or more areas across one or more months, each with a per-category breakdown and an optional monthly history. Areas are identified by GSS code at eight levels: Lower Layer Super Output Area (LSOA, `E01`/`W01`), Middle Layer Super Output Area (MSOA, `E02`/`W02`), ward (`E05`/`W05`), built-up area (`E63`/`W45`/`K08`), local authority district or unitary authority (`E06`-`E09`, `W06`), county (`E10`), English region (`E12`) and country (`E92`, `W92`). Coverage is England and Wales; codes at other levels, such as parishes, and codes in Scotland or Northern Ireland come back as `data: []`. Ward and built-up-area figures are aggregated from the Lower Layer Super Output Areas assigned to each area rather than counted on its own boundary, so they are approximations, and `geographyFit` on every row reports how much of the area's footprint those smaller areas cover. A built-up area smaller than the Lower Layer Super Output Area containing it has no figures and comes back as `data: []`. Percentiles rank an area against others of the same type, so a ward is ranked among wards and not among districts. Every month summarises the trailing 24-month window ending at that month, so counts are window totals and rates are per 1,000 residents per year. Months are published two months in arrears, roughly monthly; the catalogue endpoint lists the months held. Scores are null, never 0, where a police force did not report; read `dataAvailability` beside every number. By default the response carries one row per area and month; with `mergeAreas=true` it carries one row per month, with counts and population summed across every requested area and scores, percentiles and trends set to null because they cannot be combined across areas. Choose the months either explicitly with `periods=YYYY-MM,YYYY-MM` or as a range with `startDate` and `endDate`, never both, and set how far each row's history reaches back with `months`, which defaults to 12. An empty result comes back as `data: []` with `total_count: 0`, never as a 204.
90
90
  */
91
91
  async getGeographyMetrics(
92
92
  request: operations.GetGeographyMetricsRequest,
package/src/sdk/sdk.ts CHANGED
@@ -16,6 +16,7 @@ import { Councils } from "./councils.js";
16
16
  import { Energy } from "./energy.js";
17
17
  import { Epc } from "./epc.js";
18
18
  import { FloodRisk } from "./floodrisk.js";
19
+ import { Geography } from "./geography.js";
19
20
  import { Heritage } from "./heritage.js";
20
21
  import { LandConstraint } from "./landconstraint.js";
21
22
  import { Listings } from "./listings.js";
@@ -115,6 +116,11 @@ export class SDK extends ClientSDK {
115
116
  return (this._floodRisk ??= new FloodRisk(this._options));
116
117
  }
117
118
 
119
+ private _geography?: Geography;
120
+ get geography(): Geography {
121
+ return (this._geography ??= new Geography(this._options));
122
+ }
123
+
118
124
  private _heritage?: Heritage;
119
125
  get heritage(): Heritage {
120
126
  return (this._heritage ??= new Heritage(this._options));