n8n/packages/nodes-base/nodes/Zendesk/TicketInterface.ts
Ricardo Espinoza 7ddd6ad9c2
Add support for suspended tickets to Zendesk node (#2297)
* Added Suspended Tickets (Delete, List, Get, Recover)

* Added Search option to Active tickets

* Added internal note, public reply and assignee email options to active ticket updates

*  Small improvements to #2296

* 🐛 Fix issue with pagination

*  Improvements

Co-authored-by: Jonathan <jonathan.bennetts@gmail.com>
2021-10-13 16:45:53 -07:00

23 lines
376 B
TypeScript

import {
IDataObject,
} from 'n8n-workflow';
export interface IComment {
body?: string;
html_body?: string;
public?: boolean;
}
export interface ITicket {
subject?: string;
comment?: IComment;
type?: string;
group?: string;
external_id?: string;
tags?: string[];
status?: string;
recipient?: string;
custom_fields?: IDataObject[];
assignee_email?: string;
}