feat(Zammad Node): Add more options to the Organizations endpoint (#9180)

This commit is contained in:
aya 2024-04-22 15:25:53 +02:00 committed by GitHub
parent 5acbfb4234
commit 15c88d6839
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -123,11 +123,47 @@ export const organizationDescription: INodeProperties[] = [
default: {}, default: {},
placeholder: 'Add Field', placeholder: 'Add Field',
options: [ options: [
{
displayName: 'Shared',
name: 'shared',
type: 'boolean',
default: false,
description: 'Whether the organization is shared with other instances',
},
{
displayName: 'Domain',
name: 'domain',
type: 'string',
default: '',
description: 'The domain associated with the organization',
},
{
displayName: 'Domain Assignment',
name: 'domain_assignment',
type: 'boolean',
default: true,
description: 'Whether to assign users based on their email domain',
},
{ {
displayName: 'Active', displayName: 'Active',
name: 'active', name: 'active',
type: 'boolean', type: 'boolean',
default: true, default: true,
description: 'Whether the organization is active',
},
{
displayName: 'VIP',
name: 'vip',
type: 'boolean',
default: false,
description: 'Whether the organization is marked as VIP',
},
{
displayName: 'Notes',
name: 'note',
type: 'string',
default: '',
description: 'A note about the organization',
}, },
{ {
displayName: 'Custom Fields', displayName: 'Custom Fields',
@ -165,12 +201,6 @@ export const organizationDescription: INodeProperties[] = [
}, },
], ],
}, },
{
displayName: 'Notes',
name: 'note',
type: 'string',
default: '',
},
], ],
}, },
{ {
@ -186,11 +216,47 @@ export const organizationDescription: INodeProperties[] = [
default: {}, default: {},
placeholder: 'Add Field', placeholder: 'Add Field',
options: [ options: [
{
displayName: 'Shared',
name: 'shared',
type: 'boolean',
default: false,
description: 'Whether the organization is shared with other instances',
},
{
displayName: 'Domain',
name: 'domain',
type: 'string',
default: '',
description: 'The domain associated with the organization',
},
{
displayName: 'Domain Assignment',
name: 'domain_assignment',
type: 'boolean',
default: true,
description: 'Whether to assign users based on their email domain',
},
{ {
displayName: 'Active', displayName: 'Active',
name: 'active', name: 'active',
type: 'boolean', type: 'boolean',
default: true, default: true,
description: 'Whether the organization is active',
},
{
displayName: 'VIP',
name: 'vip',
type: 'boolean',
default: false,
description: 'Whether the organization is marked as VIP',
},
{
displayName: 'Notes',
name: 'note',
type: 'string',
default: '',
description: 'A note about the organization',
}, },
{ {
displayName: 'Custom Fields', displayName: 'Custom Fields',
@ -228,18 +294,6 @@ export const organizationDescription: INodeProperties[] = [
}, },
], ],
}, },
{
displayName: 'Organization Name',
name: 'name',
type: 'string',
default: '',
},
{
displayName: 'Notes',
name: 'note',
type: 'string',
default: '',
},
], ],
}, },
{ {