import { INodeProperties } from 'n8n-workflow';

/**
 * Parameters for getInsightDetailsClient operation
 */
export const getInsightDetailsClientDescription: INodeProperties[] = [
	{
		displayName: 'Client MAC Address',
		name: 'sta_mac',
		type: 'string',
		required: true,
		default: '',
		description: 'Client MAC address to get insight details for',
		displayOptions: {
			show: {
				operation: ['getInsightDetailsClient'],
				resource: ['insightDetails'],
				domain: ['aiops'],
			},
		},
	},
	{
		displayName: 'Insight ID',
		name: 'insight_id',
		type: 'number',
		required: true,
		default: '',
		description: 'Insight ID to get details for',
		displayOptions: {
			show: {
				operation: ['getInsightDetailsClient'],
				resource: ['insightDetails'],
				domain: ['aiops'],
			},
		},
	},
	{
		displayName: 'From',
		name: 'from',
		type: 'dateTime',
		required: true,
		default: '',
		description: 'Start time for data retrieval',
		displayOptions: {
			show: {
				operation: ['getInsightDetailsClient'],
				resource: ['insightDetails'],
				domain: ['aiops'],
			},
		},
	},
	{
		displayName: 'To',
		name: 'to',
		type: 'dateTime',
		required: true,
		default: '',
		description: 'End time for data retrieval',
		displayOptions: {
			show: {
				operation: ['getInsightDetailsClient'],
				resource: ['insightDetails'],
				domain: ['aiops'],
			},
		},
	},
];
