n8n-nodes-arubaclearpass 1.1.9 → 1.1.10

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.
@@ -78,8 +78,8 @@ exports.roleFields = [
78
78
  },
79
79
  // Fields for name-based operations
80
80
  {
81
- displayName: 'Name',
82
- name: 'name',
81
+ displayName: 'Role Name',
82
+ name: 'roleName',
83
83
  type: 'string',
84
84
  required: true,
85
85
  default: '',
@@ -78,7 +78,7 @@ async function getRole() {
78
78
  */
79
79
  async function getRoleByName() {
80
80
  try {
81
- const name = this.getNodeParameter('name', 0);
81
+ const name = this.getNodeParameter('roleName', 0);
82
82
  const endpoint = `/role/name/${name}`;
83
83
  const responseData = await apiRequest_1.apiRequest.call(this, 'GET', endpoint);
84
84
  return responseFormatter_1.formatResponse.call(this, responseData);
@@ -161,7 +161,7 @@ async function updateRole() {
161
161
  */
162
162
  async function updateRoleByName() {
163
163
  try {
164
- const name = this.getNodeParameter('name', 0);
164
+ const name = this.getNodeParameter('roleName', 0);
165
165
  const updateFields = this.getNodeParameter('updateFields', 0, {});
166
166
  if (!Object.keys(updateFields).length) {
167
167
  throw new Error('Please specify at least one field to update');
@@ -221,7 +221,7 @@ async function replaceRole() {
221
221
  */
222
222
  async function replaceRoleByName() {
223
223
  try {
224
- const name = this.getNodeParameter('name', 0);
224
+ const name = this.getNodeParameter('roleName', 0);
225
225
  const body = {};
226
226
  // Add required fields
227
227
  body.name = this.getNodeParameter('roleName', 0);
@@ -277,7 +277,7 @@ async function deleteRole() {
277
277
  */
278
278
  async function deleteRoleByName() {
279
279
  try {
280
- const name = this.getNodeParameter('name', 0);
280
+ const name = this.getNodeParameter('roleName', 0);
281
281
  const endpoint = `/role/name/${name}`;
282
282
  await apiRequest_1.apiRequest.call(this, 'DELETE', endpoint);
283
283
  return [{ json: { success: true } }];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n8n-nodes-arubaclearpass",
3
- "version": "1.1.9",
3
+ "version": "1.1.10",
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",