UNPKG

n8n-nodes-base

Version:

Base nodes of n8n

28 lines (24 loc) 767 B
/** * 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<string>; /** * The name of the channel to archive. 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 SlackV1ChannelArchiveNode = { type: 'n8n-nodes-base.slack'; version: 1; credentials?: Credentials; config: NodeConfig<SlackV1ChannelArchiveParams>; };