import type * as Samsara from "../../../../index.js"; /** * @example * { * formattedAddress: "350 Rhode Island St, San Francisco, CA", * geofence: {}, * name: "Samsara HQ" * } */ export interface CreateAddressRequest { /** Reporting location type associated with the address (used for ELD reporting purposes). Valid values: `yard`, `shortHaul`, `workforceSite`, `riskZone`, `industrialSite`, `alertsOnly`, `agricultureSource`, `avoidanceZone`, `knownGPSJammingZone`, `authorizedZone`, `unauthorizedZone`, `vendor`, `inventory`. */ addressTypes?: CreateAddressRequest.AddressTypes.Item[]; /** An array of Contact IDs associated with this Address. */ contactIds?: string[]; /** The [external IDs](https://developers.samsara.com/docs/external-ids) for the given object. */ externalIds?: Record; /** The full street address for this address/geofence, as it might be recognized by Google Maps. */ formattedAddress: string; geofence: Samsara.CreateAddressRequestGeofence; /** Latitude of the address. Will be geocoded from `formattedAddress` if not provided. */ latitude?: number; /** Longitude of the address. Will be geocoded from `formattedAddress` if not provided. */ longitude?: number; /** Name of the address. */ name: string; /** Notes about the address. */ notes?: string; /** An array of IDs of tags to associate with this address. */ tagIds?: string[]; } export declare namespace CreateAddressRequest { type AddressTypes = AddressTypes.Item[]; namespace AddressTypes { const Item: { readonly Yard: "yard"; readonly ShortHaul: "shortHaul"; readonly WorkforceSite: "workforceSite"; readonly RiskZone: "riskZone"; readonly IndustrialSite: "industrialSite"; readonly AlertsOnly: "alertsOnly"; readonly AgricultureSource: "agricultureSource"; readonly AvoidanceZone: "avoidanceZone"; readonly KnownGpsJammingZone: "knownGPSJammingZone"; readonly AuthorizedZone: "authorizedZone"; readonly UnauthorizedZone: "unauthorizedZone"; readonly Vendor: "vendor"; readonly Inventory: "inventory"; readonly CustomerSite: "customerSite"; }; type Item = (typeof Item)[keyof typeof Item]; } }