/** * Slack Node - Version 1 * Discriminator: resource=channel, operation=archive */ interface Credentials { slackApi: CredentialReference; slackOAuth2Api: CredentialReference; } /** Archives a conversation */ export type SlackV1ChannelArchiveParams = { resource: 'channel'; operation: 'archive'; authentication?: 'accessToken' | 'oAuth2' | Expression; /** * The name of the channel to archive. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ channelId?: string | Expression; }; export type SlackV1ChannelArchiveNode = { type: 'n8n-nodes-base.slack'; version: 1; credentials?: Credentials; config: NodeConfig; };