import type { AllEntities, Entity, PropertiesOf } from 'n8n-workflow'; type MattermostMap = { channel: 'addUser' | 'create' | 'delete' | 'members' | 'restore' | 'statistics' | 'search'; message: 'delete' | 'post' | 'postEphemeral'; reaction: 'create' | 'delete' | 'getAll'; user: 'create' | 'deactive' | 'getAll' | 'getByEmail' | 'getById' | 'invite'; }; export type Mattermost = AllEntities; export type MattermostChannel = Entity; export type MattermostMessage = Entity; export type MattermostReaction = Entity; export type MattermostUser = Entity; export type ChannelProperties = PropertiesOf; export type MessageProperties = PropertiesOf; export type ReactionProperties = PropertiesOf; export type UserProperties = PropertiesOf; export interface IAttachment { fields: { item?: object[]; }; actions: { item?: object[]; }; }