@sberdevices/assistant-client
Version:
Модуль взаимодействия с виртуальным ассистентом
14 lines • 512 B
TypeScript
import { DPMessage, Action, AssistantServerAction } from './typings';
export interface IntitializeProps {
request: {
url: string;
method?: 'get' | 'post' | 'put';
headers?: {};
};
device?: DPMessage['device'];
onRequest: (message: DPMessage) => {};
onResponse: (res: any) => Action | AssistantServerAction | undefined;
onError?: (e: Error) => void;
}
export declare function initializeDebugging(config?: IntitializeProps): void;
//# sourceMappingURL=debug.d.ts.map