@vepler/sdk 2.0.0 → 2.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (266) hide show
  1. package/dist/commonjs/lib/config.d.ts +4 -4
  2. package/dist/commonjs/lib/config.js +4 -4
  3. package/dist/commonjs/sdk/models/operations/getlistingbyid.d.ts +66 -66
  4. package/dist/commonjs/sdk/models/operations/getlistingbyid.d.ts.map +1 -1
  5. package/dist/commonjs/sdk/models/operations/getlistingbyid.js +72 -68
  6. package/dist/commonjs/sdk/models/operations/getlistingbyid.js.map +1 -1
  7. package/dist/commonjs/sdk/models/operations/getlistingsbylocation.d.ts +66 -66
  8. package/dist/commonjs/sdk/models/operations/getlistingsbylocation.d.ts.map +1 -1
  9. package/dist/commonjs/sdk/models/operations/getlistingsbylocation.js +70 -70
  10. package/dist/commonjs/sdk/models/operations/getlistingsbylocation.js.map +1 -1
  11. package/dist/commonjs/sdk/models/operations/querylistings.d.ts +66 -66
  12. package/dist/commonjs/sdk/models/operations/querylistings.d.ts.map +1 -1
  13. package/dist/commonjs/sdk/models/operations/querylistings.js +72 -68
  14. package/dist/commonjs/sdk/models/operations/querylistings.js.map +1 -1
  15. package/dist/commonjs/sdk/models/operations/querylistingsbysource.d.ts +66 -66
  16. package/dist/commonjs/sdk/models/operations/querylistingsbysource.d.ts.map +1 -1
  17. package/dist/commonjs/sdk/models/operations/querylistingsbysource.js +72 -68
  18. package/dist/commonjs/sdk/models/operations/querylistingsbysource.js.map +1 -1
  19. package/dist/commonjs/sdk/models/shared/builddata.d.ts +123 -0
  20. package/dist/commonjs/sdk/models/shared/builddata.d.ts.map +1 -0
  21. package/dist/commonjs/sdk/models/shared/builddata.js +122 -0
  22. package/dist/commonjs/sdk/models/shared/builddata.js.map +1 -0
  23. package/dist/commonjs/sdk/models/shared/chargeentry.d.ts +62 -0
  24. package/dist/commonjs/sdk/models/shared/chargeentry.d.ts.map +1 -0
  25. package/dist/commonjs/sdk/models/shared/chargeentry.js +81 -0
  26. package/dist/commonjs/sdk/models/shared/chargeentry.js.map +1 -0
  27. package/dist/commonjs/sdk/models/shared/chargehistory.d.ts +53 -0
  28. package/dist/commonjs/sdk/models/shared/chargehistory.d.ts.map +1 -0
  29. package/dist/commonjs/sdk/models/shared/chargehistory.js +78 -0
  30. package/dist/commonjs/sdk/models/shared/chargehistory.js.map +1 -0
  31. package/dist/commonjs/sdk/models/shared/counciltaxbanddetails.d.ts +52 -0
  32. package/dist/commonjs/sdk/models/shared/counciltaxbanddetails.d.ts.map +1 -0
  33. package/dist/commonjs/sdk/models/shared/counciltaxbanddetails.js +77 -0
  34. package/dist/commonjs/sdk/models/shared/counciltaxbanddetails.js.map +1 -0
  35. package/dist/commonjs/sdk/models/shared/counciltaxdata.d.ts +29 -8
  36. package/dist/commonjs/sdk/models/shared/counciltaxdata.d.ts.map +1 -1
  37. package/dist/commonjs/sdk/models/shared/counciltaxdata.js +15 -6
  38. package/dist/commonjs/sdk/models/shared/counciltaxdata.js.map +1 -1
  39. package/dist/commonjs/sdk/models/shared/epcdata.d.ts +25 -10
  40. package/dist/commonjs/sdk/models/shared/epcdata.d.ts.map +1 -1
  41. package/dist/commonjs/sdk/models/shared/epcdata.js +10 -4
  42. package/dist/commonjs/sdk/models/shared/epcdata.js.map +1 -1
  43. package/dist/commonjs/sdk/models/shared/index.d.ts +11 -0
  44. package/dist/commonjs/sdk/models/shared/index.d.ts.map +1 -1
  45. package/dist/commonjs/sdk/models/shared/index.js +11 -0
  46. package/dist/commonjs/sdk/models/shared/index.js.map +1 -1
  47. package/dist/commonjs/sdk/models/shared/lease.d.ts +47 -0
  48. package/dist/commonjs/sdk/models/shared/lease.d.ts.map +1 -0
  49. package/dist/commonjs/sdk/models/shared/lease.js +76 -0
  50. package/dist/commonjs/sdk/models/shared/lease.js.map +1 -0
  51. package/dist/commonjs/sdk/models/shared/listing.d.ts +312 -0
  52. package/dist/commonjs/sdk/models/shared/listing.d.ts.map +1 -0
  53. package/dist/commonjs/sdk/models/shared/listing.js +280 -0
  54. package/dist/commonjs/sdk/models/shared/listing.js.map +1 -0
  55. package/dist/commonjs/sdk/models/shared/listingimage.d.ts +32 -0
  56. package/dist/commonjs/sdk/models/shared/listingimage.d.ts.map +1 -0
  57. package/dist/commonjs/sdk/models/shared/listingimage.js +69 -0
  58. package/dist/commonjs/sdk/models/shared/listingimage.js.map +1 -0
  59. package/dist/commonjs/sdk/models/shared/listingpricechange.d.ts +87 -0
  60. package/dist/commonjs/sdk/models/shared/listingpricechange.d.ts.map +1 -0
  61. package/dist/commonjs/sdk/models/shared/listingpricechange.js +101 -0
  62. package/dist/commonjs/sdk/models/shared/listingpricechange.js.map +1 -0
  63. package/dist/commonjs/sdk/models/shared/marketstatus.d.ts +209 -13
  64. package/dist/commonjs/sdk/models/shared/marketstatus.d.ts.map +1 -1
  65. package/dist/commonjs/sdk/models/shared/marketstatus.js +157 -11
  66. package/dist/commonjs/sdk/models/shared/marketstatus.js.map +1 -1
  67. package/dist/commonjs/sdk/models/shared/planningapplication.d.ts +8 -8
  68. package/dist/commonjs/sdk/models/shared/planningapplication.d.ts.map +1 -1
  69. package/dist/commonjs/sdk/models/shared/planningapplication.js +13 -14
  70. package/dist/commonjs/sdk/models/shared/planningapplication.js.map +1 -1
  71. package/dist/commonjs/sdk/models/shared/pricechange.d.ts +87 -0
  72. package/dist/commonjs/sdk/models/shared/pricechange.d.ts.map +1 -0
  73. package/dist/commonjs/sdk/models/shared/pricechange.js +100 -0
  74. package/dist/commonjs/sdk/models/shared/pricechange.js.map +1 -0
  75. package/dist/commonjs/sdk/models/shared/pricingdata.d.ts +9 -14
  76. package/dist/commonjs/sdk/models/shared/pricingdata.d.ts.map +1 -1
  77. package/dist/commonjs/sdk/models/shared/pricingdata.js +10 -12
  78. package/dist/commonjs/sdk/models/shared/pricingdata.js.map +1 -1
  79. package/dist/commonjs/sdk/models/shared/propertyaddress.d.ts +6 -31
  80. package/dist/commonjs/sdk/models/shared/propertyaddress.d.ts.map +1 -1
  81. package/dist/commonjs/sdk/models/shared/propertyaddress.js +6 -16
  82. package/dist/commonjs/sdk/models/shared/propertyaddress.js.map +1 -1
  83. package/dist/commonjs/sdk/models/shared/propertydata.d.ts +360 -189
  84. package/dist/commonjs/sdk/models/shared/propertydata.d.ts.map +1 -1
  85. package/dist/commonjs/sdk/models/shared/propertydata.js +287 -82
  86. package/dist/commonjs/sdk/models/shared/propertydata.js.map +1 -1
  87. package/dist/commonjs/sdk/models/shared/propertymultipolygonareafilter.d.ts +8 -8
  88. package/dist/commonjs/sdk/models/shared/propertymultipolygonareafilter.d.ts.map +1 -1
  89. package/dist/commonjs/sdk/models/shared/propertymultipolygonareafilter.js +13 -13
  90. package/dist/commonjs/sdk/models/shared/propertymultipolygonareafilter.js.map +1 -1
  91. package/dist/commonjs/sdk/models/shared/propertyqueryrequest.d.ts +9 -9
  92. package/dist/commonjs/sdk/models/shared/propertyqueryrequest.js +3 -3
  93. package/dist/commonjs/sdk/models/shared/propertyqueryrequest.js.map +1 -1
  94. package/dist/commonjs/sdk/models/shared/propertytags.d.ts +42 -12
  95. package/dist/commonjs/sdk/models/shared/propertytags.d.ts.map +1 -1
  96. package/dist/commonjs/sdk/models/shared/propertytags.js +26 -14
  97. package/dist/commonjs/sdk/models/shared/propertytags.js.map +1 -1
  98. package/dist/commonjs/sdk/models/shared/refurbishmentdata.d.ts +67 -0
  99. package/dist/commonjs/sdk/models/shared/refurbishmentdata.d.ts.map +1 -0
  100. package/dist/commonjs/sdk/models/shared/refurbishmentdata.js +93 -0
  101. package/dist/commonjs/sdk/models/shared/refurbishmentdata.js.map +1 -0
  102. package/dist/commonjs/sdk/models/shared/roomdetails.d.ts +4 -9
  103. package/dist/commonjs/sdk/models/shared/roomdetails.d.ts.map +1 -1
  104. package/dist/commonjs/sdk/models/shared/roomdetails.js +4 -6
  105. package/dist/commonjs/sdk/models/shared/roomdetails.js.map +1 -1
  106. package/dist/commonjs/sdk/models/shared/salerecord.d.ts +8 -13
  107. package/dist/commonjs/sdk/models/shared/salerecord.d.ts.map +1 -1
  108. package/dist/commonjs/sdk/models/shared/salerecord.js +6 -8
  109. package/dist/commonjs/sdk/models/shared/salerecord.js.map +1 -1
  110. package/dist/commonjs/sdk/models/shared/tenancydata.d.ts +37 -0
  111. package/dist/commonjs/sdk/models/shared/tenancydata.d.ts.map +1 -0
  112. package/dist/commonjs/sdk/models/shared/tenancydata.js +71 -0
  113. package/dist/commonjs/sdk/models/shared/tenancydata.js.map +1 -0
  114. package/dist/commonjs/sdk/models/shared/tenuredata.d.ts +2 -17
  115. package/dist/commonjs/sdk/models/shared/tenuredata.d.ts.map +1 -1
  116. package/dist/commonjs/sdk/models/shared/tenuredata.js +2 -8
  117. package/dist/commonjs/sdk/models/shared/tenuredata.js.map +1 -1
  118. package/dist/esm/lib/config.d.ts +4 -4
  119. package/dist/esm/lib/config.js +4 -4
  120. package/dist/esm/sdk/models/operations/getlistingbyid.d.ts +66 -66
  121. package/dist/esm/sdk/models/operations/getlistingbyid.d.ts.map +1 -1
  122. package/dist/esm/sdk/models/operations/getlistingbyid.js +72 -68
  123. package/dist/esm/sdk/models/operations/getlistingbyid.js.map +1 -1
  124. package/dist/esm/sdk/models/operations/getlistingsbylocation.d.ts +66 -66
  125. package/dist/esm/sdk/models/operations/getlistingsbylocation.d.ts.map +1 -1
  126. package/dist/esm/sdk/models/operations/getlistingsbylocation.js +70 -70
  127. package/dist/esm/sdk/models/operations/getlistingsbylocation.js.map +1 -1
  128. package/dist/esm/sdk/models/operations/querylistings.d.ts +66 -66
  129. package/dist/esm/sdk/models/operations/querylistings.d.ts.map +1 -1
  130. package/dist/esm/sdk/models/operations/querylistings.js +72 -68
  131. package/dist/esm/sdk/models/operations/querylistings.js.map +1 -1
  132. package/dist/esm/sdk/models/operations/querylistingsbysource.d.ts +66 -66
  133. package/dist/esm/sdk/models/operations/querylistingsbysource.d.ts.map +1 -1
  134. package/dist/esm/sdk/models/operations/querylistingsbysource.js +72 -68
  135. package/dist/esm/sdk/models/operations/querylistingsbysource.js.map +1 -1
  136. package/dist/esm/sdk/models/shared/builddata.d.ts +123 -0
  137. package/dist/esm/sdk/models/shared/builddata.d.ts.map +1 -0
  138. package/dist/esm/sdk/models/shared/builddata.js +82 -0
  139. package/dist/esm/sdk/models/shared/builddata.js.map +1 -0
  140. package/dist/esm/sdk/models/shared/chargeentry.d.ts +62 -0
  141. package/dist/esm/sdk/models/shared/chargeentry.d.ts.map +1 -0
  142. package/dist/esm/sdk/models/shared/chargeentry.js +43 -0
  143. package/dist/esm/sdk/models/shared/chargeentry.js.map +1 -0
  144. package/dist/esm/sdk/models/shared/chargehistory.d.ts +53 -0
  145. package/dist/esm/sdk/models/shared/chargehistory.d.ts.map +1 -0
  146. package/dist/esm/sdk/models/shared/chargehistory.js +40 -0
  147. package/dist/esm/sdk/models/shared/chargehistory.js.map +1 -0
  148. package/dist/esm/sdk/models/shared/counciltaxbanddetails.d.ts +52 -0
  149. package/dist/esm/sdk/models/shared/counciltaxbanddetails.d.ts.map +1 -0
  150. package/dist/esm/sdk/models/shared/counciltaxbanddetails.js +39 -0
  151. package/dist/esm/sdk/models/shared/counciltaxbanddetails.js.map +1 -0
  152. package/dist/esm/sdk/models/shared/counciltaxdata.d.ts +29 -8
  153. package/dist/esm/sdk/models/shared/counciltaxdata.d.ts.map +1 -1
  154. package/dist/esm/sdk/models/shared/counciltaxdata.js +15 -6
  155. package/dist/esm/sdk/models/shared/counciltaxdata.js.map +1 -1
  156. package/dist/esm/sdk/models/shared/epcdata.d.ts +25 -10
  157. package/dist/esm/sdk/models/shared/epcdata.d.ts.map +1 -1
  158. package/dist/esm/sdk/models/shared/epcdata.js +10 -4
  159. package/dist/esm/sdk/models/shared/epcdata.js.map +1 -1
  160. package/dist/esm/sdk/models/shared/index.d.ts +11 -0
  161. package/dist/esm/sdk/models/shared/index.d.ts.map +1 -1
  162. package/dist/esm/sdk/models/shared/index.js +11 -0
  163. package/dist/esm/sdk/models/shared/index.js.map +1 -1
  164. package/dist/esm/sdk/models/shared/lease.d.ts +47 -0
  165. package/dist/esm/sdk/models/shared/lease.d.ts.map +1 -0
  166. package/dist/esm/sdk/models/shared/lease.js +38 -0
  167. package/dist/esm/sdk/models/shared/lease.js.map +1 -0
  168. package/dist/esm/sdk/models/shared/listing.d.ts +312 -0
  169. package/dist/esm/sdk/models/shared/listing.d.ts.map +1 -0
  170. package/dist/esm/sdk/models/shared/listing.js +236 -0
  171. package/dist/esm/sdk/models/shared/listing.js.map +1 -0
  172. package/dist/esm/sdk/models/shared/listingimage.d.ts +32 -0
  173. package/dist/esm/sdk/models/shared/listingimage.d.ts.map +1 -0
  174. package/dist/esm/sdk/models/shared/listingimage.js +31 -0
  175. package/dist/esm/sdk/models/shared/listingimage.js.map +1 -0
  176. package/dist/esm/sdk/models/shared/listingpricechange.d.ts +87 -0
  177. package/dist/esm/sdk/models/shared/listingpricechange.d.ts.map +1 -0
  178. package/dist/esm/sdk/models/shared/listingpricechange.js +63 -0
  179. package/dist/esm/sdk/models/shared/listingpricechange.js.map +1 -0
  180. package/dist/esm/sdk/models/shared/marketstatus.d.ts +209 -13
  181. package/dist/esm/sdk/models/shared/marketstatus.d.ts.map +1 -1
  182. package/dist/esm/sdk/models/shared/marketstatus.js +152 -10
  183. package/dist/esm/sdk/models/shared/marketstatus.js.map +1 -1
  184. package/dist/esm/sdk/models/shared/planningapplication.d.ts +8 -8
  185. package/dist/esm/sdk/models/shared/planningapplication.d.ts.map +1 -1
  186. package/dist/esm/sdk/models/shared/planningapplication.js +12 -13
  187. package/dist/esm/sdk/models/shared/planningapplication.js.map +1 -1
  188. package/dist/esm/sdk/models/shared/pricechange.d.ts +87 -0
  189. package/dist/esm/sdk/models/shared/pricechange.d.ts.map +1 -0
  190. package/dist/esm/sdk/models/shared/pricechange.js +62 -0
  191. package/dist/esm/sdk/models/shared/pricechange.js.map +1 -0
  192. package/dist/esm/sdk/models/shared/pricingdata.d.ts +9 -14
  193. package/dist/esm/sdk/models/shared/pricingdata.d.ts.map +1 -1
  194. package/dist/esm/sdk/models/shared/pricingdata.js +10 -12
  195. package/dist/esm/sdk/models/shared/pricingdata.js.map +1 -1
  196. package/dist/esm/sdk/models/shared/propertyaddress.d.ts +6 -31
  197. package/dist/esm/sdk/models/shared/propertyaddress.d.ts.map +1 -1
  198. package/dist/esm/sdk/models/shared/propertyaddress.js +6 -16
  199. package/dist/esm/sdk/models/shared/propertyaddress.js.map +1 -1
  200. package/dist/esm/sdk/models/shared/propertydata.d.ts +360 -189
  201. package/dist/esm/sdk/models/shared/propertydata.d.ts.map +1 -1
  202. package/dist/esm/sdk/models/shared/propertydata.js +276 -81
  203. package/dist/esm/sdk/models/shared/propertydata.js.map +1 -1
  204. package/dist/esm/sdk/models/shared/propertymultipolygonareafilter.d.ts +8 -8
  205. package/dist/esm/sdk/models/shared/propertymultipolygonareafilter.d.ts.map +1 -1
  206. package/dist/esm/sdk/models/shared/propertymultipolygonareafilter.js +12 -12
  207. package/dist/esm/sdk/models/shared/propertymultipolygonareafilter.js.map +1 -1
  208. package/dist/esm/sdk/models/shared/propertyqueryrequest.d.ts +9 -9
  209. package/dist/esm/sdk/models/shared/propertyqueryrequest.js +3 -3
  210. package/dist/esm/sdk/models/shared/propertyqueryrequest.js.map +1 -1
  211. package/dist/esm/sdk/models/shared/propertytags.d.ts +42 -12
  212. package/dist/esm/sdk/models/shared/propertytags.d.ts.map +1 -1
  213. package/dist/esm/sdk/models/shared/propertytags.js +26 -14
  214. package/dist/esm/sdk/models/shared/propertytags.js.map +1 -1
  215. package/dist/esm/sdk/models/shared/refurbishmentdata.d.ts +67 -0
  216. package/dist/esm/sdk/models/shared/refurbishmentdata.d.ts.map +1 -0
  217. package/dist/esm/sdk/models/shared/refurbishmentdata.js +55 -0
  218. package/dist/esm/sdk/models/shared/refurbishmentdata.js.map +1 -0
  219. package/dist/esm/sdk/models/shared/roomdetails.d.ts +4 -9
  220. package/dist/esm/sdk/models/shared/roomdetails.d.ts.map +1 -1
  221. package/dist/esm/sdk/models/shared/roomdetails.js +4 -6
  222. package/dist/esm/sdk/models/shared/roomdetails.js.map +1 -1
  223. package/dist/esm/sdk/models/shared/salerecord.d.ts +8 -13
  224. package/dist/esm/sdk/models/shared/salerecord.d.ts.map +1 -1
  225. package/dist/esm/sdk/models/shared/salerecord.js +6 -8
  226. package/dist/esm/sdk/models/shared/salerecord.js.map +1 -1
  227. package/dist/esm/sdk/models/shared/tenancydata.d.ts +37 -0
  228. package/dist/esm/sdk/models/shared/tenancydata.d.ts.map +1 -0
  229. package/dist/esm/sdk/models/shared/tenancydata.js +33 -0
  230. package/dist/esm/sdk/models/shared/tenancydata.js.map +1 -0
  231. package/dist/esm/sdk/models/shared/tenuredata.d.ts +2 -17
  232. package/dist/esm/sdk/models/shared/tenuredata.d.ts.map +1 -1
  233. package/dist/esm/sdk/models/shared/tenuredata.js +2 -8
  234. package/dist/esm/sdk/models/shared/tenuredata.js.map +1 -1
  235. package/jsr.json +1 -1
  236. package/package.json +1 -1
  237. package/src/lib/config.ts +4 -4
  238. package/src/sdk/models/operations/getlistingbyid.ts +140 -149
  239. package/src/sdk/models/operations/getlistingsbylocation.ts +138 -144
  240. package/src/sdk/models/operations/querylistings.ts +140 -146
  241. package/src/sdk/models/operations/querylistingsbysource.ts +141 -146
  242. package/src/sdk/models/shared/builddata.ts +213 -0
  243. package/src/sdk/models/shared/chargeentry.ts +109 -0
  244. package/src/sdk/models/shared/chargehistory.ts +101 -0
  245. package/src/sdk/models/shared/counciltaxbanddetails.ts +97 -0
  246. package/src/sdk/models/shared/counciltaxdata.ts +48 -14
  247. package/src/sdk/models/shared/epcdata.ts +35 -14
  248. package/src/sdk/models/shared/index.ts +11 -0
  249. package/src/sdk/models/shared/lease.ts +83 -0
  250. package/src/sdk/models/shared/listing.ts +505 -0
  251. package/src/sdk/models/shared/listingimage.ts +65 -0
  252. package/src/sdk/models/shared/listingpricechange.ts +130 -0
  253. package/src/sdk/models/shared/marketstatus.ts +316 -23
  254. package/src/sdk/models/shared/planningapplication.ts +18 -14
  255. package/src/sdk/models/shared/pricechange.ts +128 -0
  256. package/src/sdk/models/shared/pricingdata.ts +19 -26
  257. package/src/sdk/models/shared/propertyaddress.ts +12 -47
  258. package/src/sdk/models/shared/propertydata.ts +564 -115
  259. package/src/sdk/models/shared/propertymultipolygonareafilter.ts +19 -15
  260. package/src/sdk/models/shared/propertyqueryrequest.ts +3 -3
  261. package/src/sdk/models/shared/propertytags.ts +68 -26
  262. package/src/sdk/models/shared/refurbishmentdata.ts +102 -0
  263. package/src/sdk/models/shared/roomdetails.ts +8 -15
  264. package/src/sdk/models/shared/salerecord.ts +14 -21
  265. package/src/sdk/models/shared/tenancydata.ts +72 -0
  266. package/src/sdk/models/shared/tenuredata.ts +4 -25
