@vepler/sdk 1.10.1 → 2.0.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 (1247) hide show
  1. package/FUNCTIONS.md +3 -3
  2. package/README.md +81 -24
  3. package/RUNTIMES.md +6 -6
  4. package/dist/commonjs/funcs/addressResolveAddress.d.ts +17 -0
  5. package/dist/commonjs/funcs/addressResolveAddress.d.ts.map +1 -0
  6. package/dist/commonjs/funcs/addressResolveAddress.js +116 -0
  7. package/dist/commonjs/funcs/addressResolveAddress.js.map +1 -0
  8. package/dist/commonjs/funcs/areasGetAreas.d.ts +17 -0
  9. package/dist/commonjs/funcs/areasGetAreas.d.ts.map +1 -0
  10. package/dist/commonjs/funcs/areasGetAreas.js +132 -0
  11. package/dist/commonjs/funcs/areasGetAreas.js.map +1 -0
  12. package/dist/commonjs/funcs/areasGetAreasWithin.d.ts +17 -0
  13. package/dist/commonjs/funcs/areasGetAreasWithin.d.ts.map +1 -0
  14. package/dist/commonjs/funcs/areasGetAreasWithin.js +122 -0
  15. package/dist/commonjs/funcs/areasGetAreasWithin.js.map +1 -0
  16. package/dist/commonjs/funcs/areasGetBorderingAreas.d.ts +17 -0
  17. package/dist/commonjs/funcs/areasGetBorderingAreas.d.ts.map +1 -0
  18. package/dist/commonjs/funcs/areasGetBorderingAreas.js +131 -0
  19. package/dist/commonjs/funcs/areasGetBorderingAreas.js.map +1 -0
  20. package/dist/commonjs/funcs/areasGetChildAreas.d.ts +17 -0
  21. package/dist/commonjs/funcs/areasGetChildAreas.d.ts.map +1 -0
  22. package/dist/commonjs/funcs/areasGetChildAreas.js +124 -0
  23. package/dist/commonjs/funcs/areasGetChildAreas.js.map +1 -0
  24. package/dist/commonjs/funcs/connectivityGetConnectivityScores.d.ts +17 -0
  25. package/dist/commonjs/funcs/connectivityGetConnectivityScores.d.ts.map +1 -0
  26. package/dist/commonjs/funcs/connectivityGetConnectivityScores.js +131 -0
  27. package/dist/commonjs/funcs/connectivityGetConnectivityScores.js.map +1 -0
  28. package/dist/commonjs/funcs/epcGetEPC.d.ts +17 -0
  29. package/dist/commonjs/funcs/epcGetEPC.d.ts.map +1 -0
  30. package/dist/commonjs/funcs/epcGetEPC.js +119 -0
  31. package/dist/commonjs/funcs/epcGetEPC.js.map +1 -0
  32. package/dist/commonjs/funcs/epcGetEPCByPostcode.d.ts +17 -0
  33. package/dist/commonjs/funcs/epcGetEPCByPostcode.d.ts.map +1 -0
  34. package/dist/commonjs/funcs/epcGetEPCByPostcode.js +119 -0
  35. package/dist/commonjs/funcs/epcGetEPCByPostcode.js.map +1 -0
  36. package/dist/commonjs/funcs/listingsGetListingById.d.ts +17 -0
  37. package/dist/commonjs/funcs/listingsGetListingById.d.ts.map +1 -0
  38. package/dist/commonjs/funcs/listingsGetListingById.js +119 -0
  39. package/dist/commonjs/funcs/listingsGetListingById.js.map +1 -0
  40. package/dist/commonjs/funcs/listingsGetListingBySource.d.ts +17 -0
  41. package/dist/commonjs/funcs/listingsGetListingBySource.d.ts.map +1 -0
  42. package/dist/commonjs/funcs/listingsGetListingBySource.js +127 -0
  43. package/dist/commonjs/funcs/listingsGetListingBySource.js.map +1 -0
  44. package/dist/commonjs/funcs/listingsGetListingsByLocation.d.ts +17 -0
  45. package/dist/commonjs/funcs/listingsGetListingsByLocation.d.ts.map +1 -0
  46. package/dist/commonjs/funcs/listingsGetListingsByLocation.js +123 -0
  47. package/dist/commonjs/funcs/listingsGetListingsByLocation.js.map +1 -0
  48. package/dist/commonjs/funcs/listingsQueryListings.d.ts +17 -0
  49. package/dist/commonjs/funcs/listingsQueryListings.d.ts.map +1 -0
  50. package/dist/commonjs/funcs/listingsQueryListings.js +116 -0
  51. package/dist/commonjs/funcs/listingsQueryListings.js.map +1 -0
  52. package/dist/commonjs/funcs/listingsQueryListingsBySource.d.ts +17 -0
  53. package/dist/commonjs/funcs/listingsQueryListingsBySource.d.ts.map +1 -0
  54. package/dist/commonjs/funcs/listingsQueryListingsBySource.js +117 -0
  55. package/dist/commonjs/funcs/listingsQueryListingsBySource.js.map +1 -0
  56. package/dist/commonjs/funcs/metricsGetMetricValues.d.ts +17 -0
  57. package/dist/commonjs/funcs/metricsGetMetricValues.d.ts.map +1 -0
  58. package/dist/commonjs/funcs/metricsGetMetricValues.js +128 -0
  59. package/dist/commonjs/funcs/metricsGetMetricValues.js.map +1 -0
  60. package/dist/commonjs/funcs/planningGetPlanningApplications.js +1 -1
  61. package/dist/commonjs/funcs/planningGetPlanningApplications.js.map +1 -1
  62. package/dist/commonjs/funcs/planningGetPlanningApplicationsBySource.js +1 -1
  63. package/dist/commonjs/funcs/planningGetPlanningApplicationsBySource.js.map +1 -1
  64. package/dist/commonjs/funcs/planningSearchPlanningApplications.js +1 -1
  65. package/dist/commonjs/funcs/planningSearchPlanningApplications.js.map +1 -1
  66. package/dist/commonjs/funcs/poiGetNearestPOI.d.ts +17 -0
  67. package/dist/commonjs/funcs/poiGetNearestPOI.d.ts.map +1 -0
  68. package/dist/commonjs/funcs/poiGetNearestPOI.js +122 -0
  69. package/dist/commonjs/funcs/poiGetNearestPOI.js.map +1 -0
  70. package/dist/commonjs/funcs/poiGetPOIMultipleTiles.d.ts +17 -0
  71. package/dist/commonjs/funcs/poiGetPOIMultipleTiles.d.ts.map +1 -0
  72. package/dist/commonjs/funcs/poiGetPOIMultipleTiles.js +118 -0
  73. package/dist/commonjs/funcs/poiGetPOIMultipleTiles.js.map +1 -0
  74. package/dist/commonjs/funcs/poiGetPOITile.d.ts +23 -0
  75. package/dist/commonjs/funcs/poiGetPOITile.d.ts.map +1 -0
  76. package/dist/commonjs/funcs/poiGetPOITile.js +140 -0
  77. package/dist/commonjs/funcs/poiGetPOITile.js.map +1 -0
  78. package/dist/commonjs/funcs/propertyGetProperties.js +1 -1
  79. package/dist/commonjs/funcs/propertyGetProperties.js.map +1 -1
  80. package/dist/commonjs/funcs/propertyGetPropertiesByLocation.js +1 -1
  81. package/dist/commonjs/funcs/propertyGetPropertiesByLocation.js.map +1 -1
  82. package/dist/commonjs/funcs/propertyGetPropertiesBySlugs.js +1 -1
  83. package/dist/commonjs/funcs/propertyGetPropertiesBySlugs.js.map +1 -1
  84. package/dist/commonjs/funcs/propertyGetPropertiesBySource.js +1 -1
  85. package/dist/commonjs/funcs/propertyGetPropertiesBySource.js.map +1 -1
  86. package/dist/commonjs/funcs/propertySearchProperties.js +1 -1
  87. package/dist/commonjs/funcs/propertySearchProperties.js.map +1 -1
  88. package/dist/commonjs/funcs/safetyGetV1SafetyCrime.js +1 -1
  89. package/dist/commonjs/funcs/safetyGetV1SafetyCrime.js.map +1 -1
  90. package/dist/commonjs/funcs/safetyGetV1SafetyCrimeStats.js +1 -1
  91. package/dist/commonjs/funcs/safetyGetV1SafetyCrimeStats.js.map +1 -1
  92. package/dist/commonjs/funcs/schoolsGet.js +1 -1
  93. package/dist/commonjs/funcs/schoolsGet.js.map +1 -1
  94. package/dist/commonjs/funcs/schoolsGetBySlug.js +1 -1
  95. package/dist/commonjs/funcs/schoolsGetBySlug.js.map +1 -1
  96. package/dist/commonjs/funcs/schoolsGetByUrn.js +1 -1
  97. package/dist/commonjs/funcs/schoolsGetByUrn.js.map +1 -1
  98. package/dist/commonjs/funcs/{schoolMetricsGetMetrics.d.ts → schoolsGetMetrics.d.ts} +2 -2
  99. package/dist/commonjs/funcs/schoolsGetMetrics.d.ts.map +1 -0
  100. package/dist/commonjs/funcs/{schoolMetricsGetMetrics.js → schoolsGetMetrics.js} +4 -4
  101. package/dist/commonjs/funcs/schoolsGetMetrics.js.map +1 -0
  102. package/dist/commonjs/funcs/schoolsList.js +1 -1
  103. package/dist/commonjs/funcs/schoolsList.js.map +1 -1
  104. package/dist/commonjs/funcs/{schoolMetricsListProfiles.d.ts → schoolsListProfiles.d.ts} +2 -2
  105. package/dist/commonjs/funcs/schoolsListProfiles.d.ts.map +1 -0
  106. package/dist/commonjs/funcs/{schoolMetricsListProfiles.js → schoolsListProfiles.js} +4 -4
  107. package/dist/commonjs/funcs/schoolsListProfiles.js.map +1 -0
  108. package/dist/commonjs/funcs/schoolsSearchNearby.js +1 -1
  109. package/dist/commonjs/funcs/schoolsSearchNearby.js.map +1 -1
  110. package/dist/commonjs/funcs/schoolsSearchWithin.js +1 -1
  111. package/dist/commonjs/funcs/schoolsSearchWithin.js.map +1 -1
  112. package/dist/{esm/funcs/locationSearchStreets.d.ts → commonjs/funcs/streetsSearchStreets.d.ts} +2 -2
  113. package/dist/commonjs/funcs/streetsSearchStreets.d.ts.map +1 -0
  114. package/dist/commonjs/funcs/{locationSearchStreets.js → streetsSearchStreets.js} +4 -4
  115. package/dist/commonjs/funcs/streetsSearchStreets.js.map +1 -0
  116. package/dist/commonjs/funcs/systemCheckAreaReferenceHealth.d.ts +17 -0
  117. package/dist/commonjs/funcs/systemCheckAreaReferenceHealth.d.ts.map +1 -0
  118. package/dist/commonjs/funcs/systemCheckAreaReferenceHealth.js +104 -0
  119. package/dist/commonjs/funcs/systemCheckAreaReferenceHealth.js.map +1 -0
  120. package/dist/commonjs/funcs/systemCheckEPCHealth.d.ts +17 -0
  121. package/dist/commonjs/funcs/systemCheckEPCHealth.d.ts.map +1 -0
  122. package/dist/commonjs/funcs/systemCheckEPCHealth.js +104 -0
  123. package/dist/commonjs/funcs/systemCheckEPCHealth.js.map +1 -0
  124. package/dist/commonjs/funcs/systemCheckListingsHealth.d.ts +17 -0
  125. package/dist/{esm/funcs/schoolMetricsListProfiles.d.ts.map → commonjs/funcs/systemCheckListingsHealth.d.ts.map} +1 -1
  126. package/dist/commonjs/funcs/systemCheckListingsHealth.js +104 -0
  127. package/dist/commonjs/funcs/{schoolMetricsListProfiles.js.map → systemCheckListingsHealth.js.map} +1 -1
  128. package/dist/commonjs/funcs/{healthCheckLocationHealth.d.ts → systemCheckLocationHealth.d.ts} +2 -2
  129. package/dist/commonjs/funcs/{healthCheckPlanningHealth.d.ts.map → systemCheckLocationHealth.d.ts.map} +1 -1
  130. package/dist/commonjs/funcs/{healthCheckLocationHealth.js → systemCheckLocationHealth.js} +4 -4
  131. package/dist/commonjs/funcs/{healthCheckPlanningHealth.js.map → systemCheckLocationHealth.js.map} +1 -1
  132. package/dist/{esm/funcs/healthCheckPlanningHealth.d.ts → commonjs/funcs/systemCheckPlanningHealth.d.ts} +2 -2
  133. package/dist/commonjs/funcs/{healthCheckLocationHealth.d.ts.map → systemCheckPlanningHealth.d.ts.map} +1 -1
  134. package/dist/commonjs/funcs/{healthCheckPlanningHealth.js → systemCheckPlanningHealth.js} +4 -4
  135. package/dist/commonjs/funcs/{healthCheckPropertyHealth.js.map → systemCheckPlanningHealth.js.map} +1 -1
  136. package/dist/{esm/funcs/healthCheckPropertyHealth.d.ts → commonjs/funcs/systemCheckPropertyHealth.d.ts} +2 -2
  137. package/dist/commonjs/funcs/{healthCheckPropertyHealth.d.ts.map → systemCheckPropertyHealth.d.ts.map} +1 -1
  138. package/dist/commonjs/funcs/{healthCheckPropertyHealth.js → systemCheckPropertyHealth.js} +4 -4
  139. package/dist/commonjs/funcs/{healthCheckLocationHealth.js.map → systemCheckPropertyHealth.js.map} +1 -1
  140. package/dist/commonjs/lib/base64.d.ts +1 -1
  141. package/dist/commonjs/lib/base64.d.ts.map +1 -1
  142. package/dist/commonjs/lib/base64.js +1 -1
  143. package/dist/commonjs/lib/base64.js.map +1 -1
  144. package/dist/commonjs/lib/config.d.ts +4 -4
  145. package/dist/commonjs/lib/config.js +4 -4
  146. package/dist/commonjs/lib/config.js.map +1 -1
  147. package/dist/commonjs/lib/schemas.d.ts +1 -1
  148. package/dist/commonjs/lib/schemas.d.ts.map +1 -1
  149. package/dist/commonjs/lib/schemas.js +2 -2
  150. package/dist/commonjs/lib/schemas.js.map +1 -1
  151. package/dist/commonjs/sdk/address.d.ts +12 -0
  152. package/dist/commonjs/sdk/address.d.ts.map +1 -0
  153. package/dist/commonjs/sdk/address.js +22 -0
  154. package/dist/commonjs/sdk/address.js.map +1 -0
  155. package/dist/commonjs/sdk/areas.d.ts +33 -0
  156. package/dist/commonjs/sdk/areas.d.ts.map +1 -0
  157. package/dist/commonjs/sdk/areas.js +52 -0
  158. package/dist/commonjs/sdk/areas.js.map +1 -0
  159. package/dist/commonjs/sdk/connectivity.d.ts +12 -0
  160. package/dist/commonjs/sdk/connectivity.d.ts.map +1 -0
  161. package/dist/commonjs/sdk/connectivity.js +22 -0
  162. package/dist/commonjs/sdk/connectivity.js.map +1 -0
  163. package/dist/commonjs/sdk/epc.d.ts +19 -0
  164. package/dist/commonjs/sdk/epc.d.ts.map +1 -0
  165. package/dist/commonjs/sdk/epc.js +32 -0
  166. package/dist/commonjs/sdk/epc.js.map +1 -0
  167. package/dist/commonjs/sdk/listings.d.ts +40 -0
  168. package/dist/commonjs/sdk/listings.d.ts.map +1 -0
  169. package/dist/commonjs/sdk/listings.js +62 -0
  170. package/dist/commonjs/sdk/listings.js.map +1 -0
  171. package/dist/commonjs/sdk/metrics.d.ts +12 -0
  172. package/dist/commonjs/sdk/metrics.d.ts.map +1 -0
  173. package/dist/commonjs/sdk/metrics.js +22 -0
  174. package/dist/commonjs/sdk/metrics.js.map +1 -0
  175. package/dist/commonjs/sdk/models/errors/responsevalidationerror.js +1 -1
  176. package/dist/commonjs/sdk/models/errors/responsevalidationerror.js.map +1 -1
  177. package/dist/commonjs/sdk/models/errors/sdkvalidationerror.d.ts +1 -1
  178. package/dist/commonjs/sdk/models/errors/sdkvalidationerror.d.ts.map +1 -1
  179. package/dist/commonjs/sdk/models/errors/sdkvalidationerror.js +1 -1
  180. package/dist/commonjs/sdk/models/errors/sdkvalidationerror.js.map +1 -1
  181. package/dist/commonjs/sdk/models/operations/checkareareferencehealth.d.ts +36 -0
  182. package/dist/commonjs/sdk/models/operations/checkareareferencehealth.d.ts.map +1 -0
  183. package/dist/commonjs/sdk/models/operations/checkareareferencehealth.js +73 -0
  184. package/dist/commonjs/sdk/models/operations/checkareareferencehealth.js.map +1 -0
  185. package/dist/commonjs/sdk/models/operations/checkepchealth.d.ts +36 -0
  186. package/dist/commonjs/sdk/models/operations/checkepchealth.d.ts.map +1 -0
  187. package/dist/commonjs/sdk/models/operations/checkepchealth.js +73 -0
  188. package/dist/commonjs/sdk/models/operations/checkepchealth.js.map +1 -0
  189. package/dist/commonjs/sdk/models/operations/checklistingshealth.d.ts +36 -0
  190. package/dist/commonjs/sdk/models/operations/checklistingshealth.d.ts.map +1 -0
  191. package/dist/commonjs/sdk/models/operations/checklistingshealth.js +73 -0
  192. package/dist/commonjs/sdk/models/operations/checklistingshealth.js.map +1 -0
  193. package/dist/commonjs/sdk/models/operations/getareasbyfieldandids.d.ts +445 -0
  194. package/dist/commonjs/sdk/models/operations/getareasbyfieldandids.d.ts.map +1 -0
  195. package/dist/commonjs/sdk/models/operations/getareasbyfieldandids.js +357 -0
  196. package/dist/commonjs/sdk/models/operations/getareasbyfieldandids.js.map +1 -0
  197. package/dist/commonjs/sdk/models/operations/getareaswithinradius.d.ts +492 -0
  198. package/dist/commonjs/sdk/models/operations/getareaswithinradius.d.ts.map +1 -0
  199. package/dist/commonjs/sdk/models/operations/getareaswithinradius.js +380 -0
  200. package/dist/commonjs/sdk/models/operations/getareaswithinradius.js.map +1 -0
  201. package/dist/commonjs/sdk/models/operations/getborderingareas.d.ts +658 -0
  202. package/dist/commonjs/sdk/models/operations/getborderingareas.d.ts.map +1 -0
  203. package/dist/commonjs/sdk/models/operations/getborderingareas.js +492 -0
  204. package/dist/commonjs/sdk/models/operations/getborderingareas.js.map +1 -0
  205. package/dist/commonjs/sdk/models/operations/getchildareas.d.ts +653 -0
  206. package/dist/commonjs/sdk/models/operations/getchildareas.d.ts.map +1 -0
  207. package/dist/commonjs/sdk/models/operations/getchildareas.js +490 -0
  208. package/dist/commonjs/sdk/models/operations/getchildareas.js.map +1 -0
  209. package/dist/commonjs/sdk/models/operations/getconnectivityscores.d.ts +2213 -0
  210. package/dist/commonjs/sdk/models/operations/getconnectivityscores.d.ts.map +1 -0
  211. package/dist/commonjs/sdk/models/operations/getconnectivityscores.js +1644 -0
  212. package/dist/commonjs/sdk/models/operations/getconnectivityscores.js.map +1 -0
  213. package/dist/commonjs/sdk/models/operations/getepcbylocationid.d.ts +310 -0
  214. package/dist/commonjs/sdk/models/operations/getepcbylocationid.d.ts.map +1 -0
  215. package/dist/commonjs/sdk/models/operations/getepcbylocationid.js +319 -0
  216. package/dist/commonjs/sdk/models/operations/getepcbylocationid.js.map +1 -0
  217. package/dist/commonjs/sdk/models/operations/getepcbypostcode.d.ts +199 -0
  218. package/dist/commonjs/sdk/models/operations/getepcbypostcode.d.ts.map +1 -0
  219. package/dist/commonjs/sdk/models/operations/getepcbypostcode.js +224 -0
  220. package/dist/commonjs/sdk/models/operations/getepcbypostcode.js.map +1 -0
  221. package/dist/commonjs/sdk/models/operations/getlistingbyid.d.ts +1402 -0
  222. package/dist/commonjs/sdk/models/operations/getlistingbyid.d.ts.map +1 -0
  223. package/dist/commonjs/sdk/models/operations/getlistingbyid.js +1043 -0
  224. package/dist/commonjs/sdk/models/operations/getlistingbyid.js.map +1 -0
  225. package/dist/commonjs/sdk/models/operations/getlistingbysource.d.ts +351 -0
  226. package/dist/commonjs/sdk/models/operations/getlistingbysource.d.ts.map +1 -0
  227. package/dist/commonjs/sdk/models/operations/getlistingbysource.js +344 -0
  228. package/dist/commonjs/sdk/models/operations/getlistingbysource.js.map +1 -0
  229. package/dist/commonjs/sdk/models/operations/getlistingsbylocation.d.ts +1335 -0
  230. package/dist/commonjs/sdk/models/operations/getlistingsbylocation.d.ts.map +1 -0
  231. package/dist/commonjs/sdk/models/operations/getlistingsbylocation.js +967 -0
  232. package/dist/commonjs/sdk/models/operations/getlistingsbylocation.js.map +1 -0
  233. package/dist/commonjs/sdk/models/operations/getmetricprofiles.d.ts +1 -1
  234. package/dist/commonjs/sdk/models/operations/getmetricprofiles.d.ts.map +1 -1
  235. package/dist/commonjs/sdk/models/operations/getmetricprofiles.js +1 -1
  236. package/dist/commonjs/sdk/models/operations/getmetricprofiles.js.map +1 -1
  237. package/dist/commonjs/sdk/models/operations/getmetricvalues.d.ts +608 -0
  238. package/dist/commonjs/sdk/models/operations/getmetricvalues.d.ts.map +1 -0
  239. package/dist/commonjs/sdk/models/operations/getmetricvalues.js +516 -0
  240. package/dist/commonjs/sdk/models/operations/getmetricvalues.js.map +1 -0
  241. package/dist/commonjs/sdk/models/operations/getnearestpoi.d.ts +393 -0
  242. package/dist/commonjs/sdk/models/operations/getnearestpoi.d.ts.map +1 -0
  243. package/dist/commonjs/sdk/models/operations/getnearestpoi.js +368 -0
  244. package/dist/commonjs/sdk/models/operations/getnearestpoi.js.map +1 -0
  245. package/dist/commonjs/sdk/models/operations/getplanningapplications.d.ts +1 -1
  246. package/dist/commonjs/sdk/models/operations/getplanningapplications.d.ts.map +1 -1
  247. package/dist/commonjs/sdk/models/operations/getplanningapplications.js +1 -1
  248. package/dist/commonjs/sdk/models/operations/getplanningapplications.js.map +1 -1
  249. package/dist/commonjs/sdk/models/operations/getplanningapplicationsbysource.d.ts +1 -1
  250. package/dist/commonjs/sdk/models/operations/getplanningapplicationsbysource.d.ts.map +1 -1
  251. package/dist/commonjs/sdk/models/operations/getplanningapplicationsbysource.js +1 -1
  252. package/dist/commonjs/sdk/models/operations/getplanningapplicationsbysource.js.map +1 -1
  253. package/dist/commonjs/sdk/models/operations/getpoimultipletiles.d.ts +587 -0
  254. package/dist/commonjs/sdk/models/operations/getpoimultipletiles.d.ts.map +1 -0
  255. package/dist/commonjs/sdk/models/operations/getpoimultipletiles.js +614 -0
  256. package/dist/commonjs/sdk/models/operations/getpoimultipletiles.js.map +1 -0
  257. package/dist/commonjs/sdk/models/operations/getpoitile.d.ts +465 -0
  258. package/dist/commonjs/sdk/models/operations/getpoitile.d.ts.map +1 -0
  259. package/dist/commonjs/sdk/models/operations/getpoitile.js +470 -0
  260. package/dist/commonjs/sdk/models/operations/getpoitile.js.map +1 -0
  261. package/dist/commonjs/sdk/models/operations/getproperties.d.ts +1 -1
  262. package/dist/commonjs/sdk/models/operations/getproperties.d.ts.map +1 -1
  263. package/dist/commonjs/sdk/models/operations/getproperties.js +1 -1
  264. package/dist/commonjs/sdk/models/operations/getproperties.js.map +1 -1
  265. package/dist/commonjs/sdk/models/operations/getpropertiesbylocation.d.ts +1 -1
  266. package/dist/commonjs/sdk/models/operations/getpropertiesbylocation.d.ts.map +1 -1
  267. package/dist/commonjs/sdk/models/operations/getpropertiesbylocation.js +1 -1
  268. package/dist/commonjs/sdk/models/operations/getpropertiesbylocation.js.map +1 -1
  269. package/dist/commonjs/sdk/models/operations/getpropertiesbyslugs.d.ts +1 -1
  270. package/dist/commonjs/sdk/models/operations/getpropertiesbyslugs.d.ts.map +1 -1
  271. package/dist/commonjs/sdk/models/operations/getpropertiesbyslugs.js +1 -1
  272. package/dist/commonjs/sdk/models/operations/getpropertiesbyslugs.js.map +1 -1
  273. package/dist/commonjs/sdk/models/operations/getpropertiesbysource.d.ts +1 -1
  274. package/dist/commonjs/sdk/models/operations/getpropertiesbysource.d.ts.map +1 -1
  275. package/dist/commonjs/sdk/models/operations/getpropertiesbysource.js +1 -1
  276. package/dist/commonjs/sdk/models/operations/getpropertiesbysource.js.map +1 -1
  277. package/dist/commonjs/sdk/models/operations/getschoolbyid.d.ts +1 -10
  278. package/dist/commonjs/sdk/models/operations/getschoolbyid.d.ts.map +1 -1
  279. package/dist/commonjs/sdk/models/operations/getschoolbyid.js +1 -1
  280. package/dist/commonjs/sdk/models/operations/getschoolbyid.js.map +1 -1
  281. package/dist/commonjs/sdk/models/operations/getschoolbyslug.d.ts +1 -10
  282. package/dist/commonjs/sdk/models/operations/getschoolbyslug.d.ts.map +1 -1
  283. package/dist/commonjs/sdk/models/operations/getschoolbyslug.js +1 -1
  284. package/dist/commonjs/sdk/models/operations/getschoolbyslug.js.map +1 -1
  285. package/dist/commonjs/sdk/models/operations/getschoolbyurn.d.ts +1 -10
  286. package/dist/commonjs/sdk/models/operations/getschoolbyurn.d.ts.map +1 -1
  287. package/dist/commonjs/sdk/models/operations/getschoolbyurn.js +1 -1
  288. package/dist/commonjs/sdk/models/operations/getschoolbyurn.js.map +1 -1
  289. package/dist/commonjs/sdk/models/operations/getschoolmetrics.d.ts +66 -69
  290. package/dist/commonjs/sdk/models/operations/getschoolmetrics.d.ts.map +1 -1
  291. package/dist/commonjs/sdk/models/operations/getschoolmetrics.js +84 -84
  292. package/dist/commonjs/sdk/models/operations/getschoolmetrics.js.map +1 -1
  293. package/dist/commonjs/sdk/models/operations/getv1safetycrime.d.ts +61 -61
  294. package/dist/commonjs/sdk/models/operations/getv1safetycrime.d.ts.map +1 -1
  295. package/dist/commonjs/sdk/models/operations/getv1safetycrime.js +70 -72
  296. package/dist/commonjs/sdk/models/operations/getv1safetycrime.js.map +1 -1
  297. package/dist/commonjs/sdk/models/operations/getv1safetycrimestats.d.ts +1 -1
  298. package/dist/commonjs/sdk/models/operations/getv1safetycrimestats.d.ts.map +1 -1
  299. package/dist/commonjs/sdk/models/operations/getv1safetycrimestats.js +1 -1
  300. package/dist/commonjs/sdk/models/operations/getv1safetycrimestats.js.map +1 -1
  301. package/dist/commonjs/sdk/models/operations/index.d.ts +20 -0
  302. package/dist/commonjs/sdk/models/operations/index.d.ts.map +1 -1
  303. package/dist/commonjs/sdk/models/operations/index.js +20 -0
  304. package/dist/commonjs/sdk/models/operations/index.js.map +1 -1
  305. package/dist/commonjs/sdk/models/operations/listschools.d.ts +1 -31
  306. package/dist/commonjs/sdk/models/operations/listschools.d.ts.map +1 -1
  307. package/dist/commonjs/sdk/models/operations/listschools.js +1 -1
  308. package/dist/commonjs/sdk/models/operations/listschools.js.map +1 -1
  309. package/dist/commonjs/sdk/models/operations/querylistings.d.ts +1544 -0
  310. package/dist/commonjs/sdk/models/operations/querylistings.d.ts.map +1 -0
  311. package/dist/commonjs/sdk/models/operations/querylistings.js +1118 -0
  312. package/dist/commonjs/sdk/models/operations/querylistings.js.map +1 -0
  313. package/dist/commonjs/sdk/models/operations/querylistingsbysource.d.ts +1420 -0
  314. package/dist/commonjs/sdk/models/operations/querylistingsbysource.d.ts.map +1 -0
  315. package/dist/commonjs/sdk/models/operations/querylistingsbysource.js +1040 -0
  316. package/dist/commonjs/sdk/models/operations/querylistingsbysource.js.map +1 -0
  317. package/dist/commonjs/sdk/models/operations/resolveaddress.d.ts +580 -0
  318. package/dist/commonjs/sdk/models/operations/resolveaddress.d.ts.map +1 -0
  319. package/dist/commonjs/sdk/models/operations/resolveaddress.js +481 -0
  320. package/dist/commonjs/sdk/models/operations/resolveaddress.js.map +1 -0
  321. package/dist/commonjs/sdk/models/operations/searchplanningapplications.d.ts +1 -1
  322. package/dist/commonjs/sdk/models/operations/searchplanningapplications.d.ts.map +1 -1
  323. package/dist/commonjs/sdk/models/operations/searchplanningapplications.js +1 -1
  324. package/dist/commonjs/sdk/models/operations/searchplanningapplications.js.map +1 -1
  325. package/dist/commonjs/sdk/models/operations/searchproperties.d.ts +1 -1
  326. package/dist/commonjs/sdk/models/operations/searchproperties.d.ts.map +1 -1
  327. package/dist/commonjs/sdk/models/operations/searchproperties.js +1 -1
  328. package/dist/commonjs/sdk/models/operations/searchproperties.js.map +1 -1
  329. package/dist/commonjs/sdk/models/operations/searchschoolsnearby.d.ts +1 -25
  330. package/dist/commonjs/sdk/models/operations/searchschoolsnearby.d.ts.map +1 -1
  331. package/dist/commonjs/sdk/models/operations/searchschoolsnearby.js +1 -1
  332. package/dist/commonjs/sdk/models/operations/searchschoolsnearby.js.map +1 -1
  333. package/dist/commonjs/sdk/models/operations/searchschoolswithin.d.ts +1 -28
  334. package/dist/commonjs/sdk/models/operations/searchschoolswithin.d.ts.map +1 -1
  335. package/dist/commonjs/sdk/models/operations/searchschoolswithin.js +1 -1
  336. package/dist/commonjs/sdk/models/operations/searchschoolswithin.js.map +1 -1
  337. package/dist/commonjs/sdk/models/operations/searchstreets.d.ts +1 -1
  338. package/dist/commonjs/sdk/models/operations/searchstreets.d.ts.map +1 -1
  339. package/dist/commonjs/sdk/models/operations/searchstreets.js +1 -1
  340. package/dist/commonjs/sdk/models/operations/searchstreets.js.map +1 -1
  341. package/dist/commonjs/sdk/models/shared/counciltaxdata.d.ts +1 -1
  342. package/dist/commonjs/sdk/models/shared/counciltaxdata.d.ts.map +1 -1
  343. package/dist/commonjs/sdk/models/shared/counciltaxdata.js +1 -1
  344. package/dist/commonjs/sdk/models/shared/counciltaxdata.js.map +1 -1
  345. package/dist/commonjs/sdk/models/shared/epcdata.d.ts +1 -1
  346. package/dist/commonjs/sdk/models/shared/epcdata.d.ts.map +1 -1
  347. package/dist/commonjs/sdk/models/shared/epcdata.js +1 -1
  348. package/dist/commonjs/sdk/models/shared/epcdata.js.map +1 -1
  349. package/dist/commonjs/sdk/models/shared/errorresponse.d.ts +1 -1
  350. package/dist/commonjs/sdk/models/shared/errorresponse.d.ts.map +1 -1
  351. package/dist/commonjs/sdk/models/shared/errorresponse.js +1 -1
  352. package/dist/commonjs/sdk/models/shared/errorresponse.js.map +1 -1
  353. package/dist/commonjs/sdk/models/shared/healthresponse.d.ts +1 -1
  354. package/dist/commonjs/sdk/models/shared/healthresponse.d.ts.map +1 -1
  355. package/dist/commonjs/sdk/models/shared/healthresponse.js +1 -1
  356. package/dist/commonjs/sdk/models/shared/healthresponse.js.map +1 -1
  357. package/dist/commonjs/sdk/models/shared/marketstatus.d.ts +1 -1
  358. package/dist/commonjs/sdk/models/shared/marketstatus.d.ts.map +1 -1
  359. package/dist/commonjs/sdk/models/shared/marketstatus.js +1 -1
  360. package/dist/commonjs/sdk/models/shared/marketstatus.js.map +1 -1
  361. package/dist/commonjs/sdk/models/shared/planningapplication.d.ts +1 -1
  362. package/dist/commonjs/sdk/models/shared/planningapplication.d.ts.map +1 -1
  363. package/dist/commonjs/sdk/models/shared/planningapplication.js +1 -1
  364. package/dist/commonjs/sdk/models/shared/planningapplication.js.map +1 -1
  365. package/dist/commonjs/sdk/models/shared/planninglistresponse.d.ts +1 -1
  366. package/dist/commonjs/sdk/models/shared/planninglistresponse.d.ts.map +1 -1
  367. package/dist/commonjs/sdk/models/shared/planninglistresponse.js +1 -1
  368. package/dist/commonjs/sdk/models/shared/planninglistresponse.js.map +1 -1
  369. package/dist/commonjs/sdk/models/shared/planningqueryfilters.d.ts +1 -1
  370. package/dist/commonjs/sdk/models/shared/planningqueryfilters.d.ts.map +1 -1
  371. package/dist/commonjs/sdk/models/shared/planningqueryfilters.js +1 -1
  372. package/dist/commonjs/sdk/models/shared/planningqueryfilters.js.map +1 -1
  373. package/dist/commonjs/sdk/models/shared/planningqueryrequest.d.ts +1 -1
  374. package/dist/commonjs/sdk/models/shared/planningqueryrequest.d.ts.map +1 -1
  375. package/dist/commonjs/sdk/models/shared/planningqueryrequest.js +1 -1
  376. package/dist/commonjs/sdk/models/shared/planningqueryrequest.js.map +1 -1
  377. package/dist/commonjs/sdk/models/shared/pricingdata.d.ts +1 -1
  378. package/dist/commonjs/sdk/models/shared/pricingdata.d.ts.map +1 -1
  379. package/dist/commonjs/sdk/models/shared/pricingdata.js +1 -1
  380. package/dist/commonjs/sdk/models/shared/pricingdata.js.map +1 -1
  381. package/dist/commonjs/sdk/models/shared/propertyaddress.d.ts +1 -1
  382. package/dist/commonjs/sdk/models/shared/propertyaddress.d.ts.map +1 -1
  383. package/dist/commonjs/sdk/models/shared/propertyaddress.js +1 -1
  384. package/dist/commonjs/sdk/models/shared/propertyaddress.js.map +1 -1
  385. package/dist/commonjs/sdk/models/shared/propertyareafilter.d.ts +1 -1
  386. package/dist/commonjs/sdk/models/shared/propertyareafilter.d.ts.map +1 -1
  387. package/dist/commonjs/sdk/models/shared/propertyareafilter.js +1 -1
  388. package/dist/commonjs/sdk/models/shared/propertyareafilter.js.map +1 -1
  389. package/dist/commonjs/sdk/models/shared/propertybyslugsrequest.d.ts +1 -1
  390. package/dist/commonjs/sdk/models/shared/propertybyslugsrequest.d.ts.map +1 -1
  391. package/dist/commonjs/sdk/models/shared/propertybyslugsrequest.js +1 -1
  392. package/dist/commonjs/sdk/models/shared/propertybyslugsrequest.js.map +1 -1
  393. package/dist/commonjs/sdk/models/shared/propertydata.d.ts +73 -1
  394. package/dist/commonjs/sdk/models/shared/propertydata.d.ts.map +1 -1
  395. package/dist/commonjs/sdk/models/shared/propertydata.js +25 -1
  396. package/dist/commonjs/sdk/models/shared/propertydata.js.map +1 -1
  397. package/dist/commonjs/sdk/models/shared/propertylistresponse.d.ts +1 -1
  398. package/dist/commonjs/sdk/models/shared/propertylistresponse.d.ts.map +1 -1
  399. package/dist/commonjs/sdk/models/shared/propertylistresponse.js +1 -1
  400. package/dist/commonjs/sdk/models/shared/propertylistresponse.js.map +1 -1
  401. package/dist/commonjs/sdk/models/shared/propertylocationidareafilter.d.ts +1 -1
  402. package/dist/commonjs/sdk/models/shared/propertylocationidareafilter.d.ts.map +1 -1
  403. package/dist/commonjs/sdk/models/shared/propertylocationidareafilter.js +1 -1
  404. package/dist/commonjs/sdk/models/shared/propertylocationidareafilter.js.map +1 -1
  405. package/dist/commonjs/sdk/models/shared/propertymultipolygonareafilter.d.ts +1 -1
  406. package/dist/commonjs/sdk/models/shared/propertymultipolygonareafilter.d.ts.map +1 -1
  407. package/dist/commonjs/sdk/models/shared/propertymultipolygonareafilter.js +1 -1
  408. package/dist/commonjs/sdk/models/shared/propertymultipolygonareafilter.js.map +1 -1
  409. package/dist/commonjs/sdk/models/shared/propertyonstreet.d.ts +1 -1
  410. package/dist/commonjs/sdk/models/shared/propertyonstreet.d.ts.map +1 -1
  411. package/dist/commonjs/sdk/models/shared/propertyonstreet.js +1 -1
  412. package/dist/commonjs/sdk/models/shared/propertyonstreet.js.map +1 -1
  413. package/dist/commonjs/sdk/models/shared/propertyoutcodeareafilter.d.ts +1 -1
  414. package/dist/commonjs/sdk/models/shared/propertyoutcodeareafilter.d.ts.map +1 -1
  415. package/dist/commonjs/sdk/models/shared/propertyoutcodeareafilter.js +1 -1
  416. package/dist/commonjs/sdk/models/shared/propertyoutcodeareafilter.js.map +1 -1
  417. package/dist/commonjs/sdk/models/shared/propertypointareafilter.d.ts +1 -1
  418. package/dist/commonjs/sdk/models/shared/propertypointareafilter.d.ts.map +1 -1
  419. package/dist/commonjs/sdk/models/shared/propertypointareafilter.js +1 -1
  420. package/dist/commonjs/sdk/models/shared/propertypointareafilter.js.map +1 -1
  421. package/dist/commonjs/sdk/models/shared/propertypolygonareafilter.d.ts +1 -1
  422. package/dist/commonjs/sdk/models/shared/propertypolygonareafilter.d.ts.map +1 -1
  423. package/dist/commonjs/sdk/models/shared/propertypolygonareafilter.js +1 -1
  424. package/dist/commonjs/sdk/models/shared/propertypolygonareafilter.js.map +1 -1
  425. package/dist/commonjs/sdk/models/shared/propertypostcodeareafilter.d.ts +1 -1
  426. package/dist/commonjs/sdk/models/shared/propertypostcodeareafilter.d.ts.map +1 -1
  427. package/dist/commonjs/sdk/models/shared/propertypostcodeareafilter.js +1 -1
  428. package/dist/commonjs/sdk/models/shared/propertypostcodeareafilter.js.map +1 -1
  429. package/dist/commonjs/sdk/models/shared/propertyquerycondition.d.ts +1 -1
  430. package/dist/commonjs/sdk/models/shared/propertyquerycondition.d.ts.map +1 -1
  431. package/dist/commonjs/sdk/models/shared/propertyquerycondition.js +1 -1
  432. package/dist/commonjs/sdk/models/shared/propertyquerycondition.js.map +1 -1
  433. package/dist/commonjs/sdk/models/shared/propertyquerygroup.d.ts +1 -1
  434. package/dist/commonjs/sdk/models/shared/propertyquerygroup.d.ts.map +1 -1
  435. package/dist/commonjs/sdk/models/shared/propertyquerygroup.js +1 -1
  436. package/dist/commonjs/sdk/models/shared/propertyquerygroup.js.map +1 -1
  437. package/dist/commonjs/sdk/models/shared/propertyqueryoperator.d.ts +1 -1
  438. package/dist/commonjs/sdk/models/shared/propertyqueryoperator.d.ts.map +1 -1
  439. package/dist/commonjs/sdk/models/shared/propertyqueryoperator.js +1 -1
  440. package/dist/commonjs/sdk/models/shared/propertyqueryoperator.js.map +1 -1
  441. package/dist/commonjs/sdk/models/shared/propertyqueryrequest.d.ts +234 -1
  442. package/dist/commonjs/sdk/models/shared/propertyqueryrequest.d.ts.map +1 -1
  443. package/dist/commonjs/sdk/models/shared/propertyqueryrequest.js +147 -2
  444. package/dist/commonjs/sdk/models/shared/propertyqueryrequest.js.map +1 -1
  445. package/dist/commonjs/sdk/models/shared/propertytags.d.ts +1 -1
  446. package/dist/commonjs/sdk/models/shared/propertytags.d.ts.map +1 -1
  447. package/dist/commonjs/sdk/models/shared/propertytags.js +1 -1
  448. package/dist/commonjs/sdk/models/shared/propertytags.js.map +1 -1
  449. package/dist/commonjs/sdk/models/shared/roomdetails.d.ts +1 -1
  450. package/dist/commonjs/sdk/models/shared/roomdetails.d.ts.map +1 -1
  451. package/dist/commonjs/sdk/models/shared/roomdetails.js +1 -1
  452. package/dist/commonjs/sdk/models/shared/roomdetails.js.map +1 -1
  453. package/dist/commonjs/sdk/models/shared/salerecord.d.ts +1 -1
  454. package/dist/commonjs/sdk/models/shared/salerecord.d.ts.map +1 -1
  455. package/dist/commonjs/sdk/models/shared/salerecord.js +1 -1
  456. package/dist/commonjs/sdk/models/shared/salerecord.js.map +1 -1
  457. package/dist/commonjs/sdk/models/shared/school.d.ts +1 -1
  458. package/dist/commonjs/sdk/models/shared/school.d.ts.map +1 -1
  459. package/dist/commonjs/sdk/models/shared/school.js +1 -1
  460. package/dist/commonjs/sdk/models/shared/school.js.map +1 -1
  461. package/dist/commonjs/sdk/models/shared/security.d.ts +1 -1
  462. package/dist/commonjs/sdk/models/shared/security.d.ts.map +1 -1
  463. package/dist/commonjs/sdk/models/shared/security.js +1 -1
  464. package/dist/commonjs/sdk/models/shared/security.js.map +1 -1
  465. package/dist/commonjs/sdk/models/shared/streetdescriptor.d.ts +1 -1
  466. package/dist/commonjs/sdk/models/shared/streetdescriptor.d.ts.map +1 -1
  467. package/dist/commonjs/sdk/models/shared/streetdescriptor.js +1 -1
  468. package/dist/commonjs/sdk/models/shared/streetdescriptor.js.map +1 -1
  469. package/dist/commonjs/sdk/models/shared/streetdetails.d.ts +1 -1
  470. package/dist/commonjs/sdk/models/shared/streetdetails.d.ts.map +1 -1
  471. package/dist/commonjs/sdk/models/shared/streetdetails.js +1 -1
  472. package/dist/commonjs/sdk/models/shared/streetdetails.js.map +1 -1
  473. package/dist/commonjs/sdk/models/shared/streetquerybycoordinates.d.ts +1 -1
  474. package/dist/commonjs/sdk/models/shared/streetquerybycoordinates.d.ts.map +1 -1
  475. package/dist/commonjs/sdk/models/shared/streetquerybycoordinates.js +1 -1
  476. package/dist/commonjs/sdk/models/shared/streetquerybycoordinates.js.map +1 -1
  477. package/dist/commonjs/sdk/models/shared/streetquerybyname.d.ts +1 -1
  478. package/dist/commonjs/sdk/models/shared/streetquerybyname.d.ts.map +1 -1
  479. package/dist/commonjs/sdk/models/shared/streetquerybyname.js +1 -1
  480. package/dist/commonjs/sdk/models/shared/streetquerybyname.js.map +1 -1
  481. package/dist/commonjs/sdk/models/shared/streetquerybypostcode.d.ts +1 -1
  482. package/dist/commonjs/sdk/models/shared/streetquerybypostcode.d.ts.map +1 -1
  483. package/dist/commonjs/sdk/models/shared/streetquerybypostcode.js +1 -1
  484. package/dist/commonjs/sdk/models/shared/streetquerybypostcode.js.map +1 -1
  485. package/dist/commonjs/sdk/models/shared/streetquerybyuprn.d.ts +1 -1
  486. package/dist/commonjs/sdk/models/shared/streetquerybyuprn.d.ts.map +1 -1
  487. package/dist/commonjs/sdk/models/shared/streetquerybyuprn.js +1 -1
  488. package/dist/commonjs/sdk/models/shared/streetquerybyuprn.js.map +1 -1
  489. package/dist/commonjs/sdk/models/shared/streetquerybyusrn.d.ts +1 -1
  490. package/dist/commonjs/sdk/models/shared/streetquerybyusrn.d.ts.map +1 -1
  491. package/dist/commonjs/sdk/models/shared/streetquerybyusrn.js +1 -1
  492. package/dist/commonjs/sdk/models/shared/streetquerybyusrn.js.map +1 -1
  493. package/dist/commonjs/sdk/models/shared/streetqueryrequest.d.ts +1 -1
  494. package/dist/commonjs/sdk/models/shared/streetqueryrequest.d.ts.map +1 -1
  495. package/dist/commonjs/sdk/models/shared/streetqueryrequest.js +1 -1
  496. package/dist/commonjs/sdk/models/shared/streetqueryrequest.js.map +1 -1
  497. package/dist/commonjs/sdk/models/shared/streetqueryresponse.d.ts +1 -1
  498. package/dist/commonjs/sdk/models/shared/streetqueryresponse.d.ts.map +1 -1
  499. package/dist/commonjs/sdk/models/shared/streetqueryresponse.js +1 -1
  500. package/dist/commonjs/sdk/models/shared/streetqueryresponse.js.map +1 -1
  501. package/dist/commonjs/sdk/models/shared/streetstatistics.d.ts +1 -1
  502. package/dist/commonjs/sdk/models/shared/streetstatistics.d.ts.map +1 -1
  503. package/dist/commonjs/sdk/models/shared/streetstatistics.js +1 -1
  504. package/dist/commonjs/sdk/models/shared/streetstatistics.js.map +1 -1
  505. package/dist/commonjs/sdk/models/shared/tenuredata.d.ts +1 -1
  506. package/dist/commonjs/sdk/models/shared/tenuredata.d.ts.map +1 -1
  507. package/dist/commonjs/sdk/models/shared/tenuredata.js +1 -1
  508. package/dist/commonjs/sdk/models/shared/tenuredata.js.map +1 -1
  509. package/dist/commonjs/sdk/poi.d.ts +30 -0
  510. package/dist/commonjs/sdk/poi.d.ts.map +1 -0
  511. package/dist/commonjs/sdk/poi.js +44 -0
  512. package/dist/commonjs/sdk/poi.js.map +1 -0
  513. package/dist/commonjs/sdk/schools.d.ts +14 -0
  514. package/dist/commonjs/sdk/schools.d.ts.map +1 -1
  515. package/dist/commonjs/sdk/schools.js +20 -0
  516. package/dist/commonjs/sdk/schools.js.map +1 -1
  517. package/dist/commonjs/sdk/sdk.d.ts +27 -9
  518. package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
  519. package/dist/commonjs/sdk/sdk.js +34 -10
  520. package/dist/commonjs/sdk/sdk.js.map +1 -1
  521. package/dist/{esm/sdk/location.d.ts → commonjs/sdk/streets.d.ts} +2 -2
  522. package/dist/commonjs/sdk/streets.d.ts.map +1 -0
  523. package/dist/commonjs/sdk/{location.js → streets.js} +6 -6
  524. package/dist/commonjs/sdk/streets.js.map +1 -0
  525. package/dist/commonjs/sdk/system.d.ts +48 -0
  526. package/dist/commonjs/sdk/system.d.ts.map +1 -0
  527. package/dist/commonjs/sdk/system.js +72 -0
  528. package/dist/commonjs/sdk/system.js.map +1 -0
  529. package/dist/commonjs/sdk/types/blobs.d.ts +1 -1
  530. package/dist/commonjs/sdk/types/blobs.d.ts.map +1 -1
  531. package/dist/commonjs/sdk/types/blobs.js +1 -1
  532. package/dist/commonjs/sdk/types/blobs.js.map +1 -1
  533. package/dist/commonjs/sdk/types/constdatetime.d.ts +1 -1
  534. package/dist/commonjs/sdk/types/constdatetime.d.ts.map +1 -1
  535. package/dist/commonjs/sdk/types/constdatetime.js +1 -1
  536. package/dist/commonjs/sdk/types/constdatetime.js.map +1 -1
  537. package/dist/esm/funcs/addressResolveAddress.d.ts +17 -0
  538. package/dist/esm/funcs/addressResolveAddress.d.ts.map +1 -0
  539. package/dist/esm/funcs/addressResolveAddress.js +80 -0
  540. package/dist/esm/funcs/addressResolveAddress.js.map +1 -0
  541. package/dist/esm/funcs/areasGetAreas.d.ts +17 -0
  542. package/dist/esm/funcs/areasGetAreas.d.ts.map +1 -0
  543. package/dist/esm/funcs/areasGetAreas.js +96 -0
  544. package/dist/esm/funcs/areasGetAreas.js.map +1 -0
  545. package/dist/esm/funcs/areasGetAreasWithin.d.ts +17 -0
  546. package/dist/esm/funcs/areasGetAreasWithin.d.ts.map +1 -0
  547. package/dist/esm/funcs/areasGetAreasWithin.js +86 -0
  548. package/dist/esm/funcs/areasGetAreasWithin.js.map +1 -0
  549. package/dist/esm/funcs/areasGetBorderingAreas.d.ts +17 -0
  550. package/dist/esm/funcs/areasGetBorderingAreas.d.ts.map +1 -0
  551. package/dist/esm/funcs/areasGetBorderingAreas.js +95 -0
  552. package/dist/esm/funcs/areasGetBorderingAreas.js.map +1 -0
  553. package/dist/esm/funcs/areasGetChildAreas.d.ts +17 -0
  554. package/dist/esm/funcs/areasGetChildAreas.d.ts.map +1 -0
  555. package/dist/esm/funcs/areasGetChildAreas.js +88 -0
  556. package/dist/esm/funcs/areasGetChildAreas.js.map +1 -0
  557. package/dist/esm/funcs/connectivityGetConnectivityScores.d.ts +17 -0
  558. package/dist/esm/funcs/connectivityGetConnectivityScores.d.ts.map +1 -0
  559. package/dist/esm/funcs/connectivityGetConnectivityScores.js +95 -0
  560. package/dist/esm/funcs/connectivityGetConnectivityScores.js.map +1 -0
  561. package/dist/esm/funcs/epcGetEPC.d.ts +17 -0
  562. package/dist/esm/funcs/epcGetEPC.d.ts.map +1 -0
  563. package/dist/esm/funcs/epcGetEPC.js +83 -0
  564. package/dist/esm/funcs/epcGetEPC.js.map +1 -0
  565. package/dist/esm/funcs/epcGetEPCByPostcode.d.ts +17 -0
  566. package/dist/esm/funcs/epcGetEPCByPostcode.d.ts.map +1 -0
  567. package/dist/esm/funcs/epcGetEPCByPostcode.js +83 -0
  568. package/dist/esm/funcs/epcGetEPCByPostcode.js.map +1 -0
  569. package/dist/esm/funcs/listingsGetListingById.d.ts +17 -0
  570. package/dist/esm/funcs/listingsGetListingById.d.ts.map +1 -0
  571. package/dist/esm/funcs/listingsGetListingById.js +83 -0
  572. package/dist/esm/funcs/listingsGetListingById.js.map +1 -0
  573. package/dist/esm/funcs/listingsGetListingBySource.d.ts +17 -0
  574. package/dist/esm/funcs/listingsGetListingBySource.d.ts.map +1 -0
  575. package/dist/esm/funcs/listingsGetListingBySource.js +91 -0
  576. package/dist/esm/funcs/listingsGetListingBySource.js.map +1 -0
  577. package/dist/esm/funcs/listingsGetListingsByLocation.d.ts +17 -0
  578. package/dist/esm/funcs/listingsGetListingsByLocation.d.ts.map +1 -0
  579. package/dist/esm/funcs/listingsGetListingsByLocation.js +87 -0
  580. package/dist/esm/funcs/listingsGetListingsByLocation.js.map +1 -0
  581. package/dist/esm/funcs/listingsQueryListings.d.ts +17 -0
  582. package/dist/esm/funcs/listingsQueryListings.d.ts.map +1 -0
  583. package/dist/esm/funcs/listingsQueryListings.js +80 -0
  584. package/dist/esm/funcs/listingsQueryListings.js.map +1 -0
  585. package/dist/esm/funcs/listingsQueryListingsBySource.d.ts +17 -0
  586. package/dist/esm/funcs/listingsQueryListingsBySource.d.ts.map +1 -0
  587. package/dist/esm/funcs/listingsQueryListingsBySource.js +81 -0
  588. package/dist/esm/funcs/listingsQueryListingsBySource.js.map +1 -0
  589. package/dist/esm/funcs/metricsGetMetricValues.d.ts +17 -0
  590. package/dist/esm/funcs/metricsGetMetricValues.d.ts.map +1 -0
  591. package/dist/esm/funcs/metricsGetMetricValues.js +92 -0
  592. package/dist/esm/funcs/metricsGetMetricValues.js.map +1 -0
  593. package/dist/esm/funcs/planningGetPlanningApplications.js +1 -1
  594. package/dist/esm/funcs/planningGetPlanningApplications.js.map +1 -1
  595. package/dist/esm/funcs/planningGetPlanningApplicationsBySource.js +1 -1
  596. package/dist/esm/funcs/planningGetPlanningApplicationsBySource.js.map +1 -1
  597. package/dist/esm/funcs/planningSearchPlanningApplications.js +1 -1
  598. package/dist/esm/funcs/planningSearchPlanningApplications.js.map +1 -1
  599. package/dist/esm/funcs/poiGetNearestPOI.d.ts +17 -0
  600. package/dist/esm/funcs/poiGetNearestPOI.d.ts.map +1 -0
  601. package/dist/esm/funcs/poiGetNearestPOI.js +86 -0
  602. package/dist/esm/funcs/poiGetNearestPOI.js.map +1 -0
  603. package/dist/esm/funcs/poiGetPOIMultipleTiles.d.ts +17 -0
  604. package/dist/esm/funcs/poiGetPOIMultipleTiles.d.ts.map +1 -0
  605. package/dist/esm/funcs/poiGetPOIMultipleTiles.js +82 -0
  606. package/dist/esm/funcs/poiGetPOIMultipleTiles.js.map +1 -0
  607. package/dist/esm/funcs/poiGetPOITile.d.ts +23 -0
  608. package/dist/esm/funcs/poiGetPOITile.d.ts.map +1 -0
  609. package/dist/esm/funcs/poiGetPOITile.js +103 -0
  610. package/dist/esm/funcs/poiGetPOITile.js.map +1 -0
  611. package/dist/esm/funcs/propertyGetProperties.js +1 -1
  612. package/dist/esm/funcs/propertyGetProperties.js.map +1 -1
  613. package/dist/esm/funcs/propertyGetPropertiesByLocation.js +1 -1
  614. package/dist/esm/funcs/propertyGetPropertiesByLocation.js.map +1 -1
  615. package/dist/esm/funcs/propertyGetPropertiesBySlugs.js +1 -1
  616. package/dist/esm/funcs/propertyGetPropertiesBySlugs.js.map +1 -1
  617. package/dist/esm/funcs/propertyGetPropertiesBySource.js +1 -1
  618. package/dist/esm/funcs/propertyGetPropertiesBySource.js.map +1 -1
  619. package/dist/esm/funcs/propertySearchProperties.js +1 -1
  620. package/dist/esm/funcs/propertySearchProperties.js.map +1 -1
  621. package/dist/esm/funcs/safetyGetV1SafetyCrime.js +1 -1
  622. package/dist/esm/funcs/safetyGetV1SafetyCrime.js.map +1 -1
  623. package/dist/esm/funcs/safetyGetV1SafetyCrimeStats.js +1 -1
  624. package/dist/esm/funcs/safetyGetV1SafetyCrimeStats.js.map +1 -1
  625. package/dist/esm/funcs/schoolsGet.js +1 -1
  626. package/dist/esm/funcs/schoolsGet.js.map +1 -1
  627. package/dist/esm/funcs/schoolsGetBySlug.js +1 -1
  628. package/dist/esm/funcs/schoolsGetBySlug.js.map +1 -1
  629. package/dist/esm/funcs/schoolsGetByUrn.js +1 -1
  630. package/dist/esm/funcs/schoolsGetByUrn.js.map +1 -1
  631. package/dist/esm/funcs/{schoolMetricsGetMetrics.d.ts → schoolsGetMetrics.d.ts} +2 -2
  632. package/dist/esm/funcs/schoolsGetMetrics.d.ts.map +1 -0
  633. package/dist/esm/funcs/{schoolMetricsGetMetrics.js → schoolsGetMetrics.js} +3 -3
  634. package/dist/esm/funcs/schoolsGetMetrics.js.map +1 -0
  635. package/dist/esm/funcs/schoolsList.js +1 -1
  636. package/dist/esm/funcs/schoolsList.js.map +1 -1
  637. package/dist/esm/funcs/{schoolMetricsListProfiles.d.ts → schoolsListProfiles.d.ts} +2 -2
  638. package/dist/esm/funcs/schoolsListProfiles.d.ts.map +1 -0
  639. package/dist/esm/funcs/{schoolMetricsListProfiles.js → schoolsListProfiles.js} +3 -3
  640. package/dist/esm/funcs/schoolsListProfiles.js.map +1 -0
  641. package/dist/esm/funcs/schoolsSearchNearby.js +1 -1
  642. package/dist/esm/funcs/schoolsSearchNearby.js.map +1 -1
  643. package/dist/esm/funcs/schoolsSearchWithin.js +1 -1
  644. package/dist/esm/funcs/schoolsSearchWithin.js.map +1 -1
  645. package/dist/{commonjs/funcs/locationSearchStreets.d.ts → esm/funcs/streetsSearchStreets.d.ts} +2 -2
  646. package/dist/esm/funcs/streetsSearchStreets.d.ts.map +1 -0
  647. package/dist/esm/funcs/{locationSearchStreets.js → streetsSearchStreets.js} +3 -3
  648. package/dist/esm/funcs/streetsSearchStreets.js.map +1 -0
  649. package/dist/esm/funcs/systemCheckAreaReferenceHealth.d.ts +17 -0
  650. package/dist/esm/funcs/systemCheckAreaReferenceHealth.d.ts.map +1 -0
  651. package/dist/esm/funcs/systemCheckAreaReferenceHealth.js +68 -0
  652. package/dist/esm/funcs/systemCheckAreaReferenceHealth.js.map +1 -0
  653. package/dist/esm/funcs/systemCheckEPCHealth.d.ts +17 -0
  654. package/dist/esm/funcs/systemCheckEPCHealth.d.ts.map +1 -0
  655. package/dist/esm/funcs/systemCheckEPCHealth.js +68 -0
  656. package/dist/esm/funcs/systemCheckEPCHealth.js.map +1 -0
  657. package/dist/esm/funcs/systemCheckListingsHealth.d.ts +17 -0
  658. package/dist/{commonjs/funcs/schoolMetricsListProfiles.d.ts.map → esm/funcs/systemCheckListingsHealth.d.ts.map} +1 -1
  659. package/dist/esm/funcs/systemCheckListingsHealth.js +68 -0
  660. package/dist/esm/funcs/{schoolMetricsListProfiles.js.map → systemCheckListingsHealth.js.map} +1 -1
  661. package/dist/esm/funcs/{healthCheckLocationHealth.d.ts → systemCheckLocationHealth.d.ts} +2 -2
  662. package/dist/esm/funcs/{healthCheckLocationHealth.d.ts.map → systemCheckLocationHealth.d.ts.map} +1 -1
  663. package/dist/esm/funcs/{healthCheckLocationHealth.js → systemCheckLocationHealth.js} +3 -3
  664. package/dist/esm/funcs/{healthCheckLocationHealth.js.map → systemCheckLocationHealth.js.map} +1 -1
  665. package/dist/{commonjs/funcs/healthCheckPlanningHealth.d.ts → esm/funcs/systemCheckPlanningHealth.d.ts} +2 -2
  666. package/dist/esm/funcs/systemCheckPlanningHealth.d.ts.map +1 -0
  667. package/dist/esm/funcs/{healthCheckPlanningHealth.js → systemCheckPlanningHealth.js} +3 -3
  668. package/dist/esm/funcs/{healthCheckPlanningHealth.js.map → systemCheckPlanningHealth.js.map} +1 -1
  669. package/dist/{commonjs/funcs/healthCheckPropertyHealth.d.ts → esm/funcs/systemCheckPropertyHealth.d.ts} +2 -2
  670. package/dist/esm/funcs/systemCheckPropertyHealth.d.ts.map +1 -0
  671. package/dist/esm/funcs/{healthCheckPropertyHealth.js → systemCheckPropertyHealth.js} +3 -3
  672. package/dist/esm/funcs/{healthCheckPropertyHealth.js.map → systemCheckPropertyHealth.js.map} +1 -1
  673. package/dist/esm/lib/base64.d.ts +1 -1
  674. package/dist/esm/lib/base64.d.ts.map +1 -1
  675. package/dist/esm/lib/base64.js +1 -1
  676. package/dist/esm/lib/base64.js.map +1 -1
  677. package/dist/esm/lib/config.d.ts +4 -4
  678. package/dist/esm/lib/config.js +4 -4
  679. package/dist/esm/lib/config.js.map +1 -1
  680. package/dist/esm/lib/schemas.d.ts +1 -1
  681. package/dist/esm/lib/schemas.d.ts.map +1 -1
  682. package/dist/esm/lib/schemas.js +1 -1
  683. package/dist/esm/lib/schemas.js.map +1 -1
  684. package/dist/esm/sdk/address.d.ts +12 -0
  685. package/dist/esm/sdk/address.d.ts.map +1 -0
  686. package/dist/esm/sdk/address.js +18 -0
  687. package/dist/esm/sdk/address.js.map +1 -0
  688. package/dist/esm/sdk/areas.d.ts +33 -0
  689. package/dist/esm/sdk/areas.d.ts.map +1 -0
  690. package/dist/esm/sdk/areas.js +48 -0
  691. package/dist/esm/sdk/areas.js.map +1 -0
  692. package/dist/esm/sdk/connectivity.d.ts +12 -0
  693. package/dist/esm/sdk/connectivity.d.ts.map +1 -0
  694. package/dist/esm/sdk/connectivity.js +18 -0
  695. package/dist/esm/sdk/connectivity.js.map +1 -0
  696. package/dist/esm/sdk/epc.d.ts +19 -0
  697. package/dist/esm/sdk/epc.d.ts.map +1 -0
  698. package/dist/esm/sdk/epc.js +28 -0
  699. package/dist/esm/sdk/epc.js.map +1 -0
  700. package/dist/esm/sdk/listings.d.ts +40 -0
  701. package/dist/esm/sdk/listings.d.ts.map +1 -0
  702. package/dist/esm/sdk/listings.js +58 -0
  703. package/dist/esm/sdk/listings.js.map +1 -0
  704. package/dist/esm/sdk/metrics.d.ts +12 -0
  705. package/dist/esm/sdk/metrics.d.ts.map +1 -0
  706. package/dist/esm/sdk/metrics.js +18 -0
  707. package/dist/esm/sdk/metrics.js.map +1 -0
  708. package/dist/esm/sdk/models/errors/responsevalidationerror.js +1 -1
  709. package/dist/esm/sdk/models/errors/responsevalidationerror.js.map +1 -1
  710. package/dist/esm/sdk/models/errors/sdkvalidationerror.d.ts +1 -1
  711. package/dist/esm/sdk/models/errors/sdkvalidationerror.d.ts.map +1 -1
  712. package/dist/esm/sdk/models/errors/sdkvalidationerror.js +1 -1
  713. package/dist/esm/sdk/models/errors/sdkvalidationerror.js.map +1 -1
  714. package/dist/esm/sdk/models/operations/checkareareferencehealth.d.ts +36 -0
  715. package/dist/esm/sdk/models/operations/checkareareferencehealth.d.ts.map +1 -0
  716. package/dist/esm/sdk/models/operations/checkareareferencehealth.js +35 -0
  717. package/dist/esm/sdk/models/operations/checkareareferencehealth.js.map +1 -0
  718. package/dist/esm/sdk/models/operations/checkepchealth.d.ts +36 -0
  719. package/dist/esm/sdk/models/operations/checkepchealth.d.ts.map +1 -0
  720. package/dist/esm/sdk/models/operations/checkepchealth.js +35 -0
  721. package/dist/esm/sdk/models/operations/checkepchealth.js.map +1 -0
  722. package/dist/esm/sdk/models/operations/checklistingshealth.d.ts +36 -0
  723. package/dist/esm/sdk/models/operations/checklistingshealth.d.ts.map +1 -0
  724. package/dist/esm/sdk/models/operations/checklistingshealth.js +35 -0
  725. package/dist/esm/sdk/models/operations/checklistingshealth.js.map +1 -0
  726. package/dist/esm/sdk/models/operations/getareasbyfieldandids.d.ts +445 -0
  727. package/dist/esm/sdk/models/operations/getareasbyfieldandids.d.ts.map +1 -0
  728. package/dist/esm/sdk/models/operations/getareasbyfieldandids.js +305 -0
  729. package/dist/esm/sdk/models/operations/getareasbyfieldandids.js.map +1 -0
  730. package/dist/esm/sdk/models/operations/getareaswithinradius.d.ts +492 -0
  731. package/dist/esm/sdk/models/operations/getareaswithinradius.d.ts.map +1 -0
  732. package/dist/esm/sdk/models/operations/getareaswithinradius.js +328 -0
  733. package/dist/esm/sdk/models/operations/getareaswithinradius.js.map +1 -0
  734. package/dist/esm/sdk/models/operations/getborderingareas.d.ts +658 -0
  735. package/dist/esm/sdk/models/operations/getborderingareas.d.ts.map +1 -0
  736. package/dist/esm/sdk/models/operations/getborderingareas.js +434 -0
  737. package/dist/esm/sdk/models/operations/getborderingareas.js.map +1 -0
  738. package/dist/esm/sdk/models/operations/getchildareas.d.ts +653 -0
  739. package/dist/esm/sdk/models/operations/getchildareas.d.ts.map +1 -0
  740. package/dist/esm/sdk/models/operations/getchildareas.js +432 -0
  741. package/dist/esm/sdk/models/operations/getchildareas.js.map +1 -0
  742. package/dist/esm/sdk/models/operations/getconnectivityscores.d.ts +2213 -0
  743. package/dist/esm/sdk/models/operations/getconnectivityscores.d.ts.map +1 -0
  744. package/dist/esm/sdk/models/operations/getconnectivityscores.js +1512 -0
  745. package/dist/esm/sdk/models/operations/getconnectivityscores.js.map +1 -0
  746. package/dist/esm/sdk/models/operations/getepcbylocationid.d.ts +310 -0
  747. package/dist/esm/sdk/models/operations/getepcbylocationid.d.ts.map +1 -0
  748. package/dist/esm/sdk/models/operations/getepcbylocationid.js +269 -0
  749. package/dist/esm/sdk/models/operations/getepcbylocationid.js.map +1 -0
  750. package/dist/esm/sdk/models/operations/getepcbypostcode.d.ts +199 -0
  751. package/dist/esm/sdk/models/operations/getepcbypostcode.d.ts.map +1 -0
  752. package/dist/esm/sdk/models/operations/getepcbypostcode.js +178 -0
  753. package/dist/esm/sdk/models/operations/getepcbypostcode.js.map +1 -0
  754. package/dist/esm/sdk/models/operations/getlistingbyid.d.ts +1402 -0
  755. package/dist/esm/sdk/models/operations/getlistingbyid.d.ts.map +1 -0
  756. package/dist/esm/sdk/models/operations/getlistingbyid.js +967 -0
  757. package/dist/esm/sdk/models/operations/getlistingbyid.js.map +1 -0
  758. package/dist/esm/sdk/models/operations/getlistingbysource.d.ts +351 -0
  759. package/dist/esm/sdk/models/operations/getlistingbysource.d.ts.map +1 -0
  760. package/dist/esm/sdk/models/operations/getlistingbysource.js +294 -0
  761. package/dist/esm/sdk/models/operations/getlistingbysource.js.map +1 -0
  762. package/dist/esm/sdk/models/operations/getlistingsbylocation.d.ts +1335 -0
  763. package/dist/esm/sdk/models/operations/getlistingsbylocation.d.ts.map +1 -0
  764. package/dist/esm/sdk/models/operations/getlistingsbylocation.js +896 -0
  765. package/dist/esm/sdk/models/operations/getlistingsbylocation.js.map +1 -0
  766. package/dist/esm/sdk/models/operations/getmetricprofiles.d.ts +1 -1
  767. package/dist/esm/sdk/models/operations/getmetricprofiles.d.ts.map +1 -1
  768. package/dist/esm/sdk/models/operations/getmetricprofiles.js +1 -1
  769. package/dist/esm/sdk/models/operations/getmetricprofiles.js.map +1 -1
  770. package/dist/esm/sdk/models/operations/getmetricvalues.d.ts +608 -0
  771. package/dist/esm/sdk/models/operations/getmetricvalues.d.ts.map +1 -0
  772. package/dist/esm/sdk/models/operations/getmetricvalues.js +462 -0
  773. package/dist/esm/sdk/models/operations/getmetricvalues.js.map +1 -0
  774. package/dist/esm/sdk/models/operations/getnearestpoi.d.ts +393 -0
  775. package/dist/esm/sdk/models/operations/getnearestpoi.d.ts.map +1 -0
  776. package/dist/esm/sdk/models/operations/getnearestpoi.js +314 -0
  777. package/dist/esm/sdk/models/operations/getnearestpoi.js.map +1 -0
  778. package/dist/esm/sdk/models/operations/getplanningapplications.d.ts +1 -1
  779. package/dist/esm/sdk/models/operations/getplanningapplications.d.ts.map +1 -1
  780. package/dist/esm/sdk/models/operations/getplanningapplications.js +1 -1
  781. package/dist/esm/sdk/models/operations/getplanningapplications.js.map +1 -1
  782. package/dist/esm/sdk/models/operations/getplanningapplicationsbysource.d.ts +1 -1
  783. package/dist/esm/sdk/models/operations/getplanningapplicationsbysource.d.ts.map +1 -1
  784. package/dist/esm/sdk/models/operations/getplanningapplicationsbysource.js +1 -1
  785. package/dist/esm/sdk/models/operations/getplanningapplicationsbysource.js.map +1 -1
  786. package/dist/esm/sdk/models/operations/getpoimultipletiles.d.ts +587 -0
  787. package/dist/esm/sdk/models/operations/getpoimultipletiles.d.ts.map +1 -0
  788. package/dist/esm/sdk/models/operations/getpoimultipletiles.js +547 -0
  789. package/dist/esm/sdk/models/operations/getpoimultipletiles.js.map +1 -0
  790. package/dist/esm/sdk/models/operations/getpoitile.d.ts +465 -0
  791. package/dist/esm/sdk/models/operations/getpoitile.d.ts.map +1 -0
  792. package/dist/esm/sdk/models/operations/getpoitile.js +412 -0
  793. package/dist/esm/sdk/models/operations/getpoitile.js.map +1 -0
  794. package/dist/esm/sdk/models/operations/getproperties.d.ts +1 -1
  795. package/dist/esm/sdk/models/operations/getproperties.d.ts.map +1 -1
  796. package/dist/esm/sdk/models/operations/getproperties.js +1 -1
  797. package/dist/esm/sdk/models/operations/getproperties.js.map +1 -1
  798. package/dist/esm/sdk/models/operations/getpropertiesbylocation.d.ts +1 -1
  799. package/dist/esm/sdk/models/operations/getpropertiesbylocation.d.ts.map +1 -1
  800. package/dist/esm/sdk/models/operations/getpropertiesbylocation.js +1 -1
  801. package/dist/esm/sdk/models/operations/getpropertiesbylocation.js.map +1 -1
  802. package/dist/esm/sdk/models/operations/getpropertiesbyslugs.d.ts +1 -1
  803. package/dist/esm/sdk/models/operations/getpropertiesbyslugs.d.ts.map +1 -1
  804. package/dist/esm/sdk/models/operations/getpropertiesbyslugs.js +1 -1
  805. package/dist/esm/sdk/models/operations/getpropertiesbyslugs.js.map +1 -1
  806. package/dist/esm/sdk/models/operations/getpropertiesbysource.d.ts +1 -1
  807. package/dist/esm/sdk/models/operations/getpropertiesbysource.d.ts.map +1 -1
  808. package/dist/esm/sdk/models/operations/getpropertiesbysource.js +1 -1
  809. package/dist/esm/sdk/models/operations/getpropertiesbysource.js.map +1 -1
  810. package/dist/esm/sdk/models/operations/getschoolbyid.d.ts +1 -10
  811. package/dist/esm/sdk/models/operations/getschoolbyid.d.ts.map +1 -1
  812. package/dist/esm/sdk/models/operations/getschoolbyid.js +1 -1
  813. package/dist/esm/sdk/models/operations/getschoolbyid.js.map +1 -1
  814. package/dist/esm/sdk/models/operations/getschoolbyslug.d.ts +1 -10
  815. package/dist/esm/sdk/models/operations/getschoolbyslug.d.ts.map +1 -1
  816. package/dist/esm/sdk/models/operations/getschoolbyslug.js +1 -1
  817. package/dist/esm/sdk/models/operations/getschoolbyslug.js.map +1 -1
  818. package/dist/esm/sdk/models/operations/getschoolbyurn.d.ts +1 -10
  819. package/dist/esm/sdk/models/operations/getschoolbyurn.d.ts.map +1 -1
  820. package/dist/esm/sdk/models/operations/getschoolbyurn.js +1 -1
  821. package/dist/esm/sdk/models/operations/getschoolbyurn.js.map +1 -1
  822. package/dist/esm/sdk/models/operations/getschoolmetrics.d.ts +66 -69
  823. package/dist/esm/sdk/models/operations/getschoolmetrics.d.ts.map +1 -1
  824. package/dist/esm/sdk/models/operations/getschoolmetrics.js +77 -77
  825. package/dist/esm/sdk/models/operations/getschoolmetrics.js.map +1 -1
  826. package/dist/esm/sdk/models/operations/getv1safetycrime.d.ts +61 -61
  827. package/dist/esm/sdk/models/operations/getv1safetycrime.d.ts.map +1 -1
  828. package/dist/esm/sdk/models/operations/getv1safetycrime.js +61 -63
  829. package/dist/esm/sdk/models/operations/getv1safetycrime.js.map +1 -1
  830. package/dist/esm/sdk/models/operations/getv1safetycrimestats.d.ts +1 -1
  831. package/dist/esm/sdk/models/operations/getv1safetycrimestats.d.ts.map +1 -1
  832. package/dist/esm/sdk/models/operations/getv1safetycrimestats.js +1 -1
  833. package/dist/esm/sdk/models/operations/getv1safetycrimestats.js.map +1 -1
  834. package/dist/esm/sdk/models/operations/index.d.ts +20 -0
  835. package/dist/esm/sdk/models/operations/index.d.ts.map +1 -1
  836. package/dist/esm/sdk/models/operations/index.js +20 -0
  837. package/dist/esm/sdk/models/operations/index.js.map +1 -1
  838. package/dist/esm/sdk/models/operations/listschools.d.ts +1 -31
  839. package/dist/esm/sdk/models/operations/listschools.d.ts.map +1 -1
  840. package/dist/esm/sdk/models/operations/listschools.js +1 -1
  841. package/dist/esm/sdk/models/operations/listschools.js.map +1 -1
  842. package/dist/esm/sdk/models/operations/querylistings.d.ts +1544 -0
  843. package/dist/esm/sdk/models/operations/querylistings.d.ts.map +1 -0
  844. package/dist/esm/sdk/models/operations/querylistings.js +1042 -0
  845. package/dist/esm/sdk/models/operations/querylistings.js.map +1 -0
  846. package/dist/esm/sdk/models/operations/querylistingsbysource.d.ts +1420 -0
  847. package/dist/esm/sdk/models/operations/querylistingsbysource.d.ts.map +1 -0
  848. package/dist/esm/sdk/models/operations/querylistingsbysource.js +964 -0
  849. package/dist/esm/sdk/models/operations/querylistingsbysource.js.map +1 -0
  850. package/dist/esm/sdk/models/operations/resolveaddress.d.ts +580 -0
  851. package/dist/esm/sdk/models/operations/resolveaddress.d.ts.map +1 -0
  852. package/dist/esm/sdk/models/operations/resolveaddress.js +423 -0
  853. package/dist/esm/sdk/models/operations/resolveaddress.js.map +1 -0
  854. package/dist/esm/sdk/models/operations/searchplanningapplications.d.ts +1 -1
  855. package/dist/esm/sdk/models/operations/searchplanningapplications.d.ts.map +1 -1
  856. package/dist/esm/sdk/models/operations/searchplanningapplications.js +1 -1
  857. package/dist/esm/sdk/models/operations/searchplanningapplications.js.map +1 -1
  858. package/dist/esm/sdk/models/operations/searchproperties.d.ts +1 -1
  859. package/dist/esm/sdk/models/operations/searchproperties.d.ts.map +1 -1
  860. package/dist/esm/sdk/models/operations/searchproperties.js +1 -1
  861. package/dist/esm/sdk/models/operations/searchproperties.js.map +1 -1
  862. package/dist/esm/sdk/models/operations/searchschoolsnearby.d.ts +1 -25
  863. package/dist/esm/sdk/models/operations/searchschoolsnearby.d.ts.map +1 -1
  864. package/dist/esm/sdk/models/operations/searchschoolsnearby.js +1 -1
  865. package/dist/esm/sdk/models/operations/searchschoolsnearby.js.map +1 -1
  866. package/dist/esm/sdk/models/operations/searchschoolswithin.d.ts +1 -28
  867. package/dist/esm/sdk/models/operations/searchschoolswithin.d.ts.map +1 -1
  868. package/dist/esm/sdk/models/operations/searchschoolswithin.js +1 -1
  869. package/dist/esm/sdk/models/operations/searchschoolswithin.js.map +1 -1
  870. package/dist/esm/sdk/models/operations/searchstreets.d.ts +1 -1
  871. package/dist/esm/sdk/models/operations/searchstreets.d.ts.map +1 -1
  872. package/dist/esm/sdk/models/operations/searchstreets.js +1 -1
  873. package/dist/esm/sdk/models/operations/searchstreets.js.map +1 -1
  874. package/dist/esm/sdk/models/shared/counciltaxdata.d.ts +1 -1
  875. package/dist/esm/sdk/models/shared/counciltaxdata.d.ts.map +1 -1
  876. package/dist/esm/sdk/models/shared/counciltaxdata.js +1 -1
  877. package/dist/esm/sdk/models/shared/counciltaxdata.js.map +1 -1
  878. package/dist/esm/sdk/models/shared/epcdata.d.ts +1 -1
  879. package/dist/esm/sdk/models/shared/epcdata.d.ts.map +1 -1
  880. package/dist/esm/sdk/models/shared/epcdata.js +1 -1
  881. package/dist/esm/sdk/models/shared/epcdata.js.map +1 -1
  882. package/dist/esm/sdk/models/shared/errorresponse.d.ts +1 -1
  883. package/dist/esm/sdk/models/shared/errorresponse.d.ts.map +1 -1
  884. package/dist/esm/sdk/models/shared/errorresponse.js +1 -1
  885. package/dist/esm/sdk/models/shared/errorresponse.js.map +1 -1
  886. package/dist/esm/sdk/models/shared/healthresponse.d.ts +1 -1
  887. package/dist/esm/sdk/models/shared/healthresponse.d.ts.map +1 -1
  888. package/dist/esm/sdk/models/shared/healthresponse.js +1 -1
  889. package/dist/esm/sdk/models/shared/healthresponse.js.map +1 -1
  890. package/dist/esm/sdk/models/shared/marketstatus.d.ts +1 -1
  891. package/dist/esm/sdk/models/shared/marketstatus.d.ts.map +1 -1
  892. package/dist/esm/sdk/models/shared/marketstatus.js +1 -1
  893. package/dist/esm/sdk/models/shared/marketstatus.js.map +1 -1
  894. package/dist/esm/sdk/models/shared/planningapplication.d.ts +1 -1
  895. package/dist/esm/sdk/models/shared/planningapplication.d.ts.map +1 -1
  896. package/dist/esm/sdk/models/shared/planningapplication.js +1 -1
  897. package/dist/esm/sdk/models/shared/planningapplication.js.map +1 -1
  898. package/dist/esm/sdk/models/shared/planninglistresponse.d.ts +1 -1
  899. package/dist/esm/sdk/models/shared/planninglistresponse.d.ts.map +1 -1
  900. package/dist/esm/sdk/models/shared/planninglistresponse.js +1 -1
  901. package/dist/esm/sdk/models/shared/planninglistresponse.js.map +1 -1
  902. package/dist/esm/sdk/models/shared/planningqueryfilters.d.ts +1 -1
  903. package/dist/esm/sdk/models/shared/planningqueryfilters.d.ts.map +1 -1
  904. package/dist/esm/sdk/models/shared/planningqueryfilters.js +1 -1
  905. package/dist/esm/sdk/models/shared/planningqueryfilters.js.map +1 -1
  906. package/dist/esm/sdk/models/shared/planningqueryrequest.d.ts +1 -1
  907. package/dist/esm/sdk/models/shared/planningqueryrequest.d.ts.map +1 -1
  908. package/dist/esm/sdk/models/shared/planningqueryrequest.js +1 -1
  909. package/dist/esm/sdk/models/shared/planningqueryrequest.js.map +1 -1
  910. package/dist/esm/sdk/models/shared/pricingdata.d.ts +1 -1
  911. package/dist/esm/sdk/models/shared/pricingdata.d.ts.map +1 -1
  912. package/dist/esm/sdk/models/shared/pricingdata.js +1 -1
  913. package/dist/esm/sdk/models/shared/pricingdata.js.map +1 -1
  914. package/dist/esm/sdk/models/shared/propertyaddress.d.ts +1 -1
  915. package/dist/esm/sdk/models/shared/propertyaddress.d.ts.map +1 -1
  916. package/dist/esm/sdk/models/shared/propertyaddress.js +1 -1
  917. package/dist/esm/sdk/models/shared/propertyaddress.js.map +1 -1
  918. package/dist/esm/sdk/models/shared/propertyareafilter.d.ts +1 -1
  919. package/dist/esm/sdk/models/shared/propertyareafilter.d.ts.map +1 -1
  920. package/dist/esm/sdk/models/shared/propertyareafilter.js +1 -1
  921. package/dist/esm/sdk/models/shared/propertyareafilter.js.map +1 -1
  922. package/dist/esm/sdk/models/shared/propertybyslugsrequest.d.ts +1 -1
  923. package/dist/esm/sdk/models/shared/propertybyslugsrequest.d.ts.map +1 -1
  924. package/dist/esm/sdk/models/shared/propertybyslugsrequest.js +1 -1
  925. package/dist/esm/sdk/models/shared/propertybyslugsrequest.js.map +1 -1
  926. package/dist/esm/sdk/models/shared/propertydata.d.ts +73 -1
  927. package/dist/esm/sdk/models/shared/propertydata.d.ts.map +1 -1
  928. package/dist/esm/sdk/models/shared/propertydata.js +25 -1
  929. package/dist/esm/sdk/models/shared/propertydata.js.map +1 -1
  930. package/dist/esm/sdk/models/shared/propertylistresponse.d.ts +1 -1
  931. package/dist/esm/sdk/models/shared/propertylistresponse.d.ts.map +1 -1
  932. package/dist/esm/sdk/models/shared/propertylistresponse.js +1 -1
  933. package/dist/esm/sdk/models/shared/propertylistresponse.js.map +1 -1
  934. package/dist/esm/sdk/models/shared/propertylocationidareafilter.d.ts +1 -1
  935. package/dist/esm/sdk/models/shared/propertylocationidareafilter.d.ts.map +1 -1
  936. package/dist/esm/sdk/models/shared/propertylocationidareafilter.js +1 -1
  937. package/dist/esm/sdk/models/shared/propertylocationidareafilter.js.map +1 -1
  938. package/dist/esm/sdk/models/shared/propertymultipolygonareafilter.d.ts +1 -1
  939. package/dist/esm/sdk/models/shared/propertymultipolygonareafilter.d.ts.map +1 -1
  940. package/dist/esm/sdk/models/shared/propertymultipolygonareafilter.js +1 -1
  941. package/dist/esm/sdk/models/shared/propertymultipolygonareafilter.js.map +1 -1
  942. package/dist/esm/sdk/models/shared/propertyonstreet.d.ts +1 -1
  943. package/dist/esm/sdk/models/shared/propertyonstreet.d.ts.map +1 -1
  944. package/dist/esm/sdk/models/shared/propertyonstreet.js +1 -1
  945. package/dist/esm/sdk/models/shared/propertyonstreet.js.map +1 -1
  946. package/dist/esm/sdk/models/shared/propertyoutcodeareafilter.d.ts +1 -1
  947. package/dist/esm/sdk/models/shared/propertyoutcodeareafilter.d.ts.map +1 -1
  948. package/dist/esm/sdk/models/shared/propertyoutcodeareafilter.js +1 -1
  949. package/dist/esm/sdk/models/shared/propertyoutcodeareafilter.js.map +1 -1
  950. package/dist/esm/sdk/models/shared/propertypointareafilter.d.ts +1 -1
  951. package/dist/esm/sdk/models/shared/propertypointareafilter.d.ts.map +1 -1
  952. package/dist/esm/sdk/models/shared/propertypointareafilter.js +1 -1
  953. package/dist/esm/sdk/models/shared/propertypointareafilter.js.map +1 -1
  954. package/dist/esm/sdk/models/shared/propertypolygonareafilter.d.ts +1 -1
  955. package/dist/esm/sdk/models/shared/propertypolygonareafilter.d.ts.map +1 -1
  956. package/dist/esm/sdk/models/shared/propertypolygonareafilter.js +1 -1
  957. package/dist/esm/sdk/models/shared/propertypolygonareafilter.js.map +1 -1
  958. package/dist/esm/sdk/models/shared/propertypostcodeareafilter.d.ts +1 -1
  959. package/dist/esm/sdk/models/shared/propertypostcodeareafilter.d.ts.map +1 -1
  960. package/dist/esm/sdk/models/shared/propertypostcodeareafilter.js +1 -1
  961. package/dist/esm/sdk/models/shared/propertypostcodeareafilter.js.map +1 -1
  962. package/dist/esm/sdk/models/shared/propertyquerycondition.d.ts +1 -1
  963. package/dist/esm/sdk/models/shared/propertyquerycondition.d.ts.map +1 -1
  964. package/dist/esm/sdk/models/shared/propertyquerycondition.js +1 -1
  965. package/dist/esm/sdk/models/shared/propertyquerycondition.js.map +1 -1
  966. package/dist/esm/sdk/models/shared/propertyquerygroup.d.ts +1 -1
  967. package/dist/esm/sdk/models/shared/propertyquerygroup.d.ts.map +1 -1
  968. package/dist/esm/sdk/models/shared/propertyquerygroup.js +1 -1
  969. package/dist/esm/sdk/models/shared/propertyquerygroup.js.map +1 -1
  970. package/dist/esm/sdk/models/shared/propertyqueryoperator.d.ts +1 -1
  971. package/dist/esm/sdk/models/shared/propertyqueryoperator.d.ts.map +1 -1
  972. package/dist/esm/sdk/models/shared/propertyqueryoperator.js +1 -1
  973. package/dist/esm/sdk/models/shared/propertyqueryoperator.js.map +1 -1
  974. package/dist/esm/sdk/models/shared/propertyqueryrequest.d.ts +234 -1
  975. package/dist/esm/sdk/models/shared/propertyqueryrequest.d.ts.map +1 -1
  976. package/dist/esm/sdk/models/shared/propertyqueryrequest.js +144 -1
  977. package/dist/esm/sdk/models/shared/propertyqueryrequest.js.map +1 -1
  978. package/dist/esm/sdk/models/shared/propertytags.d.ts +1 -1
  979. package/dist/esm/sdk/models/shared/propertytags.d.ts.map +1 -1
  980. package/dist/esm/sdk/models/shared/propertytags.js +1 -1
  981. package/dist/esm/sdk/models/shared/propertytags.js.map +1 -1
  982. package/dist/esm/sdk/models/shared/roomdetails.d.ts +1 -1
  983. package/dist/esm/sdk/models/shared/roomdetails.d.ts.map +1 -1
  984. package/dist/esm/sdk/models/shared/roomdetails.js +1 -1
  985. package/dist/esm/sdk/models/shared/roomdetails.js.map +1 -1
  986. package/dist/esm/sdk/models/shared/salerecord.d.ts +1 -1
  987. package/dist/esm/sdk/models/shared/salerecord.d.ts.map +1 -1
  988. package/dist/esm/sdk/models/shared/salerecord.js +1 -1
  989. package/dist/esm/sdk/models/shared/salerecord.js.map +1 -1
  990. package/dist/esm/sdk/models/shared/school.d.ts +1 -1
  991. package/dist/esm/sdk/models/shared/school.d.ts.map +1 -1
  992. package/dist/esm/sdk/models/shared/school.js +1 -1
  993. package/dist/esm/sdk/models/shared/school.js.map +1 -1
  994. package/dist/esm/sdk/models/shared/security.d.ts +1 -1
  995. package/dist/esm/sdk/models/shared/security.d.ts.map +1 -1
  996. package/dist/esm/sdk/models/shared/security.js +1 -1
  997. package/dist/esm/sdk/models/shared/security.js.map +1 -1
  998. package/dist/esm/sdk/models/shared/streetdescriptor.d.ts +1 -1
  999. package/dist/esm/sdk/models/shared/streetdescriptor.d.ts.map +1 -1
  1000. package/dist/esm/sdk/models/shared/streetdescriptor.js +1 -1
  1001. package/dist/esm/sdk/models/shared/streetdescriptor.js.map +1 -1
  1002. package/dist/esm/sdk/models/shared/streetdetails.d.ts +1 -1
  1003. package/dist/esm/sdk/models/shared/streetdetails.d.ts.map +1 -1
  1004. package/dist/esm/sdk/models/shared/streetdetails.js +1 -1
  1005. package/dist/esm/sdk/models/shared/streetdetails.js.map +1 -1
  1006. package/dist/esm/sdk/models/shared/streetquerybycoordinates.d.ts +1 -1
  1007. package/dist/esm/sdk/models/shared/streetquerybycoordinates.d.ts.map +1 -1
  1008. package/dist/esm/sdk/models/shared/streetquerybycoordinates.js +1 -1
  1009. package/dist/esm/sdk/models/shared/streetquerybycoordinates.js.map +1 -1
  1010. package/dist/esm/sdk/models/shared/streetquerybyname.d.ts +1 -1
  1011. package/dist/esm/sdk/models/shared/streetquerybyname.d.ts.map +1 -1
  1012. package/dist/esm/sdk/models/shared/streetquerybyname.js +1 -1
  1013. package/dist/esm/sdk/models/shared/streetquerybyname.js.map +1 -1
  1014. package/dist/esm/sdk/models/shared/streetquerybypostcode.d.ts +1 -1
  1015. package/dist/esm/sdk/models/shared/streetquerybypostcode.d.ts.map +1 -1
  1016. package/dist/esm/sdk/models/shared/streetquerybypostcode.js +1 -1
  1017. package/dist/esm/sdk/models/shared/streetquerybypostcode.js.map +1 -1
  1018. package/dist/esm/sdk/models/shared/streetquerybyuprn.d.ts +1 -1
  1019. package/dist/esm/sdk/models/shared/streetquerybyuprn.d.ts.map +1 -1
  1020. package/dist/esm/sdk/models/shared/streetquerybyuprn.js +1 -1
  1021. package/dist/esm/sdk/models/shared/streetquerybyuprn.js.map +1 -1
  1022. package/dist/esm/sdk/models/shared/streetquerybyusrn.d.ts +1 -1
  1023. package/dist/esm/sdk/models/shared/streetquerybyusrn.d.ts.map +1 -1
  1024. package/dist/esm/sdk/models/shared/streetquerybyusrn.js +1 -1
  1025. package/dist/esm/sdk/models/shared/streetquerybyusrn.js.map +1 -1
  1026. package/dist/esm/sdk/models/shared/streetqueryrequest.d.ts +1 -1
  1027. package/dist/esm/sdk/models/shared/streetqueryrequest.d.ts.map +1 -1
  1028. package/dist/esm/sdk/models/shared/streetqueryrequest.js +1 -1
  1029. package/dist/esm/sdk/models/shared/streetqueryrequest.js.map +1 -1
  1030. package/dist/esm/sdk/models/shared/streetqueryresponse.d.ts +1 -1
  1031. package/dist/esm/sdk/models/shared/streetqueryresponse.d.ts.map +1 -1
  1032. package/dist/esm/sdk/models/shared/streetqueryresponse.js +1 -1
  1033. package/dist/esm/sdk/models/shared/streetqueryresponse.js.map +1 -1
  1034. package/dist/esm/sdk/models/shared/streetstatistics.d.ts +1 -1
  1035. package/dist/esm/sdk/models/shared/streetstatistics.d.ts.map +1 -1
  1036. package/dist/esm/sdk/models/shared/streetstatistics.js +1 -1
  1037. package/dist/esm/sdk/models/shared/streetstatistics.js.map +1 -1
  1038. package/dist/esm/sdk/models/shared/tenuredata.d.ts +1 -1
  1039. package/dist/esm/sdk/models/shared/tenuredata.d.ts.map +1 -1
  1040. package/dist/esm/sdk/models/shared/tenuredata.js +1 -1
  1041. package/dist/esm/sdk/models/shared/tenuredata.js.map +1 -1
  1042. package/dist/esm/sdk/poi.d.ts +30 -0
  1043. package/dist/esm/sdk/poi.d.ts.map +1 -0
  1044. package/dist/esm/sdk/poi.js +39 -0
  1045. package/dist/esm/sdk/poi.js.map +1 -0
  1046. package/dist/esm/sdk/schools.d.ts +14 -0
  1047. package/dist/esm/sdk/schools.d.ts.map +1 -1
  1048. package/dist/esm/sdk/schools.js +20 -0
  1049. package/dist/esm/sdk/schools.js.map +1 -1
  1050. package/dist/esm/sdk/sdk.d.ts +27 -9
  1051. package/dist/esm/sdk/sdk.d.ts.map +1 -1
  1052. package/dist/esm/sdk/sdk.js +34 -10
  1053. package/dist/esm/sdk/sdk.js.map +1 -1
  1054. package/dist/{commonjs/sdk/location.d.ts → esm/sdk/streets.d.ts} +2 -2
  1055. package/dist/esm/sdk/streets.d.ts.map +1 -0
  1056. package/dist/esm/sdk/{location.js → streets.js} +4 -4
  1057. package/dist/esm/sdk/streets.js.map +1 -0
  1058. package/dist/esm/sdk/system.d.ts +48 -0
  1059. package/dist/esm/sdk/system.d.ts.map +1 -0
  1060. package/dist/esm/sdk/system.js +68 -0
  1061. package/dist/esm/sdk/system.js.map +1 -0
  1062. package/dist/esm/sdk/types/blobs.d.ts +1 -1
  1063. package/dist/esm/sdk/types/blobs.d.ts.map +1 -1
  1064. package/dist/esm/sdk/types/blobs.js +1 -1
  1065. package/dist/esm/sdk/types/blobs.js.map +1 -1
  1066. package/dist/esm/sdk/types/constdatetime.d.ts +1 -1
  1067. package/dist/esm/sdk/types/constdatetime.d.ts.map +1 -1
  1068. package/dist/esm/sdk/types/constdatetime.js +1 -1
  1069. package/dist/esm/sdk/types/constdatetime.js.map +1 -1
  1070. package/examples/{healthCheckLocationHealth.example.ts → addressResolveAddress.example.ts} +2 -2
  1071. package/jsr.json +1 -1
  1072. package/openapi.json +1 -908
  1073. package/package.json +2 -2
  1074. package/src/funcs/addressResolveAddress.ts +166 -0
  1075. package/src/funcs/areasGetAreas.ts +181 -0
  1076. package/src/funcs/areasGetAreasWithin.ts +170 -0
  1077. package/src/funcs/areasGetBorderingAreas.ts +181 -0
  1078. package/src/funcs/areasGetChildAreas.ts +174 -0
  1079. package/src/funcs/connectivityGetConnectivityScores.ts +182 -0
  1080. package/src/funcs/epcGetEPC.ts +166 -0
  1081. package/src/funcs/epcGetEPCByPostcode.ts +165 -0
  1082. package/src/funcs/listingsGetListingById.ts +166 -0
  1083. package/src/funcs/listingsGetListingBySource.ts +175 -0
  1084. package/src/funcs/listingsGetListingsByLocation.ts +171 -0
  1085. package/src/funcs/listingsQueryListings.ts +165 -0
  1086. package/src/funcs/listingsQueryListingsBySource.ts +164 -0
  1087. package/src/funcs/metricsGetMetricValues.ts +176 -0
  1088. package/src/funcs/planningGetPlanningApplications.ts +1 -1
  1089. package/src/funcs/planningGetPlanningApplicationsBySource.ts +1 -1
  1090. package/src/funcs/planningSearchPlanningApplications.ts +1 -1
  1091. package/src/funcs/poiGetNearestPOI.ts +169 -0
  1092. package/src/funcs/poiGetPOIMultipleTiles.ts +166 -0
  1093. package/src/funcs/poiGetPOITile.ts +190 -0
  1094. package/src/funcs/propertyGetProperties.ts +1 -1
  1095. package/src/funcs/propertyGetPropertiesByLocation.ts +1 -1
  1096. package/src/funcs/propertyGetPropertiesBySlugs.ts +1 -1
  1097. package/src/funcs/propertyGetPropertiesBySource.ts +1 -1
  1098. package/src/funcs/propertySearchProperties.ts +1 -1
  1099. package/src/funcs/safetyGetV1SafetyCrime.ts +1 -1
  1100. package/src/funcs/safetyGetV1SafetyCrimeStats.ts +1 -1
  1101. package/src/funcs/schoolsGet.ts +1 -1
  1102. package/src/funcs/schoolsGetBySlug.ts +1 -1
  1103. package/src/funcs/schoolsGetByUrn.ts +1 -1
  1104. package/src/funcs/{schoolMetricsGetMetrics.ts → schoolsGetMetrics.ts} +2 -2
  1105. package/src/funcs/schoolsList.ts +1 -1
  1106. package/src/funcs/{schoolMetricsListProfiles.ts → schoolsListProfiles.ts} +2 -2
  1107. package/src/funcs/schoolsSearchNearby.ts +1 -1
  1108. package/src/funcs/schoolsSearchWithin.ts +1 -1
  1109. package/src/funcs/{locationSearchStreets.ts → streetsSearchStreets.ts} +2 -2
  1110. package/src/funcs/systemCheckAreaReferenceHealth.ts +140 -0
  1111. package/src/funcs/systemCheckEPCHealth.ts +140 -0
  1112. package/src/funcs/systemCheckListingsHealth.ts +140 -0
  1113. package/src/funcs/{healthCheckLocationHealth.ts → systemCheckLocationHealth.ts} +2 -2
  1114. package/src/funcs/{healthCheckPlanningHealth.ts → systemCheckPlanningHealth.ts} +2 -2
  1115. package/src/funcs/{healthCheckPropertyHealth.ts → systemCheckPropertyHealth.ts} +2 -2
  1116. package/src/lib/base64.ts +1 -1
  1117. package/src/lib/config.ts +4 -4
  1118. package/src/lib/schemas.ts +1 -1
  1119. package/src/sdk/address.ts +27 -0
  1120. package/src/sdk/areas.ts +81 -0
  1121. package/src/sdk/connectivity.ts +27 -0
  1122. package/src/sdk/epc.ts +45 -0
  1123. package/src/sdk/listings.ts +99 -0
  1124. package/src/sdk/metrics.ts +27 -0
  1125. package/src/sdk/models/errors/responsevalidationerror.ts +1 -1
  1126. package/src/sdk/models/errors/sdkvalidationerror.ts +1 -1
  1127. package/src/sdk/models/operations/checkareareferencehealth.ts +82 -0
  1128. package/src/sdk/models/operations/checkepchealth.ts +77 -0
  1129. package/src/sdk/models/operations/checklistingshealth.ts +79 -0
  1130. package/src/sdk/models/operations/getareasbyfieldandids.ts +796 -0
  1131. package/src/sdk/models/operations/getareaswithinradius.ts +843 -0
  1132. package/src/sdk/models/operations/getborderingareas.ts +1134 -0
  1133. package/src/sdk/models/operations/getchildareas.ts +1106 -0
  1134. package/src/sdk/models/operations/getconnectivityscores.ts +4272 -0
  1135. package/src/sdk/models/operations/getepcbylocationid.ts +598 -0
  1136. package/src/sdk/models/operations/getepcbypostcode.ts +397 -0
  1137. package/src/sdk/models/operations/getlistingbyid.ts +2274 -0
  1138. package/src/sdk/models/operations/getlistingbysource.ts +659 -0
  1139. package/src/sdk/models/operations/getlistingsbylocation.ts +2269 -0
  1140. package/src/sdk/models/operations/getmetricprofiles.ts +1 -1
  1141. package/src/sdk/models/operations/getmetricvalues.ts +950 -0
  1142. package/src/sdk/models/operations/getnearestpoi.ts +761 -0
  1143. package/src/sdk/models/operations/getplanningapplications.ts +1 -1
  1144. package/src/sdk/models/operations/getplanningapplicationsbysource.ts +1 -1
  1145. package/src/sdk/models/operations/getpoimultipletiles.ts +1223 -0
  1146. package/src/sdk/models/operations/getpoitile.ts +901 -0
  1147. package/src/sdk/models/operations/getproperties.ts +1 -1
  1148. package/src/sdk/models/operations/getpropertiesbylocation.ts +1 -1
  1149. package/src/sdk/models/operations/getpropertiesbyslugs.ts +1 -1
  1150. package/src/sdk/models/operations/getpropertiesbysource.ts +1 -1
  1151. package/src/sdk/models/operations/getschoolbyid.ts +1 -10
  1152. package/src/sdk/models/operations/getschoolbyslug.ts +1 -10
  1153. package/src/sdk/models/operations/getschoolbyurn.ts +1 -10
  1154. package/src/sdk/models/operations/getschoolmetrics.ts +124 -136
  1155. package/src/sdk/models/operations/getv1safetycrime.ts +134 -111
  1156. package/src/sdk/models/operations/getv1safetycrimestats.ts +1 -1
  1157. package/src/sdk/models/operations/index.ts +20 -0
  1158. package/src/sdk/models/operations/listschools.ts +1 -31
  1159. package/src/sdk/models/operations/querylistings.ts +2507 -0
  1160. package/src/sdk/models/operations/querylistingsbysource.ts +2470 -0
  1161. package/src/sdk/models/operations/resolveaddress.ts +1014 -0
  1162. package/src/sdk/models/operations/searchplanningapplications.ts +1 -1
  1163. package/src/sdk/models/operations/searchproperties.ts +1 -1
  1164. package/src/sdk/models/operations/searchschoolsnearby.ts +1 -25
  1165. package/src/sdk/models/operations/searchschoolswithin.ts +1 -28
  1166. package/src/sdk/models/operations/searchstreets.ts +1 -1
  1167. package/src/sdk/models/shared/counciltaxdata.ts +1 -1
  1168. package/src/sdk/models/shared/epcdata.ts +1 -1
  1169. package/src/sdk/models/shared/errorresponse.ts +1 -1
  1170. package/src/sdk/models/shared/healthresponse.ts +1 -1
  1171. package/src/sdk/models/shared/marketstatus.ts +1 -1
  1172. package/src/sdk/models/shared/planningapplication.ts +1 -1
  1173. package/src/sdk/models/shared/planninglistresponse.ts +1 -1
  1174. package/src/sdk/models/shared/planningqueryfilters.ts +1 -1
  1175. package/src/sdk/models/shared/planningqueryrequest.ts +1 -1
  1176. package/src/sdk/models/shared/pricingdata.ts +1 -1
  1177. package/src/sdk/models/shared/propertyaddress.ts +1 -1
  1178. package/src/sdk/models/shared/propertyareafilter.ts +1 -1
  1179. package/src/sdk/models/shared/propertybyslugsrequest.ts +1 -1
  1180. package/src/sdk/models/shared/propertydata.ts +25 -1
  1181. package/src/sdk/models/shared/propertylistresponse.ts +1 -1
  1182. package/src/sdk/models/shared/propertylocationidareafilter.ts +1 -1
  1183. package/src/sdk/models/shared/propertymultipolygonareafilter.ts +1 -1
  1184. package/src/sdk/models/shared/propertyonstreet.ts +1 -1
  1185. package/src/sdk/models/shared/propertyoutcodeareafilter.ts +1 -1
  1186. package/src/sdk/models/shared/propertypointareafilter.ts +1 -1
  1187. package/src/sdk/models/shared/propertypolygonareafilter.ts +1 -1
  1188. package/src/sdk/models/shared/propertypostcodeareafilter.ts +1 -1
  1189. package/src/sdk/models/shared/propertyquerycondition.ts +1 -1
  1190. package/src/sdk/models/shared/propertyquerygroup.ts +1 -1
  1191. package/src/sdk/models/shared/propertyqueryoperator.ts +1 -1
  1192. package/src/sdk/models/shared/propertyqueryrequest.ts +228 -1
  1193. package/src/sdk/models/shared/propertytags.ts +1 -1
  1194. package/src/sdk/models/shared/roomdetails.ts +1 -1
  1195. package/src/sdk/models/shared/salerecord.ts +1 -1
  1196. package/src/sdk/models/shared/school.ts +1 -1
  1197. package/src/sdk/models/shared/security.ts +1 -1
  1198. package/src/sdk/models/shared/streetdescriptor.ts +1 -1
  1199. package/src/sdk/models/shared/streetdetails.ts +1 -1
  1200. package/src/sdk/models/shared/streetquerybycoordinates.ts +1 -1
  1201. package/src/sdk/models/shared/streetquerybyname.ts +1 -1
  1202. package/src/sdk/models/shared/streetquerybypostcode.ts +1 -1
  1203. package/src/sdk/models/shared/streetquerybyuprn.ts +1 -1
  1204. package/src/sdk/models/shared/streetquerybyusrn.ts +1 -1
  1205. package/src/sdk/models/shared/streetqueryrequest.ts +1 -1
  1206. package/src/sdk/models/shared/streetqueryresponse.ts +1 -1
  1207. package/src/sdk/models/shared/streetstatistics.ts +1 -1
  1208. package/src/sdk/models/shared/tenuredata.ts +1 -1
  1209. package/src/sdk/poi.ts +65 -0
  1210. package/src/sdk/schools.ts +34 -0
  1211. package/src/sdk/sdk.ts +50 -14
  1212. package/src/sdk/{location.ts → streets.ts} +3 -3
  1213. package/src/sdk/system.ts +106 -0
  1214. package/src/sdk/types/blobs.ts +7 -6
  1215. package/src/sdk/types/constdatetime.ts +1 -1
  1216. package/dist/commonjs/funcs/locationSearchStreets.d.ts.map +0 -1
  1217. package/dist/commonjs/funcs/locationSearchStreets.js.map +0 -1
  1218. package/dist/commonjs/funcs/schoolMetricsGetMetrics.d.ts.map +0 -1
  1219. package/dist/commonjs/funcs/schoolMetricsGetMetrics.js.map +0 -1
  1220. package/dist/commonjs/sdk/health.d.ts +0 -26
  1221. package/dist/commonjs/sdk/health.d.ts.map +0 -1
  1222. package/dist/commonjs/sdk/health.js +0 -42
  1223. package/dist/commonjs/sdk/health.js.map +0 -1
  1224. package/dist/commonjs/sdk/location.d.ts.map +0 -1
  1225. package/dist/commonjs/sdk/location.js.map +0 -1
  1226. package/dist/commonjs/sdk/schoolmetrics.d.ts +0 -19
  1227. package/dist/commonjs/sdk/schoolmetrics.d.ts.map +0 -1
  1228. package/dist/commonjs/sdk/schoolmetrics.js +0 -32
  1229. package/dist/commonjs/sdk/schoolmetrics.js.map +0 -1
  1230. package/dist/esm/funcs/healthCheckPlanningHealth.d.ts.map +0 -1
  1231. package/dist/esm/funcs/healthCheckPropertyHealth.d.ts.map +0 -1
  1232. package/dist/esm/funcs/locationSearchStreets.d.ts.map +0 -1
  1233. package/dist/esm/funcs/locationSearchStreets.js.map +0 -1
  1234. package/dist/esm/funcs/schoolMetricsGetMetrics.d.ts.map +0 -1
  1235. package/dist/esm/funcs/schoolMetricsGetMetrics.js.map +0 -1
  1236. package/dist/esm/sdk/health.d.ts +0 -26
  1237. package/dist/esm/sdk/health.d.ts.map +0 -1
  1238. package/dist/esm/sdk/health.js +0 -38
  1239. package/dist/esm/sdk/health.js.map +0 -1
  1240. package/dist/esm/sdk/location.d.ts.map +0 -1
  1241. package/dist/esm/sdk/location.js.map +0 -1
  1242. package/dist/esm/sdk/schoolmetrics.d.ts +0 -19
  1243. package/dist/esm/sdk/schoolmetrics.d.ts.map +0 -1
  1244. package/dist/esm/sdk/schoolmetrics.js +0 -28
  1245. package/dist/esm/sdk/schoolmetrics.js.map +0 -1
  1246. package/src/sdk/health.ts +0 -57
  1247. package/src/sdk/schoolmetrics.ts +0 -43
@@ -0,0 +1,2274 @@
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
+
12
+ export type GetListingByIdRequest = {
13
+ /**
14
+ * Unique listing identifier
15
+ */
16
+ id: string;
17
+ };
18
+
19
+ /**
20
+ * Error type category
21
+ */
22
+ export const GetListingByIdListingsResponseType = {
23
+ ApiError: "api_error",
24
+ InvalidRequestError: "invalid_request_error",
25
+ AuthenticationError: "authentication_error",
26
+ RateLimitError: "rate_limit_error",
27
+ } as const;
28
+ /**
29
+ * Error type category
30
+ */
31
+ export type GetListingByIdListingsResponseType = ClosedEnum<
32
+ typeof GetListingByIdListingsResponseType
33
+ >;
34
+
35
+ export type GetListingByIdListingsError = {
36
+ /**
37
+ * Machine-readable error code
38
+ */
39
+ code?: string | undefined;
40
+ /**
41
+ * URL to relevant documentation
42
+ */
43
+ docUrl?: string | undefined;
44
+ /**
45
+ * Human-readable error message
46
+ */
47
+ message: string;
48
+ /**
49
+ * Parameter that caused the error
50
+ */
51
+ param?: string | undefined;
52
+ /**
53
+ * Error type category
54
+ */
55
+ type: GetListingByIdListingsResponseType;
56
+ };
57
+
58
+ /**
59
+ * Error response
60
+ */
61
+ export type GetListingByIdListingsResponseResponseBody = {
62
+ error: GetListingByIdListingsError;
63
+ };
64
+
65
+ /**
66
+ * Error type category
67
+ */
68
+ export const GetListingByIdListingsType = {
69
+ ApiError: "api_error",
70
+ InvalidRequestError: "invalid_request_error",
71
+ AuthenticationError: "authentication_error",
72
+ RateLimitError: "rate_limit_error",
73
+ } as const;
74
+ /**
75
+ * Error type category
76
+ */
77
+ export type GetListingByIdListingsType = ClosedEnum<
78
+ typeof GetListingByIdListingsType
79
+ >;
80
+
81
+ export type GetListingByIdError = {
82
+ /**
83
+ * Machine-readable error code
84
+ */
85
+ code?: string | undefined;
86
+ /**
87
+ * URL to relevant documentation
88
+ */
89
+ docUrl?: string | undefined;
90
+ /**
91
+ * Human-readable error message
92
+ */
93
+ message: string;
94
+ /**
95
+ * Parameter that caused the error
96
+ */
97
+ param?: string | undefined;
98
+ /**
99
+ * Error type category
100
+ */
101
+ type: GetListingByIdListingsType;
102
+ };
103
+
104
+ /**
105
+ * Error response
106
+ */
107
+ export type GetListingByIdListingsResponseBody = {
108
+ error: GetListingByIdError;
109
+ };
110
+
111
+ /**
112
+ * Listing address
113
+ */
114
+ export type Address = {
115
+ /**
116
+ * City
117
+ */
118
+ city?: string | null | undefined;
119
+ /**
120
+ * Country code
121
+ */
122
+ country?: string | undefined;
123
+ /**
124
+ * District
125
+ */
126
+ district?: string | null | undefined;
127
+ /**
128
+ * Postcode incode
129
+ */
130
+ incode?: string | undefined;
131
+ /**
132
+ * Original address string from source
133
+ */
134
+ originalAddress: string;
135
+ /**
136
+ * Postcode outcode
137
+ */
138
+ outcode?: string | undefined;
139
+ /**
140
+ * UK postcode
141
+ */
142
+ postcode: string;
143
+ /**
144
+ * Property number
145
+ */
146
+ propertyNumber?: string | null | undefined;
147
+ /**
148
+ * Region
149
+ */
150
+ region?: string | null | undefined;
151
+ /**
152
+ * Street name
153
+ */
154
+ street?: string | null | undefined;
155
+ };
156
+
157
+ /**
158
+ * Agent information
159
+ */
160
+ export type Agent = {
161
+ /**
162
+ * Agency address
163
+ */
164
+ address?: string | null | undefined;
165
+ /**
166
+ * Provider's agency ID
167
+ */
168
+ agencyId?: string | null | undefined;
169
+ /**
170
+ * Agency name
171
+ */
172
+ agencyName?: string | null | undefined;
173
+ /**
174
+ * Provider's agent ID
175
+ */
176
+ agentId?: string | null | undefined;
177
+ /**
178
+ * Agent name
179
+ */
180
+ agentName?: string | null | undefined;
181
+ /**
182
+ * Provider's branch ID
183
+ */
184
+ branchId?: string | null | undefined;
185
+ /**
186
+ * Branch name
187
+ */
188
+ branchName?: string | null | undefined;
189
+ /**
190
+ * Contact email
191
+ */
192
+ email?: string | null | undefined;
193
+ /**
194
+ * Additional email addresses
195
+ */
196
+ emails?: Array<string> | null | undefined;
197
+ /**
198
+ * Contact phone
199
+ */
200
+ phone?: string | null | undefined;
201
+ /**
202
+ * Additional phone numbers
203
+ */
204
+ phones?: Array<string> | null | undefined;
205
+ /**
206
+ * Agency postcode
207
+ */
208
+ postcode?: string | null | undefined;
209
+ /**
210
+ * Agency website
211
+ */
212
+ website?: string | null | undefined;
213
+ };
214
+
215
+ /**
216
+ * Type of image
217
+ */
218
+ export const GetListingByIdListingsResponse200ApplicationJSONResponseBodyDataBrochureImagesType =
219
+ {
220
+ Standard: "standard",
221
+ Floorplan: "floorplan",
222
+ Epc: "epc",
223
+ Brochure: "brochure",
224
+ } as const;
225
+ /**
226
+ * Type of image
227
+ */
228
+ export type GetListingByIdListingsResponse200ApplicationJSONResponseBodyDataBrochureImagesType =
229
+ ClosedEnum<
230
+ typeof GetListingByIdListingsResponse200ApplicationJSONResponseBodyDataBrochureImagesType
231
+ >;
232
+
233
+ /**
234
+ * Listing image
235
+ */
236
+ export type BrochureImages = {
237
+ /**
238
+ * Image caption
239
+ */
240
+ caption?: string | null | undefined;
241
+ /**
242
+ * Display order
243
+ */
244
+ order?: number | null | undefined;
245
+ /**
246
+ * Type of image
247
+ */
248
+ type?:
249
+ | GetListingByIdListingsResponse200ApplicationJSONResponseBodyDataBrochureImagesType
250
+ | null
251
+ | undefined;
252
+ /**
253
+ * Image URL
254
+ */
255
+ url: string;
256
+ };
257
+
258
+ /**
259
+ * Property category
260
+ */
261
+ export const GetListingByIdCategory = {
262
+ Residential: "residential",
263
+ Commercial: "commercial",
264
+ } as const;
265
+ /**
266
+ * Property category
267
+ */
268
+ export type GetListingByIdCategory = ClosedEnum<typeof GetListingByIdCategory>;
269
+
270
+ /**
271
+ * Type of image
272
+ */
273
+ export const GetListingByIdListingsResponse200ApplicationJSONResponseBodyDataEnergyRatingImagesType =
274
+ {
275
+ Standard: "standard",
276
+ Floorplan: "floorplan",
277
+ Epc: "epc",
278
+ Brochure: "brochure",
279
+ } as const;
280
+ /**
281
+ * Type of image
282
+ */
283
+ export type GetListingByIdListingsResponse200ApplicationJSONResponseBodyDataEnergyRatingImagesType =
284
+ ClosedEnum<
285
+ typeof GetListingByIdListingsResponse200ApplicationJSONResponseBodyDataEnergyRatingImagesType
286
+ >;
287
+
288
+ /**
289
+ * Listing image
290
+ */
291
+ export type EnergyRatingImages = {
292
+ /**
293
+ * Image caption
294
+ */
295
+ caption?: string | null | undefined;
296
+ /**
297
+ * Display order
298
+ */
299
+ order?: number | null | undefined;
300
+ /**
301
+ * Type of image
302
+ */
303
+ type?:
304
+ | GetListingByIdListingsResponse200ApplicationJSONResponseBodyDataEnergyRatingImagesType
305
+ | null
306
+ | undefined;
307
+ /**
308
+ * Image URL
309
+ */
310
+ url: string;
311
+ };
312
+
313
+ /**
314
+ * Property feature
315
+ */
316
+ export type Features = {
317
+ /**
318
+ * Feature identifier
319
+ */
320
+ featureId: string;
321
+ /**
322
+ * Feature value
323
+ */
324
+ value: string;
325
+ };
326
+
327
+ /**
328
+ * Type of image
329
+ */
330
+ export const GetListingByIdListingsResponse200Type = {
331
+ Standard: "standard",
332
+ Floorplan: "floorplan",
333
+ Epc: "epc",
334
+ Brochure: "brochure",
335
+ } as const;
336
+ /**
337
+ * Type of image
338
+ */
339
+ export type GetListingByIdListingsResponse200Type = ClosedEnum<
340
+ typeof GetListingByIdListingsResponse200Type
341
+ >;
342
+
343
+ /**
344
+ * Listing image
345
+ */
346
+ export type FloorPlanImages = {
347
+ /**
348
+ * Image caption
349
+ */
350
+ caption?: string | null | undefined;
351
+ /**
352
+ * Display order
353
+ */
354
+ order?: number | null | undefined;
355
+ /**
356
+ * Type of image
357
+ */
358
+ type?: GetListingByIdListingsResponse200Type | null | undefined;
359
+ /**
360
+ * Image URL
361
+ */
362
+ url: string;
363
+ };
364
+
365
+ /**
366
+ * Type of image
367
+ */
368
+ export const GetListingByIdListingsResponse200ApplicationJSONType = {
369
+ Standard: "standard",
370
+ Floorplan: "floorplan",
371
+ Epc: "epc",
372
+ Brochure: "brochure",
373
+ } as const;
374
+ /**
375
+ * Type of image
376
+ */
377
+ export type GetListingByIdListingsResponse200ApplicationJSONType = ClosedEnum<
378
+ typeof GetListingByIdListingsResponse200ApplicationJSONType
379
+ >;
380
+
381
+ /**
382
+ * Listing image
383
+ */
384
+ export type Images = {
385
+ /**
386
+ * Image caption
387
+ */
388
+ caption?: string | null | undefined;
389
+ /**
390
+ * Display order
391
+ */
392
+ order?: number | null | undefined;
393
+ /**
394
+ * Type of image
395
+ */
396
+ type?:
397
+ | GetListingByIdListingsResponse200ApplicationJSONType
398
+ | null
399
+ | undefined;
400
+ /**
401
+ * Image URL
402
+ */
403
+ url: string;
404
+ };
405
+
406
+ /**
407
+ * Narrative content (string or array of strings)
408
+ */
409
+ export type Content = string | Array<string> | any;
410
+
411
+ /**
412
+ * Type of narrative content
413
+ */
414
+ export const GetListingByIdListingsResponse200ApplicationJSONResponseBodyType =
415
+ {
416
+ Summary: "summary",
417
+ Description: "description",
418
+ Features: "features",
419
+ Location: "location",
420
+ Other: "other",
421
+ } as const;
422
+ /**
423
+ * Type of narrative content
424
+ */
425
+ export type GetListingByIdListingsResponse200ApplicationJSONResponseBodyType =
426
+ ClosedEnum<
427
+ typeof GetListingByIdListingsResponse200ApplicationJSONResponseBodyType
428
+ >;
429
+
430
+ /**
431
+ * Listing narrative content
432
+ */
433
+ export type Narratives = {
434
+ /**
435
+ * Narrative content (string or array of strings)
436
+ */
437
+ content?: string | Array<string> | any | null | undefined;
438
+ /**
439
+ * Type of narrative content
440
+ */
441
+ type: GetListingByIdListingsResponse200ApplicationJSONResponseBodyType;
442
+ };
443
+
444
+ /**
445
+ * Direction of price change
446
+ */
447
+ export const Direction = {
448
+ Increase: "increase",
449
+ Decrease: "decrease",
450
+ Nochange: "nochange",
451
+ } as const;
452
+ /**
453
+ * Direction of price change
454
+ */
455
+ export type Direction = ClosedEnum<typeof Direction>;
456
+
457
+ /**
458
+ * Price change record
459
+ */
460
+ export type PriceHistory = {
461
+ /**
462
+ * Price change amount in pence
463
+ */
464
+ amount?: number | null | undefined;
465
+ /**
466
+ * Date of price change
467
+ */
468
+ date: Date;
469
+ /**
470
+ * Direction of price change
471
+ */
472
+ direction?: Direction | undefined;
473
+ /**
474
+ * Previous price in pence
475
+ */
476
+ oldPrice?: number | null | undefined;
477
+ /**
478
+ * Price change percentage
479
+ */
480
+ percent?: number | null | undefined;
481
+ /**
482
+ * New price in pence
483
+ */
484
+ price: number;
485
+ };
486
+
487
+ /**
488
+ * GeoJSON geometry type
489
+ */
490
+ export const GetListingByIdListingsResponse200ApplicationJSONResponseBodyDataType =
491
+ {
492
+ Point: "Point",
493
+ } as const;
494
+ /**
495
+ * GeoJSON geometry type
496
+ */
497
+ export type GetListingByIdListingsResponse200ApplicationJSONResponseBodyDataType =
498
+ ClosedEnum<
499
+ typeof GetListingByIdListingsResponse200ApplicationJSONResponseBodyDataType
500
+ >;
501
+
502
+ /**
503
+ * GeoJSON point geometry
504
+ */
505
+ export type GeoJSONPoint = {
506
+ /**
507
+ * Coordinate pair [longitude, latitude]
508
+ */
509
+ coordinates: Array<number>;
510
+ /**
511
+ * GeoJSON geometry type
512
+ */
513
+ type: GetListingByIdListingsResponse200ApplicationJSONResponseBodyDataType;
514
+ };
515
+
516
+ /**
517
+ * Current status of the listing
518
+ */
519
+ export const GetListingByIdStatus = {
520
+ Live: "live",
521
+ Archived: "archived",
522
+ Removed: "removed",
523
+ } as const;
524
+ /**
525
+ * Current status of the listing
526
+ */
527
+ export type GetListingByIdStatus = ClosedEnum<typeof GetListingByIdStatus>;
528
+
529
+ /**
530
+ * Whether listing is for sale or rent
531
+ */
532
+ export const GetListingByIdType = {
533
+ Sale: "sale",
534
+ Rent: "rent",
535
+ } as const;
536
+ /**
537
+ * Whether listing is for sale or rent
538
+ */
539
+ export type GetListingByIdType = ClosedEnum<typeof GetListingByIdType>;
540
+
541
+ /**
542
+ * Listing data
543
+ */
544
+ export type Data = {
545
+ /**
546
+ * Listing address
547
+ */
548
+ address: Address;
549
+ /**
550
+ * Agent information
551
+ */
552
+ agent?: Agent | null | undefined;
553
+ /**
554
+ * Number of bathrooms
555
+ */
556
+ baths?: number | null | undefined;
557
+ /**
558
+ * Number of bedrooms
559
+ */
560
+ beds?: number | null | undefined;
561
+ /**
562
+ * Brochure images
563
+ */
564
+ brochureImages?: Array<BrochureImages> | undefined;
565
+ /**
566
+ * Property category
567
+ */
568
+ category: GetListingByIdCategory;
569
+ /**
570
+ * Record creation timestamp
571
+ */
572
+ createdAt?: Date | undefined;
573
+ /**
574
+ * Currency code
575
+ */
576
+ currency?: string | undefined;
577
+ /**
578
+ * Formatted display address
579
+ */
580
+ displayAddress?: string | undefined;
581
+ /**
582
+ * EPC images
583
+ */
584
+ energyRatingImages?: Array<EnergyRatingImages> | undefined;
585
+ /**
586
+ * Property features
587
+ */
588
+ features?: Array<Features> | null | undefined;
589
+ /**
590
+ * Floor plan images
591
+ */
592
+ floorPlanImages?: Array<FloorPlanImages> | undefined;
593
+ /**
594
+ * Unique listing identifier
595
+ */
596
+ id: string;
597
+ /**
598
+ * Property images
599
+ */
600
+ images?: Array<Images> | undefined;
601
+ /**
602
+ * Auction property
603
+ */
604
+ isAuction?: boolean | undefined;
605
+ /**
606
+ * New build property
607
+ */
608
+ isNewBuild?: boolean | undefined;
609
+ /**
610
+ * Retirement property
611
+ */
612
+ isRetirement?: boolean | undefined;
613
+ /**
614
+ * Shared ownership
615
+ */
616
+ isSharedOwnership?: boolean | undefined;
617
+ /**
618
+ * Provider's listing reference
619
+ */
620
+ key: string;
621
+ /**
622
+ * Latitude
623
+ */
624
+ lat?: number | undefined;
625
+ /**
626
+ * Longitude
627
+ */
628
+ lng?: number | undefined;
629
+ /**
630
+ * Location identifier
631
+ */
632
+ locationId?: string | null | undefined;
633
+ /**
634
+ * Descriptive content
635
+ */
636
+ narratives?: Array<Narratives> | null | undefined;
637
+ /**
638
+ * Current price in pence
639
+ */
640
+ price: number;
641
+ /**
642
+ * Price change history
643
+ */
644
+ priceHistory?: Array<PriceHistory> | undefined;
645
+ /**
646
+ * Property type
647
+ */
648
+ propertyType: string;
649
+ /**
650
+ * Data provider
651
+ */
652
+ provider: string;
653
+ /**
654
+ * Date listing was published
655
+ */
656
+ publishedDate: Date;
657
+ /**
658
+ * Number of reception rooms
659
+ */
660
+ receptions?: number | null | undefined;
661
+ /**
662
+ * Date listing was removed
663
+ */
664
+ removedDate?: Date | null | undefined;
665
+ /**
666
+ * GeoJSON point geometry
667
+ */
668
+ spatial?: GeoJSONPoint | null | undefined;
669
+ /**
670
+ * Current status of the listing
671
+ */
672
+ status: GetListingByIdStatus;
673
+ /**
674
+ * Property sub-type
675
+ */
676
+ subPropertyType?: string | null | undefined;
677
+ /**
678
+ * Whether listing is for sale or rent
679
+ */
680
+ type: GetListingByIdType;
681
+ /**
682
+ * Record last update timestamp
683
+ */
684
+ updatedAt?: Date | undefined;
685
+ };
686
+
687
+ /**
688
+ * Single listing response
689
+ */
690
+ export type GetListingByIdResponseBody = {
691
+ /**
692
+ * Listing data
693
+ */
694
+ data: Data;
695
+ /**
696
+ * Request success status
697
+ */
698
+ success: boolean;
699
+ };
700
+
701
+ export type GetListingByIdResponse =
702
+ | GetListingByIdResponseBody
703
+ | GetListingByIdListingsResponseBody
704
+ | GetListingByIdListingsResponseResponseBody;
705
+
706
+ /** @internal */
707
+ export const GetListingByIdRequest$inboundSchema: z.ZodType<
708
+ GetListingByIdRequest,
709
+ z.ZodTypeDef,
710
+ unknown
711
+ > = z.object({
712
+ id: z.string(),
713
+ });
714
+
715
+ /** @internal */
716
+ export type GetListingByIdRequest$Outbound = {
717
+ id: string;
718
+ };
719
+
720
+ /** @internal */
721
+ export const GetListingByIdRequest$outboundSchema: z.ZodType<
722
+ GetListingByIdRequest$Outbound,
723
+ z.ZodTypeDef,
724
+ GetListingByIdRequest
725
+ > = z.object({
726
+ id: z.string(),
727
+ });
728
+
729
+ /**
730
+ * @internal
731
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
732
+ */
733
+ export namespace GetListingByIdRequest$ {
734
+ /** @deprecated use `GetListingByIdRequest$inboundSchema` instead. */
735
+ export const inboundSchema = GetListingByIdRequest$inboundSchema;
736
+ /** @deprecated use `GetListingByIdRequest$outboundSchema` instead. */
737
+ export const outboundSchema = GetListingByIdRequest$outboundSchema;
738
+ /** @deprecated use `GetListingByIdRequest$Outbound` instead. */
739
+ export type Outbound = GetListingByIdRequest$Outbound;
740
+ }
741
+
742
+ export function getListingByIdRequestToJSON(
743
+ getListingByIdRequest: GetListingByIdRequest,
744
+ ): string {
745
+ return JSON.stringify(
746
+ GetListingByIdRequest$outboundSchema.parse(getListingByIdRequest),
747
+ );
748
+ }
749
+
750
+ export function getListingByIdRequestFromJSON(
751
+ jsonString: string,
752
+ ): SafeParseResult<GetListingByIdRequest, SDKValidationError> {
753
+ return safeParse(
754
+ jsonString,
755
+ (x) => GetListingByIdRequest$inboundSchema.parse(JSON.parse(x)),
756
+ `Failed to parse 'GetListingByIdRequest' from JSON`,
757
+ );
758
+ }
759
+
760
+ /** @internal */
761
+ export const GetListingByIdListingsResponseType$inboundSchema: z.ZodNativeEnum<
762
+ typeof GetListingByIdListingsResponseType
763
+ > = z.nativeEnum(GetListingByIdListingsResponseType);
764
+
765
+ /** @internal */
766
+ export const GetListingByIdListingsResponseType$outboundSchema: z.ZodNativeEnum<
767
+ typeof GetListingByIdListingsResponseType
768
+ > = GetListingByIdListingsResponseType$inboundSchema;
769
+
770
+ /**
771
+ * @internal
772
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
773
+ */
774
+ export namespace GetListingByIdListingsResponseType$ {
775
+ /** @deprecated use `GetListingByIdListingsResponseType$inboundSchema` instead. */
776
+ export const inboundSchema = GetListingByIdListingsResponseType$inboundSchema;
777
+ /** @deprecated use `GetListingByIdListingsResponseType$outboundSchema` instead. */
778
+ export const outboundSchema =
779
+ GetListingByIdListingsResponseType$outboundSchema;
780
+ }
781
+
782
+ /** @internal */
783
+ export const GetListingByIdListingsError$inboundSchema: z.ZodType<
784
+ GetListingByIdListingsError,
785
+ z.ZodTypeDef,
786
+ unknown
787
+ > = z.object({
788
+ code: z.string().optional(),
789
+ doc_url: z.string().optional(),
790
+ message: z.string(),
791
+ param: z.string().optional(),
792
+ type: GetListingByIdListingsResponseType$inboundSchema,
793
+ }).transform((v) => {
794
+ return remap$(v, {
795
+ "doc_url": "docUrl",
796
+ });
797
+ });
798
+
799
+ /** @internal */
800
+ export type GetListingByIdListingsError$Outbound = {
801
+ code?: string | undefined;
802
+ doc_url?: string | undefined;
803
+ message: string;
804
+ param?: string | undefined;
805
+ type: string;
806
+ };
807
+
808
+ /** @internal */
809
+ export const GetListingByIdListingsError$outboundSchema: z.ZodType<
810
+ GetListingByIdListingsError$Outbound,
811
+ z.ZodTypeDef,
812
+ GetListingByIdListingsError
813
+ > = z.object({
814
+ code: z.string().optional(),
815
+ docUrl: z.string().optional(),
816
+ message: z.string(),
817
+ param: z.string().optional(),
818
+ type: GetListingByIdListingsResponseType$outboundSchema,
819
+ }).transform((v) => {
820
+ return remap$(v, {
821
+ docUrl: "doc_url",
822
+ });
823
+ });
824
+
825
+ /**
826
+ * @internal
827
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
828
+ */
829
+ export namespace GetListingByIdListingsError$ {
830
+ /** @deprecated use `GetListingByIdListingsError$inboundSchema` instead. */
831
+ export const inboundSchema = GetListingByIdListingsError$inboundSchema;
832
+ /** @deprecated use `GetListingByIdListingsError$outboundSchema` instead. */
833
+ export const outboundSchema = GetListingByIdListingsError$outboundSchema;
834
+ /** @deprecated use `GetListingByIdListingsError$Outbound` instead. */
835
+ export type Outbound = GetListingByIdListingsError$Outbound;
836
+ }
837
+
838
+ export function getListingByIdListingsErrorToJSON(
839
+ getListingByIdListingsError: GetListingByIdListingsError,
840
+ ): string {
841
+ return JSON.stringify(
842
+ GetListingByIdListingsError$outboundSchema.parse(
843
+ getListingByIdListingsError,
844
+ ),
845
+ );
846
+ }
847
+
848
+ export function getListingByIdListingsErrorFromJSON(
849
+ jsonString: string,
850
+ ): SafeParseResult<GetListingByIdListingsError, SDKValidationError> {
851
+ return safeParse(
852
+ jsonString,
853
+ (x) => GetListingByIdListingsError$inboundSchema.parse(JSON.parse(x)),
854
+ `Failed to parse 'GetListingByIdListingsError' from JSON`,
855
+ );
856
+ }
857
+
858
+ /** @internal */
859
+ export const GetListingByIdListingsResponseResponseBody$inboundSchema:
860
+ z.ZodType<GetListingByIdListingsResponseResponseBody, z.ZodTypeDef, unknown> =
861
+ z.object({
862
+ error: z.lazy(() => GetListingByIdListingsError$inboundSchema),
863
+ });
864
+
865
+ /** @internal */
866
+ export type GetListingByIdListingsResponseResponseBody$Outbound = {
867
+ error: GetListingByIdListingsError$Outbound;
868
+ };
869
+
870
+ /** @internal */
871
+ export const GetListingByIdListingsResponseResponseBody$outboundSchema:
872
+ z.ZodType<
873
+ GetListingByIdListingsResponseResponseBody$Outbound,
874
+ z.ZodTypeDef,
875
+ GetListingByIdListingsResponseResponseBody
876
+ > = z.object({
877
+ error: z.lazy(() => GetListingByIdListingsError$outboundSchema),
878
+ });
879
+
880
+ /**
881
+ * @internal
882
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
883
+ */
884
+ export namespace GetListingByIdListingsResponseResponseBody$ {
885
+ /** @deprecated use `GetListingByIdListingsResponseResponseBody$inboundSchema` instead. */
886
+ export const inboundSchema =
887
+ GetListingByIdListingsResponseResponseBody$inboundSchema;
888
+ /** @deprecated use `GetListingByIdListingsResponseResponseBody$outboundSchema` instead. */
889
+ export const outboundSchema =
890
+ GetListingByIdListingsResponseResponseBody$outboundSchema;
891
+ /** @deprecated use `GetListingByIdListingsResponseResponseBody$Outbound` instead. */
892
+ export type Outbound = GetListingByIdListingsResponseResponseBody$Outbound;
893
+ }
894
+
895
+ export function getListingByIdListingsResponseResponseBodyToJSON(
896
+ getListingByIdListingsResponseResponseBody:
897
+ GetListingByIdListingsResponseResponseBody,
898
+ ): string {
899
+ return JSON.stringify(
900
+ GetListingByIdListingsResponseResponseBody$outboundSchema.parse(
901
+ getListingByIdListingsResponseResponseBody,
902
+ ),
903
+ );
904
+ }
905
+
906
+ export function getListingByIdListingsResponseResponseBodyFromJSON(
907
+ jsonString: string,
908
+ ): SafeParseResult<
909
+ GetListingByIdListingsResponseResponseBody,
910
+ SDKValidationError
911
+ > {
912
+ return safeParse(
913
+ jsonString,
914
+ (x) =>
915
+ GetListingByIdListingsResponseResponseBody$inboundSchema.parse(
916
+ JSON.parse(x),
917
+ ),
918
+ `Failed to parse 'GetListingByIdListingsResponseResponseBody' from JSON`,
919
+ );
920
+ }
921
+
922
+ /** @internal */
923
+ export const GetListingByIdListingsType$inboundSchema: z.ZodNativeEnum<
924
+ typeof GetListingByIdListingsType
925
+ > = z.nativeEnum(GetListingByIdListingsType);
926
+
927
+ /** @internal */
928
+ export const GetListingByIdListingsType$outboundSchema: z.ZodNativeEnum<
929
+ typeof GetListingByIdListingsType
930
+ > = GetListingByIdListingsType$inboundSchema;
931
+
932
+ /**
933
+ * @internal
934
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
935
+ */
936
+ export namespace GetListingByIdListingsType$ {
937
+ /** @deprecated use `GetListingByIdListingsType$inboundSchema` instead. */
938
+ export const inboundSchema = GetListingByIdListingsType$inboundSchema;
939
+ /** @deprecated use `GetListingByIdListingsType$outboundSchema` instead. */
940
+ export const outboundSchema = GetListingByIdListingsType$outboundSchema;
941
+ }
942
+
943
+ /** @internal */
944
+ export const GetListingByIdError$inboundSchema: z.ZodType<
945
+ GetListingByIdError,
946
+ z.ZodTypeDef,
947
+ unknown
948
+ > = z.object({
949
+ code: z.string().optional(),
950
+ doc_url: z.string().optional(),
951
+ message: z.string(),
952
+ param: z.string().optional(),
953
+ type: GetListingByIdListingsType$inboundSchema,
954
+ }).transform((v) => {
955
+ return remap$(v, {
956
+ "doc_url": "docUrl",
957
+ });
958
+ });
959
+
960
+ /** @internal */
961
+ export type GetListingByIdError$Outbound = {
962
+ code?: string | undefined;
963
+ doc_url?: string | undefined;
964
+ message: string;
965
+ param?: string | undefined;
966
+ type: string;
967
+ };
968
+
969
+ /** @internal */
970
+ export const GetListingByIdError$outboundSchema: z.ZodType<
971
+ GetListingByIdError$Outbound,
972
+ z.ZodTypeDef,
973
+ GetListingByIdError
974
+ > = z.object({
975
+ code: z.string().optional(),
976
+ docUrl: z.string().optional(),
977
+ message: z.string(),
978
+ param: z.string().optional(),
979
+ type: GetListingByIdListingsType$outboundSchema,
980
+ }).transform((v) => {
981
+ return remap$(v, {
982
+ docUrl: "doc_url",
983
+ });
984
+ });
985
+
986
+ /**
987
+ * @internal
988
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
989
+ */
990
+ export namespace GetListingByIdError$ {
991
+ /** @deprecated use `GetListingByIdError$inboundSchema` instead. */
992
+ export const inboundSchema = GetListingByIdError$inboundSchema;
993
+ /** @deprecated use `GetListingByIdError$outboundSchema` instead. */
994
+ export const outboundSchema = GetListingByIdError$outboundSchema;
995
+ /** @deprecated use `GetListingByIdError$Outbound` instead. */
996
+ export type Outbound = GetListingByIdError$Outbound;
997
+ }
998
+
999
+ export function getListingByIdErrorToJSON(
1000
+ getListingByIdError: GetListingByIdError,
1001
+ ): string {
1002
+ return JSON.stringify(
1003
+ GetListingByIdError$outboundSchema.parse(getListingByIdError),
1004
+ );
1005
+ }
1006
+
1007
+ export function getListingByIdErrorFromJSON(
1008
+ jsonString: string,
1009
+ ): SafeParseResult<GetListingByIdError, SDKValidationError> {
1010
+ return safeParse(
1011
+ jsonString,
1012
+ (x) => GetListingByIdError$inboundSchema.parse(JSON.parse(x)),
1013
+ `Failed to parse 'GetListingByIdError' from JSON`,
1014
+ );
1015
+ }
1016
+
1017
+ /** @internal */
1018
+ export const GetListingByIdListingsResponseBody$inboundSchema: z.ZodType<
1019
+ GetListingByIdListingsResponseBody,
1020
+ z.ZodTypeDef,
1021
+ unknown
1022
+ > = z.object({
1023
+ error: z.lazy(() => GetListingByIdError$inboundSchema),
1024
+ });
1025
+
1026
+ /** @internal */
1027
+ export type GetListingByIdListingsResponseBody$Outbound = {
1028
+ error: GetListingByIdError$Outbound;
1029
+ };
1030
+
1031
+ /** @internal */
1032
+ export const GetListingByIdListingsResponseBody$outboundSchema: z.ZodType<
1033
+ GetListingByIdListingsResponseBody$Outbound,
1034
+ z.ZodTypeDef,
1035
+ GetListingByIdListingsResponseBody
1036
+ > = z.object({
1037
+ error: z.lazy(() => GetListingByIdError$outboundSchema),
1038
+ });
1039
+
1040
+ /**
1041
+ * @internal
1042
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1043
+ */
1044
+ export namespace GetListingByIdListingsResponseBody$ {
1045
+ /** @deprecated use `GetListingByIdListingsResponseBody$inboundSchema` instead. */
1046
+ export const inboundSchema = GetListingByIdListingsResponseBody$inboundSchema;
1047
+ /** @deprecated use `GetListingByIdListingsResponseBody$outboundSchema` instead. */
1048
+ export const outboundSchema =
1049
+ GetListingByIdListingsResponseBody$outboundSchema;
1050
+ /** @deprecated use `GetListingByIdListingsResponseBody$Outbound` instead. */
1051
+ export type Outbound = GetListingByIdListingsResponseBody$Outbound;
1052
+ }
1053
+
1054
+ export function getListingByIdListingsResponseBodyToJSON(
1055
+ getListingByIdListingsResponseBody: GetListingByIdListingsResponseBody,
1056
+ ): string {
1057
+ return JSON.stringify(
1058
+ GetListingByIdListingsResponseBody$outboundSchema.parse(
1059
+ getListingByIdListingsResponseBody,
1060
+ ),
1061
+ );
1062
+ }
1063
+
1064
+ export function getListingByIdListingsResponseBodyFromJSON(
1065
+ jsonString: string,
1066
+ ): SafeParseResult<GetListingByIdListingsResponseBody, SDKValidationError> {
1067
+ return safeParse(
1068
+ jsonString,
1069
+ (x) =>
1070
+ GetListingByIdListingsResponseBody$inboundSchema.parse(JSON.parse(x)),
1071
+ `Failed to parse 'GetListingByIdListingsResponseBody' from JSON`,
1072
+ );
1073
+ }
1074
+
1075
+ /** @internal */
1076
+ export const Address$inboundSchema: z.ZodType<Address, z.ZodTypeDef, unknown> =
1077
+ z.object({
1078
+ city: z.nullable(z.string()).optional(),
1079
+ country: z.string().default("GB"),
1080
+ district: z.nullable(z.string()).optional(),
1081
+ incode: z.string().optional(),
1082
+ originalAddress: z.string(),
1083
+ outcode: z.string().optional(),
1084
+ postcode: z.string(),
1085
+ propertyNumber: z.nullable(z.string()).optional(),
1086
+ region: z.nullable(z.string()).optional(),
1087
+ street: z.nullable(z.string()).optional(),
1088
+ });
1089
+
1090
+ /** @internal */
1091
+ export type Address$Outbound = {
1092
+ city?: string | null | undefined;
1093
+ country: string;
1094
+ district?: string | null | undefined;
1095
+ incode?: string | undefined;
1096
+ originalAddress: string;
1097
+ outcode?: string | undefined;
1098
+ postcode: string;
1099
+ propertyNumber?: string | null | undefined;
1100
+ region?: string | null | undefined;
1101
+ street?: string | null | undefined;
1102
+ };
1103
+
1104
+ /** @internal */
1105
+ export const Address$outboundSchema: z.ZodType<
1106
+ Address$Outbound,
1107
+ z.ZodTypeDef,
1108
+ Address
1109
+ > = z.object({
1110
+ city: z.nullable(z.string()).optional(),
1111
+ country: z.string().default("GB"),
1112
+ district: z.nullable(z.string()).optional(),
1113
+ incode: z.string().optional(),
1114
+ originalAddress: z.string(),
1115
+ outcode: z.string().optional(),
1116
+ postcode: z.string(),
1117
+ propertyNumber: z.nullable(z.string()).optional(),
1118
+ region: z.nullable(z.string()).optional(),
1119
+ street: z.nullable(z.string()).optional(),
1120
+ });
1121
+
1122
+ /**
1123
+ * @internal
1124
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1125
+ */
1126
+ export namespace Address$ {
1127
+ /** @deprecated use `Address$inboundSchema` instead. */
1128
+ export const inboundSchema = Address$inboundSchema;
1129
+ /** @deprecated use `Address$outboundSchema` instead. */
1130
+ export const outboundSchema = Address$outboundSchema;
1131
+ /** @deprecated use `Address$Outbound` instead. */
1132
+ export type Outbound = Address$Outbound;
1133
+ }
1134
+
1135
+ export function addressToJSON(address: Address): string {
1136
+ return JSON.stringify(Address$outboundSchema.parse(address));
1137
+ }
1138
+
1139
+ export function addressFromJSON(
1140
+ jsonString: string,
1141
+ ): SafeParseResult<Address, SDKValidationError> {
1142
+ return safeParse(
1143
+ jsonString,
1144
+ (x) => Address$inboundSchema.parse(JSON.parse(x)),
1145
+ `Failed to parse 'Address' from JSON`,
1146
+ );
1147
+ }
1148
+
1149
+ /** @internal */
1150
+ export const Agent$inboundSchema: z.ZodType<Agent, z.ZodTypeDef, unknown> = z
1151
+ .object({
1152
+ address: z.nullable(z.string()).optional(),
1153
+ agencyId: z.nullable(z.string()).optional(),
1154
+ agencyName: z.nullable(z.string()).optional(),
1155
+ agentId: z.nullable(z.string()).optional(),
1156
+ agentName: z.nullable(z.string()).optional(),
1157
+ branchId: z.nullable(z.string()).optional(),
1158
+ branchName: z.nullable(z.string()).optional(),
1159
+ email: z.nullable(z.string()).optional(),
1160
+ emails: z.nullable(z.array(z.string())).optional(),
1161
+ phone: z.nullable(z.string()).optional(),
1162
+ phones: z.nullable(z.array(z.string())).optional(),
1163
+ postcode: z.nullable(z.string()).optional(),
1164
+ website: z.nullable(z.string()).optional(),
1165
+ });
1166
+
1167
+ /** @internal */
1168
+ export type Agent$Outbound = {
1169
+ address?: string | null | undefined;
1170
+ agencyId?: string | null | undefined;
1171
+ agencyName?: string | null | undefined;
1172
+ agentId?: string | null | undefined;
1173
+ agentName?: string | null | undefined;
1174
+ branchId?: string | null | undefined;
1175
+ branchName?: string | null | undefined;
1176
+ email?: string | null | undefined;
1177
+ emails?: Array<string> | null | undefined;
1178
+ phone?: string | null | undefined;
1179
+ phones?: Array<string> | null | undefined;
1180
+ postcode?: string | null | undefined;
1181
+ website?: string | null | undefined;
1182
+ };
1183
+
1184
+ /** @internal */
1185
+ export const Agent$outboundSchema: z.ZodType<
1186
+ Agent$Outbound,
1187
+ z.ZodTypeDef,
1188
+ Agent
1189
+ > = z.object({
1190
+ address: z.nullable(z.string()).optional(),
1191
+ agencyId: z.nullable(z.string()).optional(),
1192
+ agencyName: z.nullable(z.string()).optional(),
1193
+ agentId: z.nullable(z.string()).optional(),
1194
+ agentName: z.nullable(z.string()).optional(),
1195
+ branchId: z.nullable(z.string()).optional(),
1196
+ branchName: z.nullable(z.string()).optional(),
1197
+ email: z.nullable(z.string()).optional(),
1198
+ emails: z.nullable(z.array(z.string())).optional(),
1199
+ phone: z.nullable(z.string()).optional(),
1200
+ phones: z.nullable(z.array(z.string())).optional(),
1201
+ postcode: z.nullable(z.string()).optional(),
1202
+ website: z.nullable(z.string()).optional(),
1203
+ });
1204
+
1205
+ /**
1206
+ * @internal
1207
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1208
+ */
1209
+ export namespace Agent$ {
1210
+ /** @deprecated use `Agent$inboundSchema` instead. */
1211
+ export const inboundSchema = Agent$inboundSchema;
1212
+ /** @deprecated use `Agent$outboundSchema` instead. */
1213
+ export const outboundSchema = Agent$outboundSchema;
1214
+ /** @deprecated use `Agent$Outbound` instead. */
1215
+ export type Outbound = Agent$Outbound;
1216
+ }
1217
+
1218
+ export function agentToJSON(agent: Agent): string {
1219
+ return JSON.stringify(Agent$outboundSchema.parse(agent));
1220
+ }
1221
+
1222
+ export function agentFromJSON(
1223
+ jsonString: string,
1224
+ ): SafeParseResult<Agent, SDKValidationError> {
1225
+ return safeParse(
1226
+ jsonString,
1227
+ (x) => Agent$inboundSchema.parse(JSON.parse(x)),
1228
+ `Failed to parse 'Agent' from JSON`,
1229
+ );
1230
+ }
1231
+
1232
+ /** @internal */
1233
+ export const GetListingByIdListingsResponse200ApplicationJSONResponseBodyDataBrochureImagesType$inboundSchema:
1234
+ z.ZodNativeEnum<
1235
+ typeof GetListingByIdListingsResponse200ApplicationJSONResponseBodyDataBrochureImagesType
1236
+ > = z.nativeEnum(
1237
+ GetListingByIdListingsResponse200ApplicationJSONResponseBodyDataBrochureImagesType,
1238
+ );
1239
+
1240
+ /** @internal */
1241
+ export const GetListingByIdListingsResponse200ApplicationJSONResponseBodyDataBrochureImagesType$outboundSchema:
1242
+ z.ZodNativeEnum<
1243
+ typeof GetListingByIdListingsResponse200ApplicationJSONResponseBodyDataBrochureImagesType
1244
+ > =
1245
+ GetListingByIdListingsResponse200ApplicationJSONResponseBodyDataBrochureImagesType$inboundSchema;
1246
+
1247
+ /**
1248
+ * @internal
1249
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1250
+ */
1251
+ export namespace GetListingByIdListingsResponse200ApplicationJSONResponseBodyDataBrochureImagesType$ {
1252
+ /** @deprecated use `GetListingByIdListingsResponse200ApplicationJSONResponseBodyDataBrochureImagesType$inboundSchema` instead. */
1253
+ export const inboundSchema =
1254
+ GetListingByIdListingsResponse200ApplicationJSONResponseBodyDataBrochureImagesType$inboundSchema;
1255
+ /** @deprecated use `GetListingByIdListingsResponse200ApplicationJSONResponseBodyDataBrochureImagesType$outboundSchema` instead. */
1256
+ export const outboundSchema =
1257
+ GetListingByIdListingsResponse200ApplicationJSONResponseBodyDataBrochureImagesType$outboundSchema;
1258
+ }
1259
+
1260
+ /** @internal */
1261
+ export const BrochureImages$inboundSchema: z.ZodType<
1262
+ BrochureImages,
1263
+ z.ZodTypeDef,
1264
+ unknown
1265
+ > = z.object({
1266
+ caption: z.nullable(z.string()).optional(),
1267
+ order: z.nullable(z.number()).optional(),
1268
+ type: z.nullable(
1269
+ GetListingByIdListingsResponse200ApplicationJSONResponseBodyDataBrochureImagesType$inboundSchema,
1270
+ ).optional(),
1271
+ url: z.string(),
1272
+ });
1273
+
1274
+ /** @internal */
1275
+ export type BrochureImages$Outbound = {
1276
+ caption?: string | null | undefined;
1277
+ order?: number | null | undefined;
1278
+ type?: string | null | undefined;
1279
+ url: string;
1280
+ };
1281
+
1282
+ /** @internal */
1283
+ export const BrochureImages$outboundSchema: z.ZodType<
1284
+ BrochureImages$Outbound,
1285
+ z.ZodTypeDef,
1286
+ BrochureImages
1287
+ > = z.object({
1288
+ caption: z.nullable(z.string()).optional(),
1289
+ order: z.nullable(z.number()).optional(),
1290
+ type: z.nullable(
1291
+ GetListingByIdListingsResponse200ApplicationJSONResponseBodyDataBrochureImagesType$outboundSchema,
1292
+ ).optional(),
1293
+ url: z.string(),
1294
+ });
1295
+
1296
+ /**
1297
+ * @internal
1298
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1299
+ */
1300
+ export namespace BrochureImages$ {
1301
+ /** @deprecated use `BrochureImages$inboundSchema` instead. */
1302
+ export const inboundSchema = BrochureImages$inboundSchema;
1303
+ /** @deprecated use `BrochureImages$outboundSchema` instead. */
1304
+ export const outboundSchema = BrochureImages$outboundSchema;
1305
+ /** @deprecated use `BrochureImages$Outbound` instead. */
1306
+ export type Outbound = BrochureImages$Outbound;
1307
+ }
1308
+
1309
+ export function brochureImagesToJSON(brochureImages: BrochureImages): string {
1310
+ return JSON.stringify(BrochureImages$outboundSchema.parse(brochureImages));
1311
+ }
1312
+
1313
+ export function brochureImagesFromJSON(
1314
+ jsonString: string,
1315
+ ): SafeParseResult<BrochureImages, SDKValidationError> {
1316
+ return safeParse(
1317
+ jsonString,
1318
+ (x) => BrochureImages$inboundSchema.parse(JSON.parse(x)),
1319
+ `Failed to parse 'BrochureImages' from JSON`,
1320
+ );
1321
+ }
1322
+
1323
+ /** @internal */
1324
+ export const GetListingByIdCategory$inboundSchema: z.ZodNativeEnum<
1325
+ typeof GetListingByIdCategory
1326
+ > = z.nativeEnum(GetListingByIdCategory);
1327
+
1328
+ /** @internal */
1329
+ export const GetListingByIdCategory$outboundSchema: z.ZodNativeEnum<
1330
+ typeof GetListingByIdCategory
1331
+ > = GetListingByIdCategory$inboundSchema;
1332
+
1333
+ /**
1334
+ * @internal
1335
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1336
+ */
1337
+ export namespace GetListingByIdCategory$ {
1338
+ /** @deprecated use `GetListingByIdCategory$inboundSchema` instead. */
1339
+ export const inboundSchema = GetListingByIdCategory$inboundSchema;
1340
+ /** @deprecated use `GetListingByIdCategory$outboundSchema` instead. */
1341
+ export const outboundSchema = GetListingByIdCategory$outboundSchema;
1342
+ }
1343
+
1344
+ /** @internal */
1345
+ export const GetListingByIdListingsResponse200ApplicationJSONResponseBodyDataEnergyRatingImagesType$inboundSchema:
1346
+ z.ZodNativeEnum<
1347
+ typeof GetListingByIdListingsResponse200ApplicationJSONResponseBodyDataEnergyRatingImagesType
1348
+ > = z.nativeEnum(
1349
+ GetListingByIdListingsResponse200ApplicationJSONResponseBodyDataEnergyRatingImagesType,
1350
+ );
1351
+
1352
+ /** @internal */
1353
+ export const GetListingByIdListingsResponse200ApplicationJSONResponseBodyDataEnergyRatingImagesType$outboundSchema:
1354
+ z.ZodNativeEnum<
1355
+ typeof GetListingByIdListingsResponse200ApplicationJSONResponseBodyDataEnergyRatingImagesType
1356
+ > =
1357
+ GetListingByIdListingsResponse200ApplicationJSONResponseBodyDataEnergyRatingImagesType$inboundSchema;
1358
+
1359
+ /**
1360
+ * @internal
1361
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1362
+ */
1363
+ export namespace GetListingByIdListingsResponse200ApplicationJSONResponseBodyDataEnergyRatingImagesType$ {
1364
+ /** @deprecated use `GetListingByIdListingsResponse200ApplicationJSONResponseBodyDataEnergyRatingImagesType$inboundSchema` instead. */
1365
+ export const inboundSchema =
1366
+ GetListingByIdListingsResponse200ApplicationJSONResponseBodyDataEnergyRatingImagesType$inboundSchema;
1367
+ /** @deprecated use `GetListingByIdListingsResponse200ApplicationJSONResponseBodyDataEnergyRatingImagesType$outboundSchema` instead. */
1368
+ export const outboundSchema =
1369
+ GetListingByIdListingsResponse200ApplicationJSONResponseBodyDataEnergyRatingImagesType$outboundSchema;
1370
+ }
1371
+
1372
+ /** @internal */
1373
+ export const EnergyRatingImages$inboundSchema: z.ZodType<
1374
+ EnergyRatingImages,
1375
+ z.ZodTypeDef,
1376
+ unknown
1377
+ > = z.object({
1378
+ caption: z.nullable(z.string()).optional(),
1379
+ order: z.nullable(z.number()).optional(),
1380
+ type: z.nullable(
1381
+ GetListingByIdListingsResponse200ApplicationJSONResponseBodyDataEnergyRatingImagesType$inboundSchema,
1382
+ ).optional(),
1383
+ url: z.string(),
1384
+ });
1385
+
1386
+ /** @internal */
1387
+ export type EnergyRatingImages$Outbound = {
1388
+ caption?: string | null | undefined;
1389
+ order?: number | null | undefined;
1390
+ type?: string | null | undefined;
1391
+ url: string;
1392
+ };
1393
+
1394
+ /** @internal */
1395
+ export const EnergyRatingImages$outboundSchema: z.ZodType<
1396
+ EnergyRatingImages$Outbound,
1397
+ z.ZodTypeDef,
1398
+ EnergyRatingImages
1399
+ > = z.object({
1400
+ caption: z.nullable(z.string()).optional(),
1401
+ order: z.nullable(z.number()).optional(),
1402
+ type: z.nullable(
1403
+ GetListingByIdListingsResponse200ApplicationJSONResponseBodyDataEnergyRatingImagesType$outboundSchema,
1404
+ ).optional(),
1405
+ url: z.string(),
1406
+ });
1407
+
1408
+ /**
1409
+ * @internal
1410
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1411
+ */
1412
+ export namespace EnergyRatingImages$ {
1413
+ /** @deprecated use `EnergyRatingImages$inboundSchema` instead. */
1414
+ export const inboundSchema = EnergyRatingImages$inboundSchema;
1415
+ /** @deprecated use `EnergyRatingImages$outboundSchema` instead. */
1416
+ export const outboundSchema = EnergyRatingImages$outboundSchema;
1417
+ /** @deprecated use `EnergyRatingImages$Outbound` instead. */
1418
+ export type Outbound = EnergyRatingImages$Outbound;
1419
+ }
1420
+
1421
+ export function energyRatingImagesToJSON(
1422
+ energyRatingImages: EnergyRatingImages,
1423
+ ): string {
1424
+ return JSON.stringify(
1425
+ EnergyRatingImages$outboundSchema.parse(energyRatingImages),
1426
+ );
1427
+ }
1428
+
1429
+ export function energyRatingImagesFromJSON(
1430
+ jsonString: string,
1431
+ ): SafeParseResult<EnergyRatingImages, SDKValidationError> {
1432
+ return safeParse(
1433
+ jsonString,
1434
+ (x) => EnergyRatingImages$inboundSchema.parse(JSON.parse(x)),
1435
+ `Failed to parse 'EnergyRatingImages' from JSON`,
1436
+ );
1437
+ }
1438
+
1439
+ /** @internal */
1440
+ export const Features$inboundSchema: z.ZodType<
1441
+ Features,
1442
+ z.ZodTypeDef,
1443
+ unknown
1444
+ > = z.object({
1445
+ featureId: z.string(),
1446
+ value: z.string(),
1447
+ });
1448
+
1449
+ /** @internal */
1450
+ export type Features$Outbound = {
1451
+ featureId: string;
1452
+ value: string;
1453
+ };
1454
+
1455
+ /** @internal */
1456
+ export const Features$outboundSchema: z.ZodType<
1457
+ Features$Outbound,
1458
+ z.ZodTypeDef,
1459
+ Features
1460
+ > = z.object({
1461
+ featureId: z.string(),
1462
+ value: z.string(),
1463
+ });
1464
+
1465
+ /**
1466
+ * @internal
1467
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1468
+ */
1469
+ export namespace Features$ {
1470
+ /** @deprecated use `Features$inboundSchema` instead. */
1471
+ export const inboundSchema = Features$inboundSchema;
1472
+ /** @deprecated use `Features$outboundSchema` instead. */
1473
+ export const outboundSchema = Features$outboundSchema;
1474
+ /** @deprecated use `Features$Outbound` instead. */
1475
+ export type Outbound = Features$Outbound;
1476
+ }
1477
+
1478
+ export function featuresToJSON(features: Features): string {
1479
+ return JSON.stringify(Features$outboundSchema.parse(features));
1480
+ }
1481
+
1482
+ export function featuresFromJSON(
1483
+ jsonString: string,
1484
+ ): SafeParseResult<Features, SDKValidationError> {
1485
+ return safeParse(
1486
+ jsonString,
1487
+ (x) => Features$inboundSchema.parse(JSON.parse(x)),
1488
+ `Failed to parse 'Features' from JSON`,
1489
+ );
1490
+ }
1491
+
1492
+ /** @internal */
1493
+ export const GetListingByIdListingsResponse200Type$inboundSchema:
1494
+ z.ZodNativeEnum<typeof GetListingByIdListingsResponse200Type> = z.nativeEnum(
1495
+ GetListingByIdListingsResponse200Type,
1496
+ );
1497
+
1498
+ /** @internal */
1499
+ export const GetListingByIdListingsResponse200Type$outboundSchema:
1500
+ z.ZodNativeEnum<typeof GetListingByIdListingsResponse200Type> =
1501
+ GetListingByIdListingsResponse200Type$inboundSchema;
1502
+
1503
+ /**
1504
+ * @internal
1505
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1506
+ */
1507
+ export namespace GetListingByIdListingsResponse200Type$ {
1508
+ /** @deprecated use `GetListingByIdListingsResponse200Type$inboundSchema` instead. */
1509
+ export const inboundSchema =
1510
+ GetListingByIdListingsResponse200Type$inboundSchema;
1511
+ /** @deprecated use `GetListingByIdListingsResponse200Type$outboundSchema` instead. */
1512
+ export const outboundSchema =
1513
+ GetListingByIdListingsResponse200Type$outboundSchema;
1514
+ }
1515
+
1516
+ /** @internal */
1517
+ export const FloorPlanImages$inboundSchema: z.ZodType<
1518
+ FloorPlanImages,
1519
+ z.ZodTypeDef,
1520
+ unknown
1521
+ > = z.object({
1522
+ caption: z.nullable(z.string()).optional(),
1523
+ order: z.nullable(z.number()).optional(),
1524
+ type: z.nullable(GetListingByIdListingsResponse200Type$inboundSchema)
1525
+ .optional(),
1526
+ url: z.string(),
1527
+ });
1528
+
1529
+ /** @internal */
1530
+ export type FloorPlanImages$Outbound = {
1531
+ caption?: string | null | undefined;
1532
+ order?: number | null | undefined;
1533
+ type?: string | null | undefined;
1534
+ url: string;
1535
+ };
1536
+
1537
+ /** @internal */
1538
+ export const FloorPlanImages$outboundSchema: z.ZodType<
1539
+ FloorPlanImages$Outbound,
1540
+ z.ZodTypeDef,
1541
+ FloorPlanImages
1542
+ > = z.object({
1543
+ caption: z.nullable(z.string()).optional(),
1544
+ order: z.nullable(z.number()).optional(),
1545
+ type: z.nullable(GetListingByIdListingsResponse200Type$outboundSchema)
1546
+ .optional(),
1547
+ url: z.string(),
1548
+ });
1549
+
1550
+ /**
1551
+ * @internal
1552
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1553
+ */
1554
+ export namespace FloorPlanImages$ {
1555
+ /** @deprecated use `FloorPlanImages$inboundSchema` instead. */
1556
+ export const inboundSchema = FloorPlanImages$inboundSchema;
1557
+ /** @deprecated use `FloorPlanImages$outboundSchema` instead. */
1558
+ export const outboundSchema = FloorPlanImages$outboundSchema;
1559
+ /** @deprecated use `FloorPlanImages$Outbound` instead. */
1560
+ export type Outbound = FloorPlanImages$Outbound;
1561
+ }
1562
+
1563
+ export function floorPlanImagesToJSON(
1564
+ floorPlanImages: FloorPlanImages,
1565
+ ): string {
1566
+ return JSON.stringify(FloorPlanImages$outboundSchema.parse(floorPlanImages));
1567
+ }
1568
+
1569
+ export function floorPlanImagesFromJSON(
1570
+ jsonString: string,
1571
+ ): SafeParseResult<FloorPlanImages, SDKValidationError> {
1572
+ return safeParse(
1573
+ jsonString,
1574
+ (x) => FloorPlanImages$inboundSchema.parse(JSON.parse(x)),
1575
+ `Failed to parse 'FloorPlanImages' from JSON`,
1576
+ );
1577
+ }
1578
+
1579
+ /** @internal */
1580
+ export const GetListingByIdListingsResponse200ApplicationJSONType$inboundSchema:
1581
+ z.ZodNativeEnum<typeof GetListingByIdListingsResponse200ApplicationJSONType> =
1582
+ z.nativeEnum(GetListingByIdListingsResponse200ApplicationJSONType);
1583
+
1584
+ /** @internal */
1585
+ export const GetListingByIdListingsResponse200ApplicationJSONType$outboundSchema:
1586
+ z.ZodNativeEnum<typeof GetListingByIdListingsResponse200ApplicationJSONType> =
1587
+ GetListingByIdListingsResponse200ApplicationJSONType$inboundSchema;
1588
+
1589
+ /**
1590
+ * @internal
1591
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1592
+ */
1593
+ export namespace GetListingByIdListingsResponse200ApplicationJSONType$ {
1594
+ /** @deprecated use `GetListingByIdListingsResponse200ApplicationJSONType$inboundSchema` instead. */
1595
+ export const inboundSchema =
1596
+ GetListingByIdListingsResponse200ApplicationJSONType$inboundSchema;
1597
+ /** @deprecated use `GetListingByIdListingsResponse200ApplicationJSONType$outboundSchema` instead. */
1598
+ export const outboundSchema =
1599
+ GetListingByIdListingsResponse200ApplicationJSONType$outboundSchema;
1600
+ }
1601
+
1602
+ /** @internal */
1603
+ export const Images$inboundSchema: z.ZodType<Images, z.ZodTypeDef, unknown> = z
1604
+ .object({
1605
+ caption: z.nullable(z.string()).optional(),
1606
+ order: z.nullable(z.number()).optional(),
1607
+ type: z.nullable(
1608
+ GetListingByIdListingsResponse200ApplicationJSONType$inboundSchema,
1609
+ ).optional(),
1610
+ url: z.string(),
1611
+ });
1612
+
1613
+ /** @internal */
1614
+ export type Images$Outbound = {
1615
+ caption?: string | null | undefined;
1616
+ order?: number | null | undefined;
1617
+ type?: string | null | undefined;
1618
+ url: string;
1619
+ };
1620
+
1621
+ /** @internal */
1622
+ export const Images$outboundSchema: z.ZodType<
1623
+ Images$Outbound,
1624
+ z.ZodTypeDef,
1625
+ Images
1626
+ > = z.object({
1627
+ caption: z.nullable(z.string()).optional(),
1628
+ order: z.nullable(z.number()).optional(),
1629
+ type: z.nullable(
1630
+ GetListingByIdListingsResponse200ApplicationJSONType$outboundSchema,
1631
+ ).optional(),
1632
+ url: z.string(),
1633
+ });
1634
+
1635
+ /**
1636
+ * @internal
1637
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1638
+ */
1639
+ export namespace Images$ {
1640
+ /** @deprecated use `Images$inboundSchema` instead. */
1641
+ export const inboundSchema = Images$inboundSchema;
1642
+ /** @deprecated use `Images$outboundSchema` instead. */
1643
+ export const outboundSchema = Images$outboundSchema;
1644
+ /** @deprecated use `Images$Outbound` instead. */
1645
+ export type Outbound = Images$Outbound;
1646
+ }
1647
+
1648
+ export function imagesToJSON(images: Images): string {
1649
+ return JSON.stringify(Images$outboundSchema.parse(images));
1650
+ }
1651
+
1652
+ export function imagesFromJSON(
1653
+ jsonString: string,
1654
+ ): SafeParseResult<Images, SDKValidationError> {
1655
+ return safeParse(
1656
+ jsonString,
1657
+ (x) => Images$inboundSchema.parse(JSON.parse(x)),
1658
+ `Failed to parse 'Images' from JSON`,
1659
+ );
1660
+ }
1661
+
1662
+ /** @internal */
1663
+ export const Content$inboundSchema: z.ZodType<Content, z.ZodTypeDef, unknown> =
1664
+ z.union([z.string(), z.array(z.string()), z.any()]);
1665
+
1666
+ /** @internal */
1667
+ export type Content$Outbound = string | Array<string> | any;
1668
+
1669
+ /** @internal */
1670
+ export const Content$outboundSchema: z.ZodType<
1671
+ Content$Outbound,
1672
+ z.ZodTypeDef,
1673
+ Content
1674
+ > = z.union([z.string(), z.array(z.string()), z.any()]);
1675
+
1676
+ /**
1677
+ * @internal
1678
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1679
+ */
1680
+ export namespace Content$ {
1681
+ /** @deprecated use `Content$inboundSchema` instead. */
1682
+ export const inboundSchema = Content$inboundSchema;
1683
+ /** @deprecated use `Content$outboundSchema` instead. */
1684
+ export const outboundSchema = Content$outboundSchema;
1685
+ /** @deprecated use `Content$Outbound` instead. */
1686
+ export type Outbound = Content$Outbound;
1687
+ }
1688
+
1689
+ export function contentToJSON(content: Content): string {
1690
+ return JSON.stringify(Content$outboundSchema.parse(content));
1691
+ }
1692
+
1693
+ export function contentFromJSON(
1694
+ jsonString: string,
1695
+ ): SafeParseResult<Content, SDKValidationError> {
1696
+ return safeParse(
1697
+ jsonString,
1698
+ (x) => Content$inboundSchema.parse(JSON.parse(x)),
1699
+ `Failed to parse 'Content' from JSON`,
1700
+ );
1701
+ }
1702
+
1703
+ /** @internal */
1704
+ export const GetListingByIdListingsResponse200ApplicationJSONResponseBodyType$inboundSchema:
1705
+ z.ZodNativeEnum<
1706
+ typeof GetListingByIdListingsResponse200ApplicationJSONResponseBodyType
1707
+ > = z.nativeEnum(
1708
+ GetListingByIdListingsResponse200ApplicationJSONResponseBodyType,
1709
+ );
1710
+
1711
+ /** @internal */
1712
+ export const GetListingByIdListingsResponse200ApplicationJSONResponseBodyType$outboundSchema:
1713
+ z.ZodNativeEnum<
1714
+ typeof GetListingByIdListingsResponse200ApplicationJSONResponseBodyType
1715
+ > =
1716
+ GetListingByIdListingsResponse200ApplicationJSONResponseBodyType$inboundSchema;
1717
+
1718
+ /**
1719
+ * @internal
1720
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1721
+ */
1722
+ export namespace GetListingByIdListingsResponse200ApplicationJSONResponseBodyType$ {
1723
+ /** @deprecated use `GetListingByIdListingsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */
1724
+ export const inboundSchema =
1725
+ GetListingByIdListingsResponse200ApplicationJSONResponseBodyType$inboundSchema;
1726
+ /** @deprecated use `GetListingByIdListingsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */
1727
+ export const outboundSchema =
1728
+ GetListingByIdListingsResponse200ApplicationJSONResponseBodyType$outboundSchema;
1729
+ }
1730
+
1731
+ /** @internal */
1732
+ export const Narratives$inboundSchema: z.ZodType<
1733
+ Narratives,
1734
+ z.ZodTypeDef,
1735
+ unknown
1736
+ > = z.object({
1737
+ content: z.nullable(z.union([z.string(), z.array(z.string()), z.any()]))
1738
+ .optional(),
1739
+ type:
1740
+ GetListingByIdListingsResponse200ApplicationJSONResponseBodyType$inboundSchema,
1741
+ });
1742
+
1743
+ /** @internal */
1744
+ export type Narratives$Outbound = {
1745
+ content?: string | Array<string> | any | null | undefined;
1746
+ type: string;
1747
+ };
1748
+
1749
+ /** @internal */
1750
+ export const Narratives$outboundSchema: z.ZodType<
1751
+ Narratives$Outbound,
1752
+ z.ZodTypeDef,
1753
+ Narratives
1754
+ > = z.object({
1755
+ content: z.nullable(z.union([z.string(), z.array(z.string()), z.any()]))
1756
+ .optional(),
1757
+ type:
1758
+ GetListingByIdListingsResponse200ApplicationJSONResponseBodyType$outboundSchema,
1759
+ });
1760
+
1761
+ /**
1762
+ * @internal
1763
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1764
+ */
1765
+ export namespace Narratives$ {
1766
+ /** @deprecated use `Narratives$inboundSchema` instead. */
1767
+ export const inboundSchema = Narratives$inboundSchema;
1768
+ /** @deprecated use `Narratives$outboundSchema` instead. */
1769
+ export const outboundSchema = Narratives$outboundSchema;
1770
+ /** @deprecated use `Narratives$Outbound` instead. */
1771
+ export type Outbound = Narratives$Outbound;
1772
+ }
1773
+
1774
+ export function narrativesToJSON(narratives: Narratives): string {
1775
+ return JSON.stringify(Narratives$outboundSchema.parse(narratives));
1776
+ }
1777
+
1778
+ export function narrativesFromJSON(
1779
+ jsonString: string,
1780
+ ): SafeParseResult<Narratives, SDKValidationError> {
1781
+ return safeParse(
1782
+ jsonString,
1783
+ (x) => Narratives$inboundSchema.parse(JSON.parse(x)),
1784
+ `Failed to parse 'Narratives' from JSON`,
1785
+ );
1786
+ }
1787
+
1788
+ /** @internal */
1789
+ export const Direction$inboundSchema: z.ZodNativeEnum<typeof Direction> = z
1790
+ .nativeEnum(Direction);
1791
+
1792
+ /** @internal */
1793
+ export const Direction$outboundSchema: z.ZodNativeEnum<typeof Direction> =
1794
+ Direction$inboundSchema;
1795
+
1796
+ /**
1797
+ * @internal
1798
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1799
+ */
1800
+ export namespace Direction$ {
1801
+ /** @deprecated use `Direction$inboundSchema` instead. */
1802
+ export const inboundSchema = Direction$inboundSchema;
1803
+ /** @deprecated use `Direction$outboundSchema` instead. */
1804
+ export const outboundSchema = Direction$outboundSchema;
1805
+ }
1806
+
1807
+ /** @internal */
1808
+ export const PriceHistory$inboundSchema: z.ZodType<
1809
+ PriceHistory,
1810
+ z.ZodTypeDef,
1811
+ unknown
1812
+ > = z.object({
1813
+ amount: z.nullable(z.number()).optional(),
1814
+ date: z.string().datetime({ offset: true }).transform(v => new Date(v)),
1815
+ direction: Direction$inboundSchema.optional(),
1816
+ oldPrice: z.nullable(z.number()).optional(),
1817
+ percent: z.nullable(z.number()).optional(),
1818
+ price: z.number(),
1819
+ });
1820
+
1821
+ /** @internal */
1822
+ export type PriceHistory$Outbound = {
1823
+ amount?: number | null | undefined;
1824
+ date: string;
1825
+ direction?: string | undefined;
1826
+ oldPrice?: number | null | undefined;
1827
+ percent?: number | null | undefined;
1828
+ price: number;
1829
+ };
1830
+
1831
+ /** @internal */
1832
+ export const PriceHistory$outboundSchema: z.ZodType<
1833
+ PriceHistory$Outbound,
1834
+ z.ZodTypeDef,
1835
+ PriceHistory
1836
+ > = z.object({
1837
+ amount: z.nullable(z.number()).optional(),
1838
+ date: z.date().transform(v => v.toISOString()),
1839
+ direction: Direction$outboundSchema.optional(),
1840
+ oldPrice: z.nullable(z.number()).optional(),
1841
+ percent: z.nullable(z.number()).optional(),
1842
+ price: z.number(),
1843
+ });
1844
+
1845
+ /**
1846
+ * @internal
1847
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1848
+ */
1849
+ export namespace PriceHistory$ {
1850
+ /** @deprecated use `PriceHistory$inboundSchema` instead. */
1851
+ export const inboundSchema = PriceHistory$inboundSchema;
1852
+ /** @deprecated use `PriceHistory$outboundSchema` instead. */
1853
+ export const outboundSchema = PriceHistory$outboundSchema;
1854
+ /** @deprecated use `PriceHistory$Outbound` instead. */
1855
+ export type Outbound = PriceHistory$Outbound;
1856
+ }
1857
+
1858
+ export function priceHistoryToJSON(priceHistory: PriceHistory): string {
1859
+ return JSON.stringify(PriceHistory$outboundSchema.parse(priceHistory));
1860
+ }
1861
+
1862
+ export function priceHistoryFromJSON(
1863
+ jsonString: string,
1864
+ ): SafeParseResult<PriceHistory, SDKValidationError> {
1865
+ return safeParse(
1866
+ jsonString,
1867
+ (x) => PriceHistory$inboundSchema.parse(JSON.parse(x)),
1868
+ `Failed to parse 'PriceHistory' from JSON`,
1869
+ );
1870
+ }
1871
+
1872
+ /** @internal */
1873
+ export const GetListingByIdListingsResponse200ApplicationJSONResponseBodyDataType$inboundSchema:
1874
+ z.ZodNativeEnum<
1875
+ typeof GetListingByIdListingsResponse200ApplicationJSONResponseBodyDataType
1876
+ > = z.nativeEnum(
1877
+ GetListingByIdListingsResponse200ApplicationJSONResponseBodyDataType,
1878
+ );
1879
+
1880
+ /** @internal */
1881
+ export const GetListingByIdListingsResponse200ApplicationJSONResponseBodyDataType$outboundSchema:
1882
+ z.ZodNativeEnum<
1883
+ typeof GetListingByIdListingsResponse200ApplicationJSONResponseBodyDataType
1884
+ > =
1885
+ GetListingByIdListingsResponse200ApplicationJSONResponseBodyDataType$inboundSchema;
1886
+
1887
+ /**
1888
+ * @internal
1889
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1890
+ */
1891
+ export namespace GetListingByIdListingsResponse200ApplicationJSONResponseBodyDataType$ {
1892
+ /** @deprecated use `GetListingByIdListingsResponse200ApplicationJSONResponseBodyDataType$inboundSchema` instead. */
1893
+ export const inboundSchema =
1894
+ GetListingByIdListingsResponse200ApplicationJSONResponseBodyDataType$inboundSchema;
1895
+ /** @deprecated use `GetListingByIdListingsResponse200ApplicationJSONResponseBodyDataType$outboundSchema` instead. */
1896
+ export const outboundSchema =
1897
+ GetListingByIdListingsResponse200ApplicationJSONResponseBodyDataType$outboundSchema;
1898
+ }
1899
+
1900
+ /** @internal */
1901
+ export const GeoJSONPoint$inboundSchema: z.ZodType<
1902
+ GeoJSONPoint,
1903
+ z.ZodTypeDef,
1904
+ unknown
1905
+ > = z.object({
1906
+ coordinates: z.array(z.number()),
1907
+ type:
1908
+ GetListingByIdListingsResponse200ApplicationJSONResponseBodyDataType$inboundSchema,
1909
+ });
1910
+
1911
+ /** @internal */
1912
+ export type GeoJSONPoint$Outbound = {
1913
+ coordinates: Array<number>;
1914
+ type: string;
1915
+ };
1916
+
1917
+ /** @internal */
1918
+ export const GeoJSONPoint$outboundSchema: z.ZodType<
1919
+ GeoJSONPoint$Outbound,
1920
+ z.ZodTypeDef,
1921
+ GeoJSONPoint
1922
+ > = z.object({
1923
+ coordinates: z.array(z.number()),
1924
+ type:
1925
+ GetListingByIdListingsResponse200ApplicationJSONResponseBodyDataType$outboundSchema,
1926
+ });
1927
+
1928
+ /**
1929
+ * @internal
1930
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1931
+ */
1932
+ export namespace GeoJSONPoint$ {
1933
+ /** @deprecated use `GeoJSONPoint$inboundSchema` instead. */
1934
+ export const inboundSchema = GeoJSONPoint$inboundSchema;
1935
+ /** @deprecated use `GeoJSONPoint$outboundSchema` instead. */
1936
+ export const outboundSchema = GeoJSONPoint$outboundSchema;
1937
+ /** @deprecated use `GeoJSONPoint$Outbound` instead. */
1938
+ export type Outbound = GeoJSONPoint$Outbound;
1939
+ }
1940
+
1941
+ export function geoJSONPointToJSON(geoJSONPoint: GeoJSONPoint): string {
1942
+ return JSON.stringify(GeoJSONPoint$outboundSchema.parse(geoJSONPoint));
1943
+ }
1944
+
1945
+ export function geoJSONPointFromJSON(
1946
+ jsonString: string,
1947
+ ): SafeParseResult<GeoJSONPoint, SDKValidationError> {
1948
+ return safeParse(
1949
+ jsonString,
1950
+ (x) => GeoJSONPoint$inboundSchema.parse(JSON.parse(x)),
1951
+ `Failed to parse 'GeoJSONPoint' from JSON`,
1952
+ );
1953
+ }
1954
+
1955
+ /** @internal */
1956
+ export const GetListingByIdStatus$inboundSchema: z.ZodNativeEnum<
1957
+ typeof GetListingByIdStatus
1958
+ > = z.nativeEnum(GetListingByIdStatus);
1959
+
1960
+ /** @internal */
1961
+ export const GetListingByIdStatus$outboundSchema: z.ZodNativeEnum<
1962
+ typeof GetListingByIdStatus
1963
+ > = GetListingByIdStatus$inboundSchema;
1964
+
1965
+ /**
1966
+ * @internal
1967
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1968
+ */
1969
+ export namespace GetListingByIdStatus$ {
1970
+ /** @deprecated use `GetListingByIdStatus$inboundSchema` instead. */
1971
+ export const inboundSchema = GetListingByIdStatus$inboundSchema;
1972
+ /** @deprecated use `GetListingByIdStatus$outboundSchema` instead. */
1973
+ export const outboundSchema = GetListingByIdStatus$outboundSchema;
1974
+ }
1975
+
1976
+ /** @internal */
1977
+ export const GetListingByIdType$inboundSchema: z.ZodNativeEnum<
1978
+ typeof GetListingByIdType
1979
+ > = z.nativeEnum(GetListingByIdType);
1980
+
1981
+ /** @internal */
1982
+ export const GetListingByIdType$outboundSchema: z.ZodNativeEnum<
1983
+ typeof GetListingByIdType
1984
+ > = GetListingByIdType$inboundSchema;
1985
+
1986
+ /**
1987
+ * @internal
1988
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1989
+ */
1990
+ export namespace GetListingByIdType$ {
1991
+ /** @deprecated use `GetListingByIdType$inboundSchema` instead. */
1992
+ export const inboundSchema = GetListingByIdType$inboundSchema;
1993
+ /** @deprecated use `GetListingByIdType$outboundSchema` instead. */
1994
+ export const outboundSchema = GetListingByIdType$outboundSchema;
1995
+ }
1996
+
1997
+ /** @internal */
1998
+ export const Data$inboundSchema: z.ZodType<Data, z.ZodTypeDef, unknown> = z
1999
+ .object({
2000
+ address: z.lazy(() => Address$inboundSchema),
2001
+ agent: z.nullable(z.lazy(() => Agent$inboundSchema)).optional(),
2002
+ baths: z.nullable(z.number()).optional(),
2003
+ beds: z.nullable(z.number()).optional(),
2004
+ brochureImages: z.array(z.lazy(() => BrochureImages$inboundSchema))
2005
+ .optional(),
2006
+ category: GetListingByIdCategory$inboundSchema,
2007
+ createdAt: z.string().datetime({ offset: true }).transform(v => new Date(v))
2008
+ .optional(),
2009
+ currency: z.string().default("GBP"),
2010
+ displayAddress: z.string().optional(),
2011
+ energyRatingImages: z.array(z.lazy(() => EnergyRatingImages$inboundSchema))
2012
+ .optional(),
2013
+ features: z.nullable(z.array(z.lazy(() => Features$inboundSchema)))
2014
+ .optional(),
2015
+ floorPlanImages: z.array(z.lazy(() => FloorPlanImages$inboundSchema))
2016
+ .optional(),
2017
+ id: z.string(),
2018
+ images: z.array(z.lazy(() => Images$inboundSchema)).optional(),
2019
+ isAuction: z.boolean().optional(),
2020
+ isNewBuild: z.boolean().optional(),
2021
+ isRetirement: z.boolean().optional(),
2022
+ isSharedOwnership: z.boolean().optional(),
2023
+ key: z.string(),
2024
+ lat: z.number().optional(),
2025
+ lng: z.number().optional(),
2026
+ locationId: z.nullable(z.string()).optional(),
2027
+ narratives: z.nullable(z.array(z.lazy(() => Narratives$inboundSchema)))
2028
+ .optional(),
2029
+ price: z.number(),
2030
+ priceHistory: z.array(z.lazy(() => PriceHistory$inboundSchema)).optional(),
2031
+ propertyType: z.string(),
2032
+ provider: z.string(),
2033
+ publishedDate: z.string().datetime({ offset: true }).transform(v =>
2034
+ new Date(v)
2035
+ ),
2036
+ receptions: z.nullable(z.number()).optional(),
2037
+ removedDate: z.nullable(
2038
+ z.string().datetime({ offset: true }).transform(v => new Date(v)),
2039
+ ).optional(),
2040
+ spatial: z.nullable(z.lazy(() => GeoJSONPoint$inboundSchema)).optional(),
2041
+ status: GetListingByIdStatus$inboundSchema,
2042
+ subPropertyType: z.nullable(z.string()).optional(),
2043
+ type: GetListingByIdType$inboundSchema,
2044
+ updatedAt: z.string().datetime({ offset: true }).transform(v => new Date(v))
2045
+ .optional(),
2046
+ });
2047
+
2048
+ /** @internal */
2049
+ export type Data$Outbound = {
2050
+ address: Address$Outbound;
2051
+ agent?: Agent$Outbound | null | undefined;
2052
+ baths?: number | null | undefined;
2053
+ beds?: number | null | undefined;
2054
+ brochureImages?: Array<BrochureImages$Outbound> | undefined;
2055
+ category: string;
2056
+ createdAt?: string | undefined;
2057
+ currency: string;
2058
+ displayAddress?: string | undefined;
2059
+ energyRatingImages?: Array<EnergyRatingImages$Outbound> | undefined;
2060
+ features?: Array<Features$Outbound> | null | undefined;
2061
+ floorPlanImages?: Array<FloorPlanImages$Outbound> | undefined;
2062
+ id: string;
2063
+ images?: Array<Images$Outbound> | undefined;
2064
+ isAuction?: boolean | undefined;
2065
+ isNewBuild?: boolean | undefined;
2066
+ isRetirement?: boolean | undefined;
2067
+ isSharedOwnership?: boolean | undefined;
2068
+ key: string;
2069
+ lat?: number | undefined;
2070
+ lng?: number | undefined;
2071
+ locationId?: string | null | undefined;
2072
+ narratives?: Array<Narratives$Outbound> | null | undefined;
2073
+ price: number;
2074
+ priceHistory?: Array<PriceHistory$Outbound> | undefined;
2075
+ propertyType: string;
2076
+ provider: string;
2077
+ publishedDate: string;
2078
+ receptions?: number | null | undefined;
2079
+ removedDate?: string | null | undefined;
2080
+ spatial?: GeoJSONPoint$Outbound | null | undefined;
2081
+ status: string;
2082
+ subPropertyType?: string | null | undefined;
2083
+ type: string;
2084
+ updatedAt?: string | undefined;
2085
+ };
2086
+
2087
+ /** @internal */
2088
+ export const Data$outboundSchema: z.ZodType<Data$Outbound, z.ZodTypeDef, Data> =
2089
+ z.object({
2090
+ address: z.lazy(() => Address$outboundSchema),
2091
+ agent: z.nullable(z.lazy(() => Agent$outboundSchema)).optional(),
2092
+ baths: z.nullable(z.number()).optional(),
2093
+ beds: z.nullable(z.number()).optional(),
2094
+ brochureImages: z.array(z.lazy(() => BrochureImages$outboundSchema))
2095
+ .optional(),
2096
+ category: GetListingByIdCategory$outboundSchema,
2097
+ createdAt: z.date().transform(v => v.toISOString()).optional(),
2098
+ currency: z.string().default("GBP"),
2099
+ displayAddress: z.string().optional(),
2100
+ energyRatingImages: z.array(z.lazy(() => EnergyRatingImages$outboundSchema))
2101
+ .optional(),
2102
+ features: z.nullable(z.array(z.lazy(() => Features$outboundSchema)))
2103
+ .optional(),
2104
+ floorPlanImages: z.array(z.lazy(() => FloorPlanImages$outboundSchema))
2105
+ .optional(),
2106
+ id: z.string(),
2107
+ images: z.array(z.lazy(() => Images$outboundSchema)).optional(),
2108
+ isAuction: z.boolean().optional(),
2109
+ isNewBuild: z.boolean().optional(),
2110
+ isRetirement: z.boolean().optional(),
2111
+ isSharedOwnership: z.boolean().optional(),
2112
+ key: z.string(),
2113
+ lat: z.number().optional(),
2114
+ lng: z.number().optional(),
2115
+ locationId: z.nullable(z.string()).optional(),
2116
+ narratives: z.nullable(z.array(z.lazy(() => Narratives$outboundSchema)))
2117
+ .optional(),
2118
+ price: z.number(),
2119
+ priceHistory: z.array(z.lazy(() => PriceHistory$outboundSchema)).optional(),
2120
+ propertyType: z.string(),
2121
+ provider: z.string(),
2122
+ publishedDate: z.date().transform(v => v.toISOString()),
2123
+ receptions: z.nullable(z.number()).optional(),
2124
+ removedDate: z.nullable(z.date().transform(v => v.toISOString()))
2125
+ .optional(),
2126
+ spatial: z.nullable(z.lazy(() => GeoJSONPoint$outboundSchema)).optional(),
2127
+ status: GetListingByIdStatus$outboundSchema,
2128
+ subPropertyType: z.nullable(z.string()).optional(),
2129
+ type: GetListingByIdType$outboundSchema,
2130
+ updatedAt: z.date().transform(v => v.toISOString()).optional(),
2131
+ });
2132
+
2133
+ /**
2134
+ * @internal
2135
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2136
+ */
2137
+ export namespace Data$ {
2138
+ /** @deprecated use `Data$inboundSchema` instead. */
2139
+ export const inboundSchema = Data$inboundSchema;
2140
+ /** @deprecated use `Data$outboundSchema` instead. */
2141
+ export const outboundSchema = Data$outboundSchema;
2142
+ /** @deprecated use `Data$Outbound` instead. */
2143
+ export type Outbound = Data$Outbound;
2144
+ }
2145
+
2146
+ export function dataToJSON(data: Data): string {
2147
+ return JSON.stringify(Data$outboundSchema.parse(data));
2148
+ }
2149
+
2150
+ export function dataFromJSON(
2151
+ jsonString: string,
2152
+ ): SafeParseResult<Data, SDKValidationError> {
2153
+ return safeParse(
2154
+ jsonString,
2155
+ (x) => Data$inboundSchema.parse(JSON.parse(x)),
2156
+ `Failed to parse 'Data' from JSON`,
2157
+ );
2158
+ }
2159
+
2160
+ /** @internal */
2161
+ export const GetListingByIdResponseBody$inboundSchema: z.ZodType<
2162
+ GetListingByIdResponseBody,
2163
+ z.ZodTypeDef,
2164
+ unknown
2165
+ > = z.object({
2166
+ data: z.lazy(() => Data$inboundSchema),
2167
+ success: z.boolean(),
2168
+ });
2169
+
2170
+ /** @internal */
2171
+ export type GetListingByIdResponseBody$Outbound = {
2172
+ data: Data$Outbound;
2173
+ success: boolean;
2174
+ };
2175
+
2176
+ /** @internal */
2177
+ export const GetListingByIdResponseBody$outboundSchema: z.ZodType<
2178
+ GetListingByIdResponseBody$Outbound,
2179
+ z.ZodTypeDef,
2180
+ GetListingByIdResponseBody
2181
+ > = z.object({
2182
+ data: z.lazy(() => Data$outboundSchema),
2183
+ success: z.boolean(),
2184
+ });
2185
+
2186
+ /**
2187
+ * @internal
2188
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2189
+ */
2190
+ export namespace GetListingByIdResponseBody$ {
2191
+ /** @deprecated use `GetListingByIdResponseBody$inboundSchema` instead. */
2192
+ export const inboundSchema = GetListingByIdResponseBody$inboundSchema;
2193
+ /** @deprecated use `GetListingByIdResponseBody$outboundSchema` instead. */
2194
+ export const outboundSchema = GetListingByIdResponseBody$outboundSchema;
2195
+ /** @deprecated use `GetListingByIdResponseBody$Outbound` instead. */
2196
+ export type Outbound = GetListingByIdResponseBody$Outbound;
2197
+ }
2198
+
2199
+ export function getListingByIdResponseBodyToJSON(
2200
+ getListingByIdResponseBody: GetListingByIdResponseBody,
2201
+ ): string {
2202
+ return JSON.stringify(
2203
+ GetListingByIdResponseBody$outboundSchema.parse(getListingByIdResponseBody),
2204
+ );
2205
+ }
2206
+
2207
+ export function getListingByIdResponseBodyFromJSON(
2208
+ jsonString: string,
2209
+ ): SafeParseResult<GetListingByIdResponseBody, SDKValidationError> {
2210
+ return safeParse(
2211
+ jsonString,
2212
+ (x) => GetListingByIdResponseBody$inboundSchema.parse(JSON.parse(x)),
2213
+ `Failed to parse 'GetListingByIdResponseBody' from JSON`,
2214
+ );
2215
+ }
2216
+
2217
+ /** @internal */
2218
+ export const GetListingByIdResponse$inboundSchema: z.ZodType<
2219
+ GetListingByIdResponse,
2220
+ z.ZodTypeDef,
2221
+ unknown
2222
+ > = z.union([
2223
+ z.lazy(() => GetListingByIdResponseBody$inboundSchema),
2224
+ z.lazy(() => GetListingByIdListingsResponseBody$inboundSchema),
2225
+ z.lazy(() => GetListingByIdListingsResponseResponseBody$inboundSchema),
2226
+ ]);
2227
+
2228
+ /** @internal */
2229
+ export type GetListingByIdResponse$Outbound =
2230
+ | GetListingByIdResponseBody$Outbound
2231
+ | GetListingByIdListingsResponseBody$Outbound
2232
+ | GetListingByIdListingsResponseResponseBody$Outbound;
2233
+
2234
+ /** @internal */
2235
+ export const GetListingByIdResponse$outboundSchema: z.ZodType<
2236
+ GetListingByIdResponse$Outbound,
2237
+ z.ZodTypeDef,
2238
+ GetListingByIdResponse
2239
+ > = z.union([
2240
+ z.lazy(() => GetListingByIdResponseBody$outboundSchema),
2241
+ z.lazy(() => GetListingByIdListingsResponseBody$outboundSchema),
2242
+ z.lazy(() => GetListingByIdListingsResponseResponseBody$outboundSchema),
2243
+ ]);
2244
+
2245
+ /**
2246
+ * @internal
2247
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2248
+ */
2249
+ export namespace GetListingByIdResponse$ {
2250
+ /** @deprecated use `GetListingByIdResponse$inboundSchema` instead. */
2251
+ export const inboundSchema = GetListingByIdResponse$inboundSchema;
2252
+ /** @deprecated use `GetListingByIdResponse$outboundSchema` instead. */
2253
+ export const outboundSchema = GetListingByIdResponse$outboundSchema;
2254
+ /** @deprecated use `GetListingByIdResponse$Outbound` instead. */
2255
+ export type Outbound = GetListingByIdResponse$Outbound;
2256
+ }
2257
+
2258
+ export function getListingByIdResponseToJSON(
2259
+ getListingByIdResponse: GetListingByIdResponse,
2260
+ ): string {
2261
+ return JSON.stringify(
2262
+ GetListingByIdResponse$outboundSchema.parse(getListingByIdResponse),
2263
+ );
2264
+ }
2265
+
2266
+ export function getListingByIdResponseFromJSON(
2267
+ jsonString: string,
2268
+ ): SafeParseResult<GetListingByIdResponse, SDKValidationError> {
2269
+ return safeParse(
2270
+ jsonString,
2271
+ (x) => GetListingByIdResponse$inboundSchema.parse(JSON.parse(x)),
2272
+ `Failed to parse 'GetListingByIdResponse' from JSON`,
2273
+ );
2274
+ }