n8n-nodes-base
Version:
Base nodes of n8n
27 lines (22 loc) • 584 B
text/typescript
/**
* Spotify Node - Version 1
* Discriminator: resource=player, operation=nextSong
*/
interface Credentials {
spotifyOAuth2Api: CredentialReference;
}
/** Skip to your next track */
export type SpotifyV1PlayerNextSongParams = {
resource: 'player';
operation: 'nextSong';
};
export type SpotifyV1PlayerNextSongOutput = {
success?: boolean;
};
export type SpotifyV1PlayerNextSongNode = {
type: 'n8n-nodes-base.spotify';
version: 1;
credentials?: Credentials;
config: NodeConfig<SpotifyV1PlayerNextSongParams>;
output?: Items<SpotifyV1PlayerNextSongOutput>;
};