@@ -7,6 +7,18 @@ import { safeParse } from "../../../lib/schemas.js";
7
7
  import { ClosedEnum } from "../../types/enums.js";
8
8
  import { Result as SafeParseResult } from "../../types/fp.js";
9
9
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
+ import {
11
+ BuildData,
12
+ BuildData$inboundSchema,
13
+ BuildData$Outbound,
14
+ BuildData$outboundSchema,
15
+ } from "./builddata.js";
16
+ import {
17
+ ChargeHistory,
18
+ ChargeHistory$inboundSchema,
19
+ ChargeHistory$Outbound,
20
+ ChargeHistory$outboundSchema,
21
+ } from "./chargehistory.js";
10
22
  import {
11
23
  CouncilTaxData,
12
24
  CouncilTaxData$inboundSchema,
@@ -19,12 +31,30 @@ import {
19
31
  EPCData$Outbound,
20
32
  EPCData$outboundSchema,
21
33
  } from "./epcdata.js";
34
+ import {
35
+ Lease,
36
+ Lease$inboundSchema,
37
+ Lease$Outbound,
38
+ Lease$outboundSchema,
39
+ } from "./lease.js";
40
+ import {
41
+ Listing,
42
+ Listing$inboundSchema,
43
+ Listing$Outbound,
44
+ Listing$outboundSchema,
45
+ } from "./listing.js";
22
46
  import {
23
47
  MarketStatus,
24
48
  MarketStatus$inboundSchema,
25
49
  MarketStatus$Outbound,
26
50
  MarketStatus$outboundSchema,
27
51
  } from "./marketstatus.js";
52
+ import {
53
+ PriceChange,
54
+ PriceChange$inboundSchema,
55
+ PriceChange$Outbound,
56
+ PriceChange$outboundSchema,
57
+ } from "./pricechange.js";
28
58
  import {
29
59
  PricingData,
30
60
  PricingData$inboundSchema,
@@ -43,6 +73,12 @@ import {
43
73
  PropertyTags$Outbound,
44
74
  PropertyTags$outboundSchema,
45
75
  } from "./propertytags.js";
76
+ import {
77
+ RefurbishmentData,
78
+ RefurbishmentData$inboundSchema,
79
+ RefurbishmentData$Outbound,
80
+ RefurbishmentData$outboundSchema,
81
+ } from "./refurbishmentdata.js";
46
82
  import {
47
83
  RoomDetails,
48
84
  RoomDetails$inboundSchema,
@@ -55,6 +91,12 @@ import {
55
91
  SaleRecord$Outbound,
56
92
  SaleRecord$outboundSchema,
57
93
  } from "./salerecord.js";
94
+ import {
95
+ TenancyData,
96
+ TenancyData$inboundSchema,
97
+ TenancyData$Outbound,
98
+ TenancyData$outboundSchema,
99
+ } from "./tenancydata.js";
58
100
  import {
59
101
  TenureData,
60
102
  TenureData$inboundSchema,
@@ -62,6 +104,14 @@ import {
62
104
  TenureData$outboundSchema,
63
105
  } from "./tenuredata.js";
64
106
 
107
+ /**
108
+ * Property charges including service charge and ground rent
109
+ */
110
+ export type Charges = {
111
+ groundRent?: ChargeHistory | null | undefined;
112
+ serviceCharge?: ChargeHistory | null | undefined;
113
+ };
114
+
65
115
  /**
66
116
  * Property classification code
67
117
  */
@@ -75,6 +125,23 @@ export const ClassificationCode = {
75
125
  Rd07: "RD07",
76
126
  Rd08: "RD08",
77
127
  Rd10: "RD10",
128
+ Rg: "RG",
129
+ Rh: "RH",
130
+ Ri: "RI",
131
+ Ca: "CA",
132
+ Cb: "CB",
133
+ Cc: "CC",
134
+ Ce: "CE",
135
+ Ch: "CH",
136
+ Ci: "CI",
137
+ Cl: "CL",
138
+ Cm: "CM",
139
+ Cn: "CN",
140
+ Co: "CO",
141
+ Cr: "CR",
142
+ Ct: "CT",
143
+ Cu: "CU",
144
+ Cx: "CX",
78
145
  } as const;
79
146
  /**
80
147
  * Property classification code
@@ -82,132 +149,219 @@ export const ClassificationCode = {
82
149
  export type ClassificationCode = ClosedEnum<typeof ClassificationCode>;
83
150
 
84
151
  /**
85
- * Property type
152
+ * Flood risk information
153
+ */
154
+ export type FloodRisk = {
155
+ /**
156
+ * Flood risk level
157
+ */
158
+ riskLevel: string;
159
+ /**
160
+ * Suitability assessment
161
+ */
162
+ suitability?: string | null | undefined;
163
+ };
164
+
165
+ /**
166
+ * Property category
86
167
  */
87
- export const PropertyType = {
88
- Unknown: "unknown",
89
- Other: "other",
90
- Flat: "flat",
91
- Detached: "detached",
92
- SemiDetached: "semiDetached",
93
- Terraced: "terraced",
94
- Bungalow: "bungalow",
95
- Maisonette: "maisonette",
96
- Cottage: "cottage",
97
- Chalet: "chalet",
98
- Lodge: "lodge",
99
- MobileHome: "mobileHome",
100
- Houseboat: "houseboat",
101
- Retirement: "retirement",
102
- CharacterProperty: "characterProperty",
103
- BlockOfFlats: "blockOfFlats",
104
- HouseShare: "houseShare",
105
- Farmhouse: "farmhouse",
106
- Mill: "mill",
107
- Barn: "barn",
108
- CoachHouse: "coachHouse",
109
- StatelyHome: "statelyHome",
110
- Farm: "farm",
111
- Parking: "parking",
112
- Equestrian: "equestrian",
113
- Restaurant: "restaurant",
114
- Industrial: "industrial",
115
- Warehouse: "warehouse",
116
- Leisure: "leisure",
117
- Retail: "retail",
118
- Land: "land",
119
- Office: "office",
120
- Riad: "riad",
121
- Hotel: "hotel",
122
- StudentAccommodation: "studentAccommodation",
168
+ export const PropertyCategory = {
169
+ Residential: "residential",
123
170
  Commercial: "commercial",
124
- Pub: "pub",
125
- Bar: "bar",
126
- HotelRoom: "hotelRoom",
127
- Shop: "shop",
128
- RetailHighStreet: "retailHighStreet",
129
- RetailOutOfTown: "retailOutOfTown",
130
- IndustrialDevelopment: "industrialDevelopment",
131
- DistributionWarehouse: "distributionWarehouse",
132
- IndustrialPark: "industrialPark",
133
- Storage: "storage",
134
- ServicedOffice: "servicedOffice",
135
- ResidentialDevelopment: "residentialDevelopment",
136
- CommercialDevelopment: "commercialDevelopment",
137
- MixedUse: "mixedUse",
138
171
  } as const;
139
172
  /**
140
- * Property type
173
+ * Property category
174
+ */
175
+ export type PropertyCategory = ClosedEnum<typeof PropertyCategory>;
176
+
177
+ export const PropertyDataSchemasType = {
178
+ MultiPolygon: "MultiPolygon",
179
+ } as const;
180
+ export type PropertyDataSchemasType = ClosedEnum<
181
+ typeof PropertyDataSchemasType
182
+ >;
183
+
184
+ export type Two = {
185
+ coordinates: Array<Array<Array<Array<number>>>>;
186
+ type: PropertyDataSchemasType;
187
+ };
188
+
189
+ export const PropertyDataSchemasSpatialType = {
190
+ Polygon: "Polygon",
191
+ } as const;
192
+ export type PropertyDataSchemasSpatialType = ClosedEnum<
193
+ typeof PropertyDataSchemasSpatialType
194
+ >;
195
+
196
+ export type One = {
197
+ coordinates: Array<Array<Array<number>>>;
198
+ type: PropertyDataSchemasSpatialType;
199
+ };
200
+
201
+ /**
202
+ * Property boundary GeoJSON (Polygon or MultiPolygon)
141
203
  */
142
- export type PropertyType = ClosedEnum<typeof PropertyType>;
204
+ export type Boundary = One | Two;
205
+
206
+ /**
207
+ * GeoJSON geometry type
208
+ */
209
+ export const PropertyDataType = {
210
+ Point: "Point",
211
+ } as const;
212
+ /**
213
+ * GeoJSON geometry type
214
+ */
215
+ export type PropertyDataType = ClosedEnum<typeof PropertyDataType>;
143
216
 
144
217
  export type PropertyDataSpatial = {
145
218
  /**
146
- * Property boundary GeoJSON
219
+ * Property boundary GeoJSON (Polygon or MultiPolygon)
147
220
  */
148
- boundary?: any | null | undefined;
221
+ boundary?: One | Two | undefined;
149
222
  /**
150
- * Latitude coordinate
223
+ * Coordinates as [longitude, latitude] following GeoJSON standard
151
224
  */
152
- lat: number;
225
+ coordinates: Array<number>;
153
226
  /**
154
- * Longitude coordinate
227
+ * GeoJSON geometry type
155
228
  */
156
- lng: number;
229
+ type: PropertyDataType;
157
230
  };
158
231
 
159
232
  export type PropertyData = {
160
233
  address: PropertyAddress;
234
+ build: BuildData;
235
+ /**
236
+ * Property charges including service charge and ground rent
237
+ */
238
+ charges?: Charges | undefined;
161
239
  /**
162
240
  * Property classification code
163
241
  */
164
- classificationCode?: ClassificationCode | undefined;
242
+ classificationCode?: ClassificationCode | null | undefined;
165
243
  councilTax?: CouncilTaxData | undefined;
166
244
  epc?: EPCData | undefined;
167
245
  /**
168
- * Total floor area in square metres
246
+ * Flood risk information
247
+ */
248
+ floodRisk?: FloodRisk | undefined;
249
+ /**
250
+ * Lease records for leasehold properties
169
251
  */
170
- floorAreaSqM?: number | undefined;
252
+ leases?: Array<Lease> | undefined;
171
253
  /**
172
- * ISO timestamp of last data update
254
+ * Property listings with images and details
173
255
  */
174
- lastUpdated?: string | undefined;
256
+ listings?: Array<Listing> | undefined;
175
257
  /**
176
258
  * Location identifier
177
259
  */
178
260
  locationId: string;
179
261
  marketStatus?: MarketStatus | undefined;
180
262
  /**
181
- * Plot size in square metres
263
+ * Property overlays and designations
264
+ */
265
+ overlays?: Array<string> | undefined;
266
+ /**
267
+ * Parent location identifier
268
+ */
269
+ parentLocationId?: string | null | undefined;
270
+ /**
271
+ * Rent price change history
272
+ */
273
+ priceChangeRent?: Array<PriceChange> | undefined;
274
+ /**
275
+ * Sale price change history
182
276
  */
183
- plotSizeSqM?: number | undefined;
277
+ priceChangeSale?: Array<PriceChange> | undefined;
184
278
  pricing?: PricingData | undefined;
185
279
  /**
186
- * Unique property identifier
280
+ * Property category
187
281
  */
188
- propertyId: string;
282
+ propertyCategory?: PropertyCategory | null | undefined;
189
283
  /**
190
- * Property sub-type
284
+ * Unique property identifier
191
285
  */
192
- propertySubType?: string | undefined;
286
+ propertyId: string;
287
+ refurbishment?: RefurbishmentData | undefined;
193
288
  /**
194
- * Property type
289
+ * Related property IDs
195
290
  */
196
- propertyType?: PropertyType | undefined;
291
+ relationships?: Array<string> | undefined;
197
292
  roomDetails?: RoomDetails | undefined;
198
293
  /**
199
294
  * Historical sale records
200
295
  */
201
296
  saleHistory?: Array<SaleRecord> | undefined;
297
+ /**
298
+ * SEO-friendly URL slug
299
+ */
300
+ slug: string;
301
+ /**
302
+ * Data source identifiers
303
+ */
304
+ sources?: Array<string> | undefined;
202
305
  spatial: PropertyDataSpatial;
203
- tags?: PropertyTags | undefined;
204
- tenure?: TenureData | undefined;
205
306
  /**
206
- * Year property was built
307
+ * Street identifiers
207
308
  */
208
- yearBuilt?: number | undefined;
309
+ streetIds?: Array<number> | undefined;
310
+ tags?: PropertyTags | undefined;
311
+ tenancy?: TenancyData | undefined;
312
+ tenure?: TenureData | undefined;
209
313
  };
210
314
 
315
+ /** @internal */
316
+ export const Charges$inboundSchema: z.ZodType<Charges, z.ZodTypeDef, unknown> =
317
+ z.object({
318
+ groundRent: z.nullable(ChargeHistory$inboundSchema).optional(),
319
+ serviceCharge: z.nullable(ChargeHistory$inboundSchema).optional(),
320
+ });
321
+
322
+ /** @internal */
323
+ export type Charges$Outbound = {
324
+ groundRent?: ChargeHistory$Outbound | null | undefined;
325
+ serviceCharge?: ChargeHistory$Outbound | null | undefined;
326
+ };
327
+
328
+ /** @internal */
329
+ export const Charges$outboundSchema: z.ZodType<
330
+ Charges$Outbound,
331
+ z.ZodTypeDef,
332
+ Charges
333
+ > = z.object({
334
+ groundRent: z.nullable(ChargeHistory$outboundSchema).optional(),
335
+ serviceCharge: z.nullable(ChargeHistory$outboundSchema).optional(),
336
+ });
337
+
338
+ /**
339
+ * @internal
340
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
341
+ */
342
+ export namespace Charges$ {
343
+ /** @deprecated use `Charges$inboundSchema` instead. */
344
+ export const inboundSchema = Charges$inboundSchema;
345
+ /** @deprecated use `Charges$outboundSchema` instead. */
346
+ export const outboundSchema = Charges$outboundSchema;
347
+ /** @deprecated use `Charges$Outbound` instead. */
348
+ export type Outbound = Charges$Outbound;
349
+ }
350
+
351
+ export function chargesToJSON(charges: Charges): string {
352
+ return JSON.stringify(Charges$outboundSchema.parse(charges));
353
+ }
354
+
355
+ export function chargesFromJSON(
356
+ jsonString: string,
357
+ ): SafeParseResult<Charges, SDKValidationError> {
358
+ return safeParse(
359
+ jsonString,
360
+ (x) => Charges$inboundSchema.parse(JSON.parse(x)),
361
+ `Failed to parse 'Charges' from JSON`,
362
+ );
363
+ }
364
+
211
365
  /** @internal */
212
366
  export const ClassificationCode$inboundSchema: z.ZodNativeEnum<
213
367
  typeof ClassificationCode
@@ -230,22 +384,281 @@ export namespace ClassificationCode$ {
230
384
  }
231
385
 
232
386
  /** @internal */
233
- export const PropertyType$inboundSchema: z.ZodNativeEnum<typeof PropertyType> =
234
- z.nativeEnum(PropertyType);
387
+ export const FloodRisk$inboundSchema: z.ZodType<
388
+ FloodRisk,
389
+ z.ZodTypeDef,
390
+ unknown
391
+ > = z.object({
392
+ riskLevel: z.string(),
393
+ suitability: z.nullable(z.string()).optional(),
394
+ });
395
+
396
+ /** @internal */
397
+ export type FloodRisk$Outbound = {
398
+ riskLevel: string;
399
+ suitability?: string | null | undefined;
400
+ };
401
+
402
+ /** @internal */
403
+ export const FloodRisk$outboundSchema: z.ZodType<
404
+ FloodRisk$Outbound,
405
+ z.ZodTypeDef,
406
+ FloodRisk
407
+ > = z.object({
408
+ riskLevel: z.string(),
409
+ suitability: z.nullable(z.string()).optional(),
410
+ });
411
+
412
+ /**
413
+ * @internal
414
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
415
+ */
416
+ export namespace FloodRisk$ {
417
+ /** @deprecated use `FloodRisk$inboundSchema` instead. */
418
+ export const inboundSchema = FloodRisk$inboundSchema;
419
+ /** @deprecated use `FloodRisk$outboundSchema` instead. */
420
+ export const outboundSchema = FloodRisk$outboundSchema;
421
+ /** @deprecated use `FloodRisk$Outbound` instead. */
422
+ export type Outbound = FloodRisk$Outbound;
423
+ }
424
+
425
+ export function floodRiskToJSON(floodRisk: FloodRisk): string {
426
+ return JSON.stringify(FloodRisk$outboundSchema.parse(floodRisk));
427
+ }
428
+
429
+ export function floodRiskFromJSON(
430
+ jsonString: string,
431
+ ): SafeParseResult<FloodRisk, SDKValidationError> {
432
+ return safeParse(
433
+ jsonString,
434
+ (x) => FloodRisk$inboundSchema.parse(JSON.parse(x)),
435
+ `Failed to parse 'FloodRisk' from JSON`,
436
+ );
437
+ }
438
+
439
+ /** @internal */
440
+ export const PropertyCategory$inboundSchema: z.ZodNativeEnum<
441
+ typeof PropertyCategory
442
+ > = z.nativeEnum(PropertyCategory);
443
+
444
+ /** @internal */
445
+ export const PropertyCategory$outboundSchema: z.ZodNativeEnum<
446
+ typeof PropertyCategory
447
+ > = PropertyCategory$inboundSchema;
448
+
449
+ /**
450
+ * @internal
451
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
452
+ */
453
+ export namespace PropertyCategory$ {
454
+ /** @deprecated use `PropertyCategory$inboundSchema` instead. */
455
+ export const inboundSchema = PropertyCategory$inboundSchema;
456
+ /** @deprecated use `PropertyCategory$outboundSchema` instead. */
457
+ export const outboundSchema = PropertyCategory$outboundSchema;
458
+ }
459
+
460
+ /** @internal */
461
+ export const PropertyDataSchemasType$inboundSchema: z.ZodNativeEnum<
462
+ typeof PropertyDataSchemasType
463
+ > = z.nativeEnum(PropertyDataSchemasType);
464
+
465
+ /** @internal */
466
+ export const PropertyDataSchemasType$outboundSchema: z.ZodNativeEnum<
467
+ typeof PropertyDataSchemasType
468
+ > = PropertyDataSchemasType$inboundSchema;
469
+
470
+ /**
471
+ * @internal
472
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
473
+ */
474
+ export namespace PropertyDataSchemasType$ {
475
+ /** @deprecated use `PropertyDataSchemasType$inboundSchema` instead. */
476
+ export const inboundSchema = PropertyDataSchemasType$inboundSchema;
477
+ /** @deprecated use `PropertyDataSchemasType$outboundSchema` instead. */
478
+ export const outboundSchema = PropertyDataSchemasType$outboundSchema;
479
+ }
480
+
481
+ /** @internal */
482
+ export const Two$inboundSchema: z.ZodType<Two, z.ZodTypeDef, unknown> = z
483
+ .object({
484
+ coordinates: z.array(z.array(z.array(z.array(z.number())))),
485
+ type: PropertyDataSchemasType$inboundSchema,
486
+ });
487
+
488
+ /** @internal */
489
+ export type Two$Outbound = {
490
+ coordinates: Array<Array<Array<Array<number>>>>;
491
+ type: string;
492
+ };
493
+
494
+ /** @internal */
495
+ export const Two$outboundSchema: z.ZodType<Two$Outbound, z.ZodTypeDef, Two> = z
496
+ .object({
497
+ coordinates: z.array(z.array(z.array(z.array(z.number())))),
498
+ type: PropertyDataSchemasType$outboundSchema,
499
+ });
500
+
501
+ /**
502
+ * @internal
503
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
504
+ */
505
+ export namespace Two$ {
506
+ /** @deprecated use `Two$inboundSchema` instead. */
507
+ export const inboundSchema = Two$inboundSchema;
508
+ /** @deprecated use `Two$outboundSchema` instead. */
509
+ export const outboundSchema = Two$outboundSchema;
510
+ /** @deprecated use `Two$Outbound` instead. */
511
+ export type Outbound = Two$Outbound;
512
+ }
513
+
514
+ export function twoToJSON(two: Two): string {
515
+ return JSON.stringify(Two$outboundSchema.parse(two));
516
+ }
517
+
518
+ export function twoFromJSON(
519
+ jsonString: string,
520
+ ): SafeParseResult<Two, SDKValidationError> {
521
+ return safeParse(
522
+ jsonString,
523
+ (x) => Two$inboundSchema.parse(JSON.parse(x)),
524
+ `Failed to parse 'Two' from JSON`,
525
+ );
526
+ }
527
+
528
+ /** @internal */
529
+ export const PropertyDataSchemasSpatialType$inboundSchema: z.ZodNativeEnum<
530
+ typeof PropertyDataSchemasSpatialType
531
+ > = z.nativeEnum(PropertyDataSchemasSpatialType);
532
+
533
+ /** @internal */
534
+ export const PropertyDataSchemasSpatialType$outboundSchema: z.ZodNativeEnum<
535
+ typeof PropertyDataSchemasSpatialType
536
+ > = PropertyDataSchemasSpatialType$inboundSchema;
537
+
538
+ /**
539
+ * @internal
540
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
541
+ */
542
+ export namespace PropertyDataSchemasSpatialType$ {
543
+ /** @deprecated use `PropertyDataSchemasSpatialType$inboundSchema` instead. */
544
+ export const inboundSchema = PropertyDataSchemasSpatialType$inboundSchema;
545
+ /** @deprecated use `PropertyDataSchemasSpatialType$outboundSchema` instead. */
546
+ export const outboundSchema = PropertyDataSchemasSpatialType$outboundSchema;
547
+ }
548
+
549
+ /** @internal */
550
+ export const One$inboundSchema: z.ZodType<One, z.ZodTypeDef, unknown> = z
551
+ .object({
552
+ coordinates: z.array(z.array(z.array(z.number()))),
553
+ type: PropertyDataSchemasSpatialType$inboundSchema,
554
+ });
555
+
556
+ /** @internal */
557
+ export type One$Outbound = {
558
+ coordinates: Array<Array<Array<number>>>;
559
+ type: string;
560
+ };
561
+
562
+ /** @internal */
563
+ export const One$outboundSchema: z.ZodType<One$Outbound, z.ZodTypeDef, One> = z
564
+ .object({
565
+ coordinates: z.array(z.array(z.array(z.number()))),
566
+ type: PropertyDataSchemasSpatialType$outboundSchema,
567
+ });
568
+
569
+ /**
570
+ * @internal
571
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
572
+ */
573
+ export namespace One$ {
574
+ /** @deprecated use `One$inboundSchema` instead. */
575
+ export const inboundSchema = One$inboundSchema;
576
+ /** @deprecated use `One$outboundSchema` instead. */
577
+ export const outboundSchema = One$outboundSchema;
578
+ /** @deprecated use `One$Outbound` instead. */
579
+ export type Outbound = One$Outbound;
580
+ }
581
+
582
+ export function oneToJSON(one: One): string {
583
+ return JSON.stringify(One$outboundSchema.parse(one));
584
+ }
585
+
586
+ export function oneFromJSON(
587
+ jsonString: string,
588
+ ): SafeParseResult<One, SDKValidationError> {
589
+ return safeParse(
590
+ jsonString,
591
+ (x) => One$inboundSchema.parse(JSON.parse(x)),
592
+ `Failed to parse 'One' from JSON`,
593
+ );
594
+ }
595
+
596
+ /** @internal */
597
+ export const Boundary$inboundSchema: z.ZodType<
598
+ Boundary,
599
+ z.ZodTypeDef,
600
+ unknown
601
+ > = z.union([z.lazy(() => One$inboundSchema), z.lazy(() => Two$inboundSchema)]);
602
+
603
+ /** @internal */
604
+ export type Boundary$Outbound = One$Outbound | Two$Outbound;
605
+
606
+ /** @internal */
607
+ export const Boundary$outboundSchema: z.ZodType<
608
+ Boundary$Outbound,
609
+ z.ZodTypeDef,
610
+ Boundary
611
+ > = z.union([
612
+ z.lazy(() => One$outboundSchema),
613
+ z.lazy(() => Two$outboundSchema),
614
+ ]);
615
+
616
+ /**
617
+ * @internal
618
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
619
+ */
620
+ export namespace Boundary$ {
621
+ /** @deprecated use `Boundary$inboundSchema` instead. */
622
+ export const inboundSchema = Boundary$inboundSchema;
623
+ /** @deprecated use `Boundary$outboundSchema` instead. */
624
+ export const outboundSchema = Boundary$outboundSchema;
625
+ /** @deprecated use `Boundary$Outbound` instead. */
626
+ export type Outbound = Boundary$Outbound;
627
+ }
628
+
629
+ export function boundaryToJSON(boundary: Boundary): string {
630
+ return JSON.stringify(Boundary$outboundSchema.parse(boundary));
631
+ }
632
+
633
+ export function boundaryFromJSON(
634
+ jsonString: string,
635
+ ): SafeParseResult<Boundary, SDKValidationError> {
636
+ return safeParse(
637
+ jsonString,
638
+ (x) => Boundary$inboundSchema.parse(JSON.parse(x)),
639
+ `Failed to parse 'Boundary' from JSON`,
640
+ );
641
+ }
642
+
643
+ /** @internal */
644
+ export const PropertyDataType$inboundSchema: z.ZodNativeEnum<
645
+ typeof PropertyDataType
646
+ > = z.nativeEnum(PropertyDataType);
235
647
 
236
648
  /** @internal */
237
- export const PropertyType$outboundSchema: z.ZodNativeEnum<typeof PropertyType> =
238
- PropertyType$inboundSchema;
649
+ export const PropertyDataType$outboundSchema: z.ZodNativeEnum<
650
+ typeof PropertyDataType
651
+ > = PropertyDataType$inboundSchema;
239
652
 
240
653
  /**
241
654
  * @internal
242
655
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
243
656
  */
244
- export namespace PropertyType$ {
245
- /** @deprecated use `PropertyType$inboundSchema` instead. */
246
- export const inboundSchema = PropertyType$inboundSchema;
247
- /** @deprecated use `PropertyType$outboundSchema` instead. */
248
- export const outboundSchema = PropertyType$outboundSchema;
657
+ export namespace PropertyDataType$ {
658
+ /** @deprecated use `PropertyDataType$inboundSchema` instead. */
659
+ export const inboundSchema = PropertyDataType$inboundSchema;
660
+ /** @deprecated use `PropertyDataType$outboundSchema` instead. */
661
+ export const outboundSchema = PropertyDataType$outboundSchema;
249
662
  }
250
663
 
251
664
  /** @internal */
@@ -254,16 +667,19 @@ export const PropertyDataSpatial$inboundSchema: z.ZodType<
254
667
  z.ZodTypeDef,
255
668
  unknown
256
669
  > = z.object({
257
- boundary: z.nullable(z.any()).optional(),
258
- lat: z.number(),
259
- lng: z.number(),
670
+ boundary: z.union([
671
+ z.lazy(() => One$inboundSchema),
672
+ z.lazy(() => Two$inboundSchema),
673
+ ]).optional(),
674
+ coordinates: z.array(z.number()),
675
+ type: PropertyDataType$inboundSchema,
260
676
  });
261
677
 
262
678
  /** @internal */
263
679
  export type PropertyDataSpatial$Outbound = {
264
- boundary?: any | null | undefined;
265
- lat: number;
266
- lng: number;
680
+ boundary?: One$Outbound | Two$Outbound | undefined;
681
+ coordinates: Array<number>;
682
+ type: string;
267
683
  };
268
684
 
269
685
  /** @internal */
@@ -272,9 +688,12 @@ export const PropertyDataSpatial$outboundSchema: z.ZodType<
272
688
  z.ZodTypeDef,
273
689
  PropertyDataSpatial
274
690
  > = z.object({
275
- boundary: z.nullable(z.any()).optional(),
276
- lat: z.number(),
277
- lng: z.number(),
691
+ boundary: z.union([
692
+ z.lazy(() => One$outboundSchema),
693
+ z.lazy(() => Two$outboundSchema),
694
+ ]).optional(),
695
+ coordinates: z.array(z.number()),
696
+ type: PropertyDataType$outboundSchema,
278
697
  });
279
698
 
280
699
  /**
@@ -315,47 +734,67 @@ export const PropertyData$inboundSchema: z.ZodType<
315
734
  unknown
316
735
  > = z.object({
317
736
  address: PropertyAddress$inboundSchema,
318
- classificationCode: ClassificationCode$inboundSchema.optional(),
737
+ build: BuildData$inboundSchema,
738
+ charges: z.lazy(() => Charges$inboundSchema).optional(),
739
+ classificationCode: z.nullable(ClassificationCode$inboundSchema).optional(),
319
740
  councilTax: CouncilTaxData$inboundSchema.optional(),
320
741
  epc: EPCData$inboundSchema.optional(),
321
- floorAreaSqM: z.number().optional(),
322
- lastUpdated: z.string().optional(),
742
+ floodRisk: z.lazy(() => FloodRisk$inboundSchema).optional(),
743
+ leases: z.array(Lease$inboundSchema).optional(),
744
+ listings: z.array(Listing$inboundSchema).optional(),
323
745
  locationId: z.string(),
324
746
  marketStatus: MarketStatus$inboundSchema.optional(),
325
- plotSizeSqM: z.number().optional(),
747
+ overlays: z.array(z.string()).optional(),
748
+ parentLocationId: z.nullable(z.string()).optional(),
749
+ priceChangeRent: z.array(PriceChange$inboundSchema).optional(),
750
+ priceChangeSale: z.array(PriceChange$inboundSchema).optional(),
326
751
  pricing: PricingData$inboundSchema.optional(),
752
+ propertyCategory: z.nullable(PropertyCategory$inboundSchema).optional(),
327
753
  propertyId: z.string(),
328
- propertySubType: z.string().optional(),
329
- propertyType: PropertyType$inboundSchema.optional(),
754
+ refurbishment: RefurbishmentData$inboundSchema.optional(),
755
+ relationships: z.array(z.string()).optional(),
330
756
  roomDetails: RoomDetails$inboundSchema.optional(),
331
757
  saleHistory: z.array(SaleRecord$inboundSchema).optional(),
758
+ slug: z.string(),
759
+ sources: z.array(z.string()).optional(),
332
760
  spatial: z.lazy(() => PropertyDataSpatial$inboundSchema),
761
+ streetIds: z.array(z.number()).optional(),
333
762
  tags: PropertyTags$inboundSchema.optional(),
763
+ tenancy: TenancyData$inboundSchema.optional(),
334
764
  tenure: TenureData$inboundSchema.optional(),
335
- yearBuilt: z.number().optional(),
336
765
  });
337
766
 
338
767
  /** @internal */
339
768
  export type PropertyData$Outbound = {
340
769
  address: PropertyAddress$Outbound;
341
- classificationCode?: string | undefined;
770
+ build: BuildData$Outbound;
771
+ charges?: Charges$Outbound | undefined;
772
+ classificationCode?: string | null | undefined;
342
773
  councilTax?: CouncilTaxData$Outbound | undefined;
343
774
  epc?: EPCData$Outbound | undefined;
344
- floorAreaSqM?: number | undefined;
345
- lastUpdated?: string | undefined;
775
+ floodRisk?: FloodRisk$Outbound | undefined;
776
+ leases?: Array<Lease$Outbound> | undefined;
777
+ listings?: Array<Listing$Outbound> | undefined;
346
778
  locationId: string;
347
779
  marketStatus?: MarketStatus$Outbound | undefined;
348
- plotSizeSqM?: number | undefined;
780
+ overlays?: Array<string> | undefined;
781
+ parentLocationId?: string | null | undefined;
782
+ priceChangeRent?: Array<PriceChange$Outbound> | undefined;
783
+ priceChangeSale?: Array<PriceChange$Outbound> | undefined;
349
784
  pricing?: PricingData$Outbound | undefined;
785
+ propertyCategory?: string | null | undefined;
350
786
  propertyId: string;
351
- propertySubType?: string | undefined;
352
- propertyType?: string | undefined;
787
+ refurbishment?: RefurbishmentData$Outbound | undefined;
788
+ relationships?: Array<string> | undefined;
353
789
  roomDetails?: RoomDetails$Outbound | undefined;
354
790
  saleHistory?: Array<SaleRecord$Outbound> | undefined;
791
+ slug: string;
792
+ sources?: Array<string> | undefined;
355
793
  spatial: PropertyDataSpatial$Outbound;
794
+ streetIds?: Array<number> | undefined;
356
795
  tags?: PropertyTags$Outbound | undefined;
796
+ tenancy?: TenancyData$Outbound | undefined;
357
797
  tenure?: TenureData$Outbound | undefined;
358
- yearBuilt?: number | undefined;
359
798
  };
360
799
 
361
800
  /** @internal */
@@ -365,24 +804,34 @@ export const PropertyData$outboundSchema: z.ZodType<
365
804
  PropertyData
366
805
  > = z.object({
367
806
  address: PropertyAddress$outboundSchema,
368
- classificationCode: ClassificationCode$outboundSchema.optional(),
807
+ build: BuildData$outboundSchema,
808
+ charges: z.lazy(() => Charges$outboundSchema).optional(),
809
+ classificationCode: z.nullable(ClassificationCode$outboundSchema).optional(),
369
810
  councilTax: CouncilTaxData$outboundSchema.optional(),
370
811
  epc: EPCData$outboundSchema.optional(),
371
- floorAreaSqM: z.number().optional(),
372
- lastUpdated: z.string().optional(),
812
+ floodRisk: z.lazy(() => FloodRisk$outboundSchema).optional(),
813
+ leases: z.array(Lease$outboundSchema).optional(),
814
+ listings: z.array(Listing$outboundSchema).optional(),
373
815
  locationId: z.string(),
374
816
  marketStatus: MarketStatus$outboundSchema.optional(),
375
- plotSizeSqM: z.number().optional(),
817
+ overlays: z.array(z.string()).optional(),
818
+ parentLocationId: z.nullable(z.string()).optional(),
819
+ priceChangeRent: z.array(PriceChange$outboundSchema).optional(),
820
+ priceChangeSale: z.array(PriceChange$outboundSchema).optional(),
376
821
  pricing: PricingData$outboundSchema.optional(),
822
+ propertyCategory: z.nullable(PropertyCategory$outboundSchema).optional(),
377
823
  propertyId: z.string(),
378
- propertySubType: z.string().optional(),
379
- propertyType: PropertyType$outboundSchema.optional(),
824
+ refurbishment: RefurbishmentData$outboundSchema.optional(),
825
+ relationships: z.array(z.string()).optional(),
380
826
  roomDetails: RoomDetails$outboundSchema.optional(),
381
827
  saleHistory: z.array(SaleRecord$outboundSchema).optional(),
828
+ slug: z.string(),
829
+ sources: z.array(z.string()).optional(),
382
830
  spatial: z.lazy(() => PropertyDataSpatial$outboundSchema),
831
+ streetIds: z.array(z.number()).optional(),
383
832
  tags: PropertyTags$outboundSchema.optional(),
833
+ tenancy: TenancyData$outboundSchema.optional(),
384
834
  tenure: TenureData$outboundSchema.optional(),
385
- yearBuilt: z.number().optional(),
386
835
  });
387
836
 
388
837
  /**