feat(Zammad Node): Add reply_to and sender fields to article on ticket creation (#9911)

This commit is contained in:
Nico Weichbrodt 2024-07-03 09:55:02 +02:00 committed by GitHub
parent be9a247577
commit 957b2d6108
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 30 additions and 0 deletions

View file

@ -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',
name: 'type',
@ -209,6 +231,12 @@ export const ticketDescription: INodeProperties[] = [
],
default: 'note',
},
{
displayName: 'Reply To',
name: 'reply_to',
type: 'string',
default: '',
},
],
},
],

View file

@ -89,7 +89,9 @@ export declare namespace Zammad {
visibility: 'external' | 'internal';
subject: string;
body: string;
sender: 'Agent' | 'Customer' | 'System';
type: 'chat' | 'email' | 'fax' | 'note' | 'phone' | 'sms';
reply_to: string;
};
};
}