// getKeyCache.descriptions.ts
import { INodeProperties } from 'n8n-workflow';

export const getKeyCacheDescription: INodeProperties[] = [
	{
		displayName: 'Operation',
		name: 'operation',
		type: 'options',
		noDataExpression: true,
		displayOptions: {
			show: {
				domain: ['keymanagement'],
				resource: ['keycache'],
			},
		},
		options: [
			{
				name: 'Get Key Cache',
				value: 'getKeyCache',
				description: 'Retrieve PMK key cache records for a specific client',
				action: 'Get key cache',
			},
		],
		default: 'getKeyCache',
	},
	{
		displayName: 'Client MAC Address',
		name: 'client_mac',
		type: 'string',
		required: true,
		displayOptions: {
			show: {
				domain: ['keymanagement'],
				resource: ['keycache'],
				operation: ['getKeyCache'],
			},
		},
		default: '',
		placeholder: '00:11:22:33:44:55',
		description: 'MAC address of the client to retrieve key cache for',
	},
];
