/**
 * 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 { MessageTemplateTypeChoices } from "./message_template_type_choices";

/**
 * Serialize message templates for POST/PUT/PATCH operations.
 */
export interface MessageTemplateRequest {
  /**
   * Name of the template (e.g., 'Standard Reply', 'Out of Office', 'Work Signature')
   * @minLength 1
   * @maxLength 255
   */
  name: string;
  /** @minLength 1 */
  html_body?: string;
  /** @minLength 1 */
  text_body?: string;
  /** @minLength 1 */
  raw_body?: string;
  type: MessageTemplateTypeChoices;
  /** Whether this template is available for use */
  is_active?: boolean;
  /** Set as forced template */
  is_forced?: boolean;
  /** Set as default template (auto-loaded when composing a new message) */
  is_default?: boolean;
}
