/** * YouTube Node - Version 1 * Discriminator: resource=video, operation=rate */ interface Credentials { youTubeOAuth2Api: CredentialReference; } /** Rate a video */ export type YouTubeV1VideoRateParams = { resource: 'video'; operation: 'rate'; /** * Video ID */ videoId?: string | Expression | PlaceholderValue; /** * Rating */ rating?: 'dislike' | 'like' | 'none' | Expression; }; export type YouTubeV1VideoRateOutput = { success?: boolean; }; export type YouTubeV1VideoRateNode = { type: 'n8n-nodes-base.youTube'; version: 1; credentials?: Credentials; config: NodeConfig; output?: Items; };