/**
 * 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<string>;
/**
 * The name of the channel to create
 */
    channelId?: string | Expression<string> | PlaceholderValue;
/**
 * Additional Fields
 * @default {}
 */
    additionalFields?: {
    /** Whether to create a private channel instead of a public one
     * @default false
     */
    isPrivate?: boolean | Expression<boolean>;
  };
};

export type SlackV1ChannelCreateNode = {
  type: 'n8n-nodes-base.slack';
  version: 1;
  credentials?: Credentials;
  config: NodeConfig<SlackV1ChannelCreateParams>;
};