@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
@@ -2,15 +2,24 @@
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
3
  */
4
4
 
5
+ export * from "./builddata.js";
6
+ export * from "./chargeentry.js";
7
+ export * from "./chargehistory.js";
8
+ export * from "./counciltaxbanddetails.js";
5
9
  export * from "./counciltaxdata.js";
6
10
  export * from "./epcdata.js";
7
11
  export * from "./errorresponse.js";
8
12
  export * from "./healthresponse.js";
13
+ export * from "./lease.js";
14
+ export * from "./listing.js";
15
+ export * from "./listingimage.js";
16
+ export * from "./listingpricechange.js";
9
17
  export * from "./marketstatus.js";
10
18
  export * from "./planningapplication.js";
11
19
  export * from "./planninglistresponse.js";
12
20
  export * from "./planningqueryfilters.js";
13
21
  export * from "./planningqueryrequest.js";
22
+ export * from "./pricechange.js";
14
23
  export * from "./pricingdata.js";
15
24
  export * from "./propertyaddress.js";
16
25
  export * from "./propertyareafilter.js";
@@ -29,6 +38,7 @@ export * from "./propertyquerygroup.js";
29
38
  export * from "./propertyqueryoperator.js";
30
39
  export * from "./propertyqueryrequest.js";
31
40
  export * from "./propertytags.js";
41
+ export * from "./refurbishmentdata.js";
32
42
  export * from "./roomdetails.js";
33
43
  export * from "./salerecord.js";
34
44
  export * from "./school.js";
@@ -43,4 +53,5 @@ export * from "./streetquerybyusrn.js";
43
53
  export * from "./streetqueryrequest.js";
44
54
  export * from "./streetqueryresponse.js";
45
55
  export * from "./streetstatistics.js";
56
+ export * from "./tenancydata.js";
46
57
  export * from "./tenuredata.js";
