/** * Zulip Node - Version 1 * Discriminator: resource=stream, operation=update */ interface Credentials { zulipApi: CredentialReference; } /** Update a message */ export type ZulipV1StreamUpdateParams = { resource: 'stream'; operation: 'update'; /** * ID of stream to update */ streamId?: string | Expression | PlaceholderValue; /** * JSON Parameters * @default false */ jsonParameters?: boolean | Expression; /** * JSON format parameters for stream creation * @displayOptions.show { jsonParameters: [true] } */ additionalFieldsJson?: IDataObject | string | Expression; /** * Additional Fields * @displayOptions.show { jsonParameters: [false] } * @default {} */ additionalFields?: { /** Whether the stream is limited to announcements * @default false */ isAnnouncementOnly?: boolean | Expression; /** The new description for the stream */ description?: string | Expression | PlaceholderValue; /** Whether the stream is a private stream * @default false */ isPrivate?: boolean | Expression; /** Whether the streams message history should be available to newly subscribed members, or users can only access messages they actually received while subscribed to the stream * @default false */ historyPublicToSubscribers?: boolean | Expression; /** The new name for the stream */ newName?: string | Expression | PlaceholderValue; /** Policy for which users can post messages to the stream */ streamPostPolicy?: 1 | 2 | 3 | Expression; }; }; export type ZulipV1StreamUpdateNode = { type: 'n8n-nodes-base.zulip'; version: 1; credentials?: Credentials; config: NodeConfig; };