@vepler/sdk 1.10.1 → 2.0.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/FUNCTIONS.md +3 -3
- package/README.md +81 -24
- package/RUNTIMES.md +6 -6
- package/dist/commonjs/funcs/addressResolveAddress.d.ts +17 -0
- package/dist/commonjs/funcs/addressResolveAddress.d.ts.map +1 -0
- package/dist/commonjs/funcs/addressResolveAddress.js +116 -0
- package/dist/commonjs/funcs/addressResolveAddress.js.map +1 -0
- package/dist/commonjs/funcs/areasGetAreas.d.ts +17 -0
- package/dist/commonjs/funcs/areasGetAreas.d.ts.map +1 -0
- package/dist/commonjs/funcs/areasGetAreas.js +132 -0
- package/dist/commonjs/funcs/areasGetAreas.js.map +1 -0
- package/dist/commonjs/funcs/areasGetAreasWithin.d.ts +17 -0
- package/dist/commonjs/funcs/areasGetAreasWithin.d.ts.map +1 -0
- package/dist/commonjs/funcs/areasGetAreasWithin.js +122 -0
- package/dist/commonjs/funcs/areasGetAreasWithin.js.map +1 -0
- package/dist/commonjs/funcs/areasGetBorderingAreas.d.ts +17 -0
- package/dist/commonjs/funcs/areasGetBorderingAreas.d.ts.map +1 -0
- package/dist/commonjs/funcs/areasGetBorderingAreas.js +131 -0
- package/dist/commonjs/funcs/areasGetBorderingAreas.js.map +1 -0
- package/dist/commonjs/funcs/areasGetChildAreas.d.ts +17 -0
- package/dist/commonjs/funcs/areasGetChildAreas.d.ts.map +1 -0
- package/dist/commonjs/funcs/areasGetChildAreas.js +124 -0
- package/dist/commonjs/funcs/areasGetChildAreas.js.map +1 -0
- package/dist/commonjs/funcs/connectivityGetConnectivityScores.d.ts +17 -0
- package/dist/commonjs/funcs/connectivityGetConnectivityScores.d.ts.map +1 -0
- package/dist/commonjs/funcs/connectivityGetConnectivityScores.js +131 -0
- package/dist/commonjs/funcs/connectivityGetConnectivityScores.js.map +1 -0
- package/dist/commonjs/funcs/epcGetEPC.d.ts +17 -0
- package/dist/commonjs/funcs/epcGetEPC.d.ts.map +1 -0
- package/dist/commonjs/funcs/epcGetEPC.js +119 -0
- package/dist/commonjs/funcs/epcGetEPC.js.map +1 -0
- package/dist/commonjs/funcs/epcGetEPCByPostcode.d.ts +17 -0
- package/dist/commonjs/funcs/epcGetEPCByPostcode.d.ts.map +1 -0
- package/dist/commonjs/funcs/epcGetEPCByPostcode.js +119 -0
- package/dist/commonjs/funcs/epcGetEPCByPostcode.js.map +1 -0
- package/dist/commonjs/funcs/listingsGetListingById.d.ts +17 -0
- package/dist/commonjs/funcs/listingsGetListingById.d.ts.map +1 -0
- package/dist/commonjs/funcs/listingsGetListingById.js +119 -0
- package/dist/commonjs/funcs/listingsGetListingById.js.map +1 -0
- package/dist/commonjs/funcs/listingsGetListingBySource.d.ts +17 -0
- package/dist/commonjs/funcs/listingsGetListingBySource.d.ts.map +1 -0
- package/dist/commonjs/funcs/listingsGetListingBySource.js +127 -0
- package/dist/commonjs/funcs/listingsGetListingBySource.js.map +1 -0
- package/dist/commonjs/funcs/listingsGetListingsByLocation.d.ts +17 -0
- package/dist/commonjs/funcs/listingsGetListingsByLocation.d.ts.map +1 -0
- package/dist/commonjs/funcs/listingsGetListingsByLocation.js +123 -0
- package/dist/commonjs/funcs/listingsGetListingsByLocation.js.map +1 -0
- package/dist/commonjs/funcs/listingsQueryListings.d.ts +17 -0
- package/dist/commonjs/funcs/listingsQueryListings.d.ts.map +1 -0
- package/dist/commonjs/funcs/listingsQueryListings.js +116 -0
- package/dist/commonjs/funcs/listingsQueryListings.js.map +1 -0
- package/dist/commonjs/funcs/listingsQueryListingsBySource.d.ts +17 -0
- package/dist/commonjs/funcs/listingsQueryListingsBySource.d.ts.map +1 -0
- package/dist/commonjs/funcs/listingsQueryListingsBySource.js +117 -0
- package/dist/commonjs/funcs/listingsQueryListingsBySource.js.map +1 -0
- package/dist/commonjs/funcs/metricsGetMetricValues.d.ts +17 -0
- package/dist/commonjs/funcs/metricsGetMetricValues.d.ts.map +1 -0
- package/dist/commonjs/funcs/metricsGetMetricValues.js +128 -0
- package/dist/commonjs/funcs/metricsGetMetricValues.js.map +1 -0
- package/dist/commonjs/funcs/planningGetPlanningApplications.js +1 -1
- package/dist/commonjs/funcs/planningGetPlanningApplications.js.map +1 -1
- package/dist/commonjs/funcs/planningGetPlanningApplicationsBySource.js +1 -1
- package/dist/commonjs/funcs/planningGetPlanningApplicationsBySource.js.map +1 -1
- package/dist/commonjs/funcs/planningSearchPlanningApplications.js +1 -1
- package/dist/commonjs/funcs/planningSearchPlanningApplications.js.map +1 -1
- package/dist/commonjs/funcs/poiGetNearestPOI.d.ts +17 -0
- package/dist/commonjs/funcs/poiGetNearestPOI.d.ts.map +1 -0
- package/dist/commonjs/funcs/poiGetNearestPOI.js +122 -0
- package/dist/commonjs/funcs/poiGetNearestPOI.js.map +1 -0
- package/dist/commonjs/funcs/poiGetPOIMultipleTiles.d.ts +17 -0
- package/dist/commonjs/funcs/poiGetPOIMultipleTiles.d.ts.map +1 -0
- package/dist/commonjs/funcs/poiGetPOIMultipleTiles.js +118 -0
- package/dist/commonjs/funcs/poiGetPOIMultipleTiles.js.map +1 -0
- package/dist/commonjs/funcs/poiGetPOITile.d.ts +23 -0
- package/dist/commonjs/funcs/poiGetPOITile.d.ts.map +1 -0
- package/dist/commonjs/funcs/poiGetPOITile.js +140 -0
- package/dist/commonjs/funcs/poiGetPOITile.js.map +1 -0
- package/dist/commonjs/funcs/propertyGetProperties.js +1 -1
- package/dist/commonjs/funcs/propertyGetProperties.js.map +1 -1
- package/dist/commonjs/funcs/propertyGetPropertiesByLocation.js +1 -1
- package/dist/commonjs/funcs/propertyGetPropertiesByLocation.js.map +1 -1
- package/dist/commonjs/funcs/propertyGetPropertiesBySlugs.js +1 -1
- package/dist/commonjs/funcs/propertyGetPropertiesBySlugs.js.map +1 -1
- package/dist/commonjs/funcs/propertyGetPropertiesBySource.js +1 -1
- package/dist/commonjs/funcs/propertyGetPropertiesBySource.js.map +1 -1
- package/dist/commonjs/funcs/propertySearchProperties.js +1 -1
- package/dist/commonjs/funcs/propertySearchProperties.js.map +1 -1
- package/dist/commonjs/funcs/safetyGetV1SafetyCrime.js +1 -1
- package/dist/commonjs/funcs/safetyGetV1SafetyCrime.js.map +1 -1
- package/dist/commonjs/funcs/safetyGetV1SafetyCrimeStats.js +1 -1
- package/dist/commonjs/funcs/safetyGetV1SafetyCrimeStats.js.map +1 -1
- package/dist/commonjs/funcs/schoolsGet.js +1 -1
- package/dist/commonjs/funcs/schoolsGet.js.map +1 -1
- package/dist/commonjs/funcs/schoolsGetBySlug.js +1 -1
- package/dist/commonjs/funcs/schoolsGetBySlug.js.map +1 -1
- package/dist/commonjs/funcs/schoolsGetByUrn.js +1 -1
- package/dist/commonjs/funcs/schoolsGetByUrn.js.map +1 -1
- package/dist/commonjs/funcs/{schoolMetricsGetMetrics.d.ts → schoolsGetMetrics.d.ts} +2 -2
- package/dist/commonjs/funcs/schoolsGetMetrics.d.ts.map +1 -0
- package/dist/commonjs/funcs/{schoolMetricsGetMetrics.js → schoolsGetMetrics.js} +4 -4
- package/dist/commonjs/funcs/schoolsGetMetrics.js.map +1 -0
- package/dist/commonjs/funcs/schoolsList.js +1 -1
- package/dist/commonjs/funcs/schoolsList.js.map +1 -1
- package/dist/commonjs/funcs/{schoolMetricsListProfiles.d.ts → schoolsListProfiles.d.ts} +2 -2
- package/dist/commonjs/funcs/schoolsListProfiles.d.ts.map +1 -0
- package/dist/commonjs/funcs/{schoolMetricsListProfiles.js → schoolsListProfiles.js} +4 -4
- package/dist/commonjs/funcs/schoolsListProfiles.js.map +1 -0
- package/dist/commonjs/funcs/schoolsSearchNearby.js +1 -1
- package/dist/commonjs/funcs/schoolsSearchNearby.js.map +1 -1
- package/dist/commonjs/funcs/schoolsSearchWithin.js +1 -1
- package/dist/commonjs/funcs/schoolsSearchWithin.js.map +1 -1
- package/dist/{esm/funcs/locationSearchStreets.d.ts → commonjs/funcs/streetsSearchStreets.d.ts} +2 -2
- package/dist/commonjs/funcs/streetsSearchStreets.d.ts.map +1 -0
- package/dist/commonjs/funcs/{locationSearchStreets.js → streetsSearchStreets.js} +4 -4
- package/dist/commonjs/funcs/streetsSearchStreets.js.map +1 -0
- package/dist/commonjs/funcs/systemCheckAreaReferenceHealth.d.ts +17 -0
- package/dist/commonjs/funcs/systemCheckAreaReferenceHealth.d.ts.map +1 -0
- package/dist/commonjs/funcs/systemCheckAreaReferenceHealth.js +104 -0
- package/dist/commonjs/funcs/systemCheckAreaReferenceHealth.js.map +1 -0
- package/dist/commonjs/funcs/systemCheckEPCHealth.d.ts +17 -0
- package/dist/commonjs/funcs/systemCheckEPCHealth.d.ts.map +1 -0
- package/dist/commonjs/funcs/systemCheckEPCHealth.js +104 -0
- package/dist/commonjs/funcs/systemCheckEPCHealth.js.map +1 -0
- package/dist/commonjs/funcs/systemCheckListingsHealth.d.ts +17 -0
- package/dist/{esm/funcs/schoolMetricsListProfiles.d.ts.map → commonjs/funcs/systemCheckListingsHealth.d.ts.map} +1 -1
- package/dist/commonjs/funcs/systemCheckListingsHealth.js +104 -0
- package/dist/commonjs/funcs/{schoolMetricsListProfiles.js.map → systemCheckListingsHealth.js.map} +1 -1
- package/dist/commonjs/funcs/{healthCheckLocationHealth.d.ts → systemCheckLocationHealth.d.ts} +2 -2
- package/dist/commonjs/funcs/{healthCheckPlanningHealth.d.ts.map → systemCheckLocationHealth.d.ts.map} +1 -1
- package/dist/commonjs/funcs/{healthCheckLocationHealth.js → systemCheckLocationHealth.js} +4 -4
- package/dist/commonjs/funcs/{healthCheckPlanningHealth.js.map → systemCheckLocationHealth.js.map} +1 -1
- package/dist/{esm/funcs/healthCheckPlanningHealth.d.ts → commonjs/funcs/systemCheckPlanningHealth.d.ts} +2 -2
- package/dist/commonjs/funcs/{healthCheckLocationHealth.d.ts.map → systemCheckPlanningHealth.d.ts.map} +1 -1
- package/dist/commonjs/funcs/{healthCheckPlanningHealth.js → systemCheckPlanningHealth.js} +4 -4
- package/dist/commonjs/funcs/{healthCheckPropertyHealth.js.map → systemCheckPlanningHealth.js.map} +1 -1
- package/dist/{esm/funcs/healthCheckPropertyHealth.d.ts → commonjs/funcs/systemCheckPropertyHealth.d.ts} +2 -2
- package/dist/commonjs/funcs/{healthCheckPropertyHealth.d.ts.map → systemCheckPropertyHealth.d.ts.map} +1 -1
- package/dist/commonjs/funcs/{healthCheckPropertyHealth.js → systemCheckPropertyHealth.js} +4 -4
- package/dist/commonjs/funcs/{healthCheckLocationHealth.js.map → systemCheckPropertyHealth.js.map} +1 -1
- package/dist/commonjs/lib/base64.d.ts +1 -1
- package/dist/commonjs/lib/base64.d.ts.map +1 -1
- package/dist/commonjs/lib/base64.js +1 -1
- package/dist/commonjs/lib/base64.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +4 -4
- package/dist/commonjs/lib/config.js +4 -4
- package/dist/commonjs/lib/config.js.map +1 -1
- package/dist/commonjs/lib/schemas.d.ts +1 -1
- package/dist/commonjs/lib/schemas.d.ts.map +1 -1
- package/dist/commonjs/lib/schemas.js +2 -2
- package/dist/commonjs/lib/schemas.js.map +1 -1
- package/dist/commonjs/sdk/address.d.ts +12 -0
- package/dist/commonjs/sdk/address.d.ts.map +1 -0
- package/dist/commonjs/sdk/address.js +22 -0
- package/dist/commonjs/sdk/address.js.map +1 -0
- package/dist/commonjs/sdk/areas.d.ts +33 -0
- package/dist/commonjs/sdk/areas.d.ts.map +1 -0
- package/dist/commonjs/sdk/areas.js +52 -0
- package/dist/commonjs/sdk/areas.js.map +1 -0
- package/dist/commonjs/sdk/connectivity.d.ts +12 -0
- package/dist/commonjs/sdk/connectivity.d.ts.map +1 -0
- package/dist/commonjs/sdk/connectivity.js +22 -0
- package/dist/commonjs/sdk/connectivity.js.map +1 -0
- package/dist/commonjs/sdk/epc.d.ts +19 -0
- package/dist/commonjs/sdk/epc.d.ts.map +1 -0
- package/dist/commonjs/sdk/epc.js +32 -0
- package/dist/commonjs/sdk/epc.js.map +1 -0
- package/dist/commonjs/sdk/listings.d.ts +40 -0
- package/dist/commonjs/sdk/listings.d.ts.map +1 -0
- package/dist/commonjs/sdk/listings.js +62 -0
- package/dist/commonjs/sdk/listings.js.map +1 -0
- package/dist/commonjs/sdk/metrics.d.ts +12 -0
- package/dist/commonjs/sdk/metrics.d.ts.map +1 -0
- package/dist/commonjs/sdk/metrics.js +22 -0
- package/dist/commonjs/sdk/metrics.js.map +1 -0
- package/dist/commonjs/sdk/models/errors/responsevalidationerror.js +1 -1
- package/dist/commonjs/sdk/models/errors/responsevalidationerror.js.map +1 -1
- package/dist/commonjs/sdk/models/errors/sdkvalidationerror.d.ts +1 -1
- package/dist/commonjs/sdk/models/errors/sdkvalidationerror.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/errors/sdkvalidationerror.js +1 -1
- package/dist/commonjs/sdk/models/errors/sdkvalidationerror.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/checkareareferencehealth.d.ts +36 -0
- package/dist/commonjs/sdk/models/operations/checkareareferencehealth.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/checkareareferencehealth.js +73 -0
- package/dist/commonjs/sdk/models/operations/checkareareferencehealth.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/checkepchealth.d.ts +36 -0
- package/dist/commonjs/sdk/models/operations/checkepchealth.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/checkepchealth.js +73 -0
- package/dist/commonjs/sdk/models/operations/checkepchealth.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/checklistingshealth.d.ts +36 -0
- package/dist/commonjs/sdk/models/operations/checklistingshealth.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/checklistingshealth.js +73 -0
- package/dist/commonjs/sdk/models/operations/checklistingshealth.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/getareasbyfieldandids.d.ts +445 -0
- package/dist/commonjs/sdk/models/operations/getareasbyfieldandids.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/getareasbyfieldandids.js +357 -0
- package/dist/commonjs/sdk/models/operations/getareasbyfieldandids.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/getareaswithinradius.d.ts +492 -0
- package/dist/commonjs/sdk/models/operations/getareaswithinradius.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/getareaswithinradius.js +380 -0
- package/dist/commonjs/sdk/models/operations/getareaswithinradius.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/getborderingareas.d.ts +658 -0
- package/dist/commonjs/sdk/models/operations/getborderingareas.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/getborderingareas.js +492 -0
- package/dist/commonjs/sdk/models/operations/getborderingareas.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/getchildareas.d.ts +653 -0
- package/dist/commonjs/sdk/models/operations/getchildareas.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/getchildareas.js +490 -0
- package/dist/commonjs/sdk/models/operations/getchildareas.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/getconnectivityscores.d.ts +2213 -0
- package/dist/commonjs/sdk/models/operations/getconnectivityscores.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/getconnectivityscores.js +1644 -0
- package/dist/commonjs/sdk/models/operations/getconnectivityscores.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/getepcbylocationid.d.ts +310 -0
- package/dist/commonjs/sdk/models/operations/getepcbylocationid.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/getepcbylocationid.js +319 -0
- package/dist/commonjs/sdk/models/operations/getepcbylocationid.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/getepcbypostcode.d.ts +199 -0
- package/dist/commonjs/sdk/models/operations/getepcbypostcode.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/getepcbypostcode.js +224 -0
- package/dist/commonjs/sdk/models/operations/getepcbypostcode.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/getlistingbyid.d.ts +1402 -0
- package/dist/commonjs/sdk/models/operations/getlistingbyid.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/getlistingbyid.js +1043 -0
- package/dist/commonjs/sdk/models/operations/getlistingbyid.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/getlistingbysource.d.ts +351 -0
- package/dist/commonjs/sdk/models/operations/getlistingbysource.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/getlistingbysource.js +344 -0
- package/dist/commonjs/sdk/models/operations/getlistingbysource.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/getlistingsbylocation.d.ts +1335 -0
- package/dist/commonjs/sdk/models/operations/getlistingsbylocation.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/getlistingsbylocation.js +967 -0
- package/dist/commonjs/sdk/models/operations/getlistingsbylocation.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/getmetricprofiles.d.ts +1 -1
- package/dist/commonjs/sdk/models/operations/getmetricprofiles.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/getmetricprofiles.js +1 -1
- package/dist/commonjs/sdk/models/operations/getmetricprofiles.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/getmetricvalues.d.ts +608 -0
- package/dist/commonjs/sdk/models/operations/getmetricvalues.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/getmetricvalues.js +516 -0
- package/dist/commonjs/sdk/models/operations/getmetricvalues.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/getnearestpoi.d.ts +393 -0
- package/dist/commonjs/sdk/models/operations/getnearestpoi.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/getnearestpoi.js +368 -0
- package/dist/commonjs/sdk/models/operations/getnearestpoi.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/getplanningapplications.d.ts +1 -1
- package/dist/commonjs/sdk/models/operations/getplanningapplications.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/getplanningapplications.js +1 -1
- package/dist/commonjs/sdk/models/operations/getplanningapplications.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/getplanningapplicationsbysource.d.ts +1 -1
- package/dist/commonjs/sdk/models/operations/getplanningapplicationsbysource.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/getplanningapplicationsbysource.js +1 -1
- package/dist/commonjs/sdk/models/operations/getplanningapplicationsbysource.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/getpoimultipletiles.d.ts +587 -0
- package/dist/commonjs/sdk/models/operations/getpoimultipletiles.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/getpoimultipletiles.js +614 -0
- package/dist/commonjs/sdk/models/operations/getpoimultipletiles.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/getpoitile.d.ts +465 -0
- package/dist/commonjs/sdk/models/operations/getpoitile.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/getpoitile.js +470 -0
- package/dist/commonjs/sdk/models/operations/getpoitile.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/getproperties.d.ts +1 -1
- package/dist/commonjs/sdk/models/operations/getproperties.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/getproperties.js +1 -1
- package/dist/commonjs/sdk/models/operations/getproperties.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/getpropertiesbylocation.d.ts +1 -1
- package/dist/commonjs/sdk/models/operations/getpropertiesbylocation.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/getpropertiesbylocation.js +1 -1
- package/dist/commonjs/sdk/models/operations/getpropertiesbylocation.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/getpropertiesbyslugs.d.ts +1 -1
- package/dist/commonjs/sdk/models/operations/getpropertiesbyslugs.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/getpropertiesbyslugs.js +1 -1
- package/dist/commonjs/sdk/models/operations/getpropertiesbyslugs.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/getpropertiesbysource.d.ts +1 -1
- package/dist/commonjs/sdk/models/operations/getpropertiesbysource.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/getpropertiesbysource.js +1 -1
- package/dist/commonjs/sdk/models/operations/getpropertiesbysource.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/getschoolbyid.d.ts +1 -10
- package/dist/commonjs/sdk/models/operations/getschoolbyid.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/getschoolbyid.js +1 -1
- package/dist/commonjs/sdk/models/operations/getschoolbyid.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/getschoolbyslug.d.ts +1 -10
- package/dist/commonjs/sdk/models/operations/getschoolbyslug.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/getschoolbyslug.js +1 -1
- package/dist/commonjs/sdk/models/operations/getschoolbyslug.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/getschoolbyurn.d.ts +1 -10
- package/dist/commonjs/sdk/models/operations/getschoolbyurn.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/getschoolbyurn.js +1 -1
- package/dist/commonjs/sdk/models/operations/getschoolbyurn.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/getschoolmetrics.d.ts +66 -69
- package/dist/commonjs/sdk/models/operations/getschoolmetrics.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/getschoolmetrics.js +84 -84
- package/dist/commonjs/sdk/models/operations/getschoolmetrics.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/getv1safetycrime.d.ts +61 -61
- package/dist/commonjs/sdk/models/operations/getv1safetycrime.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/getv1safetycrime.js +70 -72
- package/dist/commonjs/sdk/models/operations/getv1safetycrime.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/getv1safetycrimestats.d.ts +1 -1
- package/dist/commonjs/sdk/models/operations/getv1safetycrimestats.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/getv1safetycrimestats.js +1 -1
- package/dist/commonjs/sdk/models/operations/getv1safetycrimestats.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/index.d.ts +20 -0
- package/dist/commonjs/sdk/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/index.js +20 -0
- package/dist/commonjs/sdk/models/operations/index.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/listschools.d.ts +1 -31
- package/dist/commonjs/sdk/models/operations/listschools.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/listschools.js +1 -1
- package/dist/commonjs/sdk/models/operations/listschools.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/querylistings.d.ts +1544 -0
- package/dist/commonjs/sdk/models/operations/querylistings.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/querylistings.js +1118 -0
- package/dist/commonjs/sdk/models/operations/querylistings.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/querylistingsbysource.d.ts +1420 -0
- package/dist/commonjs/sdk/models/operations/querylistingsbysource.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/querylistingsbysource.js +1040 -0
- package/dist/commonjs/sdk/models/operations/querylistingsbysource.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/resolveaddress.d.ts +580 -0
- package/dist/commonjs/sdk/models/operations/resolveaddress.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/resolveaddress.js +481 -0
- package/dist/commonjs/sdk/models/operations/resolveaddress.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/searchplanningapplications.d.ts +1 -1
- package/dist/commonjs/sdk/models/operations/searchplanningapplications.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/searchplanningapplications.js +1 -1
- package/dist/commonjs/sdk/models/operations/searchplanningapplications.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/searchproperties.d.ts +1 -1
- package/dist/commonjs/sdk/models/operations/searchproperties.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/searchproperties.js +1 -1
- package/dist/commonjs/sdk/models/operations/searchproperties.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/searchschoolsnearby.d.ts +1 -25
- package/dist/commonjs/sdk/models/operations/searchschoolsnearby.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/searchschoolsnearby.js +1 -1
- package/dist/commonjs/sdk/models/operations/searchschoolsnearby.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/searchschoolswithin.d.ts +1 -28
- package/dist/commonjs/sdk/models/operations/searchschoolswithin.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/searchschoolswithin.js +1 -1
- package/dist/commonjs/sdk/models/operations/searchschoolswithin.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/searchstreets.d.ts +1 -1
- package/dist/commonjs/sdk/models/operations/searchstreets.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/searchstreets.js +1 -1
- package/dist/commonjs/sdk/models/operations/searchstreets.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/counciltaxdata.d.ts +1 -1
- package/dist/commonjs/sdk/models/shared/counciltaxdata.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/counciltaxdata.js +1 -1
- package/dist/commonjs/sdk/models/shared/counciltaxdata.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/epcdata.d.ts +1 -1
- package/dist/commonjs/sdk/models/shared/epcdata.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/epcdata.js +1 -1
- package/dist/commonjs/sdk/models/shared/epcdata.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/errorresponse.d.ts +1 -1
- package/dist/commonjs/sdk/models/shared/errorresponse.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/errorresponse.js +1 -1
- package/dist/commonjs/sdk/models/shared/errorresponse.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/healthresponse.d.ts +1 -1
- package/dist/commonjs/sdk/models/shared/healthresponse.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/healthresponse.js +1 -1
- package/dist/commonjs/sdk/models/shared/healthresponse.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/marketstatus.d.ts +1 -1
- package/dist/commonjs/sdk/models/shared/marketstatus.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/marketstatus.js +1 -1
- package/dist/commonjs/sdk/models/shared/marketstatus.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/planningapplication.d.ts +1 -1
- package/dist/commonjs/sdk/models/shared/planningapplication.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/planningapplication.js +1 -1
- package/dist/commonjs/sdk/models/shared/planningapplication.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/planninglistresponse.d.ts +1 -1
- package/dist/commonjs/sdk/models/shared/planninglistresponse.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/planninglistresponse.js +1 -1
- package/dist/commonjs/sdk/models/shared/planninglistresponse.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/planningqueryfilters.d.ts +1 -1
- package/dist/commonjs/sdk/models/shared/planningqueryfilters.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/planningqueryfilters.js +1 -1
- package/dist/commonjs/sdk/models/shared/planningqueryfilters.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/planningqueryrequest.d.ts +1 -1
- package/dist/commonjs/sdk/models/shared/planningqueryrequest.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/planningqueryrequest.js +1 -1
- package/dist/commonjs/sdk/models/shared/planningqueryrequest.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/pricingdata.d.ts +1 -1
- package/dist/commonjs/sdk/models/shared/pricingdata.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/pricingdata.js +1 -1
- package/dist/commonjs/sdk/models/shared/pricingdata.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertyaddress.d.ts +1 -1
- package/dist/commonjs/sdk/models/shared/propertyaddress.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertyaddress.js +1 -1
- package/dist/commonjs/sdk/models/shared/propertyaddress.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertyareafilter.d.ts +1 -1
- package/dist/commonjs/sdk/models/shared/propertyareafilter.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertyareafilter.js +1 -1
- package/dist/commonjs/sdk/models/shared/propertyareafilter.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertybyslugsrequest.d.ts +1 -1
- package/dist/commonjs/sdk/models/shared/propertybyslugsrequest.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertybyslugsrequest.js +1 -1
- package/dist/commonjs/sdk/models/shared/propertybyslugsrequest.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertydata.d.ts +73 -1
- package/dist/commonjs/sdk/models/shared/propertydata.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertydata.js +25 -1
- package/dist/commonjs/sdk/models/shared/propertydata.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertylistresponse.d.ts +1 -1
- package/dist/commonjs/sdk/models/shared/propertylistresponse.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertylistresponse.js +1 -1
- package/dist/commonjs/sdk/models/shared/propertylistresponse.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertylocationidareafilter.d.ts +1 -1
- package/dist/commonjs/sdk/models/shared/propertylocationidareafilter.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertylocationidareafilter.js +1 -1
- package/dist/commonjs/sdk/models/shared/propertylocationidareafilter.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertymultipolygonareafilter.d.ts +1 -1
- package/dist/commonjs/sdk/models/shared/propertymultipolygonareafilter.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertymultipolygonareafilter.js +1 -1
- package/dist/commonjs/sdk/models/shared/propertymultipolygonareafilter.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertyonstreet.d.ts +1 -1
- package/dist/commonjs/sdk/models/shared/propertyonstreet.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertyonstreet.js +1 -1
- package/dist/commonjs/sdk/models/shared/propertyonstreet.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertyoutcodeareafilter.d.ts +1 -1
- package/dist/commonjs/sdk/models/shared/propertyoutcodeareafilter.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertyoutcodeareafilter.js +1 -1
- package/dist/commonjs/sdk/models/shared/propertyoutcodeareafilter.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertypointareafilter.d.ts +1 -1
- package/dist/commonjs/sdk/models/shared/propertypointareafilter.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertypointareafilter.js +1 -1
- package/dist/commonjs/sdk/models/shared/propertypointareafilter.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertypolygonareafilter.d.ts +1 -1
- package/dist/commonjs/sdk/models/shared/propertypolygonareafilter.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertypolygonareafilter.js +1 -1
- package/dist/commonjs/sdk/models/shared/propertypolygonareafilter.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertypostcodeareafilter.d.ts +1 -1
- package/dist/commonjs/sdk/models/shared/propertypostcodeareafilter.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertypostcodeareafilter.js +1 -1
- package/dist/commonjs/sdk/models/shared/propertypostcodeareafilter.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertyquerycondition.d.ts +1 -1
- package/dist/commonjs/sdk/models/shared/propertyquerycondition.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertyquerycondition.js +1 -1
- package/dist/commonjs/sdk/models/shared/propertyquerycondition.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertyquerygroup.d.ts +1 -1
- package/dist/commonjs/sdk/models/shared/propertyquerygroup.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertyquerygroup.js +1 -1
- package/dist/commonjs/sdk/models/shared/propertyquerygroup.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertyqueryoperator.d.ts +1 -1
- package/dist/commonjs/sdk/models/shared/propertyqueryoperator.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertyqueryoperator.js +1 -1
- package/dist/commonjs/sdk/models/shared/propertyqueryoperator.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertyqueryrequest.d.ts +234 -1
- package/dist/commonjs/sdk/models/shared/propertyqueryrequest.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertyqueryrequest.js +147 -2
- package/dist/commonjs/sdk/models/shared/propertyqueryrequest.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertytags.d.ts +1 -1
- package/dist/commonjs/sdk/models/shared/propertytags.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertytags.js +1 -1
- package/dist/commonjs/sdk/models/shared/propertytags.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/roomdetails.d.ts +1 -1
- package/dist/commonjs/sdk/models/shared/roomdetails.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/roomdetails.js +1 -1
- package/dist/commonjs/sdk/models/shared/roomdetails.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/salerecord.d.ts +1 -1
- package/dist/commonjs/sdk/models/shared/salerecord.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/salerecord.js +1 -1
- package/dist/commonjs/sdk/models/shared/salerecord.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/school.d.ts +1 -1
- package/dist/commonjs/sdk/models/shared/school.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/school.js +1 -1
- package/dist/commonjs/sdk/models/shared/school.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/security.d.ts +1 -1
- package/dist/commonjs/sdk/models/shared/security.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/security.js +1 -1
- package/dist/commonjs/sdk/models/shared/security.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/streetdescriptor.d.ts +1 -1
- package/dist/commonjs/sdk/models/shared/streetdescriptor.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/streetdescriptor.js +1 -1
- package/dist/commonjs/sdk/models/shared/streetdescriptor.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/streetdetails.d.ts +1 -1
- package/dist/commonjs/sdk/models/shared/streetdetails.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/streetdetails.js +1 -1
- package/dist/commonjs/sdk/models/shared/streetdetails.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/streetquerybycoordinates.d.ts +1 -1
- package/dist/commonjs/sdk/models/shared/streetquerybycoordinates.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/streetquerybycoordinates.js +1 -1
- package/dist/commonjs/sdk/models/shared/streetquerybycoordinates.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/streetquerybyname.d.ts +1 -1
- package/dist/commonjs/sdk/models/shared/streetquerybyname.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/streetquerybyname.js +1 -1
- package/dist/commonjs/sdk/models/shared/streetquerybyname.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/streetquerybypostcode.d.ts +1 -1
- package/dist/commonjs/sdk/models/shared/streetquerybypostcode.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/streetquerybypostcode.js +1 -1
- package/dist/commonjs/sdk/models/shared/streetquerybypostcode.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/streetquerybyuprn.d.ts +1 -1
- package/dist/commonjs/sdk/models/shared/streetquerybyuprn.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/streetquerybyuprn.js +1 -1
- package/dist/commonjs/sdk/models/shared/streetquerybyuprn.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/streetquerybyusrn.d.ts +1 -1
- package/dist/commonjs/sdk/models/shared/streetquerybyusrn.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/streetquerybyusrn.js +1 -1
- package/dist/commonjs/sdk/models/shared/streetquerybyusrn.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/streetqueryrequest.d.ts +1 -1
- package/dist/commonjs/sdk/models/shared/streetqueryrequest.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/streetqueryrequest.js +1 -1
- package/dist/commonjs/sdk/models/shared/streetqueryrequest.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/streetqueryresponse.d.ts +1 -1
- package/dist/commonjs/sdk/models/shared/streetqueryresponse.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/streetqueryresponse.js +1 -1
- package/dist/commonjs/sdk/models/shared/streetqueryresponse.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/streetstatistics.d.ts +1 -1
- package/dist/commonjs/sdk/models/shared/streetstatistics.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/streetstatistics.js +1 -1
- package/dist/commonjs/sdk/models/shared/streetstatistics.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/tenuredata.d.ts +1 -1
- package/dist/commonjs/sdk/models/shared/tenuredata.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/tenuredata.js +1 -1
- package/dist/commonjs/sdk/models/shared/tenuredata.js.map +1 -1
- package/dist/commonjs/sdk/poi.d.ts +30 -0
- package/dist/commonjs/sdk/poi.d.ts.map +1 -0
- package/dist/commonjs/sdk/poi.js +44 -0
- package/dist/commonjs/sdk/poi.js.map +1 -0
- package/dist/commonjs/sdk/schools.d.ts +14 -0
- package/dist/commonjs/sdk/schools.d.ts.map +1 -1
- package/dist/commonjs/sdk/schools.js +20 -0
- package/dist/commonjs/sdk/schools.js.map +1 -1
- package/dist/commonjs/sdk/sdk.d.ts +27 -9
- package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
- package/dist/commonjs/sdk/sdk.js +34 -10
- package/dist/commonjs/sdk/sdk.js.map +1 -1
- package/dist/{esm/sdk/location.d.ts → commonjs/sdk/streets.d.ts} +2 -2
- package/dist/commonjs/sdk/streets.d.ts.map +1 -0
- package/dist/commonjs/sdk/{location.js → streets.js} +6 -6
- package/dist/commonjs/sdk/streets.js.map +1 -0
- package/dist/commonjs/sdk/system.d.ts +48 -0
- package/dist/commonjs/sdk/system.d.ts.map +1 -0
- package/dist/commonjs/sdk/system.js +72 -0
- package/dist/commonjs/sdk/system.js.map +1 -0
- package/dist/commonjs/sdk/types/blobs.d.ts +1 -1
- package/dist/commonjs/sdk/types/blobs.d.ts.map +1 -1
- package/dist/commonjs/sdk/types/blobs.js +1 -1
- package/dist/commonjs/sdk/types/blobs.js.map +1 -1
- package/dist/commonjs/sdk/types/constdatetime.d.ts +1 -1
- package/dist/commonjs/sdk/types/constdatetime.d.ts.map +1 -1
- package/dist/commonjs/sdk/types/constdatetime.js +1 -1
- package/dist/commonjs/sdk/types/constdatetime.js.map +1 -1
- package/dist/esm/funcs/addressResolveAddress.d.ts +17 -0
- package/dist/esm/funcs/addressResolveAddress.d.ts.map +1 -0
- package/dist/esm/funcs/addressResolveAddress.js +80 -0
- package/dist/esm/funcs/addressResolveAddress.js.map +1 -0
- package/dist/esm/funcs/areasGetAreas.d.ts +17 -0
- package/dist/esm/funcs/areasGetAreas.d.ts.map +1 -0
- package/dist/esm/funcs/areasGetAreas.js +96 -0
- package/dist/esm/funcs/areasGetAreas.js.map +1 -0
- package/dist/esm/funcs/areasGetAreasWithin.d.ts +17 -0
- package/dist/esm/funcs/areasGetAreasWithin.d.ts.map +1 -0
- package/dist/esm/funcs/areasGetAreasWithin.js +86 -0
- package/dist/esm/funcs/areasGetAreasWithin.js.map +1 -0
- package/dist/esm/funcs/areasGetBorderingAreas.d.ts +17 -0
- package/dist/esm/funcs/areasGetBorderingAreas.d.ts.map +1 -0
- package/dist/esm/funcs/areasGetBorderingAreas.js +95 -0
- package/dist/esm/funcs/areasGetBorderingAreas.js.map +1 -0
- package/dist/esm/funcs/areasGetChildAreas.d.ts +17 -0
- package/dist/esm/funcs/areasGetChildAreas.d.ts.map +1 -0
- package/dist/esm/funcs/areasGetChildAreas.js +88 -0
- package/dist/esm/funcs/areasGetChildAreas.js.map +1 -0
- package/dist/esm/funcs/connectivityGetConnectivityScores.d.ts +17 -0
- package/dist/esm/funcs/connectivityGetConnectivityScores.d.ts.map +1 -0
- package/dist/esm/funcs/connectivityGetConnectivityScores.js +95 -0
- package/dist/esm/funcs/connectivityGetConnectivityScores.js.map +1 -0
- package/dist/esm/funcs/epcGetEPC.d.ts +17 -0
- package/dist/esm/funcs/epcGetEPC.d.ts.map +1 -0
- package/dist/esm/funcs/epcGetEPC.js +83 -0
- package/dist/esm/funcs/epcGetEPC.js.map +1 -0
- package/dist/esm/funcs/epcGetEPCByPostcode.d.ts +17 -0
- package/dist/esm/funcs/epcGetEPCByPostcode.d.ts.map +1 -0
- package/dist/esm/funcs/epcGetEPCByPostcode.js +83 -0
- package/dist/esm/funcs/epcGetEPCByPostcode.js.map +1 -0
- package/dist/esm/funcs/listingsGetListingById.d.ts +17 -0
- package/dist/esm/funcs/listingsGetListingById.d.ts.map +1 -0
- package/dist/esm/funcs/listingsGetListingById.js +83 -0
- package/dist/esm/funcs/listingsGetListingById.js.map +1 -0
- package/dist/esm/funcs/listingsGetListingBySource.d.ts +17 -0
- package/dist/esm/funcs/listingsGetListingBySource.d.ts.map +1 -0
- package/dist/esm/funcs/listingsGetListingBySource.js +91 -0
- package/dist/esm/funcs/listingsGetListingBySource.js.map +1 -0
- package/dist/esm/funcs/listingsGetListingsByLocation.d.ts +17 -0
- package/dist/esm/funcs/listingsGetListingsByLocation.d.ts.map +1 -0
- package/dist/esm/funcs/listingsGetListingsByLocation.js +87 -0
- package/dist/esm/funcs/listingsGetListingsByLocation.js.map +1 -0
- package/dist/esm/funcs/listingsQueryListings.d.ts +17 -0
- package/dist/esm/funcs/listingsQueryListings.d.ts.map +1 -0
- package/dist/esm/funcs/listingsQueryListings.js +80 -0
- package/dist/esm/funcs/listingsQueryListings.js.map +1 -0
- package/dist/esm/funcs/listingsQueryListingsBySource.d.ts +17 -0
- package/dist/esm/funcs/listingsQueryListingsBySource.d.ts.map +1 -0
- package/dist/esm/funcs/listingsQueryListingsBySource.js +81 -0
- package/dist/esm/funcs/listingsQueryListingsBySource.js.map +1 -0
- package/dist/esm/funcs/metricsGetMetricValues.d.ts +17 -0
- package/dist/esm/funcs/metricsGetMetricValues.d.ts.map +1 -0
- package/dist/esm/funcs/metricsGetMetricValues.js +92 -0
- package/dist/esm/funcs/metricsGetMetricValues.js.map +1 -0
- package/dist/esm/funcs/planningGetPlanningApplications.js +1 -1
- package/dist/esm/funcs/planningGetPlanningApplications.js.map +1 -1
- package/dist/esm/funcs/planningGetPlanningApplicationsBySource.js +1 -1
- package/dist/esm/funcs/planningGetPlanningApplicationsBySource.js.map +1 -1
- package/dist/esm/funcs/planningSearchPlanningApplications.js +1 -1
- package/dist/esm/funcs/planningSearchPlanningApplications.js.map +1 -1
- package/dist/esm/funcs/poiGetNearestPOI.d.ts +17 -0
- package/dist/esm/funcs/poiGetNearestPOI.d.ts.map +1 -0
- package/dist/esm/funcs/poiGetNearestPOI.js +86 -0
- package/dist/esm/funcs/poiGetNearestPOI.js.map +1 -0
- package/dist/esm/funcs/poiGetPOIMultipleTiles.d.ts +17 -0
- package/dist/esm/funcs/poiGetPOIMultipleTiles.d.ts.map +1 -0
- package/dist/esm/funcs/poiGetPOIMultipleTiles.js +82 -0
- package/dist/esm/funcs/poiGetPOIMultipleTiles.js.map +1 -0
- package/dist/esm/funcs/poiGetPOITile.d.ts +23 -0
- package/dist/esm/funcs/poiGetPOITile.d.ts.map +1 -0
- package/dist/esm/funcs/poiGetPOITile.js +103 -0
- package/dist/esm/funcs/poiGetPOITile.js.map +1 -0
- package/dist/esm/funcs/propertyGetProperties.js +1 -1
- package/dist/esm/funcs/propertyGetProperties.js.map +1 -1
- package/dist/esm/funcs/propertyGetPropertiesByLocation.js +1 -1
- package/dist/esm/funcs/propertyGetPropertiesByLocation.js.map +1 -1
- package/dist/esm/funcs/propertyGetPropertiesBySlugs.js +1 -1
- package/dist/esm/funcs/propertyGetPropertiesBySlugs.js.map +1 -1
- package/dist/esm/funcs/propertyGetPropertiesBySource.js +1 -1
- package/dist/esm/funcs/propertyGetPropertiesBySource.js.map +1 -1
- package/dist/esm/funcs/propertySearchProperties.js +1 -1
- package/dist/esm/funcs/propertySearchProperties.js.map +1 -1
- package/dist/esm/funcs/safetyGetV1SafetyCrime.js +1 -1
- package/dist/esm/funcs/safetyGetV1SafetyCrime.js.map +1 -1
- package/dist/esm/funcs/safetyGetV1SafetyCrimeStats.js +1 -1
- package/dist/esm/funcs/safetyGetV1SafetyCrimeStats.js.map +1 -1
- package/dist/esm/funcs/schoolsGet.js +1 -1
- package/dist/esm/funcs/schoolsGet.js.map +1 -1
- package/dist/esm/funcs/schoolsGetBySlug.js +1 -1
- package/dist/esm/funcs/schoolsGetBySlug.js.map +1 -1
- package/dist/esm/funcs/schoolsGetByUrn.js +1 -1
- package/dist/esm/funcs/schoolsGetByUrn.js.map +1 -1
- package/dist/esm/funcs/{schoolMetricsGetMetrics.d.ts → schoolsGetMetrics.d.ts} +2 -2
- package/dist/esm/funcs/schoolsGetMetrics.d.ts.map +1 -0
- package/dist/esm/funcs/{schoolMetricsGetMetrics.js → schoolsGetMetrics.js} +3 -3
- package/dist/esm/funcs/schoolsGetMetrics.js.map +1 -0
- package/dist/esm/funcs/schoolsList.js +1 -1
- package/dist/esm/funcs/schoolsList.js.map +1 -1
- package/dist/esm/funcs/{schoolMetricsListProfiles.d.ts → schoolsListProfiles.d.ts} +2 -2
- package/dist/esm/funcs/schoolsListProfiles.d.ts.map +1 -0
- package/dist/esm/funcs/{schoolMetricsListProfiles.js → schoolsListProfiles.js} +3 -3
- package/dist/esm/funcs/schoolsListProfiles.js.map +1 -0
- package/dist/esm/funcs/schoolsSearchNearby.js +1 -1
- package/dist/esm/funcs/schoolsSearchNearby.js.map +1 -1
- package/dist/esm/funcs/schoolsSearchWithin.js +1 -1
- package/dist/esm/funcs/schoolsSearchWithin.js.map +1 -1
- package/dist/{commonjs/funcs/locationSearchStreets.d.ts → esm/funcs/streetsSearchStreets.d.ts} +2 -2
- package/dist/esm/funcs/streetsSearchStreets.d.ts.map +1 -0
- package/dist/esm/funcs/{locationSearchStreets.js → streetsSearchStreets.js} +3 -3
- package/dist/esm/funcs/streetsSearchStreets.js.map +1 -0
- package/dist/esm/funcs/systemCheckAreaReferenceHealth.d.ts +17 -0
- package/dist/esm/funcs/systemCheckAreaReferenceHealth.d.ts.map +1 -0
- package/dist/esm/funcs/systemCheckAreaReferenceHealth.js +68 -0
- package/dist/esm/funcs/systemCheckAreaReferenceHealth.js.map +1 -0
- package/dist/esm/funcs/systemCheckEPCHealth.d.ts +17 -0
- package/dist/esm/funcs/systemCheckEPCHealth.d.ts.map +1 -0
- package/dist/esm/funcs/systemCheckEPCHealth.js +68 -0
- package/dist/esm/funcs/systemCheckEPCHealth.js.map +1 -0
- package/dist/esm/funcs/systemCheckListingsHealth.d.ts +17 -0
- package/dist/{commonjs/funcs/schoolMetricsListProfiles.d.ts.map → esm/funcs/systemCheckListingsHealth.d.ts.map} +1 -1
- package/dist/esm/funcs/systemCheckListingsHealth.js +68 -0
- package/dist/esm/funcs/{schoolMetricsListProfiles.js.map → systemCheckListingsHealth.js.map} +1 -1
- package/dist/esm/funcs/{healthCheckLocationHealth.d.ts → systemCheckLocationHealth.d.ts} +2 -2
- package/dist/esm/funcs/{healthCheckLocationHealth.d.ts.map → systemCheckLocationHealth.d.ts.map} +1 -1
- package/dist/esm/funcs/{healthCheckLocationHealth.js → systemCheckLocationHealth.js} +3 -3
- package/dist/esm/funcs/{healthCheckLocationHealth.js.map → systemCheckLocationHealth.js.map} +1 -1
- package/dist/{commonjs/funcs/healthCheckPlanningHealth.d.ts → esm/funcs/systemCheckPlanningHealth.d.ts} +2 -2
- package/dist/esm/funcs/systemCheckPlanningHealth.d.ts.map +1 -0
- package/dist/esm/funcs/{healthCheckPlanningHealth.js → systemCheckPlanningHealth.js} +3 -3
- package/dist/esm/funcs/{healthCheckPlanningHealth.js.map → systemCheckPlanningHealth.js.map} +1 -1
- package/dist/{commonjs/funcs/healthCheckPropertyHealth.d.ts → esm/funcs/systemCheckPropertyHealth.d.ts} +2 -2
- package/dist/esm/funcs/systemCheckPropertyHealth.d.ts.map +1 -0
- package/dist/esm/funcs/{healthCheckPropertyHealth.js → systemCheckPropertyHealth.js} +3 -3
- package/dist/esm/funcs/{healthCheckPropertyHealth.js.map → systemCheckPropertyHealth.js.map} +1 -1
- package/dist/esm/lib/base64.d.ts +1 -1
- package/dist/esm/lib/base64.d.ts.map +1 -1
- package/dist/esm/lib/base64.js +1 -1
- package/dist/esm/lib/base64.js.map +1 -1
- package/dist/esm/lib/config.d.ts +4 -4
- package/dist/esm/lib/config.js +4 -4
- package/dist/esm/lib/config.js.map +1 -1
- package/dist/esm/lib/schemas.d.ts +1 -1
- package/dist/esm/lib/schemas.d.ts.map +1 -1
- package/dist/esm/lib/schemas.js +1 -1
- package/dist/esm/lib/schemas.js.map +1 -1
- package/dist/esm/sdk/address.d.ts +12 -0
- package/dist/esm/sdk/address.d.ts.map +1 -0
- package/dist/esm/sdk/address.js +18 -0
- package/dist/esm/sdk/address.js.map +1 -0
- package/dist/esm/sdk/areas.d.ts +33 -0
- package/dist/esm/sdk/areas.d.ts.map +1 -0
- package/dist/esm/sdk/areas.js +48 -0
- package/dist/esm/sdk/areas.js.map +1 -0
- package/dist/esm/sdk/connectivity.d.ts +12 -0
- package/dist/esm/sdk/connectivity.d.ts.map +1 -0
- package/dist/esm/sdk/connectivity.js +18 -0
- package/dist/esm/sdk/connectivity.js.map +1 -0
- package/dist/esm/sdk/epc.d.ts +19 -0
- package/dist/esm/sdk/epc.d.ts.map +1 -0
- package/dist/esm/sdk/epc.js +28 -0
- package/dist/esm/sdk/epc.js.map +1 -0
- package/dist/esm/sdk/listings.d.ts +40 -0
- package/dist/esm/sdk/listings.d.ts.map +1 -0
- package/dist/esm/sdk/listings.js +58 -0
- package/dist/esm/sdk/listings.js.map +1 -0
- package/dist/esm/sdk/metrics.d.ts +12 -0
- package/dist/esm/sdk/metrics.d.ts.map +1 -0
- package/dist/esm/sdk/metrics.js +18 -0
- package/dist/esm/sdk/metrics.js.map +1 -0
- package/dist/esm/sdk/models/errors/responsevalidationerror.js +1 -1
- package/dist/esm/sdk/models/errors/responsevalidationerror.js.map +1 -1
- package/dist/esm/sdk/models/errors/sdkvalidationerror.d.ts +1 -1
- package/dist/esm/sdk/models/errors/sdkvalidationerror.d.ts.map +1 -1
- package/dist/esm/sdk/models/errors/sdkvalidationerror.js +1 -1
- package/dist/esm/sdk/models/errors/sdkvalidationerror.js.map +1 -1
- package/dist/esm/sdk/models/operations/checkareareferencehealth.d.ts +36 -0
- package/dist/esm/sdk/models/operations/checkareareferencehealth.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/checkareareferencehealth.js +35 -0
- package/dist/esm/sdk/models/operations/checkareareferencehealth.js.map +1 -0
- package/dist/esm/sdk/models/operations/checkepchealth.d.ts +36 -0
- package/dist/esm/sdk/models/operations/checkepchealth.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/checkepchealth.js +35 -0
- package/dist/esm/sdk/models/operations/checkepchealth.js.map +1 -0
- package/dist/esm/sdk/models/operations/checklistingshealth.d.ts +36 -0
- package/dist/esm/sdk/models/operations/checklistingshealth.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/checklistingshealth.js +35 -0
- package/dist/esm/sdk/models/operations/checklistingshealth.js.map +1 -0
- package/dist/esm/sdk/models/operations/getareasbyfieldandids.d.ts +445 -0
- package/dist/esm/sdk/models/operations/getareasbyfieldandids.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/getareasbyfieldandids.js +305 -0
- package/dist/esm/sdk/models/operations/getareasbyfieldandids.js.map +1 -0
- package/dist/esm/sdk/models/operations/getareaswithinradius.d.ts +492 -0
- package/dist/esm/sdk/models/operations/getareaswithinradius.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/getareaswithinradius.js +328 -0
- package/dist/esm/sdk/models/operations/getareaswithinradius.js.map +1 -0
- package/dist/esm/sdk/models/operations/getborderingareas.d.ts +658 -0
- package/dist/esm/sdk/models/operations/getborderingareas.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/getborderingareas.js +434 -0
- package/dist/esm/sdk/models/operations/getborderingareas.js.map +1 -0
- package/dist/esm/sdk/models/operations/getchildareas.d.ts +653 -0
- package/dist/esm/sdk/models/operations/getchildareas.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/getchildareas.js +432 -0
- package/dist/esm/sdk/models/operations/getchildareas.js.map +1 -0
- package/dist/esm/sdk/models/operations/getconnectivityscores.d.ts +2213 -0
- package/dist/esm/sdk/models/operations/getconnectivityscores.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/getconnectivityscores.js +1512 -0
- package/dist/esm/sdk/models/operations/getconnectivityscores.js.map +1 -0
- package/dist/esm/sdk/models/operations/getepcbylocationid.d.ts +310 -0
- package/dist/esm/sdk/models/operations/getepcbylocationid.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/getepcbylocationid.js +269 -0
- package/dist/esm/sdk/models/operations/getepcbylocationid.js.map +1 -0
- package/dist/esm/sdk/models/operations/getepcbypostcode.d.ts +199 -0
- package/dist/esm/sdk/models/operations/getepcbypostcode.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/getepcbypostcode.js +178 -0
- package/dist/esm/sdk/models/operations/getepcbypostcode.js.map +1 -0
- package/dist/esm/sdk/models/operations/getlistingbyid.d.ts +1402 -0
- package/dist/esm/sdk/models/operations/getlistingbyid.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/getlistingbyid.js +967 -0
- package/dist/esm/sdk/models/operations/getlistingbyid.js.map +1 -0
- package/dist/esm/sdk/models/operations/getlistingbysource.d.ts +351 -0
- package/dist/esm/sdk/models/operations/getlistingbysource.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/getlistingbysource.js +294 -0
- package/dist/esm/sdk/models/operations/getlistingbysource.js.map +1 -0
- package/dist/esm/sdk/models/operations/getlistingsbylocation.d.ts +1335 -0
- package/dist/esm/sdk/models/operations/getlistingsbylocation.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/getlistingsbylocation.js +896 -0
- package/dist/esm/sdk/models/operations/getlistingsbylocation.js.map +1 -0
- package/dist/esm/sdk/models/operations/getmetricprofiles.d.ts +1 -1
- package/dist/esm/sdk/models/operations/getmetricprofiles.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/getmetricprofiles.js +1 -1
- package/dist/esm/sdk/models/operations/getmetricprofiles.js.map +1 -1
- package/dist/esm/sdk/models/operations/getmetricvalues.d.ts +608 -0
- package/dist/esm/sdk/models/operations/getmetricvalues.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/getmetricvalues.js +462 -0
- package/dist/esm/sdk/models/operations/getmetricvalues.js.map +1 -0
- package/dist/esm/sdk/models/operations/getnearestpoi.d.ts +393 -0
- package/dist/esm/sdk/models/operations/getnearestpoi.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/getnearestpoi.js +314 -0
- package/dist/esm/sdk/models/operations/getnearestpoi.js.map +1 -0
- package/dist/esm/sdk/models/operations/getplanningapplications.d.ts +1 -1
- package/dist/esm/sdk/models/operations/getplanningapplications.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/getplanningapplications.js +1 -1
- package/dist/esm/sdk/models/operations/getplanningapplications.js.map +1 -1
- package/dist/esm/sdk/models/operations/getplanningapplicationsbysource.d.ts +1 -1
- package/dist/esm/sdk/models/operations/getplanningapplicationsbysource.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/getplanningapplicationsbysource.js +1 -1
- package/dist/esm/sdk/models/operations/getplanningapplicationsbysource.js.map +1 -1
- package/dist/esm/sdk/models/operations/getpoimultipletiles.d.ts +587 -0
- package/dist/esm/sdk/models/operations/getpoimultipletiles.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/getpoimultipletiles.js +547 -0
- package/dist/esm/sdk/models/operations/getpoimultipletiles.js.map +1 -0
- package/dist/esm/sdk/models/operations/getpoitile.d.ts +465 -0
- package/dist/esm/sdk/models/operations/getpoitile.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/getpoitile.js +412 -0
- package/dist/esm/sdk/models/operations/getpoitile.js.map +1 -0
- package/dist/esm/sdk/models/operations/getproperties.d.ts +1 -1
- package/dist/esm/sdk/models/operations/getproperties.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/getproperties.js +1 -1
- package/dist/esm/sdk/models/operations/getproperties.js.map +1 -1
- package/dist/esm/sdk/models/operations/getpropertiesbylocation.d.ts +1 -1
- package/dist/esm/sdk/models/operations/getpropertiesbylocation.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/getpropertiesbylocation.js +1 -1
- package/dist/esm/sdk/models/operations/getpropertiesbylocation.js.map +1 -1
- package/dist/esm/sdk/models/operations/getpropertiesbyslugs.d.ts +1 -1
- package/dist/esm/sdk/models/operations/getpropertiesbyslugs.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/getpropertiesbyslugs.js +1 -1
- package/dist/esm/sdk/models/operations/getpropertiesbyslugs.js.map +1 -1
- package/dist/esm/sdk/models/operations/getpropertiesbysource.d.ts +1 -1
- package/dist/esm/sdk/models/operations/getpropertiesbysource.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/getpropertiesbysource.js +1 -1
- package/dist/esm/sdk/models/operations/getpropertiesbysource.js.map +1 -1
- package/dist/esm/sdk/models/operations/getschoolbyid.d.ts +1 -10
- package/dist/esm/sdk/models/operations/getschoolbyid.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/getschoolbyid.js +1 -1
- package/dist/esm/sdk/models/operations/getschoolbyid.js.map +1 -1
- package/dist/esm/sdk/models/operations/getschoolbyslug.d.ts +1 -10
- package/dist/esm/sdk/models/operations/getschoolbyslug.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/getschoolbyslug.js +1 -1
- package/dist/esm/sdk/models/operations/getschoolbyslug.js.map +1 -1
- package/dist/esm/sdk/models/operations/getschoolbyurn.d.ts +1 -10
- package/dist/esm/sdk/models/operations/getschoolbyurn.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/getschoolbyurn.js +1 -1
- package/dist/esm/sdk/models/operations/getschoolbyurn.js.map +1 -1
- package/dist/esm/sdk/models/operations/getschoolmetrics.d.ts +66 -69
- package/dist/esm/sdk/models/operations/getschoolmetrics.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/getschoolmetrics.js +77 -77
- package/dist/esm/sdk/models/operations/getschoolmetrics.js.map +1 -1
- package/dist/esm/sdk/models/operations/getv1safetycrime.d.ts +61 -61
- package/dist/esm/sdk/models/operations/getv1safetycrime.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/getv1safetycrime.js +61 -63
- package/dist/esm/sdk/models/operations/getv1safetycrime.js.map +1 -1
- package/dist/esm/sdk/models/operations/getv1safetycrimestats.d.ts +1 -1
- package/dist/esm/sdk/models/operations/getv1safetycrimestats.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/getv1safetycrimestats.js +1 -1
- package/dist/esm/sdk/models/operations/getv1safetycrimestats.js.map +1 -1
- package/dist/esm/sdk/models/operations/index.d.ts +20 -0
- package/dist/esm/sdk/models/operations/index.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/index.js +20 -0
- package/dist/esm/sdk/models/operations/index.js.map +1 -1
- package/dist/esm/sdk/models/operations/listschools.d.ts +1 -31
- package/dist/esm/sdk/models/operations/listschools.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/listschools.js +1 -1
- package/dist/esm/sdk/models/operations/listschools.js.map +1 -1
- package/dist/esm/sdk/models/operations/querylistings.d.ts +1544 -0
- package/dist/esm/sdk/models/operations/querylistings.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/querylistings.js +1042 -0
- package/dist/esm/sdk/models/operations/querylistings.js.map +1 -0
- package/dist/esm/sdk/models/operations/querylistingsbysource.d.ts +1420 -0
- package/dist/esm/sdk/models/operations/querylistingsbysource.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/querylistingsbysource.js +964 -0
- package/dist/esm/sdk/models/operations/querylistingsbysource.js.map +1 -0
- package/dist/esm/sdk/models/operations/resolveaddress.d.ts +580 -0
- package/dist/esm/sdk/models/operations/resolveaddress.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/resolveaddress.js +423 -0
- package/dist/esm/sdk/models/operations/resolveaddress.js.map +1 -0
- package/dist/esm/sdk/models/operations/searchplanningapplications.d.ts +1 -1
- package/dist/esm/sdk/models/operations/searchplanningapplications.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/searchplanningapplications.js +1 -1
- package/dist/esm/sdk/models/operations/searchplanningapplications.js.map +1 -1
- package/dist/esm/sdk/models/operations/searchproperties.d.ts +1 -1
- package/dist/esm/sdk/models/operations/searchproperties.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/searchproperties.js +1 -1
- package/dist/esm/sdk/models/operations/searchproperties.js.map +1 -1
- package/dist/esm/sdk/models/operations/searchschoolsnearby.d.ts +1 -25
- package/dist/esm/sdk/models/operations/searchschoolsnearby.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/searchschoolsnearby.js +1 -1
- package/dist/esm/sdk/models/operations/searchschoolsnearby.js.map +1 -1
- package/dist/esm/sdk/models/operations/searchschoolswithin.d.ts +1 -28
- package/dist/esm/sdk/models/operations/searchschoolswithin.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/searchschoolswithin.js +1 -1
- package/dist/esm/sdk/models/operations/searchschoolswithin.js.map +1 -1
- package/dist/esm/sdk/models/operations/searchstreets.d.ts +1 -1
- package/dist/esm/sdk/models/operations/searchstreets.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/searchstreets.js +1 -1
- package/dist/esm/sdk/models/operations/searchstreets.js.map +1 -1
- package/dist/esm/sdk/models/shared/counciltaxdata.d.ts +1 -1
- package/dist/esm/sdk/models/shared/counciltaxdata.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/counciltaxdata.js +1 -1
- package/dist/esm/sdk/models/shared/counciltaxdata.js.map +1 -1
- package/dist/esm/sdk/models/shared/epcdata.d.ts +1 -1
- package/dist/esm/sdk/models/shared/epcdata.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/epcdata.js +1 -1
- package/dist/esm/sdk/models/shared/epcdata.js.map +1 -1
- package/dist/esm/sdk/models/shared/errorresponse.d.ts +1 -1
- package/dist/esm/sdk/models/shared/errorresponse.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/errorresponse.js +1 -1
- package/dist/esm/sdk/models/shared/errorresponse.js.map +1 -1
- package/dist/esm/sdk/models/shared/healthresponse.d.ts +1 -1
- package/dist/esm/sdk/models/shared/healthresponse.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/healthresponse.js +1 -1
- package/dist/esm/sdk/models/shared/healthresponse.js.map +1 -1
- package/dist/esm/sdk/models/shared/marketstatus.d.ts +1 -1
- package/dist/esm/sdk/models/shared/marketstatus.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/marketstatus.js +1 -1
- package/dist/esm/sdk/models/shared/marketstatus.js.map +1 -1
- package/dist/esm/sdk/models/shared/planningapplication.d.ts +1 -1
- package/dist/esm/sdk/models/shared/planningapplication.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/planningapplication.js +1 -1
- package/dist/esm/sdk/models/shared/planningapplication.js.map +1 -1
- package/dist/esm/sdk/models/shared/planninglistresponse.d.ts +1 -1
- package/dist/esm/sdk/models/shared/planninglistresponse.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/planninglistresponse.js +1 -1
- package/dist/esm/sdk/models/shared/planninglistresponse.js.map +1 -1
- package/dist/esm/sdk/models/shared/planningqueryfilters.d.ts +1 -1
- package/dist/esm/sdk/models/shared/planningqueryfilters.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/planningqueryfilters.js +1 -1
- package/dist/esm/sdk/models/shared/planningqueryfilters.js.map +1 -1
- package/dist/esm/sdk/models/shared/planningqueryrequest.d.ts +1 -1
- package/dist/esm/sdk/models/shared/planningqueryrequest.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/planningqueryrequest.js +1 -1
- package/dist/esm/sdk/models/shared/planningqueryrequest.js.map +1 -1
- package/dist/esm/sdk/models/shared/pricingdata.d.ts +1 -1
- package/dist/esm/sdk/models/shared/pricingdata.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/pricingdata.js +1 -1
- package/dist/esm/sdk/models/shared/pricingdata.js.map +1 -1
- package/dist/esm/sdk/models/shared/propertyaddress.d.ts +1 -1
- package/dist/esm/sdk/models/shared/propertyaddress.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/propertyaddress.js +1 -1
- package/dist/esm/sdk/models/shared/propertyaddress.js.map +1 -1
- package/dist/esm/sdk/models/shared/propertyareafilter.d.ts +1 -1
- package/dist/esm/sdk/models/shared/propertyareafilter.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/propertyareafilter.js +1 -1
- package/dist/esm/sdk/models/shared/propertyareafilter.js.map +1 -1
- package/dist/esm/sdk/models/shared/propertybyslugsrequest.d.ts +1 -1
- package/dist/esm/sdk/models/shared/propertybyslugsrequest.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/propertybyslugsrequest.js +1 -1
- package/dist/esm/sdk/models/shared/propertybyslugsrequest.js.map +1 -1
- package/dist/esm/sdk/models/shared/propertydata.d.ts +73 -1
- package/dist/esm/sdk/models/shared/propertydata.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/propertydata.js +25 -1
- package/dist/esm/sdk/models/shared/propertydata.js.map +1 -1
- package/dist/esm/sdk/models/shared/propertylistresponse.d.ts +1 -1
- package/dist/esm/sdk/models/shared/propertylistresponse.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/propertylistresponse.js +1 -1
- package/dist/esm/sdk/models/shared/propertylistresponse.js.map +1 -1
- package/dist/esm/sdk/models/shared/propertylocationidareafilter.d.ts +1 -1
- package/dist/esm/sdk/models/shared/propertylocationidareafilter.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/propertylocationidareafilter.js +1 -1
- package/dist/esm/sdk/models/shared/propertylocationidareafilter.js.map +1 -1
- package/dist/esm/sdk/models/shared/propertymultipolygonareafilter.d.ts +1 -1
- package/dist/esm/sdk/models/shared/propertymultipolygonareafilter.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/propertymultipolygonareafilter.js +1 -1
- package/dist/esm/sdk/models/shared/propertymultipolygonareafilter.js.map +1 -1
- package/dist/esm/sdk/models/shared/propertyonstreet.d.ts +1 -1
- package/dist/esm/sdk/models/shared/propertyonstreet.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/propertyonstreet.js +1 -1
- package/dist/esm/sdk/models/shared/propertyonstreet.js.map +1 -1
- package/dist/esm/sdk/models/shared/propertyoutcodeareafilter.d.ts +1 -1
- package/dist/esm/sdk/models/shared/propertyoutcodeareafilter.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/propertyoutcodeareafilter.js +1 -1
- package/dist/esm/sdk/models/shared/propertyoutcodeareafilter.js.map +1 -1
- package/dist/esm/sdk/models/shared/propertypointareafilter.d.ts +1 -1
- package/dist/esm/sdk/models/shared/propertypointareafilter.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/propertypointareafilter.js +1 -1
- package/dist/esm/sdk/models/shared/propertypointareafilter.js.map +1 -1
- package/dist/esm/sdk/models/shared/propertypolygonareafilter.d.ts +1 -1
- package/dist/esm/sdk/models/shared/propertypolygonareafilter.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/propertypolygonareafilter.js +1 -1
- package/dist/esm/sdk/models/shared/propertypolygonareafilter.js.map +1 -1
- package/dist/esm/sdk/models/shared/propertypostcodeareafilter.d.ts +1 -1
- package/dist/esm/sdk/models/shared/propertypostcodeareafilter.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/propertypostcodeareafilter.js +1 -1
- package/dist/esm/sdk/models/shared/propertypostcodeareafilter.js.map +1 -1
- package/dist/esm/sdk/models/shared/propertyquerycondition.d.ts +1 -1
- package/dist/esm/sdk/models/shared/propertyquerycondition.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/propertyquerycondition.js +1 -1
- package/dist/esm/sdk/models/shared/propertyquerycondition.js.map +1 -1
- package/dist/esm/sdk/models/shared/propertyquerygroup.d.ts +1 -1
- package/dist/esm/sdk/models/shared/propertyquerygroup.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/propertyquerygroup.js +1 -1
- package/dist/esm/sdk/models/shared/propertyquerygroup.js.map +1 -1
- package/dist/esm/sdk/models/shared/propertyqueryoperator.d.ts +1 -1
- package/dist/esm/sdk/models/shared/propertyqueryoperator.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/propertyqueryoperator.js +1 -1
- package/dist/esm/sdk/models/shared/propertyqueryoperator.js.map +1 -1
- package/dist/esm/sdk/models/shared/propertyqueryrequest.d.ts +234 -1
- package/dist/esm/sdk/models/shared/propertyqueryrequest.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/propertyqueryrequest.js +144 -1
- package/dist/esm/sdk/models/shared/propertyqueryrequest.js.map +1 -1
- package/dist/esm/sdk/models/shared/propertytags.d.ts +1 -1
- package/dist/esm/sdk/models/shared/propertytags.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/propertytags.js +1 -1
- package/dist/esm/sdk/models/shared/propertytags.js.map +1 -1
- package/dist/esm/sdk/models/shared/roomdetails.d.ts +1 -1
- package/dist/esm/sdk/models/shared/roomdetails.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/roomdetails.js +1 -1
- package/dist/esm/sdk/models/shared/roomdetails.js.map +1 -1
- package/dist/esm/sdk/models/shared/salerecord.d.ts +1 -1
- package/dist/esm/sdk/models/shared/salerecord.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/salerecord.js +1 -1
- package/dist/esm/sdk/models/shared/salerecord.js.map +1 -1
- package/dist/esm/sdk/models/shared/school.d.ts +1 -1
- package/dist/esm/sdk/models/shared/school.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/school.js +1 -1
- package/dist/esm/sdk/models/shared/school.js.map +1 -1
- package/dist/esm/sdk/models/shared/security.d.ts +1 -1
- package/dist/esm/sdk/models/shared/security.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/security.js +1 -1
- package/dist/esm/sdk/models/shared/security.js.map +1 -1
- package/dist/esm/sdk/models/shared/streetdescriptor.d.ts +1 -1
- package/dist/esm/sdk/models/shared/streetdescriptor.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/streetdescriptor.js +1 -1
- package/dist/esm/sdk/models/shared/streetdescriptor.js.map +1 -1
- package/dist/esm/sdk/models/shared/streetdetails.d.ts +1 -1
- package/dist/esm/sdk/models/shared/streetdetails.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/streetdetails.js +1 -1
- package/dist/esm/sdk/models/shared/streetdetails.js.map +1 -1
- package/dist/esm/sdk/models/shared/streetquerybycoordinates.d.ts +1 -1
- package/dist/esm/sdk/models/shared/streetquerybycoordinates.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/streetquerybycoordinates.js +1 -1
- package/dist/esm/sdk/models/shared/streetquerybycoordinates.js.map +1 -1
- package/dist/esm/sdk/models/shared/streetquerybyname.d.ts +1 -1
- package/dist/esm/sdk/models/shared/streetquerybyname.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/streetquerybyname.js +1 -1
- package/dist/esm/sdk/models/shared/streetquerybyname.js.map +1 -1
- package/dist/esm/sdk/models/shared/streetquerybypostcode.d.ts +1 -1
- package/dist/esm/sdk/models/shared/streetquerybypostcode.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/streetquerybypostcode.js +1 -1
- package/dist/esm/sdk/models/shared/streetquerybypostcode.js.map +1 -1
- package/dist/esm/sdk/models/shared/streetquerybyuprn.d.ts +1 -1
- package/dist/esm/sdk/models/shared/streetquerybyuprn.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/streetquerybyuprn.js +1 -1
- package/dist/esm/sdk/models/shared/streetquerybyuprn.js.map +1 -1
- package/dist/esm/sdk/models/shared/streetquerybyusrn.d.ts +1 -1
- package/dist/esm/sdk/models/shared/streetquerybyusrn.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/streetquerybyusrn.js +1 -1
- package/dist/esm/sdk/models/shared/streetquerybyusrn.js.map +1 -1
- package/dist/esm/sdk/models/shared/streetqueryrequest.d.ts +1 -1
- package/dist/esm/sdk/models/shared/streetqueryrequest.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/streetqueryrequest.js +1 -1
- package/dist/esm/sdk/models/shared/streetqueryrequest.js.map +1 -1
- package/dist/esm/sdk/models/shared/streetqueryresponse.d.ts +1 -1
- package/dist/esm/sdk/models/shared/streetqueryresponse.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/streetqueryresponse.js +1 -1
- package/dist/esm/sdk/models/shared/streetqueryresponse.js.map +1 -1
- package/dist/esm/sdk/models/shared/streetstatistics.d.ts +1 -1
- package/dist/esm/sdk/models/shared/streetstatistics.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/streetstatistics.js +1 -1
- package/dist/esm/sdk/models/shared/streetstatistics.js.map +1 -1
- package/dist/esm/sdk/models/shared/tenuredata.d.ts +1 -1
- package/dist/esm/sdk/models/shared/tenuredata.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/tenuredata.js +1 -1
- package/dist/esm/sdk/models/shared/tenuredata.js.map +1 -1
- package/dist/esm/sdk/poi.d.ts +30 -0
- package/dist/esm/sdk/poi.d.ts.map +1 -0
- package/dist/esm/sdk/poi.js +39 -0
- package/dist/esm/sdk/poi.js.map +1 -0
- package/dist/esm/sdk/schools.d.ts +14 -0
- package/dist/esm/sdk/schools.d.ts.map +1 -1
- package/dist/esm/sdk/schools.js +20 -0
- package/dist/esm/sdk/schools.js.map +1 -1
- package/dist/esm/sdk/sdk.d.ts +27 -9
- package/dist/esm/sdk/sdk.d.ts.map +1 -1
- package/dist/esm/sdk/sdk.js +34 -10
- package/dist/esm/sdk/sdk.js.map +1 -1
- package/dist/{commonjs/sdk/location.d.ts → esm/sdk/streets.d.ts} +2 -2
- package/dist/esm/sdk/streets.d.ts.map +1 -0
- package/dist/esm/sdk/{location.js → streets.js} +4 -4
- package/dist/esm/sdk/streets.js.map +1 -0
- package/dist/esm/sdk/system.d.ts +48 -0
- package/dist/esm/sdk/system.d.ts.map +1 -0
- package/dist/esm/sdk/system.js +68 -0
- package/dist/esm/sdk/system.js.map +1 -0
- package/dist/esm/sdk/types/blobs.d.ts +1 -1
- package/dist/esm/sdk/types/blobs.d.ts.map +1 -1
- package/dist/esm/sdk/types/blobs.js +1 -1
- package/dist/esm/sdk/types/blobs.js.map +1 -1
- package/dist/esm/sdk/types/constdatetime.d.ts +1 -1
- package/dist/esm/sdk/types/constdatetime.d.ts.map +1 -1
- package/dist/esm/sdk/types/constdatetime.js +1 -1
- package/dist/esm/sdk/types/constdatetime.js.map +1 -1
- package/examples/{healthCheckLocationHealth.example.ts → addressResolveAddress.example.ts} +2 -2
- package/jsr.json +1 -1
- package/openapi.json +1 -908
- package/package.json +2 -2
- package/src/funcs/addressResolveAddress.ts +166 -0
- package/src/funcs/areasGetAreas.ts +181 -0
- package/src/funcs/areasGetAreasWithin.ts +170 -0
- package/src/funcs/areasGetBorderingAreas.ts +181 -0
- package/src/funcs/areasGetChildAreas.ts +174 -0
- package/src/funcs/connectivityGetConnectivityScores.ts +182 -0
- package/src/funcs/epcGetEPC.ts +166 -0
- package/src/funcs/epcGetEPCByPostcode.ts +165 -0
- package/src/funcs/listingsGetListingById.ts +166 -0
- package/src/funcs/listingsGetListingBySource.ts +175 -0
- package/src/funcs/listingsGetListingsByLocation.ts +171 -0
- package/src/funcs/listingsQueryListings.ts +165 -0
- package/src/funcs/listingsQueryListingsBySource.ts +164 -0
- package/src/funcs/metricsGetMetricValues.ts +176 -0
- package/src/funcs/planningGetPlanningApplications.ts +1 -1
- package/src/funcs/planningGetPlanningApplicationsBySource.ts +1 -1
- package/src/funcs/planningSearchPlanningApplications.ts +1 -1
- package/src/funcs/poiGetNearestPOI.ts +169 -0
- package/src/funcs/poiGetPOIMultipleTiles.ts +166 -0
- package/src/funcs/poiGetPOITile.ts +190 -0
- package/src/funcs/propertyGetProperties.ts +1 -1
- package/src/funcs/propertyGetPropertiesByLocation.ts +1 -1
- package/src/funcs/propertyGetPropertiesBySlugs.ts +1 -1
- package/src/funcs/propertyGetPropertiesBySource.ts +1 -1
- package/src/funcs/propertySearchProperties.ts +1 -1
- package/src/funcs/safetyGetV1SafetyCrime.ts +1 -1
- package/src/funcs/safetyGetV1SafetyCrimeStats.ts +1 -1
- package/src/funcs/schoolsGet.ts +1 -1
- package/src/funcs/schoolsGetBySlug.ts +1 -1
- package/src/funcs/schoolsGetByUrn.ts +1 -1
- package/src/funcs/{schoolMetricsGetMetrics.ts → schoolsGetMetrics.ts} +2 -2
- package/src/funcs/schoolsList.ts +1 -1
- package/src/funcs/{schoolMetricsListProfiles.ts → schoolsListProfiles.ts} +2 -2
- package/src/funcs/schoolsSearchNearby.ts +1 -1
- package/src/funcs/schoolsSearchWithin.ts +1 -1
- package/src/funcs/{locationSearchStreets.ts → streetsSearchStreets.ts} +2 -2
- package/src/funcs/systemCheckAreaReferenceHealth.ts +140 -0
- package/src/funcs/systemCheckEPCHealth.ts +140 -0
- package/src/funcs/systemCheckListingsHealth.ts +140 -0
- package/src/funcs/{healthCheckLocationHealth.ts → systemCheckLocationHealth.ts} +2 -2
- package/src/funcs/{healthCheckPlanningHealth.ts → systemCheckPlanningHealth.ts} +2 -2
- package/src/funcs/{healthCheckPropertyHealth.ts → systemCheckPropertyHealth.ts} +2 -2
- package/src/lib/base64.ts +1 -1
- package/src/lib/config.ts +4 -4
- package/src/lib/schemas.ts +1 -1
- package/src/sdk/address.ts +27 -0
- package/src/sdk/areas.ts +81 -0
- package/src/sdk/connectivity.ts +27 -0
- package/src/sdk/epc.ts +45 -0
- package/src/sdk/listings.ts +99 -0
- package/src/sdk/metrics.ts +27 -0
- package/src/sdk/models/errors/responsevalidationerror.ts +1 -1
- package/src/sdk/models/errors/sdkvalidationerror.ts +1 -1
- package/src/sdk/models/operations/checkareareferencehealth.ts +82 -0
- package/src/sdk/models/operations/checkepchealth.ts +77 -0
- package/src/sdk/models/operations/checklistingshealth.ts +79 -0
- package/src/sdk/models/operations/getareasbyfieldandids.ts +796 -0
- package/src/sdk/models/operations/getareaswithinradius.ts +843 -0
- package/src/sdk/models/operations/getborderingareas.ts +1134 -0
- package/src/sdk/models/operations/getchildareas.ts +1106 -0
- package/src/sdk/models/operations/getconnectivityscores.ts +4272 -0
- package/src/sdk/models/operations/getepcbylocationid.ts +598 -0
- package/src/sdk/models/operations/getepcbypostcode.ts +397 -0
- package/src/sdk/models/operations/getlistingbyid.ts +2274 -0
- package/src/sdk/models/operations/getlistingbysource.ts +659 -0
- package/src/sdk/models/operations/getlistingsbylocation.ts +2269 -0
- package/src/sdk/models/operations/getmetricprofiles.ts +1 -1
- package/src/sdk/models/operations/getmetricvalues.ts +950 -0
- package/src/sdk/models/operations/getnearestpoi.ts +761 -0
- package/src/sdk/models/operations/getplanningapplications.ts +1 -1
- package/src/sdk/models/operations/getplanningapplicationsbysource.ts +1 -1
- package/src/sdk/models/operations/getpoimultipletiles.ts +1223 -0
- package/src/sdk/models/operations/getpoitile.ts +901 -0
- package/src/sdk/models/operations/getproperties.ts +1 -1
- package/src/sdk/models/operations/getpropertiesbylocation.ts +1 -1
- package/src/sdk/models/operations/getpropertiesbyslugs.ts +1 -1
- package/src/sdk/models/operations/getpropertiesbysource.ts +1 -1
- package/src/sdk/models/operations/getschoolbyid.ts +1 -10
- package/src/sdk/models/operations/getschoolbyslug.ts +1 -10
- package/src/sdk/models/operations/getschoolbyurn.ts +1 -10
- package/src/sdk/models/operations/getschoolmetrics.ts +124 -136
- package/src/sdk/models/operations/getv1safetycrime.ts +134 -111
- package/src/sdk/models/operations/getv1safetycrimestats.ts +1 -1
- package/src/sdk/models/operations/index.ts +20 -0
- package/src/sdk/models/operations/listschools.ts +1 -31
- package/src/sdk/models/operations/querylistings.ts +2507 -0
- package/src/sdk/models/operations/querylistingsbysource.ts +2470 -0
- package/src/sdk/models/operations/resolveaddress.ts +1014 -0
- package/src/sdk/models/operations/searchplanningapplications.ts +1 -1
- package/src/sdk/models/operations/searchproperties.ts +1 -1
- package/src/sdk/models/operations/searchschoolsnearby.ts +1 -25
- package/src/sdk/models/operations/searchschoolswithin.ts +1 -28
- package/src/sdk/models/operations/searchstreets.ts +1 -1
- package/src/sdk/models/shared/counciltaxdata.ts +1 -1
- package/src/sdk/models/shared/epcdata.ts +1 -1
- package/src/sdk/models/shared/errorresponse.ts +1 -1
- package/src/sdk/models/shared/healthresponse.ts +1 -1
- package/src/sdk/models/shared/marketstatus.ts +1 -1
- package/src/sdk/models/shared/planningapplication.ts +1 -1
- package/src/sdk/models/shared/planninglistresponse.ts +1 -1
- package/src/sdk/models/shared/planningqueryfilters.ts +1 -1
- package/src/sdk/models/shared/planningqueryrequest.ts +1 -1
- package/src/sdk/models/shared/pricingdata.ts +1 -1
- package/src/sdk/models/shared/propertyaddress.ts +1 -1
- package/src/sdk/models/shared/propertyareafilter.ts +1 -1
- package/src/sdk/models/shared/propertybyslugsrequest.ts +1 -1
- package/src/sdk/models/shared/propertydata.ts +25 -1
- package/src/sdk/models/shared/propertylistresponse.ts +1 -1
- package/src/sdk/models/shared/propertylocationidareafilter.ts +1 -1
- package/src/sdk/models/shared/propertymultipolygonareafilter.ts +1 -1
- package/src/sdk/models/shared/propertyonstreet.ts +1 -1
- package/src/sdk/models/shared/propertyoutcodeareafilter.ts +1 -1
- package/src/sdk/models/shared/propertypointareafilter.ts +1 -1
- package/src/sdk/models/shared/propertypolygonareafilter.ts +1 -1
- package/src/sdk/models/shared/propertypostcodeareafilter.ts +1 -1
- package/src/sdk/models/shared/propertyquerycondition.ts +1 -1
- package/src/sdk/models/shared/propertyquerygroup.ts +1 -1
- package/src/sdk/models/shared/propertyqueryoperator.ts +1 -1
- package/src/sdk/models/shared/propertyqueryrequest.ts +228 -1
- package/src/sdk/models/shared/propertytags.ts +1 -1
- package/src/sdk/models/shared/roomdetails.ts +1 -1
- package/src/sdk/models/shared/salerecord.ts +1 -1
- package/src/sdk/models/shared/school.ts +1 -1
- package/src/sdk/models/shared/security.ts +1 -1
- package/src/sdk/models/shared/streetdescriptor.ts +1 -1
- package/src/sdk/models/shared/streetdetails.ts +1 -1
- package/src/sdk/models/shared/streetquerybycoordinates.ts +1 -1
- package/src/sdk/models/shared/streetquerybyname.ts +1 -1
- package/src/sdk/models/shared/streetquerybypostcode.ts +1 -1
- package/src/sdk/models/shared/streetquerybyuprn.ts +1 -1
- package/src/sdk/models/shared/streetquerybyusrn.ts +1 -1
- package/src/sdk/models/shared/streetqueryrequest.ts +1 -1
- package/src/sdk/models/shared/streetqueryresponse.ts +1 -1
- package/src/sdk/models/shared/streetstatistics.ts +1 -1
- package/src/sdk/models/shared/tenuredata.ts +1 -1
- package/src/sdk/poi.ts +65 -0
- package/src/sdk/schools.ts +34 -0
- package/src/sdk/sdk.ts +50 -14
- package/src/sdk/{location.ts → streets.ts} +3 -3
- package/src/sdk/system.ts +106 -0
- package/src/sdk/types/blobs.ts +7 -6
- package/src/sdk/types/constdatetime.ts +1 -1
- package/dist/commonjs/funcs/locationSearchStreets.d.ts.map +0 -1
- package/dist/commonjs/funcs/locationSearchStreets.js.map +0 -1
- package/dist/commonjs/funcs/schoolMetricsGetMetrics.d.ts.map +0 -1
- package/dist/commonjs/funcs/schoolMetricsGetMetrics.js.map +0 -1
- package/dist/commonjs/sdk/health.d.ts +0 -26
- package/dist/commonjs/sdk/health.d.ts.map +0 -1
- package/dist/commonjs/sdk/health.js +0 -42
- package/dist/commonjs/sdk/health.js.map +0 -1
- package/dist/commonjs/sdk/location.d.ts.map +0 -1
- package/dist/commonjs/sdk/location.js.map +0 -1
- package/dist/commonjs/sdk/schoolmetrics.d.ts +0 -19
- package/dist/commonjs/sdk/schoolmetrics.d.ts.map +0 -1
- package/dist/commonjs/sdk/schoolmetrics.js +0 -32
- package/dist/commonjs/sdk/schoolmetrics.js.map +0 -1
- package/dist/esm/funcs/healthCheckPlanningHealth.d.ts.map +0 -1
- package/dist/esm/funcs/healthCheckPropertyHealth.d.ts.map +0 -1
- package/dist/esm/funcs/locationSearchStreets.d.ts.map +0 -1
- package/dist/esm/funcs/locationSearchStreets.js.map +0 -1
- package/dist/esm/funcs/schoolMetricsGetMetrics.d.ts.map +0 -1
- package/dist/esm/funcs/schoolMetricsGetMetrics.js.map +0 -1
- package/dist/esm/sdk/health.d.ts +0 -26
- package/dist/esm/sdk/health.d.ts.map +0 -1
- package/dist/esm/sdk/health.js +0 -38
- package/dist/esm/sdk/health.js.map +0 -1
- package/dist/esm/sdk/location.d.ts.map +0 -1
- package/dist/esm/sdk/location.js.map +0 -1
- package/dist/esm/sdk/schoolmetrics.d.ts +0 -19
- package/dist/esm/sdk/schoolmetrics.d.ts.map +0 -1
- package/dist/esm/sdk/schoolmetrics.js +0 -28
- package/dist/esm/sdk/schoolmetrics.js.map +0 -1
- package/src/sdk/health.ts +0 -57
- package/src/sdk/schoolmetrics.ts +0 -43
|
@@ -0,0 +1,2507 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../../lib/schemas.js";
|
|
8
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
9
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Sort order
|
|
14
|
+
*/
|
|
15
|
+
export const Order = {
|
|
16
|
+
Asc: "asc",
|
|
17
|
+
Desc: "desc",
|
|
18
|
+
} as const;
|
|
19
|
+
/**
|
|
20
|
+
* Sort order
|
|
21
|
+
*/
|
|
22
|
+
export type Order = ClosedEnum<typeof Order>;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Field to order by
|
|
26
|
+
*/
|
|
27
|
+
export const OrderBy = {
|
|
28
|
+
PublishedDate: "publishedDate",
|
|
29
|
+
Price: "price",
|
|
30
|
+
UpdatedAt: "updatedAt",
|
|
31
|
+
} as const;
|
|
32
|
+
/**
|
|
33
|
+
* Field to order by
|
|
34
|
+
*/
|
|
35
|
+
export type OrderBy = ClosedEnum<typeof OrderBy>;
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Filter by listing status
|
|
39
|
+
*/
|
|
40
|
+
export const Status = {
|
|
41
|
+
Live: "live",
|
|
42
|
+
Archived: "archived",
|
|
43
|
+
Removed: "removed",
|
|
44
|
+
} as const;
|
|
45
|
+
/**
|
|
46
|
+
* Filter by listing status
|
|
47
|
+
*/
|
|
48
|
+
export type Status = ClosedEnum<typeof Status>;
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Listing query parameters
|
|
52
|
+
*/
|
|
53
|
+
export type QueryListingsRequestBody = {
|
|
54
|
+
/**
|
|
55
|
+
* Maximum number of results
|
|
56
|
+
*/
|
|
57
|
+
limit?: number | undefined;
|
|
58
|
+
/**
|
|
59
|
+
* Filter by location IDs
|
|
60
|
+
*/
|
|
61
|
+
locationIds?: Array<string> | undefined;
|
|
62
|
+
/**
|
|
63
|
+
* Pagination offset
|
|
64
|
+
*/
|
|
65
|
+
offset?: number | undefined;
|
|
66
|
+
/**
|
|
67
|
+
* Sort order
|
|
68
|
+
*/
|
|
69
|
+
order?: Order | undefined;
|
|
70
|
+
/**
|
|
71
|
+
* Field to order by
|
|
72
|
+
*/
|
|
73
|
+
orderBy?: OrderBy | undefined;
|
|
74
|
+
/**
|
|
75
|
+
* Filter by providers
|
|
76
|
+
*/
|
|
77
|
+
providers?: Array<string> | undefined;
|
|
78
|
+
/**
|
|
79
|
+
* Filter by listing status
|
|
80
|
+
*/
|
|
81
|
+
status?: Status | undefined;
|
|
82
|
+
};
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* Error type category
|
|
86
|
+
*/
|
|
87
|
+
export const QueryListingsListingsResponseType = {
|
|
88
|
+
ApiError: "api_error",
|
|
89
|
+
InvalidRequestError: "invalid_request_error",
|
|
90
|
+
AuthenticationError: "authentication_error",
|
|
91
|
+
RateLimitError: "rate_limit_error",
|
|
92
|
+
} as const;
|
|
93
|
+
/**
|
|
94
|
+
* Error type category
|
|
95
|
+
*/
|
|
96
|
+
export type QueryListingsListingsResponseType = ClosedEnum<
|
|
97
|
+
typeof QueryListingsListingsResponseType
|
|
98
|
+
>;
|
|
99
|
+
|
|
100
|
+
export type QueryListingsListingsError = {
|
|
101
|
+
/**
|
|
102
|
+
* Machine-readable error code
|
|
103
|
+
*/
|
|
104
|
+
code?: string | undefined;
|
|
105
|
+
/**
|
|
106
|
+
* URL to relevant documentation
|
|
107
|
+
*/
|
|
108
|
+
docUrl?: string | undefined;
|
|
109
|
+
/**
|
|
110
|
+
* Human-readable error message
|
|
111
|
+
*/
|
|
112
|
+
message: string;
|
|
113
|
+
/**
|
|
114
|
+
* Parameter that caused the error
|
|
115
|
+
*/
|
|
116
|
+
param?: string | undefined;
|
|
117
|
+
/**
|
|
118
|
+
* Error type category
|
|
119
|
+
*/
|
|
120
|
+
type: QueryListingsListingsResponseType;
|
|
121
|
+
};
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* Error response
|
|
125
|
+
*/
|
|
126
|
+
export type QueryListingsListingsResponseResponseBody = {
|
|
127
|
+
error: QueryListingsListingsError;
|
|
128
|
+
};
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* Error type category
|
|
132
|
+
*/
|
|
133
|
+
export const QueryListingsListingsType = {
|
|
134
|
+
ApiError: "api_error",
|
|
135
|
+
InvalidRequestError: "invalid_request_error",
|
|
136
|
+
AuthenticationError: "authentication_error",
|
|
137
|
+
RateLimitError: "rate_limit_error",
|
|
138
|
+
} as const;
|
|
139
|
+
/**
|
|
140
|
+
* Error type category
|
|
141
|
+
*/
|
|
142
|
+
export type QueryListingsListingsType = ClosedEnum<
|
|
143
|
+
typeof QueryListingsListingsType
|
|
144
|
+
>;
|
|
145
|
+
|
|
146
|
+
export type QueryListingsError = {
|
|
147
|
+
/**
|
|
148
|
+
* Machine-readable error code
|
|
149
|
+
*/
|
|
150
|
+
code?: string | undefined;
|
|
151
|
+
/**
|
|
152
|
+
* URL to relevant documentation
|
|
153
|
+
*/
|
|
154
|
+
docUrl?: string | undefined;
|
|
155
|
+
/**
|
|
156
|
+
* Human-readable error message
|
|
157
|
+
*/
|
|
158
|
+
message: string;
|
|
159
|
+
/**
|
|
160
|
+
* Parameter that caused the error
|
|
161
|
+
*/
|
|
162
|
+
param?: string | undefined;
|
|
163
|
+
/**
|
|
164
|
+
* Error type category
|
|
165
|
+
*/
|
|
166
|
+
type: QueryListingsListingsType;
|
|
167
|
+
};
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
* Error response
|
|
171
|
+
*/
|
|
172
|
+
export type QueryListingsListingsResponseBody = {
|
|
173
|
+
error: QueryListingsError;
|
|
174
|
+
};
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
* Listing address
|
|
178
|
+
*/
|
|
179
|
+
export type QueryListingsAddress = {
|
|
180
|
+
/**
|
|
181
|
+
* City
|
|
182
|
+
*/
|
|
183
|
+
city?: string | null | undefined;
|
|
184
|
+
/**
|
|
185
|
+
* Country code
|
|
186
|
+
*/
|
|
187
|
+
country?: string | undefined;
|
|
188
|
+
/**
|
|
189
|
+
* District
|
|
190
|
+
*/
|
|
191
|
+
district?: string | null | undefined;
|
|
192
|
+
/**
|
|
193
|
+
* Postcode incode
|
|
194
|
+
*/
|
|
195
|
+
incode?: string | undefined;
|
|
196
|
+
/**
|
|
197
|
+
* Original address string from source
|
|
198
|
+
*/
|
|
199
|
+
originalAddress: string;
|
|
200
|
+
/**
|
|
201
|
+
* Postcode outcode
|
|
202
|
+
*/
|
|
203
|
+
outcode?: string | undefined;
|
|
204
|
+
/**
|
|
205
|
+
* UK postcode
|
|
206
|
+
*/
|
|
207
|
+
postcode: string;
|
|
208
|
+
/**
|
|
209
|
+
* Property number
|
|
210
|
+
*/
|
|
211
|
+
propertyNumber?: string | null | undefined;
|
|
212
|
+
/**
|
|
213
|
+
* Region
|
|
214
|
+
*/
|
|
215
|
+
region?: string | null | undefined;
|
|
216
|
+
/**
|
|
217
|
+
* Street name
|
|
218
|
+
*/
|
|
219
|
+
street?: string | null | undefined;
|
|
220
|
+
};
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
* Agent information
|
|
224
|
+
*/
|
|
225
|
+
export type QueryListingsAgent = {
|
|
226
|
+
/**
|
|
227
|
+
* Agency address
|
|
228
|
+
*/
|
|
229
|
+
address?: string | null | undefined;
|
|
230
|
+
/**
|
|
231
|
+
* Provider's agency ID
|
|
232
|
+
*/
|
|
233
|
+
agencyId?: string | null | undefined;
|
|
234
|
+
/**
|
|
235
|
+
* Agency name
|
|
236
|
+
*/
|
|
237
|
+
agencyName?: string | null | undefined;
|
|
238
|
+
/**
|
|
239
|
+
* Provider's agent ID
|
|
240
|
+
*/
|
|
241
|
+
agentId?: string | null | undefined;
|
|
242
|
+
/**
|
|
243
|
+
* Agent name
|
|
244
|
+
*/
|
|
245
|
+
agentName?: string | null | undefined;
|
|
246
|
+
/**
|
|
247
|
+
* Provider's branch ID
|
|
248
|
+
*/
|
|
249
|
+
branchId?: string | null | undefined;
|
|
250
|
+
/**
|
|
251
|
+
* Branch name
|
|
252
|
+
*/
|
|
253
|
+
branchName?: string | null | undefined;
|
|
254
|
+
/**
|
|
255
|
+
* Contact email
|
|
256
|
+
*/
|
|
257
|
+
email?: string | null | undefined;
|
|
258
|
+
/**
|
|
259
|
+
* Additional email addresses
|
|
260
|
+
*/
|
|
261
|
+
emails?: Array<string> | null | undefined;
|
|
262
|
+
/**
|
|
263
|
+
* Contact phone
|
|
264
|
+
*/
|
|
265
|
+
phone?: string | null | undefined;
|
|
266
|
+
/**
|
|
267
|
+
* Additional phone numbers
|
|
268
|
+
*/
|
|
269
|
+
phones?: Array<string> | null | undefined;
|
|
270
|
+
/**
|
|
271
|
+
* Agency postcode
|
|
272
|
+
*/
|
|
273
|
+
postcode?: string | null | undefined;
|
|
274
|
+
/**
|
|
275
|
+
* Agency website
|
|
276
|
+
*/
|
|
277
|
+
website?: string | null | undefined;
|
|
278
|
+
};
|
|
279
|
+
|
|
280
|
+
/**
|
|
281
|
+
* Type of image
|
|
282
|
+
*/
|
|
283
|
+
export const QueryListingsListingsResponse200ApplicationJSONResponseBodyResultBrochureImagesType =
|
|
284
|
+
{
|
|
285
|
+
Standard: "standard",
|
|
286
|
+
Floorplan: "floorplan",
|
|
287
|
+
Epc: "epc",
|
|
288
|
+
Brochure: "brochure",
|
|
289
|
+
} as const;
|
|
290
|
+
/**
|
|
291
|
+
* Type of image
|
|
292
|
+
*/
|
|
293
|
+
export type QueryListingsListingsResponse200ApplicationJSONResponseBodyResultBrochureImagesType =
|
|
294
|
+
ClosedEnum<
|
|
295
|
+
typeof QueryListingsListingsResponse200ApplicationJSONResponseBodyResultBrochureImagesType
|
|
296
|
+
>;
|
|
297
|
+
|
|
298
|
+
/**
|
|
299
|
+
* Listing image
|
|
300
|
+
*/
|
|
301
|
+
export type QueryListingsBrochureImages = {
|
|
302
|
+
/**
|
|
303
|
+
* Image caption
|
|
304
|
+
*/
|
|
305
|
+
caption?: string | null | undefined;
|
|
306
|
+
/**
|
|
307
|
+
* Display order
|
|
308
|
+
*/
|
|
309
|
+
order?: number | null | undefined;
|
|
310
|
+
/**
|
|
311
|
+
* Type of image
|
|
312
|
+
*/
|
|
313
|
+
type?:
|
|
314
|
+
| QueryListingsListingsResponse200ApplicationJSONResponseBodyResultBrochureImagesType
|
|
315
|
+
| null
|
|
316
|
+
| undefined;
|
|
317
|
+
/**
|
|
318
|
+
* Image URL
|
|
319
|
+
*/
|
|
320
|
+
url: string;
|
|
321
|
+
};
|
|
322
|
+
|
|
323
|
+
/**
|
|
324
|
+
* Property category
|
|
325
|
+
*/
|
|
326
|
+
export const QueryListingsCategory = {
|
|
327
|
+
Residential: "residential",
|
|
328
|
+
Commercial: "commercial",
|
|
329
|
+
} as const;
|
|
330
|
+
/**
|
|
331
|
+
* Property category
|
|
332
|
+
*/
|
|
333
|
+
export type QueryListingsCategory = ClosedEnum<typeof QueryListingsCategory>;
|
|
334
|
+
|
|
335
|
+
/**
|
|
336
|
+
* Type of image
|
|
337
|
+
*/
|
|
338
|
+
export const QueryListingsListingsResponse200ApplicationJSONResponseBodyResultEnergyRatingImagesType =
|
|
339
|
+
{
|
|
340
|
+
Standard: "standard",
|
|
341
|
+
Floorplan: "floorplan",
|
|
342
|
+
Epc: "epc",
|
|
343
|
+
Brochure: "brochure",
|
|
344
|
+
} as const;
|
|
345
|
+
/**
|
|
346
|
+
* Type of image
|
|
347
|
+
*/
|
|
348
|
+
export type QueryListingsListingsResponse200ApplicationJSONResponseBodyResultEnergyRatingImagesType =
|
|
349
|
+
ClosedEnum<
|
|
350
|
+
typeof QueryListingsListingsResponse200ApplicationJSONResponseBodyResultEnergyRatingImagesType
|
|
351
|
+
>;
|
|
352
|
+
|
|
353
|
+
/**
|
|
354
|
+
* Listing image
|
|
355
|
+
*/
|
|
356
|
+
export type QueryListingsEnergyRatingImages = {
|
|
357
|
+
/**
|
|
358
|
+
* Image caption
|
|
359
|
+
*/
|
|
360
|
+
caption?: string | null | undefined;
|
|
361
|
+
/**
|
|
362
|
+
* Display order
|
|
363
|
+
*/
|
|
364
|
+
order?: number | null | undefined;
|
|
365
|
+
/**
|
|
366
|
+
* Type of image
|
|
367
|
+
*/
|
|
368
|
+
type?:
|
|
369
|
+
| QueryListingsListingsResponse200ApplicationJSONResponseBodyResultEnergyRatingImagesType
|
|
370
|
+
| null
|
|
371
|
+
| undefined;
|
|
372
|
+
/**
|
|
373
|
+
* Image URL
|
|
374
|
+
*/
|
|
375
|
+
url: string;
|
|
376
|
+
};
|
|
377
|
+
|
|
378
|
+
/**
|
|
379
|
+
* Property feature
|
|
380
|
+
*/
|
|
381
|
+
export type QueryListingsFeatures = {
|
|
382
|
+
/**
|
|
383
|
+
* Feature identifier
|
|
384
|
+
*/
|
|
385
|
+
featureId: string;
|
|
386
|
+
/**
|
|
387
|
+
* Feature value
|
|
388
|
+
*/
|
|
389
|
+
value: string;
|
|
390
|
+
};
|
|
391
|
+
|
|
392
|
+
/**
|
|
393
|
+
* Type of image
|
|
394
|
+
*/
|
|
395
|
+
export const QueryListingsListingsResponse200Type = {
|
|
396
|
+
Standard: "standard",
|
|
397
|
+
Floorplan: "floorplan",
|
|
398
|
+
Epc: "epc",
|
|
399
|
+
Brochure: "brochure",
|
|
400
|
+
} as const;
|
|
401
|
+
/**
|
|
402
|
+
* Type of image
|
|
403
|
+
*/
|
|
404
|
+
export type QueryListingsListingsResponse200Type = ClosedEnum<
|
|
405
|
+
typeof QueryListingsListingsResponse200Type
|
|
406
|
+
>;
|
|
407
|
+
|
|
408
|
+
/**
|
|
409
|
+
* Listing image
|
|
410
|
+
*/
|
|
411
|
+
export type QueryListingsFloorPlanImages = {
|
|
412
|
+
/**
|
|
413
|
+
* Image caption
|
|
414
|
+
*/
|
|
415
|
+
caption?: string | null | undefined;
|
|
416
|
+
/**
|
|
417
|
+
* Display order
|
|
418
|
+
*/
|
|
419
|
+
order?: number | null | undefined;
|
|
420
|
+
/**
|
|
421
|
+
* Type of image
|
|
422
|
+
*/
|
|
423
|
+
type?: QueryListingsListingsResponse200Type | null | undefined;
|
|
424
|
+
/**
|
|
425
|
+
* Image URL
|
|
426
|
+
*/
|
|
427
|
+
url: string;
|
|
428
|
+
};
|
|
429
|
+
|
|
430
|
+
/**
|
|
431
|
+
* Type of image
|
|
432
|
+
*/
|
|
433
|
+
export const QueryListingsListingsResponse200ApplicationJSONType = {
|
|
434
|
+
Standard: "standard",
|
|
435
|
+
Floorplan: "floorplan",
|
|
436
|
+
Epc: "epc",
|
|
437
|
+
Brochure: "brochure",
|
|
438
|
+
} as const;
|
|
439
|
+
/**
|
|
440
|
+
* Type of image
|
|
441
|
+
*/
|
|
442
|
+
export type QueryListingsListingsResponse200ApplicationJSONType = ClosedEnum<
|
|
443
|
+
typeof QueryListingsListingsResponse200ApplicationJSONType
|
|
444
|
+
>;
|
|
445
|
+
|
|
446
|
+
/**
|
|
447
|
+
* Listing image
|
|
448
|
+
*/
|
|
449
|
+
export type QueryListingsImages = {
|
|
450
|
+
/**
|
|
451
|
+
* Image caption
|
|
452
|
+
*/
|
|
453
|
+
caption?: string | null | undefined;
|
|
454
|
+
/**
|
|
455
|
+
* Display order
|
|
456
|
+
*/
|
|
457
|
+
order?: number | null | undefined;
|
|
458
|
+
/**
|
|
459
|
+
* Type of image
|
|
460
|
+
*/
|
|
461
|
+
type?: QueryListingsListingsResponse200ApplicationJSONType | null | undefined;
|
|
462
|
+
/**
|
|
463
|
+
* Image URL
|
|
464
|
+
*/
|
|
465
|
+
url: string;
|
|
466
|
+
};
|
|
467
|
+
|
|
468
|
+
/**
|
|
469
|
+
* Narrative content (string or array of strings)
|
|
470
|
+
*/
|
|
471
|
+
export type QueryListingsContent = string | Array<string> | any;
|
|
472
|
+
|
|
473
|
+
/**
|
|
474
|
+
* Type of narrative content
|
|
475
|
+
*/
|
|
476
|
+
export const QueryListingsListingsResponse200ApplicationJSONResponseBodyType = {
|
|
477
|
+
Summary: "summary",
|
|
478
|
+
Description: "description",
|
|
479
|
+
Features: "features",
|
|
480
|
+
Location: "location",
|
|
481
|
+
Other: "other",
|
|
482
|
+
} as const;
|
|
483
|
+
/**
|
|
484
|
+
* Type of narrative content
|
|
485
|
+
*/
|
|
486
|
+
export type QueryListingsListingsResponse200ApplicationJSONResponseBodyType =
|
|
487
|
+
ClosedEnum<
|
|
488
|
+
typeof QueryListingsListingsResponse200ApplicationJSONResponseBodyType
|
|
489
|
+
>;
|
|
490
|
+
|
|
491
|
+
/**
|
|
492
|
+
* Listing narrative content
|
|
493
|
+
*/
|
|
494
|
+
export type QueryListingsNarratives = {
|
|
495
|
+
/**
|
|
496
|
+
* Narrative content (string or array of strings)
|
|
497
|
+
*/
|
|
498
|
+
content?: string | Array<string> | any | null | undefined;
|
|
499
|
+
/**
|
|
500
|
+
* Type of narrative content
|
|
501
|
+
*/
|
|
502
|
+
type: QueryListingsListingsResponse200ApplicationJSONResponseBodyType;
|
|
503
|
+
};
|
|
504
|
+
|
|
505
|
+
/**
|
|
506
|
+
* Direction of price change
|
|
507
|
+
*/
|
|
508
|
+
export const QueryListingsDirection = {
|
|
509
|
+
Increase: "increase",
|
|
510
|
+
Decrease: "decrease",
|
|
511
|
+
Nochange: "nochange",
|
|
512
|
+
} as const;
|
|
513
|
+
/**
|
|
514
|
+
* Direction of price change
|
|
515
|
+
*/
|
|
516
|
+
export type QueryListingsDirection = ClosedEnum<typeof QueryListingsDirection>;
|
|
517
|
+
|
|
518
|
+
/**
|
|
519
|
+
* Price change record
|
|
520
|
+
*/
|
|
521
|
+
export type QueryListingsPriceHistory = {
|
|
522
|
+
/**
|
|
523
|
+
* Price change amount in pence
|
|
524
|
+
*/
|
|
525
|
+
amount?: number | null | undefined;
|
|
526
|
+
/**
|
|
527
|
+
* Date of price change
|
|
528
|
+
*/
|
|
529
|
+
date: Date;
|
|
530
|
+
/**
|
|
531
|
+
* Direction of price change
|
|
532
|
+
*/
|
|
533
|
+
direction?: QueryListingsDirection | undefined;
|
|
534
|
+
/**
|
|
535
|
+
* Previous price in pence
|
|
536
|
+
*/
|
|
537
|
+
oldPrice?: number | null | undefined;
|
|
538
|
+
/**
|
|
539
|
+
* Price change percentage
|
|
540
|
+
*/
|
|
541
|
+
percent?: number | null | undefined;
|
|
542
|
+
/**
|
|
543
|
+
* New price in pence
|
|
544
|
+
*/
|
|
545
|
+
price: number;
|
|
546
|
+
};
|
|
547
|
+
|
|
548
|
+
/**
|
|
549
|
+
* GeoJSON geometry type
|
|
550
|
+
*/
|
|
551
|
+
export const QueryListingsListingsResponse200ApplicationJSONResponseBodyResultType =
|
|
552
|
+
{
|
|
553
|
+
Point: "Point",
|
|
554
|
+
} as const;
|
|
555
|
+
/**
|
|
556
|
+
* GeoJSON geometry type
|
|
557
|
+
*/
|
|
558
|
+
export type QueryListingsListingsResponse200ApplicationJSONResponseBodyResultType =
|
|
559
|
+
ClosedEnum<
|
|
560
|
+
typeof QueryListingsListingsResponse200ApplicationJSONResponseBodyResultType
|
|
561
|
+
>;
|
|
562
|
+
|
|
563
|
+
/**
|
|
564
|
+
* GeoJSON point geometry
|
|
565
|
+
*/
|
|
566
|
+
export type QueryListingsGeoJSONPoint = {
|
|
567
|
+
/**
|
|
568
|
+
* Coordinate pair [longitude, latitude]
|
|
569
|
+
*/
|
|
570
|
+
coordinates: Array<number>;
|
|
571
|
+
/**
|
|
572
|
+
* GeoJSON geometry type
|
|
573
|
+
*/
|
|
574
|
+
type: QueryListingsListingsResponse200ApplicationJSONResponseBodyResultType;
|
|
575
|
+
};
|
|
576
|
+
|
|
577
|
+
/**
|
|
578
|
+
* Current status of the listing
|
|
579
|
+
*/
|
|
580
|
+
export const QueryListingsStatus = {
|
|
581
|
+
Live: "live",
|
|
582
|
+
Archived: "archived",
|
|
583
|
+
Removed: "removed",
|
|
584
|
+
} as const;
|
|
585
|
+
/**
|
|
586
|
+
* Current status of the listing
|
|
587
|
+
*/
|
|
588
|
+
export type QueryListingsStatus = ClosedEnum<typeof QueryListingsStatus>;
|
|
589
|
+
|
|
590
|
+
/**
|
|
591
|
+
* Whether listing is for sale or rent
|
|
592
|
+
*/
|
|
593
|
+
export const QueryListingsType = {
|
|
594
|
+
Sale: "sale",
|
|
595
|
+
Rent: "rent",
|
|
596
|
+
} as const;
|
|
597
|
+
/**
|
|
598
|
+
* Whether listing is for sale or rent
|
|
599
|
+
*/
|
|
600
|
+
export type QueryListingsType = ClosedEnum<typeof QueryListingsType>;
|
|
601
|
+
|
|
602
|
+
/**
|
|
603
|
+
* Property listing
|
|
604
|
+
*/
|
|
605
|
+
export type QueryListingsResult = {
|
|
606
|
+
/**
|
|
607
|
+
* Listing address
|
|
608
|
+
*/
|
|
609
|
+
address: QueryListingsAddress;
|
|
610
|
+
/**
|
|
611
|
+
* Agent information
|
|
612
|
+
*/
|
|
613
|
+
agent?: QueryListingsAgent | null | undefined;
|
|
614
|
+
/**
|
|
615
|
+
* Number of bathrooms
|
|
616
|
+
*/
|
|
617
|
+
baths?: number | null | undefined;
|
|
618
|
+
/**
|
|
619
|
+
* Number of bedrooms
|
|
620
|
+
*/
|
|
621
|
+
beds?: number | null | undefined;
|
|
622
|
+
/**
|
|
623
|
+
* Brochure images
|
|
624
|
+
*/
|
|
625
|
+
brochureImages?: Array<QueryListingsBrochureImages> | undefined;
|
|
626
|
+
/**
|
|
627
|
+
* Property category
|
|
628
|
+
*/
|
|
629
|
+
category: QueryListingsCategory;
|
|
630
|
+
/**
|
|
631
|
+
* Record creation timestamp
|
|
632
|
+
*/
|
|
633
|
+
createdAt?: Date | undefined;
|
|
634
|
+
/**
|
|
635
|
+
* Currency code
|
|
636
|
+
*/
|
|
637
|
+
currency?: string | undefined;
|
|
638
|
+
/**
|
|
639
|
+
* Formatted display address
|
|
640
|
+
*/
|
|
641
|
+
displayAddress?: string | undefined;
|
|
642
|
+
/**
|
|
643
|
+
* EPC images
|
|
644
|
+
*/
|
|
645
|
+
energyRatingImages?: Array<QueryListingsEnergyRatingImages> | undefined;
|
|
646
|
+
/**
|
|
647
|
+
* Property features
|
|
648
|
+
*/
|
|
649
|
+
features?: Array<QueryListingsFeatures> | null | undefined;
|
|
650
|
+
/**
|
|
651
|
+
* Floor plan images
|
|
652
|
+
*/
|
|
653
|
+
floorPlanImages?: Array<QueryListingsFloorPlanImages> | undefined;
|
|
654
|
+
/**
|
|
655
|
+
* Unique listing identifier
|
|
656
|
+
*/
|
|
657
|
+
id: string;
|
|
658
|
+
/**
|
|
659
|
+
* Property images
|
|
660
|
+
*/
|
|
661
|
+
images?: Array<QueryListingsImages> | undefined;
|
|
662
|
+
/**
|
|
663
|
+
* Auction property
|
|
664
|
+
*/
|
|
665
|
+
isAuction?: boolean | undefined;
|
|
666
|
+
/**
|
|
667
|
+
* New build property
|
|
668
|
+
*/
|
|
669
|
+
isNewBuild?: boolean | undefined;
|
|
670
|
+
/**
|
|
671
|
+
* Retirement property
|
|
672
|
+
*/
|
|
673
|
+
isRetirement?: boolean | undefined;
|
|
674
|
+
/**
|
|
675
|
+
* Shared ownership
|
|
676
|
+
*/
|
|
677
|
+
isSharedOwnership?: boolean | undefined;
|
|
678
|
+
/**
|
|
679
|
+
* Provider's listing reference
|
|
680
|
+
*/
|
|
681
|
+
key: string;
|
|
682
|
+
/**
|
|
683
|
+
* Latitude
|
|
684
|
+
*/
|
|
685
|
+
lat?: number | undefined;
|
|
686
|
+
/**
|
|
687
|
+
* Longitude
|
|
688
|
+
*/
|
|
689
|
+
lng?: number | undefined;
|
|
690
|
+
/**
|
|
691
|
+
* Location identifier
|
|
692
|
+
*/
|
|
693
|
+
locationId?: string | null | undefined;
|
|
694
|
+
/**
|
|
695
|
+
* Descriptive content
|
|
696
|
+
*/
|
|
697
|
+
narratives?: Array<QueryListingsNarratives> | null | undefined;
|
|
698
|
+
/**
|
|
699
|
+
* Current price in pence
|
|
700
|
+
*/
|
|
701
|
+
price: number;
|
|
702
|
+
/**
|
|
703
|
+
* Price change history
|
|
704
|
+
*/
|
|
705
|
+
priceHistory?: Array<QueryListingsPriceHistory> | undefined;
|
|
706
|
+
/**
|
|
707
|
+
* Property type
|
|
708
|
+
*/
|
|
709
|
+
propertyType: string;
|
|
710
|
+
/**
|
|
711
|
+
* Data provider
|
|
712
|
+
*/
|
|
713
|
+
provider: string;
|
|
714
|
+
/**
|
|
715
|
+
* Date listing was published
|
|
716
|
+
*/
|
|
717
|
+
publishedDate: Date;
|
|
718
|
+
/**
|
|
719
|
+
* Number of reception rooms
|
|
720
|
+
*/
|
|
721
|
+
receptions?: number | null | undefined;
|
|
722
|
+
/**
|
|
723
|
+
* Date listing was removed
|
|
724
|
+
*/
|
|
725
|
+
removedDate?: Date | null | undefined;
|
|
726
|
+
/**
|
|
727
|
+
* GeoJSON point geometry
|
|
728
|
+
*/
|
|
729
|
+
spatial?: QueryListingsGeoJSONPoint | null | undefined;
|
|
730
|
+
/**
|
|
731
|
+
* Current status of the listing
|
|
732
|
+
*/
|
|
733
|
+
status: QueryListingsStatus;
|
|
734
|
+
/**
|
|
735
|
+
* Property sub-type
|
|
736
|
+
*/
|
|
737
|
+
subPropertyType?: string | null | undefined;
|
|
738
|
+
/**
|
|
739
|
+
* Whether listing is for sale or rent
|
|
740
|
+
*/
|
|
741
|
+
type: QueryListingsType;
|
|
742
|
+
/**
|
|
743
|
+
* Record last update timestamp
|
|
744
|
+
*/
|
|
745
|
+
updatedAt?: Date | undefined;
|
|
746
|
+
};
|
|
747
|
+
|
|
748
|
+
/**
|
|
749
|
+
* Multiple listings response
|
|
750
|
+
*/
|
|
751
|
+
export type QueryListingsResponseBody = {
|
|
752
|
+
/**
|
|
753
|
+
* Array of listings
|
|
754
|
+
*/
|
|
755
|
+
result: Array<QueryListingsResult>;
|
|
756
|
+
/**
|
|
757
|
+
* Number of listings returned
|
|
758
|
+
*/
|
|
759
|
+
size: number;
|
|
760
|
+
/**
|
|
761
|
+
* Request success status
|
|
762
|
+
*/
|
|
763
|
+
success: boolean;
|
|
764
|
+
/**
|
|
765
|
+
* Total number of matching listings
|
|
766
|
+
*/
|
|
767
|
+
totalSize?: number | undefined;
|
|
768
|
+
};
|
|
769
|
+
|
|
770
|
+
export type QueryListingsResponse =
|
|
771
|
+
| QueryListingsResponseBody
|
|
772
|
+
| QueryListingsListingsResponseBody
|
|
773
|
+
| QueryListingsListingsResponseResponseBody;
|
|
774
|
+
|
|
775
|
+
/** @internal */
|
|
776
|
+
export const Order$inboundSchema: z.ZodNativeEnum<typeof Order> = z.nativeEnum(
|
|
777
|
+
Order,
|
|
778
|
+
);
|
|
779
|
+
|
|
780
|
+
/** @internal */
|
|
781
|
+
export const Order$outboundSchema: z.ZodNativeEnum<typeof Order> =
|
|
782
|
+
Order$inboundSchema;
|
|
783
|
+
|
|
784
|
+
/**
|
|
785
|
+
* @internal
|
|
786
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
787
|
+
*/
|
|
788
|
+
export namespace Order$ {
|
|
789
|
+
/** @deprecated use `Order$inboundSchema` instead. */
|
|
790
|
+
export const inboundSchema = Order$inboundSchema;
|
|
791
|
+
/** @deprecated use `Order$outboundSchema` instead. */
|
|
792
|
+
export const outboundSchema = Order$outboundSchema;
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
/** @internal */
|
|
796
|
+
export const OrderBy$inboundSchema: z.ZodNativeEnum<typeof OrderBy> = z
|
|
797
|
+
.nativeEnum(OrderBy);
|
|
798
|
+
|
|
799
|
+
/** @internal */
|
|
800
|
+
export const OrderBy$outboundSchema: z.ZodNativeEnum<typeof OrderBy> =
|
|
801
|
+
OrderBy$inboundSchema;
|
|
802
|
+
|
|
803
|
+
/**
|
|
804
|
+
* @internal
|
|
805
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
806
|
+
*/
|
|
807
|
+
export namespace OrderBy$ {
|
|
808
|
+
/** @deprecated use `OrderBy$inboundSchema` instead. */
|
|
809
|
+
export const inboundSchema = OrderBy$inboundSchema;
|
|
810
|
+
/** @deprecated use `OrderBy$outboundSchema` instead. */
|
|
811
|
+
export const outboundSchema = OrderBy$outboundSchema;
|
|
812
|
+
}
|
|
813
|
+
|
|
814
|
+
/** @internal */
|
|
815
|
+
export const Status$inboundSchema: z.ZodNativeEnum<typeof Status> = z
|
|
816
|
+
.nativeEnum(Status);
|
|
817
|
+
|
|
818
|
+
/** @internal */
|
|
819
|
+
export const Status$outboundSchema: z.ZodNativeEnum<typeof Status> =
|
|
820
|
+
Status$inboundSchema;
|
|
821
|
+
|
|
822
|
+
/**
|
|
823
|
+
* @internal
|
|
824
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
825
|
+
*/
|
|
826
|
+
export namespace Status$ {
|
|
827
|
+
/** @deprecated use `Status$inboundSchema` instead. */
|
|
828
|
+
export const inboundSchema = Status$inboundSchema;
|
|
829
|
+
/** @deprecated use `Status$outboundSchema` instead. */
|
|
830
|
+
export const outboundSchema = Status$outboundSchema;
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
/** @internal */
|
|
834
|
+
export const QueryListingsRequestBody$inboundSchema: z.ZodType<
|
|
835
|
+
QueryListingsRequestBody,
|
|
836
|
+
z.ZodTypeDef,
|
|
837
|
+
unknown
|
|
838
|
+
> = z.object({
|
|
839
|
+
limit: z.number().default(25),
|
|
840
|
+
locationIds: z.array(z.string()).optional(),
|
|
841
|
+
offset: z.number().default(0),
|
|
842
|
+
order: Order$inboundSchema.default("desc"),
|
|
843
|
+
orderBy: OrderBy$inboundSchema.optional(),
|
|
844
|
+
providers: z.array(z.string()).optional(),
|
|
845
|
+
status: Status$inboundSchema.optional(),
|
|
846
|
+
});
|
|
847
|
+
|
|
848
|
+
/** @internal */
|
|
849
|
+
export type QueryListingsRequestBody$Outbound = {
|
|
850
|
+
limit: number;
|
|
851
|
+
locationIds?: Array<string> | undefined;
|
|
852
|
+
offset: number;
|
|
853
|
+
order: string;
|
|
854
|
+
orderBy?: string | undefined;
|
|
855
|
+
providers?: Array<string> | undefined;
|
|
856
|
+
status?: string | undefined;
|
|
857
|
+
};
|
|
858
|
+
|
|
859
|
+
/** @internal */
|
|
860
|
+
export const QueryListingsRequestBody$outboundSchema: z.ZodType<
|
|
861
|
+
QueryListingsRequestBody$Outbound,
|
|
862
|
+
z.ZodTypeDef,
|
|
863
|
+
QueryListingsRequestBody
|
|
864
|
+
> = z.object({
|
|
865
|
+
limit: z.number().default(25),
|
|
866
|
+
locationIds: z.array(z.string()).optional(),
|
|
867
|
+
offset: z.number().default(0),
|
|
868
|
+
order: Order$outboundSchema.default("desc"),
|
|
869
|
+
orderBy: OrderBy$outboundSchema.optional(),
|
|
870
|
+
providers: z.array(z.string()).optional(),
|
|
871
|
+
status: Status$outboundSchema.optional(),
|
|
872
|
+
});
|
|
873
|
+
|
|
874
|
+
/**
|
|
875
|
+
* @internal
|
|
876
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
877
|
+
*/
|
|
878
|
+
export namespace QueryListingsRequestBody$ {
|
|
879
|
+
/** @deprecated use `QueryListingsRequestBody$inboundSchema` instead. */
|
|
880
|
+
export const inboundSchema = QueryListingsRequestBody$inboundSchema;
|
|
881
|
+
/** @deprecated use `QueryListingsRequestBody$outboundSchema` instead. */
|
|
882
|
+
export const outboundSchema = QueryListingsRequestBody$outboundSchema;
|
|
883
|
+
/** @deprecated use `QueryListingsRequestBody$Outbound` instead. */
|
|
884
|
+
export type Outbound = QueryListingsRequestBody$Outbound;
|
|
885
|
+
}
|
|
886
|
+
|
|
887
|
+
export function queryListingsRequestBodyToJSON(
|
|
888
|
+
queryListingsRequestBody: QueryListingsRequestBody,
|
|
889
|
+
): string {
|
|
890
|
+
return JSON.stringify(
|
|
891
|
+
QueryListingsRequestBody$outboundSchema.parse(queryListingsRequestBody),
|
|
892
|
+
);
|
|
893
|
+
}
|
|
894
|
+
|
|
895
|
+
export function queryListingsRequestBodyFromJSON(
|
|
896
|
+
jsonString: string,
|
|
897
|
+
): SafeParseResult<QueryListingsRequestBody, SDKValidationError> {
|
|
898
|
+
return safeParse(
|
|
899
|
+
jsonString,
|
|
900
|
+
(x) => QueryListingsRequestBody$inboundSchema.parse(JSON.parse(x)),
|
|
901
|
+
`Failed to parse 'QueryListingsRequestBody' from JSON`,
|
|
902
|
+
);
|
|
903
|
+
}
|
|
904
|
+
|
|
905
|
+
/** @internal */
|
|
906
|
+
export const QueryListingsListingsResponseType$inboundSchema: z.ZodNativeEnum<
|
|
907
|
+
typeof QueryListingsListingsResponseType
|
|
908
|
+
> = z.nativeEnum(QueryListingsListingsResponseType);
|
|
909
|
+
|
|
910
|
+
/** @internal */
|
|
911
|
+
export const QueryListingsListingsResponseType$outboundSchema: z.ZodNativeEnum<
|
|
912
|
+
typeof QueryListingsListingsResponseType
|
|
913
|
+
> = QueryListingsListingsResponseType$inboundSchema;
|
|
914
|
+
|
|
915
|
+
/**
|
|
916
|
+
* @internal
|
|
917
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
918
|
+
*/
|
|
919
|
+
export namespace QueryListingsListingsResponseType$ {
|
|
920
|
+
/** @deprecated use `QueryListingsListingsResponseType$inboundSchema` instead. */
|
|
921
|
+
export const inboundSchema = QueryListingsListingsResponseType$inboundSchema;
|
|
922
|
+
/** @deprecated use `QueryListingsListingsResponseType$outboundSchema` instead. */
|
|
923
|
+
export const outboundSchema =
|
|
924
|
+
QueryListingsListingsResponseType$outboundSchema;
|
|
925
|
+
}
|
|
926
|
+
|
|
927
|
+
/** @internal */
|
|
928
|
+
export const QueryListingsListingsError$inboundSchema: z.ZodType<
|
|
929
|
+
QueryListingsListingsError,
|
|
930
|
+
z.ZodTypeDef,
|
|
931
|
+
unknown
|
|
932
|
+
> = z.object({
|
|
933
|
+
code: z.string().optional(),
|
|
934
|
+
doc_url: z.string().optional(),
|
|
935
|
+
message: z.string(),
|
|
936
|
+
param: z.string().optional(),
|
|
937
|
+
type: QueryListingsListingsResponseType$inboundSchema,
|
|
938
|
+
}).transform((v) => {
|
|
939
|
+
return remap$(v, {
|
|
940
|
+
"doc_url": "docUrl",
|
|
941
|
+
});
|
|
942
|
+
});
|
|
943
|
+
|
|
944
|
+
/** @internal */
|
|
945
|
+
export type QueryListingsListingsError$Outbound = {
|
|
946
|
+
code?: string | undefined;
|
|
947
|
+
doc_url?: string | undefined;
|
|
948
|
+
message: string;
|
|
949
|
+
param?: string | undefined;
|
|
950
|
+
type: string;
|
|
951
|
+
};
|
|
952
|
+
|
|
953
|
+
/** @internal */
|
|
954
|
+
export const QueryListingsListingsError$outboundSchema: z.ZodType<
|
|
955
|
+
QueryListingsListingsError$Outbound,
|
|
956
|
+
z.ZodTypeDef,
|
|
957
|
+
QueryListingsListingsError
|
|
958
|
+
> = z.object({
|
|
959
|
+
code: z.string().optional(),
|
|
960
|
+
docUrl: z.string().optional(),
|
|
961
|
+
message: z.string(),
|
|
962
|
+
param: z.string().optional(),
|
|
963
|
+
type: QueryListingsListingsResponseType$outboundSchema,
|
|
964
|
+
}).transform((v) => {
|
|
965
|
+
return remap$(v, {
|
|
966
|
+
docUrl: "doc_url",
|
|
967
|
+
});
|
|
968
|
+
});
|
|
969
|
+
|
|
970
|
+
/**
|
|
971
|
+
* @internal
|
|
972
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
973
|
+
*/
|
|
974
|
+
export namespace QueryListingsListingsError$ {
|
|
975
|
+
/** @deprecated use `QueryListingsListingsError$inboundSchema` instead. */
|
|
976
|
+
export const inboundSchema = QueryListingsListingsError$inboundSchema;
|
|
977
|
+
/** @deprecated use `QueryListingsListingsError$outboundSchema` instead. */
|
|
978
|
+
export const outboundSchema = QueryListingsListingsError$outboundSchema;
|
|
979
|
+
/** @deprecated use `QueryListingsListingsError$Outbound` instead. */
|
|
980
|
+
export type Outbound = QueryListingsListingsError$Outbound;
|
|
981
|
+
}
|
|
982
|
+
|
|
983
|
+
export function queryListingsListingsErrorToJSON(
|
|
984
|
+
queryListingsListingsError: QueryListingsListingsError,
|
|
985
|
+
): string {
|
|
986
|
+
return JSON.stringify(
|
|
987
|
+
QueryListingsListingsError$outboundSchema.parse(queryListingsListingsError),
|
|
988
|
+
);
|
|
989
|
+
}
|
|
990
|
+
|
|
991
|
+
export function queryListingsListingsErrorFromJSON(
|
|
992
|
+
jsonString: string,
|
|
993
|
+
): SafeParseResult<QueryListingsListingsError, SDKValidationError> {
|
|
994
|
+
return safeParse(
|
|
995
|
+
jsonString,
|
|
996
|
+
(x) => QueryListingsListingsError$inboundSchema.parse(JSON.parse(x)),
|
|
997
|
+
`Failed to parse 'QueryListingsListingsError' from JSON`,
|
|
998
|
+
);
|
|
999
|
+
}
|
|
1000
|
+
|
|
1001
|
+
/** @internal */
|
|
1002
|
+
export const QueryListingsListingsResponseResponseBody$inboundSchema: z.ZodType<
|
|
1003
|
+
QueryListingsListingsResponseResponseBody,
|
|
1004
|
+
z.ZodTypeDef,
|
|
1005
|
+
unknown
|
|
1006
|
+
> = z.object({
|
|
1007
|
+
error: z.lazy(() => QueryListingsListingsError$inboundSchema),
|
|
1008
|
+
});
|
|
1009
|
+
|
|
1010
|
+
/** @internal */
|
|
1011
|
+
export type QueryListingsListingsResponseResponseBody$Outbound = {
|
|
1012
|
+
error: QueryListingsListingsError$Outbound;
|
|
1013
|
+
};
|
|
1014
|
+
|
|
1015
|
+
/** @internal */
|
|
1016
|
+
export const QueryListingsListingsResponseResponseBody$outboundSchema:
|
|
1017
|
+
z.ZodType<
|
|
1018
|
+
QueryListingsListingsResponseResponseBody$Outbound,
|
|
1019
|
+
z.ZodTypeDef,
|
|
1020
|
+
QueryListingsListingsResponseResponseBody
|
|
1021
|
+
> = z.object({
|
|
1022
|
+
error: z.lazy(() => QueryListingsListingsError$outboundSchema),
|
|
1023
|
+
});
|
|
1024
|
+
|
|
1025
|
+
/**
|
|
1026
|
+
* @internal
|
|
1027
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1028
|
+
*/
|
|
1029
|
+
export namespace QueryListingsListingsResponseResponseBody$ {
|
|
1030
|
+
/** @deprecated use `QueryListingsListingsResponseResponseBody$inboundSchema` instead. */
|
|
1031
|
+
export const inboundSchema =
|
|
1032
|
+
QueryListingsListingsResponseResponseBody$inboundSchema;
|
|
1033
|
+
/** @deprecated use `QueryListingsListingsResponseResponseBody$outboundSchema` instead. */
|
|
1034
|
+
export const outboundSchema =
|
|
1035
|
+
QueryListingsListingsResponseResponseBody$outboundSchema;
|
|
1036
|
+
/** @deprecated use `QueryListingsListingsResponseResponseBody$Outbound` instead. */
|
|
1037
|
+
export type Outbound = QueryListingsListingsResponseResponseBody$Outbound;
|
|
1038
|
+
}
|
|
1039
|
+
|
|
1040
|
+
export function queryListingsListingsResponseResponseBodyToJSON(
|
|
1041
|
+
queryListingsListingsResponseResponseBody:
|
|
1042
|
+
QueryListingsListingsResponseResponseBody,
|
|
1043
|
+
): string {
|
|
1044
|
+
return JSON.stringify(
|
|
1045
|
+
QueryListingsListingsResponseResponseBody$outboundSchema.parse(
|
|
1046
|
+
queryListingsListingsResponseResponseBody,
|
|
1047
|
+
),
|
|
1048
|
+
);
|
|
1049
|
+
}
|
|
1050
|
+
|
|
1051
|
+
export function queryListingsListingsResponseResponseBodyFromJSON(
|
|
1052
|
+
jsonString: string,
|
|
1053
|
+
): SafeParseResult<
|
|
1054
|
+
QueryListingsListingsResponseResponseBody,
|
|
1055
|
+
SDKValidationError
|
|
1056
|
+
> {
|
|
1057
|
+
return safeParse(
|
|
1058
|
+
jsonString,
|
|
1059
|
+
(x) =>
|
|
1060
|
+
QueryListingsListingsResponseResponseBody$inboundSchema.parse(
|
|
1061
|
+
JSON.parse(x),
|
|
1062
|
+
),
|
|
1063
|
+
`Failed to parse 'QueryListingsListingsResponseResponseBody' from JSON`,
|
|
1064
|
+
);
|
|
1065
|
+
}
|
|
1066
|
+
|
|
1067
|
+
/** @internal */
|
|
1068
|
+
export const QueryListingsListingsType$inboundSchema: z.ZodNativeEnum<
|
|
1069
|
+
typeof QueryListingsListingsType
|
|
1070
|
+
> = z.nativeEnum(QueryListingsListingsType);
|
|
1071
|
+
|
|
1072
|
+
/** @internal */
|
|
1073
|
+
export const QueryListingsListingsType$outboundSchema: z.ZodNativeEnum<
|
|
1074
|
+
typeof QueryListingsListingsType
|
|
1075
|
+
> = QueryListingsListingsType$inboundSchema;
|
|
1076
|
+
|
|
1077
|
+
/**
|
|
1078
|
+
* @internal
|
|
1079
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1080
|
+
*/
|
|
1081
|
+
export namespace QueryListingsListingsType$ {
|
|
1082
|
+
/** @deprecated use `QueryListingsListingsType$inboundSchema` instead. */
|
|
1083
|
+
export const inboundSchema = QueryListingsListingsType$inboundSchema;
|
|
1084
|
+
/** @deprecated use `QueryListingsListingsType$outboundSchema` instead. */
|
|
1085
|
+
export const outboundSchema = QueryListingsListingsType$outboundSchema;
|
|
1086
|
+
}
|
|
1087
|
+
|
|
1088
|
+
/** @internal */
|
|
1089
|
+
export const QueryListingsError$inboundSchema: z.ZodType<
|
|
1090
|
+
QueryListingsError,
|
|
1091
|
+
z.ZodTypeDef,
|
|
1092
|
+
unknown
|
|
1093
|
+
> = z.object({
|
|
1094
|
+
code: z.string().optional(),
|
|
1095
|
+
doc_url: z.string().optional(),
|
|
1096
|
+
message: z.string(),
|
|
1097
|
+
param: z.string().optional(),
|
|
1098
|
+
type: QueryListingsListingsType$inboundSchema,
|
|
1099
|
+
}).transform((v) => {
|
|
1100
|
+
return remap$(v, {
|
|
1101
|
+
"doc_url": "docUrl",
|
|
1102
|
+
});
|
|
1103
|
+
});
|
|
1104
|
+
|
|
1105
|
+
/** @internal */
|
|
1106
|
+
export type QueryListingsError$Outbound = {
|
|
1107
|
+
code?: string | undefined;
|
|
1108
|
+
doc_url?: string | undefined;
|
|
1109
|
+
message: string;
|
|
1110
|
+
param?: string | undefined;
|
|
1111
|
+
type: string;
|
|
1112
|
+
};
|
|
1113
|
+
|
|
1114
|
+
/** @internal */
|
|
1115
|
+
export const QueryListingsError$outboundSchema: z.ZodType<
|
|
1116
|
+
QueryListingsError$Outbound,
|
|
1117
|
+
z.ZodTypeDef,
|
|
1118
|
+
QueryListingsError
|
|
1119
|
+
> = z.object({
|
|
1120
|
+
code: z.string().optional(),
|
|
1121
|
+
docUrl: z.string().optional(),
|
|
1122
|
+
message: z.string(),
|
|
1123
|
+
param: z.string().optional(),
|
|
1124
|
+
type: QueryListingsListingsType$outboundSchema,
|
|
1125
|
+
}).transform((v) => {
|
|
1126
|
+
return remap$(v, {
|
|
1127
|
+
docUrl: "doc_url",
|
|
1128
|
+
});
|
|
1129
|
+
});
|
|
1130
|
+
|
|
1131
|
+
/**
|
|
1132
|
+
* @internal
|
|
1133
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1134
|
+
*/
|
|
1135
|
+
export namespace QueryListingsError$ {
|
|
1136
|
+
/** @deprecated use `QueryListingsError$inboundSchema` instead. */
|
|
1137
|
+
export const inboundSchema = QueryListingsError$inboundSchema;
|
|
1138
|
+
/** @deprecated use `QueryListingsError$outboundSchema` instead. */
|
|
1139
|
+
export const outboundSchema = QueryListingsError$outboundSchema;
|
|
1140
|
+
/** @deprecated use `QueryListingsError$Outbound` instead. */
|
|
1141
|
+
export type Outbound = QueryListingsError$Outbound;
|
|
1142
|
+
}
|
|
1143
|
+
|
|
1144
|
+
export function queryListingsErrorToJSON(
|
|
1145
|
+
queryListingsError: QueryListingsError,
|
|
1146
|
+
): string {
|
|
1147
|
+
return JSON.stringify(
|
|
1148
|
+
QueryListingsError$outboundSchema.parse(queryListingsError),
|
|
1149
|
+
);
|
|
1150
|
+
}
|
|
1151
|
+
|
|
1152
|
+
export function queryListingsErrorFromJSON(
|
|
1153
|
+
jsonString: string,
|
|
1154
|
+
): SafeParseResult<QueryListingsError, SDKValidationError> {
|
|
1155
|
+
return safeParse(
|
|
1156
|
+
jsonString,
|
|
1157
|
+
(x) => QueryListingsError$inboundSchema.parse(JSON.parse(x)),
|
|
1158
|
+
`Failed to parse 'QueryListingsError' from JSON`,
|
|
1159
|
+
);
|
|
1160
|
+
}
|
|
1161
|
+
|
|
1162
|
+
/** @internal */
|
|
1163
|
+
export const QueryListingsListingsResponseBody$inboundSchema: z.ZodType<
|
|
1164
|
+
QueryListingsListingsResponseBody,
|
|
1165
|
+
z.ZodTypeDef,
|
|
1166
|
+
unknown
|
|
1167
|
+
> = z.object({
|
|
1168
|
+
error: z.lazy(() => QueryListingsError$inboundSchema),
|
|
1169
|
+
});
|
|
1170
|
+
|
|
1171
|
+
/** @internal */
|
|
1172
|
+
export type QueryListingsListingsResponseBody$Outbound = {
|
|
1173
|
+
error: QueryListingsError$Outbound;
|
|
1174
|
+
};
|
|
1175
|
+
|
|
1176
|
+
/** @internal */
|
|
1177
|
+
export const QueryListingsListingsResponseBody$outboundSchema: z.ZodType<
|
|
1178
|
+
QueryListingsListingsResponseBody$Outbound,
|
|
1179
|
+
z.ZodTypeDef,
|
|
1180
|
+
QueryListingsListingsResponseBody
|
|
1181
|
+
> = z.object({
|
|
1182
|
+
error: z.lazy(() => QueryListingsError$outboundSchema),
|
|
1183
|
+
});
|
|
1184
|
+
|
|
1185
|
+
/**
|
|
1186
|
+
* @internal
|
|
1187
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1188
|
+
*/
|
|
1189
|
+
export namespace QueryListingsListingsResponseBody$ {
|
|
1190
|
+
/** @deprecated use `QueryListingsListingsResponseBody$inboundSchema` instead. */
|
|
1191
|
+
export const inboundSchema = QueryListingsListingsResponseBody$inboundSchema;
|
|
1192
|
+
/** @deprecated use `QueryListingsListingsResponseBody$outboundSchema` instead. */
|
|
1193
|
+
export const outboundSchema =
|
|
1194
|
+
QueryListingsListingsResponseBody$outboundSchema;
|
|
1195
|
+
/** @deprecated use `QueryListingsListingsResponseBody$Outbound` instead. */
|
|
1196
|
+
export type Outbound = QueryListingsListingsResponseBody$Outbound;
|
|
1197
|
+
}
|
|
1198
|
+
|
|
1199
|
+
export function queryListingsListingsResponseBodyToJSON(
|
|
1200
|
+
queryListingsListingsResponseBody: QueryListingsListingsResponseBody,
|
|
1201
|
+
): string {
|
|
1202
|
+
return JSON.stringify(
|
|
1203
|
+
QueryListingsListingsResponseBody$outboundSchema.parse(
|
|
1204
|
+
queryListingsListingsResponseBody,
|
|
1205
|
+
),
|
|
1206
|
+
);
|
|
1207
|
+
}
|
|
1208
|
+
|
|
1209
|
+
export function queryListingsListingsResponseBodyFromJSON(
|
|
1210
|
+
jsonString: string,
|
|
1211
|
+
): SafeParseResult<QueryListingsListingsResponseBody, SDKValidationError> {
|
|
1212
|
+
return safeParse(
|
|
1213
|
+
jsonString,
|
|
1214
|
+
(x) => QueryListingsListingsResponseBody$inboundSchema.parse(JSON.parse(x)),
|
|
1215
|
+
`Failed to parse 'QueryListingsListingsResponseBody' from JSON`,
|
|
1216
|
+
);
|
|
1217
|
+
}
|
|
1218
|
+
|
|
1219
|
+
/** @internal */
|
|
1220
|
+
export const QueryListingsAddress$inboundSchema: z.ZodType<
|
|
1221
|
+
QueryListingsAddress,
|
|
1222
|
+
z.ZodTypeDef,
|
|
1223
|
+
unknown
|
|
1224
|
+
> = z.object({
|
|
1225
|
+
city: z.nullable(z.string()).optional(),
|
|
1226
|
+
country: z.string().default("GB"),
|
|
1227
|
+
district: z.nullable(z.string()).optional(),
|
|
1228
|
+
incode: z.string().optional(),
|
|
1229
|
+
originalAddress: z.string(),
|
|
1230
|
+
outcode: z.string().optional(),
|
|
1231
|
+
postcode: z.string(),
|
|
1232
|
+
propertyNumber: z.nullable(z.string()).optional(),
|
|
1233
|
+
region: z.nullable(z.string()).optional(),
|
|
1234
|
+
street: z.nullable(z.string()).optional(),
|
|
1235
|
+
});
|
|
1236
|
+
|
|
1237
|
+
/** @internal */
|
|
1238
|
+
export type QueryListingsAddress$Outbound = {
|
|
1239
|
+
city?: string | null | undefined;
|
|
1240
|
+
country: string;
|
|
1241
|
+
district?: string | null | undefined;
|
|
1242
|
+
incode?: string | undefined;
|
|
1243
|
+
originalAddress: string;
|
|
1244
|
+
outcode?: string | undefined;
|
|
1245
|
+
postcode: string;
|
|
1246
|
+
propertyNumber?: string | null | undefined;
|
|
1247
|
+
region?: string | null | undefined;
|
|
1248
|
+
street?: string | null | undefined;
|
|
1249
|
+
};
|
|
1250
|
+
|
|
1251
|
+
/** @internal */
|
|
1252
|
+
export const QueryListingsAddress$outboundSchema: z.ZodType<
|
|
1253
|
+
QueryListingsAddress$Outbound,
|
|
1254
|
+
z.ZodTypeDef,
|
|
1255
|
+
QueryListingsAddress
|
|
1256
|
+
> = z.object({
|
|
1257
|
+
city: z.nullable(z.string()).optional(),
|
|
1258
|
+
country: z.string().default("GB"),
|
|
1259
|
+
district: z.nullable(z.string()).optional(),
|
|
1260
|
+
incode: z.string().optional(),
|
|
1261
|
+
originalAddress: z.string(),
|
|
1262
|
+
outcode: z.string().optional(),
|
|
1263
|
+
postcode: z.string(),
|
|
1264
|
+
propertyNumber: z.nullable(z.string()).optional(),
|
|
1265
|
+
region: z.nullable(z.string()).optional(),
|
|
1266
|
+
street: z.nullable(z.string()).optional(),
|
|
1267
|
+
});
|
|
1268
|
+
|
|
1269
|
+
/**
|
|
1270
|
+
* @internal
|
|
1271
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1272
|
+
*/
|
|
1273
|
+
export namespace QueryListingsAddress$ {
|
|
1274
|
+
/** @deprecated use `QueryListingsAddress$inboundSchema` instead. */
|
|
1275
|
+
export const inboundSchema = QueryListingsAddress$inboundSchema;
|
|
1276
|
+
/** @deprecated use `QueryListingsAddress$outboundSchema` instead. */
|
|
1277
|
+
export const outboundSchema = QueryListingsAddress$outboundSchema;
|
|
1278
|
+
/** @deprecated use `QueryListingsAddress$Outbound` instead. */
|
|
1279
|
+
export type Outbound = QueryListingsAddress$Outbound;
|
|
1280
|
+
}
|
|
1281
|
+
|
|
1282
|
+
export function queryListingsAddressToJSON(
|
|
1283
|
+
queryListingsAddress: QueryListingsAddress,
|
|
1284
|
+
): string {
|
|
1285
|
+
return JSON.stringify(
|
|
1286
|
+
QueryListingsAddress$outboundSchema.parse(queryListingsAddress),
|
|
1287
|
+
);
|
|
1288
|
+
}
|
|
1289
|
+
|
|
1290
|
+
export function queryListingsAddressFromJSON(
|
|
1291
|
+
jsonString: string,
|
|
1292
|
+
): SafeParseResult<QueryListingsAddress, SDKValidationError> {
|
|
1293
|
+
return safeParse(
|
|
1294
|
+
jsonString,
|
|
1295
|
+
(x) => QueryListingsAddress$inboundSchema.parse(JSON.parse(x)),
|
|
1296
|
+
`Failed to parse 'QueryListingsAddress' from JSON`,
|
|
1297
|
+
);
|
|
1298
|
+
}
|
|
1299
|
+
|
|
1300
|
+
/** @internal */
|
|
1301
|
+
export const QueryListingsAgent$inboundSchema: z.ZodType<
|
|
1302
|
+
QueryListingsAgent,
|
|
1303
|
+
z.ZodTypeDef,
|
|
1304
|
+
unknown
|
|
1305
|
+
> = z.object({
|
|
1306
|
+
address: z.nullable(z.string()).optional(),
|
|
1307
|
+
agencyId: z.nullable(z.string()).optional(),
|
|
1308
|
+
agencyName: z.nullable(z.string()).optional(),
|
|
1309
|
+
agentId: z.nullable(z.string()).optional(),
|
|
1310
|
+
agentName: z.nullable(z.string()).optional(),
|
|
1311
|
+
branchId: z.nullable(z.string()).optional(),
|
|
1312
|
+
branchName: z.nullable(z.string()).optional(),
|
|
1313
|
+
email: z.nullable(z.string()).optional(),
|
|
1314
|
+
emails: z.nullable(z.array(z.string())).optional(),
|
|
1315
|
+
phone: z.nullable(z.string()).optional(),
|
|
1316
|
+
phones: z.nullable(z.array(z.string())).optional(),
|
|
1317
|
+
postcode: z.nullable(z.string()).optional(),
|
|
1318
|
+
website: z.nullable(z.string()).optional(),
|
|
1319
|
+
});
|
|
1320
|
+
|
|
1321
|
+
/** @internal */
|
|
1322
|
+
export type QueryListingsAgent$Outbound = {
|
|
1323
|
+
address?: string | null | undefined;
|
|
1324
|
+
agencyId?: string | null | undefined;
|
|
1325
|
+
agencyName?: string | null | undefined;
|
|
1326
|
+
agentId?: string | null | undefined;
|
|
1327
|
+
agentName?: string | null | undefined;
|
|
1328
|
+
branchId?: string | null | undefined;
|
|
1329
|
+
branchName?: string | null | undefined;
|
|
1330
|
+
email?: string | null | undefined;
|
|
1331
|
+
emails?: Array<string> | null | undefined;
|
|
1332
|
+
phone?: string | null | undefined;
|
|
1333
|
+
phones?: Array<string> | null | undefined;
|
|
1334
|
+
postcode?: string | null | undefined;
|
|
1335
|
+
website?: string | null | undefined;
|
|
1336
|
+
};
|
|
1337
|
+
|
|
1338
|
+
/** @internal */
|
|
1339
|
+
export const QueryListingsAgent$outboundSchema: z.ZodType<
|
|
1340
|
+
QueryListingsAgent$Outbound,
|
|
1341
|
+
z.ZodTypeDef,
|
|
1342
|
+
QueryListingsAgent
|
|
1343
|
+
> = z.object({
|
|
1344
|
+
address: z.nullable(z.string()).optional(),
|
|
1345
|
+
agencyId: z.nullable(z.string()).optional(),
|
|
1346
|
+
agencyName: z.nullable(z.string()).optional(),
|
|
1347
|
+
agentId: z.nullable(z.string()).optional(),
|
|
1348
|
+
agentName: z.nullable(z.string()).optional(),
|
|
1349
|
+
branchId: z.nullable(z.string()).optional(),
|
|
1350
|
+
branchName: z.nullable(z.string()).optional(),
|
|
1351
|
+
email: z.nullable(z.string()).optional(),
|
|
1352
|
+
emails: z.nullable(z.array(z.string())).optional(),
|
|
1353
|
+
phone: z.nullable(z.string()).optional(),
|
|
1354
|
+
phones: z.nullable(z.array(z.string())).optional(),
|
|
1355
|
+
postcode: z.nullable(z.string()).optional(),
|
|
1356
|
+
website: z.nullable(z.string()).optional(),
|
|
1357
|
+
});
|
|
1358
|
+
|
|
1359
|
+
/**
|
|
1360
|
+
* @internal
|
|
1361
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1362
|
+
*/
|
|
1363
|
+
export namespace QueryListingsAgent$ {
|
|
1364
|
+
/** @deprecated use `QueryListingsAgent$inboundSchema` instead. */
|
|
1365
|
+
export const inboundSchema = QueryListingsAgent$inboundSchema;
|
|
1366
|
+
/** @deprecated use `QueryListingsAgent$outboundSchema` instead. */
|
|
1367
|
+
export const outboundSchema = QueryListingsAgent$outboundSchema;
|
|
1368
|
+
/** @deprecated use `QueryListingsAgent$Outbound` instead. */
|
|
1369
|
+
export type Outbound = QueryListingsAgent$Outbound;
|
|
1370
|
+
}
|
|
1371
|
+
|
|
1372
|
+
export function queryListingsAgentToJSON(
|
|
1373
|
+
queryListingsAgent: QueryListingsAgent,
|
|
1374
|
+
): string {
|
|
1375
|
+
return JSON.stringify(
|
|
1376
|
+
QueryListingsAgent$outboundSchema.parse(queryListingsAgent),
|
|
1377
|
+
);
|
|
1378
|
+
}
|
|
1379
|
+
|
|
1380
|
+
export function queryListingsAgentFromJSON(
|
|
1381
|
+
jsonString: string,
|
|
1382
|
+
): SafeParseResult<QueryListingsAgent, SDKValidationError> {
|
|
1383
|
+
return safeParse(
|
|
1384
|
+
jsonString,
|
|
1385
|
+
(x) => QueryListingsAgent$inboundSchema.parse(JSON.parse(x)),
|
|
1386
|
+
`Failed to parse 'QueryListingsAgent' from JSON`,
|
|
1387
|
+
);
|
|
1388
|
+
}
|
|
1389
|
+
|
|
1390
|
+
/** @internal */
|
|
1391
|
+
export const QueryListingsListingsResponse200ApplicationJSONResponseBodyResultBrochureImagesType$inboundSchema:
|
|
1392
|
+
z.ZodNativeEnum<
|
|
1393
|
+
typeof QueryListingsListingsResponse200ApplicationJSONResponseBodyResultBrochureImagesType
|
|
1394
|
+
> = z.nativeEnum(
|
|
1395
|
+
QueryListingsListingsResponse200ApplicationJSONResponseBodyResultBrochureImagesType,
|
|
1396
|
+
);
|
|
1397
|
+
|
|
1398
|
+
/** @internal */
|
|
1399
|
+
export const QueryListingsListingsResponse200ApplicationJSONResponseBodyResultBrochureImagesType$outboundSchema:
|
|
1400
|
+
z.ZodNativeEnum<
|
|
1401
|
+
typeof QueryListingsListingsResponse200ApplicationJSONResponseBodyResultBrochureImagesType
|
|
1402
|
+
> =
|
|
1403
|
+
QueryListingsListingsResponse200ApplicationJSONResponseBodyResultBrochureImagesType$inboundSchema;
|
|
1404
|
+
|
|
1405
|
+
/**
|
|
1406
|
+
* @internal
|
|
1407
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1408
|
+
*/
|
|
1409
|
+
export namespace QueryListingsListingsResponse200ApplicationJSONResponseBodyResultBrochureImagesType$ {
|
|
1410
|
+
/** @deprecated use `QueryListingsListingsResponse200ApplicationJSONResponseBodyResultBrochureImagesType$inboundSchema` instead. */
|
|
1411
|
+
export const inboundSchema =
|
|
1412
|
+
QueryListingsListingsResponse200ApplicationJSONResponseBodyResultBrochureImagesType$inboundSchema;
|
|
1413
|
+
/** @deprecated use `QueryListingsListingsResponse200ApplicationJSONResponseBodyResultBrochureImagesType$outboundSchema` instead. */
|
|
1414
|
+
export const outboundSchema =
|
|
1415
|
+
QueryListingsListingsResponse200ApplicationJSONResponseBodyResultBrochureImagesType$outboundSchema;
|
|
1416
|
+
}
|
|
1417
|
+
|
|
1418
|
+
/** @internal */
|
|
1419
|
+
export const QueryListingsBrochureImages$inboundSchema: z.ZodType<
|
|
1420
|
+
QueryListingsBrochureImages,
|
|
1421
|
+
z.ZodTypeDef,
|
|
1422
|
+
unknown
|
|
1423
|
+
> = z.object({
|
|
1424
|
+
caption: z.nullable(z.string()).optional(),
|
|
1425
|
+
order: z.nullable(z.number()).optional(),
|
|
1426
|
+
type: z.nullable(
|
|
1427
|
+
QueryListingsListingsResponse200ApplicationJSONResponseBodyResultBrochureImagesType$inboundSchema,
|
|
1428
|
+
).optional(),
|
|
1429
|
+
url: z.string(),
|
|
1430
|
+
});
|
|
1431
|
+
|
|
1432
|
+
/** @internal */
|
|
1433
|
+
export type QueryListingsBrochureImages$Outbound = {
|
|
1434
|
+
caption?: string | null | undefined;
|
|
1435
|
+
order?: number | null | undefined;
|
|
1436
|
+
type?: string | null | undefined;
|
|
1437
|
+
url: string;
|
|
1438
|
+
};
|
|
1439
|
+
|
|
1440
|
+
/** @internal */
|
|
1441
|
+
export const QueryListingsBrochureImages$outboundSchema: z.ZodType<
|
|
1442
|
+
QueryListingsBrochureImages$Outbound,
|
|
1443
|
+
z.ZodTypeDef,
|
|
1444
|
+
QueryListingsBrochureImages
|
|
1445
|
+
> = z.object({
|
|
1446
|
+
caption: z.nullable(z.string()).optional(),
|
|
1447
|
+
order: z.nullable(z.number()).optional(),
|
|
1448
|
+
type: z.nullable(
|
|
1449
|
+
QueryListingsListingsResponse200ApplicationJSONResponseBodyResultBrochureImagesType$outboundSchema,
|
|
1450
|
+
).optional(),
|
|
1451
|
+
url: z.string(),
|
|
1452
|
+
});
|
|
1453
|
+
|
|
1454
|
+
/**
|
|
1455
|
+
* @internal
|
|
1456
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1457
|
+
*/
|
|
1458
|
+
export namespace QueryListingsBrochureImages$ {
|
|
1459
|
+
/** @deprecated use `QueryListingsBrochureImages$inboundSchema` instead. */
|
|
1460
|
+
export const inboundSchema = QueryListingsBrochureImages$inboundSchema;
|
|
1461
|
+
/** @deprecated use `QueryListingsBrochureImages$outboundSchema` instead. */
|
|
1462
|
+
export const outboundSchema = QueryListingsBrochureImages$outboundSchema;
|
|
1463
|
+
/** @deprecated use `QueryListingsBrochureImages$Outbound` instead. */
|
|
1464
|
+
export type Outbound = QueryListingsBrochureImages$Outbound;
|
|
1465
|
+
}
|
|
1466
|
+
|
|
1467
|
+
export function queryListingsBrochureImagesToJSON(
|
|
1468
|
+
queryListingsBrochureImages: QueryListingsBrochureImages,
|
|
1469
|
+
): string {
|
|
1470
|
+
return JSON.stringify(
|
|
1471
|
+
QueryListingsBrochureImages$outboundSchema.parse(
|
|
1472
|
+
queryListingsBrochureImages,
|
|
1473
|
+
),
|
|
1474
|
+
);
|
|
1475
|
+
}
|
|
1476
|
+
|
|
1477
|
+
export function queryListingsBrochureImagesFromJSON(
|
|
1478
|
+
jsonString: string,
|
|
1479
|
+
): SafeParseResult<QueryListingsBrochureImages, SDKValidationError> {
|
|
1480
|
+
return safeParse(
|
|
1481
|
+
jsonString,
|
|
1482
|
+
(x) => QueryListingsBrochureImages$inboundSchema.parse(JSON.parse(x)),
|
|
1483
|
+
`Failed to parse 'QueryListingsBrochureImages' from JSON`,
|
|
1484
|
+
);
|
|
1485
|
+
}
|
|
1486
|
+
|
|
1487
|
+
/** @internal */
|
|
1488
|
+
export const QueryListingsCategory$inboundSchema: z.ZodNativeEnum<
|
|
1489
|
+
typeof QueryListingsCategory
|
|
1490
|
+
> = z.nativeEnum(QueryListingsCategory);
|
|
1491
|
+
|
|
1492
|
+
/** @internal */
|
|
1493
|
+
export const QueryListingsCategory$outboundSchema: z.ZodNativeEnum<
|
|
1494
|
+
typeof QueryListingsCategory
|
|
1495
|
+
> = QueryListingsCategory$inboundSchema;
|
|
1496
|
+
|
|
1497
|
+
/**
|
|
1498
|
+
* @internal
|
|
1499
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1500
|
+
*/
|
|
1501
|
+
export namespace QueryListingsCategory$ {
|
|
1502
|
+
/** @deprecated use `QueryListingsCategory$inboundSchema` instead. */
|
|
1503
|
+
export const inboundSchema = QueryListingsCategory$inboundSchema;
|
|
1504
|
+
/** @deprecated use `QueryListingsCategory$outboundSchema` instead. */
|
|
1505
|
+
export const outboundSchema = QueryListingsCategory$outboundSchema;
|
|
1506
|
+
}
|
|
1507
|
+
|
|
1508
|
+
/** @internal */
|
|
1509
|
+
export const QueryListingsListingsResponse200ApplicationJSONResponseBodyResultEnergyRatingImagesType$inboundSchema:
|
|
1510
|
+
z.ZodNativeEnum<
|
|
1511
|
+
typeof QueryListingsListingsResponse200ApplicationJSONResponseBodyResultEnergyRatingImagesType
|
|
1512
|
+
> = z.nativeEnum(
|
|
1513
|
+
QueryListingsListingsResponse200ApplicationJSONResponseBodyResultEnergyRatingImagesType,
|
|
1514
|
+
);
|
|
1515
|
+
|
|
1516
|
+
/** @internal */
|
|
1517
|
+
export const QueryListingsListingsResponse200ApplicationJSONResponseBodyResultEnergyRatingImagesType$outboundSchema:
|
|
1518
|
+
z.ZodNativeEnum<
|
|
1519
|
+
typeof QueryListingsListingsResponse200ApplicationJSONResponseBodyResultEnergyRatingImagesType
|
|
1520
|
+
> =
|
|
1521
|
+
QueryListingsListingsResponse200ApplicationJSONResponseBodyResultEnergyRatingImagesType$inboundSchema;
|
|
1522
|
+
|
|
1523
|
+
/**
|
|
1524
|
+
* @internal
|
|
1525
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1526
|
+
*/
|
|
1527
|
+
export namespace QueryListingsListingsResponse200ApplicationJSONResponseBodyResultEnergyRatingImagesType$ {
|
|
1528
|
+
/** @deprecated use `QueryListingsListingsResponse200ApplicationJSONResponseBodyResultEnergyRatingImagesType$inboundSchema` instead. */
|
|
1529
|
+
export const inboundSchema =
|
|
1530
|
+
QueryListingsListingsResponse200ApplicationJSONResponseBodyResultEnergyRatingImagesType$inboundSchema;
|
|
1531
|
+
/** @deprecated use `QueryListingsListingsResponse200ApplicationJSONResponseBodyResultEnergyRatingImagesType$outboundSchema` instead. */
|
|
1532
|
+
export const outboundSchema =
|
|
1533
|
+
QueryListingsListingsResponse200ApplicationJSONResponseBodyResultEnergyRatingImagesType$outboundSchema;
|
|
1534
|
+
}
|
|
1535
|
+
|
|
1536
|
+
/** @internal */
|
|
1537
|
+
export const QueryListingsEnergyRatingImages$inboundSchema: z.ZodType<
|
|
1538
|
+
QueryListingsEnergyRatingImages,
|
|
1539
|
+
z.ZodTypeDef,
|
|
1540
|
+
unknown
|
|
1541
|
+
> = z.object({
|
|
1542
|
+
caption: z.nullable(z.string()).optional(),
|
|
1543
|
+
order: z.nullable(z.number()).optional(),
|
|
1544
|
+
type: z.nullable(
|
|
1545
|
+
QueryListingsListingsResponse200ApplicationJSONResponseBodyResultEnergyRatingImagesType$inboundSchema,
|
|
1546
|
+
).optional(),
|
|
1547
|
+
url: z.string(),
|
|
1548
|
+
});
|
|
1549
|
+
|
|
1550
|
+
/** @internal */
|
|
1551
|
+
export type QueryListingsEnergyRatingImages$Outbound = {
|
|
1552
|
+
caption?: string | null | undefined;
|
|
1553
|
+
order?: number | null | undefined;
|
|
1554
|
+
type?: string | null | undefined;
|
|
1555
|
+
url: string;
|
|
1556
|
+
};
|
|
1557
|
+
|
|
1558
|
+
/** @internal */
|
|
1559
|
+
export const QueryListingsEnergyRatingImages$outboundSchema: z.ZodType<
|
|
1560
|
+
QueryListingsEnergyRatingImages$Outbound,
|
|
1561
|
+
z.ZodTypeDef,
|
|
1562
|
+
QueryListingsEnergyRatingImages
|
|
1563
|
+
> = z.object({
|
|
1564
|
+
caption: z.nullable(z.string()).optional(),
|
|
1565
|
+
order: z.nullable(z.number()).optional(),
|
|
1566
|
+
type: z.nullable(
|
|
1567
|
+
QueryListingsListingsResponse200ApplicationJSONResponseBodyResultEnergyRatingImagesType$outboundSchema,
|
|
1568
|
+
).optional(),
|
|
1569
|
+
url: z.string(),
|
|
1570
|
+
});
|
|
1571
|
+
|
|
1572
|
+
/**
|
|
1573
|
+
* @internal
|
|
1574
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1575
|
+
*/
|
|
1576
|
+
export namespace QueryListingsEnergyRatingImages$ {
|
|
1577
|
+
/** @deprecated use `QueryListingsEnergyRatingImages$inboundSchema` instead. */
|
|
1578
|
+
export const inboundSchema = QueryListingsEnergyRatingImages$inboundSchema;
|
|
1579
|
+
/** @deprecated use `QueryListingsEnergyRatingImages$outboundSchema` instead. */
|
|
1580
|
+
export const outboundSchema = QueryListingsEnergyRatingImages$outboundSchema;
|
|
1581
|
+
/** @deprecated use `QueryListingsEnergyRatingImages$Outbound` instead. */
|
|
1582
|
+
export type Outbound = QueryListingsEnergyRatingImages$Outbound;
|
|
1583
|
+
}
|
|
1584
|
+
|
|
1585
|
+
export function queryListingsEnergyRatingImagesToJSON(
|
|
1586
|
+
queryListingsEnergyRatingImages: QueryListingsEnergyRatingImages,
|
|
1587
|
+
): string {
|
|
1588
|
+
return JSON.stringify(
|
|
1589
|
+
QueryListingsEnergyRatingImages$outboundSchema.parse(
|
|
1590
|
+
queryListingsEnergyRatingImages,
|
|
1591
|
+
),
|
|
1592
|
+
);
|
|
1593
|
+
}
|
|
1594
|
+
|
|
1595
|
+
export function queryListingsEnergyRatingImagesFromJSON(
|
|
1596
|
+
jsonString: string,
|
|
1597
|
+
): SafeParseResult<QueryListingsEnergyRatingImages, SDKValidationError> {
|
|
1598
|
+
return safeParse(
|
|
1599
|
+
jsonString,
|
|
1600
|
+
(x) => QueryListingsEnergyRatingImages$inboundSchema.parse(JSON.parse(x)),
|
|
1601
|
+
`Failed to parse 'QueryListingsEnergyRatingImages' from JSON`,
|
|
1602
|
+
);
|
|
1603
|
+
}
|
|
1604
|
+
|
|
1605
|
+
/** @internal */
|
|
1606
|
+
export const QueryListingsFeatures$inboundSchema: z.ZodType<
|
|
1607
|
+
QueryListingsFeatures,
|
|
1608
|
+
z.ZodTypeDef,
|
|
1609
|
+
unknown
|
|
1610
|
+
> = z.object({
|
|
1611
|
+
featureId: z.string(),
|
|
1612
|
+
value: z.string(),
|
|
1613
|
+
});
|
|
1614
|
+
|
|
1615
|
+
/** @internal */
|
|
1616
|
+
export type QueryListingsFeatures$Outbound = {
|
|
1617
|
+
featureId: string;
|
|
1618
|
+
value: string;
|
|
1619
|
+
};
|
|
1620
|
+
|
|
1621
|
+
/** @internal */
|
|
1622
|
+
export const QueryListingsFeatures$outboundSchema: z.ZodType<
|
|
1623
|
+
QueryListingsFeatures$Outbound,
|
|
1624
|
+
z.ZodTypeDef,
|
|
1625
|
+
QueryListingsFeatures
|
|
1626
|
+
> = z.object({
|
|
1627
|
+
featureId: z.string(),
|
|
1628
|
+
value: z.string(),
|
|
1629
|
+
});
|
|
1630
|
+
|
|
1631
|
+
/**
|
|
1632
|
+
* @internal
|
|
1633
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1634
|
+
*/
|
|
1635
|
+
export namespace QueryListingsFeatures$ {
|
|
1636
|
+
/** @deprecated use `QueryListingsFeatures$inboundSchema` instead. */
|
|
1637
|
+
export const inboundSchema = QueryListingsFeatures$inboundSchema;
|
|
1638
|
+
/** @deprecated use `QueryListingsFeatures$outboundSchema` instead. */
|
|
1639
|
+
export const outboundSchema = QueryListingsFeatures$outboundSchema;
|
|
1640
|
+
/** @deprecated use `QueryListingsFeatures$Outbound` instead. */
|
|
1641
|
+
export type Outbound = QueryListingsFeatures$Outbound;
|
|
1642
|
+
}
|
|
1643
|
+
|
|
1644
|
+
export function queryListingsFeaturesToJSON(
|
|
1645
|
+
queryListingsFeatures: QueryListingsFeatures,
|
|
1646
|
+
): string {
|
|
1647
|
+
return JSON.stringify(
|
|
1648
|
+
QueryListingsFeatures$outboundSchema.parse(queryListingsFeatures),
|
|
1649
|
+
);
|
|
1650
|
+
}
|
|
1651
|
+
|
|
1652
|
+
export function queryListingsFeaturesFromJSON(
|
|
1653
|
+
jsonString: string,
|
|
1654
|
+
): SafeParseResult<QueryListingsFeatures, SDKValidationError> {
|
|
1655
|
+
return safeParse(
|
|
1656
|
+
jsonString,
|
|
1657
|
+
(x) => QueryListingsFeatures$inboundSchema.parse(JSON.parse(x)),
|
|
1658
|
+
`Failed to parse 'QueryListingsFeatures' from JSON`,
|
|
1659
|
+
);
|
|
1660
|
+
}
|
|
1661
|
+
|
|
1662
|
+
/** @internal */
|
|
1663
|
+
export const QueryListingsListingsResponse200Type$inboundSchema:
|
|
1664
|
+
z.ZodNativeEnum<typeof QueryListingsListingsResponse200Type> = z.nativeEnum(
|
|
1665
|
+
QueryListingsListingsResponse200Type,
|
|
1666
|
+
);
|
|
1667
|
+
|
|
1668
|
+
/** @internal */
|
|
1669
|
+
export const QueryListingsListingsResponse200Type$outboundSchema:
|
|
1670
|
+
z.ZodNativeEnum<typeof QueryListingsListingsResponse200Type> =
|
|
1671
|
+
QueryListingsListingsResponse200Type$inboundSchema;
|
|
1672
|
+
|
|
1673
|
+
/**
|
|
1674
|
+
* @internal
|
|
1675
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1676
|
+
*/
|
|
1677
|
+
export namespace QueryListingsListingsResponse200Type$ {
|
|
1678
|
+
/** @deprecated use `QueryListingsListingsResponse200Type$inboundSchema` instead. */
|
|
1679
|
+
export const inboundSchema =
|
|
1680
|
+
QueryListingsListingsResponse200Type$inboundSchema;
|
|
1681
|
+
/** @deprecated use `QueryListingsListingsResponse200Type$outboundSchema` instead. */
|
|
1682
|
+
export const outboundSchema =
|
|
1683
|
+
QueryListingsListingsResponse200Type$outboundSchema;
|
|
1684
|
+
}
|
|
1685
|
+
|
|
1686
|
+
/** @internal */
|
|
1687
|
+
export const QueryListingsFloorPlanImages$inboundSchema: z.ZodType<
|
|
1688
|
+
QueryListingsFloorPlanImages,
|
|
1689
|
+
z.ZodTypeDef,
|
|
1690
|
+
unknown
|
|
1691
|
+
> = z.object({
|
|
1692
|
+
caption: z.nullable(z.string()).optional(),
|
|
1693
|
+
order: z.nullable(z.number()).optional(),
|
|
1694
|
+
type: z.nullable(QueryListingsListingsResponse200Type$inboundSchema)
|
|
1695
|
+
.optional(),
|
|
1696
|
+
url: z.string(),
|
|
1697
|
+
});
|
|
1698
|
+
|
|
1699
|
+
/** @internal */
|
|
1700
|
+
export type QueryListingsFloorPlanImages$Outbound = {
|
|
1701
|
+
caption?: string | null | undefined;
|
|
1702
|
+
order?: number | null | undefined;
|
|
1703
|
+
type?: string | null | undefined;
|
|
1704
|
+
url: string;
|
|
1705
|
+
};
|
|
1706
|
+
|
|
1707
|
+
/** @internal */
|
|
1708
|
+
export const QueryListingsFloorPlanImages$outboundSchema: z.ZodType<
|
|
1709
|
+
QueryListingsFloorPlanImages$Outbound,
|
|
1710
|
+
z.ZodTypeDef,
|
|
1711
|
+
QueryListingsFloorPlanImages
|
|
1712
|
+
> = z.object({
|
|
1713
|
+
caption: z.nullable(z.string()).optional(),
|
|
1714
|
+
order: z.nullable(z.number()).optional(),
|
|
1715
|
+
type: z.nullable(QueryListingsListingsResponse200Type$outboundSchema)
|
|
1716
|
+
.optional(),
|
|
1717
|
+
url: z.string(),
|
|
1718
|
+
});
|
|
1719
|
+
|
|
1720
|
+
/**
|
|
1721
|
+
* @internal
|
|
1722
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1723
|
+
*/
|
|
1724
|
+
export namespace QueryListingsFloorPlanImages$ {
|
|
1725
|
+
/** @deprecated use `QueryListingsFloorPlanImages$inboundSchema` instead. */
|
|
1726
|
+
export const inboundSchema = QueryListingsFloorPlanImages$inboundSchema;
|
|
1727
|
+
/** @deprecated use `QueryListingsFloorPlanImages$outboundSchema` instead. */
|
|
1728
|
+
export const outboundSchema = QueryListingsFloorPlanImages$outboundSchema;
|
|
1729
|
+
/** @deprecated use `QueryListingsFloorPlanImages$Outbound` instead. */
|
|
1730
|
+
export type Outbound = QueryListingsFloorPlanImages$Outbound;
|
|
1731
|
+
}
|
|
1732
|
+
|
|
1733
|
+
export function queryListingsFloorPlanImagesToJSON(
|
|
1734
|
+
queryListingsFloorPlanImages: QueryListingsFloorPlanImages,
|
|
1735
|
+
): string {
|
|
1736
|
+
return JSON.stringify(
|
|
1737
|
+
QueryListingsFloorPlanImages$outboundSchema.parse(
|
|
1738
|
+
queryListingsFloorPlanImages,
|
|
1739
|
+
),
|
|
1740
|
+
);
|
|
1741
|
+
}
|
|
1742
|
+
|
|
1743
|
+
export function queryListingsFloorPlanImagesFromJSON(
|
|
1744
|
+
jsonString: string,
|
|
1745
|
+
): SafeParseResult<QueryListingsFloorPlanImages, SDKValidationError> {
|
|
1746
|
+
return safeParse(
|
|
1747
|
+
jsonString,
|
|
1748
|
+
(x) => QueryListingsFloorPlanImages$inboundSchema.parse(JSON.parse(x)),
|
|
1749
|
+
`Failed to parse 'QueryListingsFloorPlanImages' from JSON`,
|
|
1750
|
+
);
|
|
1751
|
+
}
|
|
1752
|
+
|
|
1753
|
+
/** @internal */
|
|
1754
|
+
export const QueryListingsListingsResponse200ApplicationJSONType$inboundSchema:
|
|
1755
|
+
z.ZodNativeEnum<typeof QueryListingsListingsResponse200ApplicationJSONType> =
|
|
1756
|
+
z.nativeEnum(QueryListingsListingsResponse200ApplicationJSONType);
|
|
1757
|
+
|
|
1758
|
+
/** @internal */
|
|
1759
|
+
export const QueryListingsListingsResponse200ApplicationJSONType$outboundSchema:
|
|
1760
|
+
z.ZodNativeEnum<typeof QueryListingsListingsResponse200ApplicationJSONType> =
|
|
1761
|
+
QueryListingsListingsResponse200ApplicationJSONType$inboundSchema;
|
|
1762
|
+
|
|
1763
|
+
/**
|
|
1764
|
+
* @internal
|
|
1765
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1766
|
+
*/
|
|
1767
|
+
export namespace QueryListingsListingsResponse200ApplicationJSONType$ {
|
|
1768
|
+
/** @deprecated use `QueryListingsListingsResponse200ApplicationJSONType$inboundSchema` instead. */
|
|
1769
|
+
export const inboundSchema =
|
|
1770
|
+
QueryListingsListingsResponse200ApplicationJSONType$inboundSchema;
|
|
1771
|
+
/** @deprecated use `QueryListingsListingsResponse200ApplicationJSONType$outboundSchema` instead. */
|
|
1772
|
+
export const outboundSchema =
|
|
1773
|
+
QueryListingsListingsResponse200ApplicationJSONType$outboundSchema;
|
|
1774
|
+
}
|
|
1775
|
+
|
|
1776
|
+
/** @internal */
|
|
1777
|
+
export const QueryListingsImages$inboundSchema: z.ZodType<
|
|
1778
|
+
QueryListingsImages,
|
|
1779
|
+
z.ZodTypeDef,
|
|
1780
|
+
unknown
|
|
1781
|
+
> = z.object({
|
|
1782
|
+
caption: z.nullable(z.string()).optional(),
|
|
1783
|
+
order: z.nullable(z.number()).optional(),
|
|
1784
|
+
type: z.nullable(
|
|
1785
|
+
QueryListingsListingsResponse200ApplicationJSONType$inboundSchema,
|
|
1786
|
+
).optional(),
|
|
1787
|
+
url: z.string(),
|
|
1788
|
+
});
|
|
1789
|
+
|
|
1790
|
+
/** @internal */
|
|
1791
|
+
export type QueryListingsImages$Outbound = {
|
|
1792
|
+
caption?: string | null | undefined;
|
|
1793
|
+
order?: number | null | undefined;
|
|
1794
|
+
type?: string | null | undefined;
|
|
1795
|
+
url: string;
|
|
1796
|
+
};
|
|
1797
|
+
|
|
1798
|
+
/** @internal */
|
|
1799
|
+
export const QueryListingsImages$outboundSchema: z.ZodType<
|
|
1800
|
+
QueryListingsImages$Outbound,
|
|
1801
|
+
z.ZodTypeDef,
|
|
1802
|
+
QueryListingsImages
|
|
1803
|
+
> = z.object({
|
|
1804
|
+
caption: z.nullable(z.string()).optional(),
|
|
1805
|
+
order: z.nullable(z.number()).optional(),
|
|
1806
|
+
type: z.nullable(
|
|
1807
|
+
QueryListingsListingsResponse200ApplicationJSONType$outboundSchema,
|
|
1808
|
+
).optional(),
|
|
1809
|
+
url: z.string(),
|
|
1810
|
+
});
|
|
1811
|
+
|
|
1812
|
+
/**
|
|
1813
|
+
* @internal
|
|
1814
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1815
|
+
*/
|
|
1816
|
+
export namespace QueryListingsImages$ {
|
|
1817
|
+
/** @deprecated use `QueryListingsImages$inboundSchema` instead. */
|
|
1818
|
+
export const inboundSchema = QueryListingsImages$inboundSchema;
|
|
1819
|
+
/** @deprecated use `QueryListingsImages$outboundSchema` instead. */
|
|
1820
|
+
export const outboundSchema = QueryListingsImages$outboundSchema;
|
|
1821
|
+
/** @deprecated use `QueryListingsImages$Outbound` instead. */
|
|
1822
|
+
export type Outbound = QueryListingsImages$Outbound;
|
|
1823
|
+
}
|
|
1824
|
+
|
|
1825
|
+
export function queryListingsImagesToJSON(
|
|
1826
|
+
queryListingsImages: QueryListingsImages,
|
|
1827
|
+
): string {
|
|
1828
|
+
return JSON.stringify(
|
|
1829
|
+
QueryListingsImages$outboundSchema.parse(queryListingsImages),
|
|
1830
|
+
);
|
|
1831
|
+
}
|
|
1832
|
+
|
|
1833
|
+
export function queryListingsImagesFromJSON(
|
|
1834
|
+
jsonString: string,
|
|
1835
|
+
): SafeParseResult<QueryListingsImages, SDKValidationError> {
|
|
1836
|
+
return safeParse(
|
|
1837
|
+
jsonString,
|
|
1838
|
+
(x) => QueryListingsImages$inboundSchema.parse(JSON.parse(x)),
|
|
1839
|
+
`Failed to parse 'QueryListingsImages' from JSON`,
|
|
1840
|
+
);
|
|
1841
|
+
}
|
|
1842
|
+
|
|
1843
|
+
/** @internal */
|
|
1844
|
+
export const QueryListingsContent$inboundSchema: z.ZodType<
|
|
1845
|
+
QueryListingsContent,
|
|
1846
|
+
z.ZodTypeDef,
|
|
1847
|
+
unknown
|
|
1848
|
+
> = z.union([z.string(), z.array(z.string()), z.any()]);
|
|
1849
|
+
|
|
1850
|
+
/** @internal */
|
|
1851
|
+
export type QueryListingsContent$Outbound = string | Array<string> | any;
|
|
1852
|
+
|
|
1853
|
+
/** @internal */
|
|
1854
|
+
export const QueryListingsContent$outboundSchema: z.ZodType<
|
|
1855
|
+
QueryListingsContent$Outbound,
|
|
1856
|
+
z.ZodTypeDef,
|
|
1857
|
+
QueryListingsContent
|
|
1858
|
+
> = z.union([z.string(), z.array(z.string()), z.any()]);
|
|
1859
|
+
|
|
1860
|
+
/**
|
|
1861
|
+
* @internal
|
|
1862
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1863
|
+
*/
|
|
1864
|
+
export namespace QueryListingsContent$ {
|
|
1865
|
+
/** @deprecated use `QueryListingsContent$inboundSchema` instead. */
|
|
1866
|
+
export const inboundSchema = QueryListingsContent$inboundSchema;
|
|
1867
|
+
/** @deprecated use `QueryListingsContent$outboundSchema` instead. */
|
|
1868
|
+
export const outboundSchema = QueryListingsContent$outboundSchema;
|
|
1869
|
+
/** @deprecated use `QueryListingsContent$Outbound` instead. */
|
|
1870
|
+
export type Outbound = QueryListingsContent$Outbound;
|
|
1871
|
+
}
|
|
1872
|
+
|
|
1873
|
+
export function queryListingsContentToJSON(
|
|
1874
|
+
queryListingsContent: QueryListingsContent,
|
|
1875
|
+
): string {
|
|
1876
|
+
return JSON.stringify(
|
|
1877
|
+
QueryListingsContent$outboundSchema.parse(queryListingsContent),
|
|
1878
|
+
);
|
|
1879
|
+
}
|
|
1880
|
+
|
|
1881
|
+
export function queryListingsContentFromJSON(
|
|
1882
|
+
jsonString: string,
|
|
1883
|
+
): SafeParseResult<QueryListingsContent, SDKValidationError> {
|
|
1884
|
+
return safeParse(
|
|
1885
|
+
jsonString,
|
|
1886
|
+
(x) => QueryListingsContent$inboundSchema.parse(JSON.parse(x)),
|
|
1887
|
+
`Failed to parse 'QueryListingsContent' from JSON`,
|
|
1888
|
+
);
|
|
1889
|
+
}
|
|
1890
|
+
|
|
1891
|
+
/** @internal */
|
|
1892
|
+
export const QueryListingsListingsResponse200ApplicationJSONResponseBodyType$inboundSchema:
|
|
1893
|
+
z.ZodNativeEnum<
|
|
1894
|
+
typeof QueryListingsListingsResponse200ApplicationJSONResponseBodyType
|
|
1895
|
+
> = z.nativeEnum(
|
|
1896
|
+
QueryListingsListingsResponse200ApplicationJSONResponseBodyType,
|
|
1897
|
+
);
|
|
1898
|
+
|
|
1899
|
+
/** @internal */
|
|
1900
|
+
export const QueryListingsListingsResponse200ApplicationJSONResponseBodyType$outboundSchema:
|
|
1901
|
+
z.ZodNativeEnum<
|
|
1902
|
+
typeof QueryListingsListingsResponse200ApplicationJSONResponseBodyType
|
|
1903
|
+
> =
|
|
1904
|
+
QueryListingsListingsResponse200ApplicationJSONResponseBodyType$inboundSchema;
|
|
1905
|
+
|
|
1906
|
+
/**
|
|
1907
|
+
* @internal
|
|
1908
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1909
|
+
*/
|
|
1910
|
+
export namespace QueryListingsListingsResponse200ApplicationJSONResponseBodyType$ {
|
|
1911
|
+
/** @deprecated use `QueryListingsListingsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */
|
|
1912
|
+
export const inboundSchema =
|
|
1913
|
+
QueryListingsListingsResponse200ApplicationJSONResponseBodyType$inboundSchema;
|
|
1914
|
+
/** @deprecated use `QueryListingsListingsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */
|
|
1915
|
+
export const outboundSchema =
|
|
1916
|
+
QueryListingsListingsResponse200ApplicationJSONResponseBodyType$outboundSchema;
|
|
1917
|
+
}
|
|
1918
|
+
|
|
1919
|
+
/** @internal */
|
|
1920
|
+
export const QueryListingsNarratives$inboundSchema: z.ZodType<
|
|
1921
|
+
QueryListingsNarratives,
|
|
1922
|
+
z.ZodTypeDef,
|
|
1923
|
+
unknown
|
|
1924
|
+
> = z.object({
|
|
1925
|
+
content: z.nullable(z.union([z.string(), z.array(z.string()), z.any()]))
|
|
1926
|
+
.optional(),
|
|
1927
|
+
type:
|
|
1928
|
+
QueryListingsListingsResponse200ApplicationJSONResponseBodyType$inboundSchema,
|
|
1929
|
+
});
|
|
1930
|
+
|
|
1931
|
+
/** @internal */
|
|
1932
|
+
export type QueryListingsNarratives$Outbound = {
|
|
1933
|
+
content?: string | Array<string> | any | null | undefined;
|
|
1934
|
+
type: string;
|
|
1935
|
+
};
|
|
1936
|
+
|
|
1937
|
+
/** @internal */
|
|
1938
|
+
export const QueryListingsNarratives$outboundSchema: z.ZodType<
|
|
1939
|
+
QueryListingsNarratives$Outbound,
|
|
1940
|
+
z.ZodTypeDef,
|
|
1941
|
+
QueryListingsNarratives
|
|
1942
|
+
> = z.object({
|
|
1943
|
+
content: z.nullable(z.union([z.string(), z.array(z.string()), z.any()]))
|
|
1944
|
+
.optional(),
|
|
1945
|
+
type:
|
|
1946
|
+
QueryListingsListingsResponse200ApplicationJSONResponseBodyType$outboundSchema,
|
|
1947
|
+
});
|
|
1948
|
+
|
|
1949
|
+
/**
|
|
1950
|
+
* @internal
|
|
1951
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1952
|
+
*/
|
|
1953
|
+
export namespace QueryListingsNarratives$ {
|
|
1954
|
+
/** @deprecated use `QueryListingsNarratives$inboundSchema` instead. */
|
|
1955
|
+
export const inboundSchema = QueryListingsNarratives$inboundSchema;
|
|
1956
|
+
/** @deprecated use `QueryListingsNarratives$outboundSchema` instead. */
|
|
1957
|
+
export const outboundSchema = QueryListingsNarratives$outboundSchema;
|
|
1958
|
+
/** @deprecated use `QueryListingsNarratives$Outbound` instead. */
|
|
1959
|
+
export type Outbound = QueryListingsNarratives$Outbound;
|
|
1960
|
+
}
|
|
1961
|
+
|
|
1962
|
+
export function queryListingsNarrativesToJSON(
|
|
1963
|
+
queryListingsNarratives: QueryListingsNarratives,
|
|
1964
|
+
): string {
|
|
1965
|
+
return JSON.stringify(
|
|
1966
|
+
QueryListingsNarratives$outboundSchema.parse(queryListingsNarratives),
|
|
1967
|
+
);
|
|
1968
|
+
}
|
|
1969
|
+
|
|
1970
|
+
export function queryListingsNarrativesFromJSON(
|
|
1971
|
+
jsonString: string,
|
|
1972
|
+
): SafeParseResult<QueryListingsNarratives, SDKValidationError> {
|
|
1973
|
+
return safeParse(
|
|
1974
|
+
jsonString,
|
|
1975
|
+
(x) => QueryListingsNarratives$inboundSchema.parse(JSON.parse(x)),
|
|
1976
|
+
`Failed to parse 'QueryListingsNarratives' from JSON`,
|
|
1977
|
+
);
|
|
1978
|
+
}
|
|
1979
|
+
|
|
1980
|
+
/** @internal */
|
|
1981
|
+
export const QueryListingsDirection$inboundSchema: z.ZodNativeEnum<
|
|
1982
|
+
typeof QueryListingsDirection
|
|
1983
|
+
> = z.nativeEnum(QueryListingsDirection);
|
|
1984
|
+
|
|
1985
|
+
/** @internal */
|
|
1986
|
+
export const QueryListingsDirection$outboundSchema: z.ZodNativeEnum<
|
|
1987
|
+
typeof QueryListingsDirection
|
|
1988
|
+
> = QueryListingsDirection$inboundSchema;
|
|
1989
|
+
|
|
1990
|
+
/**
|
|
1991
|
+
* @internal
|
|
1992
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1993
|
+
*/
|
|
1994
|
+
export namespace QueryListingsDirection$ {
|
|
1995
|
+
/** @deprecated use `QueryListingsDirection$inboundSchema` instead. */
|
|
1996
|
+
export const inboundSchema = QueryListingsDirection$inboundSchema;
|
|
1997
|
+
/** @deprecated use `QueryListingsDirection$outboundSchema` instead. */
|
|
1998
|
+
export const outboundSchema = QueryListingsDirection$outboundSchema;
|
|
1999
|
+
}
|
|
2000
|
+
|
|
2001
|
+
/** @internal */
|
|
2002
|
+
export const QueryListingsPriceHistory$inboundSchema: z.ZodType<
|
|
2003
|
+
QueryListingsPriceHistory,
|
|
2004
|
+
z.ZodTypeDef,
|
|
2005
|
+
unknown
|
|
2006
|
+
> = z.object({
|
|
2007
|
+
amount: z.nullable(z.number()).optional(),
|
|
2008
|
+
date: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
2009
|
+
direction: QueryListingsDirection$inboundSchema.optional(),
|
|
2010
|
+
oldPrice: z.nullable(z.number()).optional(),
|
|
2011
|
+
percent: z.nullable(z.number()).optional(),
|
|
2012
|
+
price: z.number(),
|
|
2013
|
+
});
|
|
2014
|
+
|
|
2015
|
+
/** @internal */
|
|
2016
|
+
export type QueryListingsPriceHistory$Outbound = {
|
|
2017
|
+
amount?: number | null | undefined;
|
|
2018
|
+
date: string;
|
|
2019
|
+
direction?: string | undefined;
|
|
2020
|
+
oldPrice?: number | null | undefined;
|
|
2021
|
+
percent?: number | null | undefined;
|
|
2022
|
+
price: number;
|
|
2023
|
+
};
|
|
2024
|
+
|
|
2025
|
+
/** @internal */
|
|
2026
|
+
export const QueryListingsPriceHistory$outboundSchema: z.ZodType<
|
|
2027
|
+
QueryListingsPriceHistory$Outbound,
|
|
2028
|
+
z.ZodTypeDef,
|
|
2029
|
+
QueryListingsPriceHistory
|
|
2030
|
+
> = z.object({
|
|
2031
|
+
amount: z.nullable(z.number()).optional(),
|
|
2032
|
+
date: z.date().transform(v => v.toISOString()),
|
|
2033
|
+
direction: QueryListingsDirection$outboundSchema.optional(),
|
|
2034
|
+
oldPrice: z.nullable(z.number()).optional(),
|
|
2035
|
+
percent: z.nullable(z.number()).optional(),
|
|
2036
|
+
price: z.number(),
|
|
2037
|
+
});
|
|
2038
|
+
|
|
2039
|
+
/**
|
|
2040
|
+
* @internal
|
|
2041
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2042
|
+
*/
|
|
2043
|
+
export namespace QueryListingsPriceHistory$ {
|
|
2044
|
+
/** @deprecated use `QueryListingsPriceHistory$inboundSchema` instead. */
|
|
2045
|
+
export const inboundSchema = QueryListingsPriceHistory$inboundSchema;
|
|
2046
|
+
/** @deprecated use `QueryListingsPriceHistory$outboundSchema` instead. */
|
|
2047
|
+
export const outboundSchema = QueryListingsPriceHistory$outboundSchema;
|
|
2048
|
+
/** @deprecated use `QueryListingsPriceHistory$Outbound` instead. */
|
|
2049
|
+
export type Outbound = QueryListingsPriceHistory$Outbound;
|
|
2050
|
+
}
|
|
2051
|
+
|
|
2052
|
+
export function queryListingsPriceHistoryToJSON(
|
|
2053
|
+
queryListingsPriceHistory: QueryListingsPriceHistory,
|
|
2054
|
+
): string {
|
|
2055
|
+
return JSON.stringify(
|
|
2056
|
+
QueryListingsPriceHistory$outboundSchema.parse(queryListingsPriceHistory),
|
|
2057
|
+
);
|
|
2058
|
+
}
|
|
2059
|
+
|
|
2060
|
+
export function queryListingsPriceHistoryFromJSON(
|
|
2061
|
+
jsonString: string,
|
|
2062
|
+
): SafeParseResult<QueryListingsPriceHistory, SDKValidationError> {
|
|
2063
|
+
return safeParse(
|
|
2064
|
+
jsonString,
|
|
2065
|
+
(x) => QueryListingsPriceHistory$inboundSchema.parse(JSON.parse(x)),
|
|
2066
|
+
`Failed to parse 'QueryListingsPriceHistory' from JSON`,
|
|
2067
|
+
);
|
|
2068
|
+
}
|
|
2069
|
+
|
|
2070
|
+
/** @internal */
|
|
2071
|
+
export const QueryListingsListingsResponse200ApplicationJSONResponseBodyResultType$inboundSchema:
|
|
2072
|
+
z.ZodNativeEnum<
|
|
2073
|
+
typeof QueryListingsListingsResponse200ApplicationJSONResponseBodyResultType
|
|
2074
|
+
> = z.nativeEnum(
|
|
2075
|
+
QueryListingsListingsResponse200ApplicationJSONResponseBodyResultType,
|
|
2076
|
+
);
|
|
2077
|
+
|
|
2078
|
+
/** @internal */
|
|
2079
|
+
export const QueryListingsListingsResponse200ApplicationJSONResponseBodyResultType$outboundSchema:
|
|
2080
|
+
z.ZodNativeEnum<
|
|
2081
|
+
typeof QueryListingsListingsResponse200ApplicationJSONResponseBodyResultType
|
|
2082
|
+
> =
|
|
2083
|
+
QueryListingsListingsResponse200ApplicationJSONResponseBodyResultType$inboundSchema;
|
|
2084
|
+
|
|
2085
|
+
/**
|
|
2086
|
+
* @internal
|
|
2087
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2088
|
+
*/
|
|
2089
|
+
export namespace QueryListingsListingsResponse200ApplicationJSONResponseBodyResultType$ {
|
|
2090
|
+
/** @deprecated use `QueryListingsListingsResponse200ApplicationJSONResponseBodyResultType$inboundSchema` instead. */
|
|
2091
|
+
export const inboundSchema =
|
|
2092
|
+
QueryListingsListingsResponse200ApplicationJSONResponseBodyResultType$inboundSchema;
|
|
2093
|
+
/** @deprecated use `QueryListingsListingsResponse200ApplicationJSONResponseBodyResultType$outboundSchema` instead. */
|
|
2094
|
+
export const outboundSchema =
|
|
2095
|
+
QueryListingsListingsResponse200ApplicationJSONResponseBodyResultType$outboundSchema;
|
|
2096
|
+
}
|
|
2097
|
+
|
|
2098
|
+
/** @internal */
|
|
2099
|
+
export const QueryListingsGeoJSONPoint$inboundSchema: z.ZodType<
|
|
2100
|
+
QueryListingsGeoJSONPoint,
|
|
2101
|
+
z.ZodTypeDef,
|
|
2102
|
+
unknown
|
|
2103
|
+
> = z.object({
|
|
2104
|
+
coordinates: z.array(z.number()),
|
|
2105
|
+
type:
|
|
2106
|
+
QueryListingsListingsResponse200ApplicationJSONResponseBodyResultType$inboundSchema,
|
|
2107
|
+
});
|
|
2108
|
+
|
|
2109
|
+
/** @internal */
|
|
2110
|
+
export type QueryListingsGeoJSONPoint$Outbound = {
|
|
2111
|
+
coordinates: Array<number>;
|
|
2112
|
+
type: string;
|
|
2113
|
+
};
|
|
2114
|
+
|
|
2115
|
+
/** @internal */
|
|
2116
|
+
export const QueryListingsGeoJSONPoint$outboundSchema: z.ZodType<
|
|
2117
|
+
QueryListingsGeoJSONPoint$Outbound,
|
|
2118
|
+
z.ZodTypeDef,
|
|
2119
|
+
QueryListingsGeoJSONPoint
|
|
2120
|
+
> = z.object({
|
|
2121
|
+
coordinates: z.array(z.number()),
|
|
2122
|
+
type:
|
|
2123
|
+
QueryListingsListingsResponse200ApplicationJSONResponseBodyResultType$outboundSchema,
|
|
2124
|
+
});
|
|
2125
|
+
|
|
2126
|
+
/**
|
|
2127
|
+
* @internal
|
|
2128
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2129
|
+
*/
|
|
2130
|
+
export namespace QueryListingsGeoJSONPoint$ {
|
|
2131
|
+
/** @deprecated use `QueryListingsGeoJSONPoint$inboundSchema` instead. */
|
|
2132
|
+
export const inboundSchema = QueryListingsGeoJSONPoint$inboundSchema;
|
|
2133
|
+
/** @deprecated use `QueryListingsGeoJSONPoint$outboundSchema` instead. */
|
|
2134
|
+
export const outboundSchema = QueryListingsGeoJSONPoint$outboundSchema;
|
|
2135
|
+
/** @deprecated use `QueryListingsGeoJSONPoint$Outbound` instead. */
|
|
2136
|
+
export type Outbound = QueryListingsGeoJSONPoint$Outbound;
|
|
2137
|
+
}
|
|
2138
|
+
|
|
2139
|
+
export function queryListingsGeoJSONPointToJSON(
|
|
2140
|
+
queryListingsGeoJSONPoint: QueryListingsGeoJSONPoint,
|
|
2141
|
+
): string {
|
|
2142
|
+
return JSON.stringify(
|
|
2143
|
+
QueryListingsGeoJSONPoint$outboundSchema.parse(queryListingsGeoJSONPoint),
|
|
2144
|
+
);
|
|
2145
|
+
}
|
|
2146
|
+
|
|
2147
|
+
export function queryListingsGeoJSONPointFromJSON(
|
|
2148
|
+
jsonString: string,
|
|
2149
|
+
): SafeParseResult<QueryListingsGeoJSONPoint, SDKValidationError> {
|
|
2150
|
+
return safeParse(
|
|
2151
|
+
jsonString,
|
|
2152
|
+
(x) => QueryListingsGeoJSONPoint$inboundSchema.parse(JSON.parse(x)),
|
|
2153
|
+
`Failed to parse 'QueryListingsGeoJSONPoint' from JSON`,
|
|
2154
|
+
);
|
|
2155
|
+
}
|
|
2156
|
+
|
|
2157
|
+
/** @internal */
|
|
2158
|
+
export const QueryListingsStatus$inboundSchema: z.ZodNativeEnum<
|
|
2159
|
+
typeof QueryListingsStatus
|
|
2160
|
+
> = z.nativeEnum(QueryListingsStatus);
|
|
2161
|
+
|
|
2162
|
+
/** @internal */
|
|
2163
|
+
export const QueryListingsStatus$outboundSchema: z.ZodNativeEnum<
|
|
2164
|
+
typeof QueryListingsStatus
|
|
2165
|
+
> = QueryListingsStatus$inboundSchema;
|
|
2166
|
+
|
|
2167
|
+
/**
|
|
2168
|
+
* @internal
|
|
2169
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2170
|
+
*/
|
|
2171
|
+
export namespace QueryListingsStatus$ {
|
|
2172
|
+
/** @deprecated use `QueryListingsStatus$inboundSchema` instead. */
|
|
2173
|
+
export const inboundSchema = QueryListingsStatus$inboundSchema;
|
|
2174
|
+
/** @deprecated use `QueryListingsStatus$outboundSchema` instead. */
|
|
2175
|
+
export const outboundSchema = QueryListingsStatus$outboundSchema;
|
|
2176
|
+
}
|
|
2177
|
+
|
|
2178
|
+
/** @internal */
|
|
2179
|
+
export const QueryListingsType$inboundSchema: z.ZodNativeEnum<
|
|
2180
|
+
typeof QueryListingsType
|
|
2181
|
+
> = z.nativeEnum(QueryListingsType);
|
|
2182
|
+
|
|
2183
|
+
/** @internal */
|
|
2184
|
+
export const QueryListingsType$outboundSchema: z.ZodNativeEnum<
|
|
2185
|
+
typeof QueryListingsType
|
|
2186
|
+
> = QueryListingsType$inboundSchema;
|
|
2187
|
+
|
|
2188
|
+
/**
|
|
2189
|
+
* @internal
|
|
2190
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2191
|
+
*/
|
|
2192
|
+
export namespace QueryListingsType$ {
|
|
2193
|
+
/** @deprecated use `QueryListingsType$inboundSchema` instead. */
|
|
2194
|
+
export const inboundSchema = QueryListingsType$inboundSchema;
|
|
2195
|
+
/** @deprecated use `QueryListingsType$outboundSchema` instead. */
|
|
2196
|
+
export const outboundSchema = QueryListingsType$outboundSchema;
|
|
2197
|
+
}
|
|
2198
|
+
|
|
2199
|
+
/** @internal */
|
|
2200
|
+
export const QueryListingsResult$inboundSchema: z.ZodType<
|
|
2201
|
+
QueryListingsResult,
|
|
2202
|
+
z.ZodTypeDef,
|
|
2203
|
+
unknown
|
|
2204
|
+
> = z.object({
|
|
2205
|
+
address: z.lazy(() => QueryListingsAddress$inboundSchema),
|
|
2206
|
+
agent: z.nullable(z.lazy(() => QueryListingsAgent$inboundSchema)).optional(),
|
|
2207
|
+
baths: z.nullable(z.number()).optional(),
|
|
2208
|
+
beds: z.nullable(z.number()).optional(),
|
|
2209
|
+
brochureImages: z.array(
|
|
2210
|
+
z.lazy(() => QueryListingsBrochureImages$inboundSchema),
|
|
2211
|
+
).optional(),
|
|
2212
|
+
category: QueryListingsCategory$inboundSchema,
|
|
2213
|
+
createdAt: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
2214
|
+
.optional(),
|
|
2215
|
+
currency: z.string().default("GBP"),
|
|
2216
|
+
displayAddress: z.string().optional(),
|
|
2217
|
+
energyRatingImages: z.array(
|
|
2218
|
+
z.lazy(() => QueryListingsEnergyRatingImages$inboundSchema),
|
|
2219
|
+
).optional(),
|
|
2220
|
+
features: z.nullable(
|
|
2221
|
+
z.array(z.lazy(() => QueryListingsFeatures$inboundSchema)),
|
|
2222
|
+
).optional(),
|
|
2223
|
+
floorPlanImages: z.array(
|
|
2224
|
+
z.lazy(() => QueryListingsFloorPlanImages$inboundSchema),
|
|
2225
|
+
).optional(),
|
|
2226
|
+
id: z.string(),
|
|
2227
|
+
images: z.array(z.lazy(() => QueryListingsImages$inboundSchema)).optional(),
|
|
2228
|
+
isAuction: z.boolean().optional(),
|
|
2229
|
+
isNewBuild: z.boolean().optional(),
|
|
2230
|
+
isRetirement: z.boolean().optional(),
|
|
2231
|
+
isSharedOwnership: z.boolean().optional(),
|
|
2232
|
+
key: z.string(),
|
|
2233
|
+
lat: z.number().optional(),
|
|
2234
|
+
lng: z.number().optional(),
|
|
2235
|
+
locationId: z.nullable(z.string()).optional(),
|
|
2236
|
+
narratives: z.nullable(
|
|
2237
|
+
z.array(z.lazy(() => QueryListingsNarratives$inboundSchema)),
|
|
2238
|
+
).optional(),
|
|
2239
|
+
price: z.number(),
|
|
2240
|
+
priceHistory: z.array(z.lazy(() => QueryListingsPriceHistory$inboundSchema))
|
|
2241
|
+
.optional(),
|
|
2242
|
+
propertyType: z.string(),
|
|
2243
|
+
provider: z.string(),
|
|
2244
|
+
publishedDate: z.string().datetime({ offset: true }).transform(v =>
|
|
2245
|
+
new Date(v)
|
|
2246
|
+
),
|
|
2247
|
+
receptions: z.nullable(z.number()).optional(),
|
|
2248
|
+
removedDate: z.nullable(
|
|
2249
|
+
z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
2250
|
+
).optional(),
|
|
2251
|
+
spatial: z.nullable(z.lazy(() => QueryListingsGeoJSONPoint$inboundSchema))
|
|
2252
|
+
.optional(),
|
|
2253
|
+
status: QueryListingsStatus$inboundSchema,
|
|
2254
|
+
subPropertyType: z.nullable(z.string()).optional(),
|
|
2255
|
+
type: QueryListingsType$inboundSchema,
|
|
2256
|
+
updatedAt: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
2257
|
+
.optional(),
|
|
2258
|
+
});
|
|
2259
|
+
|
|
2260
|
+
/** @internal */
|
|
2261
|
+
export type QueryListingsResult$Outbound = {
|
|
2262
|
+
address: QueryListingsAddress$Outbound;
|
|
2263
|
+
agent?: QueryListingsAgent$Outbound | null | undefined;
|
|
2264
|
+
baths?: number | null | undefined;
|
|
2265
|
+
beds?: number | null | undefined;
|
|
2266
|
+
brochureImages?: Array<QueryListingsBrochureImages$Outbound> | undefined;
|
|
2267
|
+
category: string;
|
|
2268
|
+
createdAt?: string | undefined;
|
|
2269
|
+
currency: string;
|
|
2270
|
+
displayAddress?: string | undefined;
|
|
2271
|
+
energyRatingImages?:
|
|
2272
|
+
| Array<QueryListingsEnergyRatingImages$Outbound>
|
|
2273
|
+
| undefined;
|
|
2274
|
+
features?: Array<QueryListingsFeatures$Outbound> | null | undefined;
|
|
2275
|
+
floorPlanImages?: Array<QueryListingsFloorPlanImages$Outbound> | undefined;
|
|
2276
|
+
id: string;
|
|
2277
|
+
images?: Array<QueryListingsImages$Outbound> | undefined;
|
|
2278
|
+
isAuction?: boolean | undefined;
|
|
2279
|
+
isNewBuild?: boolean | undefined;
|
|
2280
|
+
isRetirement?: boolean | undefined;
|
|
2281
|
+
isSharedOwnership?: boolean | undefined;
|
|
2282
|
+
key: string;
|
|
2283
|
+
lat?: number | undefined;
|
|
2284
|
+
lng?: number | undefined;
|
|
2285
|
+
locationId?: string | null | undefined;
|
|
2286
|
+
narratives?: Array<QueryListingsNarratives$Outbound> | null | undefined;
|
|
2287
|
+
price: number;
|
|
2288
|
+
priceHistory?: Array<QueryListingsPriceHistory$Outbound> | undefined;
|
|
2289
|
+
propertyType: string;
|
|
2290
|
+
provider: string;
|
|
2291
|
+
publishedDate: string;
|
|
2292
|
+
receptions?: number | null | undefined;
|
|
2293
|
+
removedDate?: string | null | undefined;
|
|
2294
|
+
spatial?: QueryListingsGeoJSONPoint$Outbound | null | undefined;
|
|
2295
|
+
status: string;
|
|
2296
|
+
subPropertyType?: string | null | undefined;
|
|
2297
|
+
type: string;
|
|
2298
|
+
updatedAt?: string | undefined;
|
|
2299
|
+
};
|
|
2300
|
+
|
|
2301
|
+
/** @internal */
|
|
2302
|
+
export const QueryListingsResult$outboundSchema: z.ZodType<
|
|
2303
|
+
QueryListingsResult$Outbound,
|
|
2304
|
+
z.ZodTypeDef,
|
|
2305
|
+
QueryListingsResult
|
|
2306
|
+
> = z.object({
|
|
2307
|
+
address: z.lazy(() => QueryListingsAddress$outboundSchema),
|
|
2308
|
+
agent: z.nullable(z.lazy(() => QueryListingsAgent$outboundSchema)).optional(),
|
|
2309
|
+
baths: z.nullable(z.number()).optional(),
|
|
2310
|
+
beds: z.nullable(z.number()).optional(),
|
|
2311
|
+
brochureImages: z.array(
|
|
2312
|
+
z.lazy(() => QueryListingsBrochureImages$outboundSchema),
|
|
2313
|
+
).optional(),
|
|
2314
|
+
category: QueryListingsCategory$outboundSchema,
|
|
2315
|
+
createdAt: z.date().transform(v => v.toISOString()).optional(),
|
|
2316
|
+
currency: z.string().default("GBP"),
|
|
2317
|
+
displayAddress: z.string().optional(),
|
|
2318
|
+
energyRatingImages: z.array(
|
|
2319
|
+
z.lazy(() => QueryListingsEnergyRatingImages$outboundSchema),
|
|
2320
|
+
).optional(),
|
|
2321
|
+
features: z.nullable(
|
|
2322
|
+
z.array(z.lazy(() => QueryListingsFeatures$outboundSchema)),
|
|
2323
|
+
).optional(),
|
|
2324
|
+
floorPlanImages: z.array(
|
|
2325
|
+
z.lazy(() => QueryListingsFloorPlanImages$outboundSchema),
|
|
2326
|
+
).optional(),
|
|
2327
|
+
id: z.string(),
|
|
2328
|
+
images: z.array(z.lazy(() => QueryListingsImages$outboundSchema)).optional(),
|
|
2329
|
+
isAuction: z.boolean().optional(),
|
|
2330
|
+
isNewBuild: z.boolean().optional(),
|
|
2331
|
+
isRetirement: z.boolean().optional(),
|
|
2332
|
+
isSharedOwnership: z.boolean().optional(),
|
|
2333
|
+
key: z.string(),
|
|
2334
|
+
lat: z.number().optional(),
|
|
2335
|
+
lng: z.number().optional(),
|
|
2336
|
+
locationId: z.nullable(z.string()).optional(),
|
|
2337
|
+
narratives: z.nullable(
|
|
2338
|
+
z.array(z.lazy(() => QueryListingsNarratives$outboundSchema)),
|
|
2339
|
+
).optional(),
|
|
2340
|
+
price: z.number(),
|
|
2341
|
+
priceHistory: z.array(z.lazy(() => QueryListingsPriceHistory$outboundSchema))
|
|
2342
|
+
.optional(),
|
|
2343
|
+
propertyType: z.string(),
|
|
2344
|
+
provider: z.string(),
|
|
2345
|
+
publishedDate: z.date().transform(v => v.toISOString()),
|
|
2346
|
+
receptions: z.nullable(z.number()).optional(),
|
|
2347
|
+
removedDate: z.nullable(z.date().transform(v => v.toISOString())).optional(),
|
|
2348
|
+
spatial: z.nullable(z.lazy(() => QueryListingsGeoJSONPoint$outboundSchema))
|
|
2349
|
+
.optional(),
|
|
2350
|
+
status: QueryListingsStatus$outboundSchema,
|
|
2351
|
+
subPropertyType: z.nullable(z.string()).optional(),
|
|
2352
|
+
type: QueryListingsType$outboundSchema,
|
|
2353
|
+
updatedAt: z.date().transform(v => v.toISOString()).optional(),
|
|
2354
|
+
});
|
|
2355
|
+
|
|
2356
|
+
/**
|
|
2357
|
+
* @internal
|
|
2358
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2359
|
+
*/
|
|
2360
|
+
export namespace QueryListingsResult$ {
|
|
2361
|
+
/** @deprecated use `QueryListingsResult$inboundSchema` instead. */
|
|
2362
|
+
export const inboundSchema = QueryListingsResult$inboundSchema;
|
|
2363
|
+
/** @deprecated use `QueryListingsResult$outboundSchema` instead. */
|
|
2364
|
+
export const outboundSchema = QueryListingsResult$outboundSchema;
|
|
2365
|
+
/** @deprecated use `QueryListingsResult$Outbound` instead. */
|
|
2366
|
+
export type Outbound = QueryListingsResult$Outbound;
|
|
2367
|
+
}
|
|
2368
|
+
|
|
2369
|
+
export function queryListingsResultToJSON(
|
|
2370
|
+
queryListingsResult: QueryListingsResult,
|
|
2371
|
+
): string {
|
|
2372
|
+
return JSON.stringify(
|
|
2373
|
+
QueryListingsResult$outboundSchema.parse(queryListingsResult),
|
|
2374
|
+
);
|
|
2375
|
+
}
|
|
2376
|
+
|
|
2377
|
+
export function queryListingsResultFromJSON(
|
|
2378
|
+
jsonString: string,
|
|
2379
|
+
): SafeParseResult<QueryListingsResult, SDKValidationError> {
|
|
2380
|
+
return safeParse(
|
|
2381
|
+
jsonString,
|
|
2382
|
+
(x) => QueryListingsResult$inboundSchema.parse(JSON.parse(x)),
|
|
2383
|
+
`Failed to parse 'QueryListingsResult' from JSON`,
|
|
2384
|
+
);
|
|
2385
|
+
}
|
|
2386
|
+
|
|
2387
|
+
/** @internal */
|
|
2388
|
+
export const QueryListingsResponseBody$inboundSchema: z.ZodType<
|
|
2389
|
+
QueryListingsResponseBody,
|
|
2390
|
+
z.ZodTypeDef,
|
|
2391
|
+
unknown
|
|
2392
|
+
> = z.object({
|
|
2393
|
+
result: z.array(z.lazy(() => QueryListingsResult$inboundSchema)),
|
|
2394
|
+
size: z.number(),
|
|
2395
|
+
success: z.boolean(),
|
|
2396
|
+
totalSize: z.number().optional(),
|
|
2397
|
+
});
|
|
2398
|
+
|
|
2399
|
+
/** @internal */
|
|
2400
|
+
export type QueryListingsResponseBody$Outbound = {
|
|
2401
|
+
result: Array<QueryListingsResult$Outbound>;
|
|
2402
|
+
size: number;
|
|
2403
|
+
success: boolean;
|
|
2404
|
+
totalSize?: number | undefined;
|
|
2405
|
+
};
|
|
2406
|
+
|
|
2407
|
+
/** @internal */
|
|
2408
|
+
export const QueryListingsResponseBody$outboundSchema: z.ZodType<
|
|
2409
|
+
QueryListingsResponseBody$Outbound,
|
|
2410
|
+
z.ZodTypeDef,
|
|
2411
|
+
QueryListingsResponseBody
|
|
2412
|
+
> = z.object({
|
|
2413
|
+
result: z.array(z.lazy(() => QueryListingsResult$outboundSchema)),
|
|
2414
|
+
size: z.number(),
|
|
2415
|
+
success: z.boolean(),
|
|
2416
|
+
totalSize: z.number().optional(),
|
|
2417
|
+
});
|
|
2418
|
+
|
|
2419
|
+
/**
|
|
2420
|
+
* @internal
|
|
2421
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2422
|
+
*/
|
|
2423
|
+
export namespace QueryListingsResponseBody$ {
|
|
2424
|
+
/** @deprecated use `QueryListingsResponseBody$inboundSchema` instead. */
|
|
2425
|
+
export const inboundSchema = QueryListingsResponseBody$inboundSchema;
|
|
2426
|
+
/** @deprecated use `QueryListingsResponseBody$outboundSchema` instead. */
|
|
2427
|
+
export const outboundSchema = QueryListingsResponseBody$outboundSchema;
|
|
2428
|
+
/** @deprecated use `QueryListingsResponseBody$Outbound` instead. */
|
|
2429
|
+
export type Outbound = QueryListingsResponseBody$Outbound;
|
|
2430
|
+
}
|
|
2431
|
+
|
|
2432
|
+
export function queryListingsResponseBodyToJSON(
|
|
2433
|
+
queryListingsResponseBody: QueryListingsResponseBody,
|
|
2434
|
+
): string {
|
|
2435
|
+
return JSON.stringify(
|
|
2436
|
+
QueryListingsResponseBody$outboundSchema.parse(queryListingsResponseBody),
|
|
2437
|
+
);
|
|
2438
|
+
}
|
|
2439
|
+
|
|
2440
|
+
export function queryListingsResponseBodyFromJSON(
|
|
2441
|
+
jsonString: string,
|
|
2442
|
+
): SafeParseResult<QueryListingsResponseBody, SDKValidationError> {
|
|
2443
|
+
return safeParse(
|
|
2444
|
+
jsonString,
|
|
2445
|
+
(x) => QueryListingsResponseBody$inboundSchema.parse(JSON.parse(x)),
|
|
2446
|
+
`Failed to parse 'QueryListingsResponseBody' from JSON`,
|
|
2447
|
+
);
|
|
2448
|
+
}
|
|
2449
|
+
|
|
2450
|
+
/** @internal */
|
|
2451
|
+
export const QueryListingsResponse$inboundSchema: z.ZodType<
|
|
2452
|
+
QueryListingsResponse,
|
|
2453
|
+
z.ZodTypeDef,
|
|
2454
|
+
unknown
|
|
2455
|
+
> = z.union([
|
|
2456
|
+
z.lazy(() => QueryListingsResponseBody$inboundSchema),
|
|
2457
|
+
z.lazy(() => QueryListingsListingsResponseBody$inboundSchema),
|
|
2458
|
+
z.lazy(() => QueryListingsListingsResponseResponseBody$inboundSchema),
|
|
2459
|
+
]);
|
|
2460
|
+
|
|
2461
|
+
/** @internal */
|
|
2462
|
+
export type QueryListingsResponse$Outbound =
|
|
2463
|
+
| QueryListingsResponseBody$Outbound
|
|
2464
|
+
| QueryListingsListingsResponseBody$Outbound
|
|
2465
|
+
| QueryListingsListingsResponseResponseBody$Outbound;
|
|
2466
|
+
|
|
2467
|
+
/** @internal */
|
|
2468
|
+
export const QueryListingsResponse$outboundSchema: z.ZodType<
|
|
2469
|
+
QueryListingsResponse$Outbound,
|
|
2470
|
+
z.ZodTypeDef,
|
|
2471
|
+
QueryListingsResponse
|
|
2472
|
+
> = z.union([
|
|
2473
|
+
z.lazy(() => QueryListingsResponseBody$outboundSchema),
|
|
2474
|
+
z.lazy(() => QueryListingsListingsResponseBody$outboundSchema),
|
|
2475
|
+
z.lazy(() => QueryListingsListingsResponseResponseBody$outboundSchema),
|
|
2476
|
+
]);
|
|
2477
|
+
|
|
2478
|
+
/**
|
|
2479
|
+
* @internal
|
|
2480
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2481
|
+
*/
|
|
2482
|
+
export namespace QueryListingsResponse$ {
|
|
2483
|
+
/** @deprecated use `QueryListingsResponse$inboundSchema` instead. */
|
|
2484
|
+
export const inboundSchema = QueryListingsResponse$inboundSchema;
|
|
2485
|
+
/** @deprecated use `QueryListingsResponse$outboundSchema` instead. */
|
|
2486
|
+
export const outboundSchema = QueryListingsResponse$outboundSchema;
|
|
2487
|
+
/** @deprecated use `QueryListingsResponse$Outbound` instead. */
|
|
2488
|
+
export type Outbound = QueryListingsResponse$Outbound;
|
|
2489
|
+
}
|
|
2490
|
+
|
|
2491
|
+
export function queryListingsResponseToJSON(
|
|
2492
|
+
queryListingsResponse: QueryListingsResponse,
|
|
2493
|
+
): string {
|
|
2494
|
+
return JSON.stringify(
|
|
2495
|
+
QueryListingsResponse$outboundSchema.parse(queryListingsResponse),
|
|
2496
|
+
);
|
|
2497
|
+
}
|
|
2498
|
+
|
|
2499
|
+
export function queryListingsResponseFromJSON(
|
|
2500
|
+
jsonString: string,
|
|
2501
|
+
): SafeParseResult<QueryListingsResponse, SDKValidationError> {
|
|
2502
|
+
return safeParse(
|
|
2503
|
+
jsonString,
|
|
2504
|
+
(x) => QueryListingsResponse$inboundSchema.parse(JSON.parse(x)),
|
|
2505
|
+
`Failed to parse 'QueryListingsResponse' from JSON`,
|
|
2506
|
+
);
|
|
2507
|
+
}
|