/** * Freshdesk Node - Version 1 * Discriminator: resource=ticket, operation=update */ interface Credentials { freshdeskApi: CredentialReference; } /** Update a ticket */ export type FreshdeskV1TicketUpdateParams = { resource: 'ticket'; operation: 'update'; /** * Ticket ID */ ticketId?: string | Expression | PlaceholderValue; /** * Update Fields * @default {} */ updateFields?: { /** ID of the agent to whom the ticket has been assigned. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ agent?: string | Expression; /** Separated by a comma (,) email addresses added in the 'cc' field of the incoming ticket email */ ccEmails?: string | Expression | PlaceholderValue; /** Company ID of the requester. This attribute can only be set if the Multiple Companies feature is enabled (Estate plan and above). Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ company?: string | Expression; /** Timestamp that denotes when the ticket is due to be resolved */ dueBy?: string | Expression; /** ID of email config which is used for this ticket. (i.e., support@yourcompany.com/sales@yourcompany.com) If product_id is given and email_config_id is not given, product's primary email_config_id will be set. */ emailConfigId?: number | Expression; /** Timestamp that denotes when the first response is due */ frDueBy?: string | Expression; /** ID of the group to which the ticket has been assigned. The default value is the ID of the group that is associated with the given email_config_id. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ group?: string | Expression; /** Name of the requester */ name?: string | Expression | PlaceholderValue; /** ID of the product to which the ticket is associated. It will be ignored if the email_config_id attribute is set in the request. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>. */ product?: string | Expression; /** Priority * @default low */ priority?: 'low' | 'medium' | 'high' | 'urgent' | Expression; /** Requester Identification * @default requesterId */ requester?: 'email' | 'facebookId' | 'phone' | 'requesterId' | 'twitterId' | 'uniqueExternalId' | Expression; /** Value of the identification selected */ requesterIdentificationValue?: string | Expression | PlaceholderValue; /** Status * @default pending */ status?: 'open' | 'pending' | 'resolved' | 'closed' | Expression; /** The channel through which the ticket was created * @default portal */ source?: 'chat' | 'email' | 'feedbackWidget' | 'mobileHelp' | 'OutboundEmail' | 'phone' | 'portal' | Expression; /** Separated by a comma (,) tags that have been associated with the ticket */ tags?: string | Expression | PlaceholderValue; /** Helps categorize the ticket according to the different kinds of issues your support team deals with * @default Question */ type?: 'Feature Request' | 'Incident' | 'Problem' | 'Question' | 'Refund' | Expression; }; }; export type FreshdeskV1TicketUpdateNode = { type: 'n8n-nodes-base.freshdesk'; version: 1; credentials?: Credentials; config: NodeConfig; };