import type * as Samsara from "../../../../index.js"; /** * @example * { * name: "12345" * } */ export interface EntityWarrantiesServiceCreateWarrantyRequestBody { baseCoverage?: Samsara.CreateWarrantyEntityWarrantyWarrantyCoverageInputTypeRequestBody; /** Additional coverage groups defined on this warranty. */ coverages?: Samsara.CreateWarrantyEntityWarrantyWarrantyCoverageInputTypeRequestBody[]; /** 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.CreateWarrantyEntityWarrantyWarrantyExternalIdInputTypeRequestBody[]; /** 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; }