import type * as Samsara from "../index.js"; /** * Representation of a vehicle trailer or other equipment to be tracked. */ export interface AssetResponseBody { /** List of attributes associated with the entity */ attributes?: Samsara.GoaAttributeTinyResponseBody[] | undefined; /** The time the asset was created in RFC 3339 format. */ createdAtTime: string; /** A map of external ids */ externalIds?: Record | undefined; /** The unique ID of the asset. */ id: string; /** The license plate of the asset. */ licensePlate?: string | undefined; /** The OEM/manufacturer of the asset. Updates to this field are restricted. */ make?: string | undefined; /** The model of the asset. Updates to this field are restricted. */ model?: string | undefined; /** The human-readable name of the asset. This is set by a fleet administrator and will appear in both Samsara’s cloud dashboard as well as the Samsara Driver mobile app. By default, this name is the serial number of the Samsara Asset Gateway. It can be set or updated through the Samsara Dashboard or through the API at any time. */ name?: string | undefined; /** These are generic notes about the asset. Can be set or updated through the Samsara Dashboard or the API at any time. */ notes?: string | undefined; /** Indicates whether the asset is expected to have data ingested using the Readings API. Do not set this to true for an asset that has, or is intended to have, a connected gateway. */ readingsIngestionEnabled?: boolean | undefined; /** Whether or not the asset is regulated, unregulated (non-CMV), or a mixed use unregulated asset. Primarily used with vehicles. Valid values: `mixed`, `regulated`, `unregulated` */ regulationMode?: AssetResponseBody.RegulationMode | undefined; /** The serial number of the asset. This can be an internal serial number or used to hold legacy VIN/PIN numbers such as ones of shorter lengths. */ serialNumber?: string | undefined; /** The list of [tags](https://kb.samsara.com/hc/en-us/articles/360026674631-Using-Tags-and-Tag-Nesting) associated with the Asset. */ tags?: Samsara.GoaTagTinyResponseResponseBody[] | undefined; /** The operational context in which the asset interacts with the Samsara system. Examples: Vehicle (eg: truck, bus...), Trailer (eg: dry van, reefer, flatbed...), Powered Equipment (eg: dozer, crane...), Unpowered Equipment (eg: container, dumpster...), or Uncategorized. Valid values: `uncategorized`, `trailer`, `equipment`, `unpowered`, `vehicle` */ type?: AssetResponseBody.Type | undefined; /** The time the asset was last updated in RFC 3339 format. */ updatedAtTime: string; /** The unique 17-digit VIN (Vehicle Identification Number) or PIN (Product Identification Number) of the asset. */ vin?: string | undefined; /** The model year of the asset. Updates to this field are restricted. */ year?: number | undefined; } export declare namespace AssetResponseBody { /** Whether or not the asset is regulated, unregulated (non-CMV), or a mixed use unregulated asset. Primarily used with vehicles. Valid values: `mixed`, `regulated`, `unregulated` */ const RegulationMode: { readonly Mixed: "mixed"; readonly Regulated: "regulated"; readonly Unregulated: "unregulated"; }; type RegulationMode = (typeof RegulationMode)[keyof typeof RegulationMode]; /** The operational context in which the asset interacts with the Samsara system. Examples: Vehicle (eg: truck, bus...), Trailer (eg: dry van, reefer, flatbed...), Powered Equipment (eg: dozer, crane...), Unpowered Equipment (eg: container, dumpster...), or Uncategorized. Valid values: `uncategorized`, `trailer`, `equipment`, `unpowered`, `vehicle` */ const Type: { readonly Uncategorized: "uncategorized"; readonly Trailer: "trailer"; readonly Equipment: "equipment"; readonly Unpowered: "unpowered"; readonly Vehicle: "vehicle"; }; type Type = (typeof Type)[keyof typeof Type]; }