@vepler/sdk 1.9.9 → 1.9.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/FUNCTIONS.md +3 -3
- package/README.md +30 -30
- package/dist/commonjs/funcs/{healthGetV1LocationHealth.d.ts → healthCheckLocationHealth.d.ts} +2 -2
- package/dist/commonjs/funcs/{healthGetV1PlanningHealth.d.ts.map → healthCheckLocationHealth.d.ts.map} +1 -1
- package/dist/commonjs/funcs/{healthGetV1LocationHealth.js → healthCheckLocationHealth.js} +4 -4
- package/dist/commonjs/funcs/{healthGetV1PlanningHealth.js.map → healthCheckLocationHealth.js.map} +1 -1
- package/dist/{esm/funcs/healthGetV1PlanningHealth.d.ts → commonjs/funcs/healthCheckPlanningHealth.d.ts} +2 -2
- package/dist/commonjs/funcs/{healthGetV1LocationHealth.d.ts.map → healthCheckPlanningHealth.d.ts.map} +1 -1
- package/dist/commonjs/funcs/{healthGetV1PlanningHealth.js → healthCheckPlanningHealth.js} +4 -4
- package/dist/commonjs/funcs/{healthGetV1PropertyHealth.js.map → healthCheckPlanningHealth.js.map} +1 -1
- package/dist/{esm/funcs/healthGetV1PropertyHealth.d.ts → commonjs/funcs/healthCheckPropertyHealth.d.ts} +2 -2
- package/dist/commonjs/funcs/{healthGetV1PropertyHealth.d.ts.map → healthCheckPropertyHealth.d.ts.map} +1 -1
- package/dist/commonjs/funcs/{healthGetV1PropertyHealth.js → healthCheckPropertyHealth.js} +4 -4
- package/dist/commonjs/funcs/{healthGetV1LocationHealth.js.map → healthCheckPropertyHealth.js.map} +1 -1
- package/dist/{esm/funcs/locationPostV1LocationStreetQuery.d.ts → commonjs/funcs/locationSearchStreets.d.ts} +2 -2
- package/dist/commonjs/funcs/locationSearchStreets.d.ts.map +1 -0
- package/dist/commonjs/funcs/{locationPostV1LocationStreetQuery.js → locationSearchStreets.js} +5 -5
- package/dist/commonjs/funcs/locationSearchStreets.js.map +1 -0
- package/dist/commonjs/funcs/{planningGetV1PlanningApplicationIds.d.ts → planningGetPlanningApplications.d.ts} +2 -2
- package/dist/commonjs/funcs/planningGetPlanningApplications.d.ts.map +1 -0
- package/dist/commonjs/funcs/{planningGetV1PlanningApplicationIds.js → planningGetPlanningApplications.js} +6 -6
- package/dist/commonjs/funcs/planningGetPlanningApplications.js.map +1 -0
- package/dist/commonjs/funcs/{planningGetV1PlanningSourcesSourceIds.d.ts → planningGetPlanningApplicationsBySource.d.ts} +2 -2
- package/dist/commonjs/funcs/planningGetPlanningApplicationsBySource.d.ts.map +1 -0
- package/dist/commonjs/funcs/{planningGetV1PlanningSourcesSourceIds.js → planningGetPlanningApplicationsBySource.js} +6 -6
- package/dist/commonjs/funcs/planningGetPlanningApplicationsBySource.js.map +1 -0
- package/dist/commonjs/funcs/{planningPostV1PlanningQuery.d.ts → planningSearchPlanningApplications.d.ts} +2 -2
- package/dist/commonjs/funcs/planningSearchPlanningApplications.d.ts.map +1 -0
- package/dist/commonjs/funcs/{planningPostV1PlanningQuery.js → planningSearchPlanningApplications.js} +5 -5
- package/dist/commonjs/funcs/planningSearchPlanningApplications.js.map +1 -0
- package/dist/{esm/funcs/propertyGetV1PropertyPropertyIdPropertyIds.d.ts → commonjs/funcs/propertyGetProperties.d.ts} +2 -2
- package/dist/commonjs/funcs/propertyGetProperties.d.ts.map +1 -0
- package/dist/commonjs/funcs/{propertyGetV1PropertyPropertyIdPropertyIds.js → propertyGetProperties.js} +6 -6
- package/dist/commonjs/funcs/propertyGetProperties.js.map +1 -0
- package/dist/{esm/funcs/propertyGetV1PropertyLocationIds.d.ts → commonjs/funcs/propertyGetPropertiesByLocation.d.ts} +2 -2
- package/dist/commonjs/funcs/propertyGetPropertiesByLocation.d.ts.map +1 -0
- package/dist/commonjs/funcs/{propertyGetV1PropertyLocationIds.js → propertyGetPropertiesByLocation.js} +6 -6
- package/dist/commonjs/funcs/propertyGetPropertiesByLocation.js.map +1 -0
- package/dist/commonjs/funcs/{propertyPostV1PropertyPropertiesBySlugs.d.ts → propertyGetPropertiesBySlugs.d.ts} +2 -2
- package/dist/commonjs/funcs/propertyGetPropertiesBySlugs.d.ts.map +1 -0
- package/dist/commonjs/funcs/{propertyPostV1PropertyPropertiesBySlugs.js → propertyGetPropertiesBySlugs.js} +5 -5
- package/dist/commonjs/funcs/propertyGetPropertiesBySlugs.js.map +1 -0
- package/dist/commonjs/funcs/{propertyGetV1PropertySourcesSourceIds.d.ts → propertyGetPropertiesBySource.d.ts} +2 -2
- package/dist/commonjs/funcs/propertyGetPropertiesBySource.d.ts.map +1 -0
- package/dist/commonjs/funcs/{propertyGetV1PropertySourcesSourceIds.js → propertyGetPropertiesBySource.js} +6 -6
- package/dist/commonjs/funcs/propertyGetPropertiesBySource.js.map +1 -0
- package/dist/commonjs/funcs/propertySearchProperties.d.ts +18 -0
- package/dist/commonjs/funcs/propertySearchProperties.d.ts.map +1 -0
- package/dist/commonjs/funcs/{propertyPostV1PropertyQuery.js → propertySearchProperties.js} +5 -5
- package/dist/commonjs/funcs/propertySearchProperties.js.map +1 -0
- package/dist/commonjs/sdk/health.d.ts +3 -3
- package/dist/commonjs/sdk/health.js +9 -9
- package/dist/commonjs/sdk/location.d.ts +1 -1
- package/dist/commonjs/sdk/location.d.ts.map +1 -1
- package/dist/commonjs/sdk/location.js +3 -3
- package/dist/commonjs/sdk/location.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/getplanningapplications.d.ts +54 -0
- package/dist/commonjs/sdk/models/operations/getplanningapplications.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/getplanningapplications.js +99 -0
- package/dist/commonjs/sdk/models/operations/getplanningapplications.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/getplanningapplicationsbysource.d.ts +54 -0
- package/dist/commonjs/sdk/models/operations/getplanningapplicationsbysource.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/getplanningapplicationsbysource.js +99 -0
- package/dist/commonjs/sdk/models/operations/getplanningapplicationsbysource.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/getproperties.d.ts +69 -0
- package/dist/commonjs/sdk/models/operations/getproperties.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/getproperties.js +105 -0
- package/dist/commonjs/sdk/models/operations/getproperties.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/getpropertiesbylocation.d.ts +69 -0
- package/dist/commonjs/sdk/models/operations/getpropertiesbylocation.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/getpropertiesbylocation.js +105 -0
- package/dist/commonjs/sdk/models/operations/getpropertiesbylocation.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/getpropertiesbyslugs.d.ts +26 -0
- package/dist/commonjs/sdk/models/operations/getpropertiesbyslugs.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/{postv1propertyquery.js → getpropertiesbyslugs.js} +17 -17
- package/dist/commonjs/sdk/models/operations/getpropertiesbyslugs.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/getpropertiesbysource.d.ts +69 -0
- package/dist/commonjs/sdk/models/operations/getpropertiesbysource.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/getpropertiesbysource.js +105 -0
- package/dist/commonjs/sdk/models/operations/getpropertiesbysource.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/index.d.ts +9 -9
- package/dist/commonjs/sdk/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/index.js +9 -9
- package/dist/commonjs/sdk/models/operations/index.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/searchplanningapplications.d.ts +26 -0
- package/dist/commonjs/sdk/models/operations/searchplanningapplications.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/{postv1propertypropertiesbyslugs.js → searchplanningapplications.js} +19 -19
- package/dist/commonjs/sdk/models/operations/searchplanningapplications.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/searchproperties.d.ts +26 -0
- package/dist/commonjs/sdk/models/operations/searchproperties.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/{postv1planningquery.js → searchproperties.js} +19 -19
- package/dist/commonjs/sdk/models/operations/searchproperties.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/searchstreets.d.ts +26 -0
- package/dist/commonjs/sdk/models/operations/searchstreets.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/{postv1locationstreetquery.js → searchstreets.js} +17 -17
- package/dist/commonjs/sdk/models/operations/searchstreets.js.map +1 -0
- package/dist/commonjs/sdk/planning.d.ts +7 -7
- package/dist/commonjs/sdk/planning.d.ts.map +1 -1
- package/dist/commonjs/sdk/planning.js +13 -13
- package/dist/commonjs/sdk/planning.js.map +1 -1
- package/dist/commonjs/sdk/property.d.ts +11 -11
- package/dist/commonjs/sdk/property.d.ts.map +1 -1
- package/dist/commonjs/sdk/property.js +21 -21
- package/dist/commonjs/sdk/property.js.map +1 -1
- package/dist/esm/funcs/{healthGetV1LocationHealth.d.ts → healthCheckLocationHealth.d.ts} +2 -2
- package/dist/esm/funcs/{healthGetV1LocationHealth.d.ts.map → healthCheckLocationHealth.d.ts.map} +1 -1
- package/dist/esm/funcs/{healthGetV1LocationHealth.js → healthCheckLocationHealth.js} +3 -3
- package/dist/esm/funcs/{healthGetV1PlanningHealth.js.map → healthCheckLocationHealth.js.map} +1 -1
- package/dist/{commonjs/funcs/healthGetV1PlanningHealth.d.ts → esm/funcs/healthCheckPlanningHealth.d.ts} +2 -2
- package/dist/esm/funcs/healthCheckPlanningHealth.d.ts.map +1 -0
- package/dist/esm/funcs/{healthGetV1PlanningHealth.js → healthCheckPlanningHealth.js} +3 -3
- package/dist/esm/funcs/{healthGetV1PropertyHealth.js.map → healthCheckPlanningHealth.js.map} +1 -1
- package/dist/{commonjs/funcs/healthGetV1PropertyHealth.d.ts → esm/funcs/healthCheckPropertyHealth.d.ts} +2 -2
- package/dist/esm/funcs/healthCheckPropertyHealth.d.ts.map +1 -0
- package/dist/esm/funcs/{healthGetV1PropertyHealth.js → healthCheckPropertyHealth.js} +3 -3
- package/dist/esm/funcs/{healthGetV1LocationHealth.js.map → healthCheckPropertyHealth.js.map} +1 -1
- package/dist/{commonjs/funcs/locationPostV1LocationStreetQuery.d.ts → esm/funcs/locationSearchStreets.d.ts} +2 -2
- package/dist/esm/funcs/locationSearchStreets.d.ts.map +1 -0
- package/dist/esm/funcs/{locationPostV1LocationStreetQuery.js → locationSearchStreets.js} +4 -4
- package/dist/esm/funcs/locationSearchStreets.js.map +1 -0
- package/dist/esm/funcs/{planningGetV1PlanningApplicationIds.d.ts → planningGetPlanningApplications.d.ts} +2 -2
- package/dist/esm/funcs/planningGetPlanningApplications.d.ts.map +1 -0
- package/dist/esm/funcs/{planningGetV1PlanningApplicationIds.js → planningGetPlanningApplications.js} +5 -5
- package/dist/esm/funcs/planningGetPlanningApplications.js.map +1 -0
- package/dist/esm/funcs/{planningGetV1PlanningSourcesSourceIds.d.ts → planningGetPlanningApplicationsBySource.d.ts} +2 -2
- package/dist/esm/funcs/planningGetPlanningApplicationsBySource.d.ts.map +1 -0
- package/dist/esm/funcs/{planningGetV1PlanningSourcesSourceIds.js → planningGetPlanningApplicationsBySource.js} +5 -5
- package/dist/esm/funcs/planningGetPlanningApplicationsBySource.js.map +1 -0
- package/dist/esm/funcs/{planningPostV1PlanningQuery.d.ts → planningSearchPlanningApplications.d.ts} +2 -2
- package/dist/esm/funcs/planningSearchPlanningApplications.d.ts.map +1 -0
- package/dist/esm/funcs/{planningPostV1PlanningQuery.js → planningSearchPlanningApplications.js} +4 -4
- package/dist/esm/funcs/planningSearchPlanningApplications.js.map +1 -0
- package/dist/{commonjs/funcs/propertyGetV1PropertyPropertyIdPropertyIds.d.ts → esm/funcs/propertyGetProperties.d.ts} +2 -2
- package/dist/esm/funcs/propertyGetProperties.d.ts.map +1 -0
- package/dist/esm/funcs/{propertyGetV1PropertyPropertyIdPropertyIds.js → propertyGetProperties.js} +5 -5
- package/dist/esm/funcs/propertyGetProperties.js.map +1 -0
- package/dist/{commonjs/funcs/propertyGetV1PropertyLocationIds.d.ts → esm/funcs/propertyGetPropertiesByLocation.d.ts} +2 -2
- package/dist/esm/funcs/propertyGetPropertiesByLocation.d.ts.map +1 -0
- package/dist/esm/funcs/{propertyGetV1PropertyLocationIds.js → propertyGetPropertiesByLocation.js} +5 -5
- package/dist/esm/funcs/propertyGetPropertiesByLocation.js.map +1 -0
- package/dist/esm/funcs/{propertyPostV1PropertyPropertiesBySlugs.d.ts → propertyGetPropertiesBySlugs.d.ts} +2 -2
- package/dist/esm/funcs/propertyGetPropertiesBySlugs.d.ts.map +1 -0
- package/dist/esm/funcs/{propertyPostV1PropertyPropertiesBySlugs.js → propertyGetPropertiesBySlugs.js} +4 -4
- package/dist/esm/funcs/propertyGetPropertiesBySlugs.js.map +1 -0
- package/dist/esm/funcs/{propertyGetV1PropertySourcesSourceIds.d.ts → propertyGetPropertiesBySource.d.ts} +2 -2
- package/dist/esm/funcs/propertyGetPropertiesBySource.d.ts.map +1 -0
- package/dist/esm/funcs/{propertyGetV1PropertySourcesSourceIds.js → propertyGetPropertiesBySource.js} +5 -5
- package/dist/esm/funcs/propertyGetPropertiesBySource.js.map +1 -0
- package/dist/esm/funcs/propertySearchProperties.d.ts +18 -0
- package/dist/esm/funcs/propertySearchProperties.d.ts.map +1 -0
- package/dist/esm/funcs/{propertyPostV1PropertyQuery.js → propertySearchProperties.js} +4 -4
- package/dist/esm/funcs/propertySearchProperties.js.map +1 -0
- package/dist/esm/sdk/health.d.ts +3 -3
- package/dist/esm/sdk/health.js +9 -9
- package/dist/esm/sdk/location.d.ts +1 -1
- package/dist/esm/sdk/location.d.ts.map +1 -1
- package/dist/esm/sdk/location.js +3 -3
- package/dist/esm/sdk/location.js.map +1 -1
- package/dist/esm/sdk/models/operations/getplanningapplications.d.ts +54 -0
- package/dist/esm/sdk/models/operations/getplanningapplications.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/getplanningapplications.js +59 -0
- package/dist/esm/sdk/models/operations/getplanningapplications.js.map +1 -0
- package/dist/esm/sdk/models/operations/getplanningapplicationsbysource.d.ts +54 -0
- package/dist/esm/sdk/models/operations/getplanningapplicationsbysource.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/getplanningapplicationsbysource.js +59 -0
- package/dist/esm/sdk/models/operations/getplanningapplicationsbysource.js.map +1 -0
- package/dist/esm/sdk/models/operations/getproperties.d.ts +69 -0
- package/dist/esm/sdk/models/operations/getproperties.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/getproperties.js +65 -0
- package/dist/esm/sdk/models/operations/getproperties.js.map +1 -0
- package/dist/esm/sdk/models/operations/getpropertiesbylocation.d.ts +69 -0
- package/dist/esm/sdk/models/operations/getpropertiesbylocation.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/getpropertiesbylocation.js +65 -0
- package/dist/esm/sdk/models/operations/getpropertiesbylocation.js.map +1 -0
- package/dist/esm/sdk/models/operations/getpropertiesbyslugs.d.ts +26 -0
- package/dist/esm/sdk/models/operations/getpropertiesbyslugs.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/getpropertiesbyslugs.js +34 -0
- package/dist/esm/sdk/models/operations/getpropertiesbyslugs.js.map +1 -0
- package/dist/esm/sdk/models/operations/getpropertiesbysource.d.ts +69 -0
- package/dist/esm/sdk/models/operations/getpropertiesbysource.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/getpropertiesbysource.js +65 -0
- package/dist/esm/sdk/models/operations/getpropertiesbysource.js.map +1 -0
- package/dist/esm/sdk/models/operations/index.d.ts +9 -9
- package/dist/esm/sdk/models/operations/index.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/index.js +9 -9
- package/dist/esm/sdk/models/operations/index.js.map +1 -1
- package/dist/esm/sdk/models/operations/searchplanningapplications.d.ts +26 -0
- package/dist/esm/sdk/models/operations/searchplanningapplications.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/searchplanningapplications.js +34 -0
- package/dist/esm/sdk/models/operations/searchplanningapplications.js.map +1 -0
- package/dist/esm/sdk/models/operations/searchproperties.d.ts +26 -0
- package/dist/esm/sdk/models/operations/searchproperties.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/searchproperties.js +34 -0
- package/dist/esm/sdk/models/operations/searchproperties.js.map +1 -0
- package/dist/esm/sdk/models/operations/searchstreets.d.ts +26 -0
- package/dist/esm/sdk/models/operations/searchstreets.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/searchstreets.js +34 -0
- package/dist/esm/sdk/models/operations/searchstreets.js.map +1 -0
- package/dist/esm/sdk/planning.d.ts +7 -7
- package/dist/esm/sdk/planning.d.ts.map +1 -1
- package/dist/esm/sdk/planning.js +13 -13
- package/dist/esm/sdk/planning.js.map +1 -1
- package/dist/esm/sdk/property.d.ts +11 -11
- package/dist/esm/sdk/property.d.ts.map +1 -1
- package/dist/esm/sdk/property.js +21 -21
- package/dist/esm/sdk/property.js.map +1 -1
- package/examples/{healthGetV1LocationHealth.example.ts → healthCheckLocationHealth.example.ts} +2 -2
- package/package.json +1 -1
- package/src/funcs/{healthGetV1LocationHealth.ts → healthCheckLocationHealth.ts} +2 -2
- package/src/funcs/{healthGetV1PlanningHealth.ts → healthCheckPlanningHealth.ts} +2 -2
- package/src/funcs/{healthGetV1PropertyHealth.ts → healthCheckPropertyHealth.ts} +2 -2
- package/src/funcs/{locationPostV1LocationStreetQuery.ts → locationSearchStreets.ts} +8 -11
- package/src/funcs/{planningGetV1PlanningApplicationIds.ts → planningGetPlanningApplications.ts} +11 -11
- package/src/funcs/{planningGetV1PlanningSourcesSourceIds.ts → planningGetPlanningApplicationsBySource.ts} +20 -11
- package/src/funcs/{planningPostV1PlanningQuery.ts → planningSearchPlanningApplications.ts} +8 -8
- package/src/funcs/{propertyGetV1PropertyPropertyIdPropertyIds.ts → propertyGetProperties.ts} +11 -23
- package/src/funcs/{propertyGetV1PropertyLocationIds.ts → propertyGetPropertiesByLocation.ts} +11 -11
- package/src/funcs/{propertyPostV1PropertyPropertiesBySlugs.ts → propertyGetPropertiesBySlugs.ts} +8 -17
- package/src/funcs/{propertyGetV1PropertySourcesSourceIds.ts → propertyGetPropertiesBySource.ts} +11 -13
- package/src/funcs/{propertyPostV1PropertyQuery.ts → propertySearchProperties.ts} +8 -8
- package/src/sdk/health.ts +9 -9
- package/src/sdk/location.ts +4 -4
- package/src/sdk/models/operations/getplanningapplications.ts +134 -0
- package/src/sdk/models/operations/getplanningapplicationsbysource.ts +147 -0
- package/src/sdk/models/operations/getproperties.ts +151 -0
- package/src/sdk/models/operations/getpropertiesbylocation.ts +155 -0
- package/src/sdk/models/operations/getpropertiesbyslugs.ts +71 -0
- package/src/sdk/models/operations/getpropertiesbysource.ts +155 -0
- package/src/sdk/models/operations/index.ts +9 -9
- package/src/sdk/models/operations/searchplanningapplications.ts +73 -0
- package/src/sdk/models/operations/searchproperties.ts +69 -0
- package/src/sdk/models/operations/searchstreets.ts +69 -0
- package/src/sdk/planning.ts +18 -18
- package/src/sdk/property.ts +30 -30
- package/dist/commonjs/funcs/locationPostV1LocationStreetQuery.d.ts.map +0 -1
- package/dist/commonjs/funcs/locationPostV1LocationStreetQuery.js.map +0 -1
- package/dist/commonjs/funcs/planningGetV1PlanningApplicationIds.d.ts.map +0 -1
- package/dist/commonjs/funcs/planningGetV1PlanningApplicationIds.js.map +0 -1
- package/dist/commonjs/funcs/planningGetV1PlanningSourcesSourceIds.d.ts.map +0 -1
- package/dist/commonjs/funcs/planningGetV1PlanningSourcesSourceIds.js.map +0 -1
- package/dist/commonjs/funcs/planningPostV1PlanningQuery.d.ts.map +0 -1
- package/dist/commonjs/funcs/planningPostV1PlanningQuery.js.map +0 -1
- package/dist/commonjs/funcs/propertyGetV1PropertyLocationIds.d.ts.map +0 -1
- package/dist/commonjs/funcs/propertyGetV1PropertyLocationIds.js.map +0 -1
- package/dist/commonjs/funcs/propertyGetV1PropertyPropertyIdPropertyIds.d.ts.map +0 -1
- package/dist/commonjs/funcs/propertyGetV1PropertyPropertyIdPropertyIds.js.map +0 -1
- package/dist/commonjs/funcs/propertyGetV1PropertySourcesSourceIds.d.ts.map +0 -1
- package/dist/commonjs/funcs/propertyGetV1PropertySourcesSourceIds.js.map +0 -1
- package/dist/commonjs/funcs/propertyPostV1PropertyPropertiesBySlugs.d.ts.map +0 -1
- package/dist/commonjs/funcs/propertyPostV1PropertyPropertiesBySlugs.js.map +0 -1
- package/dist/commonjs/funcs/propertyPostV1PropertyQuery.d.ts +0 -18
- package/dist/commonjs/funcs/propertyPostV1PropertyQuery.d.ts.map +0 -1
- package/dist/commonjs/funcs/propertyPostV1PropertyQuery.js.map +0 -1
- package/dist/commonjs/sdk/models/operations/getv1planningapplicationids.d.ts +0 -54
- package/dist/commonjs/sdk/models/operations/getv1planningapplicationids.d.ts.map +0 -1
- package/dist/commonjs/sdk/models/operations/getv1planningapplicationids.js +0 -99
- package/dist/commonjs/sdk/models/operations/getv1planningapplicationids.js.map +0 -1
- package/dist/commonjs/sdk/models/operations/getv1planningsourcessourceids.d.ts +0 -54
- package/dist/commonjs/sdk/models/operations/getv1planningsourcessourceids.d.ts.map +0 -1
- package/dist/commonjs/sdk/models/operations/getv1planningsourcessourceids.js +0 -99
- package/dist/commonjs/sdk/models/operations/getv1planningsourcessourceids.js.map +0 -1
- package/dist/commonjs/sdk/models/operations/getv1propertylocationids.d.ts +0 -69
- package/dist/commonjs/sdk/models/operations/getv1propertylocationids.d.ts.map +0 -1
- package/dist/commonjs/sdk/models/operations/getv1propertylocationids.js +0 -105
- package/dist/commonjs/sdk/models/operations/getv1propertylocationids.js.map +0 -1
- package/dist/commonjs/sdk/models/operations/getv1propertypropertyidpropertyids.d.ts +0 -69
- package/dist/commonjs/sdk/models/operations/getv1propertypropertyidpropertyids.d.ts.map +0 -1
- package/dist/commonjs/sdk/models/operations/getv1propertypropertyidpropertyids.js +0 -105
- package/dist/commonjs/sdk/models/operations/getv1propertypropertyidpropertyids.js.map +0 -1
- package/dist/commonjs/sdk/models/operations/getv1propertysourcessourceids.d.ts +0 -69
- package/dist/commonjs/sdk/models/operations/getv1propertysourcessourceids.d.ts.map +0 -1
- package/dist/commonjs/sdk/models/operations/getv1propertysourcessourceids.js +0 -105
- package/dist/commonjs/sdk/models/operations/getv1propertysourcessourceids.js.map +0 -1
- package/dist/commonjs/sdk/models/operations/postv1locationstreetquery.d.ts +0 -26
- package/dist/commonjs/sdk/models/operations/postv1locationstreetquery.d.ts.map +0 -1
- package/dist/commonjs/sdk/models/operations/postv1locationstreetquery.js.map +0 -1
- package/dist/commonjs/sdk/models/operations/postv1planningquery.d.ts +0 -26
- package/dist/commonjs/sdk/models/operations/postv1planningquery.d.ts.map +0 -1
- package/dist/commonjs/sdk/models/operations/postv1planningquery.js.map +0 -1
- package/dist/commonjs/sdk/models/operations/postv1propertypropertiesbyslugs.d.ts +0 -26
- package/dist/commonjs/sdk/models/operations/postv1propertypropertiesbyslugs.d.ts.map +0 -1
- package/dist/commonjs/sdk/models/operations/postv1propertypropertiesbyslugs.js.map +0 -1
- package/dist/commonjs/sdk/models/operations/postv1propertyquery.d.ts +0 -26
- package/dist/commonjs/sdk/models/operations/postv1propertyquery.d.ts.map +0 -1
- package/dist/commonjs/sdk/models/operations/postv1propertyquery.js.map +0 -1
- package/dist/esm/funcs/healthGetV1PlanningHealth.d.ts.map +0 -1
- package/dist/esm/funcs/healthGetV1PropertyHealth.d.ts.map +0 -1
- package/dist/esm/funcs/locationPostV1LocationStreetQuery.d.ts.map +0 -1
- package/dist/esm/funcs/locationPostV1LocationStreetQuery.js.map +0 -1
- package/dist/esm/funcs/planningGetV1PlanningApplicationIds.d.ts.map +0 -1
- package/dist/esm/funcs/planningGetV1PlanningApplicationIds.js.map +0 -1
- package/dist/esm/funcs/planningGetV1PlanningSourcesSourceIds.d.ts.map +0 -1
- package/dist/esm/funcs/planningGetV1PlanningSourcesSourceIds.js.map +0 -1
- package/dist/esm/funcs/planningPostV1PlanningQuery.d.ts.map +0 -1
- package/dist/esm/funcs/planningPostV1PlanningQuery.js.map +0 -1
- package/dist/esm/funcs/propertyGetV1PropertyLocationIds.d.ts.map +0 -1
- package/dist/esm/funcs/propertyGetV1PropertyLocationIds.js.map +0 -1
- package/dist/esm/funcs/propertyGetV1PropertyPropertyIdPropertyIds.d.ts.map +0 -1
- package/dist/esm/funcs/propertyGetV1PropertyPropertyIdPropertyIds.js.map +0 -1
- package/dist/esm/funcs/propertyGetV1PropertySourcesSourceIds.d.ts.map +0 -1
- package/dist/esm/funcs/propertyGetV1PropertySourcesSourceIds.js.map +0 -1
- package/dist/esm/funcs/propertyPostV1PropertyPropertiesBySlugs.d.ts.map +0 -1
- package/dist/esm/funcs/propertyPostV1PropertyPropertiesBySlugs.js.map +0 -1
- package/dist/esm/funcs/propertyPostV1PropertyQuery.d.ts +0 -18
- package/dist/esm/funcs/propertyPostV1PropertyQuery.d.ts.map +0 -1
- package/dist/esm/funcs/propertyPostV1PropertyQuery.js.map +0 -1
- package/dist/esm/sdk/models/operations/getv1planningapplicationids.d.ts +0 -54
- package/dist/esm/sdk/models/operations/getv1planningapplicationids.d.ts.map +0 -1
- package/dist/esm/sdk/models/operations/getv1planningapplicationids.js +0 -59
- package/dist/esm/sdk/models/operations/getv1planningapplicationids.js.map +0 -1
- package/dist/esm/sdk/models/operations/getv1planningsourcessourceids.d.ts +0 -54
- package/dist/esm/sdk/models/operations/getv1planningsourcessourceids.d.ts.map +0 -1
- package/dist/esm/sdk/models/operations/getv1planningsourcessourceids.js +0 -59
- package/dist/esm/sdk/models/operations/getv1planningsourcessourceids.js.map +0 -1
- package/dist/esm/sdk/models/operations/getv1propertylocationids.d.ts +0 -69
- package/dist/esm/sdk/models/operations/getv1propertylocationids.d.ts.map +0 -1
- package/dist/esm/sdk/models/operations/getv1propertylocationids.js +0 -65
- package/dist/esm/sdk/models/operations/getv1propertylocationids.js.map +0 -1
- package/dist/esm/sdk/models/operations/getv1propertypropertyidpropertyids.d.ts +0 -69
- package/dist/esm/sdk/models/operations/getv1propertypropertyidpropertyids.d.ts.map +0 -1
- package/dist/esm/sdk/models/operations/getv1propertypropertyidpropertyids.js +0 -65
- package/dist/esm/sdk/models/operations/getv1propertypropertyidpropertyids.js.map +0 -1
- package/dist/esm/sdk/models/operations/getv1propertysourcessourceids.d.ts +0 -69
- package/dist/esm/sdk/models/operations/getv1propertysourcessourceids.d.ts.map +0 -1
- package/dist/esm/sdk/models/operations/getv1propertysourcessourceids.js +0 -65
- package/dist/esm/sdk/models/operations/getv1propertysourcessourceids.js.map +0 -1
- package/dist/esm/sdk/models/operations/postv1locationstreetquery.d.ts +0 -26
- package/dist/esm/sdk/models/operations/postv1locationstreetquery.d.ts.map +0 -1
- package/dist/esm/sdk/models/operations/postv1locationstreetquery.js +0 -34
- package/dist/esm/sdk/models/operations/postv1locationstreetquery.js.map +0 -1
- package/dist/esm/sdk/models/operations/postv1planningquery.d.ts +0 -26
- package/dist/esm/sdk/models/operations/postv1planningquery.d.ts.map +0 -1
- package/dist/esm/sdk/models/operations/postv1planningquery.js +0 -34
- package/dist/esm/sdk/models/operations/postv1planningquery.js.map +0 -1
- package/dist/esm/sdk/models/operations/postv1propertypropertiesbyslugs.d.ts +0 -26
- package/dist/esm/sdk/models/operations/postv1propertypropertiesbyslugs.d.ts.map +0 -1
- package/dist/esm/sdk/models/operations/postv1propertypropertiesbyslugs.js +0 -34
- package/dist/esm/sdk/models/operations/postv1propertypropertiesbyslugs.js.map +0 -1
- package/dist/esm/sdk/models/operations/postv1propertyquery.d.ts +0 -26
- package/dist/esm/sdk/models/operations/postv1propertyquery.d.ts.map +0 -1
- package/dist/esm/sdk/models/operations/postv1propertyquery.js +0 -34
- package/dist/esm/sdk/models/operations/postv1propertyquery.js.map +0 -1
- package/src/sdk/models/operations/getv1planningapplicationids.ts +0 -139
- package/src/sdk/models/operations/getv1planningsourcessourceids.ts +0 -140
- package/src/sdk/models/operations/getv1propertylocationids.ts +0 -155
- package/src/sdk/models/operations/getv1propertypropertyidpropertyids.ts +0 -173
- package/src/sdk/models/operations/getv1propertysourcessourceids.ts +0 -161
- package/src/sdk/models/operations/postv1locationstreetquery.ts +0 -72
- package/src/sdk/models/operations/postv1planningquery.ts +0 -71
- package/src/sdk/models/operations/postv1propertypropertiesbyslugs.ts +0 -80
- package/src/sdk/models/operations/postv1propertyquery.ts +0 -71
package/src/funcs/{propertyGetV1PropertySourcesSourceIds.ts → propertyGetPropertiesBySource.ts}
RENAMED
|
@@ -30,13 +30,13 @@ import { Result } from "../sdk/types/fp.js";
|
|
|
30
30
|
* @remarks
|
|
31
31
|
* Retrieve property data using comma-separated source identifiers (e.g., provider-a::123)
|
|
32
32
|
*/
|
|
33
|
-
export function
|
|
33
|
+
export function propertyGetPropertiesBySource(
|
|
34
34
|
client: SDKCore,
|
|
35
|
-
request: operations.
|
|
35
|
+
request: operations.GetPropertiesBySourceRequest,
|
|
36
36
|
options?: RequestOptions,
|
|
37
37
|
): APIPromise<
|
|
38
38
|
Result<
|
|
39
|
-
operations.
|
|
39
|
+
operations.GetPropertiesBySourceResponse,
|
|
40
40
|
| SDKBaseError
|
|
41
41
|
| ResponseValidationError
|
|
42
42
|
| ConnectionError
|
|
@@ -56,12 +56,12 @@ export function propertyGetV1PropertySourcesSourceIds(
|
|
|
56
56
|
|
|
57
57
|
async function $do(
|
|
58
58
|
client: SDKCore,
|
|
59
|
-
request: operations.
|
|
59
|
+
request: operations.GetPropertiesBySourceRequest,
|
|
60
60
|
options?: RequestOptions,
|
|
61
61
|
): Promise<
|
|
62
62
|
[
|
|
63
63
|
Result<
|
|
64
|
-
operations.
|
|
64
|
+
operations.GetPropertiesBySourceResponse,
|
|
65
65
|
| SDKBaseError
|
|
66
66
|
| ResponseValidationError
|
|
67
67
|
| ConnectionError
|
|
@@ -77,9 +77,7 @@ async function $do(
|
|
|
77
77
|
const parsed = safeParse(
|
|
78
78
|
request,
|
|
79
79
|
(value) =>
|
|
80
|
-
operations.
|
|
81
|
-
value,
|
|
82
|
-
),
|
|
80
|
+
operations.GetPropertiesBySourceRequest$outboundSchema.parse(value),
|
|
83
81
|
"Input validation failed",
|
|
84
82
|
);
|
|
85
83
|
if (!parsed.ok) {
|
|
@@ -114,7 +112,7 @@ async function $do(
|
|
|
114
112
|
const context = {
|
|
115
113
|
options: client._options,
|
|
116
114
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
117
|
-
operationID: "
|
|
115
|
+
operationID: "getPropertiesBySource",
|
|
118
116
|
oAuth2Scopes: [],
|
|
119
117
|
|
|
120
118
|
resolvedSecurity: requestSecurity,
|
|
@@ -154,7 +152,7 @@ async function $do(
|
|
|
154
152
|
const response = doResult.value;
|
|
155
153
|
|
|
156
154
|
const [result] = await M.match<
|
|
157
|
-
operations.
|
|
155
|
+
operations.GetPropertiesBySourceResponse,
|
|
158
156
|
| SDKBaseError
|
|
159
157
|
| ResponseValidationError
|
|
160
158
|
| ConnectionError
|
|
@@ -164,9 +162,9 @@ async function $do(
|
|
|
164
162
|
| UnexpectedClientError
|
|
165
163
|
| SDKValidationError
|
|
166
164
|
>(
|
|
167
|
-
M.json(200, operations.
|
|
168
|
-
M.json(400, operations.
|
|
169
|
-
M.json(500, operations.
|
|
165
|
+
M.json(200, operations.GetPropertiesBySourceResponse$inboundSchema),
|
|
166
|
+
M.json(400, operations.GetPropertiesBySourceResponse$inboundSchema),
|
|
167
|
+
M.json(500, operations.GetPropertiesBySourceResponse$inboundSchema),
|
|
170
168
|
)(response, req);
|
|
171
169
|
if (!result.ok) {
|
|
172
170
|
return [result, { status: "complete", request: req, response }];
|
|
@@ -31,13 +31,13 @@ import { Result } from "../sdk/types/fp.js";
|
|
|
31
31
|
* @remarks
|
|
32
32
|
* Search for properties using location, price, and other criteria
|
|
33
33
|
*/
|
|
34
|
-
export function
|
|
34
|
+
export function propertySearchProperties(
|
|
35
35
|
client: SDKCore,
|
|
36
36
|
request?: shared.PropertyQueryRequest | undefined,
|
|
37
37
|
options?: RequestOptions,
|
|
38
38
|
): APIPromise<
|
|
39
39
|
Result<
|
|
40
|
-
operations.
|
|
40
|
+
operations.SearchPropertiesResponse,
|
|
41
41
|
| SDKBaseError
|
|
42
42
|
| ResponseValidationError
|
|
43
43
|
| ConnectionError
|
|
@@ -62,7 +62,7 @@ async function $do(
|
|
|
62
62
|
): Promise<
|
|
63
63
|
[
|
|
64
64
|
Result<
|
|
65
|
-
operations.
|
|
65
|
+
operations.SearchPropertiesResponse,
|
|
66
66
|
| SDKBaseError
|
|
67
67
|
| ResponseValidationError
|
|
68
68
|
| ConnectionError
|
|
@@ -103,7 +103,7 @@ async function $do(
|
|
|
103
103
|
const context = {
|
|
104
104
|
options: client._options,
|
|
105
105
|
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
106
|
-
operationID: "
|
|
106
|
+
operationID: "searchProperties",
|
|
107
107
|
oAuth2Scopes: [],
|
|
108
108
|
|
|
109
109
|
resolvedSecurity: requestSecurity,
|
|
@@ -142,7 +142,7 @@ async function $do(
|
|
|
142
142
|
const response = doResult.value;
|
|
143
143
|
|
|
144
144
|
const [result] = await M.match<
|
|
145
|
-
operations.
|
|
145
|
+
operations.SearchPropertiesResponse,
|
|
146
146
|
| SDKBaseError
|
|
147
147
|
| ResponseValidationError
|
|
148
148
|
| ConnectionError
|
|
@@ -152,9 +152,9 @@ async function $do(
|
|
|
152
152
|
| UnexpectedClientError
|
|
153
153
|
| SDKValidationError
|
|
154
154
|
>(
|
|
155
|
-
M.json(200, operations.
|
|
156
|
-
M.json(400, operations.
|
|
157
|
-
M.json(500, operations.
|
|
155
|
+
M.json(200, operations.SearchPropertiesResponse$inboundSchema),
|
|
156
|
+
M.json(400, operations.SearchPropertiesResponse$inboundSchema),
|
|
157
|
+
M.json(500, operations.SearchPropertiesResponse$inboundSchema),
|
|
158
158
|
)(response, req);
|
|
159
159
|
if (!result.ok) {
|
|
160
160
|
return [result, { status: "complete", request: req, response }];
|
package/src/sdk/health.ts
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
5
|
+
import { healthCheckLocationHealth } from "../funcs/healthCheckLocationHealth.js";
|
|
6
|
+
import { healthCheckPlanningHealth } from "../funcs/healthCheckPlanningHealth.js";
|
|
7
|
+
import { healthCheckPropertyHealth } from "../funcs/healthCheckPropertyHealth.js";
|
|
8
8
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
9
9
|
import * as shared from "./models/shared/index.js";
|
|
10
10
|
import { unwrapAsync } from "./types/fp.js";
|
|
@@ -16,10 +16,10 @@ export class Health extends ClientSDK {
|
|
|
16
16
|
* @remarks
|
|
17
17
|
* Check if the location service is operational
|
|
18
18
|
*/
|
|
19
|
-
async
|
|
19
|
+
async checkLocationHealth(
|
|
20
20
|
options?: RequestOptions,
|
|
21
21
|
): Promise<shared.HealthResponse> {
|
|
22
|
-
return unwrapAsync(
|
|
22
|
+
return unwrapAsync(healthCheckLocationHealth(
|
|
23
23
|
this,
|
|
24
24
|
options,
|
|
25
25
|
));
|
|
@@ -31,10 +31,10 @@ export class Health extends ClientSDK {
|
|
|
31
31
|
* @remarks
|
|
32
32
|
* Check if the planning service is operational
|
|
33
33
|
*/
|
|
34
|
-
async
|
|
34
|
+
async checkPlanningHealth(
|
|
35
35
|
options?: RequestOptions,
|
|
36
36
|
): Promise<shared.HealthResponse> {
|
|
37
|
-
return unwrapAsync(
|
|
37
|
+
return unwrapAsync(healthCheckPlanningHealth(
|
|
38
38
|
this,
|
|
39
39
|
options,
|
|
40
40
|
));
|
|
@@ -46,10 +46,10 @@ export class Health extends ClientSDK {
|
|
|
46
46
|
* @remarks
|
|
47
47
|
* Check if the property service is operational
|
|
48
48
|
*/
|
|
49
|
-
async
|
|
49
|
+
async checkPropertyHealth(
|
|
50
50
|
options?: RequestOptions,
|
|
51
51
|
): Promise<shared.HealthResponse> {
|
|
52
|
-
return unwrapAsync(
|
|
52
|
+
return unwrapAsync(healthCheckPropertyHealth(
|
|
53
53
|
this,
|
|
54
54
|
options,
|
|
55
55
|
));
|
package/src/sdk/location.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import {
|
|
5
|
+
import { locationSearchStreets } from "../funcs/locationSearchStreets.js";
|
|
6
6
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
7
7
|
import * as operations from "./models/operations/index.js";
|
|
8
8
|
import * as shared from "./models/shared/index.js";
|
|
@@ -15,11 +15,11 @@ export class Location extends ClientSDK {
|
|
|
15
15
|
* @remarks
|
|
16
16
|
* Query streets using USRN, UPRN, coordinates, name, or postcode. Optionally include properties and statistics.
|
|
17
17
|
*/
|
|
18
|
-
async
|
|
18
|
+
async searchStreets(
|
|
19
19
|
request?: shared.StreetQueryRequest | undefined,
|
|
20
20
|
options?: RequestOptions,
|
|
21
|
-
): Promise<operations.
|
|
22
|
-
return unwrapAsync(
|
|
21
|
+
): Promise<operations.SearchStreetsResponse> {
|
|
22
|
+
return unwrapAsync(locationSearchStreets(
|
|
23
23
|
this,
|
|
24
24
|
request,
|
|
25
25
|
options,
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { safeParse } from "../../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
import * as shared from "../shared/index.js";
|
|
10
|
+
|
|
11
|
+
export type GetPlanningApplicationsRequest = {
|
|
12
|
+
/**
|
|
13
|
+
* Comma-separated list of planning application IDs
|
|
14
|
+
*/
|
|
15
|
+
applicationIds: string;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
export type GetPlanningApplicationsResponse =
|
|
19
|
+
| shared.PlanningListResponse
|
|
20
|
+
| shared.ErrorResponse;
|
|
21
|
+
|
|
22
|
+
/** @internal */
|
|
23
|
+
export const GetPlanningApplicationsRequest$inboundSchema: z.ZodType<
|
|
24
|
+
GetPlanningApplicationsRequest,
|
|
25
|
+
z.ZodTypeDef,
|
|
26
|
+
unknown
|
|
27
|
+
> = z.object({
|
|
28
|
+
applicationIds: z.string(),
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
/** @internal */
|
|
32
|
+
export type GetPlanningApplicationsRequest$Outbound = {
|
|
33
|
+
applicationIds: string;
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
/** @internal */
|
|
37
|
+
export const GetPlanningApplicationsRequest$outboundSchema: z.ZodType<
|
|
38
|
+
GetPlanningApplicationsRequest$Outbound,
|
|
39
|
+
z.ZodTypeDef,
|
|
40
|
+
GetPlanningApplicationsRequest
|
|
41
|
+
> = z.object({
|
|
42
|
+
applicationIds: z.string(),
|
|
43
|
+
});
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* @internal
|
|
47
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
48
|
+
*/
|
|
49
|
+
export namespace GetPlanningApplicationsRequest$ {
|
|
50
|
+
/** @deprecated use `GetPlanningApplicationsRequest$inboundSchema` instead. */
|
|
51
|
+
export const inboundSchema = GetPlanningApplicationsRequest$inboundSchema;
|
|
52
|
+
/** @deprecated use `GetPlanningApplicationsRequest$outboundSchema` instead. */
|
|
53
|
+
export const outboundSchema = GetPlanningApplicationsRequest$outboundSchema;
|
|
54
|
+
/** @deprecated use `GetPlanningApplicationsRequest$Outbound` instead. */
|
|
55
|
+
export type Outbound = GetPlanningApplicationsRequest$Outbound;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export function getPlanningApplicationsRequestToJSON(
|
|
59
|
+
getPlanningApplicationsRequest: GetPlanningApplicationsRequest,
|
|
60
|
+
): string {
|
|
61
|
+
return JSON.stringify(
|
|
62
|
+
GetPlanningApplicationsRequest$outboundSchema.parse(
|
|
63
|
+
getPlanningApplicationsRequest,
|
|
64
|
+
),
|
|
65
|
+
);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function getPlanningApplicationsRequestFromJSON(
|
|
69
|
+
jsonString: string,
|
|
70
|
+
): SafeParseResult<GetPlanningApplicationsRequest, SDKValidationError> {
|
|
71
|
+
return safeParse(
|
|
72
|
+
jsonString,
|
|
73
|
+
(x) => GetPlanningApplicationsRequest$inboundSchema.parse(JSON.parse(x)),
|
|
74
|
+
`Failed to parse 'GetPlanningApplicationsRequest' from JSON`,
|
|
75
|
+
);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
/** @internal */
|
|
79
|
+
export const GetPlanningApplicationsResponse$inboundSchema: z.ZodType<
|
|
80
|
+
GetPlanningApplicationsResponse,
|
|
81
|
+
z.ZodTypeDef,
|
|
82
|
+
unknown
|
|
83
|
+
> = z.union([
|
|
84
|
+
shared.PlanningListResponse$inboundSchema,
|
|
85
|
+
shared.ErrorResponse$inboundSchema,
|
|
86
|
+
]);
|
|
87
|
+
|
|
88
|
+
/** @internal */
|
|
89
|
+
export type GetPlanningApplicationsResponse$Outbound =
|
|
90
|
+
| shared.PlanningListResponse$Outbound
|
|
91
|
+
| shared.ErrorResponse$Outbound;
|
|
92
|
+
|
|
93
|
+
/** @internal */
|
|
94
|
+
export const GetPlanningApplicationsResponse$outboundSchema: z.ZodType<
|
|
95
|
+
GetPlanningApplicationsResponse$Outbound,
|
|
96
|
+
z.ZodTypeDef,
|
|
97
|
+
GetPlanningApplicationsResponse
|
|
98
|
+
> = z.union([
|
|
99
|
+
shared.PlanningListResponse$outboundSchema,
|
|
100
|
+
shared.ErrorResponse$outboundSchema,
|
|
101
|
+
]);
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* @internal
|
|
105
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
106
|
+
*/
|
|
107
|
+
export namespace GetPlanningApplicationsResponse$ {
|
|
108
|
+
/** @deprecated use `GetPlanningApplicationsResponse$inboundSchema` instead. */
|
|
109
|
+
export const inboundSchema = GetPlanningApplicationsResponse$inboundSchema;
|
|
110
|
+
/** @deprecated use `GetPlanningApplicationsResponse$outboundSchema` instead. */
|
|
111
|
+
export const outboundSchema = GetPlanningApplicationsResponse$outboundSchema;
|
|
112
|
+
/** @deprecated use `GetPlanningApplicationsResponse$Outbound` instead. */
|
|
113
|
+
export type Outbound = GetPlanningApplicationsResponse$Outbound;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
export function getPlanningApplicationsResponseToJSON(
|
|
117
|
+
getPlanningApplicationsResponse: GetPlanningApplicationsResponse,
|
|
118
|
+
): string {
|
|
119
|
+
return JSON.stringify(
|
|
120
|
+
GetPlanningApplicationsResponse$outboundSchema.parse(
|
|
121
|
+
getPlanningApplicationsResponse,
|
|
122
|
+
),
|
|
123
|
+
);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
export function getPlanningApplicationsResponseFromJSON(
|
|
127
|
+
jsonString: string,
|
|
128
|
+
): SafeParseResult<GetPlanningApplicationsResponse, SDKValidationError> {
|
|
129
|
+
return safeParse(
|
|
130
|
+
jsonString,
|
|
131
|
+
(x) => GetPlanningApplicationsResponse$inboundSchema.parse(JSON.parse(x)),
|
|
132
|
+
`Failed to parse 'GetPlanningApplicationsResponse' from JSON`,
|
|
133
|
+
);
|
|
134
|
+
}
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { safeParse } from "../../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
import * as shared from "../shared/index.js";
|
|
10
|
+
|
|
11
|
+
export type GetPlanningApplicationsBySourceRequest = {
|
|
12
|
+
/**
|
|
13
|
+
* Comma-separated list of source IDs (e.g., council-a::APP/2024/0001)
|
|
14
|
+
*/
|
|
15
|
+
sourceIds: string;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
export type GetPlanningApplicationsBySourceResponse =
|
|
19
|
+
| shared.PlanningListResponse
|
|
20
|
+
| shared.ErrorResponse;
|
|
21
|
+
|
|
22
|
+
/** @internal */
|
|
23
|
+
export const GetPlanningApplicationsBySourceRequest$inboundSchema: z.ZodType<
|
|
24
|
+
GetPlanningApplicationsBySourceRequest,
|
|
25
|
+
z.ZodTypeDef,
|
|
26
|
+
unknown
|
|
27
|
+
> = z.object({
|
|
28
|
+
sourceIds: z.string(),
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
/** @internal */
|
|
32
|
+
export type GetPlanningApplicationsBySourceRequest$Outbound = {
|
|
33
|
+
sourceIds: string;
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
/** @internal */
|
|
37
|
+
export const GetPlanningApplicationsBySourceRequest$outboundSchema: z.ZodType<
|
|
38
|
+
GetPlanningApplicationsBySourceRequest$Outbound,
|
|
39
|
+
z.ZodTypeDef,
|
|
40
|
+
GetPlanningApplicationsBySourceRequest
|
|
41
|
+
> = z.object({
|
|
42
|
+
sourceIds: z.string(),
|
|
43
|
+
});
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* @internal
|
|
47
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
48
|
+
*/
|
|
49
|
+
export namespace GetPlanningApplicationsBySourceRequest$ {
|
|
50
|
+
/** @deprecated use `GetPlanningApplicationsBySourceRequest$inboundSchema` instead. */
|
|
51
|
+
export const inboundSchema =
|
|
52
|
+
GetPlanningApplicationsBySourceRequest$inboundSchema;
|
|
53
|
+
/** @deprecated use `GetPlanningApplicationsBySourceRequest$outboundSchema` instead. */
|
|
54
|
+
export const outboundSchema =
|
|
55
|
+
GetPlanningApplicationsBySourceRequest$outboundSchema;
|
|
56
|
+
/** @deprecated use `GetPlanningApplicationsBySourceRequest$Outbound` instead. */
|
|
57
|
+
export type Outbound = GetPlanningApplicationsBySourceRequest$Outbound;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function getPlanningApplicationsBySourceRequestToJSON(
|
|
61
|
+
getPlanningApplicationsBySourceRequest:
|
|
62
|
+
GetPlanningApplicationsBySourceRequest,
|
|
63
|
+
): string {
|
|
64
|
+
return JSON.stringify(
|
|
65
|
+
GetPlanningApplicationsBySourceRequest$outboundSchema.parse(
|
|
66
|
+
getPlanningApplicationsBySourceRequest,
|
|
67
|
+
),
|
|
68
|
+
);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export function getPlanningApplicationsBySourceRequestFromJSON(
|
|
72
|
+
jsonString: string,
|
|
73
|
+
): SafeParseResult<GetPlanningApplicationsBySourceRequest, SDKValidationError> {
|
|
74
|
+
return safeParse(
|
|
75
|
+
jsonString,
|
|
76
|
+
(x) =>
|
|
77
|
+
GetPlanningApplicationsBySourceRequest$inboundSchema.parse(JSON.parse(x)),
|
|
78
|
+
`Failed to parse 'GetPlanningApplicationsBySourceRequest' from JSON`,
|
|
79
|
+
);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
/** @internal */
|
|
83
|
+
export const GetPlanningApplicationsBySourceResponse$inboundSchema: z.ZodType<
|
|
84
|
+
GetPlanningApplicationsBySourceResponse,
|
|
85
|
+
z.ZodTypeDef,
|
|
86
|
+
unknown
|
|
87
|
+
> = z.union([
|
|
88
|
+
shared.PlanningListResponse$inboundSchema,
|
|
89
|
+
shared.ErrorResponse$inboundSchema,
|
|
90
|
+
]);
|
|
91
|
+
|
|
92
|
+
/** @internal */
|
|
93
|
+
export type GetPlanningApplicationsBySourceResponse$Outbound =
|
|
94
|
+
| shared.PlanningListResponse$Outbound
|
|
95
|
+
| shared.ErrorResponse$Outbound;
|
|
96
|
+
|
|
97
|
+
/** @internal */
|
|
98
|
+
export const GetPlanningApplicationsBySourceResponse$outboundSchema: z.ZodType<
|
|
99
|
+
GetPlanningApplicationsBySourceResponse$Outbound,
|
|
100
|
+
z.ZodTypeDef,
|
|
101
|
+
GetPlanningApplicationsBySourceResponse
|
|
102
|
+
> = z.union([
|
|
103
|
+
shared.PlanningListResponse$outboundSchema,
|
|
104
|
+
shared.ErrorResponse$outboundSchema,
|
|
105
|
+
]);
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* @internal
|
|
109
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
110
|
+
*/
|
|
111
|
+
export namespace GetPlanningApplicationsBySourceResponse$ {
|
|
112
|
+
/** @deprecated use `GetPlanningApplicationsBySourceResponse$inboundSchema` instead. */
|
|
113
|
+
export const inboundSchema =
|
|
114
|
+
GetPlanningApplicationsBySourceResponse$inboundSchema;
|
|
115
|
+
/** @deprecated use `GetPlanningApplicationsBySourceResponse$outboundSchema` instead. */
|
|
116
|
+
export const outboundSchema =
|
|
117
|
+
GetPlanningApplicationsBySourceResponse$outboundSchema;
|
|
118
|
+
/** @deprecated use `GetPlanningApplicationsBySourceResponse$Outbound` instead. */
|
|
119
|
+
export type Outbound = GetPlanningApplicationsBySourceResponse$Outbound;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
export function getPlanningApplicationsBySourceResponseToJSON(
|
|
123
|
+
getPlanningApplicationsBySourceResponse:
|
|
124
|
+
GetPlanningApplicationsBySourceResponse,
|
|
125
|
+
): string {
|
|
126
|
+
return JSON.stringify(
|
|
127
|
+
GetPlanningApplicationsBySourceResponse$outboundSchema.parse(
|
|
128
|
+
getPlanningApplicationsBySourceResponse,
|
|
129
|
+
),
|
|
130
|
+
);
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
export function getPlanningApplicationsBySourceResponseFromJSON(
|
|
134
|
+
jsonString: string,
|
|
135
|
+
): SafeParseResult<
|
|
136
|
+
GetPlanningApplicationsBySourceResponse,
|
|
137
|
+
SDKValidationError
|
|
138
|
+
> {
|
|
139
|
+
return safeParse(
|
|
140
|
+
jsonString,
|
|
141
|
+
(x) =>
|
|
142
|
+
GetPlanningApplicationsBySourceResponse$inboundSchema.parse(
|
|
143
|
+
JSON.parse(x),
|
|
144
|
+
),
|
|
145
|
+
`Failed to parse 'GetPlanningApplicationsBySourceResponse' from JSON`,
|
|
146
|
+
);
|
|
147
|
+
}
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { safeParse } from "../../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
+
import * as shared from "../shared/index.js";
|
|
10
|
+
|
|
11
|
+
export type GetPropertiesRequest = {
|
|
12
|
+
/**
|
|
13
|
+
* Comma-separated list of attributes to include
|
|
14
|
+
*/
|
|
15
|
+
attributes?: string | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* Maximum number of results to return
|
|
18
|
+
*/
|
|
19
|
+
limit?: string | undefined;
|
|
20
|
+
/**
|
|
21
|
+
* Number of results to skip
|
|
22
|
+
*/
|
|
23
|
+
offset?: string | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* Comma-separated list of property IDs
|
|
26
|
+
*/
|
|
27
|
+
propertyIds: string;
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
export type GetPropertiesResponse =
|
|
31
|
+
| shared.PropertyListResponse
|
|
32
|
+
| shared.ErrorResponse;
|
|
33
|
+
|
|
34
|
+
/** @internal */
|
|
35
|
+
export const GetPropertiesRequest$inboundSchema: z.ZodType<
|
|
36
|
+
GetPropertiesRequest,
|
|
37
|
+
z.ZodTypeDef,
|
|
38
|
+
unknown
|
|
39
|
+
> = z.object({
|
|
40
|
+
attributes: z.string().optional(),
|
|
41
|
+
limit: z.string().optional(),
|
|
42
|
+
offset: z.string().optional(),
|
|
43
|
+
propertyIds: z.string(),
|
|
44
|
+
});
|
|
45
|
+
|
|
46
|
+
/** @internal */
|
|
47
|
+
export type GetPropertiesRequest$Outbound = {
|
|
48
|
+
attributes?: string | undefined;
|
|
49
|
+
limit?: string | undefined;
|
|
50
|
+
offset?: string | undefined;
|
|
51
|
+
propertyIds: string;
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
/** @internal */
|
|
55
|
+
export const GetPropertiesRequest$outboundSchema: z.ZodType<
|
|
56
|
+
GetPropertiesRequest$Outbound,
|
|
57
|
+
z.ZodTypeDef,
|
|
58
|
+
GetPropertiesRequest
|
|
59
|
+
> = z.object({
|
|
60
|
+
attributes: z.string().optional(),
|
|
61
|
+
limit: z.string().optional(),
|
|
62
|
+
offset: z.string().optional(),
|
|
63
|
+
propertyIds: z.string(),
|
|
64
|
+
});
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* @internal
|
|
68
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
69
|
+
*/
|
|
70
|
+
export namespace GetPropertiesRequest$ {
|
|
71
|
+
/** @deprecated use `GetPropertiesRequest$inboundSchema` instead. */
|
|
72
|
+
export const inboundSchema = GetPropertiesRequest$inboundSchema;
|
|
73
|
+
/** @deprecated use `GetPropertiesRequest$outboundSchema` instead. */
|
|
74
|
+
export const outboundSchema = GetPropertiesRequest$outboundSchema;
|
|
75
|
+
/** @deprecated use `GetPropertiesRequest$Outbound` instead. */
|
|
76
|
+
export type Outbound = GetPropertiesRequest$Outbound;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export function getPropertiesRequestToJSON(
|
|
80
|
+
getPropertiesRequest: GetPropertiesRequest,
|
|
81
|
+
): string {
|
|
82
|
+
return JSON.stringify(
|
|
83
|
+
GetPropertiesRequest$outboundSchema.parse(getPropertiesRequest),
|
|
84
|
+
);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export function getPropertiesRequestFromJSON(
|
|
88
|
+
jsonString: string,
|
|
89
|
+
): SafeParseResult<GetPropertiesRequest, SDKValidationError> {
|
|
90
|
+
return safeParse(
|
|
91
|
+
jsonString,
|
|
92
|
+
(x) => GetPropertiesRequest$inboundSchema.parse(JSON.parse(x)),
|
|
93
|
+
`Failed to parse 'GetPropertiesRequest' from JSON`,
|
|
94
|
+
);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
/** @internal */
|
|
98
|
+
export const GetPropertiesResponse$inboundSchema: z.ZodType<
|
|
99
|
+
GetPropertiesResponse,
|
|
100
|
+
z.ZodTypeDef,
|
|
101
|
+
unknown
|
|
102
|
+
> = z.union([
|
|
103
|
+
shared.PropertyListResponse$inboundSchema,
|
|
104
|
+
shared.ErrorResponse$inboundSchema,
|
|
105
|
+
]);
|
|
106
|
+
|
|
107
|
+
/** @internal */
|
|
108
|
+
export type GetPropertiesResponse$Outbound =
|
|
109
|
+
| shared.PropertyListResponse$Outbound
|
|
110
|
+
| shared.ErrorResponse$Outbound;
|
|
111
|
+
|
|
112
|
+
/** @internal */
|
|
113
|
+
export const GetPropertiesResponse$outboundSchema: z.ZodType<
|
|
114
|
+
GetPropertiesResponse$Outbound,
|
|
115
|
+
z.ZodTypeDef,
|
|
116
|
+
GetPropertiesResponse
|
|
117
|
+
> = z.union([
|
|
118
|
+
shared.PropertyListResponse$outboundSchema,
|
|
119
|
+
shared.ErrorResponse$outboundSchema,
|
|
120
|
+
]);
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* @internal
|
|
124
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
125
|
+
*/
|
|
126
|
+
export namespace GetPropertiesResponse$ {
|
|
127
|
+
/** @deprecated use `GetPropertiesResponse$inboundSchema` instead. */
|
|
128
|
+
export const inboundSchema = GetPropertiesResponse$inboundSchema;
|
|
129
|
+
/** @deprecated use `GetPropertiesResponse$outboundSchema` instead. */
|
|
130
|
+
export const outboundSchema = GetPropertiesResponse$outboundSchema;
|
|
131
|
+
/** @deprecated use `GetPropertiesResponse$Outbound` instead. */
|
|
132
|
+
export type Outbound = GetPropertiesResponse$Outbound;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
export function getPropertiesResponseToJSON(
|
|
136
|
+
getPropertiesResponse: GetPropertiesResponse,
|
|
137
|
+
): string {
|
|
138
|
+
return JSON.stringify(
|
|
139
|
+
GetPropertiesResponse$outboundSchema.parse(getPropertiesResponse),
|
|
140
|
+
);
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
export function getPropertiesResponseFromJSON(
|
|
144
|
+
jsonString: string,
|
|
145
|
+
): SafeParseResult<GetPropertiesResponse, SDKValidationError> {
|
|
146
|
+
return safeParse(
|
|
147
|
+
jsonString,
|
|
148
|
+
(x) => GetPropertiesResponse$inboundSchema.parse(JSON.parse(x)),
|
|
149
|
+
`Failed to parse 'GetPropertiesResponse' from JSON`,
|
|
150
|
+
);
|
|
151
|
+
}
|