import type * as Samsara from "../index.js"; /** * An order task to create or update. Required fields are enforced by the transport; value constraints are validated per batch item. */ export interface FleetOrderBatchTaskUpsertInputRequestBody { /** Task-specific customer metadata. */ customerProperties?: Samsara.FleetOrderBatchCustomerPropertyInputRequestBody[] | undefined; /** Dispatcher-visible note. */ dispatcherNotes?: string | undefined; /** Driver-visible note. */ driverNotes?: string | undefined; /** Hub UUID for this task. */ hubId: string; /** Existing task ID. Omit to create a task. */ id?: string | undefined; /** Task position constraint. Must be none, first, or last. */ positionConstraintType?: string | undefined; /** Task quantities. */ quantities?: Samsara.FleetOrderBatchQuantityInputRequestBody[] | undefined; /** Expected non-negative service duration in seconds. */ serviceDurationSeconds?: number | undefined; serviceLocation?: Samsara.FleetOrderBatchServiceLocationInputRequestBody | undefined; /** Existing service window UUIDs to retire. */ serviceWindowIdsToRemove?: string[] | undefined; /** Service windows to create or update. */ serviceWindows?: Samsara.FleetOrderBatchServiceWindowUpsertInputRequestBody[] | undefined; /** Task type. Must be delivery, pickup, or pickupDelivery. */ taskType: string; }