Skip to main content

@dialstack/sdk / index / ProvisioningEvent

Interface: ProvisioningEvent

Defined in: sdk/src/types/device.ts:403

A provisioning event logged when a device fetches its configuration.

Properties

created_at

TypeScript
created_at: string;

Defined in: sdk/src/types/device.ts:419

ISO 8601 timestamp


details?

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

Defined in: sdk/src/types/device.ts:417

Additional event details


device?

TypeScript
optional device?: string;

Defined in: sdk/src/types/device.ts:407

TypeID of the device


device_id

TypeScript
device_id: string;

Defined in: sdk/src/types/device.ts:409

Deprecated

Use device. Retained for backwards compatibility.


event_type

TypeScript
event_type: string;

Defined in: sdk/src/types/device.ts:411

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


id

TypeScript
id: string;

Defined in: sdk/src/types/device.ts:405

TypeID with preve_ prefix


source_ip?

TypeScript
optional source_ip?: string;

Defined in: sdk/src/types/device.ts:413

IP address that initiated the request


user_agent?

TypeScript
optional user_agent?: string;

Defined in: sdk/src/types/device.ts:415

User-Agent header from the request