/** * Parameters required to create a new virtual terminal. */ export interface TerminalParams { /** Name of the terminal. */ name: string; /** List of WhatsApp numbers to receive real-time notifications for this terminal. */ whatsapp_numbers: string[]; } /** * Representation of a virtual terminal. */ export interface Terminal extends TerminalParams { /** Unique identifier for the terminal. */ id: string; /** Identifier of the business that owns the terminal. */ business_id: string; /** Identifier of the account associated with the terminal. */ account_id: string; /** Unique terminal identifier. */ terminal_id: string; /** Indicates whether the terminal is in test mode. */ test_mode: boolean; /** URL pointing to the terminal's QR code for quick payment or identification. */ qr_code_url: string; /** Indicates if the terminal is currently active. */ is_active: boolean; /** Optional sub-account associated with the terminal, if applicable. */ sub_account?: string; }