import type * as Samsara from "../index.js"; /** * Auto-geofence settings on write. Server geocodes from top-level address when seed coordinates are omitted, then suggests and persists resolved geometry. */ export interface PlaceGeofenceAutoInputRequestBody { fallbackBehavior?: Samsara.PlaceGeofenceAutoFallbackBehaviorInputRequestBody | undefined; /** When true, replace the request name with the winning suggestion name when non-empty. */ isSuggestedNameEnabled?: boolean | undefined; /** When true and both top-level address and seed coordinates are present, geocode the address and reject the request when the result does not correlate with the seed. */ isValidateAddressEnabled?: boolean | undefined; /** Seed latitude in WGS84 decimal degrees. Supply together with longitude, or omit both to geocode from top-level address. */ latitude?: number | undefined; /** Seed longitude in WGS84 decimal degrees. Supply together with latitude, or omit both to geocode from top-level address. */ longitude?: number | undefined; /** Drop candidates with area above this value in square meters. */ maxAreaSquareMeters?: number | undefined; /** Drop candidates whose source polygon exceeds this vertex count before simplification. */ maxSourceVertices?: number | undefined; /** Simplify the selected polygon to at most this many vertices before persist. */ maxVertices?: number | undefined; searchBounds?: Samsara.PlaceGeofenceAutoSearchBoundsInputRequestBody | undefined; /** Candidate sort order within each type tier. Valid values: `smallestFirst`, `largestFirst` */ sizeOrder?: PlaceGeofenceAutoInputRequestBody.SizeOrder | undefined; /** Candidate types in priority order. Defaults to building, parcel, landUse, boundary. */ suggestionTypes?: PlaceGeofenceAutoInputRequestBody.SuggestionTypes.Item[] | undefined; } export declare namespace PlaceGeofenceAutoInputRequestBody { /** Candidate sort order within each type tier. Valid values: `smallestFirst`, `largestFirst` */ const SizeOrder: { readonly SmallestFirst: "smallestFirst"; readonly LargestFirst: "largestFirst"; }; type SizeOrder = (typeof SizeOrder)[keyof typeof SizeOrder]; type SuggestionTypes = SuggestionTypes.Item[]; namespace SuggestionTypes { /** Geofence suggestion type filter token. Valid values: `building`, `parcel`, `landUse`, `boundary`, `facility`, `infrastructure` */ const Item: { readonly Building: "building"; readonly Parcel: "parcel"; readonly LandUse: "landUse"; readonly Boundary: "boundary"; readonly Facility: "facility"; readonly Infrastructure: "infrastructure"; }; type Item = (typeof Item)[keyof typeof Item]; } }