import type * as Samsara from "../index.js"; /** * Order object */ export interface OrderObjectResponseBody { /** The timestamp (in UTC) when the order was created */ createdAtTime: string; /** An array of custom property values for the order */ customProperties: Samsara.OrderCustomPropertyResponseBody[]; /** The customer-provided identifier for the order */ customerOrderId: string; delivery?: Samsara.OrderTaskResponseBody | undefined; /** The ID of the hub the order belongs to */ hubId: string; /** The Samsara-generated unique identifier (UUID) for the order */ id: string; pickup?: Samsara.OrderTaskResponseBody | undefined; /** The ID of the plan the order belongs to */ planId: string; /** Priority of the order (e.g., 1 for high, 5 for low) */ priority: number; /** An array of quantities for the order */ quantities: Samsara.OrderQuantityResponseBody[]; /** The ID of the route this order is assigned to. Null if the order is unassigned. Only populated on list responses. */ routeId?: string | undefined; /** An array of skill IDs required to fulfill the order */ skillsRequired: string[]; /** The timestamp (in UTC) when the order was last updated */ updatedAtTime: string; }