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:
@@ -7,7 +7,7 @@ export const billAdditionalFieldsOptions: INodeProperties[] = [
|
||||
displayName: 'Accounts Payable Account',
|
||||
name: 'APAccountRef',
|
||||
placeholder: 'Add APA Fields',
|
||||
description: 'Accounts Payable account to which the bill will be credited.',
|
||||
description: 'Accounts Payable account to which the bill will be credited',
|
||||
type: 'fixedCollection',
|
||||
default: {},
|
||||
options: [
|
||||
@@ -34,21 +34,21 @@ export const billAdditionalFieldsOptions: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Balance',
|
||||
name: 'Balance',
|
||||
description: 'The balance reflecting any payments made against the transaction.',
|
||||
description: 'The balance reflecting any payments made against the transaction',
|
||||
type: 'string',
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
displayName: 'Due Date',
|
||||
name: 'DueDate',
|
||||
description: 'Date when the payment of the transaction is due.',
|
||||
description: 'Date when the payment of the transaction is due',
|
||||
type: 'dateTime',
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
displayName: 'Sales Term',
|
||||
name: 'SalesTermRef',
|
||||
description: 'Sales term associated with the transaction.',
|
||||
description: 'Sales term associated with the transaction',
|
||||
placeholder: 'Add Sales Term Fields',
|
||||
type: 'fixedCollection',
|
||||
default: {},
|
||||
@@ -76,14 +76,14 @@ export const billAdditionalFieldsOptions: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Total Amount',
|
||||
name: 'TotalAmt',
|
||||
description: 'Total amount of the transaction.',
|
||||
description: 'Total amount of the transaction',
|
||||
type: 'number',
|
||||
default: 0,
|
||||
},
|
||||
{
|
||||
displayName: 'Transaction Date',
|
||||
name: 'TxnDate',
|
||||
description: 'Date when the transaction occurred.',
|
||||
description: 'Date when the transaction occurred',
|
||||
type: 'dateTime',
|
||||
default: '',
|
||||
},
|
||||
|
||||
@@ -54,7 +54,7 @@ export const billFields: INodeProperties[] = [
|
||||
name: 'VendorRef',
|
||||
type: 'options',
|
||||
required: true,
|
||||
description: 'The ID of the vendor who the bill is for.',
|
||||
description: 'The ID of the vendor who the bill is for',
|
||||
default: [],
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getVendors',
|
||||
@@ -75,7 +75,7 @@ export const billFields: INodeProperties[] = [
|
||||
name: 'Line',
|
||||
type: 'collection',
|
||||
placeholder: 'Add Line Item Property',
|
||||
description: 'Individual line item of a transaction.',
|
||||
description: 'Individual line item of a transaction',
|
||||
typeOptions: {
|
||||
multipleValues: true,
|
||||
},
|
||||
@@ -125,14 +125,14 @@ export const billFields: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Amount',
|
||||
name: 'Amount',
|
||||
description: 'Monetary amount of the line item.',
|
||||
description: 'Monetary amount of the line item',
|
||||
type: 'number',
|
||||
default: 0,
|
||||
},
|
||||
{
|
||||
displayName: 'Description',
|
||||
name: 'Description',
|
||||
description: 'Textual description of the line item.',
|
||||
description: 'Textual description of the line item',
|
||||
type: 'string',
|
||||
default: '',
|
||||
typeOptions: {
|
||||
@@ -142,7 +142,7 @@ export const billFields: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Position',
|
||||
name: 'LineNum',
|
||||
description: 'Position of the line item relative to others.',
|
||||
description: 'Position of the line item relative to others',
|
||||
type: 'number',
|
||||
default: 1,
|
||||
},
|
||||
@@ -176,7 +176,7 @@ export const billFields: INodeProperties[] = [
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
description: 'The ID of the bill to delete.',
|
||||
description: 'The ID of the bill to delete',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
@@ -198,7 +198,7 @@ export const billFields: INodeProperties[] = [
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
description: 'The ID of the bill to retrieve.',
|
||||
description: 'The ID of the bill to retrieve',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
@@ -219,7 +219,7 @@ export const billFields: 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: [
|
||||
@@ -236,7 +236,7 @@ export const billFields: 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,
|
||||
@@ -295,7 +295,7 @@ export const billFields: INodeProperties[] = [
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
description: 'The ID of the bill to update.',
|
||||
description: 'The ID of the bill to update',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
|
||||
@@ -6,21 +6,21 @@ export const customerAdditionalFieldsOptions: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Active',
|
||||
name: 'Active',
|
||||
description: 'Whether the customer is currently enabled for use by QuickBooks.',
|
||||
description: 'Whether the customer is currently enabled for use by QuickBooks',
|
||||
type: 'boolean',
|
||||
default: true,
|
||||
},
|
||||
{
|
||||
displayName: 'Balance',
|
||||
name: 'Balance',
|
||||
description: 'Open balance amount or amount unpaid by the customer.',
|
||||
description: 'Open balance amount or amount unpaid by the customer',
|
||||
type: 'string',
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
displayName: 'Balance With Jobs',
|
||||
name: 'BalanceWithJobs',
|
||||
description: 'Cumulative open balance amount for the customer (or job) and all its sub-jobs.',
|
||||
description: 'Cumulative open balance amount for the customer (or job) and all its sub-jobs',
|
||||
type: 'number',
|
||||
default: 0,
|
||||
},
|
||||
@@ -78,7 +78,7 @@ export const customerAdditionalFieldsOptions: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Bill With Parent',
|
||||
name: 'BillWithParent',
|
||||
description: 'Bill this customer together with its parent.',
|
||||
description: 'Bill this customer together with its parent',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
},
|
||||
@@ -141,14 +141,14 @@ export const customerAdditionalFieldsOptions: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Print-On-Check Name',
|
||||
name: 'PrintOnCheckName',
|
||||
description: 'Name of the customer as printed on a check.',
|
||||
description: 'Name of the customer as printed on a check',
|
||||
type: 'string',
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
displayName: 'Taxable',
|
||||
name: 'Taxable',
|
||||
description: 'Whether transactions for this customer are taxable.',
|
||||
description: 'Whether transactions for this customer are taxable',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
},
|
||||
|
||||
@@ -51,7 +51,7 @@ export const customerFields: INodeProperties[] = [
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
description: 'The display name of the customer to create.',
|
||||
description: 'The display name of the customer to create',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
@@ -91,7 +91,7 @@ export const customerFields: INodeProperties[] = [
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
description: 'The ID of the customer to retrieve.',
|
||||
description: 'The ID of the customer to retrieve',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
@@ -112,7 +112,7 @@ export const customerFields: 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: [
|
||||
@@ -129,7 +129,7 @@ export const customerFields: 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,
|
||||
@@ -188,7 +188,7 @@ export const customerFields: INodeProperties[] = [
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
description: 'The ID of the customer to update.',
|
||||
description: 'The ID of the customer to update',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
|
||||
@@ -6,7 +6,7 @@ export const employeeAdditionalFieldsOptions: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Active',
|
||||
name: 'Active',
|
||||
description: 'Whether the employee is currently enabled for use by QuickBooks.',
|
||||
description: 'Whether the employee is currently enabled for use by QuickBooks',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
},
|
||||
@@ -82,7 +82,7 @@ export const employeeAdditionalFieldsOptions: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Print-On-Check Name',
|
||||
name: 'PrintOnCheckName',
|
||||
description: 'Name of the employee as printed on a check.',
|
||||
description: 'Name of the employee as printed on a check',
|
||||
type: 'string',
|
||||
default: '',
|
||||
},
|
||||
|
||||
@@ -105,7 +105,7 @@ export const employeeFields: INodeProperties[] = [
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
description: 'The ID of the employee to retrieve.',
|
||||
description: 'The ID of the employee to retrieve',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
@@ -126,7 +126,7 @@ export const employeeFields: 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: [
|
||||
@@ -143,7 +143,7 @@ export const employeeFields: 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,
|
||||
@@ -202,7 +202,7 @@ export const employeeFields: INodeProperties[] = [
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
description: 'The ID of the employee to update.',
|
||||
description: 'The ID of the employee to update',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
|
||||
@@ -63,7 +63,7 @@ export const estimateAdditionalFieldsOptions: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Billing Email',
|
||||
name: 'BillEmail',
|
||||
description: 'E-mail address to which the estimate will be sent.',
|
||||
description: 'E-mail address to which the estimate will be sent',
|
||||
type: 'string',
|
||||
default: '',
|
||||
},
|
||||
@@ -89,14 +89,14 @@ export const estimateAdditionalFieldsOptions: INodeProperties[] = [
|
||||
loadOptionsMethod: 'getCustomFields',
|
||||
},
|
||||
default: '',
|
||||
description: 'ID of the field to set.',
|
||||
description: 'ID of the field to set',
|
||||
},
|
||||
{
|
||||
displayName: 'Field Value',
|
||||
name: 'StringValue',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Value of the field to set.',
|
||||
description: 'Value of the field to set',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -112,7 +112,7 @@ export const estimateAdditionalFieldsOptions: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Document Number',
|
||||
name: 'DocNumber',
|
||||
description: 'Reference number for the transaction.',
|
||||
description: 'Reference number for the transaction',
|
||||
type: 'string',
|
||||
default: '',
|
||||
},
|
||||
@@ -210,21 +210,21 @@ export const estimateAdditionalFieldsOptions: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Total Amount',
|
||||
name: 'TotalAmt',
|
||||
description: 'Total amount of the transaction.',
|
||||
description: 'Total amount of the transaction',
|
||||
type: 'number',
|
||||
default: 0,
|
||||
},
|
||||
{
|
||||
displayName: 'Transaction Date',
|
||||
name: 'TxnDate',
|
||||
description: 'Date when the transaction occurred.',
|
||||
description: 'Date when the transaction occurred',
|
||||
type: 'dateTime',
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
displayName: 'Total Tax',
|
||||
name: 'TotalTax',
|
||||
description: 'Total amount of tax incurred.',
|
||||
description: 'Total amount of tax incurred',
|
||||
type: 'number',
|
||||
default: 0,
|
||||
},
|
||||
|
||||
@@ -58,7 +58,7 @@ export const estimateFields: INodeProperties[] = [
|
||||
name: 'CustomerRef',
|
||||
type: 'options',
|
||||
required: true,
|
||||
description: 'The ID of the customer who the estimate is for.',
|
||||
description: 'The ID of the customer who the estimate is for',
|
||||
default: [],
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getCustomers',
|
||||
@@ -79,7 +79,7 @@ export const estimateFields: INodeProperties[] = [
|
||||
name: 'Line',
|
||||
type: 'collection',
|
||||
placeholder: 'Add Line Item Property',
|
||||
description: 'Individual line item of a transaction.',
|
||||
description: 'Individual line item of a transaction',
|
||||
typeOptions: {
|
||||
multipleValues: true,
|
||||
},
|
||||
@@ -119,14 +119,14 @@ export const estimateFields: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Amount',
|
||||
name: 'Amount',
|
||||
description: 'Monetary amount of the line item.',
|
||||
description: 'Monetary amount of the line item',
|
||||
type: 'number',
|
||||
default: 0,
|
||||
},
|
||||
{
|
||||
displayName: 'Description',
|
||||
name: 'Description',
|
||||
description: 'Textual description of the line item.',
|
||||
description: 'Textual description of the line item',
|
||||
type: 'string',
|
||||
default: '',
|
||||
typeOptions: {
|
||||
@@ -136,7 +136,7 @@ export const estimateFields: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Position',
|
||||
name: 'LineNum',
|
||||
description: 'Position of the line item relative to others.',
|
||||
description: 'Position of the line item relative to others',
|
||||
type: 'number',
|
||||
default: 1,
|
||||
},
|
||||
@@ -170,7 +170,7 @@ export const estimateFields: INodeProperties[] = [
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
description: 'The ID of the estimate to delete.',
|
||||
description: 'The ID of the estimate to delete',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
@@ -192,7 +192,7 @@ export const estimateFields: INodeProperties[] = [
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
description: 'The ID of the estimate to retrieve.',
|
||||
description: 'The ID of the estimate to retrieve',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
@@ -210,7 +210,7 @@ export const estimateFields: INodeProperties[] = [
|
||||
type: 'boolean',
|
||||
required: true,
|
||||
default: false,
|
||||
description: 'Download the estimate as a PDF file.',
|
||||
description: 'Download the estimate as a PDF file',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
@@ -228,7 +228,7 @@ export const estimateFields: INodeProperties[] = [
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: 'data',
|
||||
description: 'Name of the binary property to which to write to.',
|
||||
description: 'Name of the binary property to which to write to',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
@@ -250,7 +250,7 @@ export const estimateFields: INodeProperties[] = [
|
||||
required: true,
|
||||
default: '',
|
||||
placeholder: 'data.pdf',
|
||||
description: 'Name of the file that will be downloaded.',
|
||||
description: 'Name of the file that will be downloaded',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
@@ -274,7 +274,7 @@ export const estimateFields: 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: [
|
||||
@@ -291,7 +291,7 @@ export const estimateFields: 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,
|
||||
@@ -350,7 +350,7 @@ export const estimateFields: INodeProperties[] = [
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
description: 'The ID of the estimate to send.',
|
||||
description: 'The ID of the estimate to send',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
@@ -368,7 +368,7 @@ export const estimateFields: INodeProperties[] = [
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
description: 'The email of the recipient of the estimate.',
|
||||
description: 'The email of the recipient of the estimate',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
@@ -390,7 +390,7 @@ export const estimateFields: INodeProperties[] = [
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
description: 'The ID of the estimate to update.',
|
||||
description: 'The ID of the estimate to update',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
|
||||
@@ -6,7 +6,7 @@ export const invoiceAdditionalFieldsOptions: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Balance',
|
||||
name: 'Balance',
|
||||
description: 'The balance reflecting any payments made against the transaction.',
|
||||
description: 'The balance reflecting any payments made against the transaction',
|
||||
type: 'number',
|
||||
default: 0,
|
||||
},
|
||||
@@ -64,7 +64,7 @@ export const invoiceAdditionalFieldsOptions: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Billing Email',
|
||||
name: 'BillEmail',
|
||||
description: 'E-mail address to which the invoice will be sent.',
|
||||
description: 'E-mail address to which the invoice will be sent',
|
||||
type: 'string',
|
||||
default: '',
|
||||
},
|
||||
@@ -97,14 +97,14 @@ export const invoiceAdditionalFieldsOptions: INodeProperties[] = [
|
||||
loadOptionsMethod: 'getCustomFields',
|
||||
},
|
||||
default: '',
|
||||
description: 'ID of the field to set.',
|
||||
description: 'ID of the field to set',
|
||||
},
|
||||
{
|
||||
displayName: 'Field Value',
|
||||
name: 'StringValue',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'Value of the field to set.',
|
||||
description: 'Value of the field to set',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -113,14 +113,14 @@ export const invoiceAdditionalFieldsOptions: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Document Number',
|
||||
name: 'DocNumber',
|
||||
description: 'Reference number for the transaction.',
|
||||
description: 'Reference number for the transaction',
|
||||
type: 'string',
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
displayName: 'Due Date',
|
||||
name: 'DueDate',
|
||||
description: 'Date when the payment of the transaction is due.',
|
||||
description: 'Date when the payment of the transaction is due',
|
||||
type: 'dateTime',
|
||||
default: '',
|
||||
},
|
||||
@@ -173,14 +173,14 @@ export const invoiceAdditionalFieldsOptions: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Total Amount',
|
||||
name: 'TotalAmt',
|
||||
description: 'Total amount of the transaction.',
|
||||
description: 'Total amount of the transaction',
|
||||
type: 'number',
|
||||
default: 0,
|
||||
},
|
||||
{
|
||||
displayName: 'Transaction Date',
|
||||
name: 'TxnDate',
|
||||
description: 'Date when the transaction occurred.',
|
||||
description: 'Date when the transaction occurred',
|
||||
type: 'dateTime',
|
||||
default: '',
|
||||
},
|
||||
|
||||
@@ -62,7 +62,7 @@ export const invoiceFields: INodeProperties[] = [
|
||||
name: 'CustomerRef',
|
||||
type: 'options',
|
||||
required: true,
|
||||
description: 'The ID of the customer who the invoice is for.',
|
||||
description: 'The ID of the customer who the invoice is for',
|
||||
default: [],
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getCustomers',
|
||||
@@ -83,7 +83,7 @@ export const invoiceFields: INodeProperties[] = [
|
||||
name: 'Line',
|
||||
type: 'collection',
|
||||
placeholder: 'Add Line Item Property',
|
||||
description: 'Individual line item of a transaction.',
|
||||
description: 'Individual line item of a transaction',
|
||||
typeOptions: {
|
||||
multipleValues: true,
|
||||
},
|
||||
@@ -123,14 +123,14 @@ export const invoiceFields: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Amount',
|
||||
name: 'Amount',
|
||||
description: 'Monetary amount of the line item.',
|
||||
description: 'Monetary amount of the line item',
|
||||
type: 'number',
|
||||
default: 0,
|
||||
},
|
||||
{
|
||||
displayName: 'Description',
|
||||
name: 'Description',
|
||||
description: 'Textual description of the line item.',
|
||||
description: 'Textual description of the line item',
|
||||
type: 'string',
|
||||
default: '',
|
||||
typeOptions: {
|
||||
@@ -140,7 +140,7 @@ export const invoiceFields: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Position',
|
||||
name: 'LineNum',
|
||||
description: 'Position of the line item relative to others.',
|
||||
description: 'Position of the line item relative to others',
|
||||
type: 'number',
|
||||
default: 1,
|
||||
},
|
||||
@@ -174,7 +174,7 @@ export const invoiceFields: INodeProperties[] = [
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
description: 'The ID of the invoice to delete.',
|
||||
description: 'The ID of the invoice to delete',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
@@ -196,7 +196,7 @@ export const invoiceFields: INodeProperties[] = [
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
description: 'The ID of the invoice to retrieve.',
|
||||
description: 'The ID of the invoice to retrieve',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
@@ -214,7 +214,7 @@ export const invoiceFields: INodeProperties[] = [
|
||||
type: 'boolean',
|
||||
required: true,
|
||||
default: false,
|
||||
description: 'Download the invoice as a PDF file.',
|
||||
description: 'Download the invoice as a PDF file',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
@@ -232,7 +232,7 @@ export const invoiceFields: INodeProperties[] = [
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: 'data',
|
||||
description: 'Name of the binary property to which to write to.',
|
||||
description: 'Name of the binary property to which to write to',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
@@ -254,7 +254,7 @@ export const invoiceFields: INodeProperties[] = [
|
||||
required: true,
|
||||
default: '',
|
||||
placeholder: 'data.pdf',
|
||||
description: 'Name of the file that will be downloaded.',
|
||||
description: 'Name of the file that will be downloaded',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
@@ -278,7 +278,7 @@ export const invoiceFields: 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: [
|
||||
@@ -295,7 +295,7 @@ export const invoiceFields: 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,
|
||||
@@ -354,7 +354,7 @@ export const invoiceFields: INodeProperties[] = [
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
description: 'The ID of the invoice to send.',
|
||||
description: 'The ID of the invoice to send',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
@@ -372,7 +372,7 @@ export const invoiceFields: INodeProperties[] = [
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
description: 'The email of the recipient of the invoice.',
|
||||
description: 'The email of the recipient of the invoice',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
@@ -394,7 +394,7 @@ export const invoiceFields: INodeProperties[] = [
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
description: 'The ID of the invoice to void.',
|
||||
description: 'The ID of the invoice to void',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
@@ -416,7 +416,7 @@ export const invoiceFields: INodeProperties[] = [
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
description: 'The ID of the invoice to update.',
|
||||
description: 'The ID of the invoice to update',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
|
||||
@@ -39,7 +39,7 @@ export const itemFields: INodeProperties[] = [
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
description: 'The ID of the item to retrieve.',
|
||||
description: 'The ID of the item to retrieve',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
@@ -60,7 +60,7 @@ export const itemFields: 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: [
|
||||
@@ -77,7 +77,7 @@ export const itemFields: 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,
|
||||
|
||||
@@ -6,7 +6,7 @@ export const paymentAdditionalFieldsOptions: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Transaction Date',
|
||||
name: 'TxnDate',
|
||||
description: 'Date when the transaction occurred.',
|
||||
description: 'Date when the transaction occurred',
|
||||
type: 'dateTime',
|
||||
default: '',
|
||||
},
|
||||
|
||||
@@ -62,7 +62,7 @@ export const paymentFields: INodeProperties[] = [
|
||||
name: 'CustomerRef',
|
||||
type: 'options',
|
||||
required: true,
|
||||
description: 'The ID of the customer who the payment is for.',
|
||||
description: 'The ID of the customer who the payment is for',
|
||||
default: [],
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getCustomers',
|
||||
@@ -81,7 +81,7 @@ export const paymentFields: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Total Amount',
|
||||
name: 'TotalAmt',
|
||||
description: 'Total amount of the transaction.',
|
||||
description: 'Total amount of the transaction',
|
||||
type: 'number',
|
||||
default: 0,
|
||||
displayOptions: {
|
||||
@@ -123,7 +123,7 @@ export const paymentFields: INodeProperties[] = [
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
description: 'The ID of the payment to delete.',
|
||||
description: 'The ID of the payment to delete',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
@@ -145,7 +145,7 @@ export const paymentFields: INodeProperties[] = [
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
description: 'The ID of the payment to retrieve.',
|
||||
description: 'The ID of the payment to retrieve',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
@@ -181,7 +181,7 @@ export const paymentFields: INodeProperties[] = [
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: 'data',
|
||||
description: 'Name of the binary property to which to write to.',
|
||||
description: 'Name of the binary property to which to write to',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
@@ -203,7 +203,7 @@ export const paymentFields: INodeProperties[] = [
|
||||
required: true,
|
||||
default: '',
|
||||
placeholder: 'data.pdf',
|
||||
description: 'Name of the file that will be downloaded.',
|
||||
description: 'Name of the file that will be downloaded',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
@@ -227,7 +227,7 @@ export const paymentFields: 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: [
|
||||
@@ -244,7 +244,7 @@ export const paymentFields: 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,
|
||||
@@ -303,7 +303,7 @@ export const paymentFields: INodeProperties[] = [
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
description: 'The ID of the payment to send.',
|
||||
description: 'The ID of the payment to send',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
@@ -321,7 +321,7 @@ export const paymentFields: INodeProperties[] = [
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
description: 'The email of the recipient of the payment.',
|
||||
description: 'The email of the recipient of the payment',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
@@ -343,7 +343,7 @@ export const paymentFields: INodeProperties[] = [
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
description: 'The ID of the payment to void.',
|
||||
description: 'The ID of the payment to void',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
@@ -365,7 +365,7 @@ export const paymentFields: INodeProperties[] = [
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
description: 'The ID of the payment to update.',
|
||||
description: 'The ID of the payment to update',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
|
||||
@@ -39,7 +39,7 @@ export const purchaseFields: INodeProperties[] = [
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
description: 'The ID of the purchase to retrieve.',
|
||||
description: 'The ID of the purchase to retrieve',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
@@ -60,7 +60,7 @@ export const purchaseFields: 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: [
|
||||
@@ -77,7 +77,7 @@ export const purchaseFields: 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,
|
||||
|
||||
@@ -58,7 +58,7 @@ export const transactionFields: INodeProperties[] = [
|
||||
},
|
||||
},
|
||||
default: true,
|
||||
description: 'Return a simplified version of the response instead of the raw data.',
|
||||
description: 'Return a simplified version of the response instead of the raw data',
|
||||
},
|
||||
{
|
||||
displayName: 'Filters',
|
||||
|
||||
@@ -12,14 +12,14 @@ export const vendorAdditionalFieldsOptions: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Active',
|
||||
name: 'Active',
|
||||
description: 'Whether the employee is currently enabled for use by QuickBooks.',
|
||||
description: 'Whether the employee is currently enabled for use by QuickBooks',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
},
|
||||
{
|
||||
displayName: 'Balance',
|
||||
name: 'Balance',
|
||||
description: 'The balance reflecting any payments made against the transaction.',
|
||||
description: 'The balance reflecting any payments made against the transaction',
|
||||
type: 'number',
|
||||
default: 0,
|
||||
},
|
||||
@@ -107,14 +107,14 @@ export const vendorAdditionalFieldsOptions: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'Print-On-Check Name',
|
||||
name: 'PrintOnCheckName',
|
||||
description: 'Name of the vendor as printed on a check.',
|
||||
description: 'Name of the vendor as printed on a check',
|
||||
type: 'string',
|
||||
default: '',
|
||||
},
|
||||
{
|
||||
displayName: 'Vendor 1099',
|
||||
name: 'Vendor1099',
|
||||
description: 'Whether the vendor is an independent contractor, given a 1099-MISC form at the end of the year.',
|
||||
description: 'Whether the vendor is an independent contractor, given a 1099-MISC form at the end of the year',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
},
|
||||
|
||||
@@ -51,7 +51,7 @@ export const vendorFields: INodeProperties[] = [
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
description: 'The display name of the vendor to create.',
|
||||
description: 'The display name of the vendor to create',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
@@ -91,7 +91,7 @@ export const vendorFields: INodeProperties[] = [
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
description: 'The ID of the vendor to retrieve.',
|
||||
description: 'The ID of the vendor to retrieve',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
@@ -112,7 +112,7 @@ export const vendorFields: 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: [
|
||||
@@ -129,7 +129,7 @@ export const vendorFields: 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,
|
||||
@@ -188,7 +188,7 @@ export const vendorFields: INodeProperties[] = [
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
description: 'The ID of the vendor to update.',
|
||||
description: 'The ID of the vendor to update',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
|
||||
Reference in New Issue
Block a user