import { QelosSDKOptions } from '../types'; import BaseSDK from '../base-sdk'; export interface IQelosEvent { tenant: string; user?: string; workspace?: string; source: string; kind: string; eventName: string; description: string; metadata?: any; created: Date; } export default class QlEvents extends BaseSDK { private relativePath; constructor(options: QelosSDKOptions); getList(params?: { page?: number; limit?: number; kind?: string; eventName?: string; source?: string; user?: string; workspace?: string; search?: string; period?: string; from?: string; to?: string; }): Promise; getEvent(eventId: string): Promise; dispatch(payload: Partial): Promise; }