mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
refactor: Apply more eslint-plugin-n8n-nodes-base autofixable rules (#3243)
* ✏️ Alphabetize rules * 🔖 Update version * ⚡ Update lintfix command * ⚡ Run baseline lintfix * 📦 Update package-lock.json * 👕 Apply `node-param-description-untrimmed` (#3200) * Removing unneeded backticks (#3249) * 👕 Apply node-param-description-wrong-for-return-all (#3253) * 👕 Apply node-param-description-missing-limit (#3252) Co-authored-by: Iván Ovejero <ivov.src@gmail.com> * 👕 Apply node-param-description-excess-final-period (#3250) Co-authored-by: Iván Ovejero <ivov.src@gmail.com> * 👕 Apply node-param-description-unencoded-angle-brackets (#3256) Co-authored-by: Iván Ovejero <ivov.src@gmail.com> * 👕 Apply node-param-description-url-missing-protocol (#3258) * 👕 Apply `node-param-description-miscased-id` (#3254) Co-authored-by: Iván Ovejero <ivov.src@gmail.com> * 👕 Apply node-param-description-wrong-for-limit (#3257) Co-authored-by: Iván Ovejero <ivov.src@gmail.com> * 👕 Apply node-param-description-wrong-for-ignore-ssl-issues (#3261) * 👕 Apply rule * ⚡ Restore lintfix script * ⚡ Restore lintfix script Co-authored-by: agobrech <45268029+agobrech@users.noreply.github.com> Co-authored-by: Omar Ajoue <krynble@gmail.com> Co-authored-by: Michael Kret <88898367+michael-radency@users.noreply.github.com>
This commit is contained in:
@@ -135,7 +135,7 @@ export const accountFields: INodeProperties[] = [
|
||||
name: 'Account_Site',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Name of the account’s location, e.g. Headquarters or London.',
|
||||
description: 'Name of the account’s location, e.g. Headquarters or London',
|
||||
},
|
||||
{
|
||||
displayName: 'Account Type',
|
||||
@@ -164,7 +164,7 @@ export const accountFields: INodeProperties[] = [
|
||||
name: 'Currency',
|
||||
type: 'options',
|
||||
default: 'USD',
|
||||
description: 'Symbol of the currency in which revenue is generated.',
|
||||
description: 'Symbol of the currency in which revenue is generated',
|
||||
options: currencies,
|
||||
},
|
||||
makeCustomFieldsFixedCollection('account'),
|
||||
@@ -179,14 +179,14 @@ export const accountFields: INodeProperties[] = [
|
||||
name: 'Employees',
|
||||
type: 'number',
|
||||
default: '',
|
||||
description: 'Number of employees in the account’s company.',
|
||||
description: 'Number of employees in the account’s company',
|
||||
},
|
||||
{
|
||||
displayName: 'Exchange Rate',
|
||||
name: 'Exchange_Rate',
|
||||
type: 'number',
|
||||
default: '',
|
||||
description: 'Exchange rate of the default currency to the home currency.',
|
||||
description: 'Exchange rate of the default currency to the home currency',
|
||||
},
|
||||
{
|
||||
displayName: 'Fax',
|
||||
@@ -326,7 +326,7 @@ export const accountFields: INodeProperties[] = [
|
||||
name: 'Account_Site',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Name of the account’s location, e.g. Headquarters or London.',
|
||||
description: 'Name of the account’s location, e.g. Headquarters or London',
|
||||
},
|
||||
{
|
||||
displayName: 'Account Type',
|
||||
@@ -355,7 +355,7 @@ export const accountFields: INodeProperties[] = [
|
||||
name: 'Currency',
|
||||
type: 'options',
|
||||
default: 'USD',
|
||||
description: 'Symbol of the currency in which revenue is generated.',
|
||||
description: 'Symbol of the currency in which revenue is generated',
|
||||
options: currencies,
|
||||
},
|
||||
makeCustomFieldsFixedCollection('account'),
|
||||
@@ -370,14 +370,14 @@ export const accountFields: INodeProperties[] = [
|
||||
name: 'Employees',
|
||||
type: 'number',
|
||||
default: '',
|
||||
description: 'Number of employees in the account’s company.',
|
||||
description: 'Number of employees in the account’s company',
|
||||
},
|
||||
{
|
||||
displayName: 'Exchange Rate',
|
||||
name: 'Exchange_Rate',
|
||||
type: 'number',
|
||||
default: '',
|
||||
description: 'Exchange rate of the default currency to the home currency.',
|
||||
description: 'Exchange rate of the default currency to the home currency',
|
||||
},
|
||||
{
|
||||
displayName: 'Fax',
|
||||
|
||||
@@ -102,7 +102,7 @@ export const contactFields: INodeProperties[] = [
|
||||
name: 'Assistant',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Name of the contact’s assistant.',
|
||||
description: 'Name of the contact’s assistant',
|
||||
},
|
||||
makeCustomFieldsFixedCollection('contact'),
|
||||
{
|
||||
@@ -116,7 +116,7 @@ export const contactFields: INodeProperties[] = [
|
||||
name: 'Department',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Company department to which the contact belongs.',
|
||||
description: 'Company department to which the contact belongs',
|
||||
},
|
||||
{
|
||||
displayName: 'Description',
|
||||
@@ -173,7 +173,7 @@ export const contactFields: INodeProperties[] = [
|
||||
name: 'Asst_Phone',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Phone number of the contact’s assistant.',
|
||||
description: 'Phone number of the contact’s assistant',
|
||||
},
|
||||
{
|
||||
displayName: 'Phone (Home)',
|
||||
@@ -204,7 +204,7 @@ export const contactFields: INodeProperties[] = [
|
||||
name: 'Title',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Position of the contact at their company.',
|
||||
description: 'Position of the contact at their company',
|
||||
},
|
||||
{
|
||||
displayName: 'Twitter',
|
||||
@@ -257,7 +257,7 @@ export const contactFields: INodeProperties[] = [
|
||||
name: 'Assistant',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Name of the contact’s assistant.',
|
||||
description: 'Name of the contact’s assistant',
|
||||
},
|
||||
makeCustomFieldsFixedCollection('contact'),
|
||||
{
|
||||
@@ -271,7 +271,7 @@ export const contactFields: INodeProperties[] = [
|
||||
name: 'Department',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Company department to which the contact belongs.',
|
||||
description: 'Company department to which the contact belongs',
|
||||
},
|
||||
{
|
||||
displayName: 'Description',
|
||||
@@ -329,7 +329,7 @@ export const contactFields: INodeProperties[] = [
|
||||
name: 'Asst_Phone',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Phone number of the contact’s assistant.',
|
||||
description: 'Phone number of the contact’s assistant',
|
||||
},
|
||||
{
|
||||
displayName: 'Phone (Home)',
|
||||
@@ -360,7 +360,7 @@ export const contactFields: INodeProperties[] = [
|
||||
name: 'Title',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Position of the contact at their company.',
|
||||
description: 'Position of the contact at their company',
|
||||
},
|
||||
{
|
||||
displayName: 'Twitter',
|
||||
@@ -377,7 +377,7 @@ export const contactFields: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Contact ID',
|
||||
name: 'contactId',
|
||||
description: 'ID of the contact to delete.',
|
||||
description: 'ID of the contact to delete',
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
@@ -399,7 +399,7 @@ export const contactFields: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Contact ID',
|
||||
name: 'contactId',
|
||||
description: 'ID of the contact to retrieve.',
|
||||
description: 'ID of the contact to retrieve',
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
@@ -426,7 +426,7 @@ export const contactFields: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Contact ID',
|
||||
name: 'contactId',
|
||||
description: 'ID of the contact to update.',
|
||||
description: 'ID of the contact to update',
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
@@ -469,14 +469,14 @@ export const contactFields: INodeProperties[] = [
|
||||
name: 'Asst_Phone',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Phone number of the contact’s assistant.',
|
||||
description: 'Phone number of the contact’s assistant',
|
||||
},
|
||||
{
|
||||
displayName: 'Currency',
|
||||
name: 'Currency',
|
||||
type: 'options',
|
||||
default: 'USD',
|
||||
description: 'Symbol of the currency in which revenue is generated.',
|
||||
description: 'Symbol of the currency in which revenue is generated',
|
||||
options: currencies,
|
||||
},
|
||||
makeCustomFieldsFixedCollection('contact'),
|
||||
@@ -577,7 +577,7 @@ export const contactFields: INodeProperties[] = [
|
||||
name: 'Title',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Position of the contact at their company.',
|
||||
description: 'Position of the contact at their company',
|
||||
},
|
||||
{
|
||||
displayName: 'Twitter',
|
||||
|
||||
@@ -147,7 +147,7 @@ export const dealFields: INodeProperties[] = [
|
||||
name: 'Amount',
|
||||
type: 'number',
|
||||
default: '',
|
||||
description: 'Monetary amount of the deal.',
|
||||
description: 'Monetary amount of the deal',
|
||||
},
|
||||
{
|
||||
displayName: 'Closing Date',
|
||||
@@ -160,7 +160,7 @@ export const dealFields: INodeProperties[] = [
|
||||
name: 'Currency',
|
||||
type: 'options',
|
||||
default: 'USD',
|
||||
description: 'Symbol of the currency in which revenue is generated.',
|
||||
description: 'Symbol of the currency in which revenue is generated',
|
||||
options: currencies,
|
||||
},
|
||||
makeCustomFieldsFixedCollection('deal'),
|
||||
@@ -175,21 +175,21 @@ export const dealFields: INodeProperties[] = [
|
||||
name: 'Lead_Conversion_Time',
|
||||
type: 'number',
|
||||
default: '',
|
||||
description: 'Averge number of days to convert the lead into a deal.',
|
||||
description: 'Averge number of days to convert the lead into a deal',
|
||||
},
|
||||
{
|
||||
displayName: 'Next Step',
|
||||
name: 'Next_Step',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Description of the next step in the sales process.',
|
||||
description: 'Description of the next step in the sales process',
|
||||
},
|
||||
{
|
||||
displayName: 'Overall Sales Duration',
|
||||
name: 'Overall_Sales_Duration',
|
||||
type: 'number',
|
||||
default: '',
|
||||
description: 'Averge number of days to convert the lead into a deal and to win the deal.',
|
||||
description: 'Averge number of days to convert the lead into a deal and to win the deal',
|
||||
},
|
||||
{
|
||||
displayName: 'Probability',
|
||||
@@ -207,7 +207,7 @@ export const dealFields: INodeProperties[] = [
|
||||
name: 'Sales_Cycle_Duration',
|
||||
type: 'number',
|
||||
default: 0,
|
||||
description: 'Averge number of days for the deal to be won.',
|
||||
description: 'Averge number of days for the deal to be won',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -218,7 +218,7 @@ export const dealFields: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Deal ID',
|
||||
name: 'dealId',
|
||||
description: 'ID of the deal to delete.',
|
||||
description: 'ID of the deal to delete',
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
@@ -240,7 +240,7 @@ export const dealFields: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Deal ID',
|
||||
name: 'dealId',
|
||||
description: 'ID of the deal to retrieve.',
|
||||
description: 'ID of the deal to retrieve',
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
@@ -267,7 +267,7 @@ export const dealFields: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Deal ID',
|
||||
name: 'dealId',
|
||||
description: 'ID of the deal to update.',
|
||||
description: 'ID of the deal to update',
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
@@ -304,7 +304,7 @@ export const dealFields: INodeProperties[] = [
|
||||
name: 'Amount',
|
||||
type: 'number',
|
||||
default: '',
|
||||
description: 'Monetary amount of the deal.',
|
||||
description: 'Monetary amount of the deal',
|
||||
},
|
||||
{
|
||||
displayName: 'Closing Date',
|
||||
@@ -317,7 +317,7 @@ export const dealFields: INodeProperties[] = [
|
||||
name: 'Currency',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Symbol of the currency in which revenue is generated.',
|
||||
description: 'Symbol of the currency in which revenue is generated',
|
||||
},
|
||||
makeCustomFieldsFixedCollection('deal'),
|
||||
{
|
||||
@@ -337,21 +337,21 @@ export const dealFields: INodeProperties[] = [
|
||||
name: 'Lead_Conversion_Time',
|
||||
type: 'number',
|
||||
default: '',
|
||||
description: 'Averge number of days to convert the lead into a deal.',
|
||||
description: 'Averge number of days to convert the lead into a deal',
|
||||
},
|
||||
{
|
||||
displayName: 'Next Step',
|
||||
name: 'Next_Step',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Description of the next step in the sales process.',
|
||||
description: 'Description of the next step in the sales process',
|
||||
},
|
||||
{
|
||||
displayName: 'Overall Sales Duration',
|
||||
name: 'Overall_Sales_Duration',
|
||||
type: 'number',
|
||||
default: '',
|
||||
description: 'Averge number of days to convert the lead into a deal and to win the deal.',
|
||||
description: 'Averge number of days to convert the lead into a deal and to win the deal',
|
||||
},
|
||||
{
|
||||
displayName: 'Probability',
|
||||
@@ -369,7 +369,7 @@ export const dealFields: INodeProperties[] = [
|
||||
name: 'Sales_Cycle_Duration',
|
||||
type: 'number',
|
||||
default: 0,
|
||||
description: 'Averge number of days to win the deal.',
|
||||
description: 'Averge number of days to win the deal',
|
||||
},
|
||||
{
|
||||
displayName: 'Stage',
|
||||
|
||||
@@ -67,7 +67,7 @@ export const invoiceFields: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Subject',
|
||||
name: 'subject',
|
||||
description: 'Subject or title of the invoice.',
|
||||
description: 'Subject or title of the invoice',
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
@@ -157,14 +157,14 @@ export const invoiceFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getAccounts',
|
||||
},
|
||||
description: 'ID of the account associated with this invoice.',
|
||||
description: 'ID of the account associated with this invoice',
|
||||
},
|
||||
{
|
||||
displayName: 'Adjustment',
|
||||
name: 'Adjustment',
|
||||
type: 'number',
|
||||
default: '',
|
||||
description: 'Adjustment in the grand total, if any.',
|
||||
description: 'Adjustment in the grand total, if any',
|
||||
},
|
||||
billingAddress,
|
||||
{
|
||||
@@ -172,7 +172,7 @@ export const invoiceFields: INodeProperties[] = [
|
||||
name: 'Currency',
|
||||
type: 'options',
|
||||
default: 'USD',
|
||||
description: 'Symbol of the currency in which revenue is generated.',
|
||||
description: 'Symbol of the currency in which revenue is generated',
|
||||
options: currencies,
|
||||
},
|
||||
makeCustomFieldsFixedCollection('invoice'),
|
||||
@@ -193,14 +193,14 @@ export const invoiceFields: INodeProperties[] = [
|
||||
name: 'Exchange_Rate',
|
||||
type: 'number',
|
||||
default: '',
|
||||
description: 'Exchange rate of the default currency to the home currency.',
|
||||
description: 'Exchange rate of the default currency to the home currency',
|
||||
},
|
||||
{
|
||||
displayName: 'Grand Total',
|
||||
name: 'Grand_Total',
|
||||
type: 'number',
|
||||
default: '',
|
||||
description: 'Total amount for the product after deducting tax and discounts.',
|
||||
description: 'Total amount for the product after deducting tax and discounts',
|
||||
},
|
||||
{
|
||||
displayName: 'Invoice Date',
|
||||
@@ -233,21 +233,21 @@ export const invoiceFields: INodeProperties[] = [
|
||||
name: 'Sub_Total',
|
||||
type: 'number',
|
||||
default: '',
|
||||
description: 'Total amount for the product excluding tax.',
|
||||
description: 'Total amount for the product excluding tax',
|
||||
},
|
||||
{
|
||||
displayName: 'Tax',
|
||||
name: 'Tax',
|
||||
type: 'number',
|
||||
default: '',
|
||||
description: 'Tax amount as the sum of sales tax and value-added tax.',
|
||||
description: 'Tax amount as the sum of sales tax and value-added tax',
|
||||
},
|
||||
{
|
||||
displayName: 'Terms and Conditions',
|
||||
name: 'Terms_and_Conditions',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Terms and conditions associated with the invoice.',
|
||||
description: 'Terms and conditions associated with the invoice',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -258,7 +258,7 @@ export const invoiceFields: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Invoice ID',
|
||||
name: 'invoiceId',
|
||||
description: 'ID of the invoice to delete.',
|
||||
description: 'ID of the invoice to delete',
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
@@ -280,7 +280,7 @@ export const invoiceFields: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Invoice ID',
|
||||
name: 'invoiceId',
|
||||
description: 'ID of the invoice to retrieve.',
|
||||
description: 'ID of the invoice to retrieve',
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
@@ -307,7 +307,7 @@ export const invoiceFields: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Invoice ID',
|
||||
name: 'invoiceId',
|
||||
description: 'ID of the invoice to update.',
|
||||
description: 'ID of the invoice to update',
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
@@ -347,14 +347,14 @@ export const invoiceFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getAccounts',
|
||||
},
|
||||
description: 'ID of the account associated with this invoice.',
|
||||
description: 'ID of the account associated with this invoice',
|
||||
},
|
||||
{
|
||||
displayName: 'Adjustment',
|
||||
name: 'Adjustment',
|
||||
type: 'number',
|
||||
default: '',
|
||||
description: 'Adjustment in the grand total, if any.',
|
||||
description: 'Adjustment in the grand total, if any',
|
||||
},
|
||||
billingAddress,
|
||||
{
|
||||
@@ -362,7 +362,7 @@ export const invoiceFields: INodeProperties[] = [
|
||||
name: 'Currency',
|
||||
type: 'options',
|
||||
default: 'USD',
|
||||
description: 'Symbol of the currency in which revenue is generated.',
|
||||
description: 'Symbol of the currency in which revenue is generated',
|
||||
options: currencies,
|
||||
},
|
||||
makeCustomFieldsFixedCollection('invoice'),
|
||||
@@ -383,14 +383,14 @@ export const invoiceFields: INodeProperties[] = [
|
||||
name: 'Exchange_Rate',
|
||||
type: 'number',
|
||||
default: '',
|
||||
description: 'Exchange rate of the default currency to the home currency.',
|
||||
description: 'Exchange rate of the default currency to the home currency',
|
||||
},
|
||||
{
|
||||
displayName: 'Grand Total',
|
||||
name: 'Grand_Total',
|
||||
type: 'number',
|
||||
default: '',
|
||||
description: 'Total amount for the product after deducting tax and discounts.',
|
||||
description: 'Total amount for the product after deducting tax and discounts',
|
||||
},
|
||||
{
|
||||
displayName: 'Invoice Date',
|
||||
@@ -435,28 +435,28 @@ export const invoiceFields: INodeProperties[] = [
|
||||
name: 'Sub_Total',
|
||||
type: 'number',
|
||||
default: '',
|
||||
description: 'Total amount for the product excluding tax.',
|
||||
description: 'Total amount for the product excluding tax',
|
||||
},
|
||||
{
|
||||
displayName: 'Subject',
|
||||
name: 'Subject',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Subject or title of the invoice.',
|
||||
description: 'Subject or title of the invoice',
|
||||
},
|
||||
{
|
||||
displayName: 'Tax',
|
||||
name: 'Tax',
|
||||
type: 'number',
|
||||
default: '',
|
||||
description: 'Tax amount as the sum of sales tax and value-added tax.',
|
||||
description: 'Tax amount as the sum of sales tax and value-added tax',
|
||||
},
|
||||
{
|
||||
displayName: 'Terms and Conditions',
|
||||
name: 'Terms_and_Conditions',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Terms and conditions associated with the invoice.',
|
||||
description: 'Terms and conditions associated with the invoice',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
@@ -70,7 +70,7 @@ export const leadFields: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Company',
|
||||
name: 'Company',
|
||||
description: 'Company at which the lead works.',
|
||||
description: 'Company at which the lead works',
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
@@ -125,14 +125,14 @@ export const leadFields: INodeProperties[] = [
|
||||
name: 'Annual_Revenue',
|
||||
type: 'number',
|
||||
default: '',
|
||||
description: 'Annual revenue of the lead’s company.',
|
||||
description: 'Annual revenue of the lead’s company',
|
||||
},
|
||||
{
|
||||
displayName: 'Currency',
|
||||
name: 'Currency',
|
||||
type: 'options',
|
||||
default: 'USD',
|
||||
description: 'Symbol of the currency in which revenue is generated.',
|
||||
description: 'Symbol of the currency in which revenue is generated',
|
||||
options: currencies,
|
||||
},
|
||||
makeCustomFieldsFixedCollection('lead'),
|
||||
@@ -147,7 +147,7 @@ export const leadFields: INodeProperties[] = [
|
||||
name: 'Designation',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Position of the lead at their company.',
|
||||
description: 'Position of the lead at their company',
|
||||
},
|
||||
{
|
||||
displayName: 'Email',
|
||||
@@ -184,21 +184,21 @@ export const leadFields: INodeProperties[] = [
|
||||
name: 'Industry',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Industry to which the lead belongs.',
|
||||
description: 'Industry to which the lead belongs',
|
||||
},
|
||||
{
|
||||
displayName: 'Industry Type',
|
||||
name: 'Industry_Type',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Type of industry to which the lead belongs.',
|
||||
description: 'Type of industry to which the lead belongs',
|
||||
},
|
||||
{
|
||||
displayName: 'Lead Source',
|
||||
name: 'Lead_Source',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Source from which the lead was created.',
|
||||
description: 'Source from which the lead was created',
|
||||
},
|
||||
{
|
||||
displayName: 'Lead Status',
|
||||
@@ -217,7 +217,7 @@ export const leadFields: INodeProperties[] = [
|
||||
name: 'No_of_Employees',
|
||||
type: 'number',
|
||||
default: '',
|
||||
description: 'Number of employees in the lead’s company.',
|
||||
description: 'Number of employees in the lead’s company',
|
||||
},
|
||||
{
|
||||
displayName: 'Phone',
|
||||
@@ -264,7 +264,7 @@ export const leadFields: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Company',
|
||||
name: 'Company',
|
||||
description: 'Company at which the lead works.',
|
||||
description: 'Company at which the lead works',
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
@@ -319,14 +319,14 @@ export const leadFields: INodeProperties[] = [
|
||||
name: 'Annual_Revenue',
|
||||
type: 'number',
|
||||
default: '',
|
||||
description: 'Annual revenue of the lead’s company.',
|
||||
description: 'Annual revenue of the lead’s company',
|
||||
},
|
||||
{
|
||||
displayName: 'Currency',
|
||||
name: 'Currency',
|
||||
type: 'options',
|
||||
default: 'USD',
|
||||
description: 'Symbol of the currency in which revenue is generated.',
|
||||
description: 'Symbol of the currency in which revenue is generated',
|
||||
options: currencies,
|
||||
},
|
||||
makeCustomFieldsFixedCollection('lead'),
|
||||
@@ -341,7 +341,7 @@ export const leadFields: INodeProperties[] = [
|
||||
name: 'Designation',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Position of the lead at their company.',
|
||||
description: 'Position of the lead at their company',
|
||||
},
|
||||
{
|
||||
displayName: 'Email',
|
||||
@@ -379,21 +379,21 @@ export const leadFields: INodeProperties[] = [
|
||||
name: 'Industry',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Industry to which the lead belongs.',
|
||||
description: 'Industry to which the lead belongs',
|
||||
},
|
||||
{
|
||||
displayName: 'Industry Type',
|
||||
name: 'Industry_Type',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Type of industry to which the lead belongs.',
|
||||
description: 'Type of industry to which the lead belongs',
|
||||
},
|
||||
{
|
||||
displayName: 'Lead Source',
|
||||
name: 'Lead_Source',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Source from which the lead was created.',
|
||||
description: 'Source from which the lead was created',
|
||||
},
|
||||
{
|
||||
displayName: 'Lead Status',
|
||||
@@ -412,7 +412,7 @@ export const leadFields: INodeProperties[] = [
|
||||
name: 'No_of_Employees',
|
||||
type: 'number',
|
||||
default: '',
|
||||
description: 'Number of employees in the lead’s company.',
|
||||
description: 'Number of employees in the lead’s company',
|
||||
},
|
||||
{
|
||||
displayName: 'Phone',
|
||||
@@ -459,7 +459,7 @@ export const leadFields: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Lead ID',
|
||||
name: 'leadId',
|
||||
description: 'ID of the lead to delete.',
|
||||
description: 'ID of the lead to delete',
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
@@ -481,7 +481,7 @@ export const leadFields: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Lead ID',
|
||||
name: 'leadId',
|
||||
description: 'ID of the lead to retrieve.',
|
||||
description: 'ID of the lead to retrieve',
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
@@ -508,7 +508,7 @@ export const leadFields: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Lead ID',
|
||||
name: 'leadId',
|
||||
description: 'ID of the lead to update.',
|
||||
description: 'ID of the lead to update',
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
@@ -546,21 +546,21 @@ export const leadFields: INodeProperties[] = [
|
||||
name: 'Annual_Revenue',
|
||||
type: 'number',
|
||||
default: '',
|
||||
description: 'Annual revenue of the lead’s company.',
|
||||
description: 'Annual revenue of the lead’s company',
|
||||
},
|
||||
{
|
||||
displayName: 'Company',
|
||||
name: 'Company',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Company at which the lead works.',
|
||||
description: 'Company at which the lead works',
|
||||
},
|
||||
{
|
||||
displayName: 'Currency',
|
||||
name: 'Currency',
|
||||
type: 'options',
|
||||
default: 'USD',
|
||||
description: 'Symbol of the currency in which revenue is generated.',
|
||||
description: 'Symbol of the currency in which revenue is generated',
|
||||
options: currencies,
|
||||
},
|
||||
makeCustomFieldsFixedCollection('lead'),
|
||||
@@ -575,7 +575,7 @@ export const leadFields: INodeProperties[] = [
|
||||
name: 'Designation',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Position of the lead at their company.',
|
||||
description: 'Position of the lead at their company',
|
||||
},
|
||||
{
|
||||
displayName: 'Email',
|
||||
@@ -612,14 +612,14 @@ export const leadFields: INodeProperties[] = [
|
||||
name: 'Industry',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Industry to which the lead belongs.',
|
||||
description: 'Industry to which the lead belongs',
|
||||
},
|
||||
{
|
||||
displayName: 'Industry Type',
|
||||
name: 'Industry_Type',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Type of industry to which the lead belongs.',
|
||||
description: 'Type of industry to which the lead belongs',
|
||||
},
|
||||
{
|
||||
displayName: 'Last Name',
|
||||
@@ -632,7 +632,7 @@ export const leadFields: INodeProperties[] = [
|
||||
name: 'Lead_Source',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Source from which the lead was created.',
|
||||
description: 'Source from which the lead was created',
|
||||
},
|
||||
{
|
||||
displayName: 'Lead Status',
|
||||
@@ -651,7 +651,7 @@ export const leadFields: INodeProperties[] = [
|
||||
name: 'No_of_Employees',
|
||||
type: 'number',
|
||||
default: '',
|
||||
description: 'Number of employees in the lead’s company.',
|
||||
description: 'Number of employees in the lead’s company',
|
||||
},
|
||||
{
|
||||
displayName: 'Phone',
|
||||
|
||||
@@ -198,7 +198,7 @@ export const productFields: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Product ID',
|
||||
name: 'productId',
|
||||
description: 'ID of the product to delete.',
|
||||
description: 'ID of the product to delete',
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
@@ -220,7 +220,7 @@ export const productFields: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Product ID',
|
||||
name: 'productId',
|
||||
description: 'ID of the product to retrieve.',
|
||||
description: 'ID of the product to retrieve',
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
@@ -247,7 +247,7 @@ export const productFields: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Product ID',
|
||||
name: 'productId',
|
||||
description: 'ID of the product to update.',
|
||||
description: 'ID of the product to update',
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
|
||||
@@ -67,7 +67,7 @@ export const purchaseOrderFields: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Subject',
|
||||
name: 'subject',
|
||||
description: 'Subject or title of the purchase order.',
|
||||
description: 'Subject or title of the purchase order',
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
@@ -116,7 +116,7 @@ export const purchaseOrderFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getVendors',
|
||||
},
|
||||
description: 'ID of the vendor associated with the purchase order.',
|
||||
description: 'ID of the vendor associated with the purchase order',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
@@ -178,7 +178,7 @@ export const purchaseOrderFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
minValue: 0,
|
||||
},
|
||||
description: 'Adjustment in the grand total, if any.',
|
||||
description: 'Adjustment in the grand total, if any',
|
||||
},
|
||||
{
|
||||
displayName: 'Billing Address',
|
||||
@@ -230,14 +230,14 @@ export const purchaseOrderFields: INodeProperties[] = [
|
||||
name: 'Carrier',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Name of the carrier.',
|
||||
description: 'Name of the carrier',
|
||||
},
|
||||
{
|
||||
displayName: 'Currency',
|
||||
name: 'Currency',
|
||||
type: 'options',
|
||||
default: 'USD',
|
||||
description: 'Symbol of the currency in which revenue is generated.',
|
||||
description: 'Symbol of the currency in which revenue is generated',
|
||||
options: currencies,
|
||||
},
|
||||
makeCustomFieldsFixedCollection('purchaseOrder'),
|
||||
@@ -271,7 +271,7 @@ export const purchaseOrderFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
minValue: 0,
|
||||
},
|
||||
description: 'Exchange rate of the default currency to the home currency.',
|
||||
description: 'Exchange rate of the default currency to the home currency',
|
||||
},
|
||||
{
|
||||
displayName: 'Grand Total',
|
||||
@@ -281,21 +281,21 @@ export const purchaseOrderFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
minValue: 0,
|
||||
},
|
||||
description: 'Total amount for the product after deducting tax and discounts.',
|
||||
description: 'Total amount for the product after deducting tax and discounts',
|
||||
},
|
||||
{
|
||||
displayName: 'PO Date',
|
||||
name: 'PO_Date',
|
||||
type: 'dateTime',
|
||||
default: '',
|
||||
description: 'Date on which the purchase order was issued.',
|
||||
description: 'Date on which the purchase order was issued',
|
||||
},
|
||||
{
|
||||
displayName: 'PO Number',
|
||||
name: 'PO_Number',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'ID of the purchase order after creating a case.',
|
||||
description: 'ID of the purchase order after creating a case',
|
||||
},
|
||||
{
|
||||
displayName: 'Sales Commission',
|
||||
@@ -316,7 +316,7 @@ export const purchaseOrderFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getPurchaseOrderStatus',
|
||||
},
|
||||
description: 'Status of the purchase order.',
|
||||
description: 'Status of the purchase order',
|
||||
},
|
||||
{
|
||||
displayName: 'Sub Total',
|
||||
@@ -326,7 +326,7 @@ export const purchaseOrderFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
minValue: 0,
|
||||
},
|
||||
description: 'Total amount for the product excluding tax.',
|
||||
description: 'Total amount for the product excluding tax',
|
||||
},
|
||||
{
|
||||
displayName: 'Tax',
|
||||
@@ -336,14 +336,14 @@ export const purchaseOrderFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
minValue: 0,
|
||||
},
|
||||
description: 'Tax amount as the sum of sales tax and value-added tax.',
|
||||
description: 'Tax amount as the sum of sales tax and value-added tax',
|
||||
},
|
||||
{
|
||||
displayName: 'Terms and Conditions',
|
||||
name: 'Terms_and_Conditions',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Terms and conditions associated with the purchase order.',
|
||||
description: 'Terms and conditions associated with the purchase order',
|
||||
},
|
||||
{
|
||||
displayName: 'Tracking Number',
|
||||
@@ -360,7 +360,7 @@ export const purchaseOrderFields: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Purchase Order ID',
|
||||
name: 'purchaseOrderId',
|
||||
description: 'ID of the purchase order to delete.',
|
||||
description: 'ID of the purchase order to delete',
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
@@ -382,7 +382,7 @@ export const purchaseOrderFields: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Purchase Order ID',
|
||||
name: 'purchaseOrderId',
|
||||
description: 'ID of the purchase order to retrieve.',
|
||||
description: 'ID of the purchase order to retrieve',
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
@@ -409,7 +409,7 @@ export const purchaseOrderFields: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Purchase Order ID',
|
||||
name: 'purchaseOrderId',
|
||||
description: 'ID of the purchase order to update.',
|
||||
description: 'ID of the purchase order to update',
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
@@ -449,7 +449,7 @@ export const purchaseOrderFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
minValue: 0,
|
||||
},
|
||||
description: 'Adjustment in the grand total, if any.',
|
||||
description: 'Adjustment in the grand total, if any',
|
||||
},
|
||||
billingAddress,
|
||||
{
|
||||
@@ -457,14 +457,14 @@ export const purchaseOrderFields: INodeProperties[] = [
|
||||
name: 'Carrier',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Name of the carrier.',
|
||||
description: 'Name of the carrier',
|
||||
},
|
||||
{
|
||||
displayName: 'Currency',
|
||||
name: 'Currency',
|
||||
type: 'options',
|
||||
default: 'USD',
|
||||
description: 'Symbol of the currency in which revenue is generated.',
|
||||
description: 'Symbol of the currency in which revenue is generated',
|
||||
options: currencies,
|
||||
},
|
||||
makeCustomFieldsFixedCollection('purchaseOrder'),
|
||||
@@ -497,7 +497,7 @@ export const purchaseOrderFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
minValue: 0,
|
||||
},
|
||||
description: 'Exchange rate of the default currency to the home currency.',
|
||||
description: 'Exchange rate of the default currency to the home currency',
|
||||
},
|
||||
{
|
||||
displayName: 'Grand Total',
|
||||
@@ -507,21 +507,21 @@ export const purchaseOrderFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
minValue: 0,
|
||||
},
|
||||
description: 'Total amount for the product after deducting tax and discounts.',
|
||||
description: 'Total amount for the product after deducting tax and discounts',
|
||||
},
|
||||
{
|
||||
displayName: 'PO Date',
|
||||
name: 'PO_Date',
|
||||
type: 'dateTime',
|
||||
default: '',
|
||||
description: 'Date on which the purchase order was issued.',
|
||||
description: 'Date on which the purchase order was issued',
|
||||
},
|
||||
{
|
||||
displayName: 'PO Number',
|
||||
name: 'PO_Number',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'ID of the purchase order after creating a case.',
|
||||
description: 'ID of the purchase order after creating a case',
|
||||
},
|
||||
// productDetails('purchaseOrder', 'update'),
|
||||
{
|
||||
@@ -543,7 +543,7 @@ export const purchaseOrderFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getPurchaseOrderStatus',
|
||||
},
|
||||
description: 'Status of the purchase order.',
|
||||
description: 'Status of the purchase order',
|
||||
},
|
||||
{
|
||||
displayName: 'Sub Total',
|
||||
@@ -553,14 +553,14 @@ export const purchaseOrderFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
minValue: 0,
|
||||
},
|
||||
description: 'Total amount for the product excluding tax.',
|
||||
description: 'Total amount for the product excluding tax',
|
||||
},
|
||||
{
|
||||
displayName: 'Subject',
|
||||
name: 'Subject',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Subject or title of the purchase order.',
|
||||
description: 'Subject or title of the purchase order',
|
||||
},
|
||||
{
|
||||
displayName: 'Tax',
|
||||
@@ -570,14 +570,14 @@ export const purchaseOrderFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
minValue: 0,
|
||||
},
|
||||
description: 'Tax amount as the sum of sales tax and value-added tax.',
|
||||
description: 'Tax amount as the sum of sales tax and value-added tax',
|
||||
},
|
||||
{
|
||||
displayName: 'Terms and Conditions',
|
||||
name: 'Terms_and_Conditions',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Terms and conditions associated with the purchase order.',
|
||||
description: 'Terms and conditions associated with the purchase order',
|
||||
},
|
||||
{
|
||||
displayName: 'Tracking Number',
|
||||
|
||||
@@ -67,7 +67,7 @@ export const quoteFields: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Subject',
|
||||
name: 'subject',
|
||||
description: 'Subject or title of the quote.',
|
||||
description: 'Subject or title of the quote',
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
@@ -157,7 +157,7 @@ export const quoteFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
minValue: 0,
|
||||
},
|
||||
description: 'Adjustment in the grand total, if any.',
|
||||
description: 'Adjustment in the grand total, if any',
|
||||
},
|
||||
billingAddress,
|
||||
{
|
||||
@@ -171,7 +171,7 @@ export const quoteFields: INodeProperties[] = [
|
||||
name: 'Currency',
|
||||
type: 'options',
|
||||
default: 'USD',
|
||||
description: 'Symbol of the currency in which revenue is generated.',
|
||||
description: 'Symbol of the currency in which revenue is generated',
|
||||
options: currencies,
|
||||
},
|
||||
makeCustomFieldsFixedCollection('quote'),
|
||||
@@ -189,7 +189,7 @@ export const quoteFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
minValue: 0,
|
||||
},
|
||||
description: 'Exchange rate of the default currency to the home currency.',
|
||||
description: 'Exchange rate of the default currency to the home currency',
|
||||
},
|
||||
{
|
||||
displayName: 'Grand Total',
|
||||
@@ -199,7 +199,7 @@ export const quoteFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
minValue: 0,
|
||||
},
|
||||
description: 'Total amount for the product after deducting tax and discounts.',
|
||||
description: 'Total amount for the product after deducting tax and discounts',
|
||||
},
|
||||
{
|
||||
displayName: 'Quote Stage',
|
||||
@@ -209,7 +209,7 @@ export const quoteFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getQuoteStage',
|
||||
},
|
||||
description: 'Stage of the quote.',
|
||||
description: 'Stage of the quote',
|
||||
},
|
||||
shippingAddress,
|
||||
{
|
||||
@@ -220,7 +220,7 @@ export const quoteFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
minValue: 0,
|
||||
},
|
||||
description: 'Total amount for the product excluding tax.',
|
||||
description: 'Total amount for the product excluding tax',
|
||||
},
|
||||
{
|
||||
displayName: 'Tax',
|
||||
@@ -230,28 +230,28 @@ export const quoteFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
minValue: 0,
|
||||
},
|
||||
description: 'Total amount as the sum of sales tax and value-added tax.',
|
||||
description: 'Total amount as the sum of sales tax and value-added tax',
|
||||
},
|
||||
{
|
||||
displayName: 'Team',
|
||||
name: 'Team',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Team for whom the quote is created.',
|
||||
description: 'Team for whom the quote is created',
|
||||
},
|
||||
{
|
||||
displayName: 'Terms and Conditions',
|
||||
name: 'Terms_and_Conditions',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Terms and conditions associated with the quote.',
|
||||
description: 'Terms and conditions associated with the quote',
|
||||
},
|
||||
{
|
||||
displayName: 'Valid Till',
|
||||
name: 'Valid_Till',
|
||||
type: 'dateTime',
|
||||
default: '',
|
||||
description: 'Date until when the quote is valid.',
|
||||
description: 'Date until when the quote is valid',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -262,7 +262,7 @@ export const quoteFields: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Quote ID',
|
||||
name: 'quoteId',
|
||||
description: 'ID of the quote to delete.',
|
||||
description: 'ID of the quote to delete',
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
@@ -284,7 +284,7 @@ export const quoteFields: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Quote ID',
|
||||
name: 'quoteId',
|
||||
description: 'ID of the quote to retrieve.',
|
||||
description: 'ID of the quote to retrieve',
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
@@ -311,7 +311,7 @@ export const quoteFields: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Quote ID',
|
||||
name: 'quoteId',
|
||||
description: 'ID of the quote to update.',
|
||||
description: 'ID of the quote to update',
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
@@ -351,7 +351,7 @@ export const quoteFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
minValue: 0,
|
||||
},
|
||||
description: 'Adjustment in the grand total, if any.',
|
||||
description: 'Adjustment in the grand total, if any',
|
||||
},
|
||||
billingAddress,
|
||||
{
|
||||
@@ -365,7 +365,7 @@ export const quoteFields: INodeProperties[] = [
|
||||
name: 'Currency',
|
||||
type: 'options',
|
||||
default: 'USD',
|
||||
description: 'Symbol of the currency in which revenue is generated.',
|
||||
description: 'Symbol of the currency in which revenue is generated',
|
||||
options: currencies,
|
||||
},
|
||||
makeCustomFieldsFixedCollection('quote'),
|
||||
@@ -383,7 +383,7 @@ export const quoteFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
minValue: 0,
|
||||
},
|
||||
description: 'Exchange rate of the default currency to the home currency.',
|
||||
description: 'Exchange rate of the default currency to the home currency',
|
||||
},
|
||||
{
|
||||
displayName: 'Grand Total',
|
||||
@@ -393,7 +393,7 @@ export const quoteFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
minValue: 0,
|
||||
},
|
||||
description: 'Total amount for the product after deducting tax and discounts.',
|
||||
description: 'Total amount for the product after deducting tax and discounts',
|
||||
},
|
||||
{
|
||||
displayName: 'Quote Stage',
|
||||
@@ -403,7 +403,7 @@ export const quoteFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getQuoteStage',
|
||||
},
|
||||
description: 'Stage of the quote.',
|
||||
description: 'Stage of the quote',
|
||||
},
|
||||
shippingAddress,
|
||||
{
|
||||
@@ -414,14 +414,14 @@ export const quoteFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
minValue: 0,
|
||||
},
|
||||
description: 'Total amount for the product excluding tax.',
|
||||
description: 'Total amount for the product excluding tax',
|
||||
},
|
||||
{
|
||||
displayName: 'Subject',
|
||||
name: 'Subject',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Subject or title of the quote.',
|
||||
description: 'Subject or title of the quote',
|
||||
},
|
||||
{
|
||||
displayName: 'Tax',
|
||||
@@ -431,28 +431,28 @@ export const quoteFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
minValue: 0,
|
||||
},
|
||||
description: 'Tax amount as the sum of sales tax and value-added tax.',
|
||||
description: 'Tax amount as the sum of sales tax and value-added tax',
|
||||
},
|
||||
{
|
||||
displayName: 'Team',
|
||||
name: 'Team',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Team for whom the quote is created.',
|
||||
description: 'Team for whom the quote is created',
|
||||
},
|
||||
{
|
||||
displayName: 'Terms and Conditions',
|
||||
name: 'Terms_and_Conditions',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Terms and conditions associated with the quote.',
|
||||
description: 'Terms and conditions associated with the quote',
|
||||
},
|
||||
{
|
||||
displayName: 'Valid Till',
|
||||
name: 'Valid_Till',
|
||||
type: 'dateTime',
|
||||
default: '',
|
||||
description: 'Date until when the quote is valid.',
|
||||
description: 'Date until when the quote is valid',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
@@ -92,7 +92,7 @@ export const salesOrderFields: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Subject',
|
||||
name: 'subject',
|
||||
description: 'Subject or title of the sales order.',
|
||||
description: 'Subject or title of the sales order',
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
@@ -182,7 +182,7 @@ export const salesOrderFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
minValue: 0,
|
||||
},
|
||||
description: 'Adjustment in the grand total, if any.',
|
||||
description: 'Adjustment in the grand total, if any',
|
||||
},
|
||||
billingAddress,
|
||||
{
|
||||
@@ -190,7 +190,7 @@ export const salesOrderFields: INodeProperties[] = [
|
||||
name: 'Carrier',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Name of the carrier.',
|
||||
description: 'Name of the carrier',
|
||||
},
|
||||
{
|
||||
displayName: 'Contact ID',
|
||||
@@ -206,7 +206,7 @@ export const salesOrderFields: INodeProperties[] = [
|
||||
name: 'Currency',
|
||||
type: 'options',
|
||||
default: 'USD',
|
||||
description: 'Symbol of the currency in which revenue is generated.',
|
||||
description: 'Symbol of the currency in which revenue is generated',
|
||||
options: currencies,
|
||||
},
|
||||
makeCustomFieldsFixedCollection('salesOrder'),
|
||||
@@ -249,7 +249,7 @@ export const salesOrderFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
minValue: 0,
|
||||
},
|
||||
description: 'Exchange rate of the default currency to the home currency.',
|
||||
description: 'Exchange rate of the default currency to the home currency',
|
||||
},
|
||||
{
|
||||
displayName: 'Grand Total',
|
||||
@@ -259,14 +259,14 @@ export const salesOrderFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
minValue: 0,
|
||||
},
|
||||
description: 'Total amount for the product after deducting tax and discounts.',
|
||||
description: 'Total amount for the product after deducting tax and discounts',
|
||||
},
|
||||
{
|
||||
displayName: 'Sales Order Number',
|
||||
name: 'SO_Number',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'ID of the sales order after creating a case.',
|
||||
description: 'ID of the sales order after creating a case',
|
||||
},
|
||||
{
|
||||
displayName: 'Sales Commission',
|
||||
@@ -287,7 +287,7 @@ export const salesOrderFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getSalesOrderStatus',
|
||||
},
|
||||
description: 'Status of the sales order.',
|
||||
description: 'Status of the sales order',
|
||||
},
|
||||
{
|
||||
displayName: 'Sub Total',
|
||||
@@ -297,7 +297,7 @@ export const salesOrderFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
minValue: 0,
|
||||
},
|
||||
description: 'Total amount for the product excluding tax.',
|
||||
description: 'Total amount for the product excluding tax',
|
||||
},
|
||||
{
|
||||
displayName: 'Tax',
|
||||
@@ -307,14 +307,14 @@ export const salesOrderFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
minValue: 0,
|
||||
},
|
||||
description: 'Tax amount as the sum of sales tax and value-added tax.',
|
||||
description: 'Tax amount as the sum of sales tax and value-added tax',
|
||||
},
|
||||
{
|
||||
displayName: 'Terms and Conditions',
|
||||
name: 'Terms_and_Conditions',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Terms and conditions associated with the purchase order.',
|
||||
description: 'Terms and conditions associated with the purchase order',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -325,7 +325,7 @@ export const salesOrderFields: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Sales Order ID',
|
||||
name: 'salesOrderId',
|
||||
description: 'ID of the sales order to delete.',
|
||||
description: 'ID of the sales order to delete',
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
@@ -347,7 +347,7 @@ export const salesOrderFields: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Sales Order ID',
|
||||
name: 'salesOrderId',
|
||||
description: 'ID of the sales order to retrieve.',
|
||||
description: 'ID of the sales order to retrieve',
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
@@ -374,7 +374,7 @@ export const salesOrderFields: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Sales Order ID',
|
||||
name: 'salesOrderId',
|
||||
description: 'ID of the sales order to update.',
|
||||
description: 'ID of the sales order to update',
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
@@ -414,7 +414,7 @@ export const salesOrderFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getAccounts',
|
||||
},
|
||||
description: 'ID of the account associated with this invoice.',
|
||||
description: 'ID of the account associated with this invoice',
|
||||
},
|
||||
{
|
||||
displayName: 'Adjustment',
|
||||
@@ -424,7 +424,7 @@ export const salesOrderFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
minValue: 0,
|
||||
},
|
||||
description: 'Adjustment in the grand total, if any.',
|
||||
description: 'Adjustment in the grand total, if any',
|
||||
},
|
||||
billingAddress,
|
||||
{
|
||||
@@ -432,7 +432,7 @@ export const salesOrderFields: INodeProperties[] = [
|
||||
name: 'Carrier',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Name of the carrier.',
|
||||
description: 'Name of the carrier',
|
||||
},
|
||||
{
|
||||
displayName: 'Contact ID',
|
||||
@@ -448,7 +448,7 @@ export const salesOrderFields: INodeProperties[] = [
|
||||
name: 'Currency',
|
||||
type: 'options',
|
||||
default: 'USD',
|
||||
description: 'Symbol of the currency in which revenue is generated.',
|
||||
description: 'Symbol of the currency in which revenue is generated',
|
||||
options: currencies,
|
||||
},
|
||||
makeCustomFieldsFixedCollection('salesOrder'),
|
||||
@@ -490,7 +490,7 @@ export const salesOrderFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
minValue: 0,
|
||||
},
|
||||
description: 'Exchange rate of the default currency to the home currency.',
|
||||
description: 'Exchange rate of the default currency to the home currency',
|
||||
},
|
||||
{
|
||||
displayName: 'Grand Total',
|
||||
@@ -500,14 +500,14 @@ export const salesOrderFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
minValue: 0,
|
||||
},
|
||||
description: 'Total amount for the product after deducting tax and discounts.',
|
||||
description: 'Total amount for the product after deducting tax and discounts',
|
||||
},
|
||||
{
|
||||
displayName: 'Sales Order Number',
|
||||
name: 'SO_Number',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'ID of the sales order after creating a case.',
|
||||
description: 'ID of the sales order after creating a case',
|
||||
},
|
||||
{
|
||||
displayName: 'Sales Commission',
|
||||
@@ -528,7 +528,7 @@ export const salesOrderFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getSalesOrderStatus',
|
||||
},
|
||||
description: 'Status of the sales order.',
|
||||
description: 'Status of the sales order',
|
||||
},
|
||||
{
|
||||
displayName: 'Sub Total',
|
||||
@@ -538,14 +538,14 @@ export const salesOrderFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
minValue: 0,
|
||||
},
|
||||
description: 'Total amount for the product excluding tax.',
|
||||
description: 'Total amount for the product excluding tax',
|
||||
},
|
||||
{
|
||||
displayName: 'Subject',
|
||||
name: 'Subject',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Subject or title of the sales order.',
|
||||
description: 'Subject or title of the sales order',
|
||||
},
|
||||
{
|
||||
displayName: 'Tax',
|
||||
@@ -555,14 +555,14 @@ export const salesOrderFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
minValue: 0,
|
||||
},
|
||||
description: 'Tax amount as the sum of sales tax and value-added tax.',
|
||||
description: 'Tax amount as the sum of sales tax and value-added tax',
|
||||
},
|
||||
{
|
||||
displayName: 'Terms and Conditions',
|
||||
name: 'Terms_and_Conditions',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Terms and conditions associated with the purchase order.',
|
||||
description: 'Terms and conditions associated with the purchase order',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
@@ -323,7 +323,7 @@ export const makeGetAllFields = (resource: CamelCaseResource): INodeProperties[]
|
||||
name: 'returnAll',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'Return all results.',
|
||||
description: 'Whether to return all results or only up to a given limit',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
@@ -340,7 +340,7 @@ export const makeGetAllFields = (resource: CamelCaseResource): INodeProperties[]
|
||||
name: 'limit',
|
||||
type: 'number',
|
||||
default: 5,
|
||||
description: 'The number of results to return.',
|
||||
description: 'Max number of results to return',
|
||||
typeOptions: {
|
||||
minValue: 1,
|
||||
maxValue: 1000,
|
||||
@@ -398,14 +398,14 @@ export const makeGetAllFields = (resource: CamelCaseResource): INodeProperties[]
|
||||
loadOptionsMethod,
|
||||
},
|
||||
default: [],
|
||||
description: 'Return only these fields.',
|
||||
description: 'Return only these fields',
|
||||
},
|
||||
{
|
||||
displayName: 'Include Child',
|
||||
name: 'include_child',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'Retrieve only records from child territories.',
|
||||
description: 'Retrieve only records from child territories',
|
||||
},
|
||||
{
|
||||
displayName: 'Sort By',
|
||||
@@ -415,7 +415,7 @@ export const makeGetAllFields = (resource: CamelCaseResource): INodeProperties[]
|
||||
loadOptionsMethod,
|
||||
},
|
||||
default: [],
|
||||
description: 'Field to sort records by.',
|
||||
description: 'Field to sort records by',
|
||||
},
|
||||
{
|
||||
displayName: 'Sort Order',
|
||||
@@ -432,14 +432,14 @@ export const makeGetAllFields = (resource: CamelCaseResource): INodeProperties[]
|
||||
},
|
||||
],
|
||||
default: 'desc',
|
||||
description: 'Ascending or descending order sort order.',
|
||||
description: 'Ascending or descending order sort order',
|
||||
},
|
||||
{
|
||||
displayName: 'Territory ID',
|
||||
name: 'territory_id',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Retrieve only records from this territory.',
|
||||
description: 'Retrieve only records from this territory',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -457,7 +457,7 @@ export const makeCustomFieldsFixedCollection = (resource: CamelCaseResource): IN
|
||||
typeOptions: {
|
||||
multipleValues: true,
|
||||
},
|
||||
description: 'Filter by custom fields.',
|
||||
description: 'Filter by custom fields',
|
||||
default: {},
|
||||
options: [
|
||||
{
|
||||
@@ -472,14 +472,14 @@ export const makeCustomFieldsFixedCollection = (resource: CamelCaseResource): IN
|
||||
loadOptionsMethod,
|
||||
},
|
||||
default: '',
|
||||
description: 'Custom field to set a value to.',
|
||||
description: 'Custom field to set a value to',
|
||||
},
|
||||
{
|
||||
displayName: 'Value',
|
||||
name: 'value',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Value to set on custom field.',
|
||||
description: 'Value to set on custom field',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
@@ -171,7 +171,7 @@ export const vendorFields: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Vendor ID',
|
||||
name: 'vendorId',
|
||||
description: 'ID of the vendor to delete.',
|
||||
description: 'ID of the vendor to delete',
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
@@ -193,7 +193,7 @@ export const vendorFields: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Vendor ID',
|
||||
name: 'vendorId',
|
||||
description: 'ID of the vendor to retrieve.',
|
||||
description: 'ID of the vendor to retrieve',
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
@@ -220,7 +220,7 @@ export const vendorFields: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Vendor ID',
|
||||
name: 'vendorId',
|
||||
description: 'ID of the vendor to update.',
|
||||
description: 'ID of the vendor to update',
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
|
||||
Reference in New Issue
Block a user