import type * as Samsara from "../index.js"; /** * Order task */ export interface OrderTaskResponseBody { /** The full address string for the order */ address?: string | undefined; appointmentWindow?: Samsara.AppointmentWindowResponseBody | undefined; /** The customer-provided identifier of the location associated with the order */ customerLocationId?: string | undefined; /** Latitude of the order. Optional if address is provided; the address will be geocoded to obtain coordinates. */ latitude?: number | undefined; /** Longitude of the order. Optional if address is provided; the address will be geocoded to obtain coordinates. */ longitude?: number | undefined; /** Any additional notes for the order */ notes?: string | undefined; /** Position constraint for the order task Valid values: `first`, `last`, `any` */ position?: OrderTaskResponseBody.Position | undefined; /** Estimated service time for the order in seconds */ serviceTimeSeconds?: number | undefined; } export declare namespace OrderTaskResponseBody { /** Position constraint for the order task Valid values: `first`, `last`, `any` */ const Position: { readonly First: "first"; readonly Last: "last"; readonly Any: "any"; }; type Position = (typeof Position)[keyof typeof Position]; }