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

export const getRoamCacheDescription: INodeProperties[] = [
	{
		displayName: 'Operation',
		name: 'operation',
		type: 'options',
		noDataExpression: true,
		displayOptions: {
			show: {
				domain: ['keymanagement'],
				resource: ['roamcache'],
			},
		},
		options: [
			{
				name: 'Get Roam Cache',
				value: 'getRoamCache',
				description: 'Retrieve client roam cache records from the cloud',
				action: 'Get roam cache',
			},
		],
		default: 'getRoamCache',
	},
	{
		displayName: 'Client MAC Address',
		name: 'client_mac',
		type: 'string',
		required: true,
		displayOptions: {
			show: {
				domain: ['keymanagement'],
				resource: ['roamcache'],
				operation: ['getRoamCache'],
			},
		},
		default: '',
		placeholder: '00:11:22:33:44:55',
		description: 'MAC address of the client to retrieve roam cache for',
	},
];
