mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
n8n-3867-progressively-apply-prettier-to-all (#3873)
* 🔨 formatting nodes with prettier
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
import {
|
||||
INodeProperties,
|
||||
} from 'n8n-workflow';
|
||||
import { INodeProperties } from 'n8n-workflow';
|
||||
|
||||
export const taskOperations: INodeProperties[] = [
|
||||
{
|
||||
@@ -10,9 +8,7 @@ export const taskOperations: INodeProperties[] = [
|
||||
noDataExpression: true,
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'task',
|
||||
],
|
||||
resource: ['task'],
|
||||
},
|
||||
},
|
||||
options: [
|
||||
@@ -43,7 +39,7 @@ export const taskOperations: INodeProperties[] = [
|
||||
{
|
||||
name: 'Get Summary',
|
||||
value: 'getSummary',
|
||||
description: 'Returns an overview of task\'s metadata',
|
||||
description: "Returns an overview of task's metadata",
|
||||
action: 'Get a task summary',
|
||||
},
|
||||
{
|
||||
@@ -58,7 +54,6 @@ export const taskOperations: INodeProperties[] = [
|
||||
];
|
||||
|
||||
export const taskFields: INodeProperties[] = [
|
||||
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* task:create */
|
||||
/* -------------------------------------------------------------------------- */
|
||||
@@ -70,18 +65,15 @@ export const taskFields: INodeProperties[] = [
|
||||
default: '',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'task',
|
||||
],
|
||||
operation: [
|
||||
'create',
|
||||
],
|
||||
resource: ['task'],
|
||||
operation: ['create'],
|
||||
},
|
||||
},
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getTaskStatuses',
|
||||
},
|
||||
description: 'The current status of the task, such as In Progress or Completed. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
|
||||
description:
|
||||
'The current status of the task, such as In Progress or Completed. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Additional Fields',
|
||||
@@ -91,12 +83,8 @@ export const taskFields: INodeProperties[] = [
|
||||
default: {},
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'task',
|
||||
],
|
||||
operation: [
|
||||
'create',
|
||||
],
|
||||
resource: ['task'],
|
||||
operation: ['create'],
|
||||
},
|
||||
},
|
||||
options: [
|
||||
@@ -105,7 +93,8 @@ export const taskFields: INodeProperties[] = [
|
||||
name: 'activityDate',
|
||||
type: 'dateTime',
|
||||
default: '',
|
||||
description: 'Represents the due date of the task. This field has a timestamp that is always set to midnight in the Coordinated Universal Time (UTC) time zone.',
|
||||
description:
|
||||
'Represents the due date of the task. This field has a timestamp that is always set to midnight in the Coordinated Universal Time (UTC) time zone.',
|
||||
},
|
||||
{
|
||||
displayName: 'Call Disposition',
|
||||
@@ -115,14 +104,16 @@ export const taskFields: INodeProperties[] = [
|
||||
alwaysOpenEditWindow: true,
|
||||
},
|
||||
default: '',
|
||||
description: 'Represents the result of a given call, for example, “we\'ll call back,” or “call unsuccessful.” Limit is 255 characters. Not subject to field-level security, available for any user in an organization with Salesforce CRM Call Center.',
|
||||
description:
|
||||
"Represents the result of a given call, for example, “we'll call back,” or “call unsuccessful.” Limit is 255 characters. Not subject to field-level security, available for any user in an organization with Salesforce CRM Call Center.",
|
||||
},
|
||||
{
|
||||
displayName: 'Call Duration In Seconds',
|
||||
name: 'callDurationInSeconds',
|
||||
type: 'number',
|
||||
default: '',
|
||||
description: 'Duration of the call in seconds. Not subject to field-level security, available for any user in an organization with Salesforce CRM Call Center.',
|
||||
description:
|
||||
'Duration of the call in seconds. Not subject to field-level security, available for any user in an organization with Salesforce CRM Call Center.',
|
||||
},
|
||||
{
|
||||
displayName: 'Call Object',
|
||||
@@ -132,7 +123,8 @@ export const taskFields: INodeProperties[] = [
|
||||
alwaysOpenEditWindow: true,
|
||||
},
|
||||
default: '',
|
||||
description: 'Name of a call center. Limit is 255 characters. Not subject to field-level security, available for any user in an organization with Salesforce CRM Call Center.',
|
||||
description:
|
||||
'Name of a call center. Limit is 255 characters. Not subject to field-level security, available for any user in an organization with Salesforce CRM Call Center.',
|
||||
},
|
||||
{
|
||||
displayName: 'Call Type Name or ID',
|
||||
@@ -142,7 +134,8 @@ export const taskFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getTaskCallTypes',
|
||||
},
|
||||
description: 'The type of call being answered: Inbound, Internal, or Outbound. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
|
||||
description:
|
||||
'The type of call being answered: Inbound, Internal, or Outbound. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Custom Fields',
|
||||
@@ -167,7 +160,8 @@ export const taskFields: INodeProperties[] = [
|
||||
loadOptionsMethod: 'getCustomFields',
|
||||
},
|
||||
default: '',
|
||||
description: 'The ID of the field to add custom field to. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
|
||||
description:
|
||||
'The ID of the field to add custom field to. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Value',
|
||||
@@ -205,7 +199,8 @@ export const taskFields: INodeProperties[] = [
|
||||
loadOptionsMethod: 'getUsers',
|
||||
},
|
||||
default: '',
|
||||
description: 'ID of the User who owns the record. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
|
||||
description:
|
||||
'ID of the User who owns the record. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Priority Name or ID',
|
||||
@@ -215,7 +210,8 @@ export const taskFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getTaskPriorities',
|
||||
},
|
||||
description: 'Indicates the importance or urgency of a task, such as high or low. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
|
||||
description:
|
||||
'Indicates the importance or urgency of a task, such as high or low. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Recurrence Type Name or ID',
|
||||
@@ -225,7 +221,8 @@ export const taskFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getTaskRecurrenceTypes',
|
||||
},
|
||||
description: 'Recurrence Type of the task. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
|
||||
description:
|
||||
'Recurrence Type of the task. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Recurrence Instance Name or ID',
|
||||
@@ -235,7 +232,8 @@ export const taskFields: INodeProperties[] = [
|
||||
loadOptionsMethod: 'getTaskRecurrenceInstances',
|
||||
},
|
||||
default: '',
|
||||
description: 'The frequency of the recurring task. For example, “2nd” or “3rd.”. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
|
||||
description:
|
||||
'The frequency of the recurring task. For example, “2nd” or “3rd.”. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Recurrence Interval',
|
||||
@@ -256,14 +254,16 @@ export const taskFields: INodeProperties[] = [
|
||||
name: 'recurrenceDayOfWeekMask',
|
||||
type: 'number',
|
||||
default: '',
|
||||
description: 'The day or days of the week on which the task repeats. This field contains a bitmask. The values are as follows: Sunday = 1 Monday = 2 Tuesday = 4 Wednesday = 8 Thursday = 16 Friday = 32 Saturday = 64 Multiple days are represented as the sum of their numerical values. For example, Tuesday and Thursday = 4 + 16 = 20.',
|
||||
description:
|
||||
'The day or days of the week on which the task repeats. This field contains a bitmask. The values are as follows: Sunday = 1 Monday = 2 Tuesday = 4 Wednesday = 8 Thursday = 16 Friday = 32 Saturday = 64 Multiple days are represented as the sum of their numerical values. For example, Tuesday and Thursday = 4 + 16 = 20.',
|
||||
},
|
||||
{
|
||||
displayName: 'Recurrence End Date Only',
|
||||
name: 'recurrenceEndDateOnly',
|
||||
type: 'dateTime',
|
||||
default: '',
|
||||
description: 'The last date on which the task repeats. This field has a timestamp that is always set to midnight in the Coordinated Universal Time (UTC) time zone.',
|
||||
description:
|
||||
'The last date on which the task repeats. This field has a timestamp that is always set to midnight in the Coordinated Universal Time (UTC) time zone.',
|
||||
},
|
||||
{
|
||||
displayName: 'Recurrence Month Of Year',
|
||||
@@ -342,28 +342,32 @@ export const taskFields: INodeProperties[] = [
|
||||
value: 'RecurrenceRegenerated',
|
||||
},
|
||||
],
|
||||
description: 'Represents what triggers a repeating task to repeat. Add this field to a page layout together with the RecurrenceInterval field, which determines the number of days between the triggering date (due date or close date) and the due date of the next repeating task in the series. Label is Repeat This Task.',
|
||||
description:
|
||||
'Represents what triggers a repeating task to repeat. Add this field to a page layout together with the RecurrenceInterval field, which determines the number of days between the triggering date (due date or close date) and the due date of the next repeating task in the series. Label is Repeat This Task.',
|
||||
},
|
||||
{
|
||||
displayName: 'Recurrence Start Date Only',
|
||||
name: 'recurrenceEndDateOnly',
|
||||
type: 'dateTime',
|
||||
default: '',
|
||||
description: 'The date when the recurring task begins. Must be a date and time before RecurrenceEndDateOnly.',
|
||||
description:
|
||||
'The date when the recurring task begins. Must be a date and time before RecurrenceEndDateOnly.',
|
||||
},
|
||||
{
|
||||
displayName: 'Recurrence TimeZone SidKey',
|
||||
name: 'recurrenceTimeZoneSidKey',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The time zone associated with the recurring task. For example, “UTC-8:00” for Pacific Standard Time.',
|
||||
description:
|
||||
'The time zone associated with the recurring task. For example, “UTC-8:00” for Pacific Standard Time.',
|
||||
},
|
||||
{
|
||||
displayName: 'Reminder Date Time',
|
||||
name: 'reminderDateTime',
|
||||
type: 'dateTime',
|
||||
default: '',
|
||||
description: 'Represents the time when the reminder is scheduled to fire, if IsReminderSet is set to true. If IsReminderSet is set to false, then the user may have deselected the reminder checkbox in the Salesforce user interface, or the reminder has already fired at the time indicated by the value.',
|
||||
description:
|
||||
'Represents the time when the reminder is scheduled to fire, if IsReminderSet is set to true. If IsReminderSet is set to false, then the user may have deselected the reminder checkbox in the Salesforce user interface, or the reminder has already fired at the time indicated by the value.',
|
||||
},
|
||||
{
|
||||
displayName: 'Subject Name or ID',
|
||||
@@ -373,7 +377,8 @@ export const taskFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getTaskSubjects',
|
||||
},
|
||||
description: 'The subject line of the task, such as “Call” or “Send Quote.” Limit: 255 characters. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
|
||||
description:
|
||||
'The subject line of the task, such as “Call” or “Send Quote.” Limit: 255 characters. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Type Name or ID',
|
||||
@@ -383,21 +388,24 @@ export const taskFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getTaskTypes',
|
||||
},
|
||||
description: 'Represents Type of the task, such as Call or Meeting. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
|
||||
description:
|
||||
'Represents Type of the task, such as Call or Meeting. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'What ID',
|
||||
name: 'whatId',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The WhatId represents nonhuman objects such as accounts, opportunities, campaigns, cases, or custom objects. WhatIds are polymorphic. Polymorphic means a WhatId is equivalent to the ID of a related object.',
|
||||
description:
|
||||
'The WhatId represents nonhuman objects such as accounts, opportunities, campaigns, cases, or custom objects. WhatIds are polymorphic. Polymorphic means a WhatId is equivalent to the ID of a related object.',
|
||||
},
|
||||
{
|
||||
displayName: 'Who ID',
|
||||
name: 'whoId',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The WhoId represents a human such as a lead or a contact. WhoIds are polymorphic. Polymorphic means a WhoId is equivalent to a contact’s ID or a lead’s ID.',
|
||||
description:
|
||||
'The WhoId represents a human such as a lead or a contact. WhoIds are polymorphic. Polymorphic means a WhoId is equivalent to a contact’s ID or a lead’s ID.',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -413,12 +421,8 @@ export const taskFields: INodeProperties[] = [
|
||||
default: '',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'task',
|
||||
],
|
||||
operation: [
|
||||
'update',
|
||||
],
|
||||
resource: ['task'],
|
||||
operation: ['update'],
|
||||
},
|
||||
},
|
||||
description: 'ID of task that needs to be fetched',
|
||||
@@ -431,12 +435,8 @@ export const taskFields: INodeProperties[] = [
|
||||
default: {},
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'task',
|
||||
],
|
||||
operation: [
|
||||
'update',
|
||||
],
|
||||
resource: ['task'],
|
||||
operation: ['update'],
|
||||
},
|
||||
},
|
||||
options: [
|
||||
@@ -445,7 +445,8 @@ export const taskFields: INodeProperties[] = [
|
||||
name: 'activityDate',
|
||||
type: 'dateTime',
|
||||
default: '',
|
||||
description: 'Represents the due date of the task. This field has a timestamp that is always set to midnight in the Coordinated Universal Time (UTC) time zone.',
|
||||
description:
|
||||
'Represents the due date of the task. This field has a timestamp that is always set to midnight in the Coordinated Universal Time (UTC) time zone.',
|
||||
},
|
||||
{
|
||||
displayName: 'Call Disposition',
|
||||
@@ -455,14 +456,16 @@ export const taskFields: INodeProperties[] = [
|
||||
alwaysOpenEditWindow: true,
|
||||
},
|
||||
default: '',
|
||||
description: 'Represents the result of a given call, for example, “we\'ll call back,” or “call unsuccessful.” Limit is 255 characters. Not subject to field-level security, available for any user in an organization with Salesforce CRM Call Center.',
|
||||
description:
|
||||
"Represents the result of a given call, for example, “we'll call back,” or “call unsuccessful.” Limit is 255 characters. Not subject to field-level security, available for any user in an organization with Salesforce CRM Call Center.",
|
||||
},
|
||||
{
|
||||
displayName: 'Call Duration In Seconds',
|
||||
name: 'callDurationInSeconds',
|
||||
type: 'number',
|
||||
default: '',
|
||||
description: 'Duration of the call in seconds. Not subject to field-level security, available for any user in an organization with Salesforce CRM Call Center.',
|
||||
description:
|
||||
'Duration of the call in seconds. Not subject to field-level security, available for any user in an organization with Salesforce CRM Call Center.',
|
||||
},
|
||||
{
|
||||
displayName: 'Call Object',
|
||||
@@ -472,7 +475,8 @@ export const taskFields: INodeProperties[] = [
|
||||
alwaysOpenEditWindow: true,
|
||||
},
|
||||
default: '',
|
||||
description: 'Name of a call center. Limit is 255 characters. Not subject to field-level security, available for any user in an organization with Salesforce CRM Call Center.',
|
||||
description:
|
||||
'Name of a call center. Limit is 255 characters. Not subject to field-level security, available for any user in an organization with Salesforce CRM Call Center.',
|
||||
},
|
||||
{
|
||||
displayName: 'Call Type Name or ID',
|
||||
@@ -482,7 +486,8 @@ export const taskFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getTaskCallTypes',
|
||||
},
|
||||
description: 'The type of call being answered: Inbound, Internal, or Outbound. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
|
||||
description:
|
||||
'The type of call being answered: Inbound, Internal, or Outbound. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Custom Fields',
|
||||
@@ -507,7 +512,8 @@ export const taskFields: INodeProperties[] = [
|
||||
loadOptionsMethod: 'getCustomFields',
|
||||
},
|
||||
default: '',
|
||||
description: 'The ID of the field to add custom field to. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
|
||||
description:
|
||||
'The ID of the field to add custom field to. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Value',
|
||||
@@ -545,7 +551,8 @@ export const taskFields: INodeProperties[] = [
|
||||
loadOptionsMethod: 'getUsers',
|
||||
},
|
||||
default: '',
|
||||
description: 'ID of the User who owns the record. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
|
||||
description:
|
||||
'ID of the User who owns the record. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Priority Name or ID',
|
||||
@@ -555,7 +562,8 @@ export const taskFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getTaskPriorities',
|
||||
},
|
||||
description: 'Indicates the importance or urgency of a task, such as high or low. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
|
||||
description:
|
||||
'Indicates the importance or urgency of a task, such as high or low. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Status Name or ID',
|
||||
@@ -565,7 +573,8 @@ export const taskFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getTaskStatuses',
|
||||
},
|
||||
description: 'The current status of the task, such as In Progress or Completed. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
|
||||
description:
|
||||
'The current status of the task, such as In Progress or Completed. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Subject Name or ID',
|
||||
@@ -575,7 +584,8 @@ export const taskFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getTaskSubjects',
|
||||
},
|
||||
description: 'The subject line of the task, such as “Call” or “Send Quote.” Limit: 255 characters. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
|
||||
description:
|
||||
'The subject line of the task, such as “Call” or “Send Quote.” Limit: 255 characters. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Recurrence Day Of Month',
|
||||
@@ -589,14 +599,16 @@ export const taskFields: INodeProperties[] = [
|
||||
name: 'recurrenceDayOfWeekMask',
|
||||
type: 'number',
|
||||
default: '',
|
||||
description: 'The day or days of the week on which the task repeats. This field contains a bitmask. The values are as follows: Sunday = 1 Monday = 2 Tuesday = 4 Wednesday = 8 Thursday = 16 Friday = 32 Saturday = 64. Multiple days are represented as the sum of their numerical values. For example, Tuesday and Thursday = 4 + 16 = 20.',
|
||||
description:
|
||||
'The day or days of the week on which the task repeats. This field contains a bitmask. The values are as follows: Sunday = 1 Monday = 2 Tuesday = 4 Wednesday = 8 Thursday = 16 Friday = 32 Saturday = 64. Multiple days are represented as the sum of their numerical values. For example, Tuesday and Thursday = 4 + 16 = 20.',
|
||||
},
|
||||
{
|
||||
displayName: 'Recurrence End Date Only',
|
||||
name: 'recurrenceEndDateOnly',
|
||||
type: 'dateTime',
|
||||
default: '',
|
||||
description: 'The last date on which the task repeats. This field has a timestamp that is always set to midnight in the Coordinated Universal Time (UTC) time zone.',
|
||||
description:
|
||||
'The last date on which the task repeats. This field has a timestamp that is always set to midnight in the Coordinated Universal Time (UTC) time zone.',
|
||||
},
|
||||
{
|
||||
displayName: 'Recurrence Instance Name or ID',
|
||||
@@ -606,7 +618,8 @@ export const taskFields: INodeProperties[] = [
|
||||
loadOptionsMethod: 'getTaskRecurrenceInstances',
|
||||
},
|
||||
default: '',
|
||||
description: 'The frequency of the recurring task. For example, “2nd” or “3rd.”. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
|
||||
description:
|
||||
'The frequency of the recurring task. For example, “2nd” or “3rd.”. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Recurrence Interval',
|
||||
@@ -678,7 +691,8 @@ export const taskFields: INodeProperties[] = [
|
||||
name: 'recurrenceEndDateOnly',
|
||||
type: 'dateTime',
|
||||
default: '',
|
||||
description: 'The date when the recurring task begins. Must be a date and time before RecurrenceEndDateOnly.',
|
||||
description:
|
||||
'The date when the recurring task begins. Must be a date and time before RecurrenceEndDateOnly.',
|
||||
},
|
||||
{
|
||||
displayName: 'Recurrence Regenerated Type',
|
||||
@@ -699,7 +713,8 @@ export const taskFields: INodeProperties[] = [
|
||||
value: 'RecurrenceRegenerated',
|
||||
},
|
||||
],
|
||||
description: 'Represents what triggers a repeating task to repeat. Add this field to a page layout together with the RecurrenceInterval field, which determines the number of days between the triggering date (due date or close date) and the due date of the next repeating task in the series. Label is Repeat This Task.',
|
||||
description:
|
||||
'Represents what triggers a repeating task to repeat. Add this field to a page layout together with the RecurrenceInterval field, which determines the number of days between the triggering date (due date or close date) and the due date of the next repeating task in the series. Label is Repeat This Task.',
|
||||
},
|
||||
{
|
||||
displayName: 'Recurrence Type Name or ID',
|
||||
@@ -709,21 +724,24 @@ export const taskFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getTaskRecurrenceTypes',
|
||||
},
|
||||
description: 'Website for the task. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
|
||||
description:
|
||||
'Website for the task. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'Recurrence TimeZone SidKey',
|
||||
name: 'recurrenceTimeZoneSidKey',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The time zone associated with the recurring task. For example, “UTC-8:00” for Pacific Standard Time.',
|
||||
description:
|
||||
'The time zone associated with the recurring task. For example, “UTC-8:00” for Pacific Standard Time.',
|
||||
},
|
||||
{
|
||||
displayName: 'Reminder Date Time',
|
||||
name: 'reminderDateTime',
|
||||
type: 'dateTime',
|
||||
default: '',
|
||||
description: 'Represents the time when the reminder is scheduled to fire, if IsReminderSet is set to true. If IsReminderSet is set to false, then the user may have deselected the reminder checkbox in the Salesforce user interface, or the reminder has already fired at the time indicated by the value.',
|
||||
description:
|
||||
'Represents the time when the reminder is scheduled to fire, if IsReminderSet is set to true. If IsReminderSet is set to false, then the user may have deselected the reminder checkbox in the Salesforce user interface, or the reminder has already fired at the time indicated by the value.',
|
||||
},
|
||||
{
|
||||
displayName: 'Type Name or ID',
|
||||
@@ -733,21 +751,24 @@ export const taskFields: INodeProperties[] = [
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getTaskTypes',
|
||||
},
|
||||
description: 'Represents Type of the task, such as Call or Meeting. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
|
||||
description:
|
||||
'Represents Type of the task, such as Call or Meeting. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
|
||||
},
|
||||
{
|
||||
displayName: 'What ID',
|
||||
name: 'whatId',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The WhatId represents nonhuman objects such as accounts, opportunities, campaigns, cases, or custom objects. WhatIds are polymorphic. Polymorphic means a WhatId is equivalent to the ID of a related object.',
|
||||
description:
|
||||
'The WhatId represents nonhuman objects such as accounts, opportunities, campaigns, cases, or custom objects. WhatIds are polymorphic. Polymorphic means a WhatId is equivalent to the ID of a related object.',
|
||||
},
|
||||
{
|
||||
displayName: 'Who ID',
|
||||
name: 'whoId',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The WhoId represents a human such as a lead or a contact. WhoIds are polymorphic. Polymorphic means a WhoId is equivalent to a contact’s ID or a lead’s ID.',
|
||||
description:
|
||||
'The WhoId represents a human such as a lead or a contact. WhoIds are polymorphic. Polymorphic means a WhoId is equivalent to a contact’s ID or a lead’s ID.',
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -763,12 +784,8 @@ export const taskFields: INodeProperties[] = [
|
||||
default: '',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'task',
|
||||
],
|
||||
operation: [
|
||||
'get',
|
||||
],
|
||||
resource: ['task'],
|
||||
operation: ['get'],
|
||||
},
|
||||
},
|
||||
description: 'ID of task that needs to be fetched',
|
||||
@@ -785,12 +802,8 @@ export const taskFields: INodeProperties[] = [
|
||||
default: '',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'task',
|
||||
],
|
||||
operation: [
|
||||
'delete',
|
||||
],
|
||||
resource: ['task'],
|
||||
operation: ['delete'],
|
||||
},
|
||||
},
|
||||
description: 'ID of task that needs to be fetched',
|
||||
@@ -805,12 +818,8 @@ export const taskFields: INodeProperties[] = [
|
||||
type: 'boolean',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'task',
|
||||
],
|
||||
operation: [
|
||||
'getAll',
|
||||
],
|
||||
resource: ['task'],
|
||||
operation: ['getAll'],
|
||||
},
|
||||
},
|
||||
default: false,
|
||||
@@ -822,15 +831,9 @@ export const taskFields: INodeProperties[] = [
|
||||
type: 'number',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'task',
|
||||
],
|
||||
operation: [
|
||||
'getAll',
|
||||
],
|
||||
returnAll: [
|
||||
false,
|
||||
],
|
||||
resource: ['task'],
|
||||
operation: ['getAll'],
|
||||
returnAll: [false],
|
||||
},
|
||||
},
|
||||
typeOptions: {
|
||||
@@ -848,12 +851,8 @@ export const taskFields: INodeProperties[] = [
|
||||
default: {},
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
'task',
|
||||
],
|
||||
operation: [
|
||||
'getAll',
|
||||
],
|
||||
resource: ['task'],
|
||||
operation: ['getAll'],
|
||||
},
|
||||
},
|
||||
options: [
|
||||
@@ -880,7 +879,8 @@ export const taskFields: INodeProperties[] = [
|
||||
loadOptionsMethod: 'getTaskFields',
|
||||
},
|
||||
default: '',
|
||||
description: 'For date, number, or boolean, please use expressions. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
|
||||
description:
|
||||
'For date, number, or boolean, please use expressions. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
|
||||
},
|
||||
// eslint-disable-next-line n8n-nodes-base/node-param-operation-without-no-data-expression
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user