Skip to main content

@dialstack/sdk-dev / js/src / DeviceZeroTouch

Interface: DeviceZeroTouch

Defined in: sdk/js/src/types/device.ts:53

A device's recent contacts with the manufacturer's zero-touch service, from GET /v1/devices/:id/zero-touch. Every read asks the manufacturer, so fetch it on demand rather than polling.

Properties​

checked_at​

TypeScript
checked_at: string;

Defined in: sdk/js/src/types/device.ts:59

ISO 8601 timestamp of the manufacturer read


device​

TypeScript
device: string;

Defined in: sdk/js/src/types/device.ts:55


last_contacts​

TypeScript
last_contacts: DeviceZeroTouchContact[] | null;

Defined in: sdk/js/src/types/device.ts:65

Most recent contacts since the device was added, newest first. null when the manufacturer keeps no contact history or zero-touch does not apply; empty when the phone has not contacted the service.


object​

TypeScript
object: "device_zero_touch";

Defined in: sdk/js/src/types/device.ts:54


vendor?​

TypeScript
vendor?: string;

Defined in: sdk/js/src/types/device.ts:57

The manufacturer whose service was asked; absent when none applies.