Skip to main content

@dialstack/sdk-dev / server/src / HardwareOrderItem

Interface: HardwareOrderItem

Defined in: sdk/server/src/index.ts:1745

Properties​

base_item​

TypeScript
base_item: string | null;

Defined in: sdk/server/src/index.ts:1756

Pre-pairing intent (handsets only): the ordered base this handset will pair with. Auto-set when the order has exactly one base, or, for a handset that came from a bundle, to that bundle's own base.


bundle_catalog​

TypeScript
bundle_catalog: string | HardwareCatalogItem | null;

Defined in: sdk/server/src/index.ts:1765

The bundle this unit was expanded from — its id by default, or the full HardwareCatalogItem when expand: ['items.bundle_catalog'] is requested. A bundle is ordered as one line and never becomes a unit itself, so ordering one M253 yields an M250 unit and an M53 unit, both pointing here, and expanding is the only way to read the bundle's own model from an order. Null for a unit ordered directly.


bundle_group​

TypeScript
bundle_group: string | null;

Defined in: sdk/server/src/index.ts:1771

Groups the units expanded from a single bundle. Ordering two M253s yields four units carrying two distinct values, so they can be rendered as two bundles rather than four loose devices. Null for a unit ordered directly.


created_at​

TypeScript
created_at: string;

Defined in: sdk/server/src/index.ts:1780


device​

TypeScript
device: string | Device | null;

Defined in: sdk/server/src/index.ts:1777

The device this unit materialized into at fulfillment — its id by default, or the full Device when expand: ['items.device'] is requested. Null until fulfilled.


fulfilled_at​

TypeScript
fulfilled_at: string | null;

Defined in: sdk/server/src/index.ts:1778


hardware_catalog​

TypeScript
hardware_catalog: HardwareCatalogItem;

Defined in: sdk/server/src/index.ts:1779


id​

TypeScript
id: string;

Defined in: sdk/server/src/index.ts:1746


location​

TypeScript
location: string | null;

Defined in: sdk/server/src/index.ts:1750

Pre-staging intent: the location this unit is destined for.


updated_at​

TypeScript
updated_at: string;

Defined in: sdk/server/src/index.ts:1781


user​

TypeScript
user: string | null;

Defined in: sdk/server/src/index.ts:1748

Pre-assignment intent: the user this unit is destined for.