/** * Slack Node - Version 2.1 * Discriminator: resource=file, operation=get */ interface Credentials { slackApi: CredentialReference; slackOAuth2Api: CredentialReference; } /** Get information about a channel */ export type SlackV21FileGetParams = { resource: 'file'; operation: 'get'; authentication?: 'accessToken' | 'oAuth2' | Expression; /** * File ID */ fileId?: string | Expression | PlaceholderValue; }; export type SlackV21FileGetOutput = { aac?: string; audio_wave_samples?: Array; channels?: Array; comments_count?: number; created?: number; display_as_bot?: boolean; duration_ms?: number; editable?: boolean; external_type?: string; file_access?: string; filetype?: string; groups?: Array; has_more_shares?: boolean; has_rich_preview?: boolean; id?: string; ims?: Array; is_external?: boolean; is_public?: boolean; is_starred?: boolean; media_display_type?: string; mimetype?: string; mode?: string; name?: string; permalink?: string; permalink_public?: string; pretty_type?: string; public_url_shared?: boolean; size?: number; subtype?: string; timestamp?: number; title?: string; transcription?: { status?: string; }; url_private?: string; url_private_download?: string; user?: string; user_team?: string; username?: string; }; export type SlackV21FileGetNode = { type: 'n8n-nodes-base.slack'; version: 2.1; credentials?: Credentials; config: NodeConfig; output?: Items; };