import { INodeProperties } from 'n8n-workflow';

/**
 * Parameters for getSwitchPoeInfo operation
 */
export const getSwitchPoeInfoDescription: INodeProperties[] = [
	{
		displayName: 'Serial',
		name: 'serial',
		type: 'string',
		required: true,
		default: '',
		description: 'Serial number of the switch to get PoE info for',
		displayOptions: {
			show: {
				operation: ['getSwitchPoeInfo'],
				resource: ['switch'],
				domain: ['monitoring'],
			},
		},
	},
	{
		displayName: 'Additional Fields',
		name: 'additionalFields',
		type: 'collection',
		placeholder: 'Add Field',
		default: {},
		displayOptions: {
			show: {
				operation: ['getSwitchPoeInfo'],
				resource: ['switch'],
				domain: ['monitoring'],
			},
		},
		options: [
			{
				displayName: 'Port',
				name: 'port',
				type: 'string',
				default: '',
				description: 'Filter by switch port',
			},
		],
	},
];
