Interface ICommandEventBase<T>

interface ICommandEventBase<T> {
    commandId: string;
    createdAt?: string;
    deviceId?: string;
    endTime?: null | string;
    id?: string;
    message: string;
    notificationEnabled?: boolean;
    organizationId?: string;
    streamName?: string;
    streamType?: keyof IStreamTypeMap;
    tags?: ITags;
    time: string;
    type?: T;
    updatedAt?: string;
    viewed?: boolean;
}

Type Parameters

  • T extends "command-request" | "command-delivery" | "command-response"

Hierarchy (view full)

Properties

commandId: string
createdAt?: string
deviceId?: string
endTime?: null | string
id?: string
message: string
notificationEnabled?: boolean
organizationId?: string
streamName?: string
streamType?: keyof IStreamTypeMap
tags?: ITags
time: string
type?: T
updatedAt?: string
viewed?: boolean

Generated using TypeDoc