UNPKG

@helium/http

Version:

HTTP library for interacting with the Helium blockchain API

31 lines 854 B
import Client from '../Client'; import DataModel from './DataModel'; export interface HTTPLocationObject { short_street?: string; short_state?: string; short_country?: string; short_city?: string; long_street?: string; long_state?: string; long_country?: string; long_city?: string; location: string; city_id: string; } export type LocationData = Omit<Location, 'client'>; export default class Location extends DataModel { private client; shortStreet?: string; shortState?: string; shortCountry?: string; shortCity?: string; longStreet?: string; longState?: string; longCountry?: string; longCity?: string; location: string; cityId: string; constructor(client: Client, data: HTTPLocationObject); get data(): LocationData; } //# sourceMappingURL=Location.d.ts.map