@crono-one/n8n-nodes-crono-public-api 1.6.0 → 1.7.0

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.
@@ -2370,6 +2370,20 @@ class CronoPublicApi {
2370
2370
  },
2371
2371
  description: 'Comma-separated list of AI external property IDs to generate',
2372
2372
  },
2373
+ {
2374
+ displayName: 'Create as Lead',
2375
+ name: 'contactImportCreateAsLead',
2376
+ type: 'boolean',
2377
+ default: false,
2378
+ displayOptions: {
2379
+ show: {
2380
+ resource: ['contact'],
2381
+ operation: ['import'],
2382
+ useRawJsonData: [false],
2383
+ },
2384
+ },
2385
+ description: 'Whether to create the records as leads in the connected CRM instead of contacts. Only available when the CRM supports leads.',
2386
+ },
2373
2387
  {
2374
2388
  displayName: 'Object IDs',
2375
2389
  name: 'contactSyncObjectIds',
@@ -5553,6 +5567,20 @@ class CronoPublicApi {
5553
5567
  },
5554
5568
  },
5555
5569
  },
5570
+ {
5571
+ displayName: 'Include Hyperbound Report',
5572
+ name: 'activitySearchIncludeHyperboundReport',
5573
+ type: 'boolean',
5574
+ default: false,
5575
+ description: 'Whether to include the Hyperbound report of each call in its call log. Also includes the call log.',
5576
+ displayOptions: {
5577
+ show: {
5578
+ resource: ['activity'],
5579
+ operation: ['search'],
5580
+ useRawJsonSearch: [false],
5581
+ },
5582
+ },
5583
+ },
5556
5584
  {
5557
5585
  displayName: 'Include Contact',
5558
5586
  name: 'activitySearchIncludeProspect',
@@ -7426,6 +7454,9 @@ class CronoPublicApi {
7426
7454
  data.AiExternalPropertiesIdsToGenerate = aiExternalPropertyIds.map((id) => parseInt(id, 10));
7427
7455
  }
7428
7456
  Object.assign(data, getAdditionalFields(this, 'dataAdditionalFields', itemIndex));
7457
+ if (this.getNodeParameter('contactImportCreateAsLead', itemIndex, false)) {
7458
+ data.CreateAsLead = true;
7459
+ }
7429
7460
  }
7430
7461
  body = { data };
7431
7462
  }
@@ -7891,6 +7922,9 @@ class CronoPublicApi {
7891
7922
  if (this.getNodeParameter('activitySearchIncludeTemplateTitle', itemIndex, false)) {
7892
7923
  includes.WithTemplateTitle = true;
7893
7924
  }
7925
+ if (this.getNodeParameter('activitySearchIncludeHyperboundReport', itemIndex, false)) {
7926
+ includes.WithHyperboundReport = true;
7927
+ }
7894
7928
  if (Object.keys(includes).length) {
7895
7929
  searchBody.Include = includes;
7896
7930
  }