n8n-nodes-base
Version:
Base nodes of n8n
38 lines (34 loc) • 892 B
text/typescript
/**
* Slack Node - Version 1
* Discriminator: resource=userGroup, operation=enable
*/
interface Credentials {
slackApi: CredentialReference;
slackOAuth2Api: CredentialReference;
}
/** Enable a user group */
export type SlackV1UserGroupEnableParams = {
resource: 'userGroup';
operation: 'enable';
authentication?: 'accessToken' | 'oAuth2' | Expression<string>;
/**
* The encoded ID of the User Group to update
*/
userGroupId?: string | Expression<string> | PlaceholderValue;
/**
* Additional Fields
* @default {}
*/
additionalFields?: {
/** Whether to include the number of users in each User Group
* @default true
*/
include_count?: boolean | Expression<boolean>;
};
};
export type SlackV1UserGroupEnableNode = {
type: 'n8n-nodes-base.slack';
version: 1;
credentials?: Credentials;
config: NodeConfig<SlackV1UserGroupEnableParams>;
};