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