import type * as Samsara from "../index.js"; /** * Work Order Service Task object. */ export interface ServiceTaskInstanceObjectResponseBody { /** ID of the service task instance. */ id: string; laborHourlyCost?: Samsara.WorkOrderMoneyObjectResponseBody | undefined; /** The time of labor needed */ laborTimeMinutes?: number | undefined; /** Free-form technician notes for the service task. */ notes?: string | undefined; /** Parts for the service task. */ parts?: Samsara.PartInstanceObjectResponseBody[] | undefined; partsCost?: Samsara.WorkOrderMoneyObjectResponseBody | undefined; /** ID of the service task. */ serviceTaskId: string; /** The status of the service task. Valid values: `Unknown`, `Open`, `In Progress`, `On Hold`, `Completed` */ status: ServiceTaskInstanceObjectResponseBody.Status; /** Subtasks for the service task. */ subtasks?: Samsara.ServiceTaskSubtaskObjectResponseBody[] | undefined; } export declare namespace ServiceTaskInstanceObjectResponseBody { /** The status of the service task. Valid values: `Unknown`, `Open`, `In Progress`, `On Hold`, `Completed` */ const Status: { readonly Unknown: "Unknown"; readonly Open: "Open"; readonly InProgress: "In Progress"; readonly OnHold: "On Hold"; readonly Completed: "Completed"; }; type Status = (typeof Status)[keyof typeof Status]; }