import { INodeProperties } from 'n8n-workflow';

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