mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 04:34:06 -08:00
removed useless keys
This commit is contained in:
parent
7c4a588b70
commit
0f86c59bf2
|
@ -181,7 +181,7 @@ export const companyFields = [
|
|||
name: 'starValue',
|
||||
type: 'options',
|
||||
default: '',
|
||||
required: false,
|
||||
|
||||
description: 'Rating of company (Max value 5). This is not applicable for companies.',
|
||||
options: [
|
||||
{
|
||||
|
@ -216,7 +216,7 @@ export const companyFields = [
|
|||
type: 'number',
|
||||
default: '',
|
||||
description: 'Score of company. This is not applicable for companies.',
|
||||
required: false,
|
||||
|
||||
typeOptions: {
|
||||
minValue: 0
|
||||
}
|
||||
|
@ -237,7 +237,7 @@ export const companyFields = [
|
|||
displayName: 'Name',
|
||||
name: 'name',
|
||||
type: 'string',
|
||||
required: false,
|
||||
|
||||
default: '',
|
||||
placeholder: 'Company name',
|
||||
description: 'Company name.',
|
||||
|
@ -246,7 +246,7 @@ export const companyFields = [
|
|||
displayName: 'Email',
|
||||
name: 'email',
|
||||
type: 'string',
|
||||
required: false,
|
||||
|
||||
default: '',
|
||||
placeholder: 'Company email',
|
||||
description: 'Company email.',
|
||||
|
@ -255,7 +255,7 @@ export const companyFields = [
|
|||
displayName: 'Address',
|
||||
name: 'email',
|
||||
type: 'string',
|
||||
required: false,
|
||||
|
||||
default: '',
|
||||
placeholder: 'Company address',
|
||||
description: 'Company address.',
|
||||
|
@ -264,7 +264,7 @@ export const companyFields = [
|
|||
displayName: 'Website',
|
||||
name: 'websiteOptions',
|
||||
type: 'fixedCollection',
|
||||
required: false,
|
||||
|
||||
description: 'companys websites.',
|
||||
typeOptions: {
|
||||
multipleValues: true,
|
||||
|
@ -280,7 +280,7 @@ export const companyFields = [
|
|||
type: 'options',
|
||||
required: true,
|
||||
default: '',
|
||||
placeholder: '',
|
||||
|
||||
description: 'Type of website.',
|
||||
options: [
|
||||
{
|
||||
|
@ -335,7 +335,7 @@ export const companyFields = [
|
|||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
placeholder: '',
|
||||
|
||||
description: 'Website URL',
|
||||
}
|
||||
]
|
||||
|
@ -347,7 +347,7 @@ export const companyFields = [
|
|||
displayName: 'Phone',
|
||||
name: 'phone',
|
||||
type: 'string',
|
||||
required: false,
|
||||
|
||||
default: '',
|
||||
placeholder: 'Company phone',
|
||||
description: 'Company phone.',
|
||||
|
@ -356,7 +356,7 @@ export const companyFields = [
|
|||
displayName: 'Custom Properties',
|
||||
name: 'customProperties',
|
||||
type: 'fixedCollection',
|
||||
required: false,
|
||||
|
||||
description: 'Custom Properties',
|
||||
typeOptions: {
|
||||
multipleValues: true,
|
||||
|
@ -372,25 +372,25 @@ export const companyFields = [
|
|||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
placeholder: '',
|
||||
|
||||
description: 'Property name.'
|
||||
},
|
||||
{
|
||||
displayName: 'Sub Type',
|
||||
name: 'subtype',
|
||||
type: 'string',
|
||||
required: false,
|
||||
|
||||
default: '',
|
||||
placeholder: '',
|
||||
|
||||
description: 'Property sub type.',
|
||||
},
|
||||
{
|
||||
displayName: 'Value',
|
||||
name: 'value',
|
||||
type: 'string',
|
||||
required: false,
|
||||
|
||||
default: '',
|
||||
placeholder: '',
|
||||
|
||||
description: 'Property value.',
|
||||
}
|
||||
]
|
||||
|
@ -509,7 +509,7 @@ export const companyFields = [
|
|||
name: 'starValue',
|
||||
type: 'options',
|
||||
default: '',
|
||||
required: false,
|
||||
|
||||
description: 'Rating of company (Max value 5). This is not applicable for companies.',
|
||||
options: [
|
||||
{
|
||||
|
@ -544,7 +544,7 @@ export const companyFields = [
|
|||
type: 'number',
|
||||
default: '',
|
||||
description: 'Score of company. This is not applicable for companies.',
|
||||
required: false,
|
||||
|
||||
typeOptions: {
|
||||
minValue: 0
|
||||
}
|
||||
|
@ -565,7 +565,7 @@ export const companyFields = [
|
|||
displayName: 'Name',
|
||||
name: 'name',
|
||||
type: 'string',
|
||||
required: false,
|
||||
|
||||
default: '',
|
||||
placeholder: 'Company name',
|
||||
description: 'Company name.',
|
||||
|
@ -574,7 +574,7 @@ export const companyFields = [
|
|||
displayName: 'Email',
|
||||
name: 'email',
|
||||
type: 'string',
|
||||
required: false,
|
||||
|
||||
default: '',
|
||||
placeholder: 'Company email',
|
||||
description: 'Company email.',
|
||||
|
@ -583,7 +583,7 @@ export const companyFields = [
|
|||
displayName: 'Address',
|
||||
name: 'email',
|
||||
type: 'string',
|
||||
required: false,
|
||||
|
||||
default: '',
|
||||
placeholder: 'Company address',
|
||||
description: 'Company address.',
|
||||
|
@ -592,7 +592,7 @@ export const companyFields = [
|
|||
displayName: 'Website',
|
||||
name: 'websiteOptions',
|
||||
type: 'fixedCollection',
|
||||
required: false,
|
||||
|
||||
description: 'companys websites.',
|
||||
typeOptions: {
|
||||
multipleValues: true,
|
||||
|
@ -608,7 +608,7 @@ export const companyFields = [
|
|||
type: 'options',
|
||||
required: true,
|
||||
default: '',
|
||||
placeholder: '',
|
||||
|
||||
description: 'Type of website.',
|
||||
options: [
|
||||
{
|
||||
|
@ -663,7 +663,7 @@ export const companyFields = [
|
|||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
placeholder: '',
|
||||
|
||||
description: 'Website URL',
|
||||
}
|
||||
]
|
||||
|
@ -675,7 +675,7 @@ export const companyFields = [
|
|||
displayName: 'Phone',
|
||||
name: 'phone',
|
||||
type: 'string',
|
||||
required: false,
|
||||
|
||||
default: '',
|
||||
placeholder: 'Company phone',
|
||||
description: 'Company phone.',
|
||||
|
@ -684,7 +684,7 @@ export const companyFields = [
|
|||
displayName: 'Custom Properties',
|
||||
name: 'customProperties',
|
||||
type: 'fixedCollection',
|
||||
required: false,
|
||||
|
||||
description: 'Custom Properties',
|
||||
typeOptions: {
|
||||
multipleValues: true,
|
||||
|
@ -700,25 +700,25 @@ export const companyFields = [
|
|||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
placeholder: '',
|
||||
|
||||
description: 'Property name.'
|
||||
},
|
||||
{
|
||||
displayName: 'Sub Type',
|
||||
name: 'subtype',
|
||||
type: 'string',
|
||||
required: false,
|
||||
|
||||
default: '',
|
||||
placeholder: '',
|
||||
|
||||
description: 'Property sub type.',
|
||||
},
|
||||
{
|
||||
displayName: 'Value',
|
||||
name: 'value',
|
||||
type: 'string',
|
||||
required: false,
|
||||
|
||||
default: '',
|
||||
placeholder: '',
|
||||
|
||||
description: 'Property value.',
|
||||
}
|
||||
]
|
||||
|
|
|
@ -181,7 +181,6 @@ export const contactFields = [
|
|||
name: 'starValue',
|
||||
type: 'options',
|
||||
default: '',
|
||||
required: false,
|
||||
description: 'Rating of contact (Max value 5). This is not applicable for companies.',
|
||||
options: [
|
||||
{
|
||||
|
@ -216,7 +215,6 @@ export const contactFields = [
|
|||
type: 'number',
|
||||
default: '',
|
||||
description: 'Score of contact. This is not applicable for companies.',
|
||||
required: false,
|
||||
typeOptions: {
|
||||
minValue: 0
|
||||
}
|
||||
|
@ -237,7 +235,6 @@ export const contactFields = [
|
|||
displayName: 'First Name',
|
||||
name: 'firstName',
|
||||
type: 'string',
|
||||
required: false,
|
||||
default: "",
|
||||
placeholder: 'First Name',
|
||||
description: 'Contact first name.',
|
||||
|
@ -246,7 +243,6 @@ export const contactFields = [
|
|||
displayName: 'Last Name',
|
||||
name: 'lastName',
|
||||
type: 'string',
|
||||
required: false,
|
||||
default: "",
|
||||
placeholder: 'Last Name',
|
||||
description: 'Contact last name.',
|
||||
|
@ -255,7 +251,6 @@ export const contactFields = [
|
|||
displayName: 'Company',
|
||||
name: 'company',
|
||||
type: 'string',
|
||||
required: false,
|
||||
default: "",
|
||||
placeholder: 'Company',
|
||||
description: 'Company Name.',
|
||||
|
@ -264,7 +259,6 @@ export const contactFields = [
|
|||
displayName: 'Title',
|
||||
name: 'title',
|
||||
type: 'string',
|
||||
required: false,
|
||||
default: "",
|
||||
placeholder: 'Title',
|
||||
description: 'Professional title.',
|
||||
|
@ -273,7 +267,6 @@ export const contactFields = [
|
|||
displayName: 'Email',
|
||||
name: 'emailOptions',
|
||||
type: 'fixedCollection',
|
||||
required: false,
|
||||
description: 'Contact email.',
|
||||
typeOptions: {
|
||||
multipleValues: true,
|
||||
|
@ -289,7 +282,7 @@ export const contactFields = [
|
|||
type: 'options',
|
||||
required: true,
|
||||
default: "",
|
||||
placeholder: '',
|
||||
|
||||
description: 'Type of Email',
|
||||
options: [
|
||||
{
|
||||
|
@ -308,7 +301,7 @@ export const contactFields = [
|
|||
type: 'string',
|
||||
required: true,
|
||||
default: "",
|
||||
placeholder: '',
|
||||
|
||||
description: 'Email',
|
||||
}
|
||||
]
|
||||
|
@ -320,7 +313,6 @@ export const contactFields = [
|
|||
displayName: 'Address',
|
||||
name: 'addressOptions',
|
||||
type: 'fixedCollection',
|
||||
required: false,
|
||||
description: 'Contacts address.',
|
||||
typeOptions: {
|
||||
multipleValues: true,
|
||||
|
@ -336,7 +328,7 @@ export const contactFields = [
|
|||
type: 'options',
|
||||
required: true,
|
||||
default: "",
|
||||
placeholder: '',
|
||||
|
||||
description: 'Type of address.',
|
||||
options: [
|
||||
{
|
||||
|
@ -360,7 +352,7 @@ export const contactFields = [
|
|||
type: 'string',
|
||||
required: true,
|
||||
default: "",
|
||||
placeholder: '',
|
||||
|
||||
description: 'Full address.',
|
||||
}
|
||||
]
|
||||
|
@ -372,7 +364,6 @@ export const contactFields = [
|
|||
displayName: 'Website',
|
||||
name: 'websiteOptions',
|
||||
type: 'fixedCollection',
|
||||
required: false,
|
||||
description: 'Contacts websites.',
|
||||
typeOptions: {
|
||||
multipleValues: true,
|
||||
|
@ -388,7 +379,7 @@ export const contactFields = [
|
|||
type: 'options',
|
||||
required: true,
|
||||
default: "",
|
||||
placeholder: '',
|
||||
|
||||
description: 'Type of website.',
|
||||
options: [
|
||||
{
|
||||
|
@ -443,7 +434,7 @@ export const contactFields = [
|
|||
type: 'string',
|
||||
required: true,
|
||||
default: "",
|
||||
placeholder: '',
|
||||
|
||||
description: 'Website URL',
|
||||
}
|
||||
]
|
||||
|
@ -455,7 +446,6 @@ export const contactFields = [
|
|||
displayName: 'Phone',
|
||||
name: 'phoneOptions',
|
||||
type: 'fixedCollection',
|
||||
required: false,
|
||||
description: 'Contacts phone.',
|
||||
typeOptions: {
|
||||
multipleValues: true,
|
||||
|
@ -471,7 +461,7 @@ export const contactFields = [
|
|||
type: 'options',
|
||||
required: true,
|
||||
default: "",
|
||||
placeholder: '',
|
||||
|
||||
description: 'Type of phone number.',
|
||||
options: [
|
||||
{
|
||||
|
@ -511,7 +501,7 @@ export const contactFields = [
|
|||
type: 'string',
|
||||
required: true,
|
||||
default: "",
|
||||
placeholder: '',
|
||||
|
||||
description: 'Phone number.',
|
||||
}
|
||||
]
|
||||
|
@ -523,7 +513,6 @@ export const contactFields = [
|
|||
displayName: 'Custom Properties',
|
||||
name: 'customProperties',
|
||||
type: 'fixedCollection',
|
||||
required: false,
|
||||
description: 'Custom Properties',
|
||||
typeOptions: {
|
||||
multipleValues: true,
|
||||
|
@ -539,25 +528,23 @@ export const contactFields = [
|
|||
type: 'string',
|
||||
required: true,
|
||||
default: "",
|
||||
placeholder: '',
|
||||
|
||||
description: 'Property name.'
|
||||
},
|
||||
{
|
||||
displayName: 'Sub Type',
|
||||
name: 'subtype',
|
||||
type: 'string',
|
||||
required: false,
|
||||
default: "",
|
||||
placeholder: '',
|
||||
|
||||
description: 'Property sub type.',
|
||||
},
|
||||
{
|
||||
displayName: 'Value',
|
||||
name: 'value',
|
||||
type: 'string',
|
||||
required: false,
|
||||
default: "",
|
||||
placeholder: '',
|
||||
|
||||
description: 'Property value.',
|
||||
}
|
||||
]
|
||||
|
@ -586,7 +573,7 @@ export const contactFields = [
|
|||
},
|
||||
},
|
||||
default: '',
|
||||
description: 'Unique identifier for a particular contact',
|
||||
description: 'Id of contact to delete.',
|
||||
},
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* contact:update */
|
||||
|
@ -675,7 +662,6 @@ export const contactFields = [
|
|||
name: 'starValue',
|
||||
type: 'options',
|
||||
default: '',
|
||||
required: false,
|
||||
description: 'Rating of contact (Max value 5). This is not applicable for companies.',
|
||||
options: [
|
||||
{
|
||||
|
@ -710,7 +696,6 @@ export const contactFields = [
|
|||
type: 'number',
|
||||
default: '',
|
||||
description: 'Score of contact. This is not applicable for companies.',
|
||||
required: false,
|
||||
typeOptions: {
|
||||
minValue: 0
|
||||
}
|
||||
|
@ -731,7 +716,6 @@ export const contactFields = [
|
|||
displayName: 'First Name',
|
||||
name: 'firstName',
|
||||
type: 'string',
|
||||
required: false,
|
||||
default: "",
|
||||
placeholder: 'First Name',
|
||||
description: 'Contact first name.',
|
||||
|
@ -740,7 +724,6 @@ export const contactFields = [
|
|||
displayName: 'Last Name',
|
||||
name: 'lastName',
|
||||
type: 'string',
|
||||
required: false,
|
||||
default: "",
|
||||
placeholder: 'Last Name',
|
||||
description: 'Contact last name.',
|
||||
|
@ -749,7 +732,6 @@ export const contactFields = [
|
|||
displayName: 'Company',
|
||||
name: 'company',
|
||||
type: 'string',
|
||||
required: false,
|
||||
default: "",
|
||||
placeholder: 'Company',
|
||||
description: 'Company Name.',
|
||||
|
@ -758,7 +740,6 @@ export const contactFields = [
|
|||
displayName: 'Title',
|
||||
name: 'title',
|
||||
type: 'string',
|
||||
required: false,
|
||||
default: "",
|
||||
placeholder: 'Title',
|
||||
description: 'Professional title.',
|
||||
|
@ -767,7 +748,6 @@ export const contactFields = [
|
|||
displayName: 'Email',
|
||||
name: 'emailOptions',
|
||||
type: 'fixedCollection',
|
||||
required: false,
|
||||
description: 'Contact email.',
|
||||
typeOptions: {
|
||||
multipleValues: true,
|
||||
|
@ -783,7 +763,7 @@ export const contactFields = [
|
|||
type: 'options',
|
||||
required: true,
|
||||
default: "",
|
||||
placeholder: '',
|
||||
|
||||
description: 'Type of Email',
|
||||
options: [
|
||||
{
|
||||
|
@ -802,7 +782,7 @@ export const contactFields = [
|
|||
type: 'string',
|
||||
required: true,
|
||||
default: "",
|
||||
placeholder: '',
|
||||
|
||||
description: 'Email',
|
||||
}
|
||||
]
|
||||
|
@ -814,7 +794,6 @@ export const contactFields = [
|
|||
displayName: 'Address',
|
||||
name: 'addressOptions',
|
||||
type: 'fixedCollection',
|
||||
required: false,
|
||||
description: 'Contacts address.',
|
||||
typeOptions: {
|
||||
multipleValues: true,
|
||||
|
@ -830,7 +809,7 @@ export const contactFields = [
|
|||
type: 'options',
|
||||
required: true,
|
||||
default: "",
|
||||
placeholder: '',
|
||||
|
||||
description: 'Type of address.',
|
||||
options: [
|
||||
{
|
||||
|
@ -854,7 +833,7 @@ export const contactFields = [
|
|||
type: 'string',
|
||||
required: true,
|
||||
default: "",
|
||||
placeholder: '',
|
||||
|
||||
description: 'Full address.',
|
||||
}
|
||||
]
|
||||
|
@ -866,7 +845,6 @@ export const contactFields = [
|
|||
displayName: 'Website',
|
||||
name: 'websiteOptions',
|
||||
type: 'fixedCollection',
|
||||
required: false,
|
||||
description: 'Contacts websites.',
|
||||
typeOptions: {
|
||||
multipleValues: true,
|
||||
|
@ -882,7 +860,7 @@ export const contactFields = [
|
|||
type: 'options',
|
||||
required: true,
|
||||
default: "",
|
||||
placeholder: '',
|
||||
|
||||
description: 'Type of website.',
|
||||
options: [
|
||||
{
|
||||
|
@ -937,7 +915,7 @@ export const contactFields = [
|
|||
type: 'string',
|
||||
required: true,
|
||||
default: "",
|
||||
placeholder: '',
|
||||
|
||||
description: 'Website URL',
|
||||
}
|
||||
]
|
||||
|
@ -949,7 +927,6 @@ export const contactFields = [
|
|||
displayName: 'Phone',
|
||||
name: 'phoneOptions',
|
||||
type: 'fixedCollection',
|
||||
required: false,
|
||||
description: 'Contacts phone.',
|
||||
typeOptions: {
|
||||
multipleValues: true,
|
||||
|
@ -965,7 +942,7 @@ export const contactFields = [
|
|||
type: 'options',
|
||||
required: true,
|
||||
default: "",
|
||||
placeholder: '',
|
||||
|
||||
description: 'Type of phone number.',
|
||||
options: [
|
||||
{
|
||||
|
@ -1005,7 +982,7 @@ export const contactFields = [
|
|||
type: 'string',
|
||||
required: true,
|
||||
default: "",
|
||||
placeholder: '',
|
||||
|
||||
description: 'Phone number.',
|
||||
}
|
||||
]
|
||||
|
@ -1017,7 +994,6 @@ export const contactFields = [
|
|||
displayName: 'Custom Properties',
|
||||
name: 'customProperties',
|
||||
type: 'fixedCollection',
|
||||
required: false,
|
||||
description: 'Custom Properties',
|
||||
typeOptions: {
|
||||
multipleValues: true,
|
||||
|
@ -1033,25 +1009,23 @@ export const contactFields = [
|
|||
type: 'string',
|
||||
required: true,
|
||||
default: "",
|
||||
placeholder: '',
|
||||
|
||||
description: 'Property name.'
|
||||
},
|
||||
{
|
||||
displayName: 'Sub Type',
|
||||
name: 'subtype',
|
||||
type: 'string',
|
||||
required: false,
|
||||
default: "",
|
||||
placeholder: '',
|
||||
|
||||
description: 'Property sub type.',
|
||||
},
|
||||
{
|
||||
displayName: 'Value',
|
||||
name: 'value',
|
||||
type: 'string',
|
||||
required: false,
|
||||
default: "",
|
||||
placeholder: '',
|
||||
|
||||
description: 'Property value.',
|
||||
}
|
||||
]
|
||||
|
|
|
@ -303,7 +303,7 @@ export const dealFields = [
|
|||
displayName: 'Custom Data',
|
||||
name: 'customData',
|
||||
type: 'fixedCollection',
|
||||
required: false,
|
||||
|
||||
description: 'Custom Data',
|
||||
typeOptions: {
|
||||
multipleValues: true,
|
||||
|
@ -319,16 +319,16 @@ export const dealFields = [
|
|||
type: 'string',
|
||||
required: true,
|
||||
default: "",
|
||||
placeholder: '',
|
||||
|
||||
description: 'Property name.'
|
||||
},
|
||||
{
|
||||
displayName: 'Value',
|
||||
name: 'value',
|
||||
type: 'string',
|
||||
required: false,
|
||||
|
||||
default: "",
|
||||
placeholder: '',
|
||||
|
||||
description: 'Property value.',
|
||||
}
|
||||
]
|
||||
|
@ -448,7 +448,7 @@ export const dealFields = [
|
|||
displayName: 'Expected Value',
|
||||
name: 'expectedValue',
|
||||
type: 'number',
|
||||
required: false,
|
||||
|
||||
typeOptions: {
|
||||
minValue: 0,
|
||||
maxValue: 10000
|
||||
|
@ -460,7 +460,7 @@ export const dealFields = [
|
|||
displayName: 'Probability',
|
||||
name: 'probability',
|
||||
type: 'number',
|
||||
required: false,
|
||||
|
||||
typeOptions: {
|
||||
minValue: 0,
|
||||
maxValue: 100
|
||||
|
@ -472,7 +472,7 @@ export const dealFields = [
|
|||
displayName: 'Name',
|
||||
name: 'name',
|
||||
type: 'string',
|
||||
required: false,
|
||||
|
||||
default: '',
|
||||
description: 'Name of deal.',
|
||||
},
|
||||
|
@ -492,7 +492,7 @@ export const dealFields = [
|
|||
displayName: 'Custom Data',
|
||||
name: 'customData',
|
||||
type: 'fixedCollection',
|
||||
required: false,
|
||||
|
||||
description: 'Custom Data',
|
||||
typeOptions: {
|
||||
multipleValues: true,
|
||||
|
@ -508,16 +508,16 @@ export const dealFields = [
|
|||
type: 'string',
|
||||
required: true,
|
||||
default: "",
|
||||
placeholder: '',
|
||||
|
||||
description: 'Property name.'
|
||||
},
|
||||
{
|
||||
displayName: 'Value',
|
||||
name: 'value',
|
||||
type: 'string',
|
||||
required: false,
|
||||
|
||||
default: "",
|
||||
placeholder: '',
|
||||
|
||||
description: 'Property value.',
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue