@dialstack/sdk-dev / server/src / HardwareOrderItem
Interface: HardwareOrderItem
Defined in: sdk/server/src/index.ts:1695
Properties
base_item
base_item: string | null;
Defined in: sdk/server/src/index.ts:1706
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
bundle_catalog: string | HardwareCatalogItem | null;
Defined in: sdk/server/src/index.ts:1715
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
bundle_group: string | null;
Defined in: sdk/server/src/index.ts:1721
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
created_at: string;
Defined in: sdk/server/src/index.ts:1730
device
device: string | Device | null;
Defined in: sdk/server/src/index.ts:1727
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
fulfilled_at: string | null;
Defined in: sdk/server/src/index.ts:1728
hardware_catalog
hardware_catalog: HardwareCatalogItem;
Defined in: sdk/server/src/index.ts:1729
id
id: string;
Defined in: sdk/server/src/index.ts:1696
location
location: string | null;
Defined in: sdk/server/src/index.ts:1700
Pre-staging intent: the location this unit is destined for.
updated_at
updated_at: string;
Defined in: sdk/server/src/index.ts:1731
user
user: string | null;
Defined in: sdk/server/src/index.ts:1698
Pre-assignment intent: the user this unit is destined for.