n8n-nodes-arubacentralnextgen
Version:
n8n community node for Aruba Central NextGen API integration with modern monitoring and management capabilities
52 lines (51 loc) • 2.03 kB
JavaScript
;
// ArubaCentralNextGenOAuth2Api.credentials.ts
Object.defineProperty(exports, "__esModule", { value: true });
exports.ArubaCentralNextGenOAuth2Api = void 0;
class ArubaCentralNextGenOAuth2Api {
constructor() {
this.name = 'arubaCentralNextGenOAuth2Api';
this.displayName = 'Aruba Central Next Gen OAuth2 API';
this.documentationUrl = 'https://developer.arubanetworks.com/aruba-central/docs';
this.properties = [
{
displayName: 'Region',
name: 'region',
type: 'options',
options: [
{ name: 'EU-1', value: 'eu' },
{ name: 'EU-Central2', value: 'eucentral2' },
{ name: 'EU-Central3', value: 'eucentral3' },
{ name: 'US-1', value: 'prod' },
{ name: 'US-2', value: 'central-prod2' },
{ name: 'US-WEST-4', value: 'uswest4' },
{ name: 'US-WEST-5', value: 'uswest5' },
{ name: 'US-East1', value: 'us-east-1' },
{ name: 'Canada-1', value: 'starman' },
{ name: 'APAC-1', value: 'apac' },
{ name: 'APAC-EAST1', value: 'apaceast' },
{ name: 'APAC-SOUTH1', value: 'apacsouth' },
{ name: 'Internal', value: 'internal' },
],
default: 'prod',
required: true,
},
{
displayName: 'Client ID',
name: 'clientId',
type: 'string',
required: true,
default: '',
},
{
displayName: 'Client Secret',
name: 'clientSecret',
type: 'string',
typeOptions: { password: true },
required: true,
default: '',
},
];
}
}
exports.ArubaCentralNextGenOAuth2Api = ArubaCentralNextGenOAuth2Api;