/** * Spotify Node - Version 1 * Discriminator: resource=library, operation=getLikedTracks */ interface Credentials { spotifyOAuth2Api: CredentialReference; } /** Get the user's liked tracks */ export type SpotifyV1LibraryGetLikedTracksParams = { resource: 'library'; operation: 'getLikedTracks'; /** * Whether to return all results or only up to a given limit * @default false */ returnAll?: boolean | Expression; /** * Max number of results to return * @displayOptions.show { returnAll: [false] } * @default 50 */ limit?: number | Expression; }; export type SpotifyV1LibraryGetLikedTracksOutput = { added_at?: string; track?: { album?: { album_type?: string; artists?: Array<{ external_urls?: { spotify?: string; }; href?: string; id?: string; name?: string; type?: string; uri?: string; }>; available_markets?: Array; external_urls?: { spotify?: string; }; href?: string; id?: string; images?: Array<{ height?: number; url?: string; width?: number; }>; is_playable?: boolean; name?: string; release_date?: string; release_date_precision?: string; total_tracks?: number; type?: string; uri?: string; }; artists?: Array<{ external_urls?: { spotify?: string; }; href?: string; id?: string; name?: string; type?: string; uri?: string; }>; available_markets?: Array; disc_number?: number; duration_ms?: number; explicit?: boolean; external_ids?: { isrc?: string; }; external_urls?: { spotify?: string; }; href?: string; id?: string; is_local?: boolean; is_playable?: boolean; name?: string; popularity?: number; track_number?: number; type?: string; uri?: string; }; }; export type SpotifyV1LibraryGetLikedTracksNode = { type: 'n8n-nodes-base.spotify'; version: 1; credentials?: Credentials; config: NodeConfig; output?: Items; };