mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
⚡ Improved HelpScout-Nodes
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { INodeProperties } from "n8n-workflow";
|
||||
import { INodeProperties } from 'n8n-workflow';
|
||||
|
||||
export const customerOperations = [
|
||||
{
|
||||
@@ -18,11 +18,6 @@ export const customerOperations = [
|
||||
value: 'create',
|
||||
description: 'Create a new customer',
|
||||
},
|
||||
{
|
||||
name: 'Properties',
|
||||
value: 'properties',
|
||||
description: 'Get customer property definitions',
|
||||
},
|
||||
{
|
||||
name: 'Get',
|
||||
value: 'get',
|
||||
@@ -33,6 +28,11 @@ export const customerOperations = [
|
||||
value: 'getAll',
|
||||
description: 'Get all customers',
|
||||
},
|
||||
{
|
||||
name: 'Properties',
|
||||
value: 'properties',
|
||||
description: 'Get customer property definitions',
|
||||
},
|
||||
{
|
||||
name: 'Update',
|
||||
value: 'update',
|
||||
@@ -92,16 +92,6 @@ export const customerFields = [
|
||||
default: 1,
|
||||
description: `Customer’s age`,
|
||||
},
|
||||
{
|
||||
displayName: 'Notes',
|
||||
name: 'background',
|
||||
type: 'string',
|
||||
typeOptions: {
|
||||
alwaysOpenEditWindow: true,
|
||||
},
|
||||
default: '',
|
||||
description: `Notes`,
|
||||
},
|
||||
{
|
||||
displayName: 'First Name',
|
||||
name: 'firstName',
|
||||
@@ -151,6 +141,16 @@ export const customerFields = [
|
||||
default: '',
|
||||
description: 'Location of the customer.',
|
||||
},
|
||||
{
|
||||
displayName: 'Notes',
|
||||
name: 'background',
|
||||
type: 'string',
|
||||
typeOptions: {
|
||||
alwaysOpenEditWindow: true,
|
||||
},
|
||||
default: '',
|
||||
description: `Notes`,
|
||||
},
|
||||
{
|
||||
displayName: 'Organization',
|
||||
name: 'organization',
|
||||
@@ -267,39 +267,39 @@ export const customerFields = [
|
||||
type: 'options',
|
||||
options: [
|
||||
{
|
||||
name: 'aim',
|
||||
name: 'AIM',
|
||||
value: 'aim',
|
||||
},
|
||||
{
|
||||
name: 'gtalk',
|
||||
name: 'Google Talk',
|
||||
value: 'gtalk',
|
||||
},
|
||||
{
|
||||
name: 'icq',
|
||||
name: 'ICQ',
|
||||
value: 'icq',
|
||||
},
|
||||
{
|
||||
name: 'msn',
|
||||
name: 'MSN',
|
||||
value: 'msn',
|
||||
},
|
||||
{
|
||||
name: 'other',
|
||||
name: 'Other',
|
||||
value: 'other',
|
||||
},
|
||||
{
|
||||
name: 'qq',
|
||||
name: 'QQ',
|
||||
value: 'qq',
|
||||
},
|
||||
{
|
||||
name: 'skype',
|
||||
name: 'Skype',
|
||||
value: 'skype',
|
||||
},
|
||||
{
|
||||
name: 'xmpp',
|
||||
name: 'XMPP',
|
||||
value: 'xmpp',
|
||||
},
|
||||
{
|
||||
name: 'yahoo',
|
||||
name: 'Yahoo',
|
||||
value: 'yahoo',
|
||||
},
|
||||
],
|
||||
@@ -584,13 +584,6 @@ export const customerFields = [
|
||||
},
|
||||
},
|
||||
options: [
|
||||
{
|
||||
displayName: 'Mailbox ID',
|
||||
name: 'mailbox',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Filters customers from a specific mailbox',
|
||||
},
|
||||
{
|
||||
displayName: 'First Name',
|
||||
name: 'firstName',
|
||||
@@ -605,6 +598,13 @@ export const customerFields = [
|
||||
default: '',
|
||||
description: 'Filters customers by last name',
|
||||
},
|
||||
{
|
||||
displayName: 'Mailbox ID',
|
||||
name: 'mailbox',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Filters customers from a specific mailbox',
|
||||
},
|
||||
{
|
||||
displayName: 'Modified Since',
|
||||
name: 'modifiedSince',
|
||||
@@ -733,16 +733,6 @@ export const customerFields = [
|
||||
default: 1,
|
||||
description: `Customer’s age`,
|
||||
},
|
||||
{
|
||||
displayName: 'Notes',
|
||||
name: 'background',
|
||||
type: 'string',
|
||||
typeOptions: {
|
||||
alwaysOpenEditWindow: true,
|
||||
},
|
||||
default: '',
|
||||
description: `Notes`,
|
||||
},
|
||||
{
|
||||
displayName: 'First Name',
|
||||
name: 'firstName',
|
||||
@@ -792,6 +782,16 @@ export const customerFields = [
|
||||
default: '',
|
||||
description: 'Location of the customer.',
|
||||
},
|
||||
{
|
||||
displayName: 'Notes',
|
||||
name: 'background',
|
||||
type: 'string',
|
||||
typeOptions: {
|
||||
alwaysOpenEditWindow: true,
|
||||
},
|
||||
default: '',
|
||||
description: `Notes`,
|
||||
},
|
||||
{
|
||||
displayName: 'Organization',
|
||||
name: 'organization',
|
||||
@@ -806,6 +806,6 @@ export const customerFields = [
|
||||
default: '',
|
||||
description: 'URL of the customer’s photo',
|
||||
},
|
||||
]
|
||||
],
|
||||
},
|
||||
] as INodeProperties[];
|
||||
|
||||
Reference in New Issue
Block a user