/** * Matrix Node - Version 1 * Discriminator: resource=room, operation=invite */ interface Credentials { matrixApi: CredentialReference; } /** Invite a user to a room */ export type MatrixV1RoomInviteParams = { resource: 'room'; operation: 'invite'; /** * Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a> */ roomId?: string | Expression; /** * The fully qualified user ID of the invitee */ userId?: string | Expression | PlaceholderValue; }; export type MatrixV1RoomInviteNode = { type: 'n8n-nodes-base.matrix'; version: 1; credentials?: Credentials; config: NodeConfig; };