/**
 * Generated by orval 🍺
 * Do not edit manually.
 * messages API
 * This is the messages API schema.
 * OpenAPI spec version: 1.0.0 (v1.0)
 */
import type { ModeEnum } from "./mode_enum";

/**
 * Body of ``PATCH /mailboxes/{id}/imports/{id}/`` — change how a run runs.

Both fields optional (partial). ``mode=continuous`` (re-)arms an IMAP import
as a poller; ``mode=oneshot`` demotes a continuous poller (stops polling);
``is_active=false`` pauses a continuous poller (credentials are kept). The
poll cadence itself is a global operator setting, not settable here.
Validation is source-aware: only IMAP imports can go continuous.
 */
export interface PatchedImportUpdateRequest {
  mode?: ModeEnum;
  is_active?: boolean;
}
