@keystrokehq/spotify 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/add-items-to-playlist.cjs +1 -1
- package/dist/actions/add-items-to-playlist.cjs.map +1 -1
- package/dist/actions/add-items-to-playlist.d.cts +1 -1
- package/dist/actions/add-items-to-playlist.d.mts +1 -1
- package/dist/actions/add-items-to-playlist.mjs +1 -1
- package/dist/actions/add-items-to-playlist.mjs.map +1 -1
- package/dist/actions/check-if-user-follows-artists-or-users.cjs +1 -1
- package/dist/actions/check-if-user-follows-artists-or-users.cjs.map +1 -1
- package/dist/actions/check-if-user-follows-artists-or-users.d.cts +1 -1
- package/dist/actions/check-if-user-follows-artists-or-users.d.mts +1 -1
- package/dist/actions/check-if-user-follows-artists-or-users.mjs +1 -1
- package/dist/actions/check-if-user-follows-artists-or-users.mjs.map +1 -1
- package/dist/actions/check-user-s-saved-albums.cjs +1 -1
- package/dist/actions/check-user-s-saved-albums.cjs.map +1 -1
- package/dist/actions/check-user-s-saved-albums.d.cts +1 -1
- package/dist/actions/check-user-s-saved-albums.d.mts +1 -1
- package/dist/actions/check-user-s-saved-albums.mjs +1 -1
- package/dist/actions/check-user-s-saved-albums.mjs.map +1 -1
- package/dist/actions/check-user-s-saved-audiobooks.cjs +1 -1
- package/dist/actions/check-user-s-saved-audiobooks.cjs.map +1 -1
- package/dist/actions/check-user-s-saved-audiobooks.d.cts +1 -1
- package/dist/actions/check-user-s-saved-audiobooks.d.mts +1 -1
- package/dist/actions/check-user-s-saved-audiobooks.mjs +1 -1
- package/dist/actions/check-user-s-saved-audiobooks.mjs.map +1 -1
- package/dist/actions/check-user-s-saved-shows.cjs +1 -1
- package/dist/actions/check-user-s-saved-shows.cjs.map +1 -1
- package/dist/actions/check-user-s-saved-shows.d.cts +1 -1
- package/dist/actions/check-user-s-saved-shows.d.mts +1 -1
- package/dist/actions/check-user-s-saved-shows.mjs +1 -1
- package/dist/actions/check-user-s-saved-shows.mjs.map +1 -1
- package/dist/actions/create-playlist.cjs +7 -7
- package/dist/actions/create-playlist.cjs.map +1 -1
- package/dist/actions/create-playlist.d.cts +9 -9
- package/dist/actions/create-playlist.d.mts +9 -9
- package/dist/actions/create-playlist.mjs +7 -7
- package/dist/actions/create-playlist.mjs.map +1 -1
- package/dist/actions/get-a-chapter.cjs +2 -2
- package/dist/actions/get-a-chapter.cjs.map +1 -1
- package/dist/actions/get-a-chapter.d.cts +2 -2
- package/dist/actions/get-a-chapter.d.mts +2 -2
- package/dist/actions/get-a-chapter.mjs +2 -2
- package/dist/actions/get-a-chapter.mjs.map +1 -1
- package/dist/actions/get-album-tracks.cjs +2 -2
- package/dist/actions/get-album-tracks.cjs.map +1 -1
- package/dist/actions/get-album-tracks.d.cts +2 -2
- package/dist/actions/get-album-tracks.d.mts +2 -2
- package/dist/actions/get-album-tracks.mjs +2 -2
- package/dist/actions/get-album-tracks.mjs.map +1 -1
- package/dist/actions/get-album.cjs +7 -7
- package/dist/actions/get-album.cjs.map +1 -1
- package/dist/actions/get-album.d.cts +8 -8
- package/dist/actions/get-album.d.mts +8 -8
- package/dist/actions/get-album.mjs +7 -7
- package/dist/actions/get-album.mjs.map +1 -1
- package/dist/actions/get-an-audiobook.cjs +2 -2
- package/dist/actions/get-an-audiobook.cjs.map +1 -1
- package/dist/actions/get-an-audiobook.d.cts +2 -2
- package/dist/actions/get-an-audiobook.d.mts +2 -2
- package/dist/actions/get-an-audiobook.mjs +2 -2
- package/dist/actions/get-an-audiobook.mjs.map +1 -1
- package/dist/actions/get-artist-s-albums.cjs +4 -4
- package/dist/actions/get-artist-s-albums.cjs.map +1 -1
- package/dist/actions/get-artist-s-albums.d.cts +4 -4
- package/dist/actions/get-artist-s-albums.d.mts +4 -4
- package/dist/actions/get-artist-s-albums.mjs +4 -4
- package/dist/actions/get-artist-s-albums.mjs.map +1 -1
- package/dist/actions/get-artist-s-related-artists.cjs +5 -5
- package/dist/actions/get-artist-s-related-artists.cjs.map +1 -1
- package/dist/actions/get-artist-s-related-artists.d.cts +5 -5
- package/dist/actions/get-artist-s-related-artists.d.mts +5 -5
- package/dist/actions/get-artist-s-related-artists.mjs +5 -5
- package/dist/actions/get-artist-s-related-artists.mjs.map +1 -1
- package/dist/actions/get-artist-s-top-tracks.cjs +8 -8
- package/dist/actions/get-artist-s-top-tracks.cjs.map +1 -1
- package/dist/actions/get-artist-s-top-tracks.d.cts +13 -13
- package/dist/actions/get-artist-s-top-tracks.d.mts +13 -13
- package/dist/actions/get-artist-s-top-tracks.mjs +8 -8
- package/dist/actions/get-artist-s-top-tracks.mjs.map +1 -1
- package/dist/actions/get-artist.cjs +5 -5
- package/dist/actions/get-artist.cjs.map +1 -1
- package/dist/actions/get-artist.d.cts +5 -5
- package/dist/actions/get-artist.d.mts +5 -5
- package/dist/actions/get-artist.mjs +5 -5
- package/dist/actions/get-artist.mjs.map +1 -1
- package/dist/actions/get-audiobook-chapters.cjs +1 -1
- package/dist/actions/get-audiobook-chapters.cjs.map +1 -1
- package/dist/actions/get-audiobook-chapters.d.cts +1 -1
- package/dist/actions/get-audiobook-chapters.d.mts +1 -1
- package/dist/actions/get-audiobook-chapters.mjs +1 -1
- package/dist/actions/get-audiobook-chapters.mjs.map +1 -1
- package/dist/actions/get-available-devices.cjs +2 -2
- package/dist/actions/get-available-devices.cjs.map +1 -1
- package/dist/actions/get-available-devices.d.cts +2 -2
- package/dist/actions/get-available-devices.d.mts +2 -2
- package/dist/actions/get-available-devices.mjs +2 -2
- package/dist/actions/get-available-devices.mjs.map +1 -1
- package/dist/actions/get-available-markets.cjs +1 -1
- package/dist/actions/get-available-markets.cjs.map +1 -1
- package/dist/actions/get-available-markets.d.cts +1 -1
- package/dist/actions/get-available-markets.d.mts +1 -1
- package/dist/actions/get-available-markets.mjs +1 -1
- package/dist/actions/get-available-markets.mjs.map +1 -1
- package/dist/actions/get-current-user-s-playlists.cjs +7 -7
- package/dist/actions/get-current-user-s-playlists.cjs.map +1 -1
- package/dist/actions/get-current-user-s-playlists.d.cts +8 -8
- package/dist/actions/get-current-user-s-playlists.d.mts +8 -8
- package/dist/actions/get-current-user-s-playlists.mjs +7 -7
- package/dist/actions/get-current-user-s-playlists.mjs.map +1 -1
- package/dist/actions/get-current-user-s-profile.cjs +6 -6
- package/dist/actions/get-current-user-s-profile.cjs.map +1 -1
- package/dist/actions/get-current-user-s-profile.d.cts +6 -6
- package/dist/actions/get-current-user-s-profile.d.mts +6 -6
- package/dist/actions/get-current-user-s-profile.mjs +6 -6
- package/dist/actions/get-current-user-s-profile.mjs.map +1 -1
- package/dist/actions/get-episode.cjs +2 -2
- package/dist/actions/get-episode.cjs.map +1 -1
- package/dist/actions/get-episode.d.cts +2 -2
- package/dist/actions/get-episode.d.mts +2 -2
- package/dist/actions/get-episode.mjs +2 -2
- package/dist/actions/get-episode.mjs.map +1 -1
- package/dist/actions/get-followed-artists.cjs +8 -8
- package/dist/actions/get-followed-artists.cjs.map +1 -1
- package/dist/actions/get-followed-artists.d.cts +8 -8
- package/dist/actions/get-followed-artists.d.mts +8 -8
- package/dist/actions/get-followed-artists.mjs +8 -8
- package/dist/actions/get-followed-artists.mjs.map +1 -1
- package/dist/actions/get-new-releases.cjs +3 -3
- package/dist/actions/get-new-releases.cjs.map +1 -1
- package/dist/actions/get-new-releases.d.cts +3 -3
- package/dist/actions/get-new-releases.d.mts +3 -3
- package/dist/actions/get-new-releases.mjs +3 -3
- package/dist/actions/get-new-releases.mjs.map +1 -1
- package/dist/actions/get-playback-state.cjs +16 -16
- package/dist/actions/get-playback-state.cjs.map +1 -1
- package/dist/actions/get-playback-state.d.cts +29 -29
- package/dist/actions/get-playback-state.d.mts +29 -29
- package/dist/actions/get-playback-state.mjs +16 -16
- package/dist/actions/get-playback-state.mjs.map +1 -1
- package/dist/actions/get-playlist-cover-image.cjs +1 -1
- package/dist/actions/get-playlist-cover-image.cjs.map +1 -1
- package/dist/actions/get-playlist-cover-image.d.cts +1 -1
- package/dist/actions/get-playlist-cover-image.d.mts +1 -1
- package/dist/actions/get-playlist-cover-image.mjs +1 -1
- package/dist/actions/get-playlist-cover-image.mjs.map +1 -1
- package/dist/actions/get-recently-played-tracks.cjs +11 -11
- package/dist/actions/get-recently-played-tracks.cjs.map +1 -1
- package/dist/actions/get-recently-played-tracks.d.cts +17 -17
- package/dist/actions/get-recently-played-tracks.d.mts +17 -17
- package/dist/actions/get-recently-played-tracks.mjs +11 -11
- package/dist/actions/get-recently-played-tracks.mjs.map +1 -1
- package/dist/actions/get-recommendations.cjs +1 -1
- package/dist/actions/get-recommendations.cjs.map +1 -1
- package/dist/actions/get-recommendations.d.cts +1 -1
- package/dist/actions/get-recommendations.d.mts +1 -1
- package/dist/actions/get-recommendations.mjs +1 -1
- package/dist/actions/get-recommendations.mjs.map +1 -1
- package/dist/actions/get-several-albums.cjs +5 -5
- package/dist/actions/get-several-albums.cjs.map +1 -1
- package/dist/actions/get-several-albums.d.cts +6 -6
- package/dist/actions/get-several-albums.d.mts +6 -6
- package/dist/actions/get-several-albums.mjs +5 -5
- package/dist/actions/get-several-albums.mjs.map +1 -1
- package/dist/actions/get-several-artists.cjs +1 -1
- package/dist/actions/get-several-artists.cjs.map +1 -1
- package/dist/actions/get-several-artists.d.cts +1 -1
- package/dist/actions/get-several-artists.d.mts +1 -1
- package/dist/actions/get-several-artists.mjs +1 -1
- package/dist/actions/get-several-artists.mjs.map +1 -1
- package/dist/actions/get-several-audiobooks.cjs +2 -2
- package/dist/actions/get-several-audiobooks.cjs.map +1 -1
- package/dist/actions/get-several-audiobooks.d.cts +2 -2
- package/dist/actions/get-several-audiobooks.d.mts +2 -2
- package/dist/actions/get-several-audiobooks.mjs +2 -2
- package/dist/actions/get-several-audiobooks.mjs.map +1 -1
- package/dist/actions/get-several-chapters.cjs +2 -2
- package/dist/actions/get-several-chapters.cjs.map +1 -1
- package/dist/actions/get-several-chapters.d.cts +2 -2
- package/dist/actions/get-several-chapters.d.mts +2 -2
- package/dist/actions/get-several-chapters.mjs +2 -2
- package/dist/actions/get-several-chapters.mjs.map +1 -1
- package/dist/actions/get-several-episodes.cjs +2 -2
- package/dist/actions/get-several-episodes.cjs.map +1 -1
- package/dist/actions/get-several-episodes.d.cts +2 -2
- package/dist/actions/get-several-episodes.d.mts +2 -2
- package/dist/actions/get-several-episodes.mjs +2 -2
- package/dist/actions/get-several-episodes.mjs.map +1 -1
- package/dist/actions/get-several-shows.cjs +1 -1
- package/dist/actions/get-several-shows.cjs.map +1 -1
- package/dist/actions/get-several-shows.d.cts +1 -1
- package/dist/actions/get-several-shows.d.mts +1 -1
- package/dist/actions/get-several-shows.mjs +1 -1
- package/dist/actions/get-several-shows.mjs.map +1 -1
- package/dist/actions/get-several-tracks.cjs +6 -6
- package/dist/actions/get-several-tracks.cjs.map +1 -1
- package/dist/actions/get-several-tracks.d.cts +7 -7
- package/dist/actions/get-several-tracks.d.mts +7 -7
- package/dist/actions/get-several-tracks.mjs +6 -6
- package/dist/actions/get-several-tracks.mjs.map +1 -1
- package/dist/actions/get-show-episodes.cjs +1 -1
- package/dist/actions/get-show-episodes.cjs.map +1 -1
- package/dist/actions/get-show-episodes.d.cts +1 -1
- package/dist/actions/get-show-episodes.d.mts +1 -1
- package/dist/actions/get-show-episodes.mjs +1 -1
- package/dist/actions/get-show-episodes.mjs.map +1 -1
- package/dist/actions/get-show.cjs +2 -2
- package/dist/actions/get-show.cjs.map +1 -1
- package/dist/actions/get-show.d.cts +2 -2
- package/dist/actions/get-show.d.mts +2 -2
- package/dist/actions/get-show.mjs +2 -2
- package/dist/actions/get-show.mjs.map +1 -1
- package/dist/actions/get-track.cjs +9 -9
- package/dist/actions/get-track.cjs.map +1 -1
- package/dist/actions/get-track.d.cts +9 -9
- package/dist/actions/get-track.d.mts +9 -9
- package/dist/actions/get-track.mjs +9 -9
- package/dist/actions/get-track.mjs.map +1 -1
- package/dist/actions/get-user-s-playlists.cjs +7 -7
- package/dist/actions/get-user-s-playlists.cjs.map +1 -1
- package/dist/actions/get-user-s-playlists.d.cts +8 -8
- package/dist/actions/get-user-s-playlists.d.mts +8 -8
- package/dist/actions/get-user-s-playlists.mjs +7 -7
- package/dist/actions/get-user-s-playlists.mjs.map +1 -1
- package/dist/actions/get-user-s-profile.cjs +5 -5
- package/dist/actions/get-user-s-profile.cjs.map +1 -1
- package/dist/actions/get-user-s-profile.d.cts +5 -5
- package/dist/actions/get-user-s-profile.d.mts +5 -5
- package/dist/actions/get-user-s-profile.mjs +5 -5
- package/dist/actions/get-user-s-profile.mjs.map +1 -1
- package/dist/actions/get-user-s-saved-albums.cjs +2 -2
- package/dist/actions/get-user-s-saved-albums.cjs.map +1 -1
- package/dist/actions/get-user-s-saved-albums.d.cts +2 -2
- package/dist/actions/get-user-s-saved-albums.d.mts +2 -2
- package/dist/actions/get-user-s-saved-albums.mjs +2 -2
- package/dist/actions/get-user-s-saved-albums.mjs.map +1 -1
- package/dist/actions/get-user-s-saved-audiobooks.cjs +1 -1
- package/dist/actions/get-user-s-saved-audiobooks.cjs.map +1 -1
- package/dist/actions/get-user-s-saved-audiobooks.d.cts +1 -1
- package/dist/actions/get-user-s-saved-audiobooks.d.mts +1 -1
- package/dist/actions/get-user-s-saved-audiobooks.mjs +1 -1
- package/dist/actions/get-user-s-saved-audiobooks.mjs.map +1 -1
- package/dist/actions/get-user-s-saved-episodes.cjs +2 -2
- package/dist/actions/get-user-s-saved-episodes.cjs.map +1 -1
- package/dist/actions/get-user-s-saved-episodes.d.cts +2 -2
- package/dist/actions/get-user-s-saved-episodes.d.mts +2 -2
- package/dist/actions/get-user-s-saved-episodes.mjs +2 -2
- package/dist/actions/get-user-s-saved-episodes.mjs.map +1 -1
- package/dist/actions/get-user-s-saved-shows.cjs +1 -1
- package/dist/actions/get-user-s-saved-shows.cjs.map +1 -1
- package/dist/actions/get-user-s-saved-shows.d.cts +1 -1
- package/dist/actions/get-user-s-saved-shows.d.mts +1 -1
- package/dist/actions/get-user-s-saved-shows.mjs +1 -1
- package/dist/actions/get-user-s-saved-shows.mjs.map +1 -1
- package/dist/actions/get-user-s-saved-tracks.cjs +1 -1
- package/dist/actions/get-user-s-saved-tracks.cjs.map +1 -1
- package/dist/actions/get-user-s-saved-tracks.d.cts +1 -1
- package/dist/actions/get-user-s-saved-tracks.d.mts +1 -1
- package/dist/actions/get-user-s-saved-tracks.mjs +1 -1
- package/dist/actions/get-user-s-saved-tracks.mjs.map +1 -1
- package/dist/actions/get-user-s-top-artists.cjs +5 -5
- package/dist/actions/get-user-s-top-artists.cjs.map +1 -1
- package/dist/actions/get-user-s-top-artists.d.cts +5 -5
- package/dist/actions/get-user-s-top-artists.d.mts +5 -5
- package/dist/actions/get-user-s-top-artists.mjs +5 -5
- package/dist/actions/get-user-s-top-artists.mjs.map +1 -1
- package/dist/actions/get-user-s-top-tracks.cjs +9 -9
- package/dist/actions/get-user-s-top-tracks.cjs.map +1 -1
- package/dist/actions/get-user-s-top-tracks.d.cts +15 -15
- package/dist/actions/get-user-s-top-tracks.d.mts +15 -15
- package/dist/actions/get-user-s-top-tracks.mjs +9 -9
- package/dist/actions/get-user-s-top-tracks.mjs.map +1 -1
- package/dist/actions/pause-playback.cjs +1 -1
- package/dist/actions/pause-playback.cjs.map +1 -1
- package/dist/actions/pause-playback.d.cts +1 -1
- package/dist/actions/pause-playback.d.mts +1 -1
- package/dist/actions/pause-playback.mjs +1 -1
- package/dist/actions/pause-playback.mjs.map +1 -1
- package/dist/actions/remove-user-s-saved-audiobooks.cjs +1 -1
- package/dist/actions/remove-user-s-saved-audiobooks.cjs.map +1 -1
- package/dist/actions/remove-user-s-saved-audiobooks.d.cts +1 -1
- package/dist/actions/remove-user-s-saved-audiobooks.d.mts +1 -1
- package/dist/actions/remove-user-s-saved-audiobooks.mjs +1 -1
- package/dist/actions/remove-user-s-saved-audiobooks.mjs.map +1 -1
- package/dist/actions/remove-user-s-saved-episodes.cjs +1 -1
- package/dist/actions/remove-user-s-saved-episodes.cjs.map +1 -1
- package/dist/actions/remove-user-s-saved-episodes.d.cts +1 -1
- package/dist/actions/remove-user-s-saved-episodes.d.mts +1 -1
- package/dist/actions/remove-user-s-saved-episodes.mjs +1 -1
- package/dist/actions/remove-user-s-saved-episodes.mjs.map +1 -1
- package/dist/actions/remove-user-s-saved-tracks.cjs +1 -1
- package/dist/actions/remove-user-s-saved-tracks.cjs.map +1 -1
- package/dist/actions/remove-user-s-saved-tracks.d.cts +1 -1
- package/dist/actions/remove-user-s-saved-tracks.d.mts +1 -1
- package/dist/actions/remove-user-s-saved-tracks.mjs +1 -1
- package/dist/actions/remove-user-s-saved-tracks.mjs.map +1 -1
- package/dist/actions/save-albums-for-current-user.cjs +1 -1
- package/dist/actions/save-albums-for-current-user.cjs.map +1 -1
- package/dist/actions/save-albums-for-current-user.d.cts +1 -1
- package/dist/actions/save-albums-for-current-user.d.mts +1 -1
- package/dist/actions/save-albums-for-current-user.mjs +1 -1
- package/dist/actions/save-albums-for-current-user.mjs.map +1 -1
- package/dist/actions/save-audiobooks-for-current-user.cjs +1 -1
- package/dist/actions/save-audiobooks-for-current-user.cjs.map +1 -1
- package/dist/actions/save-audiobooks-for-current-user.d.cts +1 -1
- package/dist/actions/save-audiobooks-for-current-user.d.mts +1 -1
- package/dist/actions/save-audiobooks-for-current-user.mjs +1 -1
- package/dist/actions/save-audiobooks-for-current-user.mjs.map +1 -1
- package/dist/actions/save-episodes-for-current-user.cjs +1 -1
- package/dist/actions/save-episodes-for-current-user.cjs.map +1 -1
- package/dist/actions/save-episodes-for-current-user.d.cts +1 -1
- package/dist/actions/save-episodes-for-current-user.d.mts +1 -1
- package/dist/actions/save-episodes-for-current-user.mjs +1 -1
- package/dist/actions/save-episodes-for-current-user.mjs.map +1 -1
- package/dist/actions/save-shows-for-current-user.cjs +1 -1
- package/dist/actions/save-shows-for-current-user.cjs.map +1 -1
- package/dist/actions/save-shows-for-current-user.d.cts +1 -1
- package/dist/actions/save-shows-for-current-user.d.mts +1 -1
- package/dist/actions/save-shows-for-current-user.mjs +1 -1
- package/dist/actions/save-shows-for-current-user.mjs.map +1 -1
- package/dist/actions/save-tracks-for-current-user.cjs +1 -1
- package/dist/actions/save-tracks-for-current-user.cjs.map +1 -1
- package/dist/actions/save-tracks-for-current-user.d.cts +1 -1
- package/dist/actions/save-tracks-for-current-user.d.mts +1 -1
- package/dist/actions/save-tracks-for-current-user.mjs +1 -1
- package/dist/actions/save-tracks-for-current-user.mjs.map +1 -1
- package/dist/actions/search-for-item.d.cts +3 -3
- package/dist/actions/search-for-item.d.mts +3 -3
- package/dist/actions/set-playback-volume.cjs +1 -1
- package/dist/actions/set-playback-volume.cjs.map +1 -1
- package/dist/actions/set-playback-volume.d.cts +1 -1
- package/dist/actions/set-playback-volume.d.mts +1 -1
- package/dist/actions/set-playback-volume.mjs +1 -1
- package/dist/actions/set-playback-volume.mjs.map +1 -1
- package/dist/actions/set-repeat-mode.cjs +1 -1
- package/dist/actions/set-repeat-mode.cjs.map +1 -1
- package/dist/actions/set-repeat-mode.d.cts +3 -3
- package/dist/actions/set-repeat-mode.d.mts +3 -3
- package/dist/actions/set-repeat-mode.mjs +1 -1
- package/dist/actions/set-repeat-mode.mjs.map +1 -1
- package/dist/actions/skip-to-previous.cjs +1 -1
- package/dist/actions/skip-to-previous.cjs.map +1 -1
- package/dist/actions/skip-to-previous.d.cts +1 -1
- package/dist/actions/skip-to-previous.d.mts +1 -1
- package/dist/actions/skip-to-previous.mjs +1 -1
- package/dist/actions/skip-to-previous.mjs.map +1 -1
- package/dist/actions/start-resume-playback.cjs +1 -1
- package/dist/actions/start-resume-playback.cjs.map +1 -1
- package/dist/actions/start-resume-playback.d.cts +1 -1
- package/dist/actions/start-resume-playback.d.mts +1 -1
- package/dist/actions/start-resume-playback.mjs +1 -1
- package/dist/actions/start-resume-playback.mjs.map +1 -1
- package/dist/actions/transfer-playback.cjs +1 -1
- package/dist/actions/transfer-playback.cjs.map +1 -1
- package/dist/actions/transfer-playback.d.cts +1 -1
- package/dist/actions/transfer-playback.d.mts +1 -1
- package/dist/actions/transfer-playback.mjs +1 -1
- package/dist/actions/transfer-playback.mjs.map +1 -1
- package/dist/actions/update-playlist-items.cjs +1 -1
- package/dist/actions/update-playlist-items.cjs.map +1 -1
- package/dist/actions/update-playlist-items.d.cts +1 -1
- package/dist/actions/update-playlist-items.d.mts +1 -1
- package/dist/actions/update-playlist-items.mjs +1 -1
- package/dist/actions/update-playlist-items.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -10,8 +10,8 @@ const SpotifyGetUserSTopTracks_ImageSchema = z.object({
|
|
|
10
10
|
url: z.string().describe("The source URL of the image").nullable(),
|
|
11
11
|
width: z.number().int().describe("The image width in pixels").nullable().optional(),
|
|
12
12
|
height: z.number().int().describe("The image height in pixels").nullable().optional()
|
|
13
|
-
}).describe("Image object");
|
|
14
|
-
const SpotifyGetUserSTopTracks_ExternalUrlsSchema = z.object({ spotify: z.string().describe("The Spotify URL for the object").nullable() }).describe("Known external URLs");
|
|
13
|
+
}).passthrough().describe("Image object");
|
|
14
|
+
const SpotifyGetUserSTopTracks_ExternalUrlsSchema = z.object({ spotify: z.string().describe("The Spotify URL for the object").nullable() }).passthrough().describe("Known external URLs");
|
|
15
15
|
const SpotifyGetUserSTopTracks_SimplifiedArtistSchema = z.object({
|
|
16
16
|
id: z.string().describe("The Spotify ID for the artist").nullable(),
|
|
17
17
|
uri: z.string().describe("The Spotify URI for the artist").nullable(),
|
|
@@ -19,8 +19,8 @@ const SpotifyGetUserSTopTracks_SimplifiedArtistSchema = z.object({
|
|
|
19
19
|
name: z.string().describe("The name of the artist").nullable(),
|
|
20
20
|
type: z.string().describe("The object type: artist").nullable(),
|
|
21
21
|
external_urls: SpotifyGetUserSTopTracks_ExternalUrlsSchema.nullable()
|
|
22
|
-
}).describe("Simplified artist object");
|
|
23
|
-
const SpotifyGetUserSTopTracks_RestrictionsSchema = z.object({ reason: z.string().describe("The reason for the restriction: market, product, or explicit").nullable() }).describe("Content restriction object");
|
|
22
|
+
}).passthrough().describe("Simplified artist object");
|
|
23
|
+
const SpotifyGetUserSTopTracks_RestrictionsSchema = z.object({ reason: z.string().describe("The reason for the restriction: market, product, or explicit").nullable() }).passthrough().describe("Content restriction object");
|
|
24
24
|
const SpotifyGetUserSTopTracks_SimplifiedAlbumSchema = z.object({
|
|
25
25
|
id: z.string().describe("The Spotify ID for the album").nullable(),
|
|
26
26
|
uri: z.string().describe("The Spotify URI for the album").nullable(),
|
|
@@ -36,19 +36,19 @@ const SpotifyGetUserSTopTracks_SimplifiedAlbumSchema = z.object({
|
|
|
36
36
|
external_urls: SpotifyGetUserSTopTracks_ExternalUrlsSchema.nullable(),
|
|
37
37
|
available_markets: z.array(z.string()).describe("The markets in which the album is available (ISO 3166-1 alpha-2 country codes)"),
|
|
38
38
|
release_date_precision: z.string().describe("The precision with which release_date value is known: year, month, or day").nullable()
|
|
39
|
-
}).describe("Simplified album object");
|
|
39
|
+
}).passthrough().describe("Simplified album object");
|
|
40
40
|
const SpotifyGetUserSTopTracks_LinkedFromSchema = z.object({
|
|
41
41
|
id: z.string().describe("The Spotify ID for the track").nullable().optional(),
|
|
42
42
|
uri: z.string().describe("The Spotify URI for the track").nullable().optional(),
|
|
43
43
|
href: z.string().describe("A link to the Web API endpoint providing full details").nullable().optional(),
|
|
44
44
|
type: z.string().describe("The object type: track").nullable().optional(),
|
|
45
45
|
external_urls: SpotifyGetUserSTopTracks_ExternalUrlsSchema.nullable().optional()
|
|
46
|
-
}).describe("Information about the originally requested track when Track Relinking is applied");
|
|
46
|
+
}).passthrough().describe("Information about the originally requested track when Track Relinking is applied");
|
|
47
47
|
const SpotifyGetUserSTopTracks_ExternalIdsSchema = z.object({
|
|
48
48
|
ean: z.string().describe("International Article Number").nullable().optional(),
|
|
49
49
|
upc: z.string().describe("Universal Product Code").nullable().optional(),
|
|
50
50
|
isrc: z.string().describe("International Standard Recording Code").nullable().optional()
|
|
51
|
-
}).describe("Known external IDs for the track");
|
|
51
|
+
}).passthrough().describe("Known external IDs for the track");
|
|
52
52
|
const SpotifyGetUserSTopTracks_TrackSchema = z.object({
|
|
53
53
|
id: z.string().describe("The Spotify ID for the track").nullable(),
|
|
54
54
|
uri: z.string().describe("The Spotify URI for the track").nullable(),
|
|
@@ -70,7 +70,7 @@ const SpotifyGetUserSTopTracks_TrackSchema = z.object({
|
|
|
70
70
|
track_number: z.number().int().describe("The number of the track. If an album has several discs, the track number is the number on the specified disc").nullable(),
|
|
71
71
|
external_urls: SpotifyGetUserSTopTracks_ExternalUrlsSchema.nullable(),
|
|
72
72
|
available_markets: z.array(z.string()).describe("A list of the countries in which the track can be played (ISO 3166-1 alpha-2 country codes)")
|
|
73
|
-
}).describe("Track object");
|
|
73
|
+
}).passthrough().describe("Track object");
|
|
74
74
|
const spotifyGetUserSTopTracks = action("SPOTIFY_GET_USER_S_TOP_TRACKS", {
|
|
75
75
|
slug: "spotify-get-user-s-top-tracks",
|
|
76
76
|
name: "Get User's Top Tracks",
|
|
@@ -84,7 +84,7 @@ const spotifyGetUserSTopTracks = action("SPOTIFY_GET_USER_S_TOP_TRACKS", {
|
|
|
84
84
|
total: z.number().int().describe("The total number of items available to return").nullable(),
|
|
85
85
|
offset: z.number().int().describe("The offset of the items returned (as set in the query or by default)").nullable(),
|
|
86
86
|
previous: z.string().describe("URL to the previous page of items (null if none)").nullable().optional()
|
|
87
|
-
}).describe("Response schema for `GetUserSTopTracks` - Paginated response containing user's top tracks")
|
|
87
|
+
}).passthrough().describe("Response schema for `GetUserSTopTracks` - Paginated response containing user's top tracks")
|
|
88
88
|
});
|
|
89
89
|
//#endregion
|
|
90
90
|
export { spotifyGetUserSTopTracks };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user-s-top-tracks.mjs","names":[],"sources":["../../src/actions/get-user-s-top-tracks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyGetUserSTopTracksInput = z.object({\n limit: z.number().int().default(20).describe(\"Maximum number of tracks to return. Minimum: 1, Maximum: 50.\").optional(),\n offset: z.number().int().default(0).describe(\"The index of the first track to return. Use with limit to paginate through results. Default: 0 (first track).\").optional(),\n time_range: z.string().default(\"medium_term\").describe(\"Time period for computing affinity. Options: 'long_term' (calculated from ~1 year of data), 'medium_term' (approximately last 6 months), 'short_term' (approximately last 4 weeks).\").optional(),\n}).describe(\"Request schema for `GetUserSTopTracks`\");\nconst SpotifyGetUserSTopTracks_ImageSchema = z.object({\n url: z.string().describe(\"The source URL of the image\").nullable(),\n width: z.number().int().describe(\"The image width in pixels\").nullable().optional(),\n height: z.number().int().describe(\"The image height in pixels\").nullable().optional(),\n}).describe(\"Image object\");\nconst SpotifyGetUserSTopTracks_ExternalUrlsSchema = z.object({\n spotify: z.string().describe(\"The Spotify URL for the object\").nullable(),\n}).describe(\"Known external URLs\");\nconst SpotifyGetUserSTopTracks_SimplifiedArtistSchema = z.object({\n id: z.string().describe(\"The Spotify ID for the artist\").nullable(),\n uri: z.string().describe(\"The Spotify URI for the artist\").nullable(),\n href: z.string().describe(\"A link to the Web API endpoint providing full details of the artist\").nullable(),\n name: z.string().describe(\"The name of the artist\").nullable(),\n type: z.string().describe(\"The object type: artist\").nullable(),\n external_urls: SpotifyGetUserSTopTracks_ExternalUrlsSchema.nullable(),\n}).describe(\"Simplified artist object\");\nconst SpotifyGetUserSTopTracks_RestrictionsSchema = z.object({\n reason: z.string().describe(\"The reason for the restriction: market, product, or explicit\").nullable(),\n}).describe(\"Content restriction object\");\nconst SpotifyGetUserSTopTracks_SimplifiedAlbumSchema = z.object({\n id: z.string().describe(\"The Spotify ID for the album\").nullable(),\n uri: z.string().describe(\"The Spotify URI for the album\").nullable(),\n href: z.string().describe(\"A link to the Web API endpoint providing full details of the album\").nullable(),\n name: z.string().describe(\"The name of the album\").nullable(),\n type: z.string().describe(\"The object type: album\").nullable(),\n images: z.array(SpotifyGetUserSTopTracks_ImageSchema).describe(\"The cover art for the album in various sizes, widest first\"),\n artists: z.array(SpotifyGetUserSTopTracks_SimplifiedArtistSchema).describe(\"The artists of the album\"),\n album_type: z.string().describe(\"The type of the album: album, single, or compilation\").nullable(),\n release_date: z.string().describe(\"The date the album was first released\").nullable(),\n restrictions: SpotifyGetUserSTopTracks_RestrictionsSchema.nullable().optional(),\n total_tracks: z.number().int().describe(\"The number of tracks in the album\").nullable(),\n external_urls: SpotifyGetUserSTopTracks_ExternalUrlsSchema.nullable(),\n available_markets: z.array(z.string()).describe(\"The markets in which the album is available (ISO 3166-1 alpha-2 country codes)\"),\n release_date_precision: z.string().describe(\"The precision with which release_date value is known: year, month, or day\").nullable(),\n}).describe(\"Simplified album object\");\nconst SpotifyGetUserSTopTracks_LinkedFromSchema = z.object({\n id: z.string().describe(\"The Spotify ID for the track\").nullable().optional(),\n uri: z.string().describe(\"The Spotify URI for the track\").nullable().optional(),\n href: z.string().describe(\"A link to the Web API endpoint providing full details\").nullable().optional(),\n type: z.string().describe(\"The object type: track\").nullable().optional(),\n external_urls: SpotifyGetUserSTopTracks_ExternalUrlsSchema.nullable().optional(),\n}).describe(\"Information about the originally requested track when Track Relinking is applied\");\nconst SpotifyGetUserSTopTracks_ExternalIdsSchema = z.object({\n ean: z.string().describe(\"International Article Number\").nullable().optional(),\n upc: z.string().describe(\"Universal Product Code\").nullable().optional(),\n isrc: z.string().describe(\"International Standard Recording Code\").nullable().optional(),\n}).describe(\"Known external IDs for the track\");\nconst SpotifyGetUserSTopTracks_TrackSchema = z.object({\n id: z.string().describe(\"The Spotify ID for the track\").nullable(),\n uri: z.string().describe(\"The Spotify URI for the track\").nullable(),\n href: z.string().describe(\"A link to the Web API endpoint providing full details of the track\").nullable(),\n name: z.string().describe(\"The name of the track\").nullable(),\n type: z.string().describe(\"The object type: track\").nullable(),\n album: SpotifyGetUserSTopTracks_SimplifiedAlbumSchema.nullable(),\n artists: z.array(SpotifyGetUserSTopTracks_SimplifiedArtistSchema).describe(\"The artists who performed the track\"),\n explicit: z.boolean().describe(\"Whether or not the track has explicit lyrics (true = yes it does; false = no it does not OR unknown)\").nullable(),\n is_local: z.boolean().describe(\"Whether or not the track is from a local file\").nullable(),\n popularity: z.number().int().describe(\"The popularity of the track. The value will be between 0 and 100, with 100 being the most popular\").nullable(),\n disc_number: z.number().int().describe(\"The disc number (usually 1 unless the album consists of more than one disc)\").nullable(),\n duration_ms: z.number().int().describe(\"The track length in milliseconds\").nullable(),\n is_playable: z.boolean().describe(\"Part of the response when Track Relinking is applied. If true, the track is playable in the given market. Otherwise false.\").nullable().optional(),\n linked_from: SpotifyGetUserSTopTracks_LinkedFromSchema.nullable().optional(),\n preview_url: z.string().describe(\"A link to a 30 second preview (MP3 format) of the track. Can be null\").nullable().optional(),\n external_ids: SpotifyGetUserSTopTracks_ExternalIdsSchema.nullable(),\n restrictions: SpotifyGetUserSTopTracks_RestrictionsSchema.nullable().optional(),\n track_number: z.number().int().describe(\"The number of the track. If an album has several discs, the track number is the number on the specified disc\").nullable(),\n external_urls: SpotifyGetUserSTopTracks_ExternalUrlsSchema.nullable(),\n available_markets: z.array(z.string()).describe(\"A list of the countries in which the track can be played (ISO 3166-1 alpha-2 country codes)\"),\n}).describe(\"Track object\");\nexport const SpotifyGetUserSTopTracksOutput = z.object({\n href: z.string().describe(\"A link to the Web API endpoint returning the full result of the request\").nullable(),\n next: z.string().describe(\"URL to the next page of items (null if none)\").nullable().optional(),\n items: z.array(SpotifyGetUserSTopTracks_TrackSchema).describe(\"Array of track objects\"),\n limit: z.number().int().describe(\"The maximum number of items in the response (as set in the query or by default)\").nullable(),\n total: z.number().int().describe(\"The total number of items available to return\").nullable(),\n offset: z.number().int().describe(\"The offset of the items returned (as set in the query or by default)\").nullable(),\n previous: z.string().describe(\"URL to the previous page of items (null if none)\").nullable().optional(),\n}).describe(\"Response schema for `GetUserSTopTracks` - Paginated response containing user's top tracks\");\n\nexport const spotifyGetUserSTopTracks = action(\"SPOTIFY_GET_USER_S_TOP_TRACKS\", {\n slug: \"spotify-get-user-s-top-tracks\",\n name: \"Get User's Top Tracks\",\n description: \"Get the current user's top tracks based on calculated affinity. Returns the user's most-played tracks over different time periods based on their listening history and calculated affinity. Required OAuth Scope: user-top-read Note: The Spotify API limits results to the top 50 tracks per time range. Returns detailed track information including artist names, album details, popularity scores, duration, and preview URLs. Useful for understanding user listening preferences and music taste.\",\n input: SpotifyGetUserSTopTracksInput,\n output: SpotifyGetUserSTopTracksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACtH,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;CACvK,YAAY,EAAE,OAAO,CAAC,CAAC,QAAQ,aAAa,CAAC,CAAC,SAAS,qLAAqL,CAAC,CAAC,SAAS;AACzP,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,uCAAuC,EAAE,OAAO;CACpD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACjE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,SAAS,cAAc;AAC1B,MAAM,8CAA8C,EAAE,OAAO,EAC3D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,EAC1E,CAAC,CAAC,CAAC,SAAS,qBAAqB;AACjC,MAAM,kDAAkD,EAAE,OAAO;CAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC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9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAf4C,EAAE,OAAO;EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;EAC9G,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,OAAO,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,wBAAwB;EACtF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;EAC7H,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EAC3F,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;EACnH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,CAAC,CAAC,CAAC,SAAS,2FAOF;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"get-user-s-top-tracks.mjs","names":[],"sources":["../../src/actions/get-user-s-top-tracks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyGetUserSTopTracksInput = z.object({\n limit: z.number().int().default(20).describe(\"Maximum number of tracks to return. Minimum: 1, Maximum: 50.\").optional(),\n offset: z.number().int().default(0).describe(\"The index of the first track to return. Use with limit to paginate through results. Default: 0 (first track).\").optional(),\n time_range: z.string().default(\"medium_term\").describe(\"Time period for computing affinity. Options: 'long_term' (calculated from ~1 year of data), 'medium_term' (approximately last 6 months), 'short_term' (approximately last 4 weeks).\").optional(),\n}).describe(\"Request schema for `GetUserSTopTracks`\");\nconst SpotifyGetUserSTopTracks_ImageSchema = z.object({\n url: z.string().describe(\"The source URL of the image\").nullable(),\n width: z.number().int().describe(\"The image width in pixels\").nullable().optional(),\n height: z.number().int().describe(\"The image height in pixels\").nullable().optional(),\n}).passthrough().describe(\"Image object\");\nconst SpotifyGetUserSTopTracks_ExternalUrlsSchema = z.object({\n spotify: z.string().describe(\"The Spotify URL for the object\").nullable(),\n}).passthrough().describe(\"Known external URLs\");\nconst SpotifyGetUserSTopTracks_SimplifiedArtistSchema = z.object({\n id: z.string().describe(\"The Spotify ID for the artist\").nullable(),\n uri: z.string().describe(\"The Spotify URI for the artist\").nullable(),\n href: z.string().describe(\"A link to the Web API endpoint providing full details of the artist\").nullable(),\n name: z.string().describe(\"The name of the artist\").nullable(),\n type: z.string().describe(\"The object type: artist\").nullable(),\n external_urls: SpotifyGetUserSTopTracks_ExternalUrlsSchema.nullable(),\n}).passthrough().describe(\"Simplified artist object\");\nconst SpotifyGetUserSTopTracks_RestrictionsSchema = z.object({\n reason: z.string().describe(\"The reason for the restriction: market, product, or explicit\").nullable(),\n}).passthrough().describe(\"Content restriction object\");\nconst SpotifyGetUserSTopTracks_SimplifiedAlbumSchema = z.object({\n id: z.string().describe(\"The Spotify ID for the album\").nullable(),\n uri: z.string().describe(\"The Spotify URI for the album\").nullable(),\n href: z.string().describe(\"A link to the Web API endpoint providing full details of the album\").nullable(),\n name: z.string().describe(\"The name of the album\").nullable(),\n type: z.string().describe(\"The object type: album\").nullable(),\n images: z.array(SpotifyGetUserSTopTracks_ImageSchema).describe(\"The cover art for the album in various sizes, widest first\"),\n artists: z.array(SpotifyGetUserSTopTracks_SimplifiedArtistSchema).describe(\"The artists of the album\"),\n album_type: z.string().describe(\"The type of the album: album, single, or compilation\").nullable(),\n release_date: z.string().describe(\"The date the album was first released\").nullable(),\n restrictions: SpotifyGetUserSTopTracks_RestrictionsSchema.nullable().optional(),\n total_tracks: z.number().int().describe(\"The number of tracks in the album\").nullable(),\n external_urls: SpotifyGetUserSTopTracks_ExternalUrlsSchema.nullable(),\n available_markets: z.array(z.string()).describe(\"The markets in which the album is available (ISO 3166-1 alpha-2 country codes)\"),\n release_date_precision: z.string().describe(\"The precision with which release_date value is known: year, month, or day\").nullable(),\n}).passthrough().describe(\"Simplified album object\");\nconst SpotifyGetUserSTopTracks_LinkedFromSchema = z.object({\n id: z.string().describe(\"The Spotify ID for the track\").nullable().optional(),\n uri: z.string().describe(\"The Spotify URI for the track\").nullable().optional(),\n href: z.string().describe(\"A link to the Web API endpoint providing full details\").nullable().optional(),\n type: z.string().describe(\"The object type: track\").nullable().optional(),\n external_urls: SpotifyGetUserSTopTracks_ExternalUrlsSchema.nullable().optional(),\n}).passthrough().describe(\"Information about the originally requested track when Track Relinking is applied\");\nconst SpotifyGetUserSTopTracks_ExternalIdsSchema = z.object({\n ean: z.string().describe(\"International Article Number\").nullable().optional(),\n upc: z.string().describe(\"Universal Product Code\").nullable().optional(),\n isrc: z.string().describe(\"International Standard Recording Code\").nullable().optional(),\n}).passthrough().describe(\"Known external IDs for the track\");\nconst SpotifyGetUserSTopTracks_TrackSchema = z.object({\n id: z.string().describe(\"The Spotify ID for the track\").nullable(),\n uri: z.string().describe(\"The Spotify URI for the track\").nullable(),\n href: z.string().describe(\"A link to the Web API endpoint providing full details of the track\").nullable(),\n name: z.string().describe(\"The name of the track\").nullable(),\n type: z.string().describe(\"The object type: track\").nullable(),\n album: SpotifyGetUserSTopTracks_SimplifiedAlbumSchema.nullable(),\n artists: z.array(SpotifyGetUserSTopTracks_SimplifiedArtistSchema).describe(\"The artists who performed the track\"),\n explicit: z.boolean().describe(\"Whether or not the track has explicit lyrics (true = yes it does; false = no it does not OR unknown)\").nullable(),\n is_local: z.boolean().describe(\"Whether or not the track is from a local file\").nullable(),\n popularity: z.number().int().describe(\"The popularity of the track. The value will be between 0 and 100, with 100 being the most popular\").nullable(),\n disc_number: z.number().int().describe(\"The disc number (usually 1 unless the album consists of more than one disc)\").nullable(),\n duration_ms: z.number().int().describe(\"The track length in milliseconds\").nullable(),\n is_playable: z.boolean().describe(\"Part of the response when Track Relinking is applied. If true, the track is playable in the given market. Otherwise false.\").nullable().optional(),\n linked_from: SpotifyGetUserSTopTracks_LinkedFromSchema.nullable().optional(),\n preview_url: z.string().describe(\"A link to a 30 second preview (MP3 format) of the track. Can be null\").nullable().optional(),\n external_ids: SpotifyGetUserSTopTracks_ExternalIdsSchema.nullable(),\n restrictions: SpotifyGetUserSTopTracks_RestrictionsSchema.nullable().optional(),\n track_number: z.number().int().describe(\"The number of the track. If an album has several discs, the track number is the number on the specified disc\").nullable(),\n external_urls: SpotifyGetUserSTopTracks_ExternalUrlsSchema.nullable(),\n available_markets: z.array(z.string()).describe(\"A list of the countries in which the track can be played (ISO 3166-1 alpha-2 country codes)\"),\n}).passthrough().describe(\"Track object\");\nexport const SpotifyGetUserSTopTracksOutput = z.object({\n href: z.string().describe(\"A link to the Web API endpoint returning the full result of the request\").nullable(),\n next: z.string().describe(\"URL to the next page of items (null if none)\").nullable().optional(),\n items: z.array(SpotifyGetUserSTopTracks_TrackSchema).describe(\"Array of track objects\"),\n limit: z.number().int().describe(\"The maximum number of items in the response (as set in the query or by default)\").nullable(),\n total: z.number().int().describe(\"The total number of items available to return\").nullable(),\n offset: z.number().int().describe(\"The offset of the items returned (as set in the query or by default)\").nullable(),\n previous: z.string().describe(\"URL to the previous page of items (null if none)\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `GetUserSTopTracks` - Paginated response containing user's top tracks\");\n\nexport const spotifyGetUserSTopTracks = action(\"SPOTIFY_GET_USER_S_TOP_TRACKS\", {\n slug: \"spotify-get-user-s-top-tracks\",\n name: \"Get User's Top Tracks\",\n description: \"Get the current user's top tracks based on calculated affinity. Returns the user's most-played tracks over different time periods based on their listening history and calculated affinity. Required OAuth Scope: user-top-read Note: The Spotify API limits results to the top 50 tracks per time range. Returns detailed track information including artist names, album details, popularity scores, duration, and preview URLs. Useful for understanding user listening preferences and music taste.\",\n input: SpotifyGetUserSTopTracksInput,\n output: SpotifyGetUserSTopTracksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACp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OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,OAAO,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,wBAAwB;EACtF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;EAC7H,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EAC3F,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;EACnH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2FAOhB;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/pause-playback.ts
|
|
4
4
|
const SpotifyPausePlaybackInput = zod.z.object({ device_id: zod.z.string().describe("The ID of the device to pause playback on. If not provided, playback will be paused on the currently active device. Use the 'get_available_devices' action to retrieve device IDs.").optional() }).describe("Request schema for `PausePlayback`");
|
|
5
|
-
const SpotifyPausePlaybackOutput = zod.z.object({ success: zod.z.boolean().default(true).nullable().optional() }).describe("Response schema for `PausePlayback`\n\nThe Spotify API returns HTTP 204 No Content on successful pause.\nThis response object will be empty when the action succeeds.");
|
|
5
|
+
const SpotifyPausePlaybackOutput = zod.z.object({ success: zod.z.boolean().default(true).nullable().optional() }).passthrough().describe("Response schema for `PausePlayback`\n\nThe Spotify API returns HTTP 204 No Content on successful pause.\nThis response object will be empty when the action succeeds.");
|
|
6
6
|
const spotifyPausePlayback = require_action.action("SPOTIFY_PAUSE_PLAYBACK", {
|
|
7
7
|
slug: "spotify-pause-playback",
|
|
8
8
|
name: "Pause playback",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pause-playback.cjs","names":["z","action"],"sources":["../../src/actions/pause-playback.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyPausePlaybackInput = z.object({\n device_id: z.string().describe(\"The ID of the device to pause playback on. If not provided, playback will be paused on the currently active device. Use the 'get_available_devices' action to retrieve device IDs.\").optional(),\n}).describe(\"Request schema for `PausePlayback`\");\nexport const SpotifyPausePlaybackOutput = z.object({\n success: z.boolean().default(true).nullable().optional(),\n}).describe(\"Response schema for `PausePlayback`\\n\\nThe Spotify API returns HTTP 204 No Content on successful pause.\\nThis response object will be empty when the action succeeds.\");\n\nexport const spotifyPausePlayback = action(\"SPOTIFY_PAUSE_PLAYBACK\", {\n slug: \"spotify-pause-playback\",\n name: \"Pause playback\",\n description: \"Pause playback on the user's account. Pauses playback on the currently active device or on a specified device. Returns immediately with success when playback is paused. If no device is specified, the currently active device will be paused. Requirements: - Spotify Premium subscription - OAuth scope: user-modify-playback-state - Active playback session Note: The order of execution is not guaranteed when you use this API with other Player API endpoints. If playback is already paused, this action will still succeed (idempotent). Common scenarios: - Pause current playback: Call with no parameters - Pause specific device: Provide device_id parameter Error scenarios: - 403: User does not have Spotify Premium - 404: No active device found\",\n input: SpotifyPausePlaybackInput,\n output: SpotifyPausePlaybackOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oLAAoL,CAAC,CAAC,SAAS,EAChO,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzD,CAAC,CAAC,CAAC,SAAS,uKAAuK;
|
|
1
|
+
{"version":3,"file":"pause-playback.cjs","names":["z","action"],"sources":["../../src/actions/pause-playback.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyPausePlaybackInput = z.object({\n device_id: z.string().describe(\"The ID of the device to pause playback on. If not provided, playback will be paused on the currently active device. Use the 'get_available_devices' action to retrieve device IDs.\").optional(),\n}).describe(\"Request schema for `PausePlayback`\");\nexport const SpotifyPausePlaybackOutput = z.object({\n success: z.boolean().default(true).nullable().optional(),\n}).passthrough().describe(\"Response schema for `PausePlayback`\\n\\nThe Spotify API returns HTTP 204 No Content on successful pause.\\nThis response object will be empty when the action succeeds.\");\n\nexport const spotifyPausePlayback = action(\"SPOTIFY_PAUSE_PLAYBACK\", {\n slug: \"spotify-pause-playback\",\n name: \"Pause playback\",\n description: \"Pause playback on the user's account. Pauses playback on the currently active device or on a specified device. Returns immediately with success when playback is paused. If no device is specified, the currently active device will be paused. Requirements: - Spotify Premium subscription - OAuth scope: user-modify-playback-state - Active playback session Note: The order of execution is not guaranteed when you use this API with other Player API endpoints. If playback is already paused, this action will still succeed (idempotent). Common scenarios: - Pause current playback: Call with no parameters - Pause specific device: Provide device_id parameter Error scenarios: - 403: User does not have Spotify Premium - 404: No active device found\",\n input: SpotifyPausePlaybackInput,\n output: SpotifyPausePlaybackOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oLAAoL,CAAC,CAAC,SAAS,EAChO,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uKAAuK;AAEjM,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -6,7 +6,7 @@ declare const SpotifyPausePlaybackInput: z.ZodObject<{
|
|
|
6
6
|
}, z.core.$strip>;
|
|
7
7
|
declare const SpotifyPausePlaybackOutput: z.ZodObject<{
|
|
8
8
|
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
9
|
-
}, z.core.$
|
|
9
|
+
}, z.core.$loose>;
|
|
10
10
|
declare const spotifyPausePlayback: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
11
|
device_id?: string | undefined;
|
|
12
12
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -6,7 +6,7 @@ declare const SpotifyPausePlaybackInput: z.ZodObject<{
|
|
|
6
6
|
}, z.core.$strip>;
|
|
7
7
|
declare const SpotifyPausePlaybackOutput: z.ZodObject<{
|
|
8
8
|
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
9
|
-
}, z.core.$
|
|
9
|
+
}, z.core.$loose>;
|
|
10
10
|
declare const spotifyPausePlayback: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
11
11
|
device_id?: string | undefined;
|
|
12
12
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -5,7 +5,7 @@ const spotifyPausePlayback = action("SPOTIFY_PAUSE_PLAYBACK", {
|
|
|
5
5
|
name: "Pause playback",
|
|
6
6
|
description: "Pause playback on the user's account. Pauses playback on the currently active device or on a specified device. Returns immediately with success when playback is paused. If no device is specified, the currently active device will be paused. Requirements: - Spotify Premium subscription - OAuth scope: user-modify-playback-state - Active playback session Note: The order of execution is not guaranteed when you use this API with other Player API endpoints. If playback is already paused, this action will still succeed (idempotent). Common scenarios: - Pause current playback: Call with no parameters - Pause specific device: Provide device_id parameter Error scenarios: - 403: User does not have Spotify Premium - 404: No active device found",
|
|
7
7
|
input: z.object({ device_id: z.string().describe("The ID of the device to pause playback on. If not provided, playback will be paused on the currently active device. Use the 'get_available_devices' action to retrieve device IDs.").optional() }).describe("Request schema for `PausePlayback`"),
|
|
8
|
-
output: z.object({ success: z.boolean().default(true).nullable().optional() }).describe("Response schema for `PausePlayback`\n\nThe Spotify API returns HTTP 204 No Content on successful pause.\nThis response object will be empty when the action succeeds.")
|
|
8
|
+
output: z.object({ success: z.boolean().default(true).nullable().optional() }).passthrough().describe("Response schema for `PausePlayback`\n\nThe Spotify API returns HTTP 204 No Content on successful pause.\nThis response object will be empty when the action succeeds.")
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { spotifyPausePlayback };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pause-playback.mjs","names":[],"sources":["../../src/actions/pause-playback.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyPausePlaybackInput = z.object({\n device_id: z.string().describe(\"The ID of the device to pause playback on. If not provided, playback will be paused on the currently active device. Use the 'get_available_devices' action to retrieve device IDs.\").optional(),\n}).describe(\"Request schema for `PausePlayback`\");\nexport const SpotifyPausePlaybackOutput = z.object({\n success: z.boolean().default(true).nullable().optional(),\n}).describe(\"Response schema for `PausePlayback`\\n\\nThe Spotify API returns HTTP 204 No Content on successful pause.\\nThis response object will be empty when the action succeeds.\");\n\nexport const spotifyPausePlayback = action(\"SPOTIFY_PAUSE_PLAYBACK\", {\n slug: \"spotify-pause-playback\",\n name: \"Pause playback\",\n description: \"Pause playback on the user's account. Pauses playback on the currently active device or on a specified device. Returns immediately with success when playback is paused. If no device is specified, the currently active device will be paused. Requirements: - Spotify Premium subscription - OAuth scope: user-modify-playback-state - Active playback session Note: The order of execution is not guaranteed when you use this API with other Player API endpoints. If playback is already paused, this action will still succeed (idempotent). Common scenarios: - Pause current playback: Call with no parameters - Pause specific device: Provide device_id parameter Error scenarios: - 403: User does not have Spotify Premium - 404: No active device found\",\n input: SpotifyPausePlaybackInput,\n output: SpotifyPausePlaybackOutput,\n});\n"],"mappings":";;AAWA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXuC,EAAE,OAAO,EAChD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oLAAoL,CAAC,CAAC,SAAS,EAChO,CAAC,CAAC,CAAC,SAAS,oCASH;CACP,QATwC,EAAE,OAAO,EACjD,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzD,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"pause-playback.mjs","names":[],"sources":["../../src/actions/pause-playback.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyPausePlaybackInput = z.object({\n device_id: z.string().describe(\"The ID of the device to pause playback on. If not provided, playback will be paused on the currently active device. Use the 'get_available_devices' action to retrieve device IDs.\").optional(),\n}).describe(\"Request schema for `PausePlayback`\");\nexport const SpotifyPausePlaybackOutput = z.object({\n success: z.boolean().default(true).nullable().optional(),\n}).passthrough().describe(\"Response schema for `PausePlayback`\\n\\nThe Spotify API returns HTTP 204 No Content on successful pause.\\nThis response object will be empty when the action succeeds.\");\n\nexport const spotifyPausePlayback = action(\"SPOTIFY_PAUSE_PLAYBACK\", {\n slug: \"spotify-pause-playback\",\n name: \"Pause playback\",\n description: \"Pause playback on the user's account. Pauses playback on the currently active device or on a specified device. Returns immediately with success when playback is paused. If no device is specified, the currently active device will be paused. Requirements: - Spotify Premium subscription - OAuth scope: user-modify-playback-state - Active playback session Note: The order of execution is not guaranteed when you use this API with other Player API endpoints. If playback is already paused, this action will still succeed (idempotent). Common scenarios: - Pause current playback: Call with no parameters - Pause specific device: Provide device_id parameter Error scenarios: - 403: User does not have Spotify Premium - 404: No active device found\",\n input: SpotifyPausePlaybackInput,\n output: SpotifyPausePlaybackOutput,\n});\n"],"mappings":";;AAWA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXuC,EAAE,OAAO,EAChD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oLAAoL,CAAC,CAAC,SAAS,EAChO,CAAC,CAAC,CAAC,SAAS,oCASH;CACP,QATwC,EAAE,OAAO,EACjD,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uKAOhB;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const SpotifyRemoveUserSSavedAudiobooksInput = zod.z.object({ ids: zod.z.union([
|
|
|
5
5
|
const SpotifyRemoveUserSSavedAudiobooks_ErrorDetailsSchema = zod.z.object({
|
|
6
6
|
status: zod.z.number().int().describe("HTTP status code in the 400-599 range indicating the type of error").nullable(),
|
|
7
7
|
message: zod.z.string().describe("Brief description of the error that occurred").nullable()
|
|
8
|
-
}).describe("Error details returned for authentication, authorization, or rate limiting issues.");
|
|
8
|
+
}).passthrough().describe("Error details returned for authentication, authorization, or rate limiting issues.");
|
|
9
9
|
const SpotifyRemoveUserSSavedAudiobooksOutput = zod.z.object({ error: SpotifyRemoveUserSSavedAudiobooks_ErrorDetailsSchema.nullable().optional() }).passthrough().describe("Response schema for `RemoveUserSSavedAudiobooks`.\n\nSuccess returns an empty response (HTTP 200).\nError responses (401/403/429) contain error details with status and message.");
|
|
10
10
|
const spotifyRemoveUserSSavedAudiobooks = require_action.action("SPOTIFY_REMOVE_USER_S_SAVED_AUDIOBOOKS", {
|
|
11
11
|
slug: "spotify-remove-user-s-saved-audiobooks",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remove-user-s-saved-audiobooks.cjs","names":["z","action"],"sources":["../../src/actions/remove-user-s-saved-audiobooks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyRemoveUserSSavedAudiobooksInput = z.object({\n ids: z.union([z.string(), z.array(z.string())]),\n}).describe(\"Request schema for `RemoveUserSSavedAudiobooks`\");\nconst SpotifyRemoveUserSSavedAudiobooks_ErrorDetailsSchema = z.object({\n status: z.number().int().describe(\"HTTP status code in the 400-599 range indicating the type of error\").nullable(),\n message: z.string().describe(\"Brief description of the error that occurred\").nullable(),\n}).describe(\"Error details returned for authentication, authorization, or rate limiting issues.\");\nexport const SpotifyRemoveUserSSavedAudiobooksOutput = z.object({\n error: SpotifyRemoveUserSSavedAudiobooks_ErrorDetailsSchema.nullable().optional(),\n}).passthrough().describe(\"Response schema for `RemoveUserSSavedAudiobooks`.\\n\\nSuccess returns an empty response (HTTP 200).\\nError responses (401/403/429) contain error details with status and message.\");\n\nexport const spotifyRemoveUserSSavedAudiobooks = action(\"SPOTIFY_REMOVE_USER_S_SAVED_AUDIOBOOKS\", {\n slug: \"spotify-remove-user-s-saved-audiobooks\",\n name: \"Remove User's Saved Audiobooks\",\n description: \"Remove one or more audiobooks from the current user's Spotify library. This endpoint removes saved audiobooks from the user's library. Audiobook IDs can be specified as a comma-separated string or as a list of IDs. Maximum of 50 IDs per request. Note: Audiobooks are only available in the US, UK, Canada, Ireland, New Zealand, and Australia markets. Required scope: user-library-modify\",\n input: SpotifyRemoveUserSSavedAudiobooksInput,\n output: SpotifyRemoveUserSSavedAudiobooksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO,EAC7D,KAAKA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,EAChD,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,uDAAuDA,IAAAA,EAAE,OAAO;CACpE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CACjH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,SAAS,oFAAoF;
|
|
1
|
+
{"version":3,"file":"remove-user-s-saved-audiobooks.cjs","names":["z","action"],"sources":["../../src/actions/remove-user-s-saved-audiobooks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyRemoveUserSSavedAudiobooksInput = z.object({\n ids: z.union([z.string(), z.array(z.string())]),\n}).describe(\"Request schema for `RemoveUserSSavedAudiobooks`\");\nconst SpotifyRemoveUserSSavedAudiobooks_ErrorDetailsSchema = z.object({\n status: z.number().int().describe(\"HTTP status code in the 400-599 range indicating the type of error\").nullable(),\n message: z.string().describe(\"Brief description of the error that occurred\").nullable(),\n}).passthrough().describe(\"Error details returned for authentication, authorization, or rate limiting issues.\");\nexport const SpotifyRemoveUserSSavedAudiobooksOutput = z.object({\n error: SpotifyRemoveUserSSavedAudiobooks_ErrorDetailsSchema.nullable().optional(),\n}).passthrough().describe(\"Response schema for `RemoveUserSSavedAudiobooks`.\\n\\nSuccess returns an empty response (HTTP 200).\\nError responses (401/403/429) contain error details with status and message.\");\n\nexport const spotifyRemoveUserSSavedAudiobooks = action(\"SPOTIFY_REMOVE_USER_S_SAVED_AUDIOBOOKS\", {\n slug: \"spotify-remove-user-s-saved-audiobooks\",\n name: \"Remove User's Saved Audiobooks\",\n description: \"Remove one or more audiobooks from the current user's Spotify library. This endpoint removes saved audiobooks from the user's library. Audiobook IDs can be specified as a comma-separated string or as a list of IDs. Maximum of 50 IDs per request. Note: Audiobooks are only available in the US, UK, Canada, Ireland, New Zealand, and Australia markets. Required scope: user-library-modify\",\n input: SpotifyRemoveUserSSavedAudiobooksInput,\n output: SpotifyRemoveUserSSavedAudiobooksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO,EAC7D,KAAKA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,EAChD,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,uDAAuDA,IAAAA,EAAE,OAAO;CACpE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CACjH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oFAAoF;AAC9G,MAAa,0CAA0CA,IAAAA,EAAE,OAAO,EAC9D,OAAO,qDAAqD,SAAS,CAAC,CAAC,SAAS,EAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kLAAkL;AAE5M,MAAa,oCAAoCC,eAAAA,OAAO,0CAA0C;CAChG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -8,7 +8,7 @@ declare const SpotifyRemoveUserSSavedAudiobooksOutput: z.ZodObject<{
|
|
|
8
8
|
error: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
9
9
|
status: z.ZodNullable<z.ZodNumber>;
|
|
10
10
|
message: z.ZodNullable<z.ZodString>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>>>;
|
|
12
12
|
}, z.core.$loose>;
|
|
13
13
|
declare const spotifyRemoveUserSSavedAudiobooks: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
14
|
ids: string | string[];
|
|
@@ -8,7 +8,7 @@ declare const SpotifyRemoveUserSSavedAudiobooksOutput: z.ZodObject<{
|
|
|
8
8
|
error: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
9
9
|
status: z.ZodNullable<z.ZodNumber>;
|
|
10
10
|
message: z.ZodNullable<z.ZodString>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>>>;
|
|
12
12
|
}, z.core.$loose>;
|
|
13
13
|
declare const spotifyRemoveUserSSavedAudiobooks: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
14
|
ids: string | string[];
|
|
@@ -5,7 +5,7 @@ const SpotifyRemoveUserSSavedAudiobooksInput = z.object({ ids: z.union([z.string
|
|
|
5
5
|
const SpotifyRemoveUserSSavedAudiobooks_ErrorDetailsSchema = z.object({
|
|
6
6
|
status: z.number().int().describe("HTTP status code in the 400-599 range indicating the type of error").nullable(),
|
|
7
7
|
message: z.string().describe("Brief description of the error that occurred").nullable()
|
|
8
|
-
}).describe("Error details returned for authentication, authorization, or rate limiting issues.");
|
|
8
|
+
}).passthrough().describe("Error details returned for authentication, authorization, or rate limiting issues.");
|
|
9
9
|
const spotifyRemoveUserSSavedAudiobooks = action("SPOTIFY_REMOVE_USER_S_SAVED_AUDIOBOOKS", {
|
|
10
10
|
slug: "spotify-remove-user-s-saved-audiobooks",
|
|
11
11
|
name: "Remove User's Saved Audiobooks",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remove-user-s-saved-audiobooks.mjs","names":[],"sources":["../../src/actions/remove-user-s-saved-audiobooks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyRemoveUserSSavedAudiobooksInput = z.object({\n ids: z.union([z.string(), z.array(z.string())]),\n}).describe(\"Request schema for `RemoveUserSSavedAudiobooks`\");\nconst SpotifyRemoveUserSSavedAudiobooks_ErrorDetailsSchema = z.object({\n status: z.number().int().describe(\"HTTP status code in the 400-599 range indicating the type of error\").nullable(),\n message: z.string().describe(\"Brief description of the error that occurred\").nullable(),\n}).describe(\"Error details returned for authentication, authorization, or rate limiting issues.\");\nexport const SpotifyRemoveUserSSavedAudiobooksOutput = z.object({\n error: SpotifyRemoveUserSSavedAudiobooks_ErrorDetailsSchema.nullable().optional(),\n}).passthrough().describe(\"Response schema for `RemoveUserSSavedAudiobooks`.\\n\\nSuccess returns an empty response (HTTP 200).\\nError responses (401/403/429) contain error details with status and message.\");\n\nexport const spotifyRemoveUserSSavedAudiobooks = action(\"SPOTIFY_REMOVE_USER_S_SAVED_AUDIOBOOKS\", {\n slug: \"spotify-remove-user-s-saved-audiobooks\",\n name: \"Remove User's Saved Audiobooks\",\n description: \"Remove one or more audiobooks from the current user's Spotify library. This endpoint removes saved audiobooks from the user's library. Audiobook IDs can be specified as a comma-separated string or as a list of IDs. Maximum of 50 IDs per request. Note: Audiobooks are only available in the US, UK, Canada, Ireland, New Zealand, and Australia markets. Required scope: user-library-modify\",\n input: SpotifyRemoveUserSSavedAudiobooksInput,\n output: SpotifyRemoveUserSSavedAudiobooksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyC,EAAE,OAAO,EAC7D,KAAK,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,EAChD,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,uDAAuD,EAAE,OAAO;CACpE,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CACjH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,SAAS,oFAAoF;
|
|
1
|
+
{"version":3,"file":"remove-user-s-saved-audiobooks.mjs","names":[],"sources":["../../src/actions/remove-user-s-saved-audiobooks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyRemoveUserSSavedAudiobooksInput = z.object({\n ids: z.union([z.string(), z.array(z.string())]),\n}).describe(\"Request schema for `RemoveUserSSavedAudiobooks`\");\nconst SpotifyRemoveUserSSavedAudiobooks_ErrorDetailsSchema = z.object({\n status: z.number().int().describe(\"HTTP status code in the 400-599 range indicating the type of error\").nullable(),\n message: z.string().describe(\"Brief description of the error that occurred\").nullable(),\n}).passthrough().describe(\"Error details returned for authentication, authorization, or rate limiting issues.\");\nexport const SpotifyRemoveUserSSavedAudiobooksOutput = z.object({\n error: SpotifyRemoveUserSSavedAudiobooks_ErrorDetailsSchema.nullable().optional(),\n}).passthrough().describe(\"Response schema for `RemoveUserSSavedAudiobooks`.\\n\\nSuccess returns an empty response (HTTP 200).\\nError responses (401/403/429) contain error details with status and message.\");\n\nexport const spotifyRemoveUserSSavedAudiobooks = action(\"SPOTIFY_REMOVE_USER_S_SAVED_AUDIOBOOKS\", {\n slug: \"spotify-remove-user-s-saved-audiobooks\",\n name: \"Remove User's Saved Audiobooks\",\n description: \"Remove one or more audiobooks from the current user's Spotify library. This endpoint removes saved audiobooks from the user's library. Audiobook IDs can be specified as a comma-separated string or as a list of IDs. Maximum of 50 IDs per request. Note: Audiobooks are only available in the US, UK, Canada, Ireland, New Zealand, and Australia markets. Required scope: user-library-modify\",\n input: SpotifyRemoveUserSSavedAudiobooksInput,\n output: SpotifyRemoveUserSSavedAudiobooksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyC,EAAE,OAAO,EAC7D,KAAK,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,EAChD,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,uDAAuD,EAAE,OAAO;CACpE,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CACjH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oFAAoF;AAK9G,MAAa,oCAAoC,OAAO,0CAA0C;CAChG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATqD,EAAE,OAAO,EAC9D,OAAO,qDAAqD,SAAS,CAAC,CAAC,SAAS,EAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kLAOhB;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const SpotifyRemoveUserSSavedEpisodesInput = zod.z.object({ ids: zod.z.union([zo
|
|
|
5
5
|
const SpotifyRemoveUserSSavedEpisodesOutput = zod.z.object({
|
|
6
6
|
message: zod.z.string().default("Episodes removed successfully").describe("Status message describing the result of the operation").nullable().optional(),
|
|
7
7
|
success: zod.z.boolean().default(true).describe("Indicates whether the episodes were successfully removed from the user's library").nullable().optional()
|
|
8
|
-
}).describe("Response schema for `RemoveUserSSavedEpisodes`");
|
|
8
|
+
}).passthrough().describe("Response schema for `RemoveUserSSavedEpisodes`");
|
|
9
9
|
const spotifyRemoveUserSSavedEpisodes = require_action.action("SPOTIFY_REMOVE_USER_S_SAVED_EPISODES", {
|
|
10
10
|
slug: "spotify-remove-user-s-saved-episodes",
|
|
11
11
|
name: "Remove user's saved episodes",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remove-user-s-saved-episodes.cjs","names":["z","action"],"sources":["../../src/actions/remove-user-s-saved-episodes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyRemoveUserSSavedEpisodesInput = z.object({\n ids: z.union([z.string(), z.array(z.string())]),\n}).describe(\"Request schema for `RemoveUserSSavedEpisodes`\");\nexport const SpotifyRemoveUserSSavedEpisodesOutput = z.object({\n message: z.string().default(\"Episodes removed successfully\").describe(\"Status message describing the result of the operation\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the episodes were successfully removed from the user's library\").nullable().optional(),\n}).describe(\"Response schema for `RemoveUserSSavedEpisodes`\");\n\nexport const spotifyRemoveUserSSavedEpisodes = action(\"SPOTIFY_REMOVE_USER_S_SAVED_EPISODES\", {\n slug: \"spotify-remove-user-s-saved-episodes\",\n name: \"Remove user's saved episodes\",\n description: \"Remove one or more episodes from the current user's library. This endpoint removes episodes that have been saved to the user's \\\"Your Episodes\\\" library. The operation is idempotent - removing an episode that is not saved will return success. Up to 50 episode IDs can be removed in a single request. Required scope: user-library-modify Note: This API endpoint is in beta and may change without notice.\",\n input: SpotifyRemoveUserSSavedEpisodesInput,\n output: SpotifyRemoveUserSSavedEpisodesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,EAC3D,KAAKA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,EAChD,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,+BAA+B,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnJ,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,SAAS,gDAAgD;
|
|
1
|
+
{"version":3,"file":"remove-user-s-saved-episodes.cjs","names":["z","action"],"sources":["../../src/actions/remove-user-s-saved-episodes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyRemoveUserSSavedEpisodesInput = z.object({\n ids: z.union([z.string(), z.array(z.string())]),\n}).describe(\"Request schema for `RemoveUserSSavedEpisodes`\");\nexport const SpotifyRemoveUserSSavedEpisodesOutput = z.object({\n message: z.string().default(\"Episodes removed successfully\").describe(\"Status message describing the result of the operation\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the episodes were successfully removed from the user's library\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `RemoveUserSSavedEpisodes`\");\n\nexport const spotifyRemoveUserSSavedEpisodes = action(\"SPOTIFY_REMOVE_USER_S_SAVED_EPISODES\", {\n slug: \"spotify-remove-user-s-saved-episodes\",\n name: \"Remove user's saved episodes\",\n description: \"Remove one or more episodes from the current user's library. This endpoint removes episodes that have been saved to the user's \\\"Your Episodes\\\" library. The operation is idempotent - removing an episode that is not saved will return success. Up to 50 episode IDs can be removed in a single request. Required scope: user-library-modify Note: This API endpoint is in beta and may change without notice.\",\n input: SpotifyRemoveUserSSavedEpisodesInput,\n output: SpotifyRemoveUserSSavedEpisodesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,EAC3D,KAAKA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,EAChD,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,+BAA+B,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnJ,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,kCAAkCC,eAAAA,OAAO,wCAAwC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -7,7 +7,7 @@ declare const SpotifyRemoveUserSSavedEpisodesInput: z.ZodObject<{
|
|
|
7
7
|
declare const SpotifyRemoveUserSSavedEpisodesOutput: z.ZodObject<{
|
|
8
8
|
message: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
9
9
|
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const spotifyRemoveUserSSavedEpisodes: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
ids: string | string[];
|
|
13
13
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -7,7 +7,7 @@ declare const SpotifyRemoveUserSSavedEpisodesInput: z.ZodObject<{
|
|
|
7
7
|
declare const SpotifyRemoveUserSSavedEpisodesOutput: z.ZodObject<{
|
|
8
8
|
message: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
9
9
|
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const spotifyRemoveUserSSavedEpisodes: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
ids: string | string[];
|
|
13
13
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -8,7 +8,7 @@ const spotifyRemoveUserSSavedEpisodes = action("SPOTIFY_REMOVE_USER_S_SAVED_EPIS
|
|
|
8
8
|
output: z.object({
|
|
9
9
|
message: z.string().default("Episodes removed successfully").describe("Status message describing the result of the operation").nullable().optional(),
|
|
10
10
|
success: z.boolean().default(true).describe("Indicates whether the episodes were successfully removed from the user's library").nullable().optional()
|
|
11
|
-
}).describe("Response schema for `RemoveUserSSavedEpisodes`")
|
|
11
|
+
}).passthrough().describe("Response schema for `RemoveUserSSavedEpisodes`")
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
14
14
|
export { spotifyRemoveUserSSavedEpisodes };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remove-user-s-saved-episodes.mjs","names":[],"sources":["../../src/actions/remove-user-s-saved-episodes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyRemoveUserSSavedEpisodesInput = z.object({\n ids: z.union([z.string(), z.array(z.string())]),\n}).describe(\"Request schema for `RemoveUserSSavedEpisodes`\");\nexport const SpotifyRemoveUserSSavedEpisodesOutput = z.object({\n message: z.string().default(\"Episodes removed successfully\").describe(\"Status message describing the result of the operation\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the episodes were successfully removed from the user's library\").nullable().optional(),\n}).describe(\"Response schema for `RemoveUserSSavedEpisodes`\");\n\nexport const spotifyRemoveUserSSavedEpisodes = action(\"SPOTIFY_REMOVE_USER_S_SAVED_EPISODES\", {\n slug: \"spotify-remove-user-s-saved-episodes\",\n name: \"Remove user's saved episodes\",\n description: \"Remove one or more episodes from the current user's library. This endpoint removes episodes that have been saved to the user's \\\"Your Episodes\\\" library. The operation is idempotent - removing an episode that is not saved will return success. Up to 50 episode IDs can be removed in a single request. Required scope: user-library-modify Note: This API endpoint is in beta and may change without notice.\",\n input: SpotifyRemoveUserSSavedEpisodesInput,\n output: SpotifyRemoveUserSSavedEpisodesOutput,\n});\n"],"mappings":";;AAYA,MAAa,kCAAkC,OAAO,wCAAwC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZkD,EAAE,OAAO,EAC3D,KAAK,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,EAChD,CAAC,CAAC,CAAC,SAAS,+CAUH;CACP,QAVmD,EAAE,OAAO;EAC5D,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,+BAA+B,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnJ,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtJ,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"remove-user-s-saved-episodes.mjs","names":[],"sources":["../../src/actions/remove-user-s-saved-episodes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyRemoveUserSSavedEpisodesInput = z.object({\n ids: z.union([z.string(), z.array(z.string())]),\n}).describe(\"Request schema for `RemoveUserSSavedEpisodes`\");\nexport const SpotifyRemoveUserSSavedEpisodesOutput = z.object({\n message: z.string().default(\"Episodes removed successfully\").describe(\"Status message describing the result of the operation\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the episodes were successfully removed from the user's library\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `RemoveUserSSavedEpisodes`\");\n\nexport const spotifyRemoveUserSSavedEpisodes = action(\"SPOTIFY_REMOVE_USER_S_SAVED_EPISODES\", {\n slug: \"spotify-remove-user-s-saved-episodes\",\n name: \"Remove user's saved episodes\",\n description: \"Remove one or more episodes from the current user's library. This endpoint removes episodes that have been saved to the user's \\\"Your Episodes\\\" library. The operation is idempotent - removing an episode that is not saved will return success. Up to 50 episode IDs can be removed in a single request. Required scope: user-library-modify Note: This API endpoint is in beta and may change without notice.\",\n input: SpotifyRemoveUserSSavedEpisodesInput,\n output: SpotifyRemoveUserSSavedEpisodesOutput,\n});\n"],"mappings":";;AAYA,MAAa,kCAAkC,OAAO,wCAAwC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZkD,EAAE,OAAO,EAC3D,KAAK,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,EAChD,CAAC,CAAC,CAAC,SAAS,+CAUH;CACP,QAVmD,EAAE,OAAO;EAC5D,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,+BAA+B,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnJ,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAOhB;AACV,CAAC"}
|
|
@@ -8,7 +8,7 @@ const SpotifyRemoveUserSSavedTracksInput = zod.z.object({
|
|
|
8
8
|
const SpotifyRemoveUserSSavedTracksOutput = zod.z.object({
|
|
9
9
|
message: zod.z.string().default("Tracks removed successfully").describe("Status message confirming the operation").nullable().optional(),
|
|
10
10
|
success: zod.z.boolean().default(true).describe("Indicates whether the tracks were successfully removed from the user's library").nullable().optional()
|
|
11
|
-
}).describe("Response schema for `RemoveUserSSavedTracks`");
|
|
11
|
+
}).passthrough().describe("Response schema for `RemoveUserSSavedTracks`");
|
|
12
12
|
const spotifyRemoveUserSSavedTracks = require_action.action("SPOTIFY_REMOVE_USER_S_SAVED_TRACKS", {
|
|
13
13
|
slug: "spotify-remove-user-s-saved-tracks",
|
|
14
14
|
name: "Remove user s saved tracks",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remove-user-s-saved-tracks.cjs","names":["z","action"],"sources":["../../src/actions/remove-user-s-saved-tracks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyRemoveUserSSavedTracksInput = z.object({\n ids: z.string().describe(\"A comma-separated list of Spotify track IDs to remove from the user's library (e.g., '7ouMYWpwJ422jRcDASZB7P,4VqPOruhp5EdPBeR92t6lQ,2takcwOaAZWiXQijPHIx7B'). Maximum 50 IDs per request. Note: If this query parameter is provided, any IDs in the request body will be ignored.\").optional(),\n body_ids: z.array(z.string()).describe(\"A JSON array of Spotify track IDs to remove from the user's library. For example: [\\\"4iV5W9uYEdYUVa79Axb7Rh\\\", \\\"1301WleyT98MSxVHPZCA6M\\\"]. Maximum 50 items can be specified in one request. Note: If the 'ids' query parameter is present, this body parameter will be ignored.\").optional(),\n}).describe(\"Request schema for `RemoveUserSSavedTracks`\");\nexport const SpotifyRemoveUserSSavedTracksOutput = z.object({\n message: z.string().default(\"Tracks removed successfully\").describe(\"Status message confirming the operation\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the tracks were successfully removed from the user's library\").nullable().optional(),\n}).describe(\"Response schema for `RemoveUserSSavedTracks`\");\n\nexport const spotifyRemoveUserSSavedTracks = action(\"SPOTIFY_REMOVE_USER_S_SAVED_TRACKS\", {\n slug: \"spotify-remove-user-s-saved-tracks\",\n name: \"Remove user s saved tracks\",\n description: \"Remove one or more tracks from the current user's 'Your Music' library.\",\n input: SpotifyRemoveUserSSavedTracksInput,\n output: SpotifyRemoveUserSSavedTracksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mRAAmR,CAAC,CAAC,SAAS;CACvT,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mRAAmR,CAAC,CAAC,SAAS;AACvU,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,6BAA6B,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpJ,CAAC,CAAC,CAAC,SAAS,8CAA8C;
|
|
1
|
+
{"version":3,"file":"remove-user-s-saved-tracks.cjs","names":["z","action"],"sources":["../../src/actions/remove-user-s-saved-tracks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyRemoveUserSSavedTracksInput = z.object({\n ids: z.string().describe(\"A comma-separated list of Spotify track IDs to remove from the user's library (e.g., '7ouMYWpwJ422jRcDASZB7P,4VqPOruhp5EdPBeR92t6lQ,2takcwOaAZWiXQijPHIx7B'). Maximum 50 IDs per request. Note: If this query parameter is provided, any IDs in the request body will be ignored.\").optional(),\n body_ids: z.array(z.string()).describe(\"A JSON array of Spotify track IDs to remove from the user's library. For example: [\\\"4iV5W9uYEdYUVa79Axb7Rh\\\", \\\"1301WleyT98MSxVHPZCA6M\\\"]. Maximum 50 items can be specified in one request. Note: If the 'ids' query parameter is present, this body parameter will be ignored.\").optional(),\n}).describe(\"Request schema for `RemoveUserSSavedTracks`\");\nexport const SpotifyRemoveUserSSavedTracksOutput = z.object({\n message: z.string().default(\"Tracks removed successfully\").describe(\"Status message confirming the operation\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the tracks were successfully removed from the user's library\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `RemoveUserSSavedTracks`\");\n\nexport const spotifyRemoveUserSSavedTracks = action(\"SPOTIFY_REMOVE_USER_S_SAVED_TRACKS\", {\n slug: \"spotify-remove-user-s-saved-tracks\",\n name: \"Remove user s saved tracks\",\n description: \"Remove one or more tracks from the current user's 'Your Music' library.\",\n input: SpotifyRemoveUserSSavedTracksInput,\n output: SpotifyRemoveUserSSavedTracksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mRAAmR,CAAC,CAAC,SAAS;CACvT,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mRAAmR,CAAC,CAAC,SAAS;AACvU,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,6BAA6B,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,gCAAgCC,eAAAA,OAAO,sCAAsC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -8,7 +8,7 @@ declare const SpotifyRemoveUserSSavedTracksInput: z.ZodObject<{
|
|
|
8
8
|
declare const SpotifyRemoveUserSSavedTracksOutput: z.ZodObject<{
|
|
9
9
|
message: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
10
10
|
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>;
|
|
12
12
|
declare const spotifyRemoveUserSSavedTracks: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
13
|
ids?: string | undefined;
|
|
14
14
|
body_ids?: string[] | undefined;
|
|
@@ -8,7 +8,7 @@ declare const SpotifyRemoveUserSSavedTracksInput: z.ZodObject<{
|
|
|
8
8
|
declare const SpotifyRemoveUserSSavedTracksOutput: z.ZodObject<{
|
|
9
9
|
message: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
10
10
|
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>;
|
|
12
12
|
declare const spotifyRemoveUserSSavedTracks: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
13
|
ids?: string | undefined;
|
|
14
14
|
body_ids?: string[] | undefined;
|
|
@@ -11,7 +11,7 @@ const spotifyRemoveUserSSavedTracks = action("SPOTIFY_REMOVE_USER_S_SAVED_TRACKS
|
|
|
11
11
|
output: z.object({
|
|
12
12
|
message: z.string().default("Tracks removed successfully").describe("Status message confirming the operation").nullable().optional(),
|
|
13
13
|
success: z.boolean().default(true).describe("Indicates whether the tracks were successfully removed from the user's library").nullable().optional()
|
|
14
|
-
}).describe("Response schema for `RemoveUserSSavedTracks`")
|
|
14
|
+
}).passthrough().describe("Response schema for `RemoveUserSSavedTracks`")
|
|
15
15
|
});
|
|
16
16
|
//#endregion
|
|
17
17
|
export { spotifyRemoveUserSSavedTracks };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remove-user-s-saved-tracks.mjs","names":[],"sources":["../../src/actions/remove-user-s-saved-tracks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyRemoveUserSSavedTracksInput = z.object({\n ids: z.string().describe(\"A comma-separated list of Spotify track IDs to remove from the user's library (e.g., '7ouMYWpwJ422jRcDASZB7P,4VqPOruhp5EdPBeR92t6lQ,2takcwOaAZWiXQijPHIx7B'). Maximum 50 IDs per request. Note: If this query parameter is provided, any IDs in the request body will be ignored.\").optional(),\n body_ids: z.array(z.string()).describe(\"A JSON array of Spotify track IDs to remove from the user's library. For example: [\\\"4iV5W9uYEdYUVa79Axb7Rh\\\", \\\"1301WleyT98MSxVHPZCA6M\\\"]. Maximum 50 items can be specified in one request. Note: If the 'ids' query parameter is present, this body parameter will be ignored.\").optional(),\n}).describe(\"Request schema for `RemoveUserSSavedTracks`\");\nexport const SpotifyRemoveUserSSavedTracksOutput = z.object({\n message: z.string().default(\"Tracks removed successfully\").describe(\"Status message confirming the operation\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the tracks were successfully removed from the user's library\").nullable().optional(),\n}).describe(\"Response schema for `RemoveUserSSavedTracks`\");\n\nexport const spotifyRemoveUserSSavedTracks = action(\"SPOTIFY_REMOVE_USER_S_SAVED_TRACKS\", {\n slug: \"spotify-remove-user-s-saved-tracks\",\n name: \"Remove user s saved tracks\",\n description: \"Remove one or more tracks from the current user's 'Your Music' library.\",\n input: SpotifyRemoveUserSSavedTracksInput,\n output: SpotifyRemoveUserSSavedTracksOutput,\n});\n"],"mappings":";;AAaA,MAAa,gCAAgC,OAAO,sCAAsC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbgD,EAAE,OAAO;EACzD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,mRAAmR,CAAC,CAAC,SAAS;EACvT,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mRAAmR,CAAC,CAAC,SAAS;CACvU,CAAC,CAAC,CAAC,SAAS,6CAUH;CACP,QAViD,EAAE,OAAO;EAC1D,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,6BAA6B,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnI,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpJ,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"remove-user-s-saved-tracks.mjs","names":[],"sources":["../../src/actions/remove-user-s-saved-tracks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyRemoveUserSSavedTracksInput = z.object({\n ids: z.string().describe(\"A comma-separated list of Spotify track IDs to remove from the user's library (e.g., '7ouMYWpwJ422jRcDASZB7P,4VqPOruhp5EdPBeR92t6lQ,2takcwOaAZWiXQijPHIx7B'). Maximum 50 IDs per request. Note: If this query parameter is provided, any IDs in the request body will be ignored.\").optional(),\n body_ids: z.array(z.string()).describe(\"A JSON array of Spotify track IDs to remove from the user's library. For example: [\\\"4iV5W9uYEdYUVa79Axb7Rh\\\", \\\"1301WleyT98MSxVHPZCA6M\\\"]. Maximum 50 items can be specified in one request. Note: If the 'ids' query parameter is present, this body parameter will be ignored.\").optional(),\n}).describe(\"Request schema for `RemoveUserSSavedTracks`\");\nexport const SpotifyRemoveUserSSavedTracksOutput = z.object({\n message: z.string().default(\"Tracks removed successfully\").describe(\"Status message confirming the operation\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the tracks were successfully removed from the user's library\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `RemoveUserSSavedTracks`\");\n\nexport const spotifyRemoveUserSSavedTracks = action(\"SPOTIFY_REMOVE_USER_S_SAVED_TRACKS\", {\n slug: \"spotify-remove-user-s-saved-tracks\",\n name: \"Remove user s saved tracks\",\n description: \"Remove one or more tracks from the current user's 'Your Music' library.\",\n input: SpotifyRemoveUserSSavedTracksInput,\n output: SpotifyRemoveUserSSavedTracksOutput,\n});\n"],"mappings":";;AAaA,MAAa,gCAAgC,OAAO,sCAAsC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbgD,EAAE,OAAO;EACzD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,mRAAmR,CAAC,CAAC,SAAS;EACvT,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mRAAmR,CAAC,CAAC,SAAS;CACvU,CAAC,CAAC,CAAC,SAAS,6CAUH;CACP,QAViD,EAAE,OAAO;EAC1D,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,6BAA6B,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnI,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAOhB;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const SpotifySaveAlbumsForCurrentUserInput = zod.z.object({ ids: zod.z.union([zo
|
|
|
5
5
|
const SpotifySaveAlbumsForCurrentUserOutput = zod.z.object({
|
|
6
6
|
message: zod.z.string().default("Albums saved successfully").describe("A message describing the result").nullable().optional(),
|
|
7
7
|
success: zod.z.boolean().default(true).describe("Whether the albums were successfully saved to the user's library").nullable().optional()
|
|
8
|
-
}).describe("Response schema for `SaveAlbumsForCurrentUser`");
|
|
8
|
+
}).passthrough().describe("Response schema for `SaveAlbumsForCurrentUser`");
|
|
9
9
|
const spotifySaveAlbumsForCurrentUser = require_action.action("SPOTIFY_SAVE_ALBUMS_FOR_CURRENT_USER", {
|
|
10
10
|
slug: "spotify-save-albums-for-current-user",
|
|
11
11
|
name: "Save albums for current user",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"save-albums-for-current-user.cjs","names":["z","action"],"sources":["../../src/actions/save-albums-for-current-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifySaveAlbumsForCurrentUserInput = z.object({\n ids: z.union([z.string(), z.array(z.string())]),\n}).describe(\"Request schema for `SaveAlbumsForCurrentUser`\");\nexport const SpotifySaveAlbumsForCurrentUserOutput = z.object({\n message: z.string().default(\"Albums saved successfully\").describe(\"A message describing the result\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Whether the albums were successfully saved to the user's library\").nullable().optional(),\n}).describe(\"Response schema for `SaveAlbumsForCurrentUser`\");\n\nexport const spotifySaveAlbumsForCurrentUser = action(\"SPOTIFY_SAVE_ALBUMS_FOR_CURRENT_USER\", {\n slug: \"spotify-save-albums-for-current-user\",\n name: \"Save albums for current user\",\n description: \"Save one or more albums to the current user's 'Your Music' library. This action adds albums to the user's saved albums collection, which can be accessed later through 'Your Library'. The operation is idempotent - saving an album that is already saved will not cause an error. Required OAuth scope: user-library-modify\",\n input: SpotifySaveAlbumsForCurrentUserInput,\n output: SpotifySaveAlbumsForCurrentUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,EAC3D,KAAKA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,EAChD,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,2BAA2B,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtI,CAAC,CAAC,CAAC,SAAS,gDAAgD;
|
|
1
|
+
{"version":3,"file":"save-albums-for-current-user.cjs","names":["z","action"],"sources":["../../src/actions/save-albums-for-current-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifySaveAlbumsForCurrentUserInput = z.object({\n ids: z.union([z.string(), z.array(z.string())]),\n}).describe(\"Request schema for `SaveAlbumsForCurrentUser`\");\nexport const SpotifySaveAlbumsForCurrentUserOutput = z.object({\n message: z.string().default(\"Albums saved successfully\").describe(\"A message describing the result\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Whether the albums were successfully saved to the user's library\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `SaveAlbumsForCurrentUser`\");\n\nexport const spotifySaveAlbumsForCurrentUser = action(\"SPOTIFY_SAVE_ALBUMS_FOR_CURRENT_USER\", {\n slug: \"spotify-save-albums-for-current-user\",\n name: \"Save albums for current user\",\n description: \"Save one or more albums to the current user's 'Your Music' library. This action adds albums to the user's saved albums collection, which can be accessed later through 'Your Library'. The operation is idempotent - saving an album that is already saved will not cause an error. Required OAuth scope: user-library-modify\",\n input: SpotifySaveAlbumsForCurrentUserInput,\n output: SpotifySaveAlbumsForCurrentUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,EAC3D,KAAKA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,EAChD,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,2BAA2B,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,kCAAkCC,eAAAA,OAAO,wCAAwC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -7,7 +7,7 @@ declare const SpotifySaveAlbumsForCurrentUserInput: z.ZodObject<{
|
|
|
7
7
|
declare const SpotifySaveAlbumsForCurrentUserOutput: z.ZodObject<{
|
|
8
8
|
message: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
9
9
|
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const spotifySaveAlbumsForCurrentUser: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
ids: string | string[];
|
|
13
13
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -7,7 +7,7 @@ declare const SpotifySaveAlbumsForCurrentUserInput: z.ZodObject<{
|
|
|
7
7
|
declare const SpotifySaveAlbumsForCurrentUserOutput: z.ZodObject<{
|
|
8
8
|
message: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
9
9
|
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const spotifySaveAlbumsForCurrentUser: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
ids: string | string[];
|
|
13
13
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -8,7 +8,7 @@ const spotifySaveAlbumsForCurrentUser = action("SPOTIFY_SAVE_ALBUMS_FOR_CURRENT_
|
|
|
8
8
|
output: z.object({
|
|
9
9
|
message: z.string().default("Albums saved successfully").describe("A message describing the result").nullable().optional(),
|
|
10
10
|
success: z.boolean().default(true).describe("Whether the albums were successfully saved to the user's library").nullable().optional()
|
|
11
|
-
}).describe("Response schema for `SaveAlbumsForCurrentUser`")
|
|
11
|
+
}).passthrough().describe("Response schema for `SaveAlbumsForCurrentUser`")
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
14
14
|
export { spotifySaveAlbumsForCurrentUser };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"save-albums-for-current-user.mjs","names":[],"sources":["../../src/actions/save-albums-for-current-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifySaveAlbumsForCurrentUserInput = z.object({\n ids: z.union([z.string(), z.array(z.string())]),\n}).describe(\"Request schema for `SaveAlbumsForCurrentUser`\");\nexport const SpotifySaveAlbumsForCurrentUserOutput = z.object({\n message: z.string().default(\"Albums saved successfully\").describe(\"A message describing the result\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Whether the albums were successfully saved to the user's library\").nullable().optional(),\n}).describe(\"Response schema for `SaveAlbumsForCurrentUser`\");\n\nexport const spotifySaveAlbumsForCurrentUser = action(\"SPOTIFY_SAVE_ALBUMS_FOR_CURRENT_USER\", {\n slug: \"spotify-save-albums-for-current-user\",\n name: \"Save albums for current user\",\n description: \"Save one or more albums to the current user's 'Your Music' library. This action adds albums to the user's saved albums collection, which can be accessed later through 'Your Library'. The operation is idempotent - saving an album that is already saved will not cause an error. Required OAuth scope: user-library-modify\",\n input: SpotifySaveAlbumsForCurrentUserInput,\n output: SpotifySaveAlbumsForCurrentUserOutput,\n});\n"],"mappings":";;AAYA,MAAa,kCAAkC,OAAO,wCAAwC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZkD,EAAE,OAAO,EAC3D,KAAK,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,EAChD,CAAC,CAAC,CAAC,SAAS,+CAUH;CACP,QAVmD,EAAE,OAAO;EAC5D,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,2BAA2B,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzH,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"save-albums-for-current-user.mjs","names":[],"sources":["../../src/actions/save-albums-for-current-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifySaveAlbumsForCurrentUserInput = z.object({\n ids: z.union([z.string(), z.array(z.string())]),\n}).describe(\"Request schema for `SaveAlbumsForCurrentUser`\");\nexport const SpotifySaveAlbumsForCurrentUserOutput = z.object({\n message: z.string().default(\"Albums saved successfully\").describe(\"A message describing the result\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Whether the albums were successfully saved to the user's library\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `SaveAlbumsForCurrentUser`\");\n\nexport const spotifySaveAlbumsForCurrentUser = action(\"SPOTIFY_SAVE_ALBUMS_FOR_CURRENT_USER\", {\n slug: \"spotify-save-albums-for-current-user\",\n name: \"Save albums for current user\",\n description: \"Save one or more albums to the current user's 'Your Music' library. This action adds albums to the user's saved albums collection, which can be accessed later through 'Your Library'. The operation is idempotent - saving an album that is already saved will not cause an error. Required OAuth scope: user-library-modify\",\n input: SpotifySaveAlbumsForCurrentUserInput,\n output: SpotifySaveAlbumsForCurrentUserOutput,\n});\n"],"mappings":";;AAYA,MAAa,kCAAkC,OAAO,wCAAwC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZkD,EAAE,OAAO,EAC3D,KAAK,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,EAChD,CAAC,CAAC,CAAC,SAAS,+CAUH;CACP,QAVmD,EAAE,OAAO;EAC5D,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,2BAA2B,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzH,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAOhB;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const SpotifySaveAudiobooksForCurrentUserInput = zod.z.object({ ids: zod.z.strin
|
|
|
5
5
|
const SpotifySaveAudiobooksForCurrentUserOutput = zod.z.object({
|
|
6
6
|
message: zod.z.string().default("Audiobooks saved successfully").describe("Status message indicating the result of the operation").nullable().optional(),
|
|
7
7
|
success: zod.z.boolean().default(true).describe("Indicates whether the audiobooks were successfully saved to the user's library").nullable().optional()
|
|
8
|
-
}).describe("Response schema for `SaveAudiobooksForCurrentUser`");
|
|
8
|
+
}).passthrough().describe("Response schema for `SaveAudiobooksForCurrentUser`");
|
|
9
9
|
const spotifySaveAudiobooksForCurrentUser = require_action.action("SPOTIFY_SAVE_AUDIOBOOKS_FOR_CURRENT_USER", {
|
|
10
10
|
slug: "spotify-save-audiobooks-for-current-user",
|
|
11
11
|
name: "Save audiobooks for current user",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"save-audiobooks-for-current-user.cjs","names":["z","action"],"sources":["../../src/actions/save-audiobooks-for-current-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifySaveAudiobooksForCurrentUserInput = z.object({\n ids: z.string().describe(\"A comma-separated list of Spotify audiobook IDs to save to the user's library. Maximum of 50 IDs. Example: '18yVqkdbdRvS24c0Ilj2ci,1HGw3J3NxZO1TP1BTtVhpZ,7iHfbu1YPACw6oZPAFJtqe'\"),\n}).describe(\"Request schema for `SaveAudiobooksForCurrentUser`\");\nexport const SpotifySaveAudiobooksForCurrentUserOutput = z.object({\n message: z.string().default(\"Audiobooks saved successfully\").describe(\"Status message indicating the result of the operation\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the audiobooks were successfully saved to the user's library\").nullable().optional(),\n}).describe(\"Response schema for `SaveAudiobooksForCurrentUser`\");\n\nexport const spotifySaveAudiobooksForCurrentUser = action(\"SPOTIFY_SAVE_AUDIOBOOKS_FOR_CURRENT_USER\", {\n slug: \"spotify-save-audiobooks-for-current-user\",\n name: \"Save audiobooks for current user\",\n description: \"Save one or more audiobooks to the current user's library. This action adds audiobooks to the user's saved audiobooks collection, which can be accessed later through 'Your Library'. The operation is idempotent - saving an audiobook that is already saved will not cause an error. Required OAuth scope: user-library-modify\",\n input: SpotifySaveAudiobooksForCurrentUserInput,\n output: SpotifySaveAudiobooksForCurrentUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAA2CA,IAAAA,EAAE,OAAO,EAC/D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mLAAmL,EAC9M,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,+BAA+B,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnJ,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpJ,CAAC,CAAC,CAAC,SAAS,oDAAoD;
|
|
1
|
+
{"version":3,"file":"save-audiobooks-for-current-user.cjs","names":["z","action"],"sources":["../../src/actions/save-audiobooks-for-current-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifySaveAudiobooksForCurrentUserInput = z.object({\n ids: z.string().describe(\"A comma-separated list of Spotify audiobook IDs to save to the user's library. Maximum of 50 IDs. Example: '18yVqkdbdRvS24c0Ilj2ci,1HGw3J3NxZO1TP1BTtVhpZ,7iHfbu1YPACw6oZPAFJtqe'\"),\n}).describe(\"Request schema for `SaveAudiobooksForCurrentUser`\");\nexport const SpotifySaveAudiobooksForCurrentUserOutput = z.object({\n message: z.string().default(\"Audiobooks saved successfully\").describe(\"Status message indicating the result of the operation\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the audiobooks were successfully saved to the user's library\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `SaveAudiobooksForCurrentUser`\");\n\nexport const spotifySaveAudiobooksForCurrentUser = action(\"SPOTIFY_SAVE_AUDIOBOOKS_FOR_CURRENT_USER\", {\n slug: \"spotify-save-audiobooks-for-current-user\",\n name: \"Save audiobooks for current user\",\n description: \"Save one or more audiobooks to the current user's library. This action adds audiobooks to the user's saved audiobooks collection, which can be accessed later through 'Your Library'. The operation is idempotent - saving an audiobook that is already saved will not cause an error. Required OAuth scope: user-library-modify\",\n input: SpotifySaveAudiobooksForCurrentUserInput,\n output: SpotifySaveAudiobooksForCurrentUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAA2CA,IAAAA,EAAE,OAAO,EAC/D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mLAAmL,EAC9M,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,+BAA+B,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnJ,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,sCAAsCC,eAAAA,OAAO,4CAA4C;CACpG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -7,7 +7,7 @@ declare const SpotifySaveAudiobooksForCurrentUserInput: z.ZodObject<{
|
|
|
7
7
|
declare const SpotifySaveAudiobooksForCurrentUserOutput: z.ZodObject<{
|
|
8
8
|
message: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
9
9
|
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const spotifySaveAudiobooksForCurrentUser: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
ids: string;
|
|
13
13
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -7,7 +7,7 @@ declare const SpotifySaveAudiobooksForCurrentUserInput: z.ZodObject<{
|
|
|
7
7
|
declare const SpotifySaveAudiobooksForCurrentUserOutput: z.ZodObject<{
|
|
8
8
|
message: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
9
9
|
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const spotifySaveAudiobooksForCurrentUser: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
ids: string;
|
|
13
13
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -8,7 +8,7 @@ const spotifySaveAudiobooksForCurrentUser = action("SPOTIFY_SAVE_AUDIOBOOKS_FOR_
|
|
|
8
8
|
output: z.object({
|
|
9
9
|
message: z.string().default("Audiobooks saved successfully").describe("Status message indicating the result of the operation").nullable().optional(),
|
|
10
10
|
success: z.boolean().default(true).describe("Indicates whether the audiobooks were successfully saved to the user's library").nullable().optional()
|
|
11
|
-
}).describe("Response schema for `SaveAudiobooksForCurrentUser`")
|
|
11
|
+
}).passthrough().describe("Response schema for `SaveAudiobooksForCurrentUser`")
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
14
14
|
export { spotifySaveAudiobooksForCurrentUser };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"save-audiobooks-for-current-user.mjs","names":[],"sources":["../../src/actions/save-audiobooks-for-current-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifySaveAudiobooksForCurrentUserInput = z.object({\n ids: z.string().describe(\"A comma-separated list of Spotify audiobook IDs to save to the user's library. Maximum of 50 IDs. Example: '18yVqkdbdRvS24c0Ilj2ci,1HGw3J3NxZO1TP1BTtVhpZ,7iHfbu1YPACw6oZPAFJtqe'\"),\n}).describe(\"Request schema for `SaveAudiobooksForCurrentUser`\");\nexport const SpotifySaveAudiobooksForCurrentUserOutput = z.object({\n message: z.string().default(\"Audiobooks saved successfully\").describe(\"Status message indicating the result of the operation\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the audiobooks were successfully saved to the user's library\").nullable().optional(),\n}).describe(\"Response schema for `SaveAudiobooksForCurrentUser`\");\n\nexport const spotifySaveAudiobooksForCurrentUser = action(\"SPOTIFY_SAVE_AUDIOBOOKS_FOR_CURRENT_USER\", {\n slug: \"spotify-save-audiobooks-for-current-user\",\n name: \"Save audiobooks for current user\",\n description: \"Save one or more audiobooks to the current user's library. This action adds audiobooks to the user's saved audiobooks collection, which can be accessed later through 'Your Library'. The operation is idempotent - saving an audiobook that is already saved will not cause an error. Required OAuth scope: user-library-modify\",\n input: SpotifySaveAudiobooksForCurrentUserInput,\n output: SpotifySaveAudiobooksForCurrentUserOutput,\n});\n"],"mappings":";;AAYA,MAAa,sCAAsC,OAAO,4CAA4C;CACpG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZsD,EAAE,OAAO,EAC/D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,mLAAmL,EAC9M,CAAC,CAAC,CAAC,SAAS,mDAUH;CACP,QAVuD,EAAE,OAAO;EAChE,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,+BAA+B,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnJ,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpJ,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"save-audiobooks-for-current-user.mjs","names":[],"sources":["../../src/actions/save-audiobooks-for-current-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifySaveAudiobooksForCurrentUserInput = z.object({\n ids: z.string().describe(\"A comma-separated list of Spotify audiobook IDs to save to the user's library. Maximum of 50 IDs. Example: '18yVqkdbdRvS24c0Ilj2ci,1HGw3J3NxZO1TP1BTtVhpZ,7iHfbu1YPACw6oZPAFJtqe'\"),\n}).describe(\"Request schema for `SaveAudiobooksForCurrentUser`\");\nexport const SpotifySaveAudiobooksForCurrentUserOutput = z.object({\n message: z.string().default(\"Audiobooks saved successfully\").describe(\"Status message indicating the result of the operation\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the audiobooks were successfully saved to the user's library\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `SaveAudiobooksForCurrentUser`\");\n\nexport const spotifySaveAudiobooksForCurrentUser = action(\"SPOTIFY_SAVE_AUDIOBOOKS_FOR_CURRENT_USER\", {\n slug: \"spotify-save-audiobooks-for-current-user\",\n name: \"Save audiobooks for current user\",\n description: \"Save one or more audiobooks to the current user's library. This action adds audiobooks to the user's saved audiobooks collection, which can be accessed later through 'Your Library'. The operation is idempotent - saving an audiobook that is already saved will not cause an error. Required OAuth scope: user-library-modify\",\n input: SpotifySaveAudiobooksForCurrentUserInput,\n output: SpotifySaveAudiobooksForCurrentUserOutput,\n});\n"],"mappings":";;AAYA,MAAa,sCAAsC,OAAO,4CAA4C;CACpG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZsD,EAAE,OAAO,EAC/D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,mLAAmL,EAC9M,CAAC,CAAC,CAAC,SAAS,mDAUH;CACP,QAVuD,EAAE,OAAO;EAChE,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,+BAA+B,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnJ,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const SpotifySaveEpisodesForCurrentUserInput = zod.z.object({ ids: zod.z.array(z
|
|
|
5
5
|
const SpotifySaveEpisodesForCurrentUserOutput = zod.z.object({
|
|
6
6
|
message: zod.z.string().default("Episodes saved successfully").describe("Status message describing the result of the operation").nullable().optional(),
|
|
7
7
|
success: zod.z.boolean().default(true).describe("Indicates whether the episodes were successfully saved to the user's library").nullable().optional()
|
|
8
|
-
}).describe("Response schema for `SaveEpisodesForCurrentUser`");
|
|
8
|
+
}).passthrough().describe("Response schema for `SaveEpisodesForCurrentUser`");
|
|
9
9
|
const spotifySaveEpisodesForCurrentUser = require_action.action("SPOTIFY_SAVE_EPISODES_FOR_CURRENT_USER", {
|
|
10
10
|
slug: "spotify-save-episodes-for-current-user",
|
|
11
11
|
name: "Save episodes for current user",
|