UNPKG

n8n-nodes-base

Version:

Base nodes of n8n

37 lines (33 loc) 845 B
/** * Slack Node - Version 2 * Discriminator: resource=userGroup, operation=enable */ interface Credentials { slackApi: CredentialReference; slackOAuth2Api: CredentialReference; } export type SlackV2UserGroupEnableParams = { resource: 'userGroup'; operation: 'enable'; authentication?: 'accessToken' | 'oAuth2' | Expression<string>; /** * The encoded ID of the User Group to update */ userGroupId?: string | Expression<string> | PlaceholderValue; /** * Options * @default {} */ option?: { /** Whether to include the number of users in each User Group * @default true */ include_count?: boolean | Expression<boolean>; }; }; export type SlackV2UserGroupEnableNode = { type: 'n8n-nodes-base.slack'; version: 2; credentials?: Credentials; config: NodeConfig<SlackV2UserGroupEnableParams>; };