/**
 * Mattermost Node - Version 1
 * Discriminator: resource=channel, operation=delete
 */


interface Credentials {
  mattermostApi: CredentialReference;
}

/** Soft delete a channel */
export type MattermostV1ChannelDeleteParams = {
  resource: 'channel';
  operation: 'delete';
/**
 * The ID of the channel to soft delete. Choose from the list, or specify an ID using an &lt;a href="https://docs.n8n.io/code/expressions/"&gt;expression&lt;/a&gt;.
 */
    channelId?: string | Expression<string>;
};

export type MattermostV1ChannelDeleteNode = {
  type: 'n8n-nodes-base.mattermost';
  version: 1;
  credentials?: Credentials;
  config: NodeConfig<MattermostV1ChannelDeleteParams>;
};