/** * Slack Node - Version 2.1 * Discriminator: resource=channel, operation=setPurpose */ interface Credentials { slackApi: CredentialReference; slackOAuth2Api: CredentialReference; } /** Sets the purpose for a conversation */ export type SlackV21ChannelSetPurposeParams = { resource: 'channel'; operation: 'setPurpose'; authentication?: 'accessToken' | 'oAuth2' | Expression; /** * The Slack channel to set the purpose of * @default {"mode":"list","value":""} */ channelId?: { __rl: true; mode: 'list' | 'id' | 'url'; value: string; cachedResultName?: string }; /** * A new, specialer purpose */ purpose?: string | Expression | PlaceholderValue; }; export type SlackV21ChannelSetPurposeNode = { type: 'n8n-nodes-base.slack'; version: 2.1; credentials?: Credentials; config: NodeConfig; };