@vepler/sdk 0.1.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 (697) hide show
  1. package/.claude/settings.local.json +14 -0
  2. package/FUNCTIONS.md +87 -0
  3. package/README.md +479 -0
  4. package/RUNTIMES.md +48 -0
  5. package/dist/commonjs/core.d.ts +10 -0
  6. package/dist/commonjs/core.d.ts.map +1 -0
  7. package/dist/commonjs/core.js +17 -0
  8. package/dist/commonjs/core.js.map +1 -0
  9. package/dist/commonjs/funcs/healthGetV1PlanningHealth.d.ts +17 -0
  10. package/dist/commonjs/funcs/healthGetV1PlanningHealth.d.ts.map +1 -0
  11. package/dist/commonjs/funcs/healthGetV1PlanningHealth.js +104 -0
  12. package/dist/commonjs/funcs/healthGetV1PlanningHealth.js.map +1 -0
  13. package/dist/commonjs/funcs/healthGetV1PropertyHealth.d.ts +17 -0
  14. package/dist/commonjs/funcs/healthGetV1PropertyHealth.d.ts.map +1 -0
  15. package/dist/commonjs/funcs/healthGetV1PropertyHealth.js +104 -0
  16. package/dist/commonjs/funcs/healthGetV1PropertyHealth.js.map +1 -0
  17. package/dist/commonjs/funcs/planningGetV1PlanningApplicationIds.d.ts +17 -0
  18. package/dist/commonjs/funcs/planningGetV1PlanningApplicationIds.d.ts.map +1 -0
  19. package/dist/commonjs/funcs/planningGetV1PlanningApplicationIds.js +119 -0
  20. package/dist/commonjs/funcs/planningGetV1PlanningApplicationIds.js.map +1 -0
  21. package/dist/commonjs/funcs/planningGetV1PlanningSourcesSourceIds.d.ts +17 -0
  22. package/dist/commonjs/funcs/planningGetV1PlanningSourcesSourceIds.d.ts.map +1 -0
  23. package/dist/commonjs/funcs/planningGetV1PlanningSourcesSourceIds.js +119 -0
  24. package/dist/commonjs/funcs/planningGetV1PlanningSourcesSourceIds.js.map +1 -0
  25. package/dist/commonjs/funcs/planningPostV1PlanningQuery.d.ts +18 -0
  26. package/dist/commonjs/funcs/planningPostV1PlanningQuery.d.ts.map +1 -0
  27. package/dist/commonjs/funcs/planningPostV1PlanningQuery.js +117 -0
  28. package/dist/commonjs/funcs/planningPostV1PlanningQuery.js.map +1 -0
  29. package/dist/commonjs/funcs/propertyGetV1PropertyLocationIds.d.ts +17 -0
  30. package/dist/commonjs/funcs/propertyGetV1PropertyLocationIds.d.ts.map +1 -0
  31. package/dist/commonjs/funcs/propertyGetV1PropertyLocationIds.js +125 -0
  32. package/dist/commonjs/funcs/propertyGetV1PropertyLocationIds.js.map +1 -0
  33. package/dist/commonjs/funcs/propertyGetV1PropertyPropertyIdPropertyIds.d.ts +17 -0
  34. package/dist/commonjs/funcs/propertyGetV1PropertyPropertyIdPropertyIds.d.ts.map +1 -0
  35. package/dist/commonjs/funcs/propertyGetV1PropertyPropertyIdPropertyIds.js +125 -0
  36. package/dist/commonjs/funcs/propertyGetV1PropertyPropertyIdPropertyIds.js.map +1 -0
  37. package/dist/commonjs/funcs/propertyGetV1PropertySourcesSourceIds.d.ts +17 -0
  38. package/dist/commonjs/funcs/propertyGetV1PropertySourcesSourceIds.d.ts.map +1 -0
  39. package/dist/commonjs/funcs/propertyGetV1PropertySourcesSourceIds.js +125 -0
  40. package/dist/commonjs/funcs/propertyGetV1PropertySourcesSourceIds.js.map +1 -0
  41. package/dist/commonjs/funcs/propertyPostV1PropertyPropertiesBySlugs.d.ts +18 -0
  42. package/dist/commonjs/funcs/propertyPostV1PropertyPropertiesBySlugs.d.ts.map +1 -0
  43. package/dist/commonjs/funcs/propertyPostV1PropertyPropertiesBySlugs.js +117 -0
  44. package/dist/commonjs/funcs/propertyPostV1PropertyPropertiesBySlugs.js.map +1 -0
  45. package/dist/commonjs/funcs/propertyPostV1PropertyQuery.d.ts +18 -0
  46. package/dist/commonjs/funcs/propertyPostV1PropertyQuery.d.ts.map +1 -0
  47. package/dist/commonjs/funcs/propertyPostV1PropertyQuery.js +117 -0
  48. package/dist/commonjs/funcs/propertyPostV1PropertyQuery.js.map +1 -0
  49. package/dist/commonjs/hooks/hooks.d.ts +24 -0
  50. package/dist/commonjs/hooks/hooks.d.ts.map +1 -0
  51. package/dist/commonjs/hooks/hooks.js +84 -0
  52. package/dist/commonjs/hooks/hooks.js.map +1 -0
  53. package/dist/commonjs/hooks/index.d.ts +3 -0
  54. package/dist/commonjs/hooks/index.d.ts.map +1 -0
  55. package/dist/commonjs/hooks/index.js +22 -0
  56. package/dist/commonjs/hooks/index.js.map +1 -0
  57. package/dist/commonjs/hooks/registration.d.ts +3 -0
  58. package/dist/commonjs/hooks/registration.d.ts.map +1 -0
  59. package/dist/commonjs/hooks/registration.js +15 -0
  60. package/dist/commonjs/hooks/registration.js.map +1 -0
  61. package/dist/commonjs/hooks/types.d.ts +80 -0
  62. package/dist/commonjs/hooks/types.d.ts.map +1 -0
  63. package/dist/commonjs/hooks/types.js +6 -0
  64. package/dist/commonjs/hooks/types.js.map +1 -0
  65. package/dist/commonjs/index.d.ts +6 -0
  66. package/dist/commonjs/index.d.ts.map +1 -0
  67. package/dist/commonjs/index.js +48 -0
  68. package/dist/commonjs/index.js.map +1 -0
  69. package/dist/commonjs/lib/base64.d.ts +10 -0
  70. package/dist/commonjs/lib/base64.d.ts.map +1 -0
  71. package/dist/commonjs/lib/base64.js +71 -0
  72. package/dist/commonjs/lib/base64.js.map +1 -0
  73. package/dist/commonjs/lib/config.d.ts +38 -0
  74. package/dist/commonjs/lib/config.d.ts.map +1 -0
  75. package/dist/commonjs/lib/config.js +38 -0
  76. package/dist/commonjs/lib/config.js.map +1 -0
  77. package/dist/commonjs/lib/dlv.d.ts +14 -0
  78. package/dist/commonjs/lib/dlv.d.ts.map +1 -0
  79. package/dist/commonjs/lib/dlv.js +49 -0
  80. package/dist/commonjs/lib/dlv.js.map +1 -0
  81. package/dist/commonjs/lib/encodings.d.ts +52 -0
  82. package/dist/commonjs/lib/encodings.d.ts.map +1 -0
  83. package/dist/commonjs/lib/encodings.js +368 -0
  84. package/dist/commonjs/lib/encodings.js.map +1 -0
  85. package/dist/commonjs/lib/files.d.ts +13 -0
  86. package/dist/commonjs/lib/files.d.ts.map +1 -0
  87. package/dist/commonjs/lib/files.js +77 -0
  88. package/dist/commonjs/lib/files.js.map +1 -0
  89. package/dist/commonjs/lib/http.d.ts +67 -0
  90. package/dist/commonjs/lib/http.d.ts.map +1 -0
  91. package/dist/commonjs/lib/http.js +217 -0
  92. package/dist/commonjs/lib/http.js.map +1 -0
  93. package/dist/commonjs/lib/is-plain-object.d.ts +2 -0
  94. package/dist/commonjs/lib/is-plain-object.d.ts.map +1 -0
  95. package/dist/commonjs/lib/is-plain-object.js +41 -0
  96. package/dist/commonjs/lib/is-plain-object.js.map +1 -0
  97. package/dist/commonjs/lib/logger.d.ts +6 -0
  98. package/dist/commonjs/lib/logger.d.ts.map +1 -0
  99. package/dist/commonjs/lib/logger.js +6 -0
  100. package/dist/commonjs/lib/logger.js.map +1 -0
  101. package/dist/commonjs/lib/matchers.d.ts +59 -0
  102. package/dist/commonjs/lib/matchers.d.ts.map +1 -0
  103. package/dist/commonjs/lib/matchers.js +218 -0
  104. package/dist/commonjs/lib/matchers.js.map +1 -0
  105. package/dist/commonjs/lib/primitives.d.ts +26 -0
  106. package/dist/commonjs/lib/primitives.d.ts.map +1 -0
  107. package/dist/commonjs/lib/primitives.js +111 -0
  108. package/dist/commonjs/lib/primitives.js.map +1 -0
  109. package/dist/commonjs/lib/retries.d.ts +38 -0
  110. package/dist/commonjs/lib/retries.d.ts.map +1 -0
  111. package/dist/commonjs/lib/retries.js +153 -0
  112. package/dist/commonjs/lib/retries.js.map +1 -0
  113. package/dist/commonjs/lib/schemas.d.ts +19 -0
  114. package/dist/commonjs/lib/schemas.d.ts.map +1 -0
  115. package/dist/commonjs/lib/schemas.js +62 -0
  116. package/dist/commonjs/lib/schemas.js.map +1 -0
  117. package/dist/commonjs/lib/sdks.d.ts +63 -0
  118. package/dist/commonjs/lib/sdks.d.ts.map +1 -0
  119. package/dist/commonjs/lib/sdks.js +270 -0
  120. package/dist/commonjs/lib/sdks.js.map +1 -0
  121. package/dist/commonjs/lib/security.d.ts +83 -0
  122. package/dist/commonjs/lib/security.d.ts.map +1 -0
  123. package/dist/commonjs/lib/security.js +143 -0
  124. package/dist/commonjs/lib/security.js.map +1 -0
  125. package/dist/commonjs/lib/url.d.ts +5 -0
  126. package/dist/commonjs/lib/url.d.ts.map +1 -0
  127. package/dist/commonjs/lib/url.js +25 -0
  128. package/dist/commonjs/lib/url.js.map +1 -0
  129. package/dist/commonjs/package.json +3 -0
  130. package/dist/commonjs/sdk/health.d.ts +19 -0
  131. package/dist/commonjs/sdk/health.d.ts.map +1 -0
  132. package/dist/commonjs/sdk/health.js +32 -0
  133. package/dist/commonjs/sdk/health.js.map +1 -0
  134. package/dist/commonjs/sdk/index.d.ts +2 -0
  135. package/dist/commonjs/sdk/index.d.ts.map +1 -0
  136. package/dist/commonjs/sdk/index.js +21 -0
  137. package/dist/commonjs/sdk/index.js.map +1 -0
  138. package/dist/commonjs/sdk/models/errors/httpclienterrors.d.ts +44 -0
  139. package/dist/commonjs/sdk/models/errors/httpclienterrors.d.ts.map +1 -0
  140. package/dist/commonjs/sdk/models/errors/httpclienterrors.js +78 -0
  141. package/dist/commonjs/sdk/models/errors/httpclienterrors.js.map +1 -0
  142. package/dist/commonjs/sdk/models/errors/index.d.ts +5 -0
  143. package/dist/commonjs/sdk/models/errors/index.d.ts.map +1 -0
  144. package/dist/commonjs/sdk/models/errors/index.js +24 -0
  145. package/dist/commonjs/sdk/models/errors/index.js.map +1 -0
  146. package/dist/commonjs/sdk/models/errors/responsevalidationerror.d.ts +26 -0
  147. package/dist/commonjs/sdk/models/errors/responsevalidationerror.d.ts.map +1 -0
  148. package/dist/commonjs/sdk/models/errors/responsevalidationerror.js +66 -0
  149. package/dist/commonjs/sdk/models/errors/responsevalidationerror.js.map +1 -0
  150. package/dist/commonjs/sdk/models/errors/sdkbaseerror.d.ts +19 -0
  151. package/dist/commonjs/sdk/models/errors/sdkbaseerror.d.ts.map +1 -0
  152. package/dist/commonjs/sdk/models/errors/sdkbaseerror.js +20 -0
  153. package/dist/commonjs/sdk/models/errors/sdkbaseerror.js.map +1 -0
  154. package/dist/commonjs/sdk/models/errors/sdkerror.d.ts +10 -0
  155. package/dist/commonjs/sdk/models/errors/sdkerror.d.ts.map +1 -0
  156. package/dist/commonjs/sdk/models/errors/sdkerror.js +34 -0
  157. package/dist/commonjs/sdk/models/errors/sdkerror.js.map +1 -0
  158. package/dist/commonjs/sdk/models/errors/sdkvalidationerror.d.ts +21 -0
  159. package/dist/commonjs/sdk/models/errors/sdkvalidationerror.d.ts.map +1 -0
  160. package/dist/commonjs/sdk/models/errors/sdkvalidationerror.js +129 -0
  161. package/dist/commonjs/sdk/models/errors/sdkvalidationerror.js.map +1 -0
  162. package/dist/commonjs/sdk/models/operations/getv1planningapplicationids.d.ts +54 -0
  163. package/dist/commonjs/sdk/models/operations/getv1planningapplicationids.d.ts.map +1 -0
  164. package/dist/commonjs/sdk/models/operations/getv1planningapplicationids.js +99 -0
  165. package/dist/commonjs/sdk/models/operations/getv1planningapplicationids.js.map +1 -0
  166. package/dist/commonjs/sdk/models/operations/getv1planningsourcessourceids.d.ts +54 -0
  167. package/dist/commonjs/sdk/models/operations/getv1planningsourcessourceids.d.ts.map +1 -0
  168. package/dist/commonjs/sdk/models/operations/getv1planningsourcessourceids.js +99 -0
  169. package/dist/commonjs/sdk/models/operations/getv1planningsourcessourceids.js.map +1 -0
  170. package/dist/commonjs/sdk/models/operations/getv1propertylocationids.d.ts +69 -0
  171. package/dist/commonjs/sdk/models/operations/getv1propertylocationids.d.ts.map +1 -0
  172. package/dist/commonjs/sdk/models/operations/getv1propertylocationids.js +105 -0
  173. package/dist/commonjs/sdk/models/operations/getv1propertylocationids.js.map +1 -0
  174. package/dist/commonjs/sdk/models/operations/getv1propertypropertyidpropertyids.d.ts +69 -0
  175. package/dist/commonjs/sdk/models/operations/getv1propertypropertyidpropertyids.d.ts.map +1 -0
  176. package/dist/commonjs/sdk/models/operations/getv1propertypropertyidpropertyids.js +105 -0
  177. package/dist/commonjs/sdk/models/operations/getv1propertypropertyidpropertyids.js.map +1 -0
  178. package/dist/commonjs/sdk/models/operations/getv1propertysourcessourceids.d.ts +69 -0
  179. package/dist/commonjs/sdk/models/operations/getv1propertysourcessourceids.d.ts.map +1 -0
  180. package/dist/commonjs/sdk/models/operations/getv1propertysourcessourceids.js +105 -0
  181. package/dist/commonjs/sdk/models/operations/getv1propertysourcessourceids.js.map +1 -0
  182. package/dist/commonjs/sdk/models/operations/index.d.ts +9 -0
  183. package/dist/commonjs/sdk/models/operations/index.d.ts.map +1 -0
  184. package/dist/commonjs/sdk/models/operations/index.js +28 -0
  185. package/dist/commonjs/sdk/models/operations/index.js.map +1 -0
  186. package/dist/commonjs/sdk/models/operations/postv1planningquery.d.ts +26 -0
  187. package/dist/commonjs/sdk/models/operations/postv1planningquery.d.ts.map +1 -0
  188. package/dist/commonjs/sdk/models/operations/postv1planningquery.js +72 -0
  189. package/dist/commonjs/sdk/models/operations/postv1planningquery.js.map +1 -0
  190. package/dist/commonjs/sdk/models/operations/postv1propertypropertiesbyslugs.d.ts +26 -0
  191. package/dist/commonjs/sdk/models/operations/postv1propertypropertiesbyslugs.d.ts.map +1 -0
  192. package/dist/commonjs/sdk/models/operations/postv1propertypropertiesbyslugs.js +72 -0
  193. package/dist/commonjs/sdk/models/operations/postv1propertypropertiesbyslugs.js.map +1 -0
  194. package/dist/commonjs/sdk/models/operations/postv1propertyquery.d.ts +26 -0
  195. package/dist/commonjs/sdk/models/operations/postv1propertyquery.d.ts.map +1 -0
  196. package/dist/commonjs/sdk/models/operations/postv1propertyquery.js +72 -0
  197. package/dist/commonjs/sdk/models/operations/postv1propertyquery.js.map +1 -0
  198. package/dist/commonjs/sdk/models/shared/areafilter.d.ts +69 -0
  199. package/dist/commonjs/sdk/models/shared/areafilter.d.ts.map +1 -0
  200. package/dist/commonjs/sdk/models/shared/areafilter.js +97 -0
  201. package/dist/commonjs/sdk/models/shared/areafilter.js.map +1 -0
  202. package/dist/commonjs/sdk/models/shared/errorresponse.d.ts +35 -0
  203. package/dist/commonjs/sdk/models/shared/errorresponse.d.ts.map +1 -0
  204. package/dist/commonjs/sdk/models/shared/errorresponse.js +75 -0
  205. package/dist/commonjs/sdk/models/shared/errorresponse.js.map +1 -0
  206. package/dist/commonjs/sdk/models/shared/healthresponse.d.ts +35 -0
  207. package/dist/commonjs/sdk/models/shared/healthresponse.d.ts.map +1 -0
  208. package/dist/commonjs/sdk/models/shared/healthresponse.js +75 -0
  209. package/dist/commonjs/sdk/models/shared/healthresponse.js.map +1 -0
  210. package/dist/commonjs/sdk/models/shared/index.d.ts +16 -0
  211. package/dist/commonjs/sdk/models/shared/index.d.ts.map +1 -0
  212. package/dist/commonjs/sdk/models/shared/index.js +35 -0
  213. package/dist/commonjs/sdk/models/shared/index.js.map +1 -0
  214. package/dist/commonjs/sdk/models/shared/planningapplication.d.ts +184 -0
  215. package/dist/commonjs/sdk/models/shared/planningapplication.d.ts.map +1 -0
  216. package/dist/commonjs/sdk/models/shared/planningapplication.js +186 -0
  217. package/dist/commonjs/sdk/models/shared/planningapplication.js.map +1 -0
  218. package/dist/commonjs/sdk/models/shared/planninglistresponse.d.ts +38 -0
  219. package/dist/commonjs/sdk/models/shared/planninglistresponse.d.ts.map +1 -0
  220. package/dist/commonjs/sdk/models/shared/planninglistresponse.js +78 -0
  221. package/dist/commonjs/sdk/models/shared/planninglistresponse.js.map +1 -0
  222. package/dist/commonjs/sdk/models/shared/planningqueryfilters.d.ts +82 -0
  223. package/dist/commonjs/sdk/models/shared/planningqueryfilters.d.ts.map +1 -0
  224. package/dist/commonjs/sdk/models/shared/planningqueryfilters.js +89 -0
  225. package/dist/commonjs/sdk/models/shared/planningqueryfilters.js.map +1 -0
  226. package/dist/commonjs/sdk/models/shared/planningqueryrequest.d.ts +98 -0
  227. package/dist/commonjs/sdk/models/shared/planningqueryrequest.d.ts.map +1 -0
  228. package/dist/commonjs/sdk/models/shared/planningqueryrequest.js +121 -0
  229. package/dist/commonjs/sdk/models/shared/planningqueryrequest.js.map +1 -0
  230. package/dist/commonjs/sdk/models/shared/pricingdata.d.ts +35 -0
  231. package/dist/commonjs/sdk/models/shared/pricingdata.d.ts.map +1 -0
  232. package/dist/commonjs/sdk/models/shared/pricingdata.js +75 -0
  233. package/dist/commonjs/sdk/models/shared/pricingdata.js.map +1 -0
  234. package/dist/commonjs/sdk/models/shared/propertyaddress.d.ts +43 -0
  235. package/dist/commonjs/sdk/models/shared/propertyaddress.d.ts.map +1 -0
  236. package/dist/commonjs/sdk/models/shared/propertyaddress.js +83 -0
  237. package/dist/commonjs/sdk/models/shared/propertyaddress.js.map +1 -0
  238. package/dist/commonjs/sdk/models/shared/propertybyslugsrequest.d.ts +47 -0
  239. package/dist/commonjs/sdk/models/shared/propertybyslugsrequest.d.ts.map +1 -0
  240. package/dist/commonjs/sdk/models/shared/propertybyslugsrequest.js +75 -0
  241. package/dist/commonjs/sdk/models/shared/propertybyslugsrequest.js.map +1 -0
  242. package/dist/commonjs/sdk/models/shared/propertydata.d.ts +95 -0
  243. package/dist/commonjs/sdk/models/shared/propertydata.d.ts.map +1 -0
  244. package/dist/commonjs/sdk/models/shared/propertydata.js +139 -0
  245. package/dist/commonjs/sdk/models/shared/propertydata.js.map +1 -0
  246. package/dist/commonjs/sdk/models/shared/propertyfilters.d.ts +41 -0
  247. package/dist/commonjs/sdk/models/shared/propertyfilters.d.ts.map +1 -0
  248. package/dist/commonjs/sdk/models/shared/propertyfilters.js +81 -0
  249. package/dist/commonjs/sdk/models/shared/propertyfilters.js.map +1 -0
  250. package/dist/commonjs/sdk/models/shared/propertylistresponse.d.ts +36 -0
  251. package/dist/commonjs/sdk/models/shared/propertylistresponse.d.ts.map +1 -0
  252. package/dist/commonjs/sdk/models/shared/propertylistresponse.js +76 -0
  253. package/dist/commonjs/sdk/models/shared/propertylistresponse.js.map +1 -0
  254. package/dist/commonjs/sdk/models/shared/propertyqueryrequest.d.ts +39 -0
  255. package/dist/commonjs/sdk/models/shared/propertyqueryrequest.d.ts.map +1 -0
  256. package/dist/commonjs/sdk/models/shared/propertyqueryrequest.js +79 -0
  257. package/dist/commonjs/sdk/models/shared/propertyqueryrequest.js.map +1 -0
  258. package/dist/commonjs/sdk/models/shared/security.d.ts +29 -0
  259. package/dist/commonjs/sdk/models/shared/security.d.ts.map +1 -0
  260. package/dist/commonjs/sdk/models/shared/security.js +78 -0
  261. package/dist/commonjs/sdk/models/shared/security.js.map +1 -0
  262. package/dist/commonjs/sdk/planning.d.ts +27 -0
  263. package/dist/commonjs/sdk/planning.d.ts.map +1 -0
  264. package/dist/commonjs/sdk/planning.js +42 -0
  265. package/dist/commonjs/sdk/planning.js.map +1 -0
  266. package/dist/commonjs/sdk/property.d.ts +41 -0
  267. package/dist/commonjs/sdk/property.d.ts.map +1 -0
  268. package/dist/commonjs/sdk/property.js +62 -0
  269. package/dist/commonjs/sdk/property.js.map +1 -0
  270. package/dist/commonjs/sdk/sdk.d.ts +13 -0
  271. package/dist/commonjs/sdk/sdk.d.ts.map +1 -0
  272. package/dist/commonjs/sdk/sdk.js +23 -0
  273. package/dist/commonjs/sdk/sdk.js.map +1 -0
  274. package/dist/commonjs/sdk/types/async.d.ts +23 -0
  275. package/dist/commonjs/sdk/types/async.d.ts.map +1 -0
  276. package/dist/commonjs/sdk/types/async.js +44 -0
  277. package/dist/commonjs/sdk/types/async.js.map +1 -0
  278. package/dist/commonjs/sdk/types/blobs.d.ts +4 -0
  279. package/dist/commonjs/sdk/types/blobs.d.ts.map +1 -0
  280. package/dist/commonjs/sdk/types/blobs.js +62 -0
  281. package/dist/commonjs/sdk/types/blobs.js.map +1 -0
  282. package/dist/commonjs/sdk/types/constdatetime.d.ts +3 -0
  283. package/dist/commonjs/sdk/types/constdatetime.d.ts.map +1 -0
  284. package/dist/commonjs/sdk/types/constdatetime.js +46 -0
  285. package/dist/commonjs/sdk/types/constdatetime.js.map +1 -0
  286. package/dist/commonjs/sdk/types/enums.d.ts +12 -0
  287. package/dist/commonjs/sdk/types/enums.d.ts.map +1 -0
  288. package/dist/commonjs/sdk/types/enums.js +10 -0
  289. package/dist/commonjs/sdk/types/enums.js.map +1 -0
  290. package/dist/commonjs/sdk/types/fp.d.ts +31 -0
  291. package/dist/commonjs/sdk/types/fp.d.ts.map +1 -0
  292. package/dist/commonjs/sdk/types/fp.js +37 -0
  293. package/dist/commonjs/sdk/types/fp.js.map +1 -0
  294. package/dist/commonjs/sdk/types/index.d.ts +8 -0
  295. package/dist/commonjs/sdk/types/index.d.ts.map +1 -0
  296. package/dist/commonjs/sdk/types/index.js +16 -0
  297. package/dist/commonjs/sdk/types/index.js.map +1 -0
  298. package/dist/commonjs/sdk/types/operations.d.ts +27 -0
  299. package/dist/commonjs/sdk/types/operations.d.ts.map +1 -0
  300. package/dist/commonjs/sdk/types/operations.js +83 -0
  301. package/dist/commonjs/sdk/types/operations.js.map +1 -0
  302. package/dist/commonjs/sdk/types/rfcdate.d.ts +21 -0
  303. package/dist/commonjs/sdk/types/rfcdate.d.ts.map +1 -0
  304. package/dist/commonjs/sdk/types/rfcdate.js +46 -0
  305. package/dist/commonjs/sdk/types/rfcdate.js.map +1 -0
  306. package/dist/commonjs/sdk/types/streams.d.ts +2 -0
  307. package/dist/commonjs/sdk/types/streams.d.ts.map +1 -0
  308. package/dist/commonjs/sdk/types/streams.js +18 -0
  309. package/dist/commonjs/sdk/types/streams.js.map +1 -0
  310. package/dist/esm/core.d.ts +10 -0
  311. package/dist/esm/core.d.ts.map +1 -0
  312. package/dist/esm/core.js +13 -0
  313. package/dist/esm/core.js.map +1 -0
  314. package/dist/esm/funcs/healthGetV1PlanningHealth.d.ts +17 -0
  315. package/dist/esm/funcs/healthGetV1PlanningHealth.d.ts.map +1 -0
  316. package/dist/esm/funcs/healthGetV1PlanningHealth.js +68 -0
  317. package/dist/esm/funcs/healthGetV1PlanningHealth.js.map +1 -0
  318. package/dist/esm/funcs/healthGetV1PropertyHealth.d.ts +17 -0
  319. package/dist/esm/funcs/healthGetV1PropertyHealth.d.ts.map +1 -0
  320. package/dist/esm/funcs/healthGetV1PropertyHealth.js +68 -0
  321. package/dist/esm/funcs/healthGetV1PropertyHealth.js.map +1 -0
  322. package/dist/esm/funcs/planningGetV1PlanningApplicationIds.d.ts +17 -0
  323. package/dist/esm/funcs/planningGetV1PlanningApplicationIds.d.ts.map +1 -0
  324. package/dist/esm/funcs/planningGetV1PlanningApplicationIds.js +83 -0
  325. package/dist/esm/funcs/planningGetV1PlanningApplicationIds.js.map +1 -0
  326. package/dist/esm/funcs/planningGetV1PlanningSourcesSourceIds.d.ts +17 -0
  327. package/dist/esm/funcs/planningGetV1PlanningSourcesSourceIds.d.ts.map +1 -0
  328. package/dist/esm/funcs/planningGetV1PlanningSourcesSourceIds.js +83 -0
  329. package/dist/esm/funcs/planningGetV1PlanningSourcesSourceIds.js.map +1 -0
  330. package/dist/esm/funcs/planningPostV1PlanningQuery.d.ts +18 -0
  331. package/dist/esm/funcs/planningPostV1PlanningQuery.d.ts.map +1 -0
  332. package/dist/esm/funcs/planningPostV1PlanningQuery.js +81 -0
  333. package/dist/esm/funcs/planningPostV1PlanningQuery.js.map +1 -0
  334. package/dist/esm/funcs/propertyGetV1PropertyLocationIds.d.ts +17 -0
  335. package/dist/esm/funcs/propertyGetV1PropertyLocationIds.d.ts.map +1 -0
  336. package/dist/esm/funcs/propertyGetV1PropertyLocationIds.js +89 -0
  337. package/dist/esm/funcs/propertyGetV1PropertyLocationIds.js.map +1 -0
  338. package/dist/esm/funcs/propertyGetV1PropertyPropertyIdPropertyIds.d.ts +17 -0
  339. package/dist/esm/funcs/propertyGetV1PropertyPropertyIdPropertyIds.d.ts.map +1 -0
  340. package/dist/esm/funcs/propertyGetV1PropertyPropertyIdPropertyIds.js +89 -0
  341. package/dist/esm/funcs/propertyGetV1PropertyPropertyIdPropertyIds.js.map +1 -0
  342. package/dist/esm/funcs/propertyGetV1PropertySourcesSourceIds.d.ts +17 -0
  343. package/dist/esm/funcs/propertyGetV1PropertySourcesSourceIds.d.ts.map +1 -0
  344. package/dist/esm/funcs/propertyGetV1PropertySourcesSourceIds.js +89 -0
  345. package/dist/esm/funcs/propertyGetV1PropertySourcesSourceIds.js.map +1 -0
  346. package/dist/esm/funcs/propertyPostV1PropertyPropertiesBySlugs.d.ts +18 -0
  347. package/dist/esm/funcs/propertyPostV1PropertyPropertiesBySlugs.d.ts.map +1 -0
  348. package/dist/esm/funcs/propertyPostV1PropertyPropertiesBySlugs.js +81 -0
  349. package/dist/esm/funcs/propertyPostV1PropertyPropertiesBySlugs.js.map +1 -0
  350. package/dist/esm/funcs/propertyPostV1PropertyQuery.d.ts +18 -0
  351. package/dist/esm/funcs/propertyPostV1PropertyQuery.d.ts.map +1 -0
  352. package/dist/esm/funcs/propertyPostV1PropertyQuery.js +81 -0
  353. package/dist/esm/funcs/propertyPostV1PropertyQuery.js.map +1 -0
  354. package/dist/esm/hooks/hooks.d.ts +24 -0
  355. package/dist/esm/hooks/hooks.d.ts.map +1 -0
  356. package/dist/esm/hooks/hooks.js +80 -0
  357. package/dist/esm/hooks/hooks.js.map +1 -0
  358. package/dist/esm/hooks/index.d.ts +3 -0
  359. package/dist/esm/hooks/index.d.ts.map +1 -0
  360. package/dist/esm/hooks/index.js +6 -0
  361. package/dist/esm/hooks/index.js.map +1 -0
  362. package/dist/esm/hooks/registration.d.ts +3 -0
  363. package/dist/esm/hooks/registration.d.ts.map +1 -0
  364. package/dist/esm/hooks/registration.js +12 -0
  365. package/dist/esm/hooks/registration.js.map +1 -0
  366. package/dist/esm/hooks/types.d.ts +80 -0
  367. package/dist/esm/hooks/types.d.ts.map +1 -0
  368. package/dist/esm/hooks/types.js +5 -0
  369. package/dist/esm/hooks/types.js.map +1 -0
  370. package/dist/esm/index.d.ts +6 -0
  371. package/dist/esm/index.d.ts.map +1 -0
  372. package/dist/esm/index.js +8 -0
  373. package/dist/esm/index.js.map +1 -0
  374. package/dist/esm/lib/base64.d.ts +10 -0
  375. package/dist/esm/lib/base64.d.ts.map +1 -0
  376. package/dist/esm/lib/base64.js +29 -0
  377. package/dist/esm/lib/base64.js.map +1 -0
  378. package/dist/esm/lib/config.d.ts +38 -0
  379. package/dist/esm/lib/config.d.ts.map +1 -0
  380. package/dist/esm/lib/config.js +34 -0
  381. package/dist/esm/lib/config.js.map +1 -0
  382. package/dist/esm/lib/dlv.d.ts +14 -0
  383. package/dist/esm/lib/dlv.d.ts.map +1 -0
  384. package/dist/esm/lib/dlv.js +46 -0
  385. package/dist/esm/lib/dlv.js.map +1 -0
  386. package/dist/esm/lib/encodings.d.ts +52 -0
  387. package/dist/esm/lib/encodings.d.ts.map +1 -0
  388. package/dist/esm/lib/encodings.js +354 -0
  389. package/dist/esm/lib/encodings.js.map +1 -0
  390. package/dist/esm/lib/files.d.ts +13 -0
  391. package/dist/esm/lib/files.d.ts.map +1 -0
  392. package/dist/esm/lib/files.js +73 -0
  393. package/dist/esm/lib/files.js.map +1 -0
  394. package/dist/esm/lib/http.d.ts +67 -0
  395. package/dist/esm/lib/http.d.ts.map +1 -0
  396. package/dist/esm/lib/http.js +207 -0
  397. package/dist/esm/lib/http.js.map +1 -0
  398. package/dist/esm/lib/is-plain-object.d.ts +2 -0
  399. package/dist/esm/lib/is-plain-object.d.ts.map +1 -0
  400. package/dist/esm/lib/is-plain-object.js +38 -0
  401. package/dist/esm/lib/is-plain-object.js.map +1 -0
  402. package/dist/esm/lib/logger.d.ts +6 -0
  403. package/dist/esm/lib/logger.d.ts.map +1 -0
  404. package/dist/esm/lib/logger.js +5 -0
  405. package/dist/esm/lib/logger.js.map +1 -0
  406. package/dist/esm/lib/matchers.d.ts +59 -0
  407. package/dist/esm/lib/matchers.d.ts.map +1 -0
  408. package/dist/esm/lib/matchers.js +199 -0
  409. package/dist/esm/lib/matchers.js.map +1 -0
  410. package/dist/esm/lib/primitives.d.ts +26 -0
  411. package/dist/esm/lib/primitives.d.ts.map +1 -0
  412. package/dist/esm/lib/primitives.js +103 -0
  413. package/dist/esm/lib/primitives.js.map +1 -0
  414. package/dist/esm/lib/retries.d.ts +38 -0
  415. package/dist/esm/lib/retries.d.ts.map +1 -0
  416. package/dist/esm/lib/retries.js +147 -0
  417. package/dist/esm/lib/retries.js.map +1 -0
  418. package/dist/esm/lib/schemas.d.ts +19 -0
  419. package/dist/esm/lib/schemas.d.ts.map +1 -0
  420. package/dist/esm/lib/schemas.js +57 -0
  421. package/dist/esm/lib/schemas.js.map +1 -0
  422. package/dist/esm/lib/sdks.d.ts +63 -0
  423. package/dist/esm/lib/sdks.d.ts.map +1 -0
  424. package/dist/esm/lib/sdks.js +266 -0
  425. package/dist/esm/lib/sdks.js.map +1 -0
  426. package/dist/esm/lib/security.d.ts +83 -0
  427. package/dist/esm/lib/security.d.ts.map +1 -0
  428. package/dist/esm/lib/security.js +136 -0
  429. package/dist/esm/lib/security.js.map +1 -0
  430. package/dist/esm/lib/url.d.ts +5 -0
  431. package/dist/esm/lib/url.d.ts.map +1 -0
  432. package/dist/esm/lib/url.js +22 -0
  433. package/dist/esm/lib/url.js.map +1 -0
  434. package/dist/esm/package.json +3 -0
  435. package/dist/esm/sdk/health.d.ts +19 -0
  436. package/dist/esm/sdk/health.d.ts.map +1 -0
  437. package/dist/esm/sdk/health.js +28 -0
  438. package/dist/esm/sdk/health.js.map +1 -0
  439. package/dist/esm/sdk/index.d.ts +2 -0
  440. package/dist/esm/sdk/index.d.ts.map +1 -0
  441. package/dist/esm/sdk/index.js +5 -0
  442. package/dist/esm/sdk/index.js.map +1 -0
  443. package/dist/esm/sdk/models/errors/httpclienterrors.d.ts +44 -0
  444. package/dist/esm/sdk/models/errors/httpclienterrors.d.ts.map +1 -0
  445. package/dist/esm/sdk/models/errors/httpclienterrors.js +69 -0
  446. package/dist/esm/sdk/models/errors/httpclienterrors.js.map +1 -0
  447. package/dist/esm/sdk/models/errors/index.d.ts +5 -0
  448. package/dist/esm/sdk/models/errors/index.d.ts.map +1 -0
  449. package/dist/esm/sdk/models/errors/index.js +8 -0
  450. package/dist/esm/sdk/models/errors/index.js.map +1 -0
  451. package/dist/esm/sdk/models/errors/responsevalidationerror.d.ts +26 -0
  452. package/dist/esm/sdk/models/errors/responsevalidationerror.d.ts.map +1 -0
  453. package/dist/esm/sdk/models/errors/responsevalidationerror.js +29 -0
  454. package/dist/esm/sdk/models/errors/responsevalidationerror.js.map +1 -0
  455. package/dist/esm/sdk/models/errors/sdkbaseerror.d.ts +19 -0
  456. package/dist/esm/sdk/models/errors/sdkbaseerror.d.ts.map +1 -0
  457. package/dist/esm/sdk/models/errors/sdkbaseerror.js +16 -0
  458. package/dist/esm/sdk/models/errors/sdkbaseerror.js.map +1 -0
  459. package/dist/esm/sdk/models/errors/sdkerror.d.ts +10 -0
  460. package/dist/esm/sdk/models/errors/sdkerror.d.ts.map +1 -0
  461. package/dist/esm/sdk/models/errors/sdkerror.js +30 -0
  462. package/dist/esm/sdk/models/errors/sdkerror.js.map +1 -0
  463. package/dist/esm/sdk/models/errors/sdkvalidationerror.d.ts +21 -0
  464. package/dist/esm/sdk/models/errors/sdkvalidationerror.d.ts.map +1 -0
  465. package/dist/esm/sdk/models/errors/sdkvalidationerror.js +91 -0
  466. package/dist/esm/sdk/models/errors/sdkvalidationerror.js.map +1 -0
  467. package/dist/esm/sdk/models/operations/getv1planningapplicationids.d.ts +54 -0
  468. package/dist/esm/sdk/models/operations/getv1planningapplicationids.d.ts.map +1 -0
  469. package/dist/esm/sdk/models/operations/getv1planningapplicationids.js +59 -0
  470. package/dist/esm/sdk/models/operations/getv1planningapplicationids.js.map +1 -0
  471. package/dist/esm/sdk/models/operations/getv1planningsourcessourceids.d.ts +54 -0
  472. package/dist/esm/sdk/models/operations/getv1planningsourcessourceids.d.ts.map +1 -0
  473. package/dist/esm/sdk/models/operations/getv1planningsourcessourceids.js +59 -0
  474. package/dist/esm/sdk/models/operations/getv1planningsourcessourceids.js.map +1 -0
  475. package/dist/esm/sdk/models/operations/getv1propertylocationids.d.ts +69 -0
  476. package/dist/esm/sdk/models/operations/getv1propertylocationids.d.ts.map +1 -0
  477. package/dist/esm/sdk/models/operations/getv1propertylocationids.js +65 -0
  478. package/dist/esm/sdk/models/operations/getv1propertylocationids.js.map +1 -0
  479. package/dist/esm/sdk/models/operations/getv1propertypropertyidpropertyids.d.ts +69 -0
  480. package/dist/esm/sdk/models/operations/getv1propertypropertyidpropertyids.d.ts.map +1 -0
  481. package/dist/esm/sdk/models/operations/getv1propertypropertyidpropertyids.js +65 -0
  482. package/dist/esm/sdk/models/operations/getv1propertypropertyidpropertyids.js.map +1 -0
  483. package/dist/esm/sdk/models/operations/getv1propertysourcessourceids.d.ts +69 -0
  484. package/dist/esm/sdk/models/operations/getv1propertysourcessourceids.d.ts.map +1 -0
  485. package/dist/esm/sdk/models/operations/getv1propertysourcessourceids.js +65 -0
  486. package/dist/esm/sdk/models/operations/getv1propertysourcessourceids.js.map +1 -0
  487. package/dist/esm/sdk/models/operations/index.d.ts +9 -0
  488. package/dist/esm/sdk/models/operations/index.d.ts.map +1 -0
  489. package/dist/esm/sdk/models/operations/index.js +12 -0
  490. package/dist/esm/sdk/models/operations/index.js.map +1 -0
  491. package/dist/esm/sdk/models/operations/postv1planningquery.d.ts +26 -0
  492. package/dist/esm/sdk/models/operations/postv1planningquery.d.ts.map +1 -0
  493. package/dist/esm/sdk/models/operations/postv1planningquery.js +34 -0
  494. package/dist/esm/sdk/models/operations/postv1planningquery.js.map +1 -0
  495. package/dist/esm/sdk/models/operations/postv1propertypropertiesbyslugs.d.ts +26 -0
  496. package/dist/esm/sdk/models/operations/postv1propertypropertiesbyslugs.d.ts.map +1 -0
  497. package/dist/esm/sdk/models/operations/postv1propertypropertiesbyslugs.js +34 -0
  498. package/dist/esm/sdk/models/operations/postv1propertypropertiesbyslugs.js.map +1 -0
  499. package/dist/esm/sdk/models/operations/postv1propertyquery.d.ts +26 -0
  500. package/dist/esm/sdk/models/operations/postv1propertyquery.d.ts.map +1 -0
  501. package/dist/esm/sdk/models/operations/postv1propertyquery.js +34 -0
  502. package/dist/esm/sdk/models/operations/postv1propertyquery.js.map +1 -0
  503. package/dist/esm/sdk/models/shared/areafilter.d.ts +69 -0
  504. package/dist/esm/sdk/models/shared/areafilter.d.ts.map +1 -0
  505. package/dist/esm/sdk/models/shared/areafilter.js +59 -0
  506. package/dist/esm/sdk/models/shared/areafilter.js.map +1 -0
  507. package/dist/esm/sdk/models/shared/errorresponse.d.ts +35 -0
  508. package/dist/esm/sdk/models/shared/errorresponse.d.ts.map +1 -0
  509. package/dist/esm/sdk/models/shared/errorresponse.js +37 -0
  510. package/dist/esm/sdk/models/shared/errorresponse.js.map +1 -0
  511. package/dist/esm/sdk/models/shared/healthresponse.d.ts +35 -0
  512. package/dist/esm/sdk/models/shared/healthresponse.d.ts.map +1 -0
  513. package/dist/esm/sdk/models/shared/healthresponse.js +37 -0
  514. package/dist/esm/sdk/models/shared/healthresponse.js.map +1 -0
  515. package/dist/esm/sdk/models/shared/index.d.ts +16 -0
  516. package/dist/esm/sdk/models/shared/index.d.ts.map +1 -0
  517. package/dist/esm/sdk/models/shared/index.js +19 -0
  518. package/dist/esm/sdk/models/shared/index.js.map +1 -0
  519. package/dist/esm/sdk/models/shared/planningapplication.d.ts +184 -0
  520. package/dist/esm/sdk/models/shared/planningapplication.d.ts.map +1 -0
  521. package/dist/esm/sdk/models/shared/planningapplication.js +146 -0
  522. package/dist/esm/sdk/models/shared/planningapplication.js.map +1 -0
  523. package/dist/esm/sdk/models/shared/planninglistresponse.d.ts +38 -0
  524. package/dist/esm/sdk/models/shared/planninglistresponse.d.ts.map +1 -0
  525. package/dist/esm/sdk/models/shared/planninglistresponse.js +40 -0
  526. package/dist/esm/sdk/models/shared/planninglistresponse.js.map +1 -0
  527. package/dist/esm/sdk/models/shared/planningqueryfilters.d.ts +82 -0
  528. package/dist/esm/sdk/models/shared/planningqueryfilters.d.ts.map +1 -0
  529. package/dist/esm/sdk/models/shared/planningqueryfilters.js +51 -0
  530. package/dist/esm/sdk/models/shared/planningqueryfilters.js.map +1 -0
  531. package/dist/esm/sdk/models/shared/planningqueryrequest.d.ts +98 -0
  532. package/dist/esm/sdk/models/shared/planningqueryrequest.d.ts.map +1 -0
  533. package/dist/esm/sdk/models/shared/planningqueryrequest.js +83 -0
  534. package/dist/esm/sdk/models/shared/planningqueryrequest.js.map +1 -0
  535. package/dist/esm/sdk/models/shared/pricingdata.d.ts +35 -0
  536. package/dist/esm/sdk/models/shared/pricingdata.d.ts.map +1 -0
  537. package/dist/esm/sdk/models/shared/pricingdata.js +37 -0
  538. package/dist/esm/sdk/models/shared/pricingdata.js.map +1 -0
  539. package/dist/esm/sdk/models/shared/propertyaddress.d.ts +43 -0
  540. package/dist/esm/sdk/models/shared/propertyaddress.d.ts.map +1 -0
  541. package/dist/esm/sdk/models/shared/propertyaddress.js +45 -0
  542. package/dist/esm/sdk/models/shared/propertyaddress.js.map +1 -0
  543. package/dist/esm/sdk/models/shared/propertybyslugsrequest.d.ts +47 -0
  544. package/dist/esm/sdk/models/shared/propertybyslugsrequest.d.ts.map +1 -0
  545. package/dist/esm/sdk/models/shared/propertybyslugsrequest.js +37 -0
  546. package/dist/esm/sdk/models/shared/propertybyslugsrequest.js.map +1 -0
  547. package/dist/esm/sdk/models/shared/propertydata.d.ts +95 -0
  548. package/dist/esm/sdk/models/shared/propertydata.d.ts.map +1 -0
  549. package/dist/esm/sdk/models/shared/propertydata.js +97 -0
  550. package/dist/esm/sdk/models/shared/propertydata.js.map +1 -0
  551. package/dist/esm/sdk/models/shared/propertyfilters.d.ts +41 -0
  552. package/dist/esm/sdk/models/shared/propertyfilters.d.ts.map +1 -0
  553. package/dist/esm/sdk/models/shared/propertyfilters.js +43 -0
  554. package/dist/esm/sdk/models/shared/propertyfilters.js.map +1 -0
  555. package/dist/esm/sdk/models/shared/propertylistresponse.d.ts +36 -0
  556. package/dist/esm/sdk/models/shared/propertylistresponse.d.ts.map +1 -0
  557. package/dist/esm/sdk/models/shared/propertylistresponse.js +38 -0
  558. package/dist/esm/sdk/models/shared/propertylistresponse.js.map +1 -0
  559. package/dist/esm/sdk/models/shared/propertyqueryrequest.d.ts +39 -0
  560. package/dist/esm/sdk/models/shared/propertyqueryrequest.d.ts.map +1 -0
  561. package/dist/esm/sdk/models/shared/propertyqueryrequest.js +41 -0
  562. package/dist/esm/sdk/models/shared/propertyqueryrequest.js.map +1 -0
  563. package/dist/esm/sdk/models/shared/security.d.ts +29 -0
  564. package/dist/esm/sdk/models/shared/security.d.ts.map +1 -0
  565. package/dist/esm/sdk/models/shared/security.js +40 -0
  566. package/dist/esm/sdk/models/shared/security.js.map +1 -0
  567. package/dist/esm/sdk/planning.d.ts +27 -0
  568. package/dist/esm/sdk/planning.d.ts.map +1 -0
  569. package/dist/esm/sdk/planning.js +38 -0
  570. package/dist/esm/sdk/planning.js.map +1 -0
  571. package/dist/esm/sdk/property.d.ts +41 -0
  572. package/dist/esm/sdk/property.d.ts.map +1 -0
  573. package/dist/esm/sdk/property.js +58 -0
  574. package/dist/esm/sdk/property.js.map +1 -0
  575. package/dist/esm/sdk/sdk.d.ts +13 -0
  576. package/dist/esm/sdk/sdk.d.ts.map +1 -0
  577. package/dist/esm/sdk/sdk.js +19 -0
  578. package/dist/esm/sdk/sdk.js.map +1 -0
  579. package/dist/esm/sdk/types/async.d.ts +23 -0
  580. package/dist/esm/sdk/types/async.d.ts.map +1 -0
  581. package/dist/esm/sdk/types/async.js +40 -0
  582. package/dist/esm/sdk/types/async.js.map +1 -0
  583. package/dist/esm/sdk/types/blobs.d.ts +4 -0
  584. package/dist/esm/sdk/types/blobs.d.ts.map +1 -0
  585. package/dist/esm/sdk/types/blobs.js +25 -0
  586. package/dist/esm/sdk/types/blobs.js.map +1 -0
  587. package/dist/esm/sdk/types/constdatetime.d.ts +3 -0
  588. package/dist/esm/sdk/types/constdatetime.d.ts.map +1 -0
  589. package/dist/esm/sdk/types/constdatetime.js +10 -0
  590. package/dist/esm/sdk/types/constdatetime.js.map +1 -0
  591. package/dist/esm/sdk/types/enums.d.ts +12 -0
  592. package/dist/esm/sdk/types/enums.d.ts.map +1 -0
  593. package/dist/esm/sdk/types/enums.js +7 -0
  594. package/dist/esm/sdk/types/enums.js.map +1 -0
  595. package/dist/esm/sdk/types/fp.d.ts +31 -0
  596. package/dist/esm/sdk/types/fp.d.ts.map +1 -0
  597. package/dist/esm/sdk/types/fp.js +31 -0
  598. package/dist/esm/sdk/types/fp.js.map +1 -0
  599. package/dist/esm/sdk/types/index.d.ts +8 -0
  600. package/dist/esm/sdk/types/index.d.ts.map +1 -0
  601. package/dist/esm/sdk/types/index.js +8 -0
  602. package/dist/esm/sdk/types/index.js.map +1 -0
  603. package/dist/esm/sdk/types/operations.d.ts +27 -0
  604. package/dist/esm/sdk/types/operations.d.ts.map +1 -0
  605. package/dist/esm/sdk/types/operations.js +77 -0
  606. package/dist/esm/sdk/types/operations.js.map +1 -0
  607. package/dist/esm/sdk/types/rfcdate.d.ts +21 -0
  608. package/dist/esm/sdk/types/rfcdate.d.ts.map +1 -0
  609. package/dist/esm/sdk/types/rfcdate.js +42 -0
  610. package/dist/esm/sdk/types/rfcdate.js.map +1 -0
  611. package/dist/esm/sdk/types/streams.d.ts +2 -0
  612. package/dist/esm/sdk/types/streams.d.ts.map +1 -0
  613. package/dist/esm/sdk/types/streams.js +15 -0
  614. package/dist/esm/sdk/types/streams.js.map +1 -0
  615. package/examples/healthGetV1PlanningHealth.example.ts +26 -0
  616. package/examples/package.json +18 -0
  617. package/jsr.json +27 -0
  618. package/openapi.json +1 -0
  619. package/package.json +122 -0
  620. package/src/core.ts +13 -0
  621. package/src/funcs/healthGetV1PlanningHealth.ts +140 -0
  622. package/src/funcs/healthGetV1PropertyHealth.ts +140 -0
  623. package/src/funcs/planningGetV1PlanningApplicationIds.ts +167 -0
  624. package/src/funcs/planningGetV1PlanningSourcesSourceIds.ts +169 -0
  625. package/src/funcs/planningPostV1PlanningQuery.ts +164 -0
  626. package/src/funcs/propertyGetV1PropertyLocationIds.ts +174 -0
  627. package/src/funcs/propertyGetV1PropertyPropertyIdPropertyIds.ts +185 -0
  628. package/src/funcs/propertyGetV1PropertySourcesSourceIds.ts +176 -0
  629. package/src/funcs/propertyPostV1PropertyPropertiesBySlugs.ts +173 -0
  630. package/src/funcs/propertyPostV1PropertyQuery.ts +164 -0
  631. package/src/hooks/hooks.ts +129 -0
  632. package/src/hooks/index.ts +6 -0
  633. package/src/hooks/registration.ts +14 -0
  634. package/src/hooks/types.ts +112 -0
  635. package/src/index.ts +9 -0
  636. package/src/lib/base64.ts +37 -0
  637. package/src/lib/config.ts +67 -0
  638. package/src/lib/dlv.ts +53 -0
  639. package/src/lib/encodings.ts +483 -0
  640. package/src/lib/files.ts +82 -0
  641. package/src/lib/http.ts +323 -0
  642. package/src/lib/is-plain-object.ts +43 -0
  643. package/src/lib/logger.ts +9 -0
  644. package/src/lib/matchers.ts +345 -0
  645. package/src/lib/primitives.ts +150 -0
  646. package/src/lib/retries.ts +218 -0
  647. package/src/lib/schemas.ts +91 -0
  648. package/src/lib/sdks.ts +403 -0
  649. package/src/lib/security.ts +263 -0
  650. package/src/lib/url.ts +33 -0
  651. package/src/sdk/health.ts +41 -0
  652. package/src/sdk/index.ts +5 -0
  653. package/src/sdk/models/errors/httpclienterrors.ts +62 -0
  654. package/src/sdk/models/errors/index.ts +8 -0
  655. package/src/sdk/models/errors/responsevalidationerror.ts +50 -0
  656. package/src/sdk/models/errors/sdkbaseerror.ts +35 -0
  657. package/src/sdk/models/errors/sdkerror.ts +40 -0
  658. package/src/sdk/models/errors/sdkvalidationerror.ts +109 -0
  659. package/src/sdk/models/operations/getv1planningapplicationids.ts +139 -0
  660. package/src/sdk/models/operations/getv1planningsourcessourceids.ts +140 -0
  661. package/src/sdk/models/operations/getv1propertylocationids.ts +155 -0
  662. package/src/sdk/models/operations/getv1propertypropertyidpropertyids.ts +173 -0
  663. package/src/sdk/models/operations/getv1propertysourcessourceids.ts +161 -0
  664. package/src/sdk/models/operations/index.ts +12 -0
  665. package/src/sdk/models/operations/postv1planningquery.ts +71 -0
  666. package/src/sdk/models/operations/postv1propertypropertiesbyslugs.ts +80 -0
  667. package/src/sdk/models/operations/postv1propertyquery.ts +71 -0
  668. package/src/sdk/models/shared/areafilter.ts +109 -0
  669. package/src/sdk/models/shared/errorresponse.ts +74 -0
  670. package/src/sdk/models/shared/healthresponse.ts +74 -0
  671. package/src/sdk/models/shared/index.ts +19 -0
  672. package/src/sdk/models/shared/planningapplication.ts +269 -0
  673. package/src/sdk/models/shared/planninglistresponse.ts +88 -0
  674. package/src/sdk/models/shared/planningqueryfilters.ts +139 -0
  675. package/src/sdk/models/shared/planningqueryrequest.ts +142 -0
  676. package/src/sdk/models/shared/pricingdata.ts +74 -0
  677. package/src/sdk/models/shared/propertyaddress.ts +92 -0
  678. package/src/sdk/models/shared/propertybyslugsrequest.ts +90 -0
  679. package/src/sdk/models/shared/propertydata.ts +214 -0
  680. package/src/sdk/models/shared/propertyfilters.ts +88 -0
  681. package/src/sdk/models/shared/propertylistresponse.ts +84 -0
  682. package/src/sdk/models/shared/propertyqueryrequest.ts +94 -0
  683. package/src/sdk/models/shared/security.ts +71 -0
  684. package/src/sdk/planning.ts +64 -0
  685. package/src/sdk/property.ts +100 -0
  686. package/src/sdk/sdk.ts +25 -0
  687. package/src/sdk/types/async.ts +68 -0
  688. package/src/sdk/types/blobs.ts +31 -0
  689. package/src/sdk/types/constdatetime.ts +15 -0
  690. package/src/sdk/types/enums.ts +16 -0
  691. package/src/sdk/types/fp.ts +50 -0
  692. package/src/sdk/types/index.ts +11 -0
  693. package/src/sdk/types/operations.ts +105 -0
  694. package/src/sdk/types/rfcdate.ts +54 -0
  695. package/src/sdk/types/streams.ts +21 -0
  696. package/test-local.ts +145 -0
  697. package/tsconfig.json +41 -0
