/**
 * 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 MessageTemplate {
  /** primary key for the record as UUID */
  readonly id: string;
  /**
   * Name of the template (e.g., 'Standard Reply', 'Out of Office', 'Work Signature')
   * @maxLength 255
   */
  name: string;
  html_body?: string;
  text_body?: string;
  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;
  /** date and time at which a record was created */
  readonly created_at: string;
  /** date and time at which a record was last updated */
  readonly updated_at: string;
}
