@vepler/sdk 1.9.10 → 1.9.11

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 (351) hide show
  1. package/FUNCTIONS.md +3 -3
  2. package/README.md +30 -30
  3. package/dist/commonjs/funcs/{healthGetV1LocationHealth.d.ts → healthCheckLocationHealth.d.ts} +2 -2
  4. package/dist/commonjs/funcs/{healthGetV1PlanningHealth.d.ts.map → healthCheckLocationHealth.d.ts.map} +1 -1
  5. package/dist/commonjs/funcs/{healthGetV1LocationHealth.js → healthCheckLocationHealth.js} +4 -4
  6. package/dist/commonjs/funcs/{healthGetV1PlanningHealth.js.map → healthCheckLocationHealth.js.map} +1 -1
  7. package/dist/{esm/funcs/healthGetV1PlanningHealth.d.ts → commonjs/funcs/healthCheckPlanningHealth.d.ts} +2 -2
  8. package/dist/commonjs/funcs/{healthGetV1LocationHealth.d.ts.map → healthCheckPlanningHealth.d.ts.map} +1 -1
  9. package/dist/commonjs/funcs/{healthGetV1PlanningHealth.js → healthCheckPlanningHealth.js} +4 -4
  10. package/dist/commonjs/funcs/{healthGetV1PropertyHealth.js.map → healthCheckPlanningHealth.js.map} +1 -1
  11. package/dist/{esm/funcs/healthGetV1PropertyHealth.d.ts → commonjs/funcs/healthCheckPropertyHealth.d.ts} +2 -2
  12. package/dist/commonjs/funcs/{healthGetV1PropertyHealth.d.ts.map → healthCheckPropertyHealth.d.ts.map} +1 -1
  13. package/dist/commonjs/funcs/{healthGetV1PropertyHealth.js → healthCheckPropertyHealth.js} +4 -4
  14. package/dist/commonjs/funcs/{healthGetV1LocationHealth.js.map → healthCheckPropertyHealth.js.map} +1 -1
  15. package/dist/{esm/funcs/locationPostV1LocationStreetQuery.d.ts → commonjs/funcs/locationSearchStreets.d.ts} +2 -2
  16. package/dist/commonjs/funcs/locationSearchStreets.d.ts.map +1 -0
  17. package/dist/commonjs/funcs/{locationPostV1LocationStreetQuery.js → locationSearchStreets.js} +5 -5
  18. package/dist/commonjs/funcs/locationSearchStreets.js.map +1 -0
  19. package/dist/commonjs/funcs/{planningGetV1PlanningApplicationIds.d.ts → planningGetPlanningApplications.d.ts} +2 -2
  20. package/dist/commonjs/funcs/planningGetPlanningApplications.d.ts.map +1 -0
  21. package/dist/commonjs/funcs/{planningGetV1PlanningApplicationIds.js → planningGetPlanningApplications.js} +6 -6
  22. package/dist/commonjs/funcs/planningGetPlanningApplications.js.map +1 -0
  23. package/dist/commonjs/funcs/{planningGetV1PlanningSourcesSourceIds.d.ts → planningGetPlanningApplicationsBySource.d.ts} +2 -2
  24. package/dist/commonjs/funcs/planningGetPlanningApplicationsBySource.d.ts.map +1 -0
  25. package/dist/commonjs/funcs/{planningGetV1PlanningSourcesSourceIds.js → planningGetPlanningApplicationsBySource.js} +6 -6
  26. package/dist/commonjs/funcs/planningGetPlanningApplicationsBySource.js.map +1 -0
  27. package/dist/commonjs/funcs/{planningPostV1PlanningQuery.d.ts → planningSearchPlanningApplications.d.ts} +2 -2
  28. package/dist/commonjs/funcs/planningSearchPlanningApplications.d.ts.map +1 -0
  29. package/dist/commonjs/funcs/{planningPostV1PlanningQuery.js → planningSearchPlanningApplications.js} +5 -5
  30. package/dist/commonjs/funcs/planningSearchPlanningApplications.js.map +1 -0
  31. package/dist/{esm/funcs/propertyGetV1PropertyPropertyIdPropertyIds.d.ts → commonjs/funcs/propertyGetProperties.d.ts} +2 -2
  32. package/dist/commonjs/funcs/propertyGetProperties.d.ts.map +1 -0
  33. package/dist/commonjs/funcs/{propertyGetV1PropertyPropertyIdPropertyIds.js → propertyGetProperties.js} +6 -6
  34. package/dist/commonjs/funcs/propertyGetProperties.js.map +1 -0
  35. package/dist/{esm/funcs/propertyGetV1PropertyLocationIds.d.ts → commonjs/funcs/propertyGetPropertiesByLocation.d.ts} +2 -2
  36. package/dist/commonjs/funcs/propertyGetPropertiesByLocation.d.ts.map +1 -0
  37. package/dist/commonjs/funcs/{propertyGetV1PropertyLocationIds.js → propertyGetPropertiesByLocation.js} +6 -6
  38. package/dist/commonjs/funcs/propertyGetPropertiesByLocation.js.map +1 -0
  39. package/dist/commonjs/funcs/{propertyPostV1PropertyPropertiesBySlugs.d.ts → propertyGetPropertiesBySlugs.d.ts} +2 -2
  40. package/dist/commonjs/funcs/propertyGetPropertiesBySlugs.d.ts.map +1 -0
  41. package/dist/commonjs/funcs/{propertyPostV1PropertyPropertiesBySlugs.js → propertyGetPropertiesBySlugs.js} +5 -5
  42. package/dist/commonjs/funcs/propertyGetPropertiesBySlugs.js.map +1 -0
  43. package/dist/commonjs/funcs/{propertyGetV1PropertySourcesSourceIds.d.ts → propertyGetPropertiesBySource.d.ts} +2 -2
  44. package/dist/commonjs/funcs/propertyGetPropertiesBySource.d.ts.map +1 -0
  45. package/dist/commonjs/funcs/{propertyGetV1PropertySourcesSourceIds.js → propertyGetPropertiesBySource.js} +6 -6
  46. package/dist/commonjs/funcs/propertyGetPropertiesBySource.js.map +1 -0
  47. package/dist/commonjs/funcs/propertySearchProperties.d.ts +18 -0
  48. package/dist/commonjs/funcs/propertySearchProperties.d.ts.map +1 -0
  49. package/dist/commonjs/funcs/{propertyPostV1PropertyQuery.js → propertySearchProperties.js} +5 -5
  50. package/dist/commonjs/funcs/propertySearchProperties.js.map +1 -0
  51. package/dist/commonjs/sdk/health.d.ts +3 -3
  52. package/dist/commonjs/sdk/health.js +9 -9
  53. package/dist/commonjs/sdk/location.d.ts +1 -1
  54. package/dist/commonjs/sdk/location.d.ts.map +1 -1
  55. package/dist/commonjs/sdk/location.js +3 -3
  56. package/dist/commonjs/sdk/location.js.map +1 -1
  57. package/dist/commonjs/sdk/models/operations/getplanningapplications.d.ts +54 -0
  58. package/dist/commonjs/sdk/models/operations/getplanningapplications.d.ts.map +1 -0
  59. package/dist/commonjs/sdk/models/operations/getplanningapplications.js +99 -0
  60. package/dist/commonjs/sdk/models/operations/getplanningapplications.js.map +1 -0
  61. package/dist/commonjs/sdk/models/operations/getplanningapplicationsbysource.d.ts +54 -0
  62. package/dist/commonjs/sdk/models/operations/getplanningapplicationsbysource.d.ts.map +1 -0
  63. package/dist/commonjs/sdk/models/operations/getplanningapplicationsbysource.js +99 -0
  64. package/dist/commonjs/sdk/models/operations/getplanningapplicationsbysource.js.map +1 -0
  65. package/dist/commonjs/sdk/models/operations/getproperties.d.ts +69 -0
  66. package/dist/commonjs/sdk/models/operations/getproperties.d.ts.map +1 -0
  67. package/dist/commonjs/sdk/models/operations/getproperties.js +105 -0
  68. package/dist/commonjs/sdk/models/operations/getproperties.js.map +1 -0
  69. package/dist/commonjs/sdk/models/operations/getpropertiesbylocation.d.ts +69 -0
  70. package/dist/commonjs/sdk/models/operations/getpropertiesbylocation.d.ts.map +1 -0
  71. package/dist/commonjs/sdk/models/operations/getpropertiesbylocation.js +105 -0
  72. package/dist/commonjs/sdk/models/operations/getpropertiesbylocation.js.map +1 -0
  73. package/dist/commonjs/sdk/models/operations/getpropertiesbyslugs.d.ts +26 -0
  74. package/dist/commonjs/sdk/models/operations/getpropertiesbyslugs.d.ts.map +1 -0
  75. package/dist/commonjs/sdk/models/operations/{postv1propertyquery.js → getpropertiesbyslugs.js} +17 -17
  76. package/dist/commonjs/sdk/models/operations/getpropertiesbyslugs.js.map +1 -0
  77. package/dist/commonjs/sdk/models/operations/getpropertiesbysource.d.ts +69 -0
  78. package/dist/commonjs/sdk/models/operations/getpropertiesbysource.d.ts.map +1 -0
  79. package/dist/commonjs/sdk/models/operations/getpropertiesbysource.js +105 -0
  80. package/dist/commonjs/sdk/models/operations/getpropertiesbysource.js.map +1 -0
  81. package/dist/commonjs/sdk/models/operations/index.d.ts +9 -9
  82. package/dist/commonjs/sdk/models/operations/index.d.ts.map +1 -1
  83. package/dist/commonjs/sdk/models/operations/index.js +9 -9
  84. package/dist/commonjs/sdk/models/operations/index.js.map +1 -1
  85. package/dist/commonjs/sdk/models/operations/searchplanningapplications.d.ts +26 -0
  86. package/dist/commonjs/sdk/models/operations/searchplanningapplications.d.ts.map +1 -0
  87. package/dist/commonjs/sdk/models/operations/{postv1propertypropertiesbyslugs.js → searchplanningapplications.js} +19 -19
  88. package/dist/commonjs/sdk/models/operations/searchplanningapplications.js.map +1 -0
  89. package/dist/commonjs/sdk/models/operations/searchproperties.d.ts +26 -0
  90. package/dist/commonjs/sdk/models/operations/searchproperties.d.ts.map +1 -0
  91. package/dist/commonjs/sdk/models/operations/{postv1planningquery.js → searchproperties.js} +19 -19
  92. package/dist/commonjs/sdk/models/operations/searchproperties.js.map +1 -0
  93. package/dist/commonjs/sdk/models/operations/searchstreets.d.ts +26 -0
  94. package/dist/commonjs/sdk/models/operations/searchstreets.d.ts.map +1 -0
  95. package/dist/commonjs/sdk/models/operations/{postv1locationstreetquery.js → searchstreets.js} +17 -17
  96. package/dist/commonjs/sdk/models/operations/searchstreets.js.map +1 -0
  97. package/dist/commonjs/sdk/planning.d.ts +7 -7
  98. package/dist/commonjs/sdk/planning.d.ts.map +1 -1
  99. package/dist/commonjs/sdk/planning.js +13 -13
  100. package/dist/commonjs/sdk/planning.js.map +1 -1
  101. package/dist/commonjs/sdk/property.d.ts +11 -11
  102. package/dist/commonjs/sdk/property.d.ts.map +1 -1
  103. package/dist/commonjs/sdk/property.js +21 -21
  104. package/dist/commonjs/sdk/property.js.map +1 -1
  105. package/dist/esm/funcs/{healthGetV1LocationHealth.d.ts → healthCheckLocationHealth.d.ts} +2 -2
  106. package/dist/esm/funcs/{healthGetV1LocationHealth.d.ts.map → healthCheckLocationHealth.d.ts.map} +1 -1
  107. package/dist/esm/funcs/{healthGetV1LocationHealth.js → healthCheckLocationHealth.js} +3 -3
  108. package/dist/esm/funcs/{healthGetV1PlanningHealth.js.map → healthCheckLocationHealth.js.map} +1 -1
  109. package/dist/{commonjs/funcs/healthGetV1PlanningHealth.d.ts → esm/funcs/healthCheckPlanningHealth.d.ts} +2 -2
  110. package/dist/esm/funcs/healthCheckPlanningHealth.d.ts.map +1 -0
  111. package/dist/esm/funcs/{healthGetV1PlanningHealth.js → healthCheckPlanningHealth.js} +3 -3
  112. package/dist/esm/funcs/{healthGetV1PropertyHealth.js.map → healthCheckPlanningHealth.js.map} +1 -1
  113. package/dist/{commonjs/funcs/healthGetV1PropertyHealth.d.ts → esm/funcs/healthCheckPropertyHealth.d.ts} +2 -2
  114. package/dist/esm/funcs/healthCheckPropertyHealth.d.ts.map +1 -0
  115. package/dist/esm/funcs/{healthGetV1PropertyHealth.js → healthCheckPropertyHealth.js} +3 -3
  116. package/dist/esm/funcs/{healthGetV1LocationHealth.js.map → healthCheckPropertyHealth.js.map} +1 -1
  117. package/dist/{commonjs/funcs/locationPostV1LocationStreetQuery.d.ts → esm/funcs/locationSearchStreets.d.ts} +2 -2
  118. package/dist/esm/funcs/locationSearchStreets.d.ts.map +1 -0
  119. package/dist/esm/funcs/{locationPostV1LocationStreetQuery.js → locationSearchStreets.js} +4 -4
  120. package/dist/esm/funcs/locationSearchStreets.js.map +1 -0
  121. package/dist/esm/funcs/{planningGetV1PlanningApplicationIds.d.ts → planningGetPlanningApplications.d.ts} +2 -2
  122. package/dist/esm/funcs/planningGetPlanningApplications.d.ts.map +1 -0
  123. package/dist/esm/funcs/{planningGetV1PlanningApplicationIds.js → planningGetPlanningApplications.js} +5 -5
  124. package/dist/esm/funcs/planningGetPlanningApplications.js.map +1 -0
  125. package/dist/esm/funcs/{planningGetV1PlanningSourcesSourceIds.d.ts → planningGetPlanningApplicationsBySource.d.ts} +2 -2
  126. package/dist/esm/funcs/planningGetPlanningApplicationsBySource.d.ts.map +1 -0
  127. package/dist/esm/funcs/{planningGetV1PlanningSourcesSourceIds.js → planningGetPlanningApplicationsBySource.js} +5 -5
  128. package/dist/esm/funcs/planningGetPlanningApplicationsBySource.js.map +1 -0
  129. package/dist/esm/funcs/{planningPostV1PlanningQuery.d.ts → planningSearchPlanningApplications.d.ts} +2 -2
  130. package/dist/esm/funcs/planningSearchPlanningApplications.d.ts.map +1 -0
  131. package/dist/esm/funcs/{planningPostV1PlanningQuery.js → planningSearchPlanningApplications.js} +4 -4
  132. package/dist/esm/funcs/planningSearchPlanningApplications.js.map +1 -0
  133. package/dist/{commonjs/funcs/propertyGetV1PropertyPropertyIdPropertyIds.d.ts → esm/funcs/propertyGetProperties.d.ts} +2 -2
  134. package/dist/esm/funcs/propertyGetProperties.d.ts.map +1 -0
  135. package/dist/esm/funcs/{propertyGetV1PropertyPropertyIdPropertyIds.js → propertyGetProperties.js} +5 -5
  136. package/dist/esm/funcs/propertyGetProperties.js.map +1 -0
  137. package/dist/{commonjs/funcs/propertyGetV1PropertyLocationIds.d.ts → esm/funcs/propertyGetPropertiesByLocation.d.ts} +2 -2
  138. package/dist/esm/funcs/propertyGetPropertiesByLocation.d.ts.map +1 -0
  139. package/dist/esm/funcs/{propertyGetV1PropertyLocationIds.js → propertyGetPropertiesByLocation.js} +5 -5
  140. package/dist/esm/funcs/propertyGetPropertiesByLocation.js.map +1 -0
  141. package/dist/esm/funcs/{propertyPostV1PropertyPropertiesBySlugs.d.ts → propertyGetPropertiesBySlugs.d.ts} +2 -2
  142. package/dist/esm/funcs/propertyGetPropertiesBySlugs.d.ts.map +1 -0
  143. package/dist/esm/funcs/{propertyPostV1PropertyPropertiesBySlugs.js → propertyGetPropertiesBySlugs.js} +4 -4
  144. package/dist/esm/funcs/propertyGetPropertiesBySlugs.js.map +1 -0
  145. package/dist/esm/funcs/{propertyGetV1PropertySourcesSourceIds.d.ts → propertyGetPropertiesBySource.d.ts} +2 -2
  146. package/dist/esm/funcs/propertyGetPropertiesBySource.d.ts.map +1 -0
  147. package/dist/esm/funcs/{propertyGetV1PropertySourcesSourceIds.js → propertyGetPropertiesBySource.js} +5 -5
  148. package/dist/esm/funcs/propertyGetPropertiesBySource.js.map +1 -0
  149. package/dist/esm/funcs/propertySearchProperties.d.ts +18 -0
  150. package/dist/esm/funcs/propertySearchProperties.d.ts.map +1 -0
  151. package/dist/esm/funcs/{propertyPostV1PropertyQuery.js → propertySearchProperties.js} +4 -4
  152. package/dist/esm/funcs/propertySearchProperties.js.map +1 -0
  153. package/dist/esm/sdk/health.d.ts +3 -3
  154. package/dist/esm/sdk/health.js +9 -9
  155. package/dist/esm/sdk/location.d.ts +1 -1
  156. package/dist/esm/sdk/location.d.ts.map +1 -1
  157. package/dist/esm/sdk/location.js +3 -3
  158. package/dist/esm/sdk/location.js.map +1 -1
  159. package/dist/esm/sdk/models/operations/getplanningapplications.d.ts +54 -0
  160. package/dist/esm/sdk/models/operations/getplanningapplications.d.ts.map +1 -0
  161. package/dist/esm/sdk/models/operations/getplanningapplications.js +59 -0
  162. package/dist/esm/sdk/models/operations/getplanningapplications.js.map +1 -0
  163. package/dist/esm/sdk/models/operations/getplanningapplicationsbysource.d.ts +54 -0
  164. package/dist/esm/sdk/models/operations/getplanningapplicationsbysource.d.ts.map +1 -0
  165. package/dist/esm/sdk/models/operations/getplanningapplicationsbysource.js +59 -0
  166. package/dist/esm/sdk/models/operations/getplanningapplicationsbysource.js.map +1 -0
  167. package/dist/esm/sdk/models/operations/getproperties.d.ts +69 -0
  168. package/dist/esm/sdk/models/operations/getproperties.d.ts.map +1 -0
  169. package/dist/esm/sdk/models/operations/getproperties.js +65 -0
  170. package/dist/esm/sdk/models/operations/getproperties.js.map +1 -0
  171. package/dist/esm/sdk/models/operations/getpropertiesbylocation.d.ts +69 -0
  172. package/dist/esm/sdk/models/operations/getpropertiesbylocation.d.ts.map +1 -0
  173. package/dist/esm/sdk/models/operations/getpropertiesbylocation.js +65 -0
  174. package/dist/esm/sdk/models/operations/getpropertiesbylocation.js.map +1 -0
  175. package/dist/esm/sdk/models/operations/getpropertiesbyslugs.d.ts +26 -0
  176. package/dist/esm/sdk/models/operations/getpropertiesbyslugs.d.ts.map +1 -0
  177. package/dist/esm/sdk/models/operations/getpropertiesbyslugs.js +34 -0
  178. package/dist/esm/sdk/models/operations/getpropertiesbyslugs.js.map +1 -0
  179. package/dist/esm/sdk/models/operations/getpropertiesbysource.d.ts +69 -0
  180. package/dist/esm/sdk/models/operations/getpropertiesbysource.d.ts.map +1 -0
  181. package/dist/esm/sdk/models/operations/getpropertiesbysource.js +65 -0
  182. package/dist/esm/sdk/models/operations/getpropertiesbysource.js.map +1 -0
  183. package/dist/esm/sdk/models/operations/index.d.ts +9 -9
  184. package/dist/esm/sdk/models/operations/index.d.ts.map +1 -1
  185. package/dist/esm/sdk/models/operations/index.js +9 -9
  186. package/dist/esm/sdk/models/operations/index.js.map +1 -1
  187. package/dist/esm/sdk/models/operations/searchplanningapplications.d.ts +26 -0
  188. package/dist/esm/sdk/models/operations/searchplanningapplications.d.ts.map +1 -0
  189. package/dist/esm/sdk/models/operations/searchplanningapplications.js +34 -0
  190. package/dist/esm/sdk/models/operations/searchplanningapplications.js.map +1 -0
  191. package/dist/esm/sdk/models/operations/searchproperties.d.ts +26 -0
  192. package/dist/esm/sdk/models/operations/searchproperties.d.ts.map +1 -0
  193. package/dist/esm/sdk/models/operations/searchproperties.js +34 -0
  194. package/dist/esm/sdk/models/operations/searchproperties.js.map +1 -0
  195. package/dist/esm/sdk/models/operations/searchstreets.d.ts +26 -0
  196. package/dist/esm/sdk/models/operations/searchstreets.d.ts.map +1 -0
  197. package/dist/esm/sdk/models/operations/searchstreets.js +34 -0
  198. package/dist/esm/sdk/models/operations/searchstreets.js.map +1 -0
  199. package/dist/esm/sdk/planning.d.ts +7 -7
  200. package/dist/esm/sdk/planning.d.ts.map +1 -1
  201. package/dist/esm/sdk/planning.js +13 -13
  202. package/dist/esm/sdk/planning.js.map +1 -1
  203. package/dist/esm/sdk/property.d.ts +11 -11
  204. package/dist/esm/sdk/property.d.ts.map +1 -1
  205. package/dist/esm/sdk/property.js +21 -21
  206. package/dist/esm/sdk/property.js.map +1 -1
  207. package/examples/{healthGetV1LocationHealth.example.ts → healthCheckLocationHealth.example.ts} +2 -2
  208. package/package.json +1 -1
  209. package/src/funcs/{healthGetV1LocationHealth.ts → healthCheckLocationHealth.ts} +2 -2
  210. package/src/funcs/{healthGetV1PlanningHealth.ts → healthCheckPlanningHealth.ts} +2 -2
  211. package/src/funcs/{healthGetV1PropertyHealth.ts → healthCheckPropertyHealth.ts} +2 -2
  212. package/src/funcs/{locationPostV1LocationStreetQuery.ts → locationSearchStreets.ts} +8 -11
  213. package/src/funcs/{planningGetV1PlanningApplicationIds.ts → planningGetPlanningApplications.ts} +11 -11
  214. package/src/funcs/{planningGetV1PlanningSourcesSourceIds.ts → planningGetPlanningApplicationsBySource.ts} +20 -11
  215. package/src/funcs/{planningPostV1PlanningQuery.ts → planningSearchPlanningApplications.ts} +8 -8
  216. package/src/funcs/{propertyGetV1PropertyPropertyIdPropertyIds.ts → propertyGetProperties.ts} +11 -23
  217. package/src/funcs/{propertyGetV1PropertyLocationIds.ts → propertyGetPropertiesByLocation.ts} +11 -11
  218. package/src/funcs/{propertyPostV1PropertyPropertiesBySlugs.ts → propertyGetPropertiesBySlugs.ts} +8 -17
  219. package/src/funcs/{propertyGetV1PropertySourcesSourceIds.ts → propertyGetPropertiesBySource.ts} +11 -13
  220. package/src/funcs/{propertyPostV1PropertyQuery.ts → propertySearchProperties.ts} +8 -8
  221. package/src/sdk/health.ts +9 -9
  222. package/src/sdk/location.ts +4 -4
  223. package/src/sdk/models/operations/getplanningapplications.ts +134 -0
  224. package/src/sdk/models/operations/getplanningapplicationsbysource.ts +147 -0
  225. package/src/sdk/models/operations/getproperties.ts +151 -0
  226. package/src/sdk/models/operations/getpropertiesbylocation.ts +155 -0
  227. package/src/sdk/models/operations/getpropertiesbyslugs.ts +71 -0
  228. package/src/sdk/models/operations/getpropertiesbysource.ts +155 -0
  229. package/src/sdk/models/operations/index.ts +9 -9
  230. package/src/sdk/models/operations/searchplanningapplications.ts +73 -0
  231. package/src/sdk/models/operations/searchproperties.ts +69 -0
  232. package/src/sdk/models/operations/searchstreets.ts +69 -0
  233. package/src/sdk/planning.ts +18 -18
  234. package/src/sdk/property.ts +30 -30
  235. package/dist/commonjs/funcs/locationPostV1LocationStreetQuery.d.ts.map +0 -1
  236. package/dist/commonjs/funcs/locationPostV1LocationStreetQuery.js.map +0 -1
  237. package/dist/commonjs/funcs/planningGetV1PlanningApplicationIds.d.ts.map +0 -1
  238. package/dist/commonjs/funcs/planningGetV1PlanningApplicationIds.js.map +0 -1
  239. package/dist/commonjs/funcs/planningGetV1PlanningSourcesSourceIds.d.ts.map +0 -1
  240. package/dist/commonjs/funcs/planningGetV1PlanningSourcesSourceIds.js.map +0 -1
  241. package/dist/commonjs/funcs/planningPostV1PlanningQuery.d.ts.map +0 -1
  242. package/dist/commonjs/funcs/planningPostV1PlanningQuery.js.map +0 -1
  243. package/dist/commonjs/funcs/propertyGetV1PropertyLocationIds.d.ts.map +0 -1
  244. package/dist/commonjs/funcs/propertyGetV1PropertyLocationIds.js.map +0 -1
  245. package/dist/commonjs/funcs/propertyGetV1PropertyPropertyIdPropertyIds.d.ts.map +0 -1
  246. package/dist/commonjs/funcs/propertyGetV1PropertyPropertyIdPropertyIds.js.map +0 -1
  247. package/dist/commonjs/funcs/propertyGetV1PropertySourcesSourceIds.d.ts.map +0 -1
  248. package/dist/commonjs/funcs/propertyGetV1PropertySourcesSourceIds.js.map +0 -1
  249. package/dist/commonjs/funcs/propertyPostV1PropertyPropertiesBySlugs.d.ts.map +0 -1
  250. package/dist/commonjs/funcs/propertyPostV1PropertyPropertiesBySlugs.js.map +0 -1
  251. package/dist/commonjs/funcs/propertyPostV1PropertyQuery.d.ts +0 -18
  252. package/dist/commonjs/funcs/propertyPostV1PropertyQuery.d.ts.map +0 -1
  253. package/dist/commonjs/funcs/propertyPostV1PropertyQuery.js.map +0 -1
  254. package/dist/commonjs/sdk/models/operations/getv1planningapplicationids.d.ts +0 -54
  255. package/dist/commonjs/sdk/models/operations/getv1planningapplicationids.d.ts.map +0 -1
  256. package/dist/commonjs/sdk/models/operations/getv1planningapplicationids.js +0 -99
  257. package/dist/commonjs/sdk/models/operations/getv1planningapplicationids.js.map +0 -1
  258. package/dist/commonjs/sdk/models/operations/getv1planningsourcessourceids.d.ts +0 -54
  259. package/dist/commonjs/sdk/models/operations/getv1planningsourcessourceids.d.ts.map +0 -1
  260. package/dist/commonjs/sdk/models/operations/getv1planningsourcessourceids.js +0 -99
  261. package/dist/commonjs/sdk/models/operations/getv1planningsourcessourceids.js.map +0 -1
  262. package/dist/commonjs/sdk/models/operations/getv1propertylocationids.d.ts +0 -69
  263. package/dist/commonjs/sdk/models/operations/getv1propertylocationids.d.ts.map +0 -1
  264. package/dist/commonjs/sdk/models/operations/getv1propertylocationids.js +0 -105
  265. package/dist/commonjs/sdk/models/operations/getv1propertylocationids.js.map +0 -1
  266. package/dist/commonjs/sdk/models/operations/getv1propertypropertyidpropertyids.d.ts +0 -69
  267. package/dist/commonjs/sdk/models/operations/getv1propertypropertyidpropertyids.d.ts.map +0 -1
  268. package/dist/commonjs/sdk/models/operations/getv1propertypropertyidpropertyids.js +0 -105
  269. package/dist/commonjs/sdk/models/operations/getv1propertypropertyidpropertyids.js.map +0 -1
  270. package/dist/commonjs/sdk/models/operations/getv1propertysourcessourceids.d.ts +0 -69
  271. package/dist/commonjs/sdk/models/operations/getv1propertysourcessourceids.d.ts.map +0 -1
  272. package/dist/commonjs/sdk/models/operations/getv1propertysourcessourceids.js +0 -105
  273. package/dist/commonjs/sdk/models/operations/getv1propertysourcessourceids.js.map +0 -1
  274. package/dist/commonjs/sdk/models/operations/postv1locationstreetquery.d.ts +0 -26
  275. package/dist/commonjs/sdk/models/operations/postv1locationstreetquery.d.ts.map +0 -1
  276. package/dist/commonjs/sdk/models/operations/postv1locationstreetquery.js.map +0 -1
  277. package/dist/commonjs/sdk/models/operations/postv1planningquery.d.ts +0 -26
  278. package/dist/commonjs/sdk/models/operations/postv1planningquery.d.ts.map +0 -1
  279. package/dist/commonjs/sdk/models/operations/postv1planningquery.js.map +0 -1
  280. package/dist/commonjs/sdk/models/operations/postv1propertypropertiesbyslugs.d.ts +0 -26
  281. package/dist/commonjs/sdk/models/operations/postv1propertypropertiesbyslugs.d.ts.map +0 -1
  282. package/dist/commonjs/sdk/models/operations/postv1propertypropertiesbyslugs.js.map +0 -1
  283. package/dist/commonjs/sdk/models/operations/postv1propertyquery.d.ts +0 -26
  284. package/dist/commonjs/sdk/models/operations/postv1propertyquery.d.ts.map +0 -1
  285. package/dist/commonjs/sdk/models/operations/postv1propertyquery.js.map +0 -1
  286. package/dist/esm/funcs/healthGetV1PlanningHealth.d.ts.map +0 -1
  287. package/dist/esm/funcs/healthGetV1PropertyHealth.d.ts.map +0 -1
  288. package/dist/esm/funcs/locationPostV1LocationStreetQuery.d.ts.map +0 -1
  289. package/dist/esm/funcs/locationPostV1LocationStreetQuery.js.map +0 -1
  290. package/dist/esm/funcs/planningGetV1PlanningApplicationIds.d.ts.map +0 -1
  291. package/dist/esm/funcs/planningGetV1PlanningApplicationIds.js.map +0 -1
  292. package/dist/esm/funcs/planningGetV1PlanningSourcesSourceIds.d.ts.map +0 -1
  293. package/dist/esm/funcs/planningGetV1PlanningSourcesSourceIds.js.map +0 -1
  294. package/dist/esm/funcs/planningPostV1PlanningQuery.d.ts.map +0 -1
  295. package/dist/esm/funcs/planningPostV1PlanningQuery.js.map +0 -1
  296. package/dist/esm/funcs/propertyGetV1PropertyLocationIds.d.ts.map +0 -1
  297. package/dist/esm/funcs/propertyGetV1PropertyLocationIds.js.map +0 -1
  298. package/dist/esm/funcs/propertyGetV1PropertyPropertyIdPropertyIds.d.ts.map +0 -1
  299. package/dist/esm/funcs/propertyGetV1PropertyPropertyIdPropertyIds.js.map +0 -1
  300. package/dist/esm/funcs/propertyGetV1PropertySourcesSourceIds.d.ts.map +0 -1
  301. package/dist/esm/funcs/propertyGetV1PropertySourcesSourceIds.js.map +0 -1
  302. package/dist/esm/funcs/propertyPostV1PropertyPropertiesBySlugs.d.ts.map +0 -1
  303. package/dist/esm/funcs/propertyPostV1PropertyPropertiesBySlugs.js.map +0 -1
  304. package/dist/esm/funcs/propertyPostV1PropertyQuery.d.ts +0 -18
  305. package/dist/esm/funcs/propertyPostV1PropertyQuery.d.ts.map +0 -1
  306. package/dist/esm/funcs/propertyPostV1PropertyQuery.js.map +0 -1
  307. package/dist/esm/sdk/models/operations/getv1planningapplicationids.d.ts +0 -54
  308. package/dist/esm/sdk/models/operations/getv1planningapplicationids.d.ts.map +0 -1
  309. package/dist/esm/sdk/models/operations/getv1planningapplicationids.js +0 -59
  310. package/dist/esm/sdk/models/operations/getv1planningapplicationids.js.map +0 -1
  311. package/dist/esm/sdk/models/operations/getv1planningsourcessourceids.d.ts +0 -54
  312. package/dist/esm/sdk/models/operations/getv1planningsourcessourceids.d.ts.map +0 -1
  313. package/dist/esm/sdk/models/operations/getv1planningsourcessourceids.js +0 -59
  314. package/dist/esm/sdk/models/operations/getv1planningsourcessourceids.js.map +0 -1
  315. package/dist/esm/sdk/models/operations/getv1propertylocationids.d.ts +0 -69
  316. package/dist/esm/sdk/models/operations/getv1propertylocationids.d.ts.map +0 -1
  317. package/dist/esm/sdk/models/operations/getv1propertylocationids.js +0 -65
  318. package/dist/esm/sdk/models/operations/getv1propertylocationids.js.map +0 -1
  319. package/dist/esm/sdk/models/operations/getv1propertypropertyidpropertyids.d.ts +0 -69
  320. package/dist/esm/sdk/models/operations/getv1propertypropertyidpropertyids.d.ts.map +0 -1
  321. package/dist/esm/sdk/models/operations/getv1propertypropertyidpropertyids.js +0 -65
  322. package/dist/esm/sdk/models/operations/getv1propertypropertyidpropertyids.js.map +0 -1
  323. package/dist/esm/sdk/models/operations/getv1propertysourcessourceids.d.ts +0 -69
  324. package/dist/esm/sdk/models/operations/getv1propertysourcessourceids.d.ts.map +0 -1
  325. package/dist/esm/sdk/models/operations/getv1propertysourcessourceids.js +0 -65
  326. package/dist/esm/sdk/models/operations/getv1propertysourcessourceids.js.map +0 -1
  327. package/dist/esm/sdk/models/operations/postv1locationstreetquery.d.ts +0 -26
  328. package/dist/esm/sdk/models/operations/postv1locationstreetquery.d.ts.map +0 -1
  329. package/dist/esm/sdk/models/operations/postv1locationstreetquery.js +0 -34
  330. package/dist/esm/sdk/models/operations/postv1locationstreetquery.js.map +0 -1
  331. package/dist/esm/sdk/models/operations/postv1planningquery.d.ts +0 -26
  332. package/dist/esm/sdk/models/operations/postv1planningquery.d.ts.map +0 -1
  333. package/dist/esm/sdk/models/operations/postv1planningquery.js +0 -34
  334. package/dist/esm/sdk/models/operations/postv1planningquery.js.map +0 -1
  335. package/dist/esm/sdk/models/operations/postv1propertypropertiesbyslugs.d.ts +0 -26
  336. package/dist/esm/sdk/models/operations/postv1propertypropertiesbyslugs.d.ts.map +0 -1
  337. package/dist/esm/sdk/models/operations/postv1propertypropertiesbyslugs.js +0 -34
  338. package/dist/esm/sdk/models/operations/postv1propertypropertiesbyslugs.js.map +0 -1
  339. package/dist/esm/sdk/models/operations/postv1propertyquery.d.ts +0 -26
  340. package/dist/esm/sdk/models/operations/postv1propertyquery.d.ts.map +0 -1
  341. package/dist/esm/sdk/models/operations/postv1propertyquery.js +0 -34
  342. package/dist/esm/sdk/models/operations/postv1propertyquery.js.map +0 -1
  343. package/src/sdk/models/operations/getv1planningapplicationids.ts +0 -139
  344. package/src/sdk/models/operations/getv1planningsourcessourceids.ts +0 -140
  345. package/src/sdk/models/operations/getv1propertylocationids.ts +0 -155
  346. package/src/sdk/models/operations/getv1propertypropertyidpropertyids.ts +0 -173
  347. package/src/sdk/models/operations/getv1propertysourcessourceids.ts +0 -161
  348. package/src/sdk/models/operations/postv1locationstreetquery.ts +0 -72
  349. package/src/sdk/models/operations/postv1planningquery.ts +0 -71
  350. package/src/sdk/models/operations/postv1propertypropertiesbyslugs.ts +0 -80
  351. package/src/sdk/models/operations/postv1propertyquery.ts +0 -71
