import type * as Samsara from "../../../../index.mjs"; /** * @example * {} */ export interface PlacesPatchPlaceRequestBody { /** Samsara place id to update. Mutually exclusive with `externalId`; provide exactly one. */ placeId?: number; /** External id token in `key:value` form (e.g. crmId:warehouse-east). Mutually exclusive with `placeId`; provide exactly one. */ externalId?: string; /** Single-line address string. */ address?: string; /** Latitude of the place pin (map marker), stored independently of the geofence. When supplied, updates the pin; omitting it leaves the existing pin unchanged. Provide together with addressLongitude. */ addressLatitude?: number; /** Longitude of the place pin (map marker), stored independently of the geofence. When supplied, updates the pin; omitting it leaves the existing pin unchanged. 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?: PlacesPatchPlaceRequestBody.CameraRecordingModeType; /** When present, replaces external ids for the place. */ externalIds?: PlacesPatchPlaceRequestBody.ExternalIds; geofence?: Samsara.PlaceGeofenceInputRequestBody; /** When present, replaces IFTA exemption types for the place. */ iftaExemptionTypes?: string[]; /** When true, show addresses inside the geofence on the map. */ isShowAddressesEnabled?: boolean; /** Place name. */ name?: string; navigation?: Samsara.PostPlaceNavigationInputRequestBody; /** Notes. */ notes?: string; /** When present, replaces address-type categories via address metadata. Metadata-derived types (hubLocation, navigation, iftaExemption) must match routing, navigation, and IFTA metadata after this request; conflicting combinations return InvalidArgument. */ placeTypes?: string[]; routing?: Samsara.PlaceRoutingPatchInputRequestBody; /** When present, replaces safety event exclusions for the place. */ safetyEventExclusions?: string[]; streetView?: Samsara.PlaceStreetViewInputRequestBody; /** When present, replaces all tag associations for the place. */ tags?: Samsara.PostPlaceTagRefRequestBody[]; } export declare namespace PlacesPatchPlaceRequestBody { /** 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]; /** * When present, replaces external ids for the place. */ type ExternalIds = {}; }