/** * Mattermost Node - Version 1 * Discriminator: resource=user, operation=getAll */ interface Credentials { mattermostApi: CredentialReference; } /** Get many reactions to one or more posts */ export type MattermostV1UserGetAllParams = { resource: 'user'; operation: 'getAll'; /** * Whether to return all results or only up to a given limit * @default true */ returnAll?: boolean | Expression; /** * Max number of results to return * @displayOptions.show { returnAll: [false] } * @default 100 */ limit?: number | Expression; /** * Additional Fields * @default {} */ additionalFields?: { /** The ID of the channel to get users for */ inChannel?: string | Expression | PlaceholderValue; /** The ID of the team to get users for */ inTeam?: string | Expression | PlaceholderValue; /** The ID of the team to exclude users for */ notInTeam?: string | Expression | PlaceholderValue; /** The ID of the channel to exclude users for */ notInChannel?: string | Expression | PlaceholderValue; /** The ID of the channel to exclude users for * @default username */ sort?: 'createdAt' | 'lastActivityAt' | 'status' | 'username' | Expression; }; }; export type MattermostV1UserGetAllNode = { type: 'n8n-nodes-base.mattermost'; version: 1; credentials?: Credentials; config: NodeConfig; };