umbot
Version:
Universal bot(vk, telegram, viber) or skills for Yandex.Alisa, Маруся and sber
14 lines (13 loc) • 663 B
TypeScript
import { YandexRequest } from './YandexRequest';
import { IYandexCheckOutPlace, IYandexRequestDownloadSound } from './interfaces';
export declare class YandexSoundRequest extends YandexRequest {
private readonly STANDARD_URL;
skillId: string | null;
constructor(oauth?: string | null, skillId?: string | null);
private _getSoundsUrl;
checkOutPlace(): Promise<IYandexCheckOutPlace | null>;
downloadSoundFile(soundDir: string): Promise<IYandexRequestDownloadSound | null>;
getLoadedSounds(): Promise<IYandexRequestDownloadSound[] | null>;
deleteSound(soundId: string): Promise<string | null>;
deleteSounds(): Promise<boolean>;
}