@@ -30,13 +30,13 @@ import { Result } from "../sdk/types/fp.js";
30
30
  * @remarks
31
31
  * Retrieve property data using comma-separated source identifiers (e.g., provider-a::123)
32
32
  */
33
- export function propertyGetV1PropertySourcesSourceIds(
33
+ export function propertyGetPropertiesBySource(
34
34
  client: SDKCore,
35
- request: operations.GetV1PropertySourcesSourceIdsRequest,
35
+ request: operations.GetPropertiesBySourceRequest,
36
36
  options?: RequestOptions,
37
37
  ): APIPromise<
38
38
  Result<
39
- operations.GetV1PropertySourcesSourceIdsResponse,
39
+ operations.GetPropertiesBySourceResponse,
40
40
  | SDKBaseError
41
41
  | ResponseValidationError
42
42
  | ConnectionError
@@ -56,12 +56,12 @@ export function propertyGetV1PropertySourcesSourceIds(
56
56
 
57
57
  async function $do(
58
58
  client: SDKCore,
59
- request: operations.GetV1PropertySourcesSourceIdsRequest,
59
+ request: operations.GetPropertiesBySourceRequest,
60
60
  options?: RequestOptions,
61
61
  ): Promise<
62
62
  [
63
63
  Result<
64
- operations.GetV1PropertySourcesSourceIdsResponse,
64
+ operations.GetPropertiesBySourceResponse,
65
65
  | SDKBaseError
66
66
  | ResponseValidationError
67
67
  | ConnectionError
@@ -77,9 +77,7 @@ async function $do(
77
77
  const parsed = safeParse(
78
78
  request,
79
79
  (value) =>
80
- operations.GetV1PropertySourcesSourceIdsRequest$outboundSchema.parse(
81
- value,
82
- ),
80
+ operations.GetPropertiesBySourceRequest$outboundSchema.parse(value),
83
81
  "Input validation failed",
84
82
  );
85
83
  if (!parsed.ok) {
@@ -114,7 +112,7 @@ async function $do(
114
112
  const context = {
115
113
  options: client._options,
116
114
  baseURL: options?.serverURL ?? client._baseURL ?? "",
117
- operationID: "get_/v1/property/sources/{sourceIds}",
115
+ operationID: "getPropertiesBySource",
118
116
  oAuth2Scopes: [],
119
117
 
120
118
  resolvedSecurity: requestSecurity,
@@ -154,7 +152,7 @@ async function $do(
154
152
  const response = doResult.value;
155
153
 
156
154
  const [result] = await M.match<
157
- operations.GetV1PropertySourcesSourceIdsResponse,
155
+ operations.GetPropertiesBySourceResponse,
158
156
  | SDKBaseError
159
157
  | ResponseValidationError
160
158
  | ConnectionError
@@ -164,9 +162,9 @@ async function $do(
164
162
  | UnexpectedClientError
165
163
  | SDKValidationError
166
164
  >(
167
- M.json(200, operations.GetV1PropertySourcesSourceIdsResponse$inboundSchema),
168
- M.json(400, operations.GetV1PropertySourcesSourceIdsResponse$inboundSchema),
169
- M.json(500, operations.GetV1PropertySourcesSourceIdsResponse$inboundSchema),
165
+ M.json(200, operations.GetPropertiesBySourceResponse$inboundSchema),
166
+ M.json(400, operations.GetPropertiesBySourceResponse$inboundSchema),
167
+ M.json(500, operations.GetPropertiesBySourceResponse$inboundSchema),
170
168
  )(response, req);
171
169
  if (!result.ok) {
172
170
  return [result, { status: "complete", request: req, response }];
@@ -31,13 +31,13 @@ import { Result } from "../sdk/types/fp.js";
31
31
  * @remarks
32
32
  * Search for properties using location, price, and other criteria
33
33
  */
34
- export function propertyPostV1PropertyQuery(
34
+ export function propertySearchProperties(
35
35
  client: SDKCore,
36
36
  request?: shared.PropertyQueryRequest | undefined,
37
37
  options?: RequestOptions,
38
38
  ): APIPromise<
39
39
  Result<
40
- operations.PostV1PropertyQueryResponse,
40
+ operations.SearchPropertiesResponse,
41
41
  | SDKBaseError
42
42
  | ResponseValidationError
43
43
  | ConnectionError
@@ -62,7 +62,7 @@ async function $do(
62
62
  ): Promise<
63
63
  [
64
64
  Result<
65
- operations.PostV1PropertyQueryResponse,
65
+ operations.SearchPropertiesResponse,
66
66
  | SDKBaseError
67
67
  | ResponseValidationError
68
68
  | ConnectionError
@@ -103,7 +103,7 @@ async function $do(
103
103
  const context = {
104
104
  options: client._options,
105
105
  baseURL: options?.serverURL ?? client._baseURL ?? "",
106
- operationID: "post_/v1/property/query",
106
+ operationID: "searchProperties",
107
107
  oAuth2Scopes: [],
108
108
 
109
109
  resolvedSecurity: requestSecurity,
@@ -142,7 +142,7 @@ async function $do(
142
142
  const response = doResult.value;
143
143
 
144
144
  const [result] = await M.match<
145
- operations.PostV1PropertyQueryResponse,
145
+ operations.SearchPropertiesResponse,
146
146
  | SDKBaseError
147
147
  | ResponseValidationError
148
148
  | ConnectionError
@@ -152,9 +152,9 @@ async function $do(
152
152
  | UnexpectedClientError
153
153
  | SDKValidationError
154
154
  >(
155
- M.json(200, operations.PostV1PropertyQueryResponse$inboundSchema),
156
- M.json(400, operations.PostV1PropertyQueryResponse$inboundSchema),
157
- M.json(500, operations.PostV1PropertyQueryResponse$inboundSchema),
155
+ M.json(200, operations.SearchPropertiesResponse$inboundSchema),
156
+ M.json(400, operations.SearchPropertiesResponse$inboundSchema),
157
+ M.json(500, operations.SearchPropertiesResponse$inboundSchema),
158
158
  )(response, req);
159
159
  if (!result.ok) {
160
160
  return [result, { status: "complete", request: req, response }];
package/src/sdk/health.ts CHANGED
@@ -2,9 +2,9 @@
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
3
  */
4
4
 
5
- import { healthGetV1LocationHealth } from "../funcs/healthGetV1LocationHealth.js";
6
- import { healthGetV1PlanningHealth } from "../funcs/healthGetV1PlanningHealth.js";
7
- import { healthGetV1PropertyHealth } from "../funcs/healthGetV1PropertyHealth.js";
5
+ import { healthCheckLocationHealth } from "../funcs/healthCheckLocationHealth.js";
6
+ import { healthCheckPlanningHealth } from "../funcs/healthCheckPlanningHealth.js";
7
+ import { healthCheckPropertyHealth } from "../funcs/healthCheckPropertyHealth.js";
8
8
  import { ClientSDK, RequestOptions } from "../lib/sdks.js";
9
9
  import * as shared from "./models/shared/index.js";
10
10
  import { unwrapAsync } from "./types/fp.js";
@@ -16,10 +16,10 @@ export class Health extends ClientSDK {
16
16
  * @remarks
17
17
  * Check if the location service is operational
18
18
  */
19
- async getV1LocationHealth(
19
+ async checkLocationHealth(
20
20
  options?: RequestOptions,
21
21
  ): Promise<shared.HealthResponse> {
22
- return unwrapAsync(healthGetV1LocationHealth(
22
+ return unwrapAsync(healthCheckLocationHealth(
23
23
  this,
24
24
  options,
25
25
  ));
@@ -31,10 +31,10 @@ export class Health extends ClientSDK {
31
31
  * @remarks
32
32
  * Check if the planning service is operational
33
33
  */
34
- async getV1PlanningHealth(
34
+ async checkPlanningHealth(
35
35
  options?: RequestOptions,
36
36
  ): Promise<shared.HealthResponse> {
37
- return unwrapAsync(healthGetV1PlanningHealth(
37
+ return unwrapAsync(healthCheckPlanningHealth(
38
38
  this,
39
39
  options,
40
40
  ));
@@ -46,10 +46,10 @@ export class Health extends ClientSDK {
46
46
  * @remarks
47
47
  * Check if the property service is operational
48
48
  */
49
- async getV1PropertyHealth(
49
+ async checkPropertyHealth(
50
50
  options?: RequestOptions,
51
51
  ): Promise<shared.HealthResponse> {
52
- return unwrapAsync(healthGetV1PropertyHealth(
52
+ return unwrapAsync(healthCheckPropertyHealth(
53
53
  this,
54
54
  options,
55
55
  ));
@@ -2,7 +2,7 @@
2
2
  * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
3
  */
4
4
 
5
- import { locationPostV1LocationStreetQuery } from "../funcs/locationPostV1LocationStreetQuery.js";
5
+ import { locationSearchStreets } from "../funcs/locationSearchStreets.js";
6
6
  import { ClientSDK, RequestOptions } from "../lib/sdks.js";
7
7
  import * as operations from "./models/operations/index.js";
8
8
  import * as shared from "./models/shared/index.js";
@@ -15,11 +15,11 @@ export class Location extends ClientSDK {
15
15
  * @remarks
16
16
  * Query streets using USRN, UPRN, coordinates, name, or postcode. Optionally include properties and statistics.
17
17
  */
18
- async postV1LocationStreetQuery(
18
+ async searchStreets(
19
19
  request?: shared.StreetQueryRequest | undefined,
20
20
  options?: RequestOptions,
21
- ): Promise<operations.PostV1LocationStreetQueryResponse> {
22
- return unwrapAsync(locationPostV1LocationStreetQuery(
21
+ ): Promise<operations.SearchStreetsResponse> {
22
+ return unwrapAsync(locationSearchStreets(
23
23
  this,
24
24
  request,
25
25
  options,
@@ -0,0 +1,134 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { safeParse } from "../../../lib/schemas.js";
7
+ import { Result as SafeParseResult } from "../../types/fp.js";
8
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
9
+ import * as shared from "../shared/index.js";
10
+
11
+ export type GetPlanningApplicationsRequest = {
12
+ /**
13
+ * Comma-separated list of planning application IDs
14
+ */
15
+ applicationIds: string;
16
+ };
17
+
18
+ export type GetPlanningApplicationsResponse =
19
+ | shared.PlanningListResponse
20
+ | shared.ErrorResponse;
21
+
22
+ /** @internal */
23
+ export const GetPlanningApplicationsRequest$inboundSchema: z.ZodType<
24
+ GetPlanningApplicationsRequest,
25
+ z.ZodTypeDef,
26
+ unknown
27
+ > = z.object({
28
+ applicationIds: z.string(),
29
+ });
30
+
31
+ /** @internal */
32
+ export type GetPlanningApplicationsRequest$Outbound = {
33
+ applicationIds: string;
34
+ };
35
+
36
+ /** @internal */
37
+ export const GetPlanningApplicationsRequest$outboundSchema: z.ZodType<
38
+ GetPlanningApplicationsRequest$Outbound,
39
+ z.ZodTypeDef,
40
+ GetPlanningApplicationsRequest
41
+ > = z.object({
42
+ applicationIds: z.string(),
43
+ });
44
+
45
+ /**
46
+ * @internal
47
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
48
+ */
49
+ export namespace GetPlanningApplicationsRequest$ {
50
+ /** @deprecated use `GetPlanningApplicationsRequest$inboundSchema` instead. */
51
+ export const inboundSchema = GetPlanningApplicationsRequest$inboundSchema;
52
+ /** @deprecated use `GetPlanningApplicationsRequest$outboundSchema` instead. */
53
+ export const outboundSchema = GetPlanningApplicationsRequest$outboundSchema;
54
+ /** @deprecated use `GetPlanningApplicationsRequest$Outbound` instead. */
55
+ export type Outbound = GetPlanningApplicationsRequest$Outbound;
56
+ }
57
+
58
+ export function getPlanningApplicationsRequestToJSON(
59
+ getPlanningApplicationsRequest: GetPlanningApplicationsRequest,
60
+ ): string {
61
+ return JSON.stringify(
62
+ GetPlanningApplicationsRequest$outboundSchema.parse(
63
+ getPlanningApplicationsRequest,
64
+ ),
65
+ );
66
+ }
67
+
68
+ export function getPlanningApplicationsRequestFromJSON(
69
+ jsonString: string,
70
+ ): SafeParseResult<GetPlanningApplicationsRequest, SDKValidationError> {
71
+ return safeParse(
72
+ jsonString,
73
+ (x) => GetPlanningApplicationsRequest$inboundSchema.parse(JSON.parse(x)),
74
+ `Failed to parse 'GetPlanningApplicationsRequest' from JSON`,
75
+ );
76
+ }
77
+
78
+ /** @internal */
79
+ export const GetPlanningApplicationsResponse$inboundSchema: z.ZodType<
80
+ GetPlanningApplicationsResponse,
81
+ z.ZodTypeDef,
82
+ unknown
83
+ > = z.union([
84
+ shared.PlanningListResponse$inboundSchema,
85
+ shared.ErrorResponse$inboundSchema,
86
+ ]);
87
+
88
+ /** @internal */
89
+ export type GetPlanningApplicationsResponse$Outbound =
90
+ | shared.PlanningListResponse$Outbound
91
+ | shared.ErrorResponse$Outbound;
92
+
93
+ /** @internal */
94
+ export const GetPlanningApplicationsResponse$outboundSchema: z.ZodType<
95
+ GetPlanningApplicationsResponse$Outbound,
96
+ z.ZodTypeDef,
97
+ GetPlanningApplicationsResponse
98
+ > = z.union([
99
+ shared.PlanningListResponse$outboundSchema,
100
+ shared.ErrorResponse$outboundSchema,
101
+ ]);
102
+
103
+ /**
104
+ * @internal
105
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
106
+ */
107
+ export namespace GetPlanningApplicationsResponse$ {
108
+ /** @deprecated use `GetPlanningApplicationsResponse$inboundSchema` instead. */
109
+ export const inboundSchema = GetPlanningApplicationsResponse$inboundSchema;
110
+ /** @deprecated use `GetPlanningApplicationsResponse$outboundSchema` instead. */
111
+ export const outboundSchema = GetPlanningApplicationsResponse$outboundSchema;
112
+ /** @deprecated use `GetPlanningApplicationsResponse$Outbound` instead. */
113
+ export type Outbound = GetPlanningApplicationsResponse$Outbound;
114
+ }
115
+
116
+ export function getPlanningApplicationsResponseToJSON(
117
+ getPlanningApplicationsResponse: GetPlanningApplicationsResponse,
118
+ ): string {
119
+ return JSON.stringify(
120
+ GetPlanningApplicationsResponse$outboundSchema.parse(
121
+ getPlanningApplicationsResponse,
122
+ ),
123
+ );
124
+ }
125
+
126
+ export function getPlanningApplicationsResponseFromJSON(
127
+ jsonString: string,
128
+ ): SafeParseResult<GetPlanningApplicationsResponse, SDKValidationError> {
129
+ return safeParse(
130
+ jsonString,
131
+ (x) => GetPlanningApplicationsResponse$inboundSchema.parse(JSON.parse(x)),
132
+ `Failed to parse 'GetPlanningApplicationsResponse' from JSON`,
133
+ );
134
+ }
@@ -0,0 +1,147 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { safeParse } from "../../../lib/schemas.js";
7
+ import { Result as SafeParseResult } from "../../types/fp.js";
8
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
9
+ import * as shared from "../shared/index.js";
10
+
11
+ export type GetPlanningApplicationsBySourceRequest = {
12
+ /**
13
+ * Comma-separated list of source IDs (e.g., council-a::APP/2024/0001)
14
+ */
15
+ sourceIds: string;
16
+ };
17
+
18
+ export type GetPlanningApplicationsBySourceResponse =
19
+ | shared.PlanningListResponse
20
+ | shared.ErrorResponse;
21
+
22
+ /** @internal */
23
+ export const GetPlanningApplicationsBySourceRequest$inboundSchema: z.ZodType<
24
+ GetPlanningApplicationsBySourceRequest,
25
+ z.ZodTypeDef,
26
+ unknown
27
+ > = z.object({
28
+ sourceIds: z.string(),
29
+ });
30
+
31
+ /** @internal */
32
+ export type GetPlanningApplicationsBySourceRequest$Outbound = {
33
+ sourceIds: string;
34
+ };
35
+
36
+ /** @internal */
37
+ export const GetPlanningApplicationsBySourceRequest$outboundSchema: z.ZodType<
38
+ GetPlanningApplicationsBySourceRequest$Outbound,
39
+ z.ZodTypeDef,
40
+ GetPlanningApplicationsBySourceRequest
41
+ > = z.object({
42
+ sourceIds: z.string(),
43
+ });
44
+
45
+ /**
46
+ * @internal
47
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
48
+ */
49
+ export namespace GetPlanningApplicationsBySourceRequest$ {
50
+ /** @deprecated use `GetPlanningApplicationsBySourceRequest$inboundSchema` instead. */
51
+ export const inboundSchema =
52
+ GetPlanningApplicationsBySourceRequest$inboundSchema;
53
+ /** @deprecated use `GetPlanningApplicationsBySourceRequest$outboundSchema` instead. */
54
+ export const outboundSchema =
55
+ GetPlanningApplicationsBySourceRequest$outboundSchema;
56
+ /** @deprecated use `GetPlanningApplicationsBySourceRequest$Outbound` instead. */
57
+ export type Outbound = GetPlanningApplicationsBySourceRequest$Outbound;
58
+ }
59
+
60
+ export function getPlanningApplicationsBySourceRequestToJSON(
61
+ getPlanningApplicationsBySourceRequest:
62
+ GetPlanningApplicationsBySourceRequest,
63
+ ): string {
64
+ return JSON.stringify(
65
+ GetPlanningApplicationsBySourceRequest$outboundSchema.parse(
66
+ getPlanningApplicationsBySourceRequest,
67
+ ),
68
+ );
69
+ }
70
+
71
+ export function getPlanningApplicationsBySourceRequestFromJSON(
72
+ jsonString: string,
73
+ ): SafeParseResult<GetPlanningApplicationsBySourceRequest, SDKValidationError> {
74
+ return safeParse(
75
+ jsonString,
76
+ (x) =>
77
+ GetPlanningApplicationsBySourceRequest$inboundSchema.parse(JSON.parse(x)),
78
+ `Failed to parse 'GetPlanningApplicationsBySourceRequest' from JSON`,
79
+ );
80
+ }
81
+
82
+ /** @internal */
83
+ export const GetPlanningApplicationsBySourceResponse$inboundSchema: z.ZodType<
84
+ GetPlanningApplicationsBySourceResponse,
85
+ z.ZodTypeDef,
86
+ unknown
87
+ > = z.union([
88
+ shared.PlanningListResponse$inboundSchema,
89
+ shared.ErrorResponse$inboundSchema,
90
+ ]);
91
+
92
+ /** @internal */
93
+ export type GetPlanningApplicationsBySourceResponse$Outbound =
94
+ | shared.PlanningListResponse$Outbound
95
+ | shared.ErrorResponse$Outbound;
96
+
97
+ /** @internal */
98
+ export const GetPlanningApplicationsBySourceResponse$outboundSchema: z.ZodType<
99
+ GetPlanningApplicationsBySourceResponse$Outbound,
100
+ z.ZodTypeDef,
101
+ GetPlanningApplicationsBySourceResponse
102
+ > = z.union([
103
+ shared.PlanningListResponse$outboundSchema,
104
+ shared.ErrorResponse$outboundSchema,
105
+ ]);
106
+
107
+ /**
108
+ * @internal
109
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
110
+ */
111
+ export namespace GetPlanningApplicationsBySourceResponse$ {
112
+ /** @deprecated use `GetPlanningApplicationsBySourceResponse$inboundSchema` instead. */
113
+ export const inboundSchema =
114
+ GetPlanningApplicationsBySourceResponse$inboundSchema;
115
+ /** @deprecated use `GetPlanningApplicationsBySourceResponse$outboundSchema` instead. */
116
+ export const outboundSchema =
117
+ GetPlanningApplicationsBySourceResponse$outboundSchema;
118
+ /** @deprecated use `GetPlanningApplicationsBySourceResponse$Outbound` instead. */
119
+ export type Outbound = GetPlanningApplicationsBySourceResponse$Outbound;
120
+ }
121
+
122
+ export function getPlanningApplicationsBySourceResponseToJSON(
123
+ getPlanningApplicationsBySourceResponse:
124
+ GetPlanningApplicationsBySourceResponse,
125
+ ): string {
126
+ return JSON.stringify(
127
+ GetPlanningApplicationsBySourceResponse$outboundSchema.parse(
128
+ getPlanningApplicationsBySourceResponse,
129
+ ),
130
+ );
131
+ }
132
+
133
+ export function getPlanningApplicationsBySourceResponseFromJSON(
134
+ jsonString: string,
135
+ ): SafeParseResult<
136
+ GetPlanningApplicationsBySourceResponse,
137
+ SDKValidationError
138
+ > {
139
+ return safeParse(
140
+ jsonString,
141
+ (x) =>
142
+ GetPlanningApplicationsBySourceResponse$inboundSchema.parse(
143
+ JSON.parse(x),
144
+ ),
145
+ `Failed to parse 'GetPlanningApplicationsBySourceResponse' from JSON`,
146
+ );
147
+ }
@@ -0,0 +1,151 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { safeParse } from "../../../lib/schemas.js";
7
+ import { Result as SafeParseResult } from "../../types/fp.js";
8
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
9
+ import * as shared from "../shared/index.js";
10
+
11
+ export type GetPropertiesRequest = {
12
+ /**
13
+ * Comma-separated list of attributes to include
14
+ */
15
+ attributes?: string | undefined;
16
+ /**
17
+ * Maximum number of results to return
18
+ */
19
+ limit?: string | undefined;
20
+ /**
21
+ * Number of results to skip
22
+ */
23
+ offset?: string | undefined;
24
+ /**
25
+ * Comma-separated list of property IDs
26
+ */
27
+ propertyIds: string;
28
+ };
29
+
30
+ export type GetPropertiesResponse =
31
+ | shared.PropertyListResponse
32
+ | shared.ErrorResponse;
33
+
34
+ /** @internal */
35
+ export const GetPropertiesRequest$inboundSchema: z.ZodType<
36
+ GetPropertiesRequest,
37
+ z.ZodTypeDef,
38
+ unknown
39
+ > = z.object({
40
+ attributes: z.string().optional(),
41
+ limit: z.string().optional(),
42
+ offset: z.string().optional(),
43
+ propertyIds: z.string(),
44
+ });
45
+
46
+ /** @internal */
47
+ export type GetPropertiesRequest$Outbound = {
48
+ attributes?: string | undefined;
49
+ limit?: string | undefined;
50
+ offset?: string | undefined;
51
+ propertyIds: string;
52
+ };
53
+
54
+ /** @internal */
55
+ export const GetPropertiesRequest$outboundSchema: z.ZodType<
56
+ GetPropertiesRequest$Outbound,
57
+ z.ZodTypeDef,
58
+ GetPropertiesRequest
59
+ > = z.object({
60
+ attributes: z.string().optional(),
61
+ limit: z.string().optional(),
62
+ offset: z.string().optional(),
63
+ propertyIds: z.string(),
64
+ });
65
+
66
+ /**
67
+ * @internal
68
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
69
+ */
70
+ export namespace GetPropertiesRequest$ {
71
+ /** @deprecated use `GetPropertiesRequest$inboundSchema` instead. */
72
+ export const inboundSchema = GetPropertiesRequest$inboundSchema;
73
+ /** @deprecated use `GetPropertiesRequest$outboundSchema` instead. */
74
+ export const outboundSchema = GetPropertiesRequest$outboundSchema;
75
+ /** @deprecated use `GetPropertiesRequest$Outbound` instead. */
76
+ export type Outbound = GetPropertiesRequest$Outbound;
77
+ }
78
+
79
+ export function getPropertiesRequestToJSON(
80
+ getPropertiesRequest: GetPropertiesRequest,
81
+ ): string {
82
+ return JSON.stringify(
83
+ GetPropertiesRequest$outboundSchema.parse(getPropertiesRequest),
84
+ );
85
+ }
86
+
87
+ export function getPropertiesRequestFromJSON(
88
+ jsonString: string,
89
+ ): SafeParseResult<GetPropertiesRequest, SDKValidationError> {
90
+ return safeParse(
91
+ jsonString,
92
+ (x) => GetPropertiesRequest$inboundSchema.parse(JSON.parse(x)),
93
+ `Failed to parse 'GetPropertiesRequest' from JSON`,
94
+ );
95
+ }
96
+
97
+ /** @internal */
98
+ export const GetPropertiesResponse$inboundSchema: z.ZodType<
99
+ GetPropertiesResponse,
100
+ z.ZodTypeDef,
101
+ unknown
102
+ > = z.union([
103
+ shared.PropertyListResponse$inboundSchema,
104
+ shared.ErrorResponse$inboundSchema,
105
+ ]);
106
+
107
+ /** @internal */
108
+ export type GetPropertiesResponse$Outbound =
109
+ | shared.PropertyListResponse$Outbound
110
+ | shared.ErrorResponse$Outbound;
111
+
112
+ /** @internal */
113
+ export const GetPropertiesResponse$outboundSchema: z.ZodType<
114
+ GetPropertiesResponse$Outbound,
115
+ z.ZodTypeDef,
116
+ GetPropertiesResponse
117
+ > = z.union([
118
+ shared.PropertyListResponse$outboundSchema,
119
+ shared.ErrorResponse$outboundSchema,
120
+ ]);
121
+
122
+ /**
123
+ * @internal
124
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
125
+ */
126
+ export namespace GetPropertiesResponse$ {
127
+ /** @deprecated use `GetPropertiesResponse$inboundSchema` instead. */
128
+ export const inboundSchema = GetPropertiesResponse$inboundSchema;
129
+ /** @deprecated use `GetPropertiesResponse$outboundSchema` instead. */
130
+ export const outboundSchema = GetPropertiesResponse$outboundSchema;
131
+ /** @deprecated use `GetPropertiesResponse$Outbound` instead. */
132
+ export type Outbound = GetPropertiesResponse$Outbound;
133
+ }
134
+
135
+ export function getPropertiesResponseToJSON(
136
+ getPropertiesResponse: GetPropertiesResponse,
137
+ ): string {
138
+ return JSON.stringify(
139
+ GetPropertiesResponse$outboundSchema.parse(getPropertiesResponse),
140
+ );
141
+ }
142
+
143
+ export function getPropertiesResponseFromJSON(
144
+ jsonString: string,
145
+ ): SafeParseResult<GetPropertiesResponse, SDKValidationError> {
146
+ return safeParse(
147
+ jsonString,
148
+ (x) => GetPropertiesResponse$inboundSchema.parse(JSON.parse(x)),
149
+ `Failed to parse 'GetPropertiesResponse' from JSON`,
150
+ );
151
+ }