import type * as Samsara from "../../../../index.js"; /** * @example * { * id: "id" * } */ export interface UpdateAddressRequest { /** ID of the Address. This can either be the Samsara-provided ID or an external ID. External IDs are customer-specified key-value pairs created in the POST or PATCH requests of this resource. To specify an external ID as part of a path parameter, use the following format: `key:value`. For example, `crmId:abc123` */ id: string; /** 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?: UpdateAddressRequest.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.UpdateAddressRequestGeofence; /** 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 UpdateAddressRequest { 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]; } }