Interface IInterventionResponse<T>

interface IInterventionResponse<T> {
    createdAt?: string;
    data: IInterventionTypeMap[T]["response"];
    deviceId?: string;
    endTime?: null | string;
    eventTriggerId?: null | string;
    id?: string;
    interventionId: string;
    interventionType: T;
    message: string;
    metadata?: IDictionary<string>;
    notificationEnabled?: boolean;
    organizationId?: string;
    parentId?: null | string;
    setsDeviceColor?: boolean;
    streamName?: string;
    streamType?: keyof IStreamTypeMap;
    tags: ITags;
    time: string;
    type: "intervention-response";
    updatedAt?: string;
    userId?: string;
    viewed?: boolean;
}

Type Parameters

Hierarchy (view full)

  • IBaseEvent<"intervention-response">
    • IInterventionResponse

Properties

createdAt?: string
data: IInterventionTypeMap[T]["response"]
deviceId?: string
endTime?: null | string
eventTriggerId?: null | string
id?: string
interventionId: string
interventionType: T
message: string
metadata?: IDictionary<string>
notificationEnabled?: boolean
organizationId?: string
parentId?: null | string
setsDeviceColor?: boolean
streamName?: string
streamType?: keyof IStreamTypeMap
tags: ITags
time: string
type: "intervention-response"
updatedAt?: string
userId?: string
viewed?: boolean

Generated using TypeDoc