Skip to main content

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

Interface: ProvisioningEvent

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

A provisioning event logged when a device fetches its configuration.

Properties​

created_at​

TypeScript
created_at: string;

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

ISO 8601 timestamp


details?​

TypeScript
optional details?: Record<string, unknown>;

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

Additional event details


device?​

TypeScript
optional device?: string;

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

TypeID of the device


device_id​

TypeScript
device_id: string;

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

Deprecated​

Use device. Retained for backwards compatibility.


event_type​

TypeScript
event_type: string;

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

Type of event (e.g., "config_fetch", "config_error")


id​

TypeScript
id: string;

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

TypeID with preve_ prefix


source_ip?​

TypeScript
optional source_ip?: string;

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

IP address that initiated the request


user_agent?​

TypeScript
optional user_agent?: string;

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

User-Agent header from the request