@@ -0,0 +1,41 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import { healthGetV1PlanningHealth } from "../funcs/healthGetV1PlanningHealth.js";
6
+ import { healthGetV1PropertyHealth } from "../funcs/healthGetV1PropertyHealth.js";
7
+ import { ClientSDK, RequestOptions } from "../lib/sdks.js";
8
+ import * as shared from "./models/shared/index.js";
9
+ import { unwrapAsync } from "./types/fp.js";
10
+
11
+ export class Health extends ClientSDK {
12
+ /**
13
+ * Planning service health check
14
+ *
15
+ * @remarks
16
+ * Check if the planning service is operational
17
+ */
18
+ async getV1PlanningHealth(
19
+ options?: RequestOptions,
20
+ ): Promise<shared.HealthResponse> {
21
+ return unwrapAsync(healthGetV1PlanningHealth(
22
+ this,
23
+ options,
24
+ ));
25
+ }
26
+
27
+ /**
28
+ * Property service health check
29
+ *
30
+ * @remarks
31
+ * Check if the property service is operational
32
+ */
33
+ async getV1PropertyHealth(
34
+ options?: RequestOptions,
35
+ ): Promise<shared.HealthResponse> {
36
+ return unwrapAsync(healthGetV1PropertyHealth(
37
+ this,
38
+ options,
39
+ ));
40
+ }
41
+ }
@@ -0,0 +1,5 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ export * from "./sdk.js";
@@ -0,0 +1,62 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ /**
6
+ * Base class for all HTTP errors.
7
+ */
8
+ export class HTTPClientError extends Error {
9
+ /** The underlying cause of the error. */
10
+ override readonly cause: unknown;
11
+ override name = "HTTPClientError";
12
+ constructor(message: string, opts?: { cause?: unknown }) {
13
+ let msg = message;
14
+ if (opts?.cause) {
15
+ msg += `: ${opts.cause}`;
16
+ }
17
+
18
+ super(msg, opts);
19
+ // In older runtimes, the cause field would not have been assigned through
20
+ // the super() call.
21
+ if (typeof this.cause === "undefined") {
22
+ this.cause = opts?.cause;
23
+ }
24
+ }
25
+ }
26
+
27
+ /**
28
+ * An error to capture unrecognised or unexpected errors when making HTTP calls.
29
+ */
30
+ export class UnexpectedClientError extends HTTPClientError {
31
+ override name = "UnexpectedClientError";
32
+ }
33
+
34
+ /**
35
+ * An error that is raised when any inputs used to create a request are invalid.
36
+ */
37
+ export class InvalidRequestError extends HTTPClientError {
38
+ override name = "InvalidRequestError";
39
+ }
40
+
41
+ /**
42
+ * An error that is raised when a HTTP request was aborted by the client error.
43
+ */
44
+ export class RequestAbortedError extends HTTPClientError {
45
+ override readonly name = "RequestAbortedError";
46
+ }
47
+
48
+ /**
49
+ * An error that is raised when a HTTP request timed out due to an AbortSignal
50
+ * signal timeout.
51
+ */
52
+ export class RequestTimeoutError extends HTTPClientError {
53
+ override readonly name = "RequestTimeoutError";
54
+ }
55
+
56
+ /**
57
+ * An error that is raised when a HTTP client is unable to make a request to
58
+ * a server.
59
+ */
60
+ export class ConnectionError extends HTTPClientError {
61
+ override readonly name = "ConnectionError";
62
+ }
@@ -0,0 +1,8 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ export * from "./httpclienterrors.js";
6
+ export * from "./responsevalidationerror.js";
7
+ export * from "./sdkerror.js";
8
+ export * from "./sdkvalidationerror.js";
@@ -0,0 +1,50 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { SDKBaseError } from "./sdkbaseerror.js";
7
+ import { formatZodError } from "./sdkvalidationerror.js";
8
+
9
+ export class ResponseValidationError extends SDKBaseError {
10
+ /**
11
+ * The raw value that failed validation.
12
+ */
13
+ public readonly rawValue: unknown;
14
+
15
+ /**
16
+ * The raw message that failed validation.
17
+ */
18
+ public readonly rawMessage: unknown;
19
+
20
+ constructor(
21
+ message: string,
22
+ extra: {
23
+ response: Response;
24
+ request: Request;
25
+ body: string;
26
+ cause: unknown;
27
+ rawValue: unknown;
28
+ rawMessage: unknown;
29
+ },
30
+ ) {
31
+ super(message, extra);
32
+ this.name = "ResponseValidationError";
33
+ this.cause = extra.cause;
34
+ this.rawValue = extra.rawValue;
35
+ this.rawMessage = extra.rawMessage;
36
+ }
37
+
38
+ /**
39
+ * Return a pretty-formatted error message if the underlying validation error
40
+ * is a ZodError or some other recognized error type, otherwise return the
41
+ * default error message.
42
+ */
43
+ public pretty(): string {
44
+ if (this.cause instanceof z.ZodError) {
45
+ return `${this.rawMessage}\n${formatZodError(this.cause)}`;
46
+ } else {
47
+ return this.toString();
48
+ }
49
+ }
50
+ }
@@ -0,0 +1,35 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ /** The base class for all HTTP error responses */
6
+ export class SDKBaseError extends Error {
7
+ /** HTTP status code */
8
+ public readonly statusCode: number;
9
+ /** HTTP body */
10
+ public readonly body: string;
11
+ /** HTTP headers */
12
+ public readonly headers: Headers;
13
+ /** HTTP content type */
14
+ public readonly contentType: string;
15
+ /** Raw response */
16
+ public readonly rawResponse: Response;
17
+
18
+ constructor(
19
+ message: string,
20
+ httpMeta: {
21
+ response: Response;
22
+ request: Request;
23
+ body: string;
24
+ },
25
+ ) {
26
+ super(message);
27
+ this.statusCode = httpMeta.response.status;
28
+ this.body = httpMeta.body;
29
+ this.headers = httpMeta.response.headers;
30
+ this.contentType = httpMeta.response.headers.get("content-type") || "";
31
+ this.rawResponse = httpMeta.response;
32
+
33
+ this.name = "SDKBaseError";
34
+ }
35
+ }
@@ -0,0 +1,40 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import { SDKBaseError } from "./sdkbaseerror.js";
6
+
7
+ /** The fallback error class if no more specific error class is matched */
8
+ export class SDKError extends SDKBaseError {
9
+ constructor(
10
+ message: string,
11
+ httpMeta: {
12
+ response: Response;
13
+ request: Request;
14
+ body: string;
15
+ },
16
+ ) {
17
+ if (message) {
18
+ message += `: `;
19
+ }
20
+ message += `Status ${httpMeta.response.status}`;
21
+ const contentType = httpMeta.response.headers.get("content-type") || `""`;
22
+ if (contentType !== "application/json") {
23
+ message += ` Content-Type ${
24
+ contentType.includes(" ") ? `"${contentType}"` : contentType
25
+ }`;
26
+ }
27
+ const body = httpMeta.body || `""`;
28
+ message += body.length > 100 ? "\n" : ". ";
29
+ let bodyDisplay = body;
30
+ if (body.length > 10000) {
31
+ const truncated = body.substring(0, 10000);
32
+ const remaining = body.length - 10000;
33
+ bodyDisplay = `${truncated}...and ${remaining} more chars`;
34
+ }
35
+ message += `Body: ${bodyDisplay}`;
36
+ message = message.trim();
37
+ super(message, httpMeta);
38
+ this.name = "SDKError";
39
+ }
40
+ }
@@ -0,0 +1,109 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+
7
+ export class SDKValidationError extends Error {
8
+ /**
9
+ * The raw value that failed validation.
10
+ */
11
+ public readonly rawValue: unknown;
12
+
13
+ /**
14
+ * The raw message that failed validation.
15
+ */
16
+ public readonly rawMessage: unknown;
17
+
18
+ // Allows for backwards compatibility for `instanceof` checks of `ResponseValidationError`
19
+ static override [Symbol.hasInstance](
20
+ instance: unknown,
21
+ ): instance is SDKValidationError {
22
+ if (!(instance instanceof Error)) return false;
23
+ if (!("rawValue" in instance)) return false;
24
+ if (!("rawMessage" in instance)) return false;
25
+ if (!("pretty" in instance)) return false;
26
+ if (typeof instance.pretty !== "function") return false;
27
+ return true;
28
+ }
29
+
30
+ constructor(message: string, cause: unknown, rawValue: unknown) {
31
+ super(`${message}: ${cause}`);
32
+ this.name = "SDKValidationError";
33
+ this.cause = cause;
34
+ this.rawValue = rawValue;
35
+ this.rawMessage = message;
36
+ }
37
+
38
+ /**
39
+ * Return a pretty-formatted error message if the underlying validation error
40
+ * is a ZodError or some other recognized error type, otherwise return the
41
+ * default error message.
42
+ */
43
+ public pretty(): string {
44
+ if (this.cause instanceof z.ZodError) {
45
+ return `${this.rawMessage}\n${formatZodError(this.cause)}`;
46
+ } else {
47
+ return this.toString();
48
+ }
49
+ }
50
+ }
51
+
52
+ export function formatZodError(err: z.ZodError, level = 0): string {
53
+ let pre = " ".repeat(level);
54
+ pre = level > 0 ? `│${pre}` : pre;
55
+ pre += " ".repeat(level);
56
+
57
+ let message = "";
58
+ const append = (str: string) => (message += `\n${pre}${str}`);
59
+
60
+ const len = err.issues.length;
61
+ const headline = len === 1 ? `${len} issue found` : `${len} issues found`;
62
+
63
+ if (len) {
64
+ append(`┌ ${headline}:`);
65
+ }
66
+
67
+ for (const issue of err.issues) {
68
+ let path = issue.path.join(".");
69
+ path = path ? `<root>.${path}` : "<root>";
70
+ append(`│ • [${path}]: ${issue.message} (${issue.code})`);
71
+ switch (issue.code) {
72
+ case "invalid_literal":
73
+ case "invalid_type": {
74
+ append(`│ Want: ${issue.expected}`);
75
+ append(`│ Got: ${issue.received}`);
76
+ break;
77
+ }
78
+ case "unrecognized_keys": {
79
+ append(`│ Keys: ${issue.keys.join(", ")}`);
80
+ break;
81
+ }
82
+ case "invalid_enum_value": {
83
+ append(`│ Allowed: ${issue.options.join(", ")}`);
84
+ append(`│ Got: ${issue.received}`);
85
+ break;
86
+ }
87
+ case "invalid_union_discriminator": {
88
+ append(`│ Allowed: ${issue.options.join(", ")}`);
89
+ break;
90
+ }
91
+ case "invalid_union": {
92
+ const len = issue.unionErrors.length;
93
+ append(
94
+ `│ ✖︎ Attemped to deserialize into one of ${len} union members:`,
95
+ );
96
+ issue.unionErrors.forEach((err, i) => {
97
+ append(`│ ✖︎ Member ${i + 1} of ${len}`);
98
+ append(`${formatZodError(err, level + 1)}`);
99
+ });
100
+ }
101
+ }
102
+ }
103
+
104
+ if (err.issues.length) {
105
+ append(`└─*`);
106
+ }
107
+
108
+ return message.slice(1);
109
+ }
@@ -0,0 +1,139 @@
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 GetV1PlanningApplicationIdsRequest = {
12
+ /**
13
+ * Comma-separated list of planning application IDs
14
+ */
15
+ applicationIds: string;
16
+ };
17
+
18
+ export type GetV1PlanningApplicationIdsResponse =
19
+ | shared.PlanningListResponse
20
+ | shared.ErrorResponse;
21
+
22
+ /** @internal */
23
+ export const GetV1PlanningApplicationIdsRequest$inboundSchema: z.ZodType<
24
+ GetV1PlanningApplicationIdsRequest,
25
+ z.ZodTypeDef,
26
+ unknown
27
+ > = z.object({
28
+ applicationIds: z.string(),
29
+ });
30
+
31
+ /** @internal */
32
+ export type GetV1PlanningApplicationIdsRequest$Outbound = {
33
+ applicationIds: string;
34
+ };
35
+
36
+ /** @internal */
37
+ export const GetV1PlanningApplicationIdsRequest$outboundSchema: z.ZodType<
38
+ GetV1PlanningApplicationIdsRequest$Outbound,
39
+ z.ZodTypeDef,
40
+ GetV1PlanningApplicationIdsRequest
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 GetV1PlanningApplicationIdsRequest$ {
50
+ /** @deprecated use `GetV1PlanningApplicationIdsRequest$inboundSchema` instead. */
51
+ export const inboundSchema = GetV1PlanningApplicationIdsRequest$inboundSchema;
52
+ /** @deprecated use `GetV1PlanningApplicationIdsRequest$outboundSchema` instead. */
53
+ export const outboundSchema =
54
+ GetV1PlanningApplicationIdsRequest$outboundSchema;
55
+ /** @deprecated use `GetV1PlanningApplicationIdsRequest$Outbound` instead. */
56
+ export type Outbound = GetV1PlanningApplicationIdsRequest$Outbound;
57
+ }
58
+
59
+ export function getV1PlanningApplicationIdsRequestToJSON(
60
+ getV1PlanningApplicationIdsRequest: GetV1PlanningApplicationIdsRequest,
61
+ ): string {
62
+ return JSON.stringify(
63
+ GetV1PlanningApplicationIdsRequest$outboundSchema.parse(
64
+ getV1PlanningApplicationIdsRequest,
65
+ ),
66
+ );
67
+ }
68
+
69
+ export function getV1PlanningApplicationIdsRequestFromJSON(
70
+ jsonString: string,
71
+ ): SafeParseResult<GetV1PlanningApplicationIdsRequest, SDKValidationError> {
72
+ return safeParse(
73
+ jsonString,
74
+ (x) =>
75
+ GetV1PlanningApplicationIdsRequest$inboundSchema.parse(JSON.parse(x)),
76
+ `Failed to parse 'GetV1PlanningApplicationIdsRequest' from JSON`,
77
+ );
78
+ }
79
+
80
+ /** @internal */
81
+ export const GetV1PlanningApplicationIdsResponse$inboundSchema: z.ZodType<
82
+ GetV1PlanningApplicationIdsResponse,
83
+ z.ZodTypeDef,
84
+ unknown
85
+ > = z.union([
86
+ shared.PlanningListResponse$inboundSchema,
87
+ shared.ErrorResponse$inboundSchema,
88
+ ]);
89
+
90
+ /** @internal */
91
+ export type GetV1PlanningApplicationIdsResponse$Outbound =
92
+ | shared.PlanningListResponse$Outbound
93
+ | shared.ErrorResponse$Outbound;
94
+
95
+ /** @internal */
96
+ export const GetV1PlanningApplicationIdsResponse$outboundSchema: z.ZodType<
97
+ GetV1PlanningApplicationIdsResponse$Outbound,
98
+ z.ZodTypeDef,
99
+ GetV1PlanningApplicationIdsResponse
100
+ > = z.union([
101
+ shared.PlanningListResponse$outboundSchema,
102
+ shared.ErrorResponse$outboundSchema,
103
+ ]);
104
+
105
+ /**
106
+ * @internal
107
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
108
+ */
109
+ export namespace GetV1PlanningApplicationIdsResponse$ {
110
+ /** @deprecated use `GetV1PlanningApplicationIdsResponse$inboundSchema` instead. */
111
+ export const inboundSchema =
112
+ GetV1PlanningApplicationIdsResponse$inboundSchema;
113
+ /** @deprecated use `GetV1PlanningApplicationIdsResponse$outboundSchema` instead. */
114
+ export const outboundSchema =
115
+ GetV1PlanningApplicationIdsResponse$outboundSchema;
116
+ /** @deprecated use `GetV1PlanningApplicationIdsResponse$Outbound` instead. */
117
+ export type Outbound = GetV1PlanningApplicationIdsResponse$Outbound;
118
+ }
119
+
120
+ export function getV1PlanningApplicationIdsResponseToJSON(
121
+ getV1PlanningApplicationIdsResponse: GetV1PlanningApplicationIdsResponse,
122
+ ): string {
123
+ return JSON.stringify(
124
+ GetV1PlanningApplicationIdsResponse$outboundSchema.parse(
125
+ getV1PlanningApplicationIdsResponse,
126
+ ),
127
+ );
128
+ }
129
+
130
+ export function getV1PlanningApplicationIdsResponseFromJSON(
131
+ jsonString: string,
132
+ ): SafeParseResult<GetV1PlanningApplicationIdsResponse, SDKValidationError> {
133
+ return safeParse(
134
+ jsonString,
135
+ (x) =>
136
+ GetV1PlanningApplicationIdsResponse$inboundSchema.parse(JSON.parse(x)),
137
+ `Failed to parse 'GetV1PlanningApplicationIdsResponse' from JSON`,
138
+ );
139
+ }
@@ -0,0 +1,140 @@
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 GetV1PlanningSourcesSourceIdsRequest = {
12
+ /**
13
+ * Comma-separated list of source IDs (e.g., council-a::APP/2024/0001)
14
+ */
15
+ sourceIds: string;
16
+ };
17
+
18
+ export type GetV1PlanningSourcesSourceIdsResponse =
19
+ | shared.PlanningListResponse
20
+ | shared.ErrorResponse;
21
+
22
+ /** @internal */
23
+ export const GetV1PlanningSourcesSourceIdsRequest$inboundSchema: z.ZodType<
24
+ GetV1PlanningSourcesSourceIdsRequest,
25
+ z.ZodTypeDef,
26
+ unknown
27
+ > = z.object({
28
+ sourceIds: z.string(),
29
+ });
30
+
31
+ /** @internal */
32
+ export type GetV1PlanningSourcesSourceIdsRequest$Outbound = {
33
+ sourceIds: string;
34
+ };
35
+
36
+ /** @internal */
37
+ export const GetV1PlanningSourcesSourceIdsRequest$outboundSchema: z.ZodType<
38
+ GetV1PlanningSourcesSourceIdsRequest$Outbound,
39
+ z.ZodTypeDef,
40
+ GetV1PlanningSourcesSourceIdsRequest
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 GetV1PlanningSourcesSourceIdsRequest$ {
50
+ /** @deprecated use `GetV1PlanningSourcesSourceIdsRequest$inboundSchema` instead. */
51
+ export const inboundSchema =
52
+ GetV1PlanningSourcesSourceIdsRequest$inboundSchema;
53
+ /** @deprecated use `GetV1PlanningSourcesSourceIdsRequest$outboundSchema` instead. */
54
+ export const outboundSchema =
55
+ GetV1PlanningSourcesSourceIdsRequest$outboundSchema;
56
+ /** @deprecated use `GetV1PlanningSourcesSourceIdsRequest$Outbound` instead. */
57
+ export type Outbound = GetV1PlanningSourcesSourceIdsRequest$Outbound;
58
+ }
59
+
60
+ export function getV1PlanningSourcesSourceIdsRequestToJSON(
61
+ getV1PlanningSourcesSourceIdsRequest: GetV1PlanningSourcesSourceIdsRequest,
62
+ ): string {
63
+ return JSON.stringify(
64
+ GetV1PlanningSourcesSourceIdsRequest$outboundSchema.parse(
65
+ getV1PlanningSourcesSourceIdsRequest,
66
+ ),
67
+ );
68
+ }
69
+
70
+ export function getV1PlanningSourcesSourceIdsRequestFromJSON(
71
+ jsonString: string,
72
+ ): SafeParseResult<GetV1PlanningSourcesSourceIdsRequest, SDKValidationError> {
73
+ return safeParse(
74
+ jsonString,
75
+ (x) =>
76
+ GetV1PlanningSourcesSourceIdsRequest$inboundSchema.parse(JSON.parse(x)),
77
+ `Failed to parse 'GetV1PlanningSourcesSourceIdsRequest' from JSON`,
78
+ );
79
+ }
80
+
81
+ /** @internal */
82
+ export const GetV1PlanningSourcesSourceIdsResponse$inboundSchema: z.ZodType<
83
+ GetV1PlanningSourcesSourceIdsResponse,
84
+ z.ZodTypeDef,
85
+ unknown
86
+ > = z.union([
87
+ shared.PlanningListResponse$inboundSchema,
88
+ shared.ErrorResponse$inboundSchema,
89
+ ]);
90
+
91
+ /** @internal */
92
+ export type GetV1PlanningSourcesSourceIdsResponse$Outbound =
93
+ | shared.PlanningListResponse$Outbound
94
+ | shared.ErrorResponse$Outbound;
95
+
96
+ /** @internal */
97
+ export const GetV1PlanningSourcesSourceIdsResponse$outboundSchema: z.ZodType<
98
+ GetV1PlanningSourcesSourceIdsResponse$Outbound,
99
+ z.ZodTypeDef,
100
+ GetV1PlanningSourcesSourceIdsResponse
101
+ > = z.union([
102
+ shared.PlanningListResponse$outboundSchema,
103
+ shared.ErrorResponse$outboundSchema,
104
+ ]);
105
+
106
+ /**
107
+ * @internal
108
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
109
+ */
110
+ export namespace GetV1PlanningSourcesSourceIdsResponse$ {
111
+ /** @deprecated use `GetV1PlanningSourcesSourceIdsResponse$inboundSchema` instead. */
112
+ export const inboundSchema =
113
+ GetV1PlanningSourcesSourceIdsResponse$inboundSchema;
114
+ /** @deprecated use `GetV1PlanningSourcesSourceIdsResponse$outboundSchema` instead. */
115
+ export const outboundSchema =
116
+ GetV1PlanningSourcesSourceIdsResponse$outboundSchema;
117
+ /** @deprecated use `GetV1PlanningSourcesSourceIdsResponse$Outbound` instead. */
118
+ export type Outbound = GetV1PlanningSourcesSourceIdsResponse$Outbound;
119
+ }
120
+
121
+ export function getV1PlanningSourcesSourceIdsResponseToJSON(
122
+ getV1PlanningSourcesSourceIdsResponse: GetV1PlanningSourcesSourceIdsResponse,
123
+ ): string {
124
+ return JSON.stringify(
125
+ GetV1PlanningSourcesSourceIdsResponse$outboundSchema.parse(
126
+ getV1PlanningSourcesSourceIdsResponse,
127
+ ),
128
+ );
129
+ }
130
+
131
+ export function getV1PlanningSourcesSourceIdsResponseFromJSON(
132
+ jsonString: string,
133
+ ): SafeParseResult<GetV1PlanningSourcesSourceIdsResponse, SDKValidationError> {
134
+ return safeParse(
135
+ jsonString,
136
+ (x) =>
137
+ GetV1PlanningSourcesSourceIdsResponse$inboundSchema.parse(JSON.parse(x)),
138
+ `Failed to parse 'GetV1PlanningSourcesSourceIdsResponse' from JSON`,
139
+ );
140
+ }