Skip to content

Commit

Permalink
feat(Zammad Node): Add more options to the Organizations endpoint (#9180
Browse files Browse the repository at this point in the history
)
  • Loading branch information
ayatnkw committed Apr 22, 2024
1 parent 5acbfb4 commit 15c88d6
Showing 1 changed file with 72 additions and 18 deletions.
Expand Up @@ -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',
Expand Down Expand Up @@ -165,12 +201,6 @@ export const organizationDescription: INodeProperties[] = [
},
],
},
{
displayName: 'Notes',
name: 'note',
type: 'string',
default: '',
},
],
},
{
Expand All @@ -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',
Expand Down Expand Up @@ -228,18 +294,6 @@ export const organizationDescription: INodeProperties[] = [
},
],
},
{
displayName: 'Organization Name',
name: 'name',
type: 'string',
default: '',
},
{
displayName: 'Notes',
name: 'note',
type: 'string',
default: '',
},
],
},
{
Expand Down

0 comments on commit 15c88d6

Please sign in to comment.