/** * @example * { * id: "id", * missing_reason: "MISPLACED", * recovery_status: "YES", * status: "RECOVERED" * } */ export interface DeviceRecoveryRecoverAssetRequestBody { /** The ID of the asset. This can be a Samsara internal ID or an external ID in the format `key:value`. */ id: string; /** Optional additional details about the recovery. */ additional_details?: string; /** The reason the asset was marked as missing. Valid values: `MISPLACED`, `STOLEN`, `NOT_SURE` */ missing_reason: DeviceRecoveryRecoverAssetRequestBody.MissingReason; /** Whether the asset has been physically recovered. Valid values: `YES`, `NO`, `NOT_SURE` */ recovery_status: DeviceRecoveryRecoverAssetRequestBody.RecoveryStatus; /** The recovery status to set for the asset. Valid values: `RECOVERED` */ status: DeviceRecoveryRecoverAssetRequestBody.Status; } export declare namespace DeviceRecoveryRecoverAssetRequestBody { /** The reason the asset was marked as missing. Valid values: `MISPLACED`, `STOLEN`, `NOT_SURE` */ const MissingReason: { readonly Misplaced: "MISPLACED"; readonly Stolen: "STOLEN"; readonly NotSure: "NOT_SURE"; }; type MissingReason = (typeof MissingReason)[keyof typeof MissingReason]; /** Whether the asset has been physically recovered. Valid values: `YES`, `NO`, `NOT_SURE` */ const RecoveryStatus: { readonly Yes: "YES"; readonly No: "NO"; readonly NotSure: "NOT_SURE"; }; type RecoveryStatus = (typeof RecoveryStatus)[keyof typeof RecoveryStatus]; /** The recovery status to set for the asset. Valid values: `RECOVERED` */ const Status: { readonly Recovered: "RECOVERED"; }; type Status = (typeof Status)[keyof typeof Status]; }