Interface IInterventionRequest<T>

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

Type Parameters

Hierarchy (view full)

  • IBaseEvent<"intervention-request">
    • IInterventionRequest

Properties

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

Generated using TypeDoc