/** Body content rendered by a screen rule. */ interface ScreenRuleBodyComponent { content: string; } /** Header content rendered by a screen rule. */ interface ScreenRuleHeaderComponent { content?: string; logo?: string; } /** Payload used to create a screen rule. */ interface CreateScreenRuleDTO { name: string; action: 'screen'; settings: { body?: ScreenRuleBodyComponent; header?: ScreenRuleHeaderComponent; }; } export type { CreateScreenRuleDTO as C, ScreenRuleHeaderComponent as S, ScreenRuleBodyComponent as a };