n8n-nodes-arubaclearpass 1.1.8 → 1.1.9

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.
@@ -94,8 +94,8 @@ exports.roleFields = [
94
94
  },
95
95
  // Fields for create operation
96
96
  {
97
- displayName: 'Name',
98
- name: 'name',
97
+ displayName: 'Role Name',
98
+ name: 'roleName',
99
99
  type: 'string',
100
100
  required: true,
101
101
  default: '',
@@ -109,8 +109,8 @@ exports.roleFields = [
109
109
  description: 'Name of the role',
110
110
  },
111
111
  {
112
- displayName: 'Description',
113
- name: 'description',
112
+ displayName: 'Role Description',
113
+ name: 'roleDescription',
114
114
  type: 'string',
115
115
  required: false,
116
116
  default: '',
@@ -125,8 +125,8 @@ exports.roleFields = [
125
125
  },
126
126
  // Fields for replace operation
127
127
  {
128
- displayName: 'Name',
129
- name: 'name',
128
+ displayName: 'Role Name',
129
+ name: 'roleName',
130
130
  type: 'string',
131
131
  required: true,
132
132
  default: '',
@@ -140,8 +140,8 @@ exports.roleFields = [
140
140
  description: 'Name of the role',
141
141
  },
142
142
  {
143
- displayName: 'Description',
144
- name: 'description',
143
+ displayName: 'Role Description',
144
+ name: 'roleDescription',
145
145
  type: 'string',
146
146
  required: false,
147
147
  default: '',
@@ -104,9 +104,9 @@ async function createRole() {
104
104
  try {
105
105
  const body = {};
106
106
  // Add required fields
107
- body.name = this.getNodeParameter('name', 0);
107
+ body.name = this.getNodeParameter('roleName', 0);
108
108
  // Add optional fields
109
- const description = this.getNodeParameter('description', 0, '');
109
+ const description = this.getNodeParameter('roleDescription', 0, '');
110
110
  if (description) {
111
111
  body.description = description;
112
112
  }
@@ -192,9 +192,9 @@ async function replaceRole() {
192
192
  const roleId = this.getNodeParameter('roleId', 0);
193
193
  const body = {};
194
194
  // Add required fields
195
- body.name = this.getNodeParameter('name', 0);
195
+ body.name = this.getNodeParameter('roleName', 0);
196
196
  // Add optional fields
197
- const description = this.getNodeParameter('description', 0, '');
197
+ const description = this.getNodeParameter('roleDescription', 0, '');
198
198
  if (description) {
199
199
  body.description = description;
200
200
  }
@@ -224,9 +224,9 @@ async function replaceRoleByName() {
224
224
  const name = this.getNodeParameter('name', 0);
225
225
  const body = {};
226
226
  // Add required fields
227
- body.name = this.getNodeParameter('name', 0);
227
+ body.name = this.getNodeParameter('roleName', 0);
228
228
  // Add optional fields
229
- const description = this.getNodeParameter('description', 0, '');
229
+ const description = this.getNodeParameter('roleDescription', 0, '');
230
230
  if (description) {
231
231
  body.description = description;
232
232
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n8n-nodes-arubaclearpass",
3
- "version": "1.1.8",
3
+ "version": "1.1.9",
4
4
  "description": "n8n community node for Aruba ClearPass API integration with comprehensive identity, policy, and enforcement profile management",
5
5
  "keywords": [
6
6
  "n8n-community-node-package",