mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 20:54:07 -08:00
feat(Zammad Node): Add more options to the Organizations endpoint (#9180)
This commit is contained in:
parent
5acbfb4234
commit
15c88d6839
|
@ -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: '',
|
|
||||||
},
|
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue