Skip to main content

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

Interface: HardwareOrderItem

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

Properties​

base_item​

TypeScript
base_item: string | null;

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

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:2167

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:2173

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:2195


device​

TypeScript
device: string | Device | null;

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

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​

TypeScript
fulfilled: boolean;

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

Whether this unit is done: a phone or DECT unit once its serial is captured, an accessory (which never gets one) once a shipment from the distributor accounts for it.


fulfilled_at​

TypeScript
fulfilled_at: string | null;

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


hardware_catalog​

TypeScript
hardware_catalog: HardwareCatalogItem;

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


id​

TypeScript
id: string;

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


location​

TypeScript
location: string | null;

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

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


part_number​

TypeScript
part_number: string | null;

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

The distributor part this unit was bought as; match it against a shipment's items[].part_number. Null until the order ships.


pending​

TypeScript
pending: boolean;

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

The order is on backorder and no shipment has accounted for this unit yet.


updated_at​

TypeScript
updated_at: string;

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


user​

TypeScript
user: string | null;

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

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