import type * as Samsara from "../../../../index.mjs"; /** * @example * { * id: "id" * } */ export interface EntityWarrantiesServiceUpdateWarrantyRequestBody { /** Unique identifier for the Warranty record. */ id: string; baseCoverage?: Samsara.UpdateWarrantyEntityWarrantyWarrantyCoverageInputTypeRequestBody; /** Additional coverage groups defined on this warranty. */ coverages?: Samsara.UpdateWarrantyEntityWarrantyWarrantyCoverageInputTypeRequestBody[]; /** Description of the warranty. */ description?: string; /** Warranty length in days. Mutually exclusive with duration in months. */ durationDays?: number; /** Warranty length in months. Mutually exclusive with duration in days. */ durationMonths?: number; /** Warranty length by engine hours since the warranty start. */ engineDurationHours?: number; /** Customer-supplied external identifiers for the warranty, interchangeable with id in filters. Only included in the response when includeExternalIds is set. */ externalIds?: Samsara.UpdateWarrantyEntityWarrantyWarrantyExternalIdInputTypeRequestBody[]; /** Name of the warranty. */ name?: string; /** Warranty length by distance travelled since the warranty start. Measured in meters. */ odometerDistanceMeters?: number; /** ID of the vendor that provides this warranty. */ vendorId?: string; /** Type of warranty, for example manufacturer, extended, other, or unknown. */ warrantyType?: string; }