import type { AxiosInstance } from 'axios' ; import { PlaceDetailsCommand } from '../../../command' ; import type { PlaceDetailsQuery } from '../../../model' ; import type { HerePlaceDetailsQueryInterface , HereResponseType } from '../interface' ; import { HereLocationCommandMixin } from './mixin' ; link export class HerePlaceDetailsCommand extends HereLocationCommandMixin ( PlaceDetailsCommand ) < HerePlaceDetailsQueryInterface , HereResponseType > { constructor ( httpClient , appId , appCode ) { super ( httpClient , appId , appCode ) ; } static getUrl ( ) { return 'https://geocoder.api.here.com/6.2/search.json' ; } protected async buildQuery ( query ) { const params = await super . buildQuery ( query ) ; params . locationid = query . placeId ; return params ; } }