ask-sdk-v1adapter
Version:
Adapter from v1 Alexa Node.js SDK to v2
13 lines (12 loc) • 628 B
TypeScript
import { services } from 'ask-sdk-model';
import { ApiClient } from './apiClient';
export declare class DeviceAddressService {
protected apiClient: ApiClient;
protected deviceAddressPathPrefix: string;
protected deviceAddressPathPostfix: string;
protected countryAndPostalPathPostfix: string;
constructor(apiClient?: ApiClient);
getFullAddress(deviceId: string, apiEndpoint: string, token: string): Promise<services.deviceAddress.Address>;
getCountryAndPostalCode(deviceId: string, apiEndpoint: string, token: string): Promise<services.deviceAddress.ShortAddress>;
private validateApiResponse;
}