import type * as Samsara from "../../../../index.mjs"; /** * @example * { * formTemplate: { * id: "9814a1fa-f0c6-408b-bf85-51dc3bc71ac7", * revisionId: "1214a1fa-f0c6-408b-bf85-51dc3bc71ac7" * }, * status: "notStarted" * } */ export interface FormSubmissionsPostFormSubmissionRequestBody { assignedTo?: Samsara.FormSubmissionRequestAssignedToRequestBody; /** Due date of the form submission. UTC timestamp in RFC 3339 format. */ dueAtTime?: string; /** List of field inputs in a form submission. */ fields?: Samsara.FormSubmissionRequestFieldInputObjectRequestBody[]; formTemplate: Samsara.FormTemplateRequestObjectRequestBody; /** 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` */ status: FormSubmissionsPostFormSubmissionRequestBody.Status; /** Title of the form submission. */ title?: string; } export declare namespace FormSubmissionsPostFormSubmissionRequestBody { /** Status of the form submission. Valid values: `notStarted` */ const Status: { readonly NotStarted: "notStarted"; }; type Status = (typeof Status)[keyof typeof Status]; }