Interface IInterventionRequest<T>

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

Generated using TypeDoc