import type * as Samsara from "../index.js"; /** * Issue response object. */ export interface IssueResponseObjectResponseBody { asset?: Samsara.FormsAssetObjectResponseBody | undefined; assignedTo?: Samsara.FormsPolymorphicUserObjectResponseBody | undefined; /** Creation time of the issue. UTC timestamp in RFC 3339 format. */ createdAtTime: string; /** Description of the issue. Included if the issue was given a description. */ description?: string | undefined; /** Due date of the issue. UTC timestamp in RFC 3339 format. Included if the issue was assigned a due date. */ dueDate?: string | undefined; /** A map of external ids */ externalIds?: Record | undefined; /** ID of the issue. */ id: string; issueSource: Samsara.IssueSourceObjectResponseBody; /** List of media objects for the issue. Included if the issue has media. */ mediaList?: Samsara.FormsMediaRecordObjectResponseBody[] | undefined; /** Priority of the issue. Included if the issue was assigned a priority. Valid values: `low`, `medium`, `high` */ priority?: IssueResponseObjectResponseBody.Priority | undefined; /** Status of the issue. Valid values: `open`, `inProgress`, `resolved`, `dismissed` */ status: IssueResponseObjectResponseBody.Status; /** Submission time of the issue. UTC timestamp in RFC 3339 format. */ submittedAtTime: string; submittedBy: Samsara.FormsPolymorphicUserObjectResponseBody; /** Title of the issue. */ title: string; /** Update time of the issue. UTC timestamp in RFC 3339 format. */ updatedAtTime: string; } export declare namespace IssueResponseObjectResponseBody { /** Priority of the issue. Included if the issue was assigned a priority. 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. 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]; }