@@ -0,0 +1,83 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { safeParse } from "../../../lib/schemas.js";
7
+ import { Result as SafeParseResult } from "../../types/fp.js";
8
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
9
+
10
+ export type Lease = {
11
+ /**
12
+ * Whether lease has alienation restrictions
13
+ */
14
+ alienationClause: boolean;
15
+ /**
16
+ * Date when lease was granted
17
+ */
18
+ dateOfLease?: string | null | undefined;
19
+ /**
20
+ * Date when lease expires
21
+ */
22
+ expiryDate?: string | null | undefined;
23
+ /**
24
+ * Type of lease
25
+ */
26
+ leaseType: string;
27
+ };
28
+
29
+ /** @internal */
30
+ export const Lease$inboundSchema: z.ZodType<Lease, z.ZodTypeDef, unknown> = z
31
+ .object({
32
+ alienationClause: z.boolean(),
33
+ dateOfLease: z.nullable(z.string()).optional(),
34
+ expiryDate: z.nullable(z.string()).optional(),
35
+ leaseType: z.string(),
36
+ });
37
+
38
+ /** @internal */
39
+ export type Lease$Outbound = {
40
+ alienationClause: boolean;
41
+ dateOfLease?: string | null | undefined;
42
+ expiryDate?: string | null | undefined;
43
+ leaseType: string;
44
+ };
45
+
46
+ /** @internal */
47
+ export const Lease$outboundSchema: z.ZodType<
48
+ Lease$Outbound,
49
+ z.ZodTypeDef,
50
+ Lease
51
+ > = z.object({
52
+ alienationClause: z.boolean(),
53
+ dateOfLease: z.nullable(z.string()).optional(),
54
+ expiryDate: z.nullable(z.string()).optional(),
55
+ leaseType: z.string(),
56
+ });
57
+
58
+ /**
59
+ * @internal
60
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
61
+ */
62
+ export namespace Lease$ {
63
+ /** @deprecated use `Lease$inboundSchema` instead. */
64
+ export const inboundSchema = Lease$inboundSchema;
65
+ /** @deprecated use `Lease$outboundSchema` instead. */
66
+ export const outboundSchema = Lease$outboundSchema;
67
+ /** @deprecated use `Lease$Outbound` instead. */
68
+ export type Outbound = Lease$Outbound;
69
+ }
70
+
71
+ export function leaseToJSON(lease: Lease): string {
72
+ return JSON.stringify(Lease$outboundSchema.parse(lease));
73
+ }
74
+
75
+ export function leaseFromJSON(
76
+ jsonString: string,
77
+ ): SafeParseResult<Lease, SDKValidationError> {
78
+ return safeParse(
79
+ jsonString,
80
+ (x) => Lease$inboundSchema.parse(JSON.parse(x)),
81
+ `Failed to parse 'Lease' from JSON`,
82
+ );
83
+ }
@@ -0,0 +1,505 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { remap as remap$ } from "../../../lib/primitives.js";
7
+ import { safeParse } from "../../../lib/schemas.js";
8
+ import { ClosedEnum } from "../../types/enums.js";
9
+ import { Result as SafeParseResult } from "../../types/fp.js";
10
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
+ import {
12
+ ListingImage,
13
+ ListingImage$inboundSchema,
14
+ ListingImage$Outbound,
15
+ ListingImage$outboundSchema,
16
+ } from "./listingimage.js";
17
+ import {
18
+ ListingPriceChange,
19
+ ListingPriceChange$inboundSchema,
20
+ ListingPriceChange$Outbound,
21
+ ListingPriceChange$outboundSchema,
22
+ } from "./listingpricechange.js";
23
+
24
+ /**
25
+ * Property features from listing
26
+ */
27
+ export type Features = {
28
+ alarm?: boolean | undefined;
29
+ balcony?: boolean | undefined;
30
+ cctv?: boolean | undefined;
31
+ centralHeating?: boolean | undefined;
32
+ chainFree?: boolean | undefined;
33
+ conservatory?: boolean | undefined;
34
+ doubleGlazing?: boolean | undefined;
35
+ ensuite?: boolean | undefined;
36
+ fireplace?: boolean | undefined;
37
+ furnished?: boolean | undefined;
38
+ garage?: boolean | undefined;
39
+ garden?: boolean | undefined;
40
+ groundFloor?: boolean | undefined;
41
+ lift?: boolean | undefined;
42
+ newBuild?: boolean | undefined;
43
+ parking?: boolean | undefined;
44
+ partFurnished?: boolean | undefined;
45
+ patio?: boolean | undefined;
46
+ terrace?: boolean | undefined;
47
+ topFloor?: boolean | undefined;
48
+ unfurnished?: boolean | undefined;
49
+ };
50
+
51
+ /**
52
+ * Listing pricing information
53
+ */
54
+ export type Pricing = {
55
+ /**
56
+ * Currency code
57
+ */
58
+ currency: string;
59
+ /**
60
+ * Estimated price in pence
61
+ */
62
+ estimated?: number | null | undefined;
63
+ /**
64
+ * Listed price in pence
65
+ */
66
+ price: number;
67
+ };
68
+
69
+ /**
70
+ * Seller information
71
+ */
72
+ export type Seller = {
73
+ /**
74
+ * Property Agent Identifier (PAID)
75
+ */
76
+ paid?: string | undefined;
77
+ /**
78
+ * Seller/agent name
79
+ */
80
+ name?: string | undefined;
81
+ };
82
+
83
+ /**
84
+ * Listing status
85
+ */
86
+ export const Status = {
87
+ Live: "live",
88
+ Unavailable: "unavailable",
89
+ Removed: "removed",
90
+ Sstc: "sstc",
91
+ UnderOffer: "under_offer",
92
+ Sold: "sold",
93
+ Reserved: "reserved",
94
+ } as const;
95
+ /**
96
+ * Listing status
97
+ */
98
+ export type Status = ClosedEnum<typeof Status>;
99
+
100
+ /**
101
+ * Listing type
102
+ */
103
+ export const Type = {
104
+ Sale: "sale",
105
+ Rent: "rent",
106
+ } as const;
107
+ /**
108
+ * Listing type
109
+ */
110
+ export type Type = ClosedEnum<typeof Type>;
111
+
112
+ export type Listing = {
113
+ /**
114
+ * Listing description text
115
+ */
116
+ description?: string | null | undefined;
117
+ /**
118
+ * Property features from listing
119
+ */
120
+ features: Features;
121
+ /**
122
+ * Floor plan images
123
+ */
124
+ floorPlanImages: Array<ListingImage>;
125
+ /**
126
+ * Property images
127
+ */
128
+ images: Array<ListingImage>;
129
+ /**
130
+ * Unique listing identifier
131
+ */
132
+ listingId: string;
133
+ /**
134
+ * Price change history for this listing
135
+ */
136
+ priceChange: Array<ListingPriceChange>;
137
+ /**
138
+ * Listing pricing information
139
+ */
140
+ pricing: Pricing;
141
+ /**
142
+ * Date listing was published
143
+ */
144
+ publishedDate: Date;
145
+ /**
146
+ * Date listing was removed
147
+ */
148
+ removedDate?: Date | null | undefined;
149
+ /**
150
+ * Seller information
151
+ */
152
+ seller: Seller;
153
+ /**
154
+ * Listing status
155
+ */
156
+ status: Status;
157
+ /**
158
+ * Listing type
159
+ */
160
+ type: Type;
161
+ };
162
+
163
+ /** @internal */
164
+ export const Features$inboundSchema: z.ZodType<
165
+ Features,
166
+ z.ZodTypeDef,
167
+ unknown
168
+ > = z.object({
169
+ alarm: z.boolean().optional(),
170
+ balcony: z.boolean().optional(),
171
+ cctv: z.boolean().optional(),
172
+ centralHeating: z.boolean().optional(),
173
+ chainFree: z.boolean().optional(),
174
+ conservatory: z.boolean().optional(),
175
+ doubleGlazing: z.boolean().optional(),
176
+ ensuite: z.boolean().optional(),
177
+ fireplace: z.boolean().optional(),
178
+ furnished: z.boolean().optional(),
179
+ garage: z.boolean().optional(),
180
+ garden: z.boolean().optional(),
181
+ groundFloor: z.boolean().optional(),
182
+ lift: z.boolean().optional(),
183
+ newBuild: z.boolean().optional(),
184
+ parking: z.boolean().optional(),
185
+ partFurnished: z.boolean().optional(),
186
+ patio: z.boolean().optional(),
187
+ terrace: z.boolean().optional(),
188
+ topFloor: z.boolean().optional(),
189
+ unfurnished: z.boolean().optional(),
190
+ });
191
+
192
+ /** @internal */
193
+ export type Features$Outbound = {
194
+ alarm?: boolean | undefined;
195
+ balcony?: boolean | undefined;
196
+ cctv?: boolean | undefined;
197
+ centralHeating?: boolean | undefined;
198
+ chainFree?: boolean | undefined;
199
+ conservatory?: boolean | undefined;
200
+ doubleGlazing?: boolean | undefined;
201
+ ensuite?: boolean | undefined;
202
+ fireplace?: boolean | undefined;
203
+ furnished?: boolean | undefined;
204
+ garage?: boolean | undefined;
205
+ garden?: boolean | undefined;
206
+ groundFloor?: boolean | undefined;
207
+ lift?: boolean | undefined;
208
+ newBuild?: boolean | undefined;
209
+ parking?: boolean | undefined;
210
+ partFurnished?: boolean | undefined;
211
+ patio?: boolean | undefined;
212
+ terrace?: boolean | undefined;
213
+ topFloor?: boolean | undefined;
214
+ unfurnished?: boolean | undefined;
215
+ };
216
+
217
+ /** @internal */
218
+ export const Features$outboundSchema: z.ZodType<
219
+ Features$Outbound,
220
+ z.ZodTypeDef,
221
+ Features
222
+ > = z.object({
223
+ alarm: z.boolean().optional(),
224
+ balcony: z.boolean().optional(),
225
+ cctv: z.boolean().optional(),
226
+ centralHeating: z.boolean().optional(),
227
+ chainFree: z.boolean().optional(),
228
+ conservatory: z.boolean().optional(),
229
+ doubleGlazing: z.boolean().optional(),
230
+ ensuite: z.boolean().optional(),
231
+ fireplace: z.boolean().optional(),
232
+ furnished: z.boolean().optional(),
233
+ garage: z.boolean().optional(),
234
+ garden: z.boolean().optional(),
235
+ groundFloor: z.boolean().optional(),
236
+ lift: z.boolean().optional(),
237
+ newBuild: z.boolean().optional(),
238
+ parking: z.boolean().optional(),
239
+ partFurnished: z.boolean().optional(),
240
+ patio: z.boolean().optional(),
241
+ terrace: z.boolean().optional(),
242
+ topFloor: z.boolean().optional(),
243
+ unfurnished: z.boolean().optional(),
244
+ });
245
+
246
+ /**
247
+ * @internal
248
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
249
+ */
250
+ export namespace Features$ {
251
+ /** @deprecated use `Features$inboundSchema` instead. */
252
+ export const inboundSchema = Features$inboundSchema;
253
+ /** @deprecated use `Features$outboundSchema` instead. */
254
+ export const outboundSchema = Features$outboundSchema;
255
+ /** @deprecated use `Features$Outbound` instead. */
256
+ export type Outbound = Features$Outbound;
257
+ }
258
+
259
+ export function featuresToJSON(features: Features): string {
260
+ return JSON.stringify(Features$outboundSchema.parse(features));
261
+ }
262
+
263
+ export function featuresFromJSON(
264
+ jsonString: string,
265
+ ): SafeParseResult<Features, SDKValidationError> {
266
+ return safeParse(
267
+ jsonString,
268
+ (x) => Features$inboundSchema.parse(JSON.parse(x)),
269
+ `Failed to parse 'Features' from JSON`,
270
+ );
271
+ }
272
+
273
+ /** @internal */
274
+ export const Pricing$inboundSchema: z.ZodType<Pricing, z.ZodTypeDef, unknown> =
275
+ z.object({
276
+ currency: z.string(),
277
+ estimated: z.nullable(z.number()).optional(),
278
+ price: z.number(),
279
+ });
280
+
281
+ /** @internal */
282
+ export type Pricing$Outbound = {
283
+ currency: string;
284
+ estimated?: number | null | undefined;
285
+ price: number;
286
+ };
287
+
288
+ /** @internal */
289
+ export const Pricing$outboundSchema: z.ZodType<
290
+ Pricing$Outbound,
291
+ z.ZodTypeDef,
292
+ Pricing
293
+ > = z.object({
294
+ currency: z.string(),
295
+ estimated: z.nullable(z.number()).optional(),
296
+ price: z.number(),
297
+ });
298
+
299
+ /**
300
+ * @internal
301
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
302
+ */
303
+ export namespace Pricing$ {
304
+ /** @deprecated use `Pricing$inboundSchema` instead. */
305
+ export const inboundSchema = Pricing$inboundSchema;
306
+ /** @deprecated use `Pricing$outboundSchema` instead. */
307
+ export const outboundSchema = Pricing$outboundSchema;
308
+ /** @deprecated use `Pricing$Outbound` instead. */
309
+ export type Outbound = Pricing$Outbound;
310
+ }
311
+
312
+ export function pricingToJSON(pricing: Pricing): string {
313
+ return JSON.stringify(Pricing$outboundSchema.parse(pricing));
314
+ }
315
+
316
+ export function pricingFromJSON(
317
+ jsonString: string,
318
+ ): SafeParseResult<Pricing, SDKValidationError> {
319
+ return safeParse(
320
+ jsonString,
321
+ (x) => Pricing$inboundSchema.parse(JSON.parse(x)),
322
+ `Failed to parse 'Pricing' from JSON`,
323
+ );
324
+ }
325
+
326
+ /** @internal */
327
+ export const Seller$inboundSchema: z.ZodType<Seller, z.ZodTypeDef, unknown> = z
328
+ .object({
329
+ PAID: z.string().optional(),
330
+ name: z.string().optional(),
331
+ }).transform((v) => {
332
+ return remap$(v, {
333
+ "PAID": "paid",
334
+ });
335
+ });
336
+
337
+ /** @internal */
338
+ export type Seller$Outbound = {
339
+ PAID?: string | undefined;
340
+ name?: string | undefined;
341
+ };
342
+
343
+ /** @internal */
344
+ export const Seller$outboundSchema: z.ZodType<
345
+ Seller$Outbound,
346
+ z.ZodTypeDef,
347
+ Seller
348
+ > = z.object({
349
+ paid: z.string().optional(),
350
+ name: z.string().optional(),
351
+ }).transform((v) => {
352
+ return remap$(v, {
353
+ paid: "PAID",
354
+ });
355
+ });
356
+
357
+ /**
358
+ * @internal
359
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
360
+ */
361
+ export namespace Seller$ {
362
+ /** @deprecated use `Seller$inboundSchema` instead. */
363
+ export const inboundSchema = Seller$inboundSchema;
364
+ /** @deprecated use `Seller$outboundSchema` instead. */
365
+ export const outboundSchema = Seller$outboundSchema;
366
+ /** @deprecated use `Seller$Outbound` instead. */
367
+ export type Outbound = Seller$Outbound;
368
+ }
369
+
370
+ export function sellerToJSON(seller: Seller): string {
371
+ return JSON.stringify(Seller$outboundSchema.parse(seller));
372
+ }
373
+
374
+ export function sellerFromJSON(
375
+ jsonString: string,
376
+ ): SafeParseResult<Seller, SDKValidationError> {
377
+ return safeParse(
378
+ jsonString,
379
+ (x) => Seller$inboundSchema.parse(JSON.parse(x)),
380
+ `Failed to parse 'Seller' from JSON`,
381
+ );
382
+ }
383
+
384
+ /** @internal */
385
+ export const Status$inboundSchema: z.ZodNativeEnum<typeof Status> = z
386
+ .nativeEnum(Status);
387
+
388
+ /** @internal */
389
+ export const Status$outboundSchema: z.ZodNativeEnum<typeof Status> =
390
+ Status$inboundSchema;
391
+
392
+ /**
393
+ * @internal
394
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
395
+ */
396
+ export namespace Status$ {
397
+ /** @deprecated use `Status$inboundSchema` instead. */
398
+ export const inboundSchema = Status$inboundSchema;
399
+ /** @deprecated use `Status$outboundSchema` instead. */
400
+ export const outboundSchema = Status$outboundSchema;
401
+ }
402
+
403
+ /** @internal */
404
+ export const Type$inboundSchema: z.ZodNativeEnum<typeof Type> = z.nativeEnum(
405
+ Type,
406
+ );
407
+
408
+ /** @internal */
409
+ export const Type$outboundSchema: z.ZodNativeEnum<typeof Type> =
410
+ Type$inboundSchema;
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 Type$ {
417
+ /** @deprecated use `Type$inboundSchema` instead. */
418
+ export const inboundSchema = Type$inboundSchema;
419
+ /** @deprecated use `Type$outboundSchema` instead. */
420
+ export const outboundSchema = Type$outboundSchema;
421
+ }
422
+
423
+ /** @internal */
424
+ export const Listing$inboundSchema: z.ZodType<Listing, z.ZodTypeDef, unknown> =
425
+ z.object({
426
+ description: z.nullable(z.string()).optional(),
427
+ features: z.lazy(() => Features$inboundSchema),
428
+ floorPlanImages: z.array(ListingImage$inboundSchema),
429
+ images: z.array(ListingImage$inboundSchema),
430
+ listingId: z.string(),
431
+ priceChange: z.array(ListingPriceChange$inboundSchema),
432
+ pricing: z.lazy(() => Pricing$inboundSchema),
433
+ publishedDate: z.string().datetime({ offset: true }).transform(v =>
434
+ new Date(v)
435
+ ),
436
+ removedDate: z.nullable(
437
+ z.string().datetime({ offset: true }).transform(v => new Date(v)),
438
+ ).optional(),
439
+ seller: z.lazy(() => Seller$inboundSchema),
440
+ status: Status$inboundSchema,
441
+ type: Type$inboundSchema,
442
+ });
443
+
444
+ /** @internal */
445
+ export type Listing$Outbound = {
446
+ description?: string | null | undefined;
447
+ features: Features$Outbound;
448
+ floorPlanImages: Array<ListingImage$Outbound>;
449
+ images: Array<ListingImage$Outbound>;
450
+ listingId: string;
451
+ priceChange: Array<ListingPriceChange$Outbound>;
452
+ pricing: Pricing$Outbound;
453
+ publishedDate: string;
454
+ removedDate?: string | null | undefined;
455
+ seller: Seller$Outbound;
456
+ status: string;
457
+ type: string;
458
+ };
459
+
460
+ /** @internal */
461
+ export const Listing$outboundSchema: z.ZodType<
462
+ Listing$Outbound,
463
+ z.ZodTypeDef,
464
+ Listing
465
+ > = z.object({
466
+ description: z.nullable(z.string()).optional(),
467
+ features: z.lazy(() => Features$outboundSchema),
468
+ floorPlanImages: z.array(ListingImage$outboundSchema),
469
+ images: z.array(ListingImage$outboundSchema),
470
+ listingId: z.string(),
471
+ priceChange: z.array(ListingPriceChange$outboundSchema),
472
+ pricing: z.lazy(() => Pricing$outboundSchema),
473
+ publishedDate: z.date().transform(v => v.toISOString()),
474
+ removedDate: z.nullable(z.date().transform(v => v.toISOString())).optional(),
475
+ seller: z.lazy(() => Seller$outboundSchema),
476
+ status: Status$outboundSchema,
477
+ type: Type$outboundSchema,
478
+ });
479
+
480
+ /**
481
+ * @internal
482
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
483
+ */
484
+ export namespace Listing$ {
485
+ /** @deprecated use `Listing$inboundSchema` instead. */
486
+ export const inboundSchema = Listing$inboundSchema;
487
+ /** @deprecated use `Listing$outboundSchema` instead. */
488
+ export const outboundSchema = Listing$outboundSchema;
489
+ /** @deprecated use `Listing$Outbound` instead. */
490
+ export type Outbound = Listing$Outbound;
491
+ }
492
+
493
+ export function listingToJSON(listing: Listing): string {
494
+ return JSON.stringify(Listing$outboundSchema.parse(listing));
495
+ }
496
+
497
+ export function listingFromJSON(
498
+ jsonString: string,
499
+ ): SafeParseResult<Listing, SDKValidationError> {
500
+ return safeParse(
501
+ jsonString,
502
+ (x) => Listing$inboundSchema.parse(JSON.parse(x)),
503
+ `Failed to parse 'Listing' from JSON`,
504
+ );
505
+ }
@@ -0,0 +1,65 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
6
+ import { safeParse } from "../../../lib/schemas.js";
7
+ import { Result as SafeParseResult } from "../../types/fp.js";
8
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
9
+
10
+ export type ListingImage = {
11
+ /**
12
+ * Image URL
13
+ */
14
+ url: string;
15
+ };
16
+
17
+ /** @internal */
18
+ export const ListingImage$inboundSchema: z.ZodType<
19
+ ListingImage,
20
+ z.ZodTypeDef,
21
+ unknown
22
+ > = z.object({
23
+ url: z.string(),
24
+ });
25
+
26
+ /** @internal */
27
+ export type ListingImage$Outbound = {
28
+ url: string;
29
+ };
30
+
31
+ /** @internal */
32
+ export const ListingImage$outboundSchema: z.ZodType<
33
+ ListingImage$Outbound,
34
+ z.ZodTypeDef,
35
+ ListingImage
36
+ > = z.object({
37
+ url: z.string(),
38
+ });
39
+
40
+ /**
41
+ * @internal
42
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
43
+ */
44
+ export namespace ListingImage$ {
45
+ /** @deprecated use `ListingImage$inboundSchema` instead. */
46
+ export const inboundSchema = ListingImage$inboundSchema;
47
+ /** @deprecated use `ListingImage$outboundSchema` instead. */
48
+ export const outboundSchema = ListingImage$outboundSchema;
49
+ /** @deprecated use `ListingImage$Outbound` instead. */
50
+ export type Outbound = ListingImage$Outbound;
51
+ }
52
+
53
+ export function listingImageToJSON(listingImage: ListingImage): string {
54
+ return JSON.stringify(ListingImage$outboundSchema.parse(listingImage));
55
+ }
56
+
57
+ export function listingImageFromJSON(
58
+ jsonString: string,
59
+ ): SafeParseResult<ListingImage, SDKValidationError> {
60
+ return safeParse(
61
+ jsonString,
62
+ (x) => ListingImage$inboundSchema.parse(JSON.parse(x)),
63
+ `Failed to parse 'ListingImage' from JSON`,
64
+ );
65
+ }