import type * as Samsara from "../../../../index.js"; /** * @example * { * location: { * latitude: 37.7749, * longitude: -122.4194 * }, * mode: "justOnce", * observationType: "roadDefect" * } */ export interface EntityWatchpointsServiceCreateWatchpointRequestBody { location: Samsara.WatchpointLatLngTypeRequestBody; /** Recurrence frequency for observations. Valid values: `justOnce`, `daily`, `weekly`, `monthly` */ mode: EntityWatchpointsServiceCreateWatchpointRequestBody.Mode; /** Customer-provided name for the watchpoint. */ name?: string; /** Customer-provided note about the watchpoint. */ note?: string; /** Type of condition to observe at this watchpoint. Valid values: `roadDefect`, `utilityCut`, `guardrail`, `streetlight`, `signage`, `stormDrain`, `graffiti`, `vegetation`, `blight`, `illegalDumping`, `littering`, `highVegetationWeeds`, `fire`, `other` */ observationType: EntityWatchpointsServiceCreateWatchpointRequestBody.ObservationType; } export declare namespace EntityWatchpointsServiceCreateWatchpointRequestBody { /** Recurrence frequency for observations. Valid values: `justOnce`, `daily`, `weekly`, `monthly` */ const Mode: { 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: `roadDefect`, `utilityCut`, `guardrail`, `streetlight`, `signage`, `stormDrain`, `graffiti`, `vegetation`, `blight`, `illegalDumping`, `littering`, `highVegetationWeeds`, `fire`, `other` */ const ObservationType: { 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]; }