import type * as Samsara from "../index.js"; /** * A location. Polygon and Circle is deprecated, but may be set for old Alerts. At least one location must be selected. */ export interface LocationObjectResponseBody { /** All locations with selected address IDs will trigger. */ addressIds?: string[] | undefined; /** All locations with the selected address types will trigger. */ addressTypes?: LocationObjectResponseBody.AddressTypes.Item[] | undefined; circle?: Samsara.CircleResponseBody | undefined; polygon?: Samsara.PolygonResponseBody | undefined; /** All locations with selected tag will trigger. */ tagIds?: string[] | undefined; } export declare namespace LocationObjectResponseBody { type AddressTypes = AddressTypes.Item[]; namespace AddressTypes { /** Type of the address. Valid values: `agricultureSource`, `alertsOnly`, `authorizedZone`, `avoidanceZone`, `customerSite`, `industrialSite`, `inventory`, `knownGPSJammingZone`, `riskZone`, `shortHaul`, `unauthorizedZone`, `undefined`, `vendor`, `workforceSite`, `yard` */ const Item: { readonly AgricultureSource: "agricultureSource"; readonly AlertsOnly: "alertsOnly"; readonly AuthorizedZone: "authorizedZone"; readonly AvoidanceZone: "avoidanceZone"; readonly CustomerSite: "customerSite"; readonly IndustrialSite: "industrialSite"; readonly Inventory: "inventory"; readonly KnownGpsJammingZone: "knownGPSJammingZone"; readonly RiskZone: "riskZone"; readonly ShortHaul: "shortHaul"; readonly UnauthorizedZone: "unauthorizedZone"; readonly Undefined: "undefined"; readonly Vendor: "vendor"; readonly WorkforceSite: "workforceSite"; readonly Yard: "yard"; }; type Item = (typeof Item)[keyof typeof Item]; } }