UNPKG

fruit-company

Version:
84 lines (83 loc) 2.28 kB
/** * A string containing the URL of the Apple MapKit API REST services. */ export declare const mapKitApiUrl = "https://maps-api.apple.com/v1"; /** * Information about an error that occurs while processing a request. */ export interface MapErrorResponse { /** * An array of strings with additional details about the error */ readonly details: string[]; /** * A message that provides details about the error. */ readonly message: string; } /** * An object that describes a map region in terms of its upper-right and lower-left corners as a pair of geographic points. */ export interface MapRegion { /** * A double value that describes the east longitude of the map region. */ readonly eastLongitude: number; /** * A double value that describes the north latitude of the map region. */ readonly northLatitude: number; /** * A double value that describes the south latitude of the map region. */ readonly southLatitude: number; /** * A double value that describes west longitude of the map region. */ readonly westLongitude: number; } /** * An object that describes the detailed address components of a place. */ export interface StructuredAddress { /** * The state or province of the place. */ readonly administrativeArea: string; /** * The short code for the state or area. */ readonly administrativeAreaCode: string; /** * Common names of the area in which the place resides. */ readonly areasOfInterest: string[]; /** * Common names for the local area or neighborhood of the place. */ readonly dependentLocalities: string[]; /** * A combination of thoroughfare and subthoroughfare. */ readonly fullThoroughfare: string; /** * The city of the place. */ readonly locality: string; /** * The postal code of the place. */ readonly postCode: string; /** * The name of the area within the locality. */ readonly subLocality: string; /** * The number on the street at the place. */ readonly subThoroughfare: string; /** * The street name at the place. */ readonly thoroughfare: string; }