/**
 * 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 &lt;a href="https://docs.n8n.io/code/expressions/"&gt;expression&lt;/a&gt;
 */
    roomId?: string | Expression<string>;
/**
 * The fully qualified user ID of the invitee
 */
    userId?: string | Expression<string> | PlaceholderValue;
};

export type MatrixV1RoomInviteNode = {
  type: 'n8n-nodes-base.matrix';
  version: 1;
  credentials?: Credentials;
  config: NodeConfig<MatrixV1RoomInviteParams>;
};