Skip to main content

SlimDevice

No behavioral description is attached to this declaration. The public signature, parameter and return types, and source location below document its published contract.

Kind: Type alias
Package: @ovok/core

Import​

import { SlimDevice } from '@ovok/core';

TypeScript shape​

type SlimDevice = {
name: string;
status?: "active" | "inactive" | "entered-in-error" | "unknown";
statusReason: Array<{
code: string;
display: string | null;
}>;
thingsboardId?: string;
organizationId?: string;
organizationName: string | null;
locationId?: string;
locationName: string | null;
patientId?: string;
patientName: string | null;
floor?: string;
room?: string;
bed?: string;
};

This is a type-level export; it has no call parameters.

Public members​

MemberTypeDetails
namestring—
status"active" | "inactive" | "entered-in-error" | "unknown"Optional. —
statusReasonArray<{ code: string; display: string | null; }>—
thingsboardIdstringOptional. —
organizationIdstringOptional. —
organizationNamestring | null—
locationIdstringOptional. —
locationNamestring | null—
patientIdstringOptional. —
patientNamestring | null—
floorstringOptional. —
roomstringOptional. —
bedstringOptional. —

Learn the workflow​

Continue with Slim Apis for the workflow context and examples.

Source​

View the declaration in the SDK source.