UNPKG

mnubo-sdk

Version:
14 lines (13 loc) 460 B
import { Client } from '../mnubo'; export interface EventsSendOptions { reportResults?: boolean; objectsMustExist?: boolean; } export declare class Events { private client; private path; constructor(client: Client); send(payload: any, options?: EventsSendOptions): Promise<any>; sendFromDevice(deviceId: string, payload: any, options?: EventsSendOptions): Promise<any>; exists(eventIds: Array<string> | string): Promise<any>; }