@vepler/http-sdk
Version:
The definitive TypeScript SDK for UK property technology. Access comprehensive property data, school metrics, demographics, planning applications, and more through a single, powerful API.
25 lines (24 loc) • 630 B
TypeScript
import { JsonObject } from '../../../types';
export interface GetPropertyByPropertyIdParams {
propertyIds: string[];
attributes?: string[];
limit?: number;
includeGeometry?: boolean;
}
export interface PropertyEntity {
id: string;
uprn?: string;
address?: string;
location?: {
lat: number;
long: number;
};
geometry?: object;
status: string;
metadata: JsonObject | null;
}
export interface PropertyResponse {
result: PropertyEntity[];
success: boolean;
}
export declare function getProperty(params: GetPropertyByPropertyIdParams): Promise<PropertyResponse>;