n8n-nodes-arubacentral
Version:
n8n community node for Aruba Central API integration with comprehensive monitoring, configuration, and management capabilities
170 lines (169 loc) • 4.53 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.updateSiteDescription = void 0;
/**
* Parameters for updateSite operation
*/
exports.updateSiteDescription = [
{
displayName: 'Site ID',
name: 'site_id',
type: 'number',
required: true,
default: '',
description: 'ID of the site to update',
displayOptions: {
show: {
operation: ['updateSite'],
resource: ['site'],
domain: ['monitoring'],
},
},
},
{
displayName: 'Site Name',
name: 'site_name',
type: 'string',
required: true,
default: '',
description: 'New name for the site',
displayOptions: {
show: {
operation: ['updateSite'],
resource: ['site'],
domain: ['monitoring'],
},
},
},
{
displayName: 'Location Type',
name: 'location_type',
type: 'options',
options: [
{
name: 'Address',
value: 'address',
},
{
name: 'Geolocation',
value: 'geolocation',
},
],
default: 'address',
description: 'Type of location information to update',
displayOptions: {
show: {
operation: ['updateSite'],
resource: ['site'],
domain: ['monitoring'],
},
},
},
{
displayName: 'Address',
name: 'address',
type: 'string',
default: '',
description: 'Updated street address for the site',
displayOptions: {
show: {
operation: ['updateSite'],
resource: ['site'],
domain: ['monitoring'],
location_type: ['address'],
},
},
},
{
displayName: 'City',
name: 'city',
type: 'string',
default: '',
description: 'Updated city for the site address',
displayOptions: {
show: {
operation: ['updateSite'],
resource: ['site'],
domain: ['monitoring'],
location_type: ['address'],
},
},
},
{
displayName: 'State',
name: 'state',
type: 'string',
default: '',
description: 'Updated state for the site address',
displayOptions: {
show: {
operation: ['updateSite'],
resource: ['site'],
domain: ['monitoring'],
location_type: ['address'],
},
},
},
{
displayName: 'Country',
name: 'country',
type: 'string',
default: '',
description: 'Updated country for the site address',
displayOptions: {
show: {
operation: ['updateSite'],
resource: ['site'],
domain: ['monitoring'],
location_type: ['address'],
},
},
},
{
displayName: 'Zipcode',
name: 'zipcode',
type: 'string',
default: '',
description: 'Updated zipcode for the site address',
displayOptions: {
show: {
operation: ['updateSite'],
resource: ['site'],
domain: ['monitoring'],
location_type: ['address'],
},
},
},
{
displayName: 'Latitude',
name: 'latitude',
type: 'string',
default: '',
description: 'Updated latitude coordinates (between -90 and 90)',
required: true,
displayOptions: {
show: {
operation: ['updateSite'],
resource: ['site'],
domain: ['monitoring'],
location_type: ['geolocation'],
},
},
},
{
displayName: 'Longitude',
name: 'longitude',
type: 'string',
default: '',
description: 'Updated longitude coordinates (between -180 and 180)',
required: true,
displayOptions: {
show: {
operation: ['updateSite'],
resource: ['site'],
domain: ['monitoring'],
location_type: ['geolocation'],
},
},
},
];