@ixiam/n8n-nodes-civicrm 2.1.6 → 2.1.7

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.
@@ -422,13 +422,27 @@ class CiviCrm {
422
422
  name: 'contactType',
423
423
  type: 'options',
424
424
  default: 'Individual',
425
- description: 'Type of contact to create or search for.',
425
+ description: 'Type of contact to create.',
426
426
  options: [
427
427
  { name: 'Individual', value: 'Individual' },
428
428
  { name: 'Organization', value: 'Organization' },
429
429
  { name: 'Household', value: 'Household' },
430
430
  ],
431
- displayOptions: { show: { resource: ['contact'] } },
431
+ displayOptions: { show: { resource: ['contact'], operation: ['create', 'update'] } },
432
+ },
433
+ {
434
+ displayName: 'Contact Type',
435
+ name: 'contactType',
436
+ type: 'options',
437
+ default: '',
438
+ description: 'Filter results to a specific type of contact. Leave as "Any" to return contacts of all types.',
439
+ options: [
440
+ { name: 'Any', value: '' },
441
+ { name: 'Individual', value: 'Individual' },
442
+ { name: 'Organization', value: 'Organization' },
443
+ { name: 'Household', value: 'Household' },
444
+ ],
445
+ displayOptions: { show: { resource: ['contact'], operation: ['getMany'] } },
432
446
  },
433
447
  //
434
448
  // LOCATION TYPES
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ixiam/n8n-nodes-civicrm",
3
- "version": "2.1.6",
3
+ "version": "2.1.7",
4
4
  "description": "Full-featured CiviCRM API v4 integration for n8n",
5
5
  "license": "MIT",
6
6
  "keywords": [