n8n-nodes-base
Version:
Base nodes of n8n
26 lines (22 loc) • 687 B
text/typescript
/**
* 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 <a href="https://docs.n8n.io/code/expressions/">expression</a>.
*/
channelId?: string | Expression<string>;
};
export type MattermostV1ChannelDeleteNode = {
type: 'n8n-nodes-base.mattermost';
version: 1;
credentials?: Credentials;
config: NodeConfig<MattermostV1ChannelDeleteParams>;
};