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

View File

@@ -123,11 +123,47 @@ export const organizationDescription: INodeProperties[] = [
default: {},
placeholder: 'Add Field',
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',
name: 'active',
type: 'boolean',
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',
@@ -165,12 +201,6 @@ export const organizationDescription: INodeProperties[] = [
},
],
},
{
displayName: 'Notes',
name: 'note',
type: 'string',
default: '',
},
],
},
{
@@ -186,11 +216,47 @@ export const organizationDescription: INodeProperties[] = [
default: {},
placeholder: 'Add Field',
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',
name: 'active',
type: 'boolean',
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',
@@ -228,18 +294,6 @@ export const organizationDescription: INodeProperties[] = [
},
],
},
{
displayName: 'Organization Name',
name: 'name',
type: 'string',
default: '',
},
{
displayName: 'Notes',
name: 'note',
type: 'string',
default: '',
},
],
},
{