import type * as Samsara from "../index.js"; /** * Work Order Service Task object. */ export interface ServiceTaskInstanceWithTimeEntriesObjectResponseBody { /** 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: ServiceTaskInstanceWithTimeEntriesObjectResponseBody.Status; /** Subtasks for the service task. */ subtasks?: Samsara.ServiceTaskSubtaskObjectResponseBody[] | undefined; /** Technician time entries logged against this service task. Only returned for organizations using Technician Management. Includes both completed entries (clockOutAtTime is set) and entries that are still open (clockOutAtTime is null). */ timeEntries?: Samsara.WorkOrderTimeEntryObjectResponseBody[] | undefined; } export declare namespace ServiceTaskInstanceWithTimeEntriesObjectResponseBody { /** 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]; }