/** * Freshservice Node - Version 1 * Discriminator: resource=announcement, operation=update */ interface Credentials { freshserviceApi: CredentialReference; } /** Update an agent */ export type FreshserviceV1AnnouncementUpdateParams = { resource: 'announcement'; operation: 'update'; /** * ID of the announcement to update */ announcementId?: string | Expression | PlaceholderValue; /** * Update Fields * @default {} */ updateFields?: { /** Comma-separated additional email addresses to which the announcement needs to be sent */ additional_emails?: string | Expression | PlaceholderValue; /** HTML supported */ body_html?: string | Expression | PlaceholderValue; /** Comma-separated IDs of departments that may view this announcement. Choose from the list or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. Choose from the list, or specify IDs using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. * @default [] */ departments?: string[]; /** Title */ title?: string | Expression | PlaceholderValue; /** Visibility * @default everyone */ visibility?: 'agents_only' | 'grouped_visibility' | 'everyone' | Expression; }; }; export type FreshserviceV1AnnouncementUpdateNode = { type: 'n8n-nodes-base.freshservice'; version: 1; credentials?: Credentials; config: NodeConfig; };