import type * as Samsara from "../../../../index.js"; /** * @example * { * address: "123 Main St, Oakland, CA", * geofence: {}, * name: "Oakland Yard" * } */ export interface PlacesPostPlaceRequestBody { /** Single-line address string. */ address: string; /** Latitude of the place pin (map marker), stored independently of the geofence. When supplied, sets the pin; otherwise the pin is left empty. Provide together with addressLongitude. */ addressLatitude?: number; /** Longitude of the place pin (map marker), stored independently of the geofence. When supplied, sets the pin; otherwise the pin is left empty. Provide together with addressLatitude. */ addressLongitude?: number; businessContacts?: Samsara.PostPlaceBusinessContactsInputRequestBody; /** Camera recording mode: fullRecording, driverPrivacy, completePrivacy, or inherit. Valid values: `fullRecording`, `driverPrivacy`, `completePrivacy`, `inherit`, `unknown`, `unspecified` */ cameraRecordingModeType?: PlacesPostPlaceRequestBody.CameraRecordingModeType; /** External identifiers. */ externalIds?: PlacesPostPlaceRequestBody.ExternalIds; geofence: Samsara.PlaceGeofenceInputRequestBody; /** IFTA exemption types for this place. */ iftaExemptionTypes?: string[]; /** When true, show addresses inside the geofence on the map. */ isShowAddressesEnabled?: boolean; /** Place name. */ name: string; navigation?: Samsara.PostPlaceNavigationInputRequestBody; /** Optional notes. */ notes?: string; /** When present, replaces address-type categories via address metadata. Metadata-derived types (hubLocation, navigation, iftaExemption) must match routing, navigation, and existing IFTA metadata in the same request; conflicting combinations return InvalidArgument. */ placeTypes?: string[]; /** Initial route-planning rows for the new place. Each entry requires hubId; (placeId, hubId) must be unique. */ routing?: Samsara.PlaceRoutingInputRequestBody[]; /** Safety event types excluded at this place. */ safetyEventExclusions?: string[]; streetView?: Samsara.PlaceStreetViewInputRequestBody; /** Tags to associate. */ tags?: Samsara.PostPlaceTagRefRequestBody[]; } export declare namespace PlacesPostPlaceRequestBody { /** Camera recording mode: fullRecording, driverPrivacy, completePrivacy, or inherit. Valid values: `fullRecording`, `driverPrivacy`, `completePrivacy`, `inherit`, `unknown`, `unspecified` */ const CameraRecordingModeType: { readonly FullRecording: "fullRecording"; readonly DriverPrivacy: "driverPrivacy"; readonly CompletePrivacy: "completePrivacy"; readonly Inherit: "inherit"; readonly Unknown: "unknown"; readonly Unspecified: "unspecified"; }; type CameraRecordingModeType = (typeof CameraRecordingModeType)[keyof typeof CameraRecordingModeType]; /** * External identifiers. */ type ExternalIds = {}; }