UNPKG

n8n-nodes-base

Version:

Base nodes of n8n

28 lines (24 loc) 779 B
/** * Slack Node - Version 1 * Discriminator: resource=channel, operation=unarchive */ interface Credentials { slackApi: CredentialReference; slackOAuth2Api: CredentialReference; } /** Unarchives a conversation */ export type SlackV1ChannelUnarchiveParams = { resource: 'channel'; operation: 'unarchive'; authentication?: 'accessToken' | 'oAuth2' | Expression<string>; /** * The ID of the channel to unarchive. 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 SlackV1ChannelUnarchiveNode = { type: 'n8n-nodes-base.slack'; version: 1; credentials?: Credentials; config: NodeConfig<SlackV1ChannelUnarchiveParams>; };