@robotical/appv2-warranty-service-lib
Version:
A tool that gathers data from the Apps and sends it to the Analytics server
18 lines (17 loc) • 559 B
JavaScript
export class ZohoTicket {
constructor(ticket) {
this.id = ticket.id;
this.title = ticket.title;
this.description = ticket.description;
this.date = ticket.date;
this.email = ticket.email;
this.serialNumber = ticket.serialNumber;
this.status = ticket.status;
this.isDeleted = ticket.isDeleted;
}
}
export var ZohoTicketStatus;
(function (ZohoTicketStatus) {
ZohoTicketStatus["OPEN"] = "Open";
ZohoTicketStatus["CLOSED"] = "Closed";
})(ZohoTicketStatus || (ZohoTicketStatus = {}));