@trg-admin/n8n-nodes-zoho-desk 0.1.13 → 0.1.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -166,7 +166,7 @@ class ZohoDesk {
166
166
  name: 'cfTaskId',
167
167
  type: 'string',
168
168
  default: '',
169
- description: 'Custom field Task ID (maps to customFields.cf_task_id)',
169
+ description: 'Custom field Task ID (maps to cf.cf_task_id)',
170
170
  },
171
171
  {
172
172
  displayName: 'Custom Fields (JSON)',
@@ -175,7 +175,7 @@ class ZohoDesk {
175
175
  typeOptions: { alwaysOpenEditWindow: true },
176
176
  default: '',
177
177
  placeholder: '{"cf_serial_number":"SN-99821","cf_warranty_expiry":"2025-12-31"}',
178
- description: 'Additional custom fields to update, as a JSON object with Zoho API names (for example cf_serial_number)',
178
+ description: 'Additional custom fields to update, as a JSON object with Zoho API names (for example cf_serial_number). Sent as cf in the request payload.',
179
179
  },
180
180
  {
181
181
  displayName: 'Due Date',
@@ -477,7 +477,7 @@ class ZohoDesk {
477
477
  customFields.cf_task_id = cfTaskId;
478
478
  }
479
479
  if (Object.keys(customFields).length > 0) {
480
- body.customFields = customFields;
480
+ body.cf = customFields;
481
481
  }
482
482
  if (description) {
483
483
  body.description = description;
@@ -501,7 +501,7 @@ class ZohoDesk {
501
501
  customFields.cf_task_id = cfTaskId;
502
502
  }
503
503
  if (Object.keys(customFields).length > 0) {
504
- body.customFields = customFields;
504
+ body.cf = customFields;
505
505
  }
506
506
  if (description) {
507
507
  body.description = description;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trg-admin/n8n-nodes-zoho-desk",
3
- "version": "0.1.13",
3
+ "version": "0.1.14",
4
4
  "description": "Community n8n node starter for Zoho Desk using built-in Zoho OAuth2 auth behavior",
5
5
  "license": "MIT",
6
6
  "type": "commonjs",