n8n-nodes-didar-crm 0.0.22 → 0.0.23

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.
@@ -6,7 +6,8 @@ async function getBaseInfo(i, returnData) {
6
6
  var _a;
7
7
  const dataset = this.getNodeParameter('dataset', i);
8
8
  const map = {
9
- pipelines: { path: '/api/pipeline/list/0', method: 'POST' },
9
+ deal_pipelines: { path: '/api/pipeline/list/0', method: 'POST' },
10
+ case_pipelines: { path: '/api/pipeline/list/1', method: 'POST' },
10
11
  activityTypes: { path: '/api/activity/GetActivityType', method: 'POST' },
11
12
  customFields: { path: '/api/customfield/GetCustomfieldList', method: 'POST' },
12
13
  productCategories: { path: '/api/product/categories', method: 'POST' },
@@ -8,12 +8,13 @@ exports.getBaseInfoProperties = [
8
8
  name: 'dataset',
9
9
  type: 'options',
10
10
  options: [
11
- { name: 'Pipelines', value: 'pipelines' },
11
+ { name: 'Deal Pipelines', value: 'deal_pipelines' },
12
+ { name: 'Case Pipelines', value: 'case_pipelines' },
12
13
  { name: 'Activity Types', value: 'activityTypes' },
13
14
  { name: 'Custom Fields List', value: 'customFields' },
14
15
  { name: 'Product Categories', value: 'productCategories' },
15
16
  ],
16
- default: 'pipelines',
17
+ default: 'deal_pipelines',
17
18
  displayOptions: showForGetBaseInfo,
18
19
  description: 'Choose which base information to fetch.',
19
20
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n8n-nodes-didar-crm",
3
- "version": "0.0.22",
3
+ "version": "0.0.23",
4
4
  "description": "Didar CRM nodes for n8n (Trigger + Deal.create)",
5
5
  "author": "You",
6
6
  "license": "MIT",