feat: Autotask webhook integration, TicketNotes, Datto RMM, workflow engine, Veeam agents/alarms, AI triage, misc improvements
This commit is contained in:
parent
347cf4e298
commit
d7c3dc7168
74 changed files with 37844 additions and 322 deletions
|
|
@ -57,6 +57,9 @@ export function mapAutotaskToDatabase(
|
|||
case EntityType.TIME_ENTRIES:
|
||||
mapped = mapTimeEntry(data);
|
||||
break;
|
||||
case EntityType.TICKET_NOTES:
|
||||
mapped = mapTicketNote(data);
|
||||
break;
|
||||
case EntityType.STATUSES:
|
||||
case EntityType.ISSUE_TYPES:
|
||||
case EntityType.SUB_ISSUE_TYPES:
|
||||
|
|
@ -201,6 +204,26 @@ function mapTicket(data: any): Record<string, any> {
|
|||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* Map TicketNote entity
|
||||
*/
|
||||
function mapTicketNote(data: any): Record<string, any> {
|
||||
return {
|
||||
id: data.id,
|
||||
ticket_id: data.ticketID,
|
||||
title: data.title,
|
||||
description: data.description,
|
||||
note_type: data.noteType,
|
||||
publish: data.publish,
|
||||
creator_resource_id: data.creatorResourceID,
|
||||
creator_type: data.creatorType,
|
||||
last_activity_date: data.lastActivityDate,
|
||||
create_date_time: data.createDateTime,
|
||||
synced_at: data.synced_at,
|
||||
is_deleted: data.is_deleted || false,
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* Map Task entity
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue