n8n-nodes-base
Version:
Base nodes of n8n
42 lines (38 loc) • 1.11 kB
text/typescript
/**
* Slack Node - Version 2.1
* Discriminator: resource=userGroup, operation=updateUsers
*/
interface Credentials {
slackApi: CredentialReference;
slackOAuth2Api: CredentialReference;
}
export type SlackV21UserGroupUpdateUsersParams = {
resource: 'userGroup';
operation: 'updateUsers';
authentication?: 'accessToken' | 'oAuth2' | Expression<string>;
/**
* The encoded ID of the User Group to update
*/
userGroupId?: string | Expression<string> | PlaceholderValue;
/**
* Users to add to the User Group. Existing users will be preserved. Choose from the list, or specify IDs using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.
* @default []
*/
users?: string[];
/**
* Options
* @default {}
*/
options?: {
/** Whether to include the number of users in the User Group
* @default true
*/
include_count?: boolean | Expression<boolean>;
};
};
export type SlackV21UserGroupUpdateUsersNode = {
type: 'n8n-nodes-base.slack';
version: 2.1;
credentials?: Credentials;
config: NodeConfig<SlackV21UserGroupUpdateUsersParams>;
};