/** * Slack Node - Version 1 * Discriminator: resource=channel, operation=create */ interface Credentials { slackApi: CredentialReference; slackOAuth2Api: CredentialReference; } /** Initiates a public or private channel-based conversation */ export type SlackV1ChannelCreateParams = { resource: 'channel'; operation: 'create'; authentication?: 'accessToken' | 'oAuth2' | Expression; /** * The name of the channel to create */ channelId?: string | Expression | PlaceholderValue; /** * Additional Fields * @default {} */ additionalFields?: { /** Whether to create a private channel instead of a public one * @default false */ isPrivate?: boolean | Expression; }; }; export type SlackV1ChannelCreateNode = { type: 'n8n-nodes-base.slack'; version: 1; credentials?: Credentials; config: NodeConfig; };