mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 03:12:15 +00:00
feat(Zammad Node): Add reply_to and sender fields to article on ticket creation (#9911)
This commit is contained in:
@@ -176,6 +176,28 @@ export const ticketDescription: INodeProperties[] = [
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
displayName: 'Sender',
|
||||||
|
name: 'sender',
|
||||||
|
type: 'options',
|
||||||
|
// https://docs.zammad.org/en/latest/api/ticket/articles.html
|
||||||
|
options: [
|
||||||
|
{
|
||||||
|
name: 'Agent',
|
||||||
|
value: 'Agent',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'Customer',
|
||||||
|
value: 'Customer',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'System',
|
||||||
|
value: 'System',
|
||||||
|
description: 'Only subject will be displayed in Zammad',
|
||||||
|
},
|
||||||
|
],
|
||||||
|
default: 'Agent',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
displayName: 'Article Type',
|
displayName: 'Article Type',
|
||||||
name: 'type',
|
name: 'type',
|
||||||
@@ -209,6 +231,12 @@ export const ticketDescription: INodeProperties[] = [
|
|||||||
],
|
],
|
||||||
default: 'note',
|
default: 'note',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
displayName: 'Reply To',
|
||||||
|
name: 'reply_to',
|
||||||
|
type: 'string',
|
||||||
|
default: '',
|
||||||
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -89,7 +89,9 @@ export declare namespace Zammad {
|
|||||||
visibility: 'external' | 'internal';
|
visibility: 'external' | 'internal';
|
||||||
subject: string;
|
subject: string;
|
||||||
body: string;
|
body: string;
|
||||||
|
sender: 'Agent' | 'Customer' | 'System';
|
||||||
type: 'chat' | 'email' | 'fax' | 'note' | 'phone' | 'sms';
|
type: 'chat' | 'email' | 'fax' | 'note' | 'phone' | 'sms';
|
||||||
|
reply_to: string;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user