import { INodeProperties } from 'n8n-workflow';

/**
 * UI parameters for the getWirelessClientDetails operation
 */
export const getWirelessClientDetailsDescription: INodeProperties[] = [
	{
		displayName: 'MAC Address',
		name: 'macaddr',
		type: 'string',
		displayOptions: {
			show: {
				resource: ['client'],
				domain: ['monitoring'],
				operation: ['getWirelessClientDetails'],
			},
		},
		default: '',
		required: true,
		description: 'MAC address of the wireless client',
	},
];

/**
 * UI parameters for the getWiredClientDetails operation
 */
export const getWiredClientDetailsDescription: INodeProperties[] = [
	{
		displayName: 'MAC Address',
		name: 'macaddr',
		type: 'string',
		displayOptions: {
			show: {
				resource: ['client'],
				domain: ['monitoring'],
				operation: ['getWiredClientDetails'],
			},
		},
		default: '',
		required: true,
		description: 'MAC address of the wired client',
	},
];

// Combine all client descriptions
export const getClientDescription: INodeProperties[] = [
	...getWirelessClientDetailsDescription,
	...getWiredClientDetailsDescription,
];
