/** * Twist Node - Version 1 * Discriminator: resource=thread, operation=getAll */ interface Credentials { twistOAuth2Api: CredentialReference; } /** Get many channels */ export type TwistV1ThreadGetAllParams = { resource: 'thread'; operation: 'getAll'; /** * The ID of the channel */ channelId?: string | Expression | PlaceholderValue; /** * Whether to return all results or only up to a given limit * @default false */ returnAll?: boolean | Expression; /** * Max number of results to return * @displayOptions.show { returnAll: [false] } * @default 50 */ limit?: number | Expression; /** * Filters * @default {} */ filters?: { /** Whether only the IDs of the threads are returned * @default false */ as_ids?: boolean | Expression; /** A filter can be one of <code>attached_to_me</code>, <code>everyone</code> and <code>is_starred</code> */ filter_by?: 'attached_to_me' | 'everyone' | 'is_starred' | Expression; /** Limits threads to those newer when the specified Unix time */ newer_than_ts?: string | Expression; /** Limits threads to those older than the specified Unix time */ older_than_ts?: string | Expression; }; }; export type TwistV1ThreadGetAllNode = { type: 'n8n-nodes-base.twist'; version: 1; credentials?: Credentials; config: NodeConfig; };