n8n-nodes-base
Version:
Base nodes of n8n
46 lines (42 loc) • 1.37 kB
text/typescript
/**
* Mattermost Node - Version 1
* Discriminator: resource=channel, operation=members
*/
interface Credentials {
mattermostApi: CredentialReference;
}
/** Get a page of members for a channel */
export type MattermostV1ChannelMembersParams = {
resource: 'channel';
operation: 'members';
/**
* The Mattermost Team. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.
*/
teamId?: string | Expression<string>;
/**
* The Mattermost Team. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.
*/
channelId?: string | Expression<string>;
/**
* By default the response only contain the ID of the user. If this option gets activated, it will resolve the user automatically.
* @default true
*/
resolveData?: boolean | Expression<boolean>;
/**
* Whether to return all results or only up to a given limit
* @default true
*/
returnAll?: boolean | Expression<boolean>;
/**
* Max number of results to return
* @displayOptions.show { returnAll: [false] }
* @default 100
*/
limit?: number | Expression<number>;
};
export type MattermostV1ChannelMembersNode = {
type: 'n8n-nodes-base.mattermost';
version: 1;
credentials?: Credentials;
config: NodeConfig<MattermostV1ChannelMembersParams>;
};