mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-24 20:24:05 -08:00
feat(Zammad Node): Add reply_to and sender fields to article on ticket creation (#9911)
This commit is contained in:
parent
be9a247577
commit
957b2d6108
|
@ -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;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue