import type * as Samsara from "../index.js"; /** * A discount at the preferred fuel station. */ export interface PreferredStationDiscountResponseResponseBody { discount?: Samsara.PreferredStationDiscountResponseMoneyResponseBody | undefined; /** The discount percentage value. */ discountPercent?: string | undefined; /** How the discount is calculated. Valid values: `centsPerUnit`, `percentage`, `fixedPrice`, `unknown` */ discountType: PreferredStationDiscountResponseResponseBody.DiscountType; /** The fuel type this discount applies to. Valid values: `gasoline`, `diesel`, `biodiesel`, `flexibleFuelE85`, `electricity`, `ethanolE100`, `renewableDiesel`, `m100`, `cng`, `lng`, `lpg`, `rng`, `fcev`, `unknown` */ fuelType: PreferredStationDiscountResponseResponseBody.FuelType; /** Volume/energy unit. Valid values: `liter`, `gallon`, `imperialGallon`, `unknown` */ volumeUnit?: PreferredStationDiscountResponseResponseBody.VolumeUnit | undefined; } export declare namespace PreferredStationDiscountResponseResponseBody { /** How the discount is calculated. Valid values: `centsPerUnit`, `percentage`, `fixedPrice`, `unknown` */ const DiscountType: { readonly CentsPerUnit: "centsPerUnit"; readonly Percentage: "percentage"; readonly FixedPrice: "fixedPrice"; readonly Unknown: "unknown"; }; type DiscountType = (typeof DiscountType)[keyof typeof DiscountType]; /** The fuel type this discount applies to. Valid values: `gasoline`, `diesel`, `biodiesel`, `flexibleFuelE85`, `electricity`, `ethanolE100`, `renewableDiesel`, `m100`, `cng`, `lng`, `lpg`, `rng`, `fcev`, `unknown` */ const FuelType: { readonly Gasoline: "gasoline"; readonly Diesel: "diesel"; readonly Biodiesel: "biodiesel"; readonly FlexibleFuelE85: "flexibleFuelE85"; readonly Electricity: "electricity"; readonly EthanolE100: "ethanolE100"; readonly RenewableDiesel: "renewableDiesel"; readonly M100: "m100"; readonly Cng: "cng"; readonly Lng: "lng"; readonly Lpg: "lpg"; readonly Rng: "rng"; readonly Fcev: "fcev"; readonly Unknown: "unknown"; }; type FuelType = (typeof FuelType)[keyof typeof FuelType]; /** Volume/energy unit. Valid values: `liter`, `gallon`, `imperialGallon`, `unknown` */ const VolumeUnit: { readonly Liter: "liter"; readonly Gallon: "gallon"; readonly ImperialGallon: "imperialGallon"; readonly Unknown: "unknown"; }; type VolumeUnit = (typeof VolumeUnit)[keyof typeof VolumeUnit]; }