/**
 * Fixed ANTAI enum values (from the backend contract). Labels live in i18n
 * (`t.antai.enums.*`) so the well-known enums stay locale-correct; only the
 * genuinely dynamic lists (companies, vehicle statuses) come from the
 * `/antai/vehicles/options` endpoint.
 */

export const ANTAI_VISIBILITY_VALUES = ["visible", "hidden", "exception"] as const;
export const ANTAI_BINDING_VALUES = ["bound", "unbound", "exception"] as const;
export const ANTAI_COMPANY_STATUS_VALUES = ["active", "disabled"] as const;
export const ANTAI_ARCHIVED_VALUES = ["active", "archived"] as const;
export const ANTAI_UNBINDING_REASON_VALUES = [
  "manual",
  "company_disabled",
  "external_removal",
  "exception",
] as const;
export const ANTAI_EXCEPTION_TYPE_VALUES = [
  "already_linked_other_client",
  "removed_externally",
  "sync_failure",
  "antai_rejection",
  "other",
] as const;
export const ANTAI_EXCEPTION_STATUS_VALUES = ["open", "in_progress", "resolved"] as const;
export const ANTAI_EXCEPTION_RESOLUTION_VALUES = ["internal", "external"] as const;

/** Reasons accepted by single + bulk disable (excludes the read-only `exception` reason). */
export const ANTAI_DISABLE_REASON_VALUES = [
  "manual",
  "external_removal",
  "company_disabled",
] as const;

/** Sort fields accepted by the list endpoint's `order_by`. */
export const ANTAI_ORDER_FIELDS = [
  "last_antai_updated_date",
  "numberplate",
  "antai_status",
  "antai_exception_status",
  "created_at",
  "updated_at",
] as const;
