@vepler/sdk 1.10.1 → 2.0.0

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