import type * as Samsara from "../../../../index.js"; /** * @example * { * id: "9814a1fa-f0c6-408b-bf85-51dc3bc71ac8", * status: "notStarted" * } */ export interface FormSubmissionsPatchFormSubmissionRequestBody { approvalDetails?: Samsara.FormSubmissionRequestApprovalDetailsRequestBody; assignedTo?: Samsara.FormSubmissionRequestAssignedToRequestBody; /** Due date of the form submission. UTC timestamp in RFC 3339 format. */ dueAtTime?: string; /** List of field inputs to update in a form submission. */ fields?: Samsara.FormSubmissionRequestFieldInputObjectRequestBody[]; /** ID of the form submission. */ id: string; /** Indicates whether the worker is required to complete this form or not at a specific route stop. Defaults to `true` if the form is assigned to a user or driver. When true, the worker cannot depart the route stop until this form submission is `submitted`. */ isRequired?: boolean; /** ID of the route stop the form submission is assigned to. Must be a unique Samsara ID. */ routeStopId?: string; /** Status of the form submission. Valid values: `notStarted`, `archived`, `inProgress`, `changesRequested`, `approved` */ status?: FormSubmissionsPatchFormSubmissionRequestBody.Status; /** Title of the form submission. */ title?: string; } export declare namespace FormSubmissionsPatchFormSubmissionRequestBody { /** Status of the form submission. Valid values: `notStarted`, `archived`, `inProgress`, `changesRequested`, `approved` */ const Status: { readonly NotStarted: "notStarted"; readonly Archived: "archived"; readonly InProgress: "inProgress"; readonly ChangesRequested: "changesRequested"; readonly Approved: "approved"; }; type Status = (typeof Status)[keyof typeof Status]; }