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


interface Credentials {
  mattermostApi: CredentialReference;
}

/** Restores a soft deleted channel */
export type MattermostV1ChannelRestoreParams = {
  resource: 'channel';
  operation: 'restore';
/**
 * The ID of the channel to restore
 */
    channelId?: string | Expression<string> | PlaceholderValue;
};

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