/** * Twist Node - Version 1 * Discriminator: resource=channel, operation=update */ interface Credentials { twistOAuth2Api: CredentialReference; } /** Update a channel */ export type TwistV1ChannelUpdateParams = { resource: 'channel'; operation: 'update'; /** * The ID of the channel */ channelId?: string | Expression | PlaceholderValue; /** * Update Fields * @default {} */ updateFields?: { /** The color of the channel * @default 0 */ color?: 6 | 1 | 4 | 0 | 7 | 9 | 5 | 11 | 8 | 3 | 2 | 10 | Expression; /** The description of the channel */ description?: string | Expression | PlaceholderValue; /** The name of the channel */ name?: string | Expression | PlaceholderValue; /** Whether the channel will be marked as public * @default false */ public?: boolean | Expression; }; }; export type TwistV1ChannelUpdateNode = { type: 'n8n-nodes-base.twist'; version: 1; credentials?: Credentials; config: NodeConfig; };