@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.
- package/.claude/settings.local.json +14 -0
- package/FUNCTIONS.md +87 -0
- package/README.md +479 -0
- package/RUNTIMES.md +48 -0
- package/dist/commonjs/core.d.ts +10 -0
- package/dist/commonjs/core.d.ts.map +1 -0
- package/dist/commonjs/core.js +17 -0
- package/dist/commonjs/core.js.map +1 -0
- package/dist/commonjs/funcs/healthGetV1PlanningHealth.d.ts +17 -0
- package/dist/commonjs/funcs/healthGetV1PlanningHealth.d.ts.map +1 -0
- package/dist/commonjs/funcs/healthGetV1PlanningHealth.js +104 -0
- package/dist/commonjs/funcs/healthGetV1PlanningHealth.js.map +1 -0
- package/dist/commonjs/funcs/healthGetV1PropertyHealth.d.ts +17 -0
- package/dist/commonjs/funcs/healthGetV1PropertyHealth.d.ts.map +1 -0
- package/dist/commonjs/funcs/healthGetV1PropertyHealth.js +104 -0
- package/dist/commonjs/funcs/healthGetV1PropertyHealth.js.map +1 -0
- package/dist/commonjs/funcs/planningGetV1PlanningApplicationIds.d.ts +17 -0
- package/dist/commonjs/funcs/planningGetV1PlanningApplicationIds.d.ts.map +1 -0
- package/dist/commonjs/funcs/planningGetV1PlanningApplicationIds.js +119 -0
- package/dist/commonjs/funcs/planningGetV1PlanningApplicationIds.js.map +1 -0
- package/dist/commonjs/funcs/planningGetV1PlanningSourcesSourceIds.d.ts +17 -0
- package/dist/commonjs/funcs/planningGetV1PlanningSourcesSourceIds.d.ts.map +1 -0
- package/dist/commonjs/funcs/planningGetV1PlanningSourcesSourceIds.js +119 -0
- package/dist/commonjs/funcs/planningGetV1PlanningSourcesSourceIds.js.map +1 -0
- package/dist/commonjs/funcs/planningPostV1PlanningQuery.d.ts +18 -0
- package/dist/commonjs/funcs/planningPostV1PlanningQuery.d.ts.map +1 -0
- package/dist/commonjs/funcs/planningPostV1PlanningQuery.js +117 -0
- package/dist/commonjs/funcs/planningPostV1PlanningQuery.js.map +1 -0
- package/dist/commonjs/funcs/propertyGetV1PropertyLocationIds.d.ts +17 -0
- package/dist/commonjs/funcs/propertyGetV1PropertyLocationIds.d.ts.map +1 -0
- package/dist/commonjs/funcs/propertyGetV1PropertyLocationIds.js +125 -0
- package/dist/commonjs/funcs/propertyGetV1PropertyLocationIds.js.map +1 -0
- package/dist/commonjs/funcs/propertyGetV1PropertyPropertyIdPropertyIds.d.ts +17 -0
- package/dist/commonjs/funcs/propertyGetV1PropertyPropertyIdPropertyIds.d.ts.map +1 -0
- package/dist/commonjs/funcs/propertyGetV1PropertyPropertyIdPropertyIds.js +125 -0
- package/dist/commonjs/funcs/propertyGetV1PropertyPropertyIdPropertyIds.js.map +1 -0
- package/dist/commonjs/funcs/propertyGetV1PropertySourcesSourceIds.d.ts +17 -0
- package/dist/commonjs/funcs/propertyGetV1PropertySourcesSourceIds.d.ts.map +1 -0
- package/dist/commonjs/funcs/propertyGetV1PropertySourcesSourceIds.js +125 -0
- package/dist/commonjs/funcs/propertyGetV1PropertySourcesSourceIds.js.map +1 -0
- package/dist/commonjs/funcs/propertyPostV1PropertyPropertiesBySlugs.d.ts +18 -0
- package/dist/commonjs/funcs/propertyPostV1PropertyPropertiesBySlugs.d.ts.map +1 -0
- package/dist/commonjs/funcs/propertyPostV1PropertyPropertiesBySlugs.js +117 -0
- package/dist/commonjs/funcs/propertyPostV1PropertyPropertiesBySlugs.js.map +1 -0
- package/dist/commonjs/funcs/propertyPostV1PropertyQuery.d.ts +18 -0
- package/dist/commonjs/funcs/propertyPostV1PropertyQuery.d.ts.map +1 -0
- package/dist/commonjs/funcs/propertyPostV1PropertyQuery.js +117 -0
- package/dist/commonjs/funcs/propertyPostV1PropertyQuery.js.map +1 -0
- package/dist/commonjs/hooks/hooks.d.ts +24 -0
- package/dist/commonjs/hooks/hooks.d.ts.map +1 -0
- package/dist/commonjs/hooks/hooks.js +84 -0
- package/dist/commonjs/hooks/hooks.js.map +1 -0
- package/dist/commonjs/hooks/index.d.ts +3 -0
- package/dist/commonjs/hooks/index.d.ts.map +1 -0
- package/dist/commonjs/hooks/index.js +22 -0
- package/dist/commonjs/hooks/index.js.map +1 -0
- package/dist/commonjs/hooks/registration.d.ts +3 -0
- package/dist/commonjs/hooks/registration.d.ts.map +1 -0
- package/dist/commonjs/hooks/registration.js +15 -0
- package/dist/commonjs/hooks/registration.js.map +1 -0
- package/dist/commonjs/hooks/types.d.ts +80 -0
- package/dist/commonjs/hooks/types.d.ts.map +1 -0
- package/dist/commonjs/hooks/types.js +6 -0
- package/dist/commonjs/hooks/types.js.map +1 -0
- package/dist/commonjs/index.d.ts +6 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +48 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/lib/base64.d.ts +10 -0
- package/dist/commonjs/lib/base64.d.ts.map +1 -0
- package/dist/commonjs/lib/base64.js +71 -0
- package/dist/commonjs/lib/base64.js.map +1 -0
- package/dist/commonjs/lib/config.d.ts +38 -0
- package/dist/commonjs/lib/config.d.ts.map +1 -0
- package/dist/commonjs/lib/config.js +38 -0
- package/dist/commonjs/lib/config.js.map +1 -0
- package/dist/commonjs/lib/dlv.d.ts +14 -0
- package/dist/commonjs/lib/dlv.d.ts.map +1 -0
- package/dist/commonjs/lib/dlv.js +49 -0
- package/dist/commonjs/lib/dlv.js.map +1 -0
- package/dist/commonjs/lib/encodings.d.ts +52 -0
- package/dist/commonjs/lib/encodings.d.ts.map +1 -0
- package/dist/commonjs/lib/encodings.js +368 -0
- package/dist/commonjs/lib/encodings.js.map +1 -0
- package/dist/commonjs/lib/files.d.ts +13 -0
- package/dist/commonjs/lib/files.d.ts.map +1 -0
- package/dist/commonjs/lib/files.js +77 -0
- package/dist/commonjs/lib/files.js.map +1 -0
- package/dist/commonjs/lib/http.d.ts +67 -0
- package/dist/commonjs/lib/http.d.ts.map +1 -0
- package/dist/commonjs/lib/http.js +217 -0
- package/dist/commonjs/lib/http.js.map +1 -0
- package/dist/commonjs/lib/is-plain-object.d.ts +2 -0
- package/dist/commonjs/lib/is-plain-object.d.ts.map +1 -0
- package/dist/commonjs/lib/is-plain-object.js +41 -0
- package/dist/commonjs/lib/is-plain-object.js.map +1 -0
- package/dist/commonjs/lib/logger.d.ts +6 -0
- package/dist/commonjs/lib/logger.d.ts.map +1 -0
- package/dist/commonjs/lib/logger.js +6 -0
- package/dist/commonjs/lib/logger.js.map +1 -0
- package/dist/commonjs/lib/matchers.d.ts +59 -0
- package/dist/commonjs/lib/matchers.d.ts.map +1 -0
- package/dist/commonjs/lib/matchers.js +218 -0
- package/dist/commonjs/lib/matchers.js.map +1 -0
- package/dist/commonjs/lib/primitives.d.ts +26 -0
- package/dist/commonjs/lib/primitives.d.ts.map +1 -0
- package/dist/commonjs/lib/primitives.js +111 -0
- package/dist/commonjs/lib/primitives.js.map +1 -0
- package/dist/commonjs/lib/retries.d.ts +38 -0
- package/dist/commonjs/lib/retries.d.ts.map +1 -0
- package/dist/commonjs/lib/retries.js +153 -0
- package/dist/commonjs/lib/retries.js.map +1 -0
- package/dist/commonjs/lib/schemas.d.ts +19 -0
- package/dist/commonjs/lib/schemas.d.ts.map +1 -0
- package/dist/commonjs/lib/schemas.js +62 -0
- package/dist/commonjs/lib/schemas.js.map +1 -0
- package/dist/commonjs/lib/sdks.d.ts +63 -0
- package/dist/commonjs/lib/sdks.d.ts.map +1 -0
- package/dist/commonjs/lib/sdks.js +270 -0
- package/dist/commonjs/lib/sdks.js.map +1 -0
- package/dist/commonjs/lib/security.d.ts +83 -0
- package/dist/commonjs/lib/security.d.ts.map +1 -0
- package/dist/commonjs/lib/security.js +143 -0
- package/dist/commonjs/lib/security.js.map +1 -0
- package/dist/commonjs/lib/url.d.ts +5 -0
- package/dist/commonjs/lib/url.d.ts.map +1 -0
- package/dist/commonjs/lib/url.js +25 -0
- package/dist/commonjs/lib/url.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/sdk/health.d.ts +19 -0
- package/dist/commonjs/sdk/health.d.ts.map +1 -0
- package/dist/commonjs/sdk/health.js +32 -0
- package/dist/commonjs/sdk/health.js.map +1 -0
- package/dist/commonjs/sdk/index.d.ts +2 -0
- package/dist/commonjs/sdk/index.d.ts.map +1 -0
- package/dist/commonjs/sdk/index.js +21 -0
- package/dist/commonjs/sdk/index.js.map +1 -0
- package/dist/commonjs/sdk/models/errors/httpclienterrors.d.ts +44 -0
- package/dist/commonjs/sdk/models/errors/httpclienterrors.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/errors/httpclienterrors.js +78 -0
- package/dist/commonjs/sdk/models/errors/httpclienterrors.js.map +1 -0
- package/dist/commonjs/sdk/models/errors/index.d.ts +5 -0
- package/dist/commonjs/sdk/models/errors/index.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/errors/index.js +24 -0
- package/dist/commonjs/sdk/models/errors/index.js.map +1 -0
- package/dist/commonjs/sdk/models/errors/responsevalidationerror.d.ts +26 -0
- package/dist/commonjs/sdk/models/errors/responsevalidationerror.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/errors/responsevalidationerror.js +66 -0
- package/dist/commonjs/sdk/models/errors/responsevalidationerror.js.map +1 -0
- package/dist/commonjs/sdk/models/errors/sdkbaseerror.d.ts +19 -0
- package/dist/commonjs/sdk/models/errors/sdkbaseerror.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/errors/sdkbaseerror.js +20 -0
- package/dist/commonjs/sdk/models/errors/sdkbaseerror.js.map +1 -0
- package/dist/commonjs/sdk/models/errors/sdkerror.d.ts +10 -0
- package/dist/commonjs/sdk/models/errors/sdkerror.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/errors/sdkerror.js +34 -0
- package/dist/commonjs/sdk/models/errors/sdkerror.js.map +1 -0
- package/dist/commonjs/sdk/models/errors/sdkvalidationerror.d.ts +21 -0
- package/dist/commonjs/sdk/models/errors/sdkvalidationerror.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/errors/sdkvalidationerror.js +129 -0
- package/dist/commonjs/sdk/models/errors/sdkvalidationerror.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/getv1planningapplicationids.d.ts +54 -0
- package/dist/commonjs/sdk/models/operations/getv1planningapplicationids.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/getv1planningapplicationids.js +99 -0
- package/dist/commonjs/sdk/models/operations/getv1planningapplicationids.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/getv1planningsourcessourceids.d.ts +54 -0
- package/dist/commonjs/sdk/models/operations/getv1planningsourcessourceids.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/getv1planningsourcessourceids.js +99 -0
- package/dist/commonjs/sdk/models/operations/getv1planningsourcessourceids.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/getv1propertylocationids.d.ts +69 -0
- package/dist/commonjs/sdk/models/operations/getv1propertylocationids.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/getv1propertylocationids.js +105 -0
- package/dist/commonjs/sdk/models/operations/getv1propertylocationids.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/getv1propertypropertyidpropertyids.d.ts +69 -0
- package/dist/commonjs/sdk/models/operations/getv1propertypropertyidpropertyids.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/getv1propertypropertyidpropertyids.js +105 -0
- package/dist/commonjs/sdk/models/operations/getv1propertypropertyidpropertyids.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/getv1propertysourcessourceids.d.ts +69 -0
- package/dist/commonjs/sdk/models/operations/getv1propertysourcessourceids.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/getv1propertysourcessourceids.js +105 -0
- package/dist/commonjs/sdk/models/operations/getv1propertysourcessourceids.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/index.d.ts +9 -0
- package/dist/commonjs/sdk/models/operations/index.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/index.js +28 -0
- package/dist/commonjs/sdk/models/operations/index.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/postv1planningquery.d.ts +26 -0
- package/dist/commonjs/sdk/models/operations/postv1planningquery.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/postv1planningquery.js +72 -0
- package/dist/commonjs/sdk/models/operations/postv1planningquery.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/postv1propertypropertiesbyslugs.d.ts +26 -0
- package/dist/commonjs/sdk/models/operations/postv1propertypropertiesbyslugs.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/postv1propertypropertiesbyslugs.js +72 -0
- package/dist/commonjs/sdk/models/operations/postv1propertypropertiesbyslugs.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/postv1propertyquery.d.ts +26 -0
- package/dist/commonjs/sdk/models/operations/postv1propertyquery.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/postv1propertyquery.js +72 -0
- package/dist/commonjs/sdk/models/operations/postv1propertyquery.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/areafilter.d.ts +69 -0
- package/dist/commonjs/sdk/models/shared/areafilter.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/areafilter.js +97 -0
- package/dist/commonjs/sdk/models/shared/areafilter.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/errorresponse.d.ts +35 -0
- package/dist/commonjs/sdk/models/shared/errorresponse.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/errorresponse.js +75 -0
- package/dist/commonjs/sdk/models/shared/errorresponse.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/healthresponse.d.ts +35 -0
- package/dist/commonjs/sdk/models/shared/healthresponse.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/healthresponse.js +75 -0
- package/dist/commonjs/sdk/models/shared/healthresponse.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/index.d.ts +16 -0
- package/dist/commonjs/sdk/models/shared/index.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/index.js +35 -0
- package/dist/commonjs/sdk/models/shared/index.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/planningapplication.d.ts +184 -0
- package/dist/commonjs/sdk/models/shared/planningapplication.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/planningapplication.js +186 -0
- package/dist/commonjs/sdk/models/shared/planningapplication.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/planninglistresponse.d.ts +38 -0
- package/dist/commonjs/sdk/models/shared/planninglistresponse.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/planninglistresponse.js +78 -0
- package/dist/commonjs/sdk/models/shared/planninglistresponse.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/planningqueryfilters.d.ts +82 -0
- package/dist/commonjs/sdk/models/shared/planningqueryfilters.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/planningqueryfilters.js +89 -0
- package/dist/commonjs/sdk/models/shared/planningqueryfilters.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/planningqueryrequest.d.ts +98 -0
- package/dist/commonjs/sdk/models/shared/planningqueryrequest.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/planningqueryrequest.js +121 -0
- package/dist/commonjs/sdk/models/shared/planningqueryrequest.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/pricingdata.d.ts +35 -0
- package/dist/commonjs/sdk/models/shared/pricingdata.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/pricingdata.js +75 -0
- package/dist/commonjs/sdk/models/shared/pricingdata.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/propertyaddress.d.ts +43 -0
- package/dist/commonjs/sdk/models/shared/propertyaddress.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/propertyaddress.js +83 -0
- package/dist/commonjs/sdk/models/shared/propertyaddress.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/propertybyslugsrequest.d.ts +47 -0
- package/dist/commonjs/sdk/models/shared/propertybyslugsrequest.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/propertybyslugsrequest.js +75 -0
- package/dist/commonjs/sdk/models/shared/propertybyslugsrequest.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/propertydata.d.ts +95 -0
- package/dist/commonjs/sdk/models/shared/propertydata.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/propertydata.js +139 -0
- package/dist/commonjs/sdk/models/shared/propertydata.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/propertyfilters.d.ts +41 -0
- package/dist/commonjs/sdk/models/shared/propertyfilters.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/propertyfilters.js +81 -0
- package/dist/commonjs/sdk/models/shared/propertyfilters.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/propertylistresponse.d.ts +36 -0
- package/dist/commonjs/sdk/models/shared/propertylistresponse.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/propertylistresponse.js +76 -0
- package/dist/commonjs/sdk/models/shared/propertylistresponse.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/propertyqueryrequest.d.ts +39 -0
- package/dist/commonjs/sdk/models/shared/propertyqueryrequest.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/propertyqueryrequest.js +79 -0
- package/dist/commonjs/sdk/models/shared/propertyqueryrequest.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/security.d.ts +29 -0
- package/dist/commonjs/sdk/models/shared/security.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/security.js +78 -0
- package/dist/commonjs/sdk/models/shared/security.js.map +1 -0
- package/dist/commonjs/sdk/planning.d.ts +27 -0
- package/dist/commonjs/sdk/planning.d.ts.map +1 -0
- package/dist/commonjs/sdk/planning.js +42 -0
- package/dist/commonjs/sdk/planning.js.map +1 -0
- package/dist/commonjs/sdk/property.d.ts +41 -0
- package/dist/commonjs/sdk/property.d.ts.map +1 -0
- package/dist/commonjs/sdk/property.js +62 -0
- package/dist/commonjs/sdk/property.js.map +1 -0
- package/dist/commonjs/sdk/sdk.d.ts +13 -0
- package/dist/commonjs/sdk/sdk.d.ts.map +1 -0
- package/dist/commonjs/sdk/sdk.js +23 -0
- package/dist/commonjs/sdk/sdk.js.map +1 -0
- package/dist/commonjs/sdk/types/async.d.ts +23 -0
- package/dist/commonjs/sdk/types/async.d.ts.map +1 -0
- package/dist/commonjs/sdk/types/async.js +44 -0
- package/dist/commonjs/sdk/types/async.js.map +1 -0
- package/dist/commonjs/sdk/types/blobs.d.ts +4 -0
- package/dist/commonjs/sdk/types/blobs.d.ts.map +1 -0
- package/dist/commonjs/sdk/types/blobs.js +62 -0
- package/dist/commonjs/sdk/types/blobs.js.map +1 -0
- package/dist/commonjs/sdk/types/constdatetime.d.ts +3 -0
- package/dist/commonjs/sdk/types/constdatetime.d.ts.map +1 -0
- package/dist/commonjs/sdk/types/constdatetime.js +46 -0
- package/dist/commonjs/sdk/types/constdatetime.js.map +1 -0
- package/dist/commonjs/sdk/types/enums.d.ts +12 -0
- package/dist/commonjs/sdk/types/enums.d.ts.map +1 -0
- package/dist/commonjs/sdk/types/enums.js +10 -0
- package/dist/commonjs/sdk/types/enums.js.map +1 -0
- package/dist/commonjs/sdk/types/fp.d.ts +31 -0
- package/dist/commonjs/sdk/types/fp.d.ts.map +1 -0
- package/dist/commonjs/sdk/types/fp.js +37 -0
- package/dist/commonjs/sdk/types/fp.js.map +1 -0
- package/dist/commonjs/sdk/types/index.d.ts +8 -0
- package/dist/commonjs/sdk/types/index.d.ts.map +1 -0
- package/dist/commonjs/sdk/types/index.js +16 -0
- package/dist/commonjs/sdk/types/index.js.map +1 -0
- package/dist/commonjs/sdk/types/operations.d.ts +27 -0
- package/dist/commonjs/sdk/types/operations.d.ts.map +1 -0
- package/dist/commonjs/sdk/types/operations.js +83 -0
- package/dist/commonjs/sdk/types/operations.js.map +1 -0
- package/dist/commonjs/sdk/types/rfcdate.d.ts +21 -0
- package/dist/commonjs/sdk/types/rfcdate.d.ts.map +1 -0
- package/dist/commonjs/sdk/types/rfcdate.js +46 -0
- package/dist/commonjs/sdk/types/rfcdate.js.map +1 -0
- package/dist/commonjs/sdk/types/streams.d.ts +2 -0
- package/dist/commonjs/sdk/types/streams.d.ts.map +1 -0
- package/dist/commonjs/sdk/types/streams.js +18 -0
- package/dist/commonjs/sdk/types/streams.js.map +1 -0
- package/dist/esm/core.d.ts +10 -0
- package/dist/esm/core.d.ts.map +1 -0
- package/dist/esm/core.js +13 -0
- package/dist/esm/core.js.map +1 -0
- package/dist/esm/funcs/healthGetV1PlanningHealth.d.ts +17 -0
- package/dist/esm/funcs/healthGetV1PlanningHealth.d.ts.map +1 -0
- package/dist/esm/funcs/healthGetV1PlanningHealth.js +68 -0
- package/dist/esm/funcs/healthGetV1PlanningHealth.js.map +1 -0
- package/dist/esm/funcs/healthGetV1PropertyHealth.d.ts +17 -0
- package/dist/esm/funcs/healthGetV1PropertyHealth.d.ts.map +1 -0
- package/dist/esm/funcs/healthGetV1PropertyHealth.js +68 -0
- package/dist/esm/funcs/healthGetV1PropertyHealth.js.map +1 -0
- package/dist/esm/funcs/planningGetV1PlanningApplicationIds.d.ts +17 -0
- package/dist/esm/funcs/planningGetV1PlanningApplicationIds.d.ts.map +1 -0
- package/dist/esm/funcs/planningGetV1PlanningApplicationIds.js +83 -0
- package/dist/esm/funcs/planningGetV1PlanningApplicationIds.js.map +1 -0
- package/dist/esm/funcs/planningGetV1PlanningSourcesSourceIds.d.ts +17 -0
- package/dist/esm/funcs/planningGetV1PlanningSourcesSourceIds.d.ts.map +1 -0
- package/dist/esm/funcs/planningGetV1PlanningSourcesSourceIds.js +83 -0
- package/dist/esm/funcs/planningGetV1PlanningSourcesSourceIds.js.map +1 -0
- package/dist/esm/funcs/planningPostV1PlanningQuery.d.ts +18 -0
- package/dist/esm/funcs/planningPostV1PlanningQuery.d.ts.map +1 -0
- package/dist/esm/funcs/planningPostV1PlanningQuery.js +81 -0
- package/dist/esm/funcs/planningPostV1PlanningQuery.js.map +1 -0
- package/dist/esm/funcs/propertyGetV1PropertyLocationIds.d.ts +17 -0
- package/dist/esm/funcs/propertyGetV1PropertyLocationIds.d.ts.map +1 -0
- package/dist/esm/funcs/propertyGetV1PropertyLocationIds.js +89 -0
- package/dist/esm/funcs/propertyGetV1PropertyLocationIds.js.map +1 -0
- package/dist/esm/funcs/propertyGetV1PropertyPropertyIdPropertyIds.d.ts +17 -0
- package/dist/esm/funcs/propertyGetV1PropertyPropertyIdPropertyIds.d.ts.map +1 -0
- package/dist/esm/funcs/propertyGetV1PropertyPropertyIdPropertyIds.js +89 -0
- package/dist/esm/funcs/propertyGetV1PropertyPropertyIdPropertyIds.js.map +1 -0
- package/dist/esm/funcs/propertyGetV1PropertySourcesSourceIds.d.ts +17 -0
- package/dist/esm/funcs/propertyGetV1PropertySourcesSourceIds.d.ts.map +1 -0
- package/dist/esm/funcs/propertyGetV1PropertySourcesSourceIds.js +89 -0
- package/dist/esm/funcs/propertyGetV1PropertySourcesSourceIds.js.map +1 -0
- package/dist/esm/funcs/propertyPostV1PropertyPropertiesBySlugs.d.ts +18 -0
- package/dist/esm/funcs/propertyPostV1PropertyPropertiesBySlugs.d.ts.map +1 -0
- package/dist/esm/funcs/propertyPostV1PropertyPropertiesBySlugs.js +81 -0
- package/dist/esm/funcs/propertyPostV1PropertyPropertiesBySlugs.js.map +1 -0
- package/dist/esm/funcs/propertyPostV1PropertyQuery.d.ts +18 -0
- package/dist/esm/funcs/propertyPostV1PropertyQuery.d.ts.map +1 -0
- package/dist/esm/funcs/propertyPostV1PropertyQuery.js +81 -0
- package/dist/esm/funcs/propertyPostV1PropertyQuery.js.map +1 -0
- package/dist/esm/hooks/hooks.d.ts +24 -0
- package/dist/esm/hooks/hooks.d.ts.map +1 -0
- package/dist/esm/hooks/hooks.js +80 -0
- package/dist/esm/hooks/hooks.js.map +1 -0
- package/dist/esm/hooks/index.d.ts +3 -0
- package/dist/esm/hooks/index.d.ts.map +1 -0
- package/dist/esm/hooks/index.js +6 -0
- package/dist/esm/hooks/index.js.map +1 -0
- package/dist/esm/hooks/registration.d.ts +3 -0
- package/dist/esm/hooks/registration.d.ts.map +1 -0
- package/dist/esm/hooks/registration.js +12 -0
- package/dist/esm/hooks/registration.js.map +1 -0
- package/dist/esm/hooks/types.d.ts +80 -0
- package/dist/esm/hooks/types.d.ts.map +1 -0
- package/dist/esm/hooks/types.js +5 -0
- package/dist/esm/hooks/types.js.map +1 -0
- package/dist/esm/index.d.ts +6 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +8 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/lib/base64.d.ts +10 -0
- package/dist/esm/lib/base64.d.ts.map +1 -0
- package/dist/esm/lib/base64.js +29 -0
- package/dist/esm/lib/base64.js.map +1 -0
- package/dist/esm/lib/config.d.ts +38 -0
- package/dist/esm/lib/config.d.ts.map +1 -0
- package/dist/esm/lib/config.js +34 -0
- package/dist/esm/lib/config.js.map +1 -0
- package/dist/esm/lib/dlv.d.ts +14 -0
- package/dist/esm/lib/dlv.d.ts.map +1 -0
- package/dist/esm/lib/dlv.js +46 -0
- package/dist/esm/lib/dlv.js.map +1 -0
- package/dist/esm/lib/encodings.d.ts +52 -0
- package/dist/esm/lib/encodings.d.ts.map +1 -0
- package/dist/esm/lib/encodings.js +354 -0
- package/dist/esm/lib/encodings.js.map +1 -0
- package/dist/esm/lib/files.d.ts +13 -0
- package/dist/esm/lib/files.d.ts.map +1 -0
- package/dist/esm/lib/files.js +73 -0
- package/dist/esm/lib/files.js.map +1 -0
- package/dist/esm/lib/http.d.ts +67 -0
- package/dist/esm/lib/http.d.ts.map +1 -0
- package/dist/esm/lib/http.js +207 -0
- package/dist/esm/lib/http.js.map +1 -0
- package/dist/esm/lib/is-plain-object.d.ts +2 -0
- package/dist/esm/lib/is-plain-object.d.ts.map +1 -0
- package/dist/esm/lib/is-plain-object.js +38 -0
- package/dist/esm/lib/is-plain-object.js.map +1 -0
- package/dist/esm/lib/logger.d.ts +6 -0
- package/dist/esm/lib/logger.d.ts.map +1 -0
- package/dist/esm/lib/logger.js +5 -0
- package/dist/esm/lib/logger.js.map +1 -0
- package/dist/esm/lib/matchers.d.ts +59 -0
- package/dist/esm/lib/matchers.d.ts.map +1 -0
- package/dist/esm/lib/matchers.js +199 -0
- package/dist/esm/lib/matchers.js.map +1 -0
- package/dist/esm/lib/primitives.d.ts +26 -0
- package/dist/esm/lib/primitives.d.ts.map +1 -0
- package/dist/esm/lib/primitives.js +103 -0
- package/dist/esm/lib/primitives.js.map +1 -0
- package/dist/esm/lib/retries.d.ts +38 -0
- package/dist/esm/lib/retries.d.ts.map +1 -0
- package/dist/esm/lib/retries.js +147 -0
- package/dist/esm/lib/retries.js.map +1 -0
- package/dist/esm/lib/schemas.d.ts +19 -0
- package/dist/esm/lib/schemas.d.ts.map +1 -0
- package/dist/esm/lib/schemas.js +57 -0
- package/dist/esm/lib/schemas.js.map +1 -0
- package/dist/esm/lib/sdks.d.ts +63 -0
- package/dist/esm/lib/sdks.d.ts.map +1 -0
- package/dist/esm/lib/sdks.js +266 -0
- package/dist/esm/lib/sdks.js.map +1 -0
- package/dist/esm/lib/security.d.ts +83 -0
- package/dist/esm/lib/security.d.ts.map +1 -0
- package/dist/esm/lib/security.js +136 -0
- package/dist/esm/lib/security.js.map +1 -0
- package/dist/esm/lib/url.d.ts +5 -0
- package/dist/esm/lib/url.d.ts.map +1 -0
- package/dist/esm/lib/url.js +22 -0
- package/dist/esm/lib/url.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/sdk/health.d.ts +19 -0
- package/dist/esm/sdk/health.d.ts.map +1 -0
- package/dist/esm/sdk/health.js +28 -0
- package/dist/esm/sdk/health.js.map +1 -0
- package/dist/esm/sdk/index.d.ts +2 -0
- package/dist/esm/sdk/index.d.ts.map +1 -0
- package/dist/esm/sdk/index.js +5 -0
- package/dist/esm/sdk/index.js.map +1 -0
- package/dist/esm/sdk/models/errors/httpclienterrors.d.ts +44 -0
- package/dist/esm/sdk/models/errors/httpclienterrors.d.ts.map +1 -0
- package/dist/esm/sdk/models/errors/httpclienterrors.js +69 -0
- package/dist/esm/sdk/models/errors/httpclienterrors.js.map +1 -0
- package/dist/esm/sdk/models/errors/index.d.ts +5 -0
- package/dist/esm/sdk/models/errors/index.d.ts.map +1 -0
- package/dist/esm/sdk/models/errors/index.js +8 -0
- package/dist/esm/sdk/models/errors/index.js.map +1 -0
- package/dist/esm/sdk/models/errors/responsevalidationerror.d.ts +26 -0
- package/dist/esm/sdk/models/errors/responsevalidationerror.d.ts.map +1 -0
- package/dist/esm/sdk/models/errors/responsevalidationerror.js +29 -0
- package/dist/esm/sdk/models/errors/responsevalidationerror.js.map +1 -0
- package/dist/esm/sdk/models/errors/sdkbaseerror.d.ts +19 -0
- package/dist/esm/sdk/models/errors/sdkbaseerror.d.ts.map +1 -0
- package/dist/esm/sdk/models/errors/sdkbaseerror.js +16 -0
- package/dist/esm/sdk/models/errors/sdkbaseerror.js.map +1 -0
- package/dist/esm/sdk/models/errors/sdkerror.d.ts +10 -0
- package/dist/esm/sdk/models/errors/sdkerror.d.ts.map +1 -0
- package/dist/esm/sdk/models/errors/sdkerror.js +30 -0
- package/dist/esm/sdk/models/errors/sdkerror.js.map +1 -0
- package/dist/esm/sdk/models/errors/sdkvalidationerror.d.ts +21 -0
- package/dist/esm/sdk/models/errors/sdkvalidationerror.d.ts.map +1 -0
- package/dist/esm/sdk/models/errors/sdkvalidationerror.js +91 -0
- package/dist/esm/sdk/models/errors/sdkvalidationerror.js.map +1 -0
- package/dist/esm/sdk/models/operations/getv1planningapplicationids.d.ts +54 -0
- package/dist/esm/sdk/models/operations/getv1planningapplicationids.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/getv1planningapplicationids.js +59 -0
- package/dist/esm/sdk/models/operations/getv1planningapplicationids.js.map +1 -0
- package/dist/esm/sdk/models/operations/getv1planningsourcessourceids.d.ts +54 -0
- package/dist/esm/sdk/models/operations/getv1planningsourcessourceids.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/getv1planningsourcessourceids.js +59 -0
- package/dist/esm/sdk/models/operations/getv1planningsourcessourceids.js.map +1 -0
- package/dist/esm/sdk/models/operations/getv1propertylocationids.d.ts +69 -0
- package/dist/esm/sdk/models/operations/getv1propertylocationids.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/getv1propertylocationids.js +65 -0
- package/dist/esm/sdk/models/operations/getv1propertylocationids.js.map +1 -0
- package/dist/esm/sdk/models/operations/getv1propertypropertyidpropertyids.d.ts +69 -0
- package/dist/esm/sdk/models/operations/getv1propertypropertyidpropertyids.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/getv1propertypropertyidpropertyids.js +65 -0
- package/dist/esm/sdk/models/operations/getv1propertypropertyidpropertyids.js.map +1 -0
- package/dist/esm/sdk/models/operations/getv1propertysourcessourceids.d.ts +69 -0
- package/dist/esm/sdk/models/operations/getv1propertysourcessourceids.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/getv1propertysourcessourceids.js +65 -0
- package/dist/esm/sdk/models/operations/getv1propertysourcessourceids.js.map +1 -0
- package/dist/esm/sdk/models/operations/index.d.ts +9 -0
- package/dist/esm/sdk/models/operations/index.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/index.js +12 -0
- package/dist/esm/sdk/models/operations/index.js.map +1 -0
- package/dist/esm/sdk/models/operations/postv1planningquery.d.ts +26 -0
- package/dist/esm/sdk/models/operations/postv1planningquery.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/postv1planningquery.js +34 -0
- package/dist/esm/sdk/models/operations/postv1planningquery.js.map +1 -0
- package/dist/esm/sdk/models/operations/postv1propertypropertiesbyslugs.d.ts +26 -0
- package/dist/esm/sdk/models/operations/postv1propertypropertiesbyslugs.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/postv1propertypropertiesbyslugs.js +34 -0
- package/dist/esm/sdk/models/operations/postv1propertypropertiesbyslugs.js.map +1 -0
- package/dist/esm/sdk/models/operations/postv1propertyquery.d.ts +26 -0
- package/dist/esm/sdk/models/operations/postv1propertyquery.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/postv1propertyquery.js +34 -0
- package/dist/esm/sdk/models/operations/postv1propertyquery.js.map +1 -0
- package/dist/esm/sdk/models/shared/areafilter.d.ts +69 -0
- package/dist/esm/sdk/models/shared/areafilter.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/areafilter.js +59 -0
- package/dist/esm/sdk/models/shared/areafilter.js.map +1 -0
- package/dist/esm/sdk/models/shared/errorresponse.d.ts +35 -0
- package/dist/esm/sdk/models/shared/errorresponse.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/errorresponse.js +37 -0
- package/dist/esm/sdk/models/shared/errorresponse.js.map +1 -0
- package/dist/esm/sdk/models/shared/healthresponse.d.ts +35 -0
- package/dist/esm/sdk/models/shared/healthresponse.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/healthresponse.js +37 -0
- package/dist/esm/sdk/models/shared/healthresponse.js.map +1 -0
- package/dist/esm/sdk/models/shared/index.d.ts +16 -0
- package/dist/esm/sdk/models/shared/index.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/index.js +19 -0
- package/dist/esm/sdk/models/shared/index.js.map +1 -0
- package/dist/esm/sdk/models/shared/planningapplication.d.ts +184 -0
- package/dist/esm/sdk/models/shared/planningapplication.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/planningapplication.js +146 -0
- package/dist/esm/sdk/models/shared/planningapplication.js.map +1 -0
- package/dist/esm/sdk/models/shared/planninglistresponse.d.ts +38 -0
- package/dist/esm/sdk/models/shared/planninglistresponse.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/planninglistresponse.js +40 -0
- package/dist/esm/sdk/models/shared/planninglistresponse.js.map +1 -0
- package/dist/esm/sdk/models/shared/planningqueryfilters.d.ts +82 -0
- package/dist/esm/sdk/models/shared/planningqueryfilters.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/planningqueryfilters.js +51 -0
- package/dist/esm/sdk/models/shared/planningqueryfilters.js.map +1 -0
- package/dist/esm/sdk/models/shared/planningqueryrequest.d.ts +98 -0
- package/dist/esm/sdk/models/shared/planningqueryrequest.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/planningqueryrequest.js +83 -0
- package/dist/esm/sdk/models/shared/planningqueryrequest.js.map +1 -0
- package/dist/esm/sdk/models/shared/pricingdata.d.ts +35 -0
- package/dist/esm/sdk/models/shared/pricingdata.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/pricingdata.js +37 -0
- package/dist/esm/sdk/models/shared/pricingdata.js.map +1 -0
- package/dist/esm/sdk/models/shared/propertyaddress.d.ts +43 -0
- package/dist/esm/sdk/models/shared/propertyaddress.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/propertyaddress.js +45 -0
- package/dist/esm/sdk/models/shared/propertyaddress.js.map +1 -0
- package/dist/esm/sdk/models/shared/propertybyslugsrequest.d.ts +47 -0
- package/dist/esm/sdk/models/shared/propertybyslugsrequest.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/propertybyslugsrequest.js +37 -0
- package/dist/esm/sdk/models/shared/propertybyslugsrequest.js.map +1 -0
- package/dist/esm/sdk/models/shared/propertydata.d.ts +95 -0
- package/dist/esm/sdk/models/shared/propertydata.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/propertydata.js +97 -0
- package/dist/esm/sdk/models/shared/propertydata.js.map +1 -0
- package/dist/esm/sdk/models/shared/propertyfilters.d.ts +41 -0
- package/dist/esm/sdk/models/shared/propertyfilters.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/propertyfilters.js +43 -0
- package/dist/esm/sdk/models/shared/propertyfilters.js.map +1 -0
- package/dist/esm/sdk/models/shared/propertylistresponse.d.ts +36 -0
- package/dist/esm/sdk/models/shared/propertylistresponse.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/propertylistresponse.js +38 -0
- package/dist/esm/sdk/models/shared/propertylistresponse.js.map +1 -0
- package/dist/esm/sdk/models/shared/propertyqueryrequest.d.ts +39 -0
- package/dist/esm/sdk/models/shared/propertyqueryrequest.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/propertyqueryrequest.js +41 -0
- package/dist/esm/sdk/models/shared/propertyqueryrequest.js.map +1 -0
- package/dist/esm/sdk/models/shared/security.d.ts +29 -0
- package/dist/esm/sdk/models/shared/security.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/security.js +40 -0
- package/dist/esm/sdk/models/shared/security.js.map +1 -0
- package/dist/esm/sdk/planning.d.ts +27 -0
- package/dist/esm/sdk/planning.d.ts.map +1 -0
- package/dist/esm/sdk/planning.js +38 -0
- package/dist/esm/sdk/planning.js.map +1 -0
- package/dist/esm/sdk/property.d.ts +41 -0
- package/dist/esm/sdk/property.d.ts.map +1 -0
- package/dist/esm/sdk/property.js +58 -0
- package/dist/esm/sdk/property.js.map +1 -0
- package/dist/esm/sdk/sdk.d.ts +13 -0
- package/dist/esm/sdk/sdk.d.ts.map +1 -0
- package/dist/esm/sdk/sdk.js +19 -0
- package/dist/esm/sdk/sdk.js.map +1 -0
- package/dist/esm/sdk/types/async.d.ts +23 -0
- package/dist/esm/sdk/types/async.d.ts.map +1 -0
- package/dist/esm/sdk/types/async.js +40 -0
- package/dist/esm/sdk/types/async.js.map +1 -0
- package/dist/esm/sdk/types/blobs.d.ts +4 -0
- package/dist/esm/sdk/types/blobs.d.ts.map +1 -0
- package/dist/esm/sdk/types/blobs.js +25 -0
- package/dist/esm/sdk/types/blobs.js.map +1 -0
- package/dist/esm/sdk/types/constdatetime.d.ts +3 -0
- package/dist/esm/sdk/types/constdatetime.d.ts.map +1 -0
- package/dist/esm/sdk/types/constdatetime.js +10 -0
- package/dist/esm/sdk/types/constdatetime.js.map +1 -0
- package/dist/esm/sdk/types/enums.d.ts +12 -0
- package/dist/esm/sdk/types/enums.d.ts.map +1 -0
- package/dist/esm/sdk/types/enums.js +7 -0
- package/dist/esm/sdk/types/enums.js.map +1 -0
- package/dist/esm/sdk/types/fp.d.ts +31 -0
- package/dist/esm/sdk/types/fp.d.ts.map +1 -0
- package/dist/esm/sdk/types/fp.js +31 -0
- package/dist/esm/sdk/types/fp.js.map +1 -0
- package/dist/esm/sdk/types/index.d.ts +8 -0
- package/dist/esm/sdk/types/index.d.ts.map +1 -0
- package/dist/esm/sdk/types/index.js +8 -0
- package/dist/esm/sdk/types/index.js.map +1 -0
- package/dist/esm/sdk/types/operations.d.ts +27 -0
- package/dist/esm/sdk/types/operations.d.ts.map +1 -0
- package/dist/esm/sdk/types/operations.js +77 -0
- package/dist/esm/sdk/types/operations.js.map +1 -0
- package/dist/esm/sdk/types/rfcdate.d.ts +21 -0
- package/dist/esm/sdk/types/rfcdate.d.ts.map +1 -0
- package/dist/esm/sdk/types/rfcdate.js +42 -0
- package/dist/esm/sdk/types/rfcdate.js.map +1 -0
- package/dist/esm/sdk/types/streams.d.ts +2 -0
- package/dist/esm/sdk/types/streams.d.ts.map +1 -0
- package/dist/esm/sdk/types/streams.js +15 -0
- package/dist/esm/sdk/types/streams.js.map +1 -0
- package/examples/healthGetV1PlanningHealth.example.ts +26 -0
- package/examples/package.json +18 -0
- package/jsr.json +27 -0
- package/openapi.json +1 -0
- package/package.json +122 -0
- package/src/core.ts +13 -0
- package/src/funcs/healthGetV1PlanningHealth.ts +140 -0
- package/src/funcs/healthGetV1PropertyHealth.ts +140 -0
- package/src/funcs/planningGetV1PlanningApplicationIds.ts +167 -0
- package/src/funcs/planningGetV1PlanningSourcesSourceIds.ts +169 -0
- package/src/funcs/planningPostV1PlanningQuery.ts +164 -0
- package/src/funcs/propertyGetV1PropertyLocationIds.ts +174 -0
- package/src/funcs/propertyGetV1PropertyPropertyIdPropertyIds.ts +185 -0
- package/src/funcs/propertyGetV1PropertySourcesSourceIds.ts +176 -0
- package/src/funcs/propertyPostV1PropertyPropertiesBySlugs.ts +173 -0
- package/src/funcs/propertyPostV1PropertyQuery.ts +164 -0
- package/src/hooks/hooks.ts +129 -0
- package/src/hooks/index.ts +6 -0
- package/src/hooks/registration.ts +14 -0
- package/src/hooks/types.ts +112 -0
- package/src/index.ts +9 -0
- package/src/lib/base64.ts +37 -0
- package/src/lib/config.ts +67 -0
- package/src/lib/dlv.ts +53 -0
- package/src/lib/encodings.ts +483 -0
- package/src/lib/files.ts +82 -0
- package/src/lib/http.ts +323 -0
- package/src/lib/is-plain-object.ts +43 -0
- package/src/lib/logger.ts +9 -0
- package/src/lib/matchers.ts +345 -0
- package/src/lib/primitives.ts +150 -0
- package/src/lib/retries.ts +218 -0
- package/src/lib/schemas.ts +91 -0
- package/src/lib/sdks.ts +403 -0
- package/src/lib/security.ts +263 -0
- package/src/lib/url.ts +33 -0
- package/src/sdk/health.ts +41 -0
- package/src/sdk/index.ts +5 -0
- package/src/sdk/models/errors/httpclienterrors.ts +62 -0
- package/src/sdk/models/errors/index.ts +8 -0
- package/src/sdk/models/errors/responsevalidationerror.ts +50 -0
- package/src/sdk/models/errors/sdkbaseerror.ts +35 -0
- package/src/sdk/models/errors/sdkerror.ts +40 -0
- package/src/sdk/models/errors/sdkvalidationerror.ts +109 -0
- package/src/sdk/models/operations/getv1planningapplicationids.ts +139 -0
- package/src/sdk/models/operations/getv1planningsourcessourceids.ts +140 -0
- package/src/sdk/models/operations/getv1propertylocationids.ts +155 -0
- package/src/sdk/models/operations/getv1propertypropertyidpropertyids.ts +173 -0
- package/src/sdk/models/operations/getv1propertysourcessourceids.ts +161 -0
- package/src/sdk/models/operations/index.ts +12 -0
- package/src/sdk/models/operations/postv1planningquery.ts +71 -0
- package/src/sdk/models/operations/postv1propertypropertiesbyslugs.ts +80 -0
- package/src/sdk/models/operations/postv1propertyquery.ts +71 -0
- package/src/sdk/models/shared/areafilter.ts +109 -0
- package/src/sdk/models/shared/errorresponse.ts +74 -0
- package/src/sdk/models/shared/healthresponse.ts +74 -0
- package/src/sdk/models/shared/index.ts +19 -0
- package/src/sdk/models/shared/planningapplication.ts +269 -0
- package/src/sdk/models/shared/planninglistresponse.ts +88 -0
- package/src/sdk/models/shared/planningqueryfilters.ts +139 -0
- package/src/sdk/models/shared/planningqueryrequest.ts +142 -0
- package/src/sdk/models/shared/pricingdata.ts +74 -0
- package/src/sdk/models/shared/propertyaddress.ts +92 -0
- package/src/sdk/models/shared/propertybyslugsrequest.ts +90 -0
- package/src/sdk/models/shared/propertydata.ts +214 -0
- package/src/sdk/models/shared/propertyfilters.ts +88 -0
- package/src/sdk/models/shared/propertylistresponse.ts +84 -0
- package/src/sdk/models/shared/propertyqueryrequest.ts +94 -0
- package/src/sdk/models/shared/security.ts +71 -0
- package/src/sdk/planning.ts +64 -0
- package/src/sdk/property.ts +100 -0
- package/src/sdk/sdk.ts +25 -0
- package/src/sdk/types/async.ts +68 -0
- package/src/sdk/types/blobs.ts +31 -0
- package/src/sdk/types/constdatetime.ts +15 -0
- package/src/sdk/types/enums.ts +16 -0
- package/src/sdk/types/fp.ts +50 -0
- package/src/sdk/types/index.ts +11 -0
- package/src/sdk/types/operations.ts +105 -0
- package/src/sdk/types/rfcdate.ts +54 -0
- package/src/sdk/types/streams.ts +21 -0
- package/test-local.ts +145 -0
- package/tsconfig.json +41 -0
|
@@ -0,0 +1,71 @@
|
|
|
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 PostV1PropertyQueryResponse =
|
|
12
|
+
| shared.PropertyListResponse
|
|
13
|
+
| shared.ErrorResponse;
|
|
14
|
+
|
|
15
|
+
/** @internal */
|
|
16
|
+
export const PostV1PropertyQueryResponse$inboundSchema: z.ZodType<
|
|
17
|
+
PostV1PropertyQueryResponse,
|
|
18
|
+
z.ZodTypeDef,
|
|
19
|
+
unknown
|
|
20
|
+
> = z.union([
|
|
21
|
+
shared.PropertyListResponse$inboundSchema,
|
|
22
|
+
shared.ErrorResponse$inboundSchema,
|
|
23
|
+
]);
|
|
24
|
+
|
|
25
|
+
/** @internal */
|
|
26
|
+
export type PostV1PropertyQueryResponse$Outbound =
|
|
27
|
+
| shared.PropertyListResponse$Outbound
|
|
28
|
+
| shared.ErrorResponse$Outbound;
|
|
29
|
+
|
|
30
|
+
/** @internal */
|
|
31
|
+
export const PostV1PropertyQueryResponse$outboundSchema: z.ZodType<
|
|
32
|
+
PostV1PropertyQueryResponse$Outbound,
|
|
33
|
+
z.ZodTypeDef,
|
|
34
|
+
PostV1PropertyQueryResponse
|
|
35
|
+
> = z.union([
|
|
36
|
+
shared.PropertyListResponse$outboundSchema,
|
|
37
|
+
shared.ErrorResponse$outboundSchema,
|
|
38
|
+
]);
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* @internal
|
|
42
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
43
|
+
*/
|
|
44
|
+
export namespace PostV1PropertyQueryResponse$ {
|
|
45
|
+
/** @deprecated use `PostV1PropertyQueryResponse$inboundSchema` instead. */
|
|
46
|
+
export const inboundSchema = PostV1PropertyQueryResponse$inboundSchema;
|
|
47
|
+
/** @deprecated use `PostV1PropertyQueryResponse$outboundSchema` instead. */
|
|
48
|
+
export const outboundSchema = PostV1PropertyQueryResponse$outboundSchema;
|
|
49
|
+
/** @deprecated use `PostV1PropertyQueryResponse$Outbound` instead. */
|
|
50
|
+
export type Outbound = PostV1PropertyQueryResponse$Outbound;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export function postV1PropertyQueryResponseToJSON(
|
|
54
|
+
postV1PropertyQueryResponse: PostV1PropertyQueryResponse,
|
|
55
|
+
): string {
|
|
56
|
+
return JSON.stringify(
|
|
57
|
+
PostV1PropertyQueryResponse$outboundSchema.parse(
|
|
58
|
+
postV1PropertyQueryResponse,
|
|
59
|
+
),
|
|
60
|
+
);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function postV1PropertyQueryResponseFromJSON(
|
|
64
|
+
jsonString: string,
|
|
65
|
+
): SafeParseResult<PostV1PropertyQueryResponse, SDKValidationError> {
|
|
66
|
+
return safeParse(
|
|
67
|
+
jsonString,
|
|
68
|
+
(x) => PostV1PropertyQueryResponse$inboundSchema.parse(JSON.parse(x)),
|
|
69
|
+
`Failed to parse 'PostV1PropertyQueryResponse' from JSON`,
|
|
70
|
+
);
|
|
71
|
+
}
|
|
@@ -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
|
+
import { safeParse } from "../../../lib/schemas.js";
|
|
7
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
export const Type = {
|
|
12
|
+
Postcode: "postcode",
|
|
13
|
+
Point: "point",
|
|
14
|
+
Polygon: "polygon",
|
|
15
|
+
} as const;
|
|
16
|
+
export type Type = ClosedEnum<typeof Type>;
|
|
17
|
+
|
|
18
|
+
export type AreaFilter = {
|
|
19
|
+
coordinates?: Array<number> | undefined;
|
|
20
|
+
polygon?: Array<Array<number>> | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* Radius in meters for coordinate searches
|
|
23
|
+
*/
|
|
24
|
+
radius?: number | undefined;
|
|
25
|
+
type: Type;
|
|
26
|
+
value?: string | undefined;
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
/** @internal */
|
|
30
|
+
export const Type$inboundSchema: z.ZodNativeEnum<typeof Type> = z.nativeEnum(
|
|
31
|
+
Type,
|
|
32
|
+
);
|
|
33
|
+
|
|
34
|
+
/** @internal */
|
|
35
|
+
export const Type$outboundSchema: z.ZodNativeEnum<typeof Type> =
|
|
36
|
+
Type$inboundSchema;
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* @internal
|
|
40
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
41
|
+
*/
|
|
42
|
+
export namespace Type$ {
|
|
43
|
+
/** @deprecated use `Type$inboundSchema` instead. */
|
|
44
|
+
export const inboundSchema = Type$inboundSchema;
|
|
45
|
+
/** @deprecated use `Type$outboundSchema` instead. */
|
|
46
|
+
export const outboundSchema = Type$outboundSchema;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/** @internal */
|
|
50
|
+
export const AreaFilter$inboundSchema: z.ZodType<
|
|
51
|
+
AreaFilter,
|
|
52
|
+
z.ZodTypeDef,
|
|
53
|
+
unknown
|
|
54
|
+
> = z.object({
|
|
55
|
+
coordinates: z.array(z.number()).optional(),
|
|
56
|
+
polygon: z.array(z.array(z.number())).optional(),
|
|
57
|
+
radius: z.number().optional(),
|
|
58
|
+
type: Type$inboundSchema,
|
|
59
|
+
value: z.string().optional(),
|
|
60
|
+
});
|
|
61
|
+
|
|
62
|
+
/** @internal */
|
|
63
|
+
export type AreaFilter$Outbound = {
|
|
64
|
+
coordinates?: Array<number> | undefined;
|
|
65
|
+
polygon?: Array<Array<number>> | undefined;
|
|
66
|
+
radius?: number | undefined;
|
|
67
|
+
type: string;
|
|
68
|
+
value?: string | undefined;
|
|
69
|
+
};
|
|
70
|
+
|
|
71
|
+
/** @internal */
|
|
72
|
+
export const AreaFilter$outboundSchema: z.ZodType<
|
|
73
|
+
AreaFilter$Outbound,
|
|
74
|
+
z.ZodTypeDef,
|
|
75
|
+
AreaFilter
|
|
76
|
+
> = z.object({
|
|
77
|
+
coordinates: z.array(z.number()).optional(),
|
|
78
|
+
polygon: z.array(z.array(z.number())).optional(),
|
|
79
|
+
radius: z.number().optional(),
|
|
80
|
+
type: Type$outboundSchema,
|
|
81
|
+
value: z.string().optional(),
|
|
82
|
+
});
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* @internal
|
|
86
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
87
|
+
*/
|
|
88
|
+
export namespace AreaFilter$ {
|
|
89
|
+
/** @deprecated use `AreaFilter$inboundSchema` instead. */
|
|
90
|
+
export const inboundSchema = AreaFilter$inboundSchema;
|
|
91
|
+
/** @deprecated use `AreaFilter$outboundSchema` instead. */
|
|
92
|
+
export const outboundSchema = AreaFilter$outboundSchema;
|
|
93
|
+
/** @deprecated use `AreaFilter$Outbound` instead. */
|
|
94
|
+
export type Outbound = AreaFilter$Outbound;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
export function areaFilterToJSON(areaFilter: AreaFilter): string {
|
|
98
|
+
return JSON.stringify(AreaFilter$outboundSchema.parse(areaFilter));
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
export function areaFilterFromJSON(
|
|
102
|
+
jsonString: string,
|
|
103
|
+
): SafeParseResult<AreaFilter, SDKValidationError> {
|
|
104
|
+
return safeParse(
|
|
105
|
+
jsonString,
|
|
106
|
+
(x) => AreaFilter$inboundSchema.parse(JSON.parse(x)),
|
|
107
|
+
`Failed to parse 'AreaFilter' from JSON`,
|
|
108
|
+
);
|
|
109
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
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
|
+
|
|
10
|
+
export type ErrorResponse = {
|
|
11
|
+
code?: string | undefined;
|
|
12
|
+
details?: any | null | undefined;
|
|
13
|
+
error: string;
|
|
14
|
+
success: boolean;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
/** @internal */
|
|
18
|
+
export const ErrorResponse$inboundSchema: z.ZodType<
|
|
19
|
+
ErrorResponse,
|
|
20
|
+
z.ZodTypeDef,
|
|
21
|
+
unknown
|
|
22
|
+
> = z.object({
|
|
23
|
+
code: z.string().optional(),
|
|
24
|
+
details: z.nullable(z.any()).optional(),
|
|
25
|
+
error: z.string(),
|
|
26
|
+
success: z.boolean(),
|
|
27
|
+
});
|
|
28
|
+
|
|
29
|
+
/** @internal */
|
|
30
|
+
export type ErrorResponse$Outbound = {
|
|
31
|
+
code?: string | undefined;
|
|
32
|
+
details?: any | null | undefined;
|
|
33
|
+
error: string;
|
|
34
|
+
success: boolean;
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
/** @internal */
|
|
38
|
+
export const ErrorResponse$outboundSchema: z.ZodType<
|
|
39
|
+
ErrorResponse$Outbound,
|
|
40
|
+
z.ZodTypeDef,
|
|
41
|
+
ErrorResponse
|
|
42
|
+
> = z.object({
|
|
43
|
+
code: z.string().optional(),
|
|
44
|
+
details: z.nullable(z.any()).optional(),
|
|
45
|
+
error: z.string(),
|
|
46
|
+
success: z.boolean(),
|
|
47
|
+
});
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* @internal
|
|
51
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
52
|
+
*/
|
|
53
|
+
export namespace ErrorResponse$ {
|
|
54
|
+
/** @deprecated use `ErrorResponse$inboundSchema` instead. */
|
|
55
|
+
export const inboundSchema = ErrorResponse$inboundSchema;
|
|
56
|
+
/** @deprecated use `ErrorResponse$outboundSchema` instead. */
|
|
57
|
+
export const outboundSchema = ErrorResponse$outboundSchema;
|
|
58
|
+
/** @deprecated use `ErrorResponse$Outbound` instead. */
|
|
59
|
+
export type Outbound = ErrorResponse$Outbound;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export function errorResponseToJSON(errorResponse: ErrorResponse): string {
|
|
63
|
+
return JSON.stringify(ErrorResponse$outboundSchema.parse(errorResponse));
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export function errorResponseFromJSON(
|
|
67
|
+
jsonString: string,
|
|
68
|
+
): SafeParseResult<ErrorResponse, SDKValidationError> {
|
|
69
|
+
return safeParse(
|
|
70
|
+
jsonString,
|
|
71
|
+
(x) => ErrorResponse$inboundSchema.parse(JSON.parse(x)),
|
|
72
|
+
`Failed to parse 'ErrorResponse' from JSON`,
|
|
73
|
+
);
|
|
74
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
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
|
+
|
|
10
|
+
export type HealthResponse = {
|
|
11
|
+
service: string;
|
|
12
|
+
status: string;
|
|
13
|
+
timestamp?: string | undefined;
|
|
14
|
+
version?: string | undefined;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
/** @internal */
|
|
18
|
+
export const HealthResponse$inboundSchema: z.ZodType<
|
|
19
|
+
HealthResponse,
|
|
20
|
+
z.ZodTypeDef,
|
|
21
|
+
unknown
|
|
22
|
+
> = z.object({
|
|
23
|
+
service: z.string(),
|
|
24
|
+
status: z.string(),
|
|
25
|
+
timestamp: z.string().optional(),
|
|
26
|
+
version: z.string().optional(),
|
|
27
|
+
});
|
|
28
|
+
|
|
29
|
+
/** @internal */
|
|
30
|
+
export type HealthResponse$Outbound = {
|
|
31
|
+
service: string;
|
|
32
|
+
status: string;
|
|
33
|
+
timestamp?: string | undefined;
|
|
34
|
+
version?: string | undefined;
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
/** @internal */
|
|
38
|
+
export const HealthResponse$outboundSchema: z.ZodType<
|
|
39
|
+
HealthResponse$Outbound,
|
|
40
|
+
z.ZodTypeDef,
|
|
41
|
+
HealthResponse
|
|
42
|
+
> = z.object({
|
|
43
|
+
service: z.string(),
|
|
44
|
+
status: z.string(),
|
|
45
|
+
timestamp: z.string().optional(),
|
|
46
|
+
version: z.string().optional(),
|
|
47
|
+
});
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* @internal
|
|
51
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
52
|
+
*/
|
|
53
|
+
export namespace HealthResponse$ {
|
|
54
|
+
/** @deprecated use `HealthResponse$inboundSchema` instead. */
|
|
55
|
+
export const inboundSchema = HealthResponse$inboundSchema;
|
|
56
|
+
/** @deprecated use `HealthResponse$outboundSchema` instead. */
|
|
57
|
+
export const outboundSchema = HealthResponse$outboundSchema;
|
|
58
|
+
/** @deprecated use `HealthResponse$Outbound` instead. */
|
|
59
|
+
export type Outbound = HealthResponse$Outbound;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export function healthResponseToJSON(healthResponse: HealthResponse): string {
|
|
63
|
+
return JSON.stringify(HealthResponse$outboundSchema.parse(healthResponse));
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export function healthResponseFromJSON(
|
|
67
|
+
jsonString: string,
|
|
68
|
+
): SafeParseResult<HealthResponse, SDKValidationError> {
|
|
69
|
+
return safeParse(
|
|
70
|
+
jsonString,
|
|
71
|
+
(x) => HealthResponse$inboundSchema.parse(JSON.parse(x)),
|
|
72
|
+
`Failed to parse 'HealthResponse' from JSON`,
|
|
73
|
+
);
|
|
74
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
export * from "./areafilter.js";
|
|
6
|
+
export * from "./errorresponse.js";
|
|
7
|
+
export * from "./healthresponse.js";
|
|
8
|
+
export * from "./planningapplication.js";
|
|
9
|
+
export * from "./planninglistresponse.js";
|
|
10
|
+
export * from "./planningqueryfilters.js";
|
|
11
|
+
export * from "./planningqueryrequest.js";
|
|
12
|
+
export * from "./pricingdata.js";
|
|
13
|
+
export * from "./propertyaddress.js";
|
|
14
|
+
export * from "./propertybyslugsrequest.js";
|
|
15
|
+
export * from "./propertydata.js";
|
|
16
|
+
export * from "./propertyfilters.js";
|
|
17
|
+
export * from "./propertylistresponse.js";
|
|
18
|
+
export * from "./propertyqueryrequest.js";
|
|
19
|
+
export * from "./security.js";
|
|
@@ -0,0 +1,269 @@
|
|
|
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 { ClosedEnum } from "../../types/enums.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
export const PlanningApplicationType = {
|
|
12
|
+
Point: "Point",
|
|
13
|
+
} as const;
|
|
14
|
+
export type PlanningApplicationType = ClosedEnum<
|
|
15
|
+
typeof PlanningApplicationType
|
|
16
|
+
>;
|
|
17
|
+
|
|
18
|
+
export type Spatial = {
|
|
19
|
+
coordinates: Array<number>;
|
|
20
|
+
type: PlanningApplicationType;
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
export const Status = {
|
|
24
|
+
Received: "received",
|
|
25
|
+
PendingValidation: "pending_validation",
|
|
26
|
+
Invalid: "invalid",
|
|
27
|
+
Valid: "valid",
|
|
28
|
+
UnderConsideration: "under_consideration",
|
|
29
|
+
Consultation: "consultation",
|
|
30
|
+
PendingDecision: "pending_decision",
|
|
31
|
+
Approved: "approved",
|
|
32
|
+
Rejected: "rejected",
|
|
33
|
+
Withdrawn: "withdrawn",
|
|
34
|
+
Appeal: "appeal",
|
|
35
|
+
OnHold: "on_hold",
|
|
36
|
+
Expired: "expired",
|
|
37
|
+
Unknown: "unknown",
|
|
38
|
+
} as const;
|
|
39
|
+
export type Status = ClosedEnum<typeof Status>;
|
|
40
|
+
|
|
41
|
+
export type PlanningApplication = {
|
|
42
|
+
appealedDate?: string | null | undefined;
|
|
43
|
+
appealedStatus?: string | null | undefined;
|
|
44
|
+
createdAt: string;
|
|
45
|
+
description?: string | null | undefined;
|
|
46
|
+
developmentCategory?: string | null | undefined;
|
|
47
|
+
id: string;
|
|
48
|
+
/**
|
|
49
|
+
* Application reference number
|
|
50
|
+
*/
|
|
51
|
+
key: string;
|
|
52
|
+
/**
|
|
53
|
+
* Council or planning authority
|
|
54
|
+
*/
|
|
55
|
+
provider: string;
|
|
56
|
+
receivedDate?: string | null | undefined;
|
|
57
|
+
sourceId: string;
|
|
58
|
+
spatial?: Spatial | null | undefined;
|
|
59
|
+
spatialFeatures?: any | null | undefined;
|
|
60
|
+
status: Status;
|
|
61
|
+
statusConfidence?: number | null | undefined;
|
|
62
|
+
statusExternal?: string | null | undefined;
|
|
63
|
+
type?: string | null | undefined;
|
|
64
|
+
typeConfidence?: number | null | undefined;
|
|
65
|
+
typeExternal?: string | null | undefined;
|
|
66
|
+
updatedAt: string;
|
|
67
|
+
validatedDate?: string | null | undefined;
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
/** @internal */
|
|
71
|
+
export const PlanningApplicationType$inboundSchema: z.ZodNativeEnum<
|
|
72
|
+
typeof PlanningApplicationType
|
|
73
|
+
> = z.nativeEnum(PlanningApplicationType);
|
|
74
|
+
|
|
75
|
+
/** @internal */
|
|
76
|
+
export const PlanningApplicationType$outboundSchema: z.ZodNativeEnum<
|
|
77
|
+
typeof PlanningApplicationType
|
|
78
|
+
> = PlanningApplicationType$inboundSchema;
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* @internal
|
|
82
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
83
|
+
*/
|
|
84
|
+
export namespace PlanningApplicationType$ {
|
|
85
|
+
/** @deprecated use `PlanningApplicationType$inboundSchema` instead. */
|
|
86
|
+
export const inboundSchema = PlanningApplicationType$inboundSchema;
|
|
87
|
+
/** @deprecated use `PlanningApplicationType$outboundSchema` instead. */
|
|
88
|
+
export const outboundSchema = PlanningApplicationType$outboundSchema;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
/** @internal */
|
|
92
|
+
export const Spatial$inboundSchema: z.ZodType<Spatial, z.ZodTypeDef, unknown> =
|
|
93
|
+
z.object({
|
|
94
|
+
coordinates: z.array(z.number()),
|
|
95
|
+
type: PlanningApplicationType$inboundSchema,
|
|
96
|
+
});
|
|
97
|
+
|
|
98
|
+
/** @internal */
|
|
99
|
+
export type Spatial$Outbound = {
|
|
100
|
+
coordinates: Array<number>;
|
|
101
|
+
type: string;
|
|
102
|
+
};
|
|
103
|
+
|
|
104
|
+
/** @internal */
|
|
105
|
+
export const Spatial$outboundSchema: z.ZodType<
|
|
106
|
+
Spatial$Outbound,
|
|
107
|
+
z.ZodTypeDef,
|
|
108
|
+
Spatial
|
|
109
|
+
> = z.object({
|
|
110
|
+
coordinates: z.array(z.number()),
|
|
111
|
+
type: PlanningApplicationType$outboundSchema,
|
|
112
|
+
});
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* @internal
|
|
116
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
117
|
+
*/
|
|
118
|
+
export namespace Spatial$ {
|
|
119
|
+
/** @deprecated use `Spatial$inboundSchema` instead. */
|
|
120
|
+
export const inboundSchema = Spatial$inboundSchema;
|
|
121
|
+
/** @deprecated use `Spatial$outboundSchema` instead. */
|
|
122
|
+
export const outboundSchema = Spatial$outboundSchema;
|
|
123
|
+
/** @deprecated use `Spatial$Outbound` instead. */
|
|
124
|
+
export type Outbound = Spatial$Outbound;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
export function spatialToJSON(spatial: Spatial): string {
|
|
128
|
+
return JSON.stringify(Spatial$outboundSchema.parse(spatial));
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
export function spatialFromJSON(
|
|
132
|
+
jsonString: string,
|
|
133
|
+
): SafeParseResult<Spatial, SDKValidationError> {
|
|
134
|
+
return safeParse(
|
|
135
|
+
jsonString,
|
|
136
|
+
(x) => Spatial$inboundSchema.parse(JSON.parse(x)),
|
|
137
|
+
`Failed to parse 'Spatial' from JSON`,
|
|
138
|
+
);
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
/** @internal */
|
|
142
|
+
export const Status$inboundSchema: z.ZodNativeEnum<typeof Status> = z
|
|
143
|
+
.nativeEnum(Status);
|
|
144
|
+
|
|
145
|
+
/** @internal */
|
|
146
|
+
export const Status$outboundSchema: z.ZodNativeEnum<typeof Status> =
|
|
147
|
+
Status$inboundSchema;
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* @internal
|
|
151
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
152
|
+
*/
|
|
153
|
+
export namespace Status$ {
|
|
154
|
+
/** @deprecated use `Status$inboundSchema` instead. */
|
|
155
|
+
export const inboundSchema = Status$inboundSchema;
|
|
156
|
+
/** @deprecated use `Status$outboundSchema` instead. */
|
|
157
|
+
export const outboundSchema = Status$outboundSchema;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
/** @internal */
|
|
161
|
+
export const PlanningApplication$inboundSchema: z.ZodType<
|
|
162
|
+
PlanningApplication,
|
|
163
|
+
z.ZodTypeDef,
|
|
164
|
+
unknown
|
|
165
|
+
> = z.object({
|
|
166
|
+
appealedDate: z.nullable(z.string()).optional(),
|
|
167
|
+
appealedStatus: z.nullable(z.string()).optional(),
|
|
168
|
+
createdAt: z.string(),
|
|
169
|
+
description: z.nullable(z.string()).optional(),
|
|
170
|
+
developmentCategory: z.nullable(z.string()).optional(),
|
|
171
|
+
id: z.string(),
|
|
172
|
+
key: z.string(),
|
|
173
|
+
provider: z.string(),
|
|
174
|
+
receivedDate: z.nullable(z.string()).optional(),
|
|
175
|
+
sourceId: z.string(),
|
|
176
|
+
spatial: z.nullable(z.lazy(() => Spatial$inboundSchema)).optional(),
|
|
177
|
+
spatialFeatures: z.nullable(z.any()).optional(),
|
|
178
|
+
status: Status$inboundSchema,
|
|
179
|
+
statusConfidence: z.nullable(z.number()).optional(),
|
|
180
|
+
statusExternal: z.nullable(z.string()).optional(),
|
|
181
|
+
type: z.nullable(z.string()).optional(),
|
|
182
|
+
typeConfidence: z.nullable(z.number()).optional(),
|
|
183
|
+
typeExternal: z.nullable(z.string()).optional(),
|
|
184
|
+
updatedAt: z.string(),
|
|
185
|
+
validatedDate: z.nullable(z.string()).optional(),
|
|
186
|
+
});
|
|
187
|
+
|
|
188
|
+
/** @internal */
|
|
189
|
+
export type PlanningApplication$Outbound = {
|
|
190
|
+
appealedDate?: string | null | undefined;
|
|
191
|
+
appealedStatus?: string | null | undefined;
|
|
192
|
+
createdAt: string;
|
|
193
|
+
description?: string | null | undefined;
|
|
194
|
+
developmentCategory?: string | null | undefined;
|
|
195
|
+
id: string;
|
|
196
|
+
key: string;
|
|
197
|
+
provider: string;
|
|
198
|
+
receivedDate?: string | null | undefined;
|
|
199
|
+
sourceId: string;
|
|
200
|
+
spatial?: Spatial$Outbound | null | undefined;
|
|
201
|
+
spatialFeatures?: any | null | undefined;
|
|
202
|
+
status: string;
|
|
203
|
+
statusConfidence?: number | null | undefined;
|
|
204
|
+
statusExternal?: string | null | undefined;
|
|
205
|
+
type?: string | null | undefined;
|
|
206
|
+
typeConfidence?: number | null | undefined;
|
|
207
|
+
typeExternal?: string | null | undefined;
|
|
208
|
+
updatedAt: string;
|
|
209
|
+
validatedDate?: string | null | undefined;
|
|
210
|
+
};
|
|
211
|
+
|
|
212
|
+
/** @internal */
|
|
213
|
+
export const PlanningApplication$outboundSchema: z.ZodType<
|
|
214
|
+
PlanningApplication$Outbound,
|
|
215
|
+
z.ZodTypeDef,
|
|
216
|
+
PlanningApplication
|
|
217
|
+
> = z.object({
|
|
218
|
+
appealedDate: z.nullable(z.string()).optional(),
|
|
219
|
+
appealedStatus: z.nullable(z.string()).optional(),
|
|
220
|
+
createdAt: z.string(),
|
|
221
|
+
description: z.nullable(z.string()).optional(),
|
|
222
|
+
developmentCategory: z.nullable(z.string()).optional(),
|
|
223
|
+
id: z.string(),
|
|
224
|
+
key: z.string(),
|
|
225
|
+
provider: z.string(),
|
|
226
|
+
receivedDate: z.nullable(z.string()).optional(),
|
|
227
|
+
sourceId: z.string(),
|
|
228
|
+
spatial: z.nullable(z.lazy(() => Spatial$outboundSchema)).optional(),
|
|
229
|
+
spatialFeatures: z.nullable(z.any()).optional(),
|
|
230
|
+
status: Status$outboundSchema,
|
|
231
|
+
statusConfidence: z.nullable(z.number()).optional(),
|
|
232
|
+
statusExternal: z.nullable(z.string()).optional(),
|
|
233
|
+
type: z.nullable(z.string()).optional(),
|
|
234
|
+
typeConfidence: z.nullable(z.number()).optional(),
|
|
235
|
+
typeExternal: z.nullable(z.string()).optional(),
|
|
236
|
+
updatedAt: z.string(),
|
|
237
|
+
validatedDate: z.nullable(z.string()).optional(),
|
|
238
|
+
});
|
|
239
|
+
|
|
240
|
+
/**
|
|
241
|
+
* @internal
|
|
242
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
243
|
+
*/
|
|
244
|
+
export namespace PlanningApplication$ {
|
|
245
|
+
/** @deprecated use `PlanningApplication$inboundSchema` instead. */
|
|
246
|
+
export const inboundSchema = PlanningApplication$inboundSchema;
|
|
247
|
+
/** @deprecated use `PlanningApplication$outboundSchema` instead. */
|
|
248
|
+
export const outboundSchema = PlanningApplication$outboundSchema;
|
|
249
|
+
/** @deprecated use `PlanningApplication$Outbound` instead. */
|
|
250
|
+
export type Outbound = PlanningApplication$Outbound;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
export function planningApplicationToJSON(
|
|
254
|
+
planningApplication: PlanningApplication,
|
|
255
|
+
): string {
|
|
256
|
+
return JSON.stringify(
|
|
257
|
+
PlanningApplication$outboundSchema.parse(planningApplication),
|
|
258
|
+
);
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
export function planningApplicationFromJSON(
|
|
262
|
+
jsonString: string,
|
|
263
|
+
): SafeParseResult<PlanningApplication, SDKValidationError> {
|
|
264
|
+
return safeParse(
|
|
265
|
+
jsonString,
|
|
266
|
+
(x) => PlanningApplication$inboundSchema.parse(JSON.parse(x)),
|
|
267
|
+
`Failed to parse 'PlanningApplication' from JSON`,
|
|
268
|
+
);
|
|
269
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
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 {
|
|
10
|
+
PlanningApplication,
|
|
11
|
+
PlanningApplication$inboundSchema,
|
|
12
|
+
PlanningApplication$Outbound,
|
|
13
|
+
PlanningApplication$outboundSchema,
|
|
14
|
+
} from "./planningapplication.js";
|
|
15
|
+
|
|
16
|
+
export type PlanningListResponse = {
|
|
17
|
+
applications: Array<PlanningApplication>;
|
|
18
|
+
limit: number;
|
|
19
|
+
offset: number;
|
|
20
|
+
success: boolean;
|
|
21
|
+
total: number;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
/** @internal */
|
|
25
|
+
export const PlanningListResponse$inboundSchema: z.ZodType<
|
|
26
|
+
PlanningListResponse,
|
|
27
|
+
z.ZodTypeDef,
|
|
28
|
+
unknown
|
|
29
|
+
> = z.object({
|
|
30
|
+
applications: z.array(PlanningApplication$inboundSchema),
|
|
31
|
+
limit: z.number(),
|
|
32
|
+
offset: z.number(),
|
|
33
|
+
success: z.boolean(),
|
|
34
|
+
total: z.number(),
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
/** @internal */
|
|
38
|
+
export type PlanningListResponse$Outbound = {
|
|
39
|
+
applications: Array<PlanningApplication$Outbound>;
|
|
40
|
+
limit: number;
|
|
41
|
+
offset: number;
|
|
42
|
+
success: boolean;
|
|
43
|
+
total: number;
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
/** @internal */
|
|
47
|
+
export const PlanningListResponse$outboundSchema: z.ZodType<
|
|
48
|
+
PlanningListResponse$Outbound,
|
|
49
|
+
z.ZodTypeDef,
|
|
50
|
+
PlanningListResponse
|
|
51
|
+
> = z.object({
|
|
52
|
+
applications: z.array(PlanningApplication$outboundSchema),
|
|
53
|
+
limit: z.number(),
|
|
54
|
+
offset: z.number(),
|
|
55
|
+
success: z.boolean(),
|
|
56
|
+
total: z.number(),
|
|
57
|
+
});
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* @internal
|
|
61
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
62
|
+
*/
|
|
63
|
+
export namespace PlanningListResponse$ {
|
|
64
|
+
/** @deprecated use `PlanningListResponse$inboundSchema` instead. */
|
|
65
|
+
export const inboundSchema = PlanningListResponse$inboundSchema;
|
|
66
|
+
/** @deprecated use `PlanningListResponse$outboundSchema` instead. */
|
|
67
|
+
export const outboundSchema = PlanningListResponse$outboundSchema;
|
|
68
|
+
/** @deprecated use `PlanningListResponse$Outbound` instead. */
|
|
69
|
+
export type Outbound = PlanningListResponse$Outbound;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function planningListResponseToJSON(
|
|
73
|
+
planningListResponse: PlanningListResponse,
|
|
74
|
+
): string {
|
|
75
|
+
return JSON.stringify(
|
|
76
|
+
PlanningListResponse$outboundSchema.parse(planningListResponse),
|
|
77
|
+
);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export function planningListResponseFromJSON(
|
|
81
|
+
jsonString: string,
|
|
82
|
+
): SafeParseResult<PlanningListResponse, SDKValidationError> {
|
|
83
|
+
return safeParse(
|
|
84
|
+
jsonString,
|
|
85
|
+
(x) => PlanningListResponse$inboundSchema.parse(JSON.parse(x)),
|
|
86
|
+
`Failed to parse 'PlanningListResponse' from JSON`,
|
|
87
|
+
);
|
|
88
|
+
}
|