import type * as Samsara from "../index.js"; /** * Watchpoint object */ export interface EntityUpdateWatchpointTypeResponseBody { /** Time when the watchpoint resource was created. */ createdAtTime: string; /** Unique identifier for the watchpoint. */ id: string; /** Time when the most recent observation was collected, or null when unavailable. */ lastObservationTime: string | null; location: Samsara.WatchpointLatLngTypeResponseBody; /** Recurrence frequency for observations. Valid values: `unknown`, `justOnce`, `daily`, `weekly`, `monthly` */ mode: EntityUpdateWatchpointTypeResponseBody.Mode; /** Server-derived end of the current monitoring window. */ monitoringEndTime: string; /** Start of the current monitoring run. */ monitoringStartTime: string; /** Customer-provided name for the watchpoint, or null when unavailable. */ name: string | null; /** Customer-provided note about the watchpoint, or null when unavailable. */ note: string | null; /** Number of observations collected for the watchpoint. */ observationCount: number; /** Type of condition to observe at this watchpoint. Valid values: `unknown`, `roadDefect`, `utilityCut`, `guardrail`, `streetlight`, `signage`, `stormDrain`, `graffiti`, `vegetation`, `blight`, `illegalDumping`, `littering`, `highVegetationWeeds`, `fire`, `other` */ observationType: EntityUpdateWatchpointTypeResponseBody.ObservationType; /** Organization-scoped URL that opens this Watchpoint in the Samsara dashboard. */ samsaraDashboardUrl: string; /** Current lifecycle status of the watchpoint. Valid values: `unknown`, `active`, `completed` */ status: EntityUpdateWatchpointTypeResponseBody.Status; /** Time when the public watchpoint projection was most recently updated. */ updatedAtTime: string; } export declare namespace EntityUpdateWatchpointTypeResponseBody { /** Recurrence frequency for observations. Valid values: `unknown`, `justOnce`, `daily`, `weekly`, `monthly` */ const Mode: { readonly Unknown: "unknown"; readonly JustOnce: "justOnce"; readonly Daily: "daily"; readonly Weekly: "weekly"; readonly Monthly: "monthly"; }; type Mode = (typeof Mode)[keyof typeof Mode]; /** Type of condition to observe at this watchpoint. Valid values: `unknown`, `roadDefect`, `utilityCut`, `guardrail`, `streetlight`, `signage`, `stormDrain`, `graffiti`, `vegetation`, `blight`, `illegalDumping`, `littering`, `highVegetationWeeds`, `fire`, `other` */ const ObservationType: { readonly Unknown: "unknown"; readonly RoadDefect: "roadDefect"; readonly UtilityCut: "utilityCut"; readonly Guardrail: "guardrail"; readonly Streetlight: "streetlight"; readonly Signage: "signage"; readonly StormDrain: "stormDrain"; readonly Graffiti: "graffiti"; readonly Vegetation: "vegetation"; readonly Blight: "blight"; readonly IllegalDumping: "illegalDumping"; readonly Littering: "littering"; readonly HighVegetationWeeds: "highVegetationWeeds"; readonly Fire: "fire"; readonly Other: "other"; }; type ObservationType = (typeof ObservationType)[keyof typeof ObservationType]; /** Current lifecycle status of the watchpoint. Valid values: `unknown`, `active`, `completed` */ const Status: { readonly Unknown: "unknown"; readonly Active: "active"; readonly Completed: "completed"; }; type Status = (typeof Status)[keyof typeof Status]; }