import type * as Samsara from "../index.js"; export interface Attribute { /** Denotes the data type of the attribute's values. Valid values: `single-select`, `multi-select`, `text`, `freeform-multi-select`, `number`, `date`. */ attributeType?: Attribute.AttributeType | undefined; /** Denotes the type of entity, driver or asset. Valid values: `driver`, `asset`. */ entityType?: Attribute.EntityType | undefined; /** The samsara id of the attribute object. */ id?: string | undefined; /** Name of attribute. */ name?: string | undefined; /** Number values that can be associated with this attribute. Note: this field is `null` for `text` and `freeform-multi-select` attribute types.` */ numberValues?: number[] | undefined; /** String values that can be associated with this attribute. Note: this field is `null` for `text` and `freeform-multi-select` attribute types.` */ stringValues?: string[] | undefined; /** Unit of the attribute (only for Number attributes). */ unit?: Attribute.Unit | undefined; /** Representation of values that includes ids. Note: this field is `null` for `text` and `freeform-multi-select` attribute types.` */ values?: Samsara.AttributeValueTiny[] | undefined; } export declare namespace Attribute { /** Denotes the data type of the attribute's values. Valid values: `single-select`, `multi-select`, `text`, `freeform-multi-select`, `number`, `date`. */ const AttributeType: { readonly SingleSelect: "single-select"; readonly MultiSelect: "multi-select"; readonly Text: "text"; readonly FreeformMultiSelect: "freeform-multi-select"; readonly Number: "number"; readonly Date: "date"; }; type AttributeType = (typeof AttributeType)[keyof typeof AttributeType]; /** Denotes the type of entity, driver or asset. Valid values: `driver`, `asset`. */ const EntityType: { readonly Driver: "driver"; readonly Asset: "asset"; }; type EntityType = (typeof EntityType)[keyof typeof EntityType]; /** Unit of the attribute (only for Number attributes). */ const Unit: { readonly NoUnit: "NO_UNIT"; readonly Meter: "METER"; readonly Pound: "POUND"; readonly Ton: "TON"; readonly Kilogram: "KILOGRAM"; readonly Inch: "INCH"; readonly Foot: "FOOT"; readonly Gallon: "GALLON"; readonly Liter: "LITER"; readonly Barrel: "BARREL"; readonly PoundPerSquareInch: "POUND_PER_SQUARE_INCH"; readonly Bar: "BAR"; readonly Kilopascal: "KILOPASCAL"; readonly Fahrenheit: "FAHRENHEIT"; readonly Celsius: "CELSIUS"; readonly Usd: "USD"; readonly Cad: "CAD"; readonly Eur: "EUR"; readonly Gbp: "GBP"; readonly Mxn: "MXN"; readonly Hour: "HOUR"; readonly Minute: "MINUTE"; readonly Day: "DAY"; readonly MilePerHour: "MILE_PER_HOUR"; readonly KilometerPerHour: "KILOMETER_PER_HOUR"; readonly Horsepower: "HORSEPOWER"; readonly Kilowatt: "KILOWATT"; readonly BtuPerHour: "BTU_PER_HOUR"; readonly KilowattHour: "KILOWATT_HOUR"; readonly Btu: "BTU"; readonly Hertz: "HERTZ"; readonly RevolutionPerMinute: "REVOLUTION_PER_MINUTE"; readonly Decibel: "DECIBEL"; }; type Unit = (typeof Unit)[keyof typeof Unit]; }