import type * as Samsara from "../../../../index.js"; /** * @example * { * asset: { * id: "hertzAssetId:HZ-100423" * }, * title: "Front bumper scratch" * } */ export interface IssuesPostIssueRequestBody { asset: Samsara.PostIssueRequestBodyAssetRequestBody; assignedTo?: Samsara.PostIssueRequestBodyAssignedToRequestBody; /** Description of the issue. */ description?: string; /** Due date of the issue. UTC timestamp in RFC 3339 format. */ dueDate?: string; /** A map of external ids */ externalIds?: Record; /** Media items to attach to the issue. */ media?: Samsara.FormSubmissionRequestMediaItemObjectRequestBody[]; /** Priority of the issue. Valid values: `low`, `medium`, `high` */ priority?: IssuesPostIssueRequestBody.Priority; /** Status of the issue. Defaults to `open` when omitted. Valid values: `open`, `inProgress`, `resolved`, `dismissed` */ status?: IssuesPostIssueRequestBody.Status; /** Title of the issue. */ title: string; } export declare namespace IssuesPostIssueRequestBody { /** Priority of the issue. Valid values: `low`, `medium`, `high` */ const Priority: { readonly Low: "low"; readonly Medium: "medium"; readonly High: "high"; }; type Priority = (typeof Priority)[keyof typeof Priority]; /** Status of the issue. Defaults to `open` when omitted. Valid values: `open`, `inProgress`, `resolved`, `dismissed` */ const Status: { readonly Open: "open"; readonly InProgress: "inProgress"; readonly Resolved: "resolved"; readonly Dismissed: "dismissed"; }; type Status = (typeof Status)[keyof typeof Status]; }