@keystrokehq/spotify 0.1.4 → 0.1.5
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/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-item-to-playback-queue.cjs +1 -0
- package/dist/actions/add-item-to-playback-queue.cjs.map +1 -1
- package/dist/actions/add-item-to-playback-queue.d.cts +3 -16
- package/dist/actions/add-item-to-playback-queue.d.cts.map +1 -1
- package/dist/actions/add-item-to-playback-queue.d.mts +3 -16
- package/dist/actions/add-item-to-playback-queue.d.mts.map +1 -1
- package/dist/actions/add-item-to-playback-queue.mjs +1 -0
- package/dist/actions/add-item-to-playback-queue.mjs.map +1 -1
- package/dist/actions/add-items-to-playlist.cjs +1 -0
- package/dist/actions/add-items-to-playlist.cjs.map +1 -1
- package/dist/actions/add-items-to-playlist.d.cts +3 -17
- package/dist/actions/add-items-to-playlist.d.cts.map +1 -1
- package/dist/actions/add-items-to-playlist.d.mts +3 -17
- package/dist/actions/add-items-to-playlist.d.mts.map +1 -1
- package/dist/actions/add-items-to-playlist.mjs +1 -0
- package/dist/actions/add-items-to-playlist.mjs.map +1 -1
- package/dist/actions/change-playlist-details.cjs +1 -0
- package/dist/actions/change-playlist-details.cjs.map +1 -1
- package/dist/actions/change-playlist-details.d.cts +3 -19
- package/dist/actions/change-playlist-details.d.cts.map +1 -1
- package/dist/actions/change-playlist-details.d.mts +3 -19
- package/dist/actions/change-playlist-details.d.mts.map +1 -1
- package/dist/actions/change-playlist-details.mjs +1 -0
- package/dist/actions/change-playlist-details.mjs.map +1 -1
- package/dist/actions/check-if-user-follows-artists-or-users.cjs +1 -0
- 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 +3 -16
- package/dist/actions/check-if-user-follows-artists-or-users.d.cts.map +1 -1
- package/dist/actions/check-if-user-follows-artists-or-users.d.mts +3 -16
- package/dist/actions/check-if-user-follows-artists-or-users.d.mts.map +1 -1
- package/dist/actions/check-if-user-follows-artists-or-users.mjs +1 -0
- package/dist/actions/check-if-user-follows-artists-or-users.mjs.map +1 -1
- package/dist/actions/check-if-users-follow-playlist.cjs +1 -0
- package/dist/actions/check-if-users-follow-playlist.cjs.map +1 -1
- package/dist/actions/check-if-users-follow-playlist.d.cts +3 -16
- package/dist/actions/check-if-users-follow-playlist.d.cts.map +1 -1
- package/dist/actions/check-if-users-follow-playlist.d.mts +3 -16
- package/dist/actions/check-if-users-follow-playlist.d.mts.map +1 -1
- package/dist/actions/check-if-users-follow-playlist.mjs +1 -0
- package/dist/actions/check-if-users-follow-playlist.mjs.map +1 -1
- package/dist/actions/check-user-s-saved-albums.cjs +1 -0
- package/dist/actions/check-user-s-saved-albums.cjs.map +1 -1
- package/dist/actions/check-user-s-saved-albums.d.cts +3 -15
- package/dist/actions/check-user-s-saved-albums.d.cts.map +1 -1
- package/dist/actions/check-user-s-saved-albums.d.mts +3 -15
- package/dist/actions/check-user-s-saved-albums.d.mts.map +1 -1
- package/dist/actions/check-user-s-saved-albums.mjs +1 -0
- package/dist/actions/check-user-s-saved-albums.mjs.map +1 -1
- package/dist/actions/check-user-s-saved-audiobooks.cjs +1 -0
- package/dist/actions/check-user-s-saved-audiobooks.cjs.map +1 -1
- package/dist/actions/check-user-s-saved-audiobooks.d.cts +3 -15
- package/dist/actions/check-user-s-saved-audiobooks.d.cts.map +1 -1
- package/dist/actions/check-user-s-saved-audiobooks.d.mts +3 -15
- package/dist/actions/check-user-s-saved-audiobooks.d.mts.map +1 -1
- package/dist/actions/check-user-s-saved-audiobooks.mjs +1 -0
- package/dist/actions/check-user-s-saved-audiobooks.mjs.map +1 -1
- package/dist/actions/check-user-s-saved-episodes.cjs +1 -0
- package/dist/actions/check-user-s-saved-episodes.cjs.map +1 -1
- package/dist/actions/check-user-s-saved-episodes.d.cts +3 -15
- package/dist/actions/check-user-s-saved-episodes.d.cts.map +1 -1
- package/dist/actions/check-user-s-saved-episodes.d.mts +3 -15
- package/dist/actions/check-user-s-saved-episodes.d.mts.map +1 -1
- package/dist/actions/check-user-s-saved-episodes.mjs +1 -0
- package/dist/actions/check-user-s-saved-episodes.mjs.map +1 -1
- package/dist/actions/check-user-s-saved-shows.cjs +1 -0
- package/dist/actions/check-user-s-saved-shows.cjs.map +1 -1
- package/dist/actions/check-user-s-saved-shows.d.cts +3 -15
- package/dist/actions/check-user-s-saved-shows.d.cts.map +1 -1
- package/dist/actions/check-user-s-saved-shows.d.mts +3 -15
- package/dist/actions/check-user-s-saved-shows.d.mts.map +1 -1
- package/dist/actions/check-user-s-saved-shows.mjs +1 -0
- package/dist/actions/check-user-s-saved-shows.mjs.map +1 -1
- package/dist/actions/check-user-s-saved-tracks.cjs +1 -0
- package/dist/actions/check-user-s-saved-tracks.cjs.map +1 -1
- package/dist/actions/check-user-s-saved-tracks.d.cts +3 -15
- package/dist/actions/check-user-s-saved-tracks.d.cts.map +1 -1
- package/dist/actions/check-user-s-saved-tracks.d.mts +3 -15
- package/dist/actions/check-user-s-saved-tracks.d.mts.map +1 -1
- package/dist/actions/check-user-s-saved-tracks.mjs +1 -0
- package/dist/actions/check-user-s-saved-tracks.mjs.map +1 -1
- package/dist/actions/create-playlist.cjs +1 -0
- package/dist/actions/create-playlist.cjs.map +1 -1
- package/dist/actions/create-playlist.d.cts +3 -19
- package/dist/actions/create-playlist.d.cts.map +1 -1
- package/dist/actions/create-playlist.d.mts +3 -19
- package/dist/actions/create-playlist.d.mts.map +1 -1
- package/dist/actions/create-playlist.mjs +1 -0
- package/dist/actions/create-playlist.mjs.map +1 -1
- package/dist/actions/follow-artists-or-users.cjs +1 -0
- package/dist/actions/follow-artists-or-users.cjs.map +1 -1
- package/dist/actions/follow-artists-or-users.d.cts +3 -16
- package/dist/actions/follow-artists-or-users.d.cts.map +1 -1
- package/dist/actions/follow-artists-or-users.d.mts +3 -16
- package/dist/actions/follow-artists-or-users.d.mts.map +1 -1
- package/dist/actions/follow-artists-or-users.mjs +1 -0
- package/dist/actions/follow-artists-or-users.mjs.map +1 -1
- package/dist/actions/follow-playlist.cjs +1 -0
- package/dist/actions/follow-playlist.cjs.map +1 -1
- package/dist/actions/follow-playlist.d.cts +3 -16
- package/dist/actions/follow-playlist.d.cts.map +1 -1
- package/dist/actions/follow-playlist.d.mts +3 -16
- package/dist/actions/follow-playlist.d.mts.map +1 -1
- package/dist/actions/follow-playlist.mjs +1 -0
- package/dist/actions/follow-playlist.mjs.map +1 -1
- package/dist/actions/get-a-chapter.cjs +1 -0
- package/dist/actions/get-a-chapter.cjs.map +1 -1
- package/dist/actions/get-a-chapter.d.cts +3 -16
- package/dist/actions/get-a-chapter.d.cts.map +1 -1
- package/dist/actions/get-a-chapter.d.mts +3 -16
- package/dist/actions/get-a-chapter.d.mts.map +1 -1
- package/dist/actions/get-a-chapter.mjs +1 -0
- package/dist/actions/get-a-chapter.mjs.map +1 -1
- package/dist/actions/get-album-tracks.cjs +1 -0
- package/dist/actions/get-album-tracks.cjs.map +1 -1
- package/dist/actions/get-album-tracks.d.cts +3 -18
- package/dist/actions/get-album-tracks.d.cts.map +1 -1
- package/dist/actions/get-album-tracks.d.mts +3 -18
- package/dist/actions/get-album-tracks.d.mts.map +1 -1
- package/dist/actions/get-album-tracks.mjs +1 -0
- package/dist/actions/get-album-tracks.mjs.map +1 -1
- package/dist/actions/get-album.cjs +1 -0
- package/dist/actions/get-album.cjs.map +1 -1
- package/dist/actions/get-album.d.cts +3 -16
- package/dist/actions/get-album.d.cts.map +1 -1
- package/dist/actions/get-album.d.mts +3 -16
- package/dist/actions/get-album.d.mts.map +1 -1
- package/dist/actions/get-album.mjs +1 -0
- package/dist/actions/get-album.mjs.map +1 -1
- package/dist/actions/get-an-audiobook.cjs +1 -0
- package/dist/actions/get-an-audiobook.cjs.map +1 -1
- package/dist/actions/get-an-audiobook.d.cts +3 -16
- package/dist/actions/get-an-audiobook.d.cts.map +1 -1
- package/dist/actions/get-an-audiobook.d.mts +3 -16
- package/dist/actions/get-an-audiobook.d.mts.map +1 -1
- package/dist/actions/get-an-audiobook.mjs +1 -0
- package/dist/actions/get-an-audiobook.mjs.map +1 -1
- package/dist/actions/get-artist-s-albums.cjs +1 -0
- package/dist/actions/get-artist-s-albums.cjs.map +1 -1
- package/dist/actions/get-artist-s-albums.d.cts +3 -19
- package/dist/actions/get-artist-s-albums.d.cts.map +1 -1
- package/dist/actions/get-artist-s-albums.d.mts +3 -19
- package/dist/actions/get-artist-s-albums.d.mts.map +1 -1
- package/dist/actions/get-artist-s-albums.mjs +1 -0
- package/dist/actions/get-artist-s-albums.mjs.map +1 -1
- package/dist/actions/get-artist-s-related-artists.cjs +1 -0
- package/dist/actions/get-artist-s-related-artists.cjs.map +1 -1
- package/dist/actions/get-artist-s-related-artists.d.cts +3 -15
- package/dist/actions/get-artist-s-related-artists.d.cts.map +1 -1
- package/dist/actions/get-artist-s-related-artists.d.mts +3 -15
- package/dist/actions/get-artist-s-related-artists.d.mts.map +1 -1
- package/dist/actions/get-artist-s-related-artists.mjs +1 -0
- package/dist/actions/get-artist-s-related-artists.mjs.map +1 -1
- package/dist/actions/get-artist-s-top-tracks.cjs +1 -0
- package/dist/actions/get-artist-s-top-tracks.cjs.map +1 -1
- package/dist/actions/get-artist-s-top-tracks.d.cts +3 -16
- package/dist/actions/get-artist-s-top-tracks.d.cts.map +1 -1
- package/dist/actions/get-artist-s-top-tracks.d.mts +3 -16
- package/dist/actions/get-artist-s-top-tracks.d.mts.map +1 -1
- package/dist/actions/get-artist-s-top-tracks.mjs +1 -0
- package/dist/actions/get-artist-s-top-tracks.mjs.map +1 -1
- package/dist/actions/get-artist.cjs +1 -0
- package/dist/actions/get-artist.cjs.map +1 -1
- package/dist/actions/get-artist.d.cts +3 -15
- package/dist/actions/get-artist.d.cts.map +1 -1
- package/dist/actions/get-artist.d.mts +3 -15
- package/dist/actions/get-artist.d.mts.map +1 -1
- package/dist/actions/get-artist.mjs +1 -0
- package/dist/actions/get-artist.mjs.map +1 -1
- package/dist/actions/get-audiobook-chapters.cjs +1 -0
- package/dist/actions/get-audiobook-chapters.cjs.map +1 -1
- package/dist/actions/get-audiobook-chapters.d.cts +3 -18
- package/dist/actions/get-audiobook-chapters.d.cts.map +1 -1
- package/dist/actions/get-audiobook-chapters.d.mts +3 -18
- package/dist/actions/get-audiobook-chapters.d.mts.map +1 -1
- package/dist/actions/get-audiobook-chapters.mjs +1 -0
- package/dist/actions/get-audiobook-chapters.mjs.map +1 -1
- package/dist/actions/get-available-devices.cjs +1 -0
- package/dist/actions/get-available-devices.cjs.map +1 -1
- package/dist/actions/get-available-devices.d.cts +3 -13
- package/dist/actions/get-available-devices.d.cts.map +1 -1
- package/dist/actions/get-available-devices.d.mts +3 -13
- package/dist/actions/get-available-devices.d.mts.map +1 -1
- package/dist/actions/get-available-devices.mjs +1 -0
- package/dist/actions/get-available-devices.mjs.map +1 -1
- package/dist/actions/get-available-markets.cjs +1 -0
- package/dist/actions/get-available-markets.cjs.map +1 -1
- package/dist/actions/get-available-markets.d.cts +3 -13
- package/dist/actions/get-available-markets.d.cts.map +1 -1
- package/dist/actions/get-available-markets.d.mts +3 -13
- package/dist/actions/get-available-markets.d.mts.map +1 -1
- package/dist/actions/get-available-markets.mjs +1 -0
- package/dist/actions/get-available-markets.mjs.map +1 -1
- package/dist/actions/get-current-user-s-playlists.cjs +1 -0
- package/dist/actions/get-current-user-s-playlists.cjs.map +1 -1
- package/dist/actions/get-current-user-s-playlists.d.cts +3 -16
- package/dist/actions/get-current-user-s-playlists.d.cts.map +1 -1
- package/dist/actions/get-current-user-s-playlists.d.mts +3 -16
- package/dist/actions/get-current-user-s-playlists.d.mts.map +1 -1
- package/dist/actions/get-current-user-s-playlists.mjs +1 -0
- package/dist/actions/get-current-user-s-playlists.mjs.map +1 -1
- package/dist/actions/get-current-user-s-profile.cjs +1 -0
- package/dist/actions/get-current-user-s-profile.cjs.map +1 -1
- package/dist/actions/get-current-user-s-profile.d.cts +3 -13
- package/dist/actions/get-current-user-s-profile.d.cts.map +1 -1
- package/dist/actions/get-current-user-s-profile.d.mts +3 -13
- package/dist/actions/get-current-user-s-profile.d.mts.map +1 -1
- package/dist/actions/get-current-user-s-profile.mjs +1 -0
- package/dist/actions/get-current-user-s-profile.mjs.map +1 -1
- package/dist/actions/get-currently-playing-track.cjs +1 -0
- package/dist/actions/get-currently-playing-track.cjs.map +1 -1
- package/dist/actions/get-currently-playing-track.d.cts +3 -16
- package/dist/actions/get-currently-playing-track.d.cts.map +1 -1
- package/dist/actions/get-currently-playing-track.d.mts +3 -16
- package/dist/actions/get-currently-playing-track.d.mts.map +1 -1
- package/dist/actions/get-currently-playing-track.mjs +1 -0
- package/dist/actions/get-currently-playing-track.mjs.map +1 -1
- package/dist/actions/get-episode.cjs +1 -0
- package/dist/actions/get-episode.cjs.map +1 -1
- package/dist/actions/get-episode.d.cts +3 -16
- package/dist/actions/get-episode.d.cts.map +1 -1
- package/dist/actions/get-episode.d.mts +3 -16
- package/dist/actions/get-episode.d.mts.map +1 -1
- package/dist/actions/get-episode.mjs +1 -0
- package/dist/actions/get-episode.mjs.map +1 -1
- package/dist/actions/get-featured-playlists.cjs +1 -0
- package/dist/actions/get-featured-playlists.cjs.map +1 -1
- package/dist/actions/get-featured-playlists.d.cts +3 -17
- package/dist/actions/get-featured-playlists.d.cts.map +1 -1
- package/dist/actions/get-featured-playlists.d.mts +3 -17
- package/dist/actions/get-featured-playlists.d.mts.map +1 -1
- package/dist/actions/get-featured-playlists.mjs +1 -0
- package/dist/actions/get-featured-playlists.mjs.map +1 -1
- package/dist/actions/get-followed-artists.cjs +1 -0
- package/dist/actions/get-followed-artists.cjs.map +1 -1
- package/dist/actions/get-followed-artists.d.cts +3 -17
- package/dist/actions/get-followed-artists.d.cts.map +1 -1
- package/dist/actions/get-followed-artists.d.mts +3 -17
- package/dist/actions/get-followed-artists.d.mts.map +1 -1
- package/dist/actions/get-followed-artists.mjs +1 -0
- package/dist/actions/get-followed-artists.mjs.map +1 -1
- package/dist/actions/get-new-releases.cjs +1 -0
- package/dist/actions/get-new-releases.cjs.map +1 -1
- package/dist/actions/get-new-releases.d.cts +3 -16
- package/dist/actions/get-new-releases.d.cts.map +1 -1
- package/dist/actions/get-new-releases.d.mts +3 -16
- package/dist/actions/get-new-releases.d.mts.map +1 -1
- package/dist/actions/get-new-releases.mjs +1 -0
- package/dist/actions/get-new-releases.mjs.map +1 -1
- package/dist/actions/get-playback-state.cjs +1 -0
- package/dist/actions/get-playback-state.cjs.map +1 -1
- package/dist/actions/get-playback-state.d.cts +4 -17
- package/dist/actions/get-playback-state.d.cts.map +1 -1
- package/dist/actions/get-playback-state.d.mts +4 -17
- package/dist/actions/get-playback-state.d.mts.map +1 -1
- package/dist/actions/get-playback-state.mjs +1 -0
- package/dist/actions/get-playback-state.mjs.map +1 -1
- package/dist/actions/get-playlist-cover-image.cjs +1 -0
- package/dist/actions/get-playlist-cover-image.cjs.map +1 -1
- package/dist/actions/get-playlist-cover-image.d.cts +3 -15
- package/dist/actions/get-playlist-cover-image.d.cts.map +1 -1
- package/dist/actions/get-playlist-cover-image.d.mts +3 -15
- package/dist/actions/get-playlist-cover-image.d.mts.map +1 -1
- package/dist/actions/get-playlist-cover-image.mjs +1 -0
- package/dist/actions/get-playlist-cover-image.mjs.map +1 -1
- package/dist/actions/get-playlist-items.cjs +1 -0
- package/dist/actions/get-playlist-items.cjs.map +1 -1
- package/dist/actions/get-playlist-items.d.cts +3 -20
- package/dist/actions/get-playlist-items.d.cts.map +1 -1
- package/dist/actions/get-playlist-items.d.mts +3 -20
- package/dist/actions/get-playlist-items.d.mts.map +1 -1
- package/dist/actions/get-playlist-items.mjs +1 -0
- package/dist/actions/get-playlist-items.mjs.map +1 -1
- package/dist/actions/get-playlist.cjs +1 -0
- package/dist/actions/get-playlist.cjs.map +1 -1
- package/dist/actions/get-playlist.d.cts +3 -18
- package/dist/actions/get-playlist.d.cts.map +1 -1
- package/dist/actions/get-playlist.d.mts +3 -18
- package/dist/actions/get-playlist.d.mts.map +1 -1
- package/dist/actions/get-playlist.mjs +1 -0
- package/dist/actions/get-playlist.mjs.map +1 -1
- package/dist/actions/get-recently-played-tracks.cjs +1 -0
- package/dist/actions/get-recently-played-tracks.cjs.map +1 -1
- package/dist/actions/get-recently-played-tracks.d.cts +3 -17
- package/dist/actions/get-recently-played-tracks.d.cts.map +1 -1
- package/dist/actions/get-recently-played-tracks.d.mts +3 -17
- package/dist/actions/get-recently-played-tracks.d.mts.map +1 -1
- package/dist/actions/get-recently-played-tracks.mjs +1 -0
- package/dist/actions/get-recently-played-tracks.mjs.map +1 -1
- package/dist/actions/get-recommendations.cjs +1 -0
- package/dist/actions/get-recommendations.cjs.map +1 -1
- package/dist/actions/get-recommendations.d.cts +3 -61
- package/dist/actions/get-recommendations.d.cts.map +1 -1
- package/dist/actions/get-recommendations.d.mts +3 -61
- package/dist/actions/get-recommendations.d.mts.map +1 -1
- package/dist/actions/get-recommendations.mjs +1 -0
- package/dist/actions/get-recommendations.mjs.map +1 -1
- package/dist/actions/get-several-albums.cjs +1 -0
- package/dist/actions/get-several-albums.cjs.map +1 -1
- package/dist/actions/get-several-albums.d.cts +3 -16
- package/dist/actions/get-several-albums.d.cts.map +1 -1
- package/dist/actions/get-several-albums.d.mts +3 -16
- package/dist/actions/get-several-albums.d.mts.map +1 -1
- package/dist/actions/get-several-albums.mjs +1 -0
- package/dist/actions/get-several-albums.mjs.map +1 -1
- package/dist/actions/get-several-artists.cjs +1 -0
- package/dist/actions/get-several-artists.cjs.map +1 -1
- package/dist/actions/get-several-artists.d.cts +3 -15
- package/dist/actions/get-several-artists.d.cts.map +1 -1
- package/dist/actions/get-several-artists.d.mts +3 -15
- package/dist/actions/get-several-artists.d.mts.map +1 -1
- package/dist/actions/get-several-artists.mjs +1 -0
- package/dist/actions/get-several-artists.mjs.map +1 -1
- package/dist/actions/get-several-audiobooks.cjs +1 -0
- package/dist/actions/get-several-audiobooks.cjs.map +1 -1
- package/dist/actions/get-several-audiobooks.d.cts +3 -16
- package/dist/actions/get-several-audiobooks.d.cts.map +1 -1
- package/dist/actions/get-several-audiobooks.d.mts +3 -16
- package/dist/actions/get-several-audiobooks.d.mts.map +1 -1
- package/dist/actions/get-several-audiobooks.mjs +1 -0
- package/dist/actions/get-several-audiobooks.mjs.map +1 -1
- package/dist/actions/get-several-browse-categories.cjs +1 -0
- package/dist/actions/get-several-browse-categories.cjs.map +1 -1
- package/dist/actions/get-several-browse-categories.d.cts +3 -17
- package/dist/actions/get-several-browse-categories.d.cts.map +1 -1
- package/dist/actions/get-several-browse-categories.d.mts +3 -17
- package/dist/actions/get-several-browse-categories.d.mts.map +1 -1
- package/dist/actions/get-several-browse-categories.mjs +1 -0
- package/dist/actions/get-several-browse-categories.mjs.map +1 -1
- package/dist/actions/get-several-chapters.cjs +1 -0
- package/dist/actions/get-several-chapters.cjs.map +1 -1
- package/dist/actions/get-several-chapters.d.cts +3 -16
- package/dist/actions/get-several-chapters.d.cts.map +1 -1
- package/dist/actions/get-several-chapters.d.mts +3 -16
- package/dist/actions/get-several-chapters.d.mts.map +1 -1
- package/dist/actions/get-several-chapters.mjs +1 -0
- package/dist/actions/get-several-chapters.mjs.map +1 -1
- package/dist/actions/get-several-episodes.cjs +1 -0
- package/dist/actions/get-several-episodes.cjs.map +1 -1
- package/dist/actions/get-several-episodes.d.cts +3 -16
- package/dist/actions/get-several-episodes.d.cts.map +1 -1
- package/dist/actions/get-several-episodes.d.mts +3 -16
- package/dist/actions/get-several-episodes.d.mts.map +1 -1
- package/dist/actions/get-several-episodes.mjs +1 -0
- package/dist/actions/get-several-episodes.mjs.map +1 -1
- package/dist/actions/get-several-shows.cjs +1 -0
- package/dist/actions/get-several-shows.cjs.map +1 -1
- package/dist/actions/get-several-shows.d.cts +3 -16
- package/dist/actions/get-several-shows.d.cts.map +1 -1
- package/dist/actions/get-several-shows.d.mts +3 -16
- package/dist/actions/get-several-shows.d.mts.map +1 -1
- package/dist/actions/get-several-shows.mjs +1 -0
- package/dist/actions/get-several-shows.mjs.map +1 -1
- package/dist/actions/get-several-tracks.cjs +1 -0
- package/dist/actions/get-several-tracks.cjs.map +1 -1
- package/dist/actions/get-several-tracks.d.cts +3 -16
- package/dist/actions/get-several-tracks.d.cts.map +1 -1
- package/dist/actions/get-several-tracks.d.mts +3 -16
- package/dist/actions/get-several-tracks.d.mts.map +1 -1
- package/dist/actions/get-several-tracks.mjs +1 -0
- package/dist/actions/get-several-tracks.mjs.map +1 -1
- package/dist/actions/get-show-episodes.cjs +1 -0
- package/dist/actions/get-show-episodes.cjs.map +1 -1
- package/dist/actions/get-show-episodes.d.cts +3 -18
- package/dist/actions/get-show-episodes.d.cts.map +1 -1
- package/dist/actions/get-show-episodes.d.mts +3 -18
- package/dist/actions/get-show-episodes.d.mts.map +1 -1
- package/dist/actions/get-show-episodes.mjs +1 -0
- package/dist/actions/get-show-episodes.mjs.map +1 -1
- package/dist/actions/get-show.cjs +1 -0
- package/dist/actions/get-show.cjs.map +1 -1
- package/dist/actions/get-show.d.cts +3 -16
- package/dist/actions/get-show.d.cts.map +1 -1
- package/dist/actions/get-show.d.mts +3 -16
- package/dist/actions/get-show.d.mts.map +1 -1
- package/dist/actions/get-show.mjs +1 -0
- package/dist/actions/get-show.mjs.map +1 -1
- package/dist/actions/get-single-browse-category.cjs +1 -0
- package/dist/actions/get-single-browse-category.cjs.map +1 -1
- package/dist/actions/get-single-browse-category.d.cts +3 -16
- package/dist/actions/get-single-browse-category.d.cts.map +1 -1
- package/dist/actions/get-single-browse-category.d.mts +3 -16
- package/dist/actions/get-single-browse-category.d.mts.map +1 -1
- package/dist/actions/get-single-browse-category.mjs +1 -0
- package/dist/actions/get-single-browse-category.mjs.map +1 -1
- package/dist/actions/get-the-user-s-queue.cjs +1 -0
- package/dist/actions/get-the-user-s-queue.cjs.map +1 -1
- package/dist/actions/get-the-user-s-queue.d.cts +3 -13
- package/dist/actions/get-the-user-s-queue.d.cts.map +1 -1
- package/dist/actions/get-the-user-s-queue.d.mts +3 -13
- package/dist/actions/get-the-user-s-queue.d.mts.map +1 -1
- package/dist/actions/get-the-user-s-queue.mjs +1 -0
- package/dist/actions/get-the-user-s-queue.mjs.map +1 -1
- package/dist/actions/get-track-s-audio-analysis.cjs +1 -0
- package/dist/actions/get-track-s-audio-analysis.cjs.map +1 -1
- package/dist/actions/get-track-s-audio-analysis.d.cts +3 -15
- package/dist/actions/get-track-s-audio-analysis.d.cts.map +1 -1
- package/dist/actions/get-track-s-audio-analysis.d.mts +3 -15
- package/dist/actions/get-track-s-audio-analysis.d.mts.map +1 -1
- package/dist/actions/get-track-s-audio-analysis.mjs +1 -0
- package/dist/actions/get-track-s-audio-analysis.mjs.map +1 -1
- package/dist/actions/get-track.cjs +1 -0
- package/dist/actions/get-track.cjs.map +1 -1
- package/dist/actions/get-track.d.cts +3 -16
- package/dist/actions/get-track.d.cts.map +1 -1
- package/dist/actions/get-track.d.mts +3 -16
- package/dist/actions/get-track.d.mts.map +1 -1
- package/dist/actions/get-track.mjs +1 -0
- package/dist/actions/get-track.mjs.map +1 -1
- package/dist/actions/get-user-s-playlists.cjs +1 -0
- package/dist/actions/get-user-s-playlists.cjs.map +1 -1
- package/dist/actions/get-user-s-playlists.d.cts +3 -17
- package/dist/actions/get-user-s-playlists.d.cts.map +1 -1
- package/dist/actions/get-user-s-playlists.d.mts +3 -17
- package/dist/actions/get-user-s-playlists.d.mts.map +1 -1
- package/dist/actions/get-user-s-playlists.mjs +1 -0
- package/dist/actions/get-user-s-playlists.mjs.map +1 -1
- package/dist/actions/get-user-s-profile.cjs +1 -0
- package/dist/actions/get-user-s-profile.cjs.map +1 -1
- package/dist/actions/get-user-s-profile.d.cts +3 -15
- package/dist/actions/get-user-s-profile.d.cts.map +1 -1
- package/dist/actions/get-user-s-profile.d.mts +3 -15
- package/dist/actions/get-user-s-profile.d.mts.map +1 -1
- package/dist/actions/get-user-s-profile.mjs +1 -0
- package/dist/actions/get-user-s-profile.mjs.map +1 -1
- package/dist/actions/get-user-s-saved-albums.cjs +1 -0
- package/dist/actions/get-user-s-saved-albums.cjs.map +1 -1
- package/dist/actions/get-user-s-saved-albums.d.cts +3 -17
- package/dist/actions/get-user-s-saved-albums.d.cts.map +1 -1
- package/dist/actions/get-user-s-saved-albums.d.mts +3 -17
- package/dist/actions/get-user-s-saved-albums.d.mts.map +1 -1
- package/dist/actions/get-user-s-saved-albums.mjs +1 -0
- package/dist/actions/get-user-s-saved-albums.mjs.map +1 -1
- package/dist/actions/get-user-s-saved-audiobooks.cjs +1 -0
- package/dist/actions/get-user-s-saved-audiobooks.cjs.map +1 -1
- package/dist/actions/get-user-s-saved-audiobooks.d.cts +3 -16
- package/dist/actions/get-user-s-saved-audiobooks.d.cts.map +1 -1
- package/dist/actions/get-user-s-saved-audiobooks.d.mts +3 -16
- package/dist/actions/get-user-s-saved-audiobooks.d.mts.map +1 -1
- package/dist/actions/get-user-s-saved-audiobooks.mjs +1 -0
- package/dist/actions/get-user-s-saved-audiobooks.mjs.map +1 -1
- package/dist/actions/get-user-s-saved-episodes.cjs +1 -0
- package/dist/actions/get-user-s-saved-episodes.cjs.map +1 -1
- package/dist/actions/get-user-s-saved-episodes.d.cts +3 -17
- package/dist/actions/get-user-s-saved-episodes.d.cts.map +1 -1
- package/dist/actions/get-user-s-saved-episodes.d.mts +3 -17
- package/dist/actions/get-user-s-saved-episodes.d.mts.map +1 -1
- package/dist/actions/get-user-s-saved-episodes.mjs +1 -0
- package/dist/actions/get-user-s-saved-episodes.mjs.map +1 -1
- package/dist/actions/get-user-s-saved-shows.cjs +1 -0
- package/dist/actions/get-user-s-saved-shows.cjs.map +1 -1
- package/dist/actions/get-user-s-saved-shows.d.cts +3 -16
- package/dist/actions/get-user-s-saved-shows.d.cts.map +1 -1
- package/dist/actions/get-user-s-saved-shows.d.mts +3 -16
- package/dist/actions/get-user-s-saved-shows.d.mts.map +1 -1
- package/dist/actions/get-user-s-saved-shows.mjs +1 -0
- package/dist/actions/get-user-s-saved-shows.mjs.map +1 -1
- package/dist/actions/get-user-s-saved-tracks.cjs +1 -0
- package/dist/actions/get-user-s-saved-tracks.cjs.map +1 -1
- package/dist/actions/get-user-s-saved-tracks.d.cts +3 -17
- package/dist/actions/get-user-s-saved-tracks.d.cts.map +1 -1
- package/dist/actions/get-user-s-saved-tracks.d.mts +3 -17
- package/dist/actions/get-user-s-saved-tracks.d.mts.map +1 -1
- package/dist/actions/get-user-s-saved-tracks.mjs +1 -0
- package/dist/actions/get-user-s-saved-tracks.mjs.map +1 -1
- package/dist/actions/get-user-s-top-artists.cjs +1 -0
- package/dist/actions/get-user-s-top-artists.cjs.map +1 -1
- package/dist/actions/get-user-s-top-artists.d.cts +3 -17
- package/dist/actions/get-user-s-top-artists.d.cts.map +1 -1
- package/dist/actions/get-user-s-top-artists.d.mts +3 -17
- package/dist/actions/get-user-s-top-artists.d.mts.map +1 -1
- package/dist/actions/get-user-s-top-artists.mjs +1 -0
- package/dist/actions/get-user-s-top-artists.mjs.map +1 -1
- package/dist/actions/get-user-s-top-tracks.cjs +1 -0
- package/dist/actions/get-user-s-top-tracks.cjs.map +1 -1
- package/dist/actions/get-user-s-top-tracks.d.cts +3 -17
- package/dist/actions/get-user-s-top-tracks.d.cts.map +1 -1
- package/dist/actions/get-user-s-top-tracks.d.mts +3 -17
- package/dist/actions/get-user-s-top-tracks.d.mts.map +1 -1
- package/dist/actions/get-user-s-top-tracks.mjs +1 -0
- package/dist/actions/get-user-s-top-tracks.mjs.map +1 -1
- package/dist/actions/pause-playback.cjs +1 -0
- package/dist/actions/pause-playback.cjs.map +1 -1
- package/dist/actions/pause-playback.d.cts +3 -15
- package/dist/actions/pause-playback.d.cts.map +1 -1
- package/dist/actions/pause-playback.d.mts +3 -15
- package/dist/actions/pause-playback.d.mts.map +1 -1
- package/dist/actions/pause-playback.mjs +1 -0
- package/dist/actions/pause-playback.mjs.map +1 -1
- package/dist/actions/remove-playlist-items.cjs +1 -0
- package/dist/actions/remove-playlist-items.cjs.map +1 -1
- package/dist/actions/remove-playlist-items.d.cts +3 -21
- package/dist/actions/remove-playlist-items.d.cts.map +1 -1
- package/dist/actions/remove-playlist-items.d.mts +3 -21
- package/dist/actions/remove-playlist-items.d.mts.map +1 -1
- package/dist/actions/remove-playlist-items.mjs +1 -0
- package/dist/actions/remove-playlist-items.mjs.map +1 -1
- package/dist/actions/remove-user-s-saved-audiobooks.cjs +1 -0
- package/dist/actions/remove-user-s-saved-audiobooks.cjs.map +1 -1
- package/dist/actions/remove-user-s-saved-audiobooks.d.cts +3 -15
- package/dist/actions/remove-user-s-saved-audiobooks.d.cts.map +1 -1
- package/dist/actions/remove-user-s-saved-audiobooks.d.mts +3 -15
- package/dist/actions/remove-user-s-saved-audiobooks.d.mts.map +1 -1
- package/dist/actions/remove-user-s-saved-audiobooks.mjs +1 -0
- package/dist/actions/remove-user-s-saved-audiobooks.mjs.map +1 -1
- package/dist/actions/remove-user-s-saved-episodes.cjs +1 -0
- package/dist/actions/remove-user-s-saved-episodes.cjs.map +1 -1
- package/dist/actions/remove-user-s-saved-episodes.d.cts +3 -15
- package/dist/actions/remove-user-s-saved-episodes.d.cts.map +1 -1
- package/dist/actions/remove-user-s-saved-episodes.d.mts +3 -15
- package/dist/actions/remove-user-s-saved-episodes.d.mts.map +1 -1
- package/dist/actions/remove-user-s-saved-episodes.mjs +1 -0
- package/dist/actions/remove-user-s-saved-episodes.mjs.map +1 -1
- package/dist/actions/remove-user-s-saved-shows.cjs +1 -0
- package/dist/actions/remove-user-s-saved-shows.cjs.map +1 -1
- package/dist/actions/remove-user-s-saved-shows.d.cts +3 -16
- package/dist/actions/remove-user-s-saved-shows.d.cts.map +1 -1
- package/dist/actions/remove-user-s-saved-shows.d.mts +3 -16
- package/dist/actions/remove-user-s-saved-shows.d.mts.map +1 -1
- package/dist/actions/remove-user-s-saved-shows.mjs +1 -0
- package/dist/actions/remove-user-s-saved-shows.mjs.map +1 -1
- package/dist/actions/remove-user-s-saved-tracks.cjs +1 -0
- package/dist/actions/remove-user-s-saved-tracks.cjs.map +1 -1
- package/dist/actions/remove-user-s-saved-tracks.d.cts +3 -16
- package/dist/actions/remove-user-s-saved-tracks.d.cts.map +1 -1
- package/dist/actions/remove-user-s-saved-tracks.d.mts +3 -16
- package/dist/actions/remove-user-s-saved-tracks.d.mts.map +1 -1
- package/dist/actions/remove-user-s-saved-tracks.mjs +1 -0
- package/dist/actions/remove-user-s-saved-tracks.mjs.map +1 -1
- package/dist/actions/remove-users-saved-albums.cjs +1 -0
- package/dist/actions/remove-users-saved-albums.cjs.map +1 -1
- package/dist/actions/remove-users-saved-albums.d.cts +3 -15
- package/dist/actions/remove-users-saved-albums.d.cts.map +1 -1
- package/dist/actions/remove-users-saved-albums.d.mts +3 -15
- package/dist/actions/remove-users-saved-albums.d.mts.map +1 -1
- package/dist/actions/remove-users-saved-albums.mjs +1 -0
- package/dist/actions/remove-users-saved-albums.mjs.map +1 -1
- package/dist/actions/save-albums-for-current-user.cjs +1 -0
- package/dist/actions/save-albums-for-current-user.cjs.map +1 -1
- package/dist/actions/save-albums-for-current-user.d.cts +3 -15
- package/dist/actions/save-albums-for-current-user.d.cts.map +1 -1
- package/dist/actions/save-albums-for-current-user.d.mts +3 -15
- package/dist/actions/save-albums-for-current-user.d.mts.map +1 -1
- package/dist/actions/save-albums-for-current-user.mjs +1 -0
- package/dist/actions/save-albums-for-current-user.mjs.map +1 -1
- package/dist/actions/save-audiobooks-for-current-user.cjs +1 -0
- package/dist/actions/save-audiobooks-for-current-user.cjs.map +1 -1
- package/dist/actions/save-audiobooks-for-current-user.d.cts +3 -15
- package/dist/actions/save-audiobooks-for-current-user.d.cts.map +1 -1
- package/dist/actions/save-audiobooks-for-current-user.d.mts +3 -15
- package/dist/actions/save-audiobooks-for-current-user.d.mts.map +1 -1
- package/dist/actions/save-audiobooks-for-current-user.mjs +1 -0
- package/dist/actions/save-audiobooks-for-current-user.mjs.map +1 -1
- package/dist/actions/save-episodes-for-current-user.cjs +1 -0
- package/dist/actions/save-episodes-for-current-user.cjs.map +1 -1
- package/dist/actions/save-episodes-for-current-user.d.cts +3 -15
- package/dist/actions/save-episodes-for-current-user.d.cts.map +1 -1
- package/dist/actions/save-episodes-for-current-user.d.mts +3 -15
- package/dist/actions/save-episodes-for-current-user.d.mts.map +1 -1
- package/dist/actions/save-episodes-for-current-user.mjs +1 -0
- package/dist/actions/save-episodes-for-current-user.mjs.map +1 -1
- package/dist/actions/save-shows-for-current-user.cjs +1 -0
- package/dist/actions/save-shows-for-current-user.cjs.map +1 -1
- package/dist/actions/save-shows-for-current-user.d.cts +3 -15
- package/dist/actions/save-shows-for-current-user.d.cts.map +1 -1
- package/dist/actions/save-shows-for-current-user.d.mts +3 -15
- package/dist/actions/save-shows-for-current-user.d.mts.map +1 -1
- package/dist/actions/save-shows-for-current-user.mjs +1 -0
- package/dist/actions/save-shows-for-current-user.mjs.map +1 -1
- package/dist/actions/save-tracks-for-current-user.cjs +1 -0
- package/dist/actions/save-tracks-for-current-user.cjs.map +1 -1
- package/dist/actions/save-tracks-for-current-user.d.cts +3 -19
- package/dist/actions/save-tracks-for-current-user.d.cts.map +1 -1
- package/dist/actions/save-tracks-for-current-user.d.mts +3 -19
- package/dist/actions/save-tracks-for-current-user.d.mts.map +1 -1
- package/dist/actions/save-tracks-for-current-user.mjs +1 -0
- package/dist/actions/save-tracks-for-current-user.mjs.map +1 -1
- package/dist/actions/search-for-item.cjs +1 -0
- package/dist/actions/search-for-item.cjs.map +1 -1
- package/dist/actions/search-for-item.d.cts +6 -23
- package/dist/actions/search-for-item.d.cts.map +1 -1
- package/dist/actions/search-for-item.d.mts +6 -23
- package/dist/actions/search-for-item.d.mts.map +1 -1
- package/dist/actions/search-for-item.mjs +1 -0
- package/dist/actions/search-for-item.mjs.map +1 -1
- package/dist/actions/seek-to-position.cjs +1 -0
- package/dist/actions/seek-to-position.cjs.map +1 -1
- package/dist/actions/seek-to-position.d.cts +3 -16
- package/dist/actions/seek-to-position.d.cts.map +1 -1
- package/dist/actions/seek-to-position.d.mts +3 -16
- package/dist/actions/seek-to-position.d.mts.map +1 -1
- package/dist/actions/seek-to-position.mjs +1 -0
- package/dist/actions/seek-to-position.mjs.map +1 -1
- package/dist/actions/set-playback-volume.cjs +1 -0
- package/dist/actions/set-playback-volume.cjs.map +1 -1
- package/dist/actions/set-playback-volume.d.cts +3 -16
- package/dist/actions/set-playback-volume.d.cts.map +1 -1
- package/dist/actions/set-playback-volume.d.mts +3 -16
- package/dist/actions/set-playback-volume.d.mts.map +1 -1
- package/dist/actions/set-playback-volume.mjs +1 -0
- package/dist/actions/set-playback-volume.mjs.map +1 -1
- package/dist/actions/set-repeat-mode.cjs +1 -0
- package/dist/actions/set-repeat-mode.cjs.map +1 -1
- package/dist/actions/set-repeat-mode.d.cts +4 -17
- package/dist/actions/set-repeat-mode.d.cts.map +1 -1
- package/dist/actions/set-repeat-mode.d.mts +4 -17
- package/dist/actions/set-repeat-mode.d.mts.map +1 -1
- package/dist/actions/set-repeat-mode.mjs +1 -0
- package/dist/actions/set-repeat-mode.mjs.map +1 -1
- package/dist/actions/skip-to-next.cjs +1 -0
- package/dist/actions/skip-to-next.cjs.map +1 -1
- package/dist/actions/skip-to-next.d.cts +3 -15
- package/dist/actions/skip-to-next.d.cts.map +1 -1
- package/dist/actions/skip-to-next.d.mts +3 -15
- package/dist/actions/skip-to-next.d.mts.map +1 -1
- package/dist/actions/skip-to-next.mjs +1 -0
- package/dist/actions/skip-to-next.mjs.map +1 -1
- package/dist/actions/skip-to-previous.cjs +1 -0
- package/dist/actions/skip-to-previous.cjs.map +1 -1
- package/dist/actions/skip-to-previous.d.cts +3 -15
- package/dist/actions/skip-to-previous.d.cts.map +1 -1
- package/dist/actions/skip-to-previous.d.mts +3 -15
- package/dist/actions/skip-to-previous.d.mts.map +1 -1
- package/dist/actions/skip-to-previous.mjs +1 -0
- package/dist/actions/skip-to-previous.mjs.map +1 -1
- package/dist/actions/start-resume-playback.cjs +1 -0
- package/dist/actions/start-resume-playback.cjs.map +1 -1
- package/dist/actions/start-resume-playback.d.cts +3 -19
- package/dist/actions/start-resume-playback.d.cts.map +1 -1
- package/dist/actions/start-resume-playback.d.mts +3 -19
- package/dist/actions/start-resume-playback.d.mts.map +1 -1
- package/dist/actions/start-resume-playback.mjs +1 -0
- package/dist/actions/start-resume-playback.mjs.map +1 -1
- package/dist/actions/toggle-playback-shuffle.cjs +1 -0
- package/dist/actions/toggle-playback-shuffle.cjs.map +1 -1
- package/dist/actions/toggle-playback-shuffle.d.cts +3 -16
- package/dist/actions/toggle-playback-shuffle.d.cts.map +1 -1
- package/dist/actions/toggle-playback-shuffle.d.mts +3 -16
- package/dist/actions/toggle-playback-shuffle.d.mts.map +1 -1
- package/dist/actions/toggle-playback-shuffle.mjs +1 -0
- package/dist/actions/toggle-playback-shuffle.mjs.map +1 -1
- package/dist/actions/transfer-playback.cjs +1 -0
- package/dist/actions/transfer-playback.cjs.map +1 -1
- package/dist/actions/transfer-playback.d.cts +3 -16
- package/dist/actions/transfer-playback.d.cts.map +1 -1
- package/dist/actions/transfer-playback.d.mts +3 -16
- package/dist/actions/transfer-playback.d.mts.map +1 -1
- package/dist/actions/transfer-playback.mjs +1 -0
- package/dist/actions/transfer-playback.mjs.map +1 -1
- package/dist/actions/unfollow-artists-or-users.cjs +1 -0
- package/dist/actions/unfollow-artists-or-users.cjs.map +1 -1
- package/dist/actions/unfollow-artists-or-users.d.cts +3 -16
- package/dist/actions/unfollow-artists-or-users.d.cts.map +1 -1
- package/dist/actions/unfollow-artists-or-users.d.mts +3 -16
- package/dist/actions/unfollow-artists-or-users.d.mts.map +1 -1
- package/dist/actions/unfollow-artists-or-users.mjs +1 -0
- package/dist/actions/unfollow-artists-or-users.mjs.map +1 -1
- package/dist/actions/unfollow-playlist.cjs +1 -0
- package/dist/actions/unfollow-playlist.cjs.map +1 -1
- package/dist/actions/unfollow-playlist.d.cts +3 -15
- package/dist/actions/unfollow-playlist.d.cts.map +1 -1
- package/dist/actions/unfollow-playlist.d.mts +3 -15
- package/dist/actions/unfollow-playlist.d.mts.map +1 -1
- package/dist/actions/unfollow-playlist.mjs +1 -0
- package/dist/actions/unfollow-playlist.mjs.map +1 -1
- package/dist/actions/update-playlist-items.cjs +1 -0
- package/dist/actions/update-playlist-items.cjs.map +1 -1
- package/dist/actions/update-playlist-items.d.cts +3 -20
- package/dist/actions/update-playlist-items.d.cts.map +1 -1
- package/dist/actions/update-playlist-items.d.mts +3 -20
- package/dist/actions/update-playlist-items.d.mts.map +1 -1
- package/dist/actions/update-playlist-items.mjs +1 -0
- package/dist/actions/update-playlist-items.mjs.map +1 -1
- package/dist/app.cjs +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"start-resume-playback.mjs","names":[],"sources":["../../src/actions/start-resume-playback.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyStartResumePlaybackInput = z.object({\n uris: z.array(z.string()).describe(\"List of Spotify track URIs to play. Example: ['spotify:track:4iV5W9uYEdYUVa79Axb7Rh', 'spotify:track:1301WleyT98MSxVHPZCA6M']. Cannot be used with 'context_uri' parameter.\").optional(),\n offset: z.record(z.string(), z.unknown()).describe(\"Starting position in the context. Only available when 'context_uri' is an album or playlist. Use either 'position' (zero-based track index) or 'uri' (specific track URI). Example with position: {'position': 5}. Example with URI: {'uri': 'spotify:track:1301WleyT98MSxVHPZCA6M'}.\").optional(),\n device_id: z.string().describe(\"The ID of the device to target for playback. If not provided, playback will start/resume on the currently active device. Use the 'get_available_devices' action to retrieve device IDs.\").optional(),\n context_uri: z.string().describe(\"Spotify URI of the context to play. Valid contexts are albums, artists, or playlists. Example: 'spotify:album:1Je1IMUlBXcx1Fz0WE7oPT' or 'spotify:playlist:37i9dQZF1DXcBWIGoYBM5M'. Cannot be used with 'uris' parameter.\").optional(),\n position_ms: z.number().int().describe(\"Position in milliseconds to start playback. Must be a positive number. If greater than the track length, the player will skip to the next song. Example: 25000 (starts 25 seconds into the track).\").optional(),\n}).describe(\"Request schema for `StartResumePlayback`\");\nexport const SpotifyStartResumePlaybackOutput = z.object({\n success: z.boolean().default(true).nullable().optional(),\n}).passthrough().describe(\"Response schema for `StartResumePlayback`\\n\\nThe Spotify API returns HTTP 204 No Content on successful playback start/resume.\\nThis response object will indicate success when the action completes.\");\n\nexport const spotifyStartResumePlayback = action(\"SPOTIFY_START_RESUME_PLAYBACK\", {\n slug: \"spotify-start-resume-playback\",\n name: \"Start resume playback\",\n description: \"Start a new context or resume current playback on the user's active device. Starts playback of a specific context (album, artist, or playlist), a list of tracks, or resumes currently paused playback. Returns immediately with success when playback starts. Requirements: - Spotify Premium subscription - OAuth scope: user-modify-playback-state - At least one active Spotify device (mobile, desktop, web player, or smart speaker) Usage patterns: - Resume paused playback: Call with no parameters - Play an album/playlist: Use 'context_uri' parameter - Play specific tracks: Use 'uris' parameter - Play from a specific track in a context: Use 'context_uri' with 'offset' - Start from a specific position in a track: Use 'position_ms' Note: The order of execution is not guaranteed when you use this API with other Player API endpoints. You cannot use both 'context_uri' and 'uris' parameters together. Common error scenarios: - 403: User does not have Spotify Premium - 404: No active device found\",\n input: SpotifyStartResumePlaybackInput,\n output: SpotifyStartResumePlaybackOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"start-resume-playback.mjs","names":[],"sources":["../../src/actions/start-resume-playback.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { spotify } from \"../app\";\n\nexport const SpotifyStartResumePlaybackInput = z.object({\n uris: z.array(z.string()).describe(\"List of Spotify track URIs to play. Example: ['spotify:track:4iV5W9uYEdYUVa79Axb7Rh', 'spotify:track:1301WleyT98MSxVHPZCA6M']. Cannot be used with 'context_uri' parameter.\").optional(),\n offset: z.record(z.string(), z.unknown()).describe(\"Starting position in the context. Only available when 'context_uri' is an album or playlist. Use either 'position' (zero-based track index) or 'uri' (specific track URI). Example with position: {'position': 5}. Example with URI: {'uri': 'spotify:track:1301WleyT98MSxVHPZCA6M'}.\").optional(),\n device_id: z.string().describe(\"The ID of the device to target for playback. If not provided, playback will start/resume on the currently active device. Use the 'get_available_devices' action to retrieve device IDs.\").optional(),\n context_uri: z.string().describe(\"Spotify URI of the context to play. Valid contexts are albums, artists, or playlists. Example: 'spotify:album:1Je1IMUlBXcx1Fz0WE7oPT' or 'spotify:playlist:37i9dQZF1DXcBWIGoYBM5M'. Cannot be used with 'uris' parameter.\").optional(),\n position_ms: z.number().int().describe(\"Position in milliseconds to start playback. Must be a positive number. If greater than the track length, the player will skip to the next song. Example: 25000 (starts 25 seconds into the track).\").optional(),\n}).describe(\"Request schema for `StartResumePlayback`\");\nexport const SpotifyStartResumePlaybackOutput = z.object({\n success: z.boolean().default(true).nullable().optional(),\n}).passthrough().describe(\"Response schema for `StartResumePlayback`\\n\\nThe Spotify API returns HTTP 204 No Content on successful playback start/resume.\\nThis response object will indicate success when the action completes.\");\n\nexport const spotifyStartResumePlayback: AppAction<\n typeof SpotifyStartResumePlaybackInput,\n typeof SpotifyStartResumePlaybackOutput,\n typeof spotify.credential\n> = action(\"SPOTIFY_START_RESUME_PLAYBACK\", {\n slug: \"spotify-start-resume-playback\",\n name: \"Start resume playback\",\n description: \"Start a new context or resume current playback on the user's active device. Starts playback of a specific context (album, artist, or playlist), a list of tracks, or resumes currently paused playback. Returns immediately with success when playback starts. Requirements: - Spotify Premium subscription - OAuth scope: user-modify-playback-state - At least one active Spotify device (mobile, desktop, web player, or smart speaker) Usage patterns: - Resume paused playback: Call with no parameters - Play an album/playlist: Use 'context_uri' parameter - Play specific tracks: Use 'uris' parameter - Play from a specific track in a context: Use 'context_uri' with 'offset' - Start from a specific position in a track: Use 'position_ms' Note: The order of execution is not guaranteed when you use this API with other Player API endpoints. You cannot use both 'context_uri' and 'uris' parameters together. Common error scenarios: - 403: User does not have Spotify Premium - 404: No active device found\",\n input: SpotifyStartResumePlaybackInput,\n output: SpotifyStartResumePlaybackOutput,\n});\n"],"mappings":";;;AAiBA,MAAa,6BAIT,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnB6C,EAAE,OAAO;EACtD,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6KAA6K,CAAC,CAAC,SAAS;EAC3N,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uRAAuR,CAAC,CAAC,SAAS;EACrV,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yLAAyL,CAAC,CAAC,SAAS;EACnO,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2NAA2N,CAAC,CAAC,SAAS;EACvQ,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oMAAoM,CAAC,CAAC,SAAS;CACxP,CAAC,CAAC,CAAC,SAAS,0CAaH;CACP,QAb8C,EAAE,OAAO,EACvD,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sMAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toggle-playback-shuffle.cjs","names":["z","action"],"sources":["../../src/actions/toggle-playback-shuffle.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyTogglePlaybackShuffleInput = z.object({\n state: z.boolean().describe(\"true: Enable shuffle for user's playback. false: Disable shuffle for user's playback.\"),\n device_id: z.string().describe(\"The ID of the device to target for playback control. If not provided, the command will target the user's currently active device. Device IDs can be retrieved from the Get Available Devices endpoint.\").optional(),\n}).describe(\"Request schema for `TogglePlaybackShuffle`\");\nexport const SpotifyTogglePlaybackShuffleOutput = z.object({\n message: z.string().describe(\"Optional message about the operation.\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Whether the shuffle state was successfully toggled.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `TogglePlaybackShuffle`. Returns success status since the API returns empty body on success.\");\n\nexport const spotifyTogglePlaybackShuffle = action(\"SPOTIFY_TOGGLE_PLAYBACK_SHUFFLE\", {\n slug: \"spotify-toggle-playback-shuffle\",\n name: \"Toggle playback shuffle\",\n description: \"Toggle shuffle on or off for user's playback. This API only works for users who have Spotify Premium. The order of execution is not guaranteed when you use this API with other Player API endpoints. Required OAuth scope: user-modify-playback-state Note: This endpoint returns 204 No Content on success, 404 if no active device is found, and 403 if the user does not have an active Spotify Premium subscription.\",\n input: SpotifyTogglePlaybackShuffleInput,\n output: SpotifyTogglePlaybackShuffleOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"toggle-playback-shuffle.cjs","names":["z","action"],"sources":["../../src/actions/toggle-playback-shuffle.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { spotify } from \"../app\";\n\nexport const SpotifyTogglePlaybackShuffleInput = z.object({\n state: z.boolean().describe(\"true: Enable shuffle for user's playback. false: Disable shuffle for user's playback.\"),\n device_id: z.string().describe(\"The ID of the device to target for playback control. If not provided, the command will target the user's currently active device. Device IDs can be retrieved from the Get Available Devices endpoint.\").optional(),\n}).describe(\"Request schema for `TogglePlaybackShuffle`\");\nexport const SpotifyTogglePlaybackShuffleOutput = z.object({\n message: z.string().describe(\"Optional message about the operation.\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Whether the shuffle state was successfully toggled.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `TogglePlaybackShuffle`. Returns success status since the API returns empty body on success.\");\n\nexport const spotifyTogglePlaybackShuffle: AppAction<\n typeof SpotifyTogglePlaybackShuffleInput,\n typeof SpotifyTogglePlaybackShuffleOutput,\n typeof spotify.credential\n> = action(\"SPOTIFY_TOGGLE_PLAYBACK_SHUFFLE\", {\n slug: \"spotify-toggle-playback-shuffle\",\n name: \"Toggle playback shuffle\",\n description: \"Toggle shuffle on or off for user's playback. This API only works for users who have Spotify Premium. The order of execution is not guaranteed when you use this API with other Player API endpoints. Required OAuth scope: user-modify-playback-state Note: This endpoint returns 204 No Content on success, 404 if no active device is found, and 403 if the user does not have an active Spotify Premium subscription.\",\n input: SpotifyTogglePlaybackShuffleInput,\n output: SpotifyTogglePlaybackShuffleOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uFAAuF;CACnH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM,CAAC,CAAC,SAAS;AACpP,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kHAAkH;AAE5I,MAAa,+BAITC,eAAAA,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { spotify } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/toggle-playback-shuffle.d.ts
|
|
@@ -9,22 +11,7 @@ declare const SpotifyTogglePlaybackShuffleOutput: z.ZodObject<{
|
|
|
9
11
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
12
|
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
11
13
|
}, z.core.$loose>;
|
|
12
|
-
declare const spotifyTogglePlaybackShuffle:
|
|
13
|
-
state: boolean;
|
|
14
|
-
device_id?: string | undefined;
|
|
15
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"spotify", z.ZodObject<{
|
|
16
|
-
connectionId: z.ZodString;
|
|
17
|
-
entityId: z.ZodString;
|
|
18
|
-
instanceId: z.ZodString;
|
|
19
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
20
|
-
accessToken: z.ZodString;
|
|
21
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"spotify", z.ZodObject<{
|
|
22
|
-
connectionId: z.ZodString;
|
|
23
|
-
entityId: z.ZodString;
|
|
24
|
-
instanceId: z.ZodString;
|
|
25
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
26
|
-
accessToken: z.ZodString;
|
|
27
|
-
}, z.core.$strip>>]>;
|
|
14
|
+
declare const spotifyTogglePlaybackShuffle: AppAction<typeof SpotifyTogglePlaybackShuffleInput, typeof SpotifyTogglePlaybackShuffleOutput, typeof spotify.credential>;
|
|
28
15
|
//#endregion
|
|
29
16
|
export { spotifyTogglePlaybackShuffle };
|
|
30
17
|
//# sourceMappingURL=toggle-playback-shuffle.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toggle-playback-shuffle.d.cts","names":[],"sources":["../../src/actions/toggle-playback-shuffle.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"toggle-playback-shuffle.d.cts","names":[],"sources":["../../src/actions/toggle-playback-shuffle.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;cAIjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;cAKlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { spotify } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/toggle-playback-shuffle.d.ts
|
|
@@ -9,22 +11,7 @@ declare const SpotifyTogglePlaybackShuffleOutput: z.ZodObject<{
|
|
|
9
11
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
12
|
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
11
13
|
}, z.core.$loose>;
|
|
12
|
-
declare const spotifyTogglePlaybackShuffle:
|
|
13
|
-
state: boolean;
|
|
14
|
-
device_id?: string | undefined;
|
|
15
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"spotify", z.ZodObject<{
|
|
16
|
-
connectionId: z.ZodString;
|
|
17
|
-
entityId: z.ZodString;
|
|
18
|
-
instanceId: z.ZodString;
|
|
19
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
20
|
-
accessToken: z.ZodString;
|
|
21
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"spotify", z.ZodObject<{
|
|
22
|
-
connectionId: z.ZodString;
|
|
23
|
-
entityId: z.ZodString;
|
|
24
|
-
instanceId: z.ZodString;
|
|
25
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
26
|
-
accessToken: z.ZodString;
|
|
27
|
-
}, z.core.$strip>>]>;
|
|
14
|
+
declare const spotifyTogglePlaybackShuffle: AppAction<typeof SpotifyTogglePlaybackShuffleInput, typeof SpotifyTogglePlaybackShuffleOutput, typeof spotify.credential>;
|
|
28
15
|
//#endregion
|
|
29
16
|
export { spotifyTogglePlaybackShuffle };
|
|
30
17
|
//# sourceMappingURL=toggle-playback-shuffle.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toggle-playback-shuffle.d.mts","names":[],"sources":["../../src/actions/toggle-playback-shuffle.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"toggle-playback-shuffle.d.mts","names":[],"sources":["../../src/actions/toggle-playback-shuffle.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;cAIjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;cAKlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toggle-playback-shuffle.mjs","names":[],"sources":["../../src/actions/toggle-playback-shuffle.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyTogglePlaybackShuffleInput = z.object({\n state: z.boolean().describe(\"true: Enable shuffle for user's playback. false: Disable shuffle for user's playback.\"),\n device_id: z.string().describe(\"The ID of the device to target for playback control. If not provided, the command will target the user's currently active device. Device IDs can be retrieved from the Get Available Devices endpoint.\").optional(),\n}).describe(\"Request schema for `TogglePlaybackShuffle`\");\nexport const SpotifyTogglePlaybackShuffleOutput = z.object({\n message: z.string().describe(\"Optional message about the operation.\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Whether the shuffle state was successfully toggled.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `TogglePlaybackShuffle`. Returns success status since the API returns empty body on success.\");\n\nexport const spotifyTogglePlaybackShuffle = action(\"SPOTIFY_TOGGLE_PLAYBACK_SHUFFLE\", {\n slug: \"spotify-toggle-playback-shuffle\",\n name: \"Toggle playback shuffle\",\n description: \"Toggle shuffle on or off for user's playback. This API only works for users who have Spotify Premium. The order of execution is not guaranteed when you use this API with other Player API endpoints. Required OAuth scope: user-modify-playback-state Note: This endpoint returns 204 No Content on success, 404 if no active device is found, and 403 if the user does not have an active Spotify Premium subscription.\",\n input: SpotifyTogglePlaybackShuffleInput,\n output: SpotifyTogglePlaybackShuffleOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"toggle-playback-shuffle.mjs","names":[],"sources":["../../src/actions/toggle-playback-shuffle.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { spotify } from \"../app\";\n\nexport const SpotifyTogglePlaybackShuffleInput = z.object({\n state: z.boolean().describe(\"true: Enable shuffle for user's playback. false: Disable shuffle for user's playback.\"),\n device_id: z.string().describe(\"The ID of the device to target for playback control. If not provided, the command will target the user's currently active device. Device IDs can be retrieved from the Get Available Devices endpoint.\").optional(),\n}).describe(\"Request schema for `TogglePlaybackShuffle`\");\nexport const SpotifyTogglePlaybackShuffleOutput = z.object({\n message: z.string().describe(\"Optional message about the operation.\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Whether the shuffle state was successfully toggled.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `TogglePlaybackShuffle`. Returns success status since the API returns empty body on success.\");\n\nexport const spotifyTogglePlaybackShuffle: AppAction<\n typeof SpotifyTogglePlaybackShuffleInput,\n typeof SpotifyTogglePlaybackShuffleOutput,\n typeof spotify.credential\n> = action(\"SPOTIFY_TOGGLE_PLAYBACK_SHUFFLE\", {\n slug: \"spotify-toggle-playback-shuffle\",\n name: \"Toggle playback shuffle\",\n description: \"Toggle shuffle on or off for user's playback. This API only works for users who have Spotify Premium. The order of execution is not guaranteed when you use this API with other Player API endpoints. Required OAuth scope: user-modify-playback-state Note: This endpoint returns 204 No Content on success, 404 if no active device is found, and 403 if the user does not have an active Spotify Premium subscription.\",\n input: SpotifyTogglePlaybackShuffleInput,\n output: SpotifyTogglePlaybackShuffleOutput,\n});\n"],"mappings":";;;AAeA,MAAa,+BAIT,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjB+C,EAAE,OAAO;EACxD,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,uFAAuF;EACnH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM,CAAC,CAAC,SAAS;CACpP,CAAC,CAAC,CAAC,SAAS,4CAcH;CACP,QAdgD,EAAE,OAAO;EACzD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kHAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transfer-playback.cjs","names":["z","action"],"sources":["../../src/actions/transfer-playback.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyTransferPlaybackInput = z.object({\n play: z.boolean().describe(\"Whether to start playback on the new device. If true, playback will start on the new device. If false or not provided, the current playback state is maintained.\").optional(),\n device_ids: z.array(z.string()).describe(\"List containing the device ID to transfer playback to. Note: Only a single device_id is currently supported by Spotify API. Obtain device IDs using the get_available_devices action. Example: ['74ASZWbe4lXaubB36ztrGX']\"),\n}).describe(\"Request schema for `TransferPlayback`\");\nexport const SpotifyTransferPlaybackOutput = z.object({\n message: z.string().default(\"Playback transferred successfully\").describe(\"Status message for the transfer operation\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the playback transfer was successful\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `TransferPlayback`\\n\\nNote: The Spotify API returns HTTP 204 No Content on success with an empty response body.\\nThe framework wraps this as a success indicator in the data field.\");\n\nexport const spotifyTransferPlayback = action(\"SPOTIFY_TRANSFER_PLAYBACK\", {\n slug: \"spotify-transfer-playback\",\n name: \"Transfer playback\",\n description: \"Transfer playback to a new device and optionally begin playback. Requirements: - Spotify Premium subscription is required - Target device must be active and available (use Get Available Devices to retrieve device IDs) - Requires user-modify-playback-state scope Note: The order of execution is not guaranteed when you use this API with other Player API endpoints. Returns 204 No Content on success, 403 Forbidden if user doesn't have Premium.\",\n input: SpotifyTransferPlaybackInput,\n output: SpotifyTransferPlaybackOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"transfer-playback.cjs","names":["z","action"],"sources":["../../src/actions/transfer-playback.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { spotify } from \"../app\";\n\nexport const SpotifyTransferPlaybackInput = z.object({\n play: z.boolean().describe(\"Whether to start playback on the new device. If true, playback will start on the new device. If false or not provided, the current playback state is maintained.\").optional(),\n device_ids: z.array(z.string()).describe(\"List containing the device ID to transfer playback to. Note: Only a single device_id is currently supported by Spotify API. Obtain device IDs using the get_available_devices action. Example: ['74ASZWbe4lXaubB36ztrGX']\"),\n}).describe(\"Request schema for `TransferPlayback`\");\nexport const SpotifyTransferPlaybackOutput = z.object({\n message: z.string().default(\"Playback transferred successfully\").describe(\"Status message for the transfer operation\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the playback transfer was successful\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `TransferPlayback`\\n\\nNote: The Spotify API returns HTTP 204 No Content on success with an empty response body.\\nThe framework wraps this as a success indicator in the data field.\");\n\nexport const spotifyTransferPlayback: AppAction<\n typeof SpotifyTransferPlaybackInput,\n typeof SpotifyTransferPlaybackOutput,\n typeof spotify.credential\n> = action(\"SPOTIFY_TRANSFER_PLAYBACK\", {\n slug: \"spotify-transfer-playback\",\n name: \"Transfer playback\",\n description: \"Transfer playback to a new device and optionally begin playback. Requirements: - Spotify Premium subscription is required - Target device must be active and available (use Get Available Devices to retrieve device IDs) - Requires user-modify-playback-state scope Note: The order of execution is not guaranteed when you use this API with other Player API endpoints. Returns 204 No Content on success, 403 Forbidden if user doesn't have Premium.\",\n input: SpotifyTransferPlaybackInput,\n output: SpotifyTransferPlaybackOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kKAAkK,CAAC,CAAC,SAAS;CACxM,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2NAA2N;AACtQ,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,mCAAmC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yMAAyM;AAEnO,MAAa,0BAITC,eAAAA,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { spotify } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/transfer-playback.d.ts
|
|
@@ -9,22 +11,7 @@ declare const SpotifyTransferPlaybackOutput: z.ZodObject<{
|
|
|
9
11
|
message: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
10
12
|
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
11
13
|
}, z.core.$loose>;
|
|
12
|
-
declare const spotifyTransferPlayback:
|
|
13
|
-
device_ids: string[];
|
|
14
|
-
play?: boolean | undefined;
|
|
15
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"spotify", z.ZodObject<{
|
|
16
|
-
connectionId: z.ZodString;
|
|
17
|
-
entityId: z.ZodString;
|
|
18
|
-
instanceId: z.ZodString;
|
|
19
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
20
|
-
accessToken: z.ZodString;
|
|
21
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"spotify", z.ZodObject<{
|
|
22
|
-
connectionId: z.ZodString;
|
|
23
|
-
entityId: z.ZodString;
|
|
24
|
-
instanceId: z.ZodString;
|
|
25
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
26
|
-
accessToken: z.ZodString;
|
|
27
|
-
}, z.core.$strip>>]>;
|
|
14
|
+
declare const spotifyTransferPlayback: AppAction<typeof SpotifyTransferPlaybackInput, typeof SpotifyTransferPlaybackOutput, typeof spotify.credential>;
|
|
28
15
|
//#endregion
|
|
29
16
|
export { spotifyTransferPlayback };
|
|
30
17
|
//# sourceMappingURL=transfer-playback.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transfer-playback.d.cts","names":[],"sources":["../../src/actions/transfer-playback.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"transfer-playback.d.cts","names":[],"sources":["../../src/actions/transfer-playback.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAI5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAK7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { spotify } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/transfer-playback.d.ts
|
|
@@ -9,22 +11,7 @@ declare const SpotifyTransferPlaybackOutput: z.ZodObject<{
|
|
|
9
11
|
message: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
10
12
|
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
11
13
|
}, z.core.$loose>;
|
|
12
|
-
declare const spotifyTransferPlayback:
|
|
13
|
-
device_ids: string[];
|
|
14
|
-
play?: boolean | undefined;
|
|
15
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"spotify", z.ZodObject<{
|
|
16
|
-
connectionId: z.ZodString;
|
|
17
|
-
entityId: z.ZodString;
|
|
18
|
-
instanceId: z.ZodString;
|
|
19
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
20
|
-
accessToken: z.ZodString;
|
|
21
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"spotify", z.ZodObject<{
|
|
22
|
-
connectionId: z.ZodString;
|
|
23
|
-
entityId: z.ZodString;
|
|
24
|
-
instanceId: z.ZodString;
|
|
25
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
26
|
-
accessToken: z.ZodString;
|
|
27
|
-
}, z.core.$strip>>]>;
|
|
14
|
+
declare const spotifyTransferPlayback: AppAction<typeof SpotifyTransferPlaybackInput, typeof SpotifyTransferPlaybackOutput, typeof spotify.credential>;
|
|
28
15
|
//#endregion
|
|
29
16
|
export { spotifyTransferPlayback };
|
|
30
17
|
//# sourceMappingURL=transfer-playback.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transfer-playback.d.mts","names":[],"sources":["../../src/actions/transfer-playback.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"transfer-playback.d.mts","names":[],"sources":["../../src/actions/transfer-playback.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAI5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAK7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transfer-playback.mjs","names":[],"sources":["../../src/actions/transfer-playback.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyTransferPlaybackInput = z.object({\n play: z.boolean().describe(\"Whether to start playback on the new device. If true, playback will start on the new device. If false or not provided, the current playback state is maintained.\").optional(),\n device_ids: z.array(z.string()).describe(\"List containing the device ID to transfer playback to. Note: Only a single device_id is currently supported by Spotify API. Obtain device IDs using the get_available_devices action. Example: ['74ASZWbe4lXaubB36ztrGX']\"),\n}).describe(\"Request schema for `TransferPlayback`\");\nexport const SpotifyTransferPlaybackOutput = z.object({\n message: z.string().default(\"Playback transferred successfully\").describe(\"Status message for the transfer operation\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the playback transfer was successful\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `TransferPlayback`\\n\\nNote: The Spotify API returns HTTP 204 No Content on success with an empty response body.\\nThe framework wraps this as a success indicator in the data field.\");\n\nexport const spotifyTransferPlayback = action(\"SPOTIFY_TRANSFER_PLAYBACK\", {\n slug: \"spotify-transfer-playback\",\n name: \"Transfer playback\",\n description: \"Transfer playback to a new device and optionally begin playback. Requirements: - Spotify Premium subscription is required - Target device must be active and available (use Get Available Devices to retrieve device IDs) - Requires user-modify-playback-state scope Note: The order of execution is not guaranteed when you use this API with other Player API endpoints. Returns 204 No Content on success, 403 Forbidden if user doesn't have Premium.\",\n input: SpotifyTransferPlaybackInput,\n output: SpotifyTransferPlaybackOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"transfer-playback.mjs","names":[],"sources":["../../src/actions/transfer-playback.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { spotify } from \"../app\";\n\nexport const SpotifyTransferPlaybackInput = z.object({\n play: z.boolean().describe(\"Whether to start playback on the new device. If true, playback will start on the new device. If false or not provided, the current playback state is maintained.\").optional(),\n device_ids: z.array(z.string()).describe(\"List containing the device ID to transfer playback to. Note: Only a single device_id is currently supported by Spotify API. Obtain device IDs using the get_available_devices action. Example: ['74ASZWbe4lXaubB36ztrGX']\"),\n}).describe(\"Request schema for `TransferPlayback`\");\nexport const SpotifyTransferPlaybackOutput = z.object({\n message: z.string().default(\"Playback transferred successfully\").describe(\"Status message for the transfer operation\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the playback transfer was successful\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `TransferPlayback`\\n\\nNote: The Spotify API returns HTTP 204 No Content on success with an empty response body.\\nThe framework wraps this as a success indicator in the data field.\");\n\nexport const spotifyTransferPlayback: AppAction<\n typeof SpotifyTransferPlaybackInput,\n typeof SpotifyTransferPlaybackOutput,\n typeof spotify.credential\n> = action(\"SPOTIFY_TRANSFER_PLAYBACK\", {\n slug: \"spotify-transfer-playback\",\n name: \"Transfer playback\",\n description: \"Transfer playback to a new device and optionally begin playback. Requirements: - Spotify Premium subscription is required - Target device must be active and available (use Get Available Devices to retrieve device IDs) - Requires user-modify-playback-state scope Note: The order of execution is not guaranteed when you use this API with other Player API endpoints. Returns 204 No Content on success, 403 Forbidden if user doesn't have Premium.\",\n input: SpotifyTransferPlaybackInput,\n output: SpotifyTransferPlaybackOutput,\n});\n"],"mappings":";;;AAeA,MAAa,0BAIT,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjB0C,EAAE,OAAO;EACnD,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,kKAAkK,CAAC,CAAC,SAAS;EACxM,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2NAA2N;CACtQ,CAAC,CAAC,CAAC,SAAS,uCAcH;CACP,QAd2C,EAAE,OAAO;EACpD,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,mCAAmC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3I,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yMAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unfollow-artists-or-users.cjs","names":["z","action"],"sources":["../../src/actions/unfollow-artists-or-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyUnfollowArtistsOrUsersInput = z.object({\n ids: z.string().describe(\"A comma-separated list of Spotify IDs for the artists or users to unfollow. For example: '2CIMQHirSU0MQqyYHq0eOx,57dN52uHvrHOxijzpIgu3E'. A maximum of 50 IDs can be sent in one request.\"),\n type: z.enum([\"artist\", \"user\"]).describe(\"The type of Spotify entity to unfollow. Use 'artist' to unfollow musical artists/bands, or 'user' to unfollow other Spotify users.\"),\n}).describe(\"Request schema for `UnfollowArtistsOrUsers`\");\nexport const SpotifyUnfollowArtistsOrUsersOutput = z.object({\n message: z.string().describe(\"Optional message about the operation.\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Whether the artists or users were successfully unfollowed.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `UnfollowArtistsOrUsers`. Returns success status since the API returns empty body on success (204 No Content).\");\n\nexport const spotifyUnfollowArtistsOrUsers = action(\"SPOTIFY_UNFOLLOW_ARTISTS_OR_USERS\", {\n slug: \"spotify-unfollow-artists-or-users\",\n name: \"Unfollow artists or users\",\n description: \"Remove the current user as a follower of one or more artists or other Spotify users. This action removes the specified artists or users from the current user's \\\"Following\\\" list, stopping their content from appearing in the user's personalized feed. The operation is idempotent - attempting to unfollow an already-unfollowed artist/user will succeed without error. Required OAuth scope: user-follow-modify Common use cases: - Unfollow an artist you no longer want to track - Unfollow multiple artists at once (up to 50) - Unfollow other Spotify users to stop seeing their public playlists and activity - Clean up your following list by removing inactive or irrelevant accounts Note: Artist IDs can be obtained from search results, track objects, or album objects. User IDs can be obtained from user profile endpoints or playlist owner information.\",\n input: SpotifyUnfollowArtistsOrUsersInput,\n output: SpotifyUnfollowArtistsOrUsersOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"unfollow-artists-or-users.cjs","names":["z","action"],"sources":["../../src/actions/unfollow-artists-or-users.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { spotify } from \"../app\";\n\nexport const SpotifyUnfollowArtistsOrUsersInput = z.object({\n ids: z.string().describe(\"A comma-separated list of Spotify IDs for the artists or users to unfollow. For example: '2CIMQHirSU0MQqyYHq0eOx,57dN52uHvrHOxijzpIgu3E'. A maximum of 50 IDs can be sent in one request.\"),\n type: z.enum([\"artist\", \"user\"]).describe(\"The type of Spotify entity to unfollow. Use 'artist' to unfollow musical artists/bands, or 'user' to unfollow other Spotify users.\"),\n}).describe(\"Request schema for `UnfollowArtistsOrUsers`\");\nexport const SpotifyUnfollowArtistsOrUsersOutput = z.object({\n message: z.string().describe(\"Optional message about the operation.\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Whether the artists or users were successfully unfollowed.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `UnfollowArtistsOrUsers`. Returns success status since the API returns empty body on success (204 No Content).\");\n\nexport const spotifyUnfollowArtistsOrUsers: AppAction<\n typeof SpotifyUnfollowArtistsOrUsersInput,\n typeof SpotifyUnfollowArtistsOrUsersOutput,\n typeof spotify.credential\n> = action(\"SPOTIFY_UNFOLLOW_ARTISTS_OR_USERS\", {\n slug: \"spotify-unfollow-artists-or-users\",\n name: \"Unfollow artists or users\",\n description: \"Remove the current user as a follower of one or more artists or other Spotify users. This action removes the specified artists or users from the current user's \\\"Following\\\" list, stopping their content from appearing in the user's personalized feed. The operation is idempotent - attempting to unfollow an already-unfollowed artist/user will succeed without error. Required OAuth scope: user-follow-modify Common use cases: - Unfollow an artist you no longer want to track - Unfollow multiple artists at once (up to 50) - Unfollow other Spotify users to stop seeing their public playlists and activity - Clean up your following list by removing inactive or irrelevant accounts Note: Artist IDs can be obtained from search results, track objects, or album objects. User IDs can be obtained from user profile endpoints or playlist owner information.\",\n input: SpotifyUnfollowArtistsOrUsersInput,\n output: SpotifyUnfollowArtistsOrUsersOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2LAA2L;CACpN,MAAMA,IAAAA,EAAE,KAAK,CAAC,UAAU,MAAM,CAAC,CAAC,CAAC,SAAS,oIAAoI;AAChL,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oIAAoI;AAE9J,MAAa,gCAITC,eAAAA,OAAO,qCAAqC;CAC9C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { spotify } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/unfollow-artists-or-users.d.ts
|
|
@@ -12,22 +14,7 @@ declare const SpotifyUnfollowArtistsOrUsersOutput: z.ZodObject<{
|
|
|
12
14
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
15
|
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const spotifyUnfollowArtistsOrUsers:
|
|
16
|
-
ids: string;
|
|
17
|
-
type: "user" | "artist";
|
|
18
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"spotify", z.ZodObject<{
|
|
19
|
-
connectionId: z.ZodString;
|
|
20
|
-
entityId: z.ZodString;
|
|
21
|
-
instanceId: z.ZodString;
|
|
22
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
23
|
-
accessToken: z.ZodString;
|
|
24
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"spotify", z.ZodObject<{
|
|
25
|
-
connectionId: z.ZodString;
|
|
26
|
-
entityId: z.ZodString;
|
|
27
|
-
instanceId: z.ZodString;
|
|
28
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
-
accessToken: z.ZodString;
|
|
30
|
-
}, z.core.$strip>>]>;
|
|
17
|
+
declare const spotifyUnfollowArtistsOrUsers: AppAction<typeof SpotifyUnfollowArtistsOrUsersInput, typeof SpotifyUnfollowArtistsOrUsersOutput, typeof spotify.credential>;
|
|
31
18
|
//#endregion
|
|
32
19
|
export { spotifyUnfollowArtistsOrUsers };
|
|
33
20
|
//# sourceMappingURL=unfollow-artists-or-users.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unfollow-artists-or-users.d.cts","names":[],"sources":["../../src/actions/unfollow-artists-or-users.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"unfollow-artists-or-users.d.cts","names":[],"sources":["../../src/actions/unfollow-artists-or-users.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;cAIlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;cAKnC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { spotify } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/unfollow-artists-or-users.d.ts
|
|
@@ -12,22 +14,7 @@ declare const SpotifyUnfollowArtistsOrUsersOutput: z.ZodObject<{
|
|
|
12
14
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
15
|
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const spotifyUnfollowArtistsOrUsers:
|
|
16
|
-
ids: string;
|
|
17
|
-
type: "user" | "artist";
|
|
18
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"spotify", z.ZodObject<{
|
|
19
|
-
connectionId: z.ZodString;
|
|
20
|
-
entityId: z.ZodString;
|
|
21
|
-
instanceId: z.ZodString;
|
|
22
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
23
|
-
accessToken: z.ZodString;
|
|
24
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"spotify", z.ZodObject<{
|
|
25
|
-
connectionId: z.ZodString;
|
|
26
|
-
entityId: z.ZodString;
|
|
27
|
-
instanceId: z.ZodString;
|
|
28
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
-
accessToken: z.ZodString;
|
|
30
|
-
}, z.core.$strip>>]>;
|
|
17
|
+
declare const spotifyUnfollowArtistsOrUsers: AppAction<typeof SpotifyUnfollowArtistsOrUsersInput, typeof SpotifyUnfollowArtistsOrUsersOutput, typeof spotify.credential>;
|
|
31
18
|
//#endregion
|
|
32
19
|
export { spotifyUnfollowArtistsOrUsers };
|
|
33
20
|
//# sourceMappingURL=unfollow-artists-or-users.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unfollow-artists-or-users.d.mts","names":[],"sources":["../../src/actions/unfollow-artists-or-users.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"unfollow-artists-or-users.d.mts","names":[],"sources":["../../src/actions/unfollow-artists-or-users.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;cAIlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;cAKnC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unfollow-artists-or-users.mjs","names":[],"sources":["../../src/actions/unfollow-artists-or-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyUnfollowArtistsOrUsersInput = z.object({\n ids: z.string().describe(\"A comma-separated list of Spotify IDs for the artists or users to unfollow. For example: '2CIMQHirSU0MQqyYHq0eOx,57dN52uHvrHOxijzpIgu3E'. A maximum of 50 IDs can be sent in one request.\"),\n type: z.enum([\"artist\", \"user\"]).describe(\"The type of Spotify entity to unfollow. Use 'artist' to unfollow musical artists/bands, or 'user' to unfollow other Spotify users.\"),\n}).describe(\"Request schema for `UnfollowArtistsOrUsers`\");\nexport const SpotifyUnfollowArtistsOrUsersOutput = z.object({\n message: z.string().describe(\"Optional message about the operation.\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Whether the artists or users were successfully unfollowed.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `UnfollowArtistsOrUsers`. Returns success status since the API returns empty body on success (204 No Content).\");\n\nexport const spotifyUnfollowArtistsOrUsers = action(\"SPOTIFY_UNFOLLOW_ARTISTS_OR_USERS\", {\n slug: \"spotify-unfollow-artists-or-users\",\n name: \"Unfollow artists or users\",\n description: \"Remove the current user as a follower of one or more artists or other Spotify users. This action removes the specified artists or users from the current user's \\\"Following\\\" list, stopping their content from appearing in the user's personalized feed. The operation is idempotent - attempting to unfollow an already-unfollowed artist/user will succeed without error. Required OAuth scope: user-follow-modify Common use cases: - Unfollow an artist you no longer want to track - Unfollow multiple artists at once (up to 50) - Unfollow other Spotify users to stop seeing their public playlists and activity - Clean up your following list by removing inactive or irrelevant accounts Note: Artist IDs can be obtained from search results, track objects, or album objects. User IDs can be obtained from user profile endpoints or playlist owner information.\",\n input: SpotifyUnfollowArtistsOrUsersInput,\n output: SpotifyUnfollowArtistsOrUsersOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"unfollow-artists-or-users.mjs","names":[],"sources":["../../src/actions/unfollow-artists-or-users.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { spotify } from \"../app\";\n\nexport const SpotifyUnfollowArtistsOrUsersInput = z.object({\n ids: z.string().describe(\"A comma-separated list of Spotify IDs for the artists or users to unfollow. For example: '2CIMQHirSU0MQqyYHq0eOx,57dN52uHvrHOxijzpIgu3E'. A maximum of 50 IDs can be sent in one request.\"),\n type: z.enum([\"artist\", \"user\"]).describe(\"The type of Spotify entity to unfollow. Use 'artist' to unfollow musical artists/bands, or 'user' to unfollow other Spotify users.\"),\n}).describe(\"Request schema for `UnfollowArtistsOrUsers`\");\nexport const SpotifyUnfollowArtistsOrUsersOutput = z.object({\n message: z.string().describe(\"Optional message about the operation.\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Whether the artists or users were successfully unfollowed.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `UnfollowArtistsOrUsers`. Returns success status since the API returns empty body on success (204 No Content).\");\n\nexport const spotifyUnfollowArtistsOrUsers: AppAction<\n typeof SpotifyUnfollowArtistsOrUsersInput,\n typeof SpotifyUnfollowArtistsOrUsersOutput,\n typeof spotify.credential\n> = action(\"SPOTIFY_UNFOLLOW_ARTISTS_OR_USERS\", {\n slug: \"spotify-unfollow-artists-or-users\",\n name: \"Unfollow artists or users\",\n description: \"Remove the current user as a follower of one or more artists or other Spotify users. This action removes the specified artists or users from the current user's \\\"Following\\\" list, stopping their content from appearing in the user's personalized feed. The operation is idempotent - attempting to unfollow an already-unfollowed artist/user will succeed without error. Required OAuth scope: user-follow-modify Common use cases: - Unfollow an artist you no longer want to track - Unfollow multiple artists at once (up to 50) - Unfollow other Spotify users to stop seeing their public playlists and activity - Clean up your following list by removing inactive or irrelevant accounts Note: Artist IDs can be obtained from search results, track objects, or album objects. User IDs can be obtained from user profile endpoints or playlist owner information.\",\n input: SpotifyUnfollowArtistsOrUsersInput,\n output: SpotifyUnfollowArtistsOrUsersOutput,\n});\n"],"mappings":";;;AAeA,MAAa,gCAIT,OAAO,qCAAqC;CAC9C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBgD,EAAE,OAAO;EACzD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2LAA2L;EACpN,MAAM,EAAE,KAAK,CAAC,UAAU,MAAM,CAAC,CAAC,CAAC,SAAS,oIAAoI;CAChL,CAAC,CAAC,CAAC,SAAS,6CAcH;CACP,QAdiD,EAAE,OAAO;EAC1D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oIAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unfollow-playlist.cjs","names":["z","action"],"sources":["../../src/actions/unfollow-playlist.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyUnfollowPlaylistInput = z.object({\n playlist_id: z.string().describe(\"The Spotify ID of the playlist to unfollow. This is a 22-character base62 string that uniquely identifies the playlist (e.g., '37i9dQZF1DXcBWIGoYBM5M').\"),\n}).describe(\"Request schema for `UnfollowPlaylist`\");\nexport const SpotifyUnfollowPlaylistOutput = z.object({\n message: z.string().describe(\"Optional message about the operation.\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Whether the playlist was successfully unfollowed.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `UnfollowPlaylist`. Returns success status since the API returns empty body on success.\");\n\nexport const spotifyUnfollowPlaylist = action(\"SPOTIFY_UNFOLLOW_PLAYLIST\", {\n slug: \"spotify-unfollow-playlist\",\n name: \"Unfollow playlist\",\n description: \"Remove the current user as a follower of a playlist. This action removes the current user from following a playlist. The user no longer receives updates from the playlist and it is removed from their followed playlists list. This operation is idempotent - if the user is not currently following the playlist, the operation will still succeed. Required OAuth scopes: - playlist-modify-public: For unfollowing public playlists - playlist-modify-private: For unfollowing private playlists Note: Even if you are the playlist's owner, unfollowing removes it from your library. There is no separate \\\"delete\\\" endpoint - unfollowing is the equivalent operation.\",\n input: SpotifyUnfollowPlaylistInput,\n output: SpotifyUnfollowPlaylistOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"unfollow-playlist.cjs","names":["z","action"],"sources":["../../src/actions/unfollow-playlist.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { spotify } from \"../app\";\n\nexport const SpotifyUnfollowPlaylistInput = z.object({\n playlist_id: z.string().describe(\"The Spotify ID of the playlist to unfollow. This is a 22-character base62 string that uniquely identifies the playlist (e.g., '37i9dQZF1DXcBWIGoYBM5M').\"),\n}).describe(\"Request schema for `UnfollowPlaylist`\");\nexport const SpotifyUnfollowPlaylistOutput = z.object({\n message: z.string().describe(\"Optional message about the operation.\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Whether the playlist was successfully unfollowed.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `UnfollowPlaylist`. Returns success status since the API returns empty body on success.\");\n\nexport const spotifyUnfollowPlaylist: AppAction<\n typeof SpotifyUnfollowPlaylistInput,\n typeof SpotifyUnfollowPlaylistOutput,\n typeof spotify.credential\n> = action(\"SPOTIFY_UNFOLLOW_PLAYLIST\", {\n slug: \"spotify-unfollow-playlist\",\n name: \"Unfollow playlist\",\n description: \"Remove the current user as a follower of a playlist. This action removes the current user from following a playlist. The user no longer receives updates from the playlist and it is removed from their followed playlists list. This operation is idempotent - if the user is not currently following the playlist, the operation will still succeed. Required OAuth scopes: - playlist-modify-public: For unfollowing public playlists - playlist-modify-private: For unfollowing private playlists Note: Even if you are the playlist's owner, unfollowing removes it from your library. There is no separate \\\"delete\\\" endpoint - unfollowing is the equivalent operation.\",\n input: SpotifyUnfollowPlaylistInput,\n output: SpotifyUnfollowPlaylistOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0JAA0J,EAC7L,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6GAA6G;AAEvI,MAAa,0BAITC,eAAAA,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { spotify } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/unfollow-playlist.d.ts
|
|
@@ -8,21 +10,7 @@ declare const SpotifyUnfollowPlaylistOutput: z.ZodObject<{
|
|
|
8
10
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
11
|
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const spotifyUnfollowPlaylist:
|
|
12
|
-
playlist_id: string;
|
|
13
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"spotify", z.ZodObject<{
|
|
14
|
-
connectionId: z.ZodString;
|
|
15
|
-
entityId: z.ZodString;
|
|
16
|
-
instanceId: z.ZodString;
|
|
17
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
18
|
-
accessToken: z.ZodString;
|
|
19
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"spotify", z.ZodObject<{
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
accessToken: z.ZodString;
|
|
25
|
-
}, z.core.$strip>>]>;
|
|
13
|
+
declare const spotifyUnfollowPlaylist: AppAction<typeof SpotifyUnfollowPlaylistInput, typeof SpotifyUnfollowPlaylistOutput, typeof spotify.credential>;
|
|
26
14
|
//#endregion
|
|
27
15
|
export { spotifyUnfollowPlaylist };
|
|
28
16
|
//# sourceMappingURL=unfollow-playlist.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unfollow-playlist.d.cts","names":[],"sources":["../../src/actions/unfollow-playlist.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"unfollow-playlist.d.cts","names":[],"sources":["../../src/actions/unfollow-playlist.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAG5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAK7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { spotify } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/unfollow-playlist.d.ts
|
|
@@ -8,21 +10,7 @@ declare const SpotifyUnfollowPlaylistOutput: z.ZodObject<{
|
|
|
8
10
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
11
|
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const spotifyUnfollowPlaylist:
|
|
12
|
-
playlist_id: string;
|
|
13
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"spotify", z.ZodObject<{
|
|
14
|
-
connectionId: z.ZodString;
|
|
15
|
-
entityId: z.ZodString;
|
|
16
|
-
instanceId: z.ZodString;
|
|
17
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
18
|
-
accessToken: z.ZodString;
|
|
19
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"spotify", z.ZodObject<{
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
accessToken: z.ZodString;
|
|
25
|
-
}, z.core.$strip>>]>;
|
|
13
|
+
declare const spotifyUnfollowPlaylist: AppAction<typeof SpotifyUnfollowPlaylistInput, typeof SpotifyUnfollowPlaylistOutput, typeof spotify.credential>;
|
|
26
14
|
//#endregion
|
|
27
15
|
export { spotifyUnfollowPlaylist };
|
|
28
16
|
//# sourceMappingURL=unfollow-playlist.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unfollow-playlist.d.mts","names":[],"sources":["../../src/actions/unfollow-playlist.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"unfollow-playlist.d.mts","names":[],"sources":["../../src/actions/unfollow-playlist.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAG5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAK7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unfollow-playlist.mjs","names":[],"sources":["../../src/actions/unfollow-playlist.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyUnfollowPlaylistInput = z.object({\n playlist_id: z.string().describe(\"The Spotify ID of the playlist to unfollow. This is a 22-character base62 string that uniquely identifies the playlist (e.g., '37i9dQZF1DXcBWIGoYBM5M').\"),\n}).describe(\"Request schema for `UnfollowPlaylist`\");\nexport const SpotifyUnfollowPlaylistOutput = z.object({\n message: z.string().describe(\"Optional message about the operation.\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Whether the playlist was successfully unfollowed.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `UnfollowPlaylist`. Returns success status since the API returns empty body on success.\");\n\nexport const spotifyUnfollowPlaylist = action(\"SPOTIFY_UNFOLLOW_PLAYLIST\", {\n slug: \"spotify-unfollow-playlist\",\n name: \"Unfollow playlist\",\n description: \"Remove the current user as a follower of a playlist. This action removes the current user from following a playlist. The user no longer receives updates from the playlist and it is removed from their followed playlists list. This operation is idempotent - if the user is not currently following the playlist, the operation will still succeed. Required OAuth scopes: - playlist-modify-public: For unfollowing public playlists - playlist-modify-private: For unfollowing private playlists Note: Even if you are the playlist's owner, unfollowing removes it from your library. There is no separate \\\"delete\\\" endpoint - unfollowing is the equivalent operation.\",\n input: SpotifyUnfollowPlaylistInput,\n output: SpotifyUnfollowPlaylistOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"unfollow-playlist.mjs","names":[],"sources":["../../src/actions/unfollow-playlist.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { spotify } from \"../app\";\n\nexport const SpotifyUnfollowPlaylistInput = z.object({\n playlist_id: z.string().describe(\"The Spotify ID of the playlist to unfollow. This is a 22-character base62 string that uniquely identifies the playlist (e.g., '37i9dQZF1DXcBWIGoYBM5M').\"),\n}).describe(\"Request schema for `UnfollowPlaylist`\");\nexport const SpotifyUnfollowPlaylistOutput = z.object({\n message: z.string().describe(\"Optional message about the operation.\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Whether the playlist was successfully unfollowed.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `UnfollowPlaylist`. Returns success status since the API returns empty body on success.\");\n\nexport const spotifyUnfollowPlaylist: AppAction<\n typeof SpotifyUnfollowPlaylistInput,\n typeof SpotifyUnfollowPlaylistOutput,\n typeof spotify.credential\n> = action(\"SPOTIFY_UNFOLLOW_PLAYLIST\", {\n slug: \"spotify-unfollow-playlist\",\n name: \"Unfollow playlist\",\n description: \"Remove the current user as a follower of a playlist. This action removes the current user from following a playlist. The user no longer receives updates from the playlist and it is removed from their followed playlists list. This operation is idempotent - if the user is not currently following the playlist, the operation will still succeed. Required OAuth scopes: - playlist-modify-public: For unfollowing public playlists - playlist-modify-private: For unfollowing private playlists Note: Even if you are the playlist's owner, unfollowing removes it from your library. There is no separate \\\"delete\\\" endpoint - unfollowing is the equivalent operation.\",\n input: SpotifyUnfollowPlaylistInput,\n output: SpotifyUnfollowPlaylistOutput,\n});\n"],"mappings":";;;AAcA,MAAa,0BAIT,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB0C,EAAE,OAAO,EACnD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0JAA0J,EAC7L,CAAC,CAAC,CAAC,SAAS,uCAcH;CACP,QAd2C,EAAE,OAAO;EACpD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6GAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-playlist-items.cjs","names":["z","action"],"sources":["../../src/actions/update-playlist-items.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyUpdatePlaylistItemsInput = z.object({\n uris: z.union([z.string(), z.array(z.string())]).optional(),\n playlist_id: z.string().describe(\"The Spotify ID of the playlist (e.g., '3cEYpjA9oz9GiPac4AsH4n'). Can be found in the playlist URL or obtained from playlist creation/search endpoints.\"),\n range_start: z.number().int().describe(\"**[REORDER MODE]** Zero-based index of the first track to be reordered. Example: range_start=0 means start from the first track. **NOTE**: Cannot be used with `uris` parameter.\").optional(),\n snapshot_id: z.string().describe(\"**[REORDER MODE]** The playlist's snapshot ID to validate against before making changes. Can be obtained from playlist get/create/update responses and used to identify the playlist version to target. **NOTE**: Cannot be used with `uris` parameter.\").optional(),\n range_length: z.number().int().describe(\"**[REORDER MODE]** Number of consecutive tracks to reorder starting from `range_start`. Defaults to 1 if not specified. Example: range_length=2 means move 2 tracks. **NOTE**: Cannot be used with `uris` parameter.\").optional(),\n insert_before: z.number().int().describe(\"**[REORDER MODE]** Zero-based position where the tracks should be moved to. Examples:\\n- To move first track to end (10 tracks): range_start=0, insert_before=10\\n- To move last track to start (10 tracks): range_start=9, insert_before=0\\n- To move tracks at positions 9-10 to start: range_start=9, insert_before=0, range_length=2\\n**NOTE**: Cannot be used with `uris` parameter.\").optional(),\n}).describe(\"Request schema for `UpdatePlaylistItems`\\n\\nRequired OAuth Scopes: playlist-modify-public OR playlist-modify-private\\n\\nThis action supports TWO mutually exclusive operations:\\n1. REPLACE: Completely replace all tracks in a playlist (use `uris` parameter)\\n2. REORDER: Rearrange existing tracks (use `range_start`, `insert_before`, optionally `range_length` and `snapshot_id`)\");\nexport const SpotifyUpdatePlaylistItemsOutput = z.object({\n snapshot_id: z.string().describe(\"A snapshot ID for the playlist. This identifier can be used to track playlist versions and target specific versions in subsequent API requests.\").nullable(),\n}).passthrough().describe(\"Response schema for `UpdatePlaylistItems`\\n\\nReturns HTTP 200 OK on success with a snapshot_id representing the playlist's new state.\");\n\nexport const spotifyUpdatePlaylistItems = action(\"SPOTIFY_UPDATE_PLAYLIST_ITEMS\", {\n slug: \"spotify-update-playlist-items\",\n name: \"Update playlist items\",\n description: \"Either replace all tracks in a playlist OR reorder existing tracks within it. **REPLACE mode**: Use `uris` parameter to completely overwrite all tracks in the playlist. Example: Replace all tracks with 3 specific tracks. **REORDER mode**: Use `range_start`, `insert_before`, and optionally `range_length`/`snapshot_id` to move tracks within the playlist without adding/removing any. Example: Move tracks at positions 5-7 to the beginning of the playlist. These two modes are mutually exclusive - you cannot use both in the same request.\",\n input: SpotifyUpdatePlaylistItemsInput,\n output: SpotifyUpdatePlaylistItemsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-playlist-items.cjs","names":["z","action"],"sources":["../../src/actions/update-playlist-items.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { spotify } from \"../app\";\n\nexport const SpotifyUpdatePlaylistItemsInput = z.object({\n uris: z.union([z.string(), z.array(z.string())]).optional(),\n playlist_id: z.string().describe(\"The Spotify ID of the playlist (e.g., '3cEYpjA9oz9GiPac4AsH4n'). Can be found in the playlist URL or obtained from playlist creation/search endpoints.\"),\n range_start: z.number().int().describe(\"**[REORDER MODE]** Zero-based index of the first track to be reordered. Example: range_start=0 means start from the first track. **NOTE**: Cannot be used with `uris` parameter.\").optional(),\n snapshot_id: z.string().describe(\"**[REORDER MODE]** The playlist's snapshot ID to validate against before making changes. Can be obtained from playlist get/create/update responses and used to identify the playlist version to target. **NOTE**: Cannot be used with `uris` parameter.\").optional(),\n range_length: z.number().int().describe(\"**[REORDER MODE]** Number of consecutive tracks to reorder starting from `range_start`. Defaults to 1 if not specified. Example: range_length=2 means move 2 tracks. **NOTE**: Cannot be used with `uris` parameter.\").optional(),\n insert_before: z.number().int().describe(\"**[REORDER MODE]** Zero-based position where the tracks should be moved to. Examples:\\n- To move first track to end (10 tracks): range_start=0, insert_before=10\\n- To move last track to start (10 tracks): range_start=9, insert_before=0\\n- To move tracks at positions 9-10 to start: range_start=9, insert_before=0, range_length=2\\n**NOTE**: Cannot be used with `uris` parameter.\").optional(),\n}).describe(\"Request schema for `UpdatePlaylistItems`\\n\\nRequired OAuth Scopes: playlist-modify-public OR playlist-modify-private\\n\\nThis action supports TWO mutually exclusive operations:\\n1. REPLACE: Completely replace all tracks in a playlist (use `uris` parameter)\\n2. REORDER: Rearrange existing tracks (use `range_start`, `insert_before`, optionally `range_length` and `snapshot_id`)\");\nexport const SpotifyUpdatePlaylistItemsOutput = z.object({\n snapshot_id: z.string().describe(\"A snapshot ID for the playlist. This identifier can be used to track playlist versions and target specific versions in subsequent API requests.\").nullable(),\n}).passthrough().describe(\"Response schema for `UpdatePlaylistItems`\\n\\nReturns HTTP 200 OK on success with a snapshot_id representing the playlist's new state.\");\n\nexport const spotifyUpdatePlaylistItems: AppAction<\n typeof SpotifyUpdatePlaylistItemsInput,\n typeof SpotifyUpdatePlaylistItemsOutput,\n typeof spotify.credential\n> = action(\"SPOTIFY_UPDATE_PLAYLIST_ITEMS\", {\n slug: \"spotify-update-playlist-items\",\n name: \"Update playlist items\",\n description: \"Either replace all tracks in a playlist OR reorder existing tracks within it. **REPLACE mode**: Use `uris` parameter to completely overwrite all tracks in the playlist. Example: Replace all tracks with 3 specific tracks. **REORDER mode**: Use `range_start`, `insert_before`, and optionally `range_length`/`snapshot_id` to move tracks within the playlist without adding/removing any. Example: Move tracks at positions 5-7 to the beginning of the playlist. These two modes are mutually exclusive - you cannot use both in the same request.\",\n input: SpotifyUpdatePlaylistItemsInput,\n output: SpotifyUpdatePlaylistItemsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS;CAC1D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wJAAwJ;CACzL,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kLAAkL,CAAC,CAAC,SAAS;CACpO,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yPAAyP,CAAC,CAAC,SAAS;CACrS,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sNAAsN,CAAC,CAAC,SAAS;CACzQ,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2XAA2X,CAAC,CAAC,SAAS;AACjb,CAAC,CAAC,CAAC,SAAS,0XAA0X;AACtY,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS,EAC/L,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uIAAuI;AAEjK,MAAa,6BAITC,eAAAA,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { spotify } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-playlist-items.d.ts
|
|
@@ -12,26 +14,7 @@ declare const SpotifyUpdatePlaylistItemsInput: z.ZodObject<{
|
|
|
12
14
|
declare const SpotifyUpdatePlaylistItemsOutput: z.ZodObject<{
|
|
13
15
|
snapshot_id: z.ZodNullable<z.ZodString>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const spotifyUpdatePlaylistItems:
|
|
16
|
-
playlist_id: string;
|
|
17
|
-
uris?: string | string[] | undefined;
|
|
18
|
-
range_start?: number | undefined;
|
|
19
|
-
snapshot_id?: string | undefined;
|
|
20
|
-
range_length?: number | undefined;
|
|
21
|
-
insert_before?: number | undefined;
|
|
22
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"spotify", z.ZodObject<{
|
|
23
|
-
connectionId: z.ZodString;
|
|
24
|
-
entityId: z.ZodString;
|
|
25
|
-
instanceId: z.ZodString;
|
|
26
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
27
|
-
accessToken: z.ZodString;
|
|
28
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"spotify", z.ZodObject<{
|
|
29
|
-
connectionId: z.ZodString;
|
|
30
|
-
entityId: z.ZodString;
|
|
31
|
-
instanceId: z.ZodString;
|
|
32
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
33
|
-
accessToken: z.ZodString;
|
|
34
|
-
}, z.core.$strip>>]>;
|
|
17
|
+
declare const spotifyUpdatePlaylistItems: AppAction<typeof SpotifyUpdatePlaylistItemsInput, typeof SpotifyUpdatePlaylistItemsOutput, typeof spotify.credential>;
|
|
35
18
|
//#endregion
|
|
36
19
|
export { spotifyUpdatePlaylistItems };
|
|
37
20
|
//# sourceMappingURL=update-playlist-items.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-playlist-items.d.cts","names":[],"sources":["../../src/actions/update-playlist-items.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-playlist-items.d.cts","names":[],"sources":["../../src/actions/update-playlist-items.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;cAQ/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAIhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { spotify } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-playlist-items.d.ts
|
|
@@ -12,26 +14,7 @@ declare const SpotifyUpdatePlaylistItemsInput: z.ZodObject<{
|
|
|
12
14
|
declare const SpotifyUpdatePlaylistItemsOutput: z.ZodObject<{
|
|
13
15
|
snapshot_id: z.ZodNullable<z.ZodString>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const spotifyUpdatePlaylistItems:
|
|
16
|
-
playlist_id: string;
|
|
17
|
-
uris?: string | string[] | undefined;
|
|
18
|
-
range_start?: number | undefined;
|
|
19
|
-
snapshot_id?: string | undefined;
|
|
20
|
-
range_length?: number | undefined;
|
|
21
|
-
insert_before?: number | undefined;
|
|
22
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"spotify", z.ZodObject<{
|
|
23
|
-
connectionId: z.ZodString;
|
|
24
|
-
entityId: z.ZodString;
|
|
25
|
-
instanceId: z.ZodString;
|
|
26
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
27
|
-
accessToken: z.ZodString;
|
|
28
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"spotify", z.ZodObject<{
|
|
29
|
-
connectionId: z.ZodString;
|
|
30
|
-
entityId: z.ZodString;
|
|
31
|
-
instanceId: z.ZodString;
|
|
32
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
33
|
-
accessToken: z.ZodString;
|
|
34
|
-
}, z.core.$strip>>]>;
|
|
17
|
+
declare const spotifyUpdatePlaylistItems: AppAction<typeof SpotifyUpdatePlaylistItemsInput, typeof SpotifyUpdatePlaylistItemsOutput, typeof spotify.credential>;
|
|
35
18
|
//#endregion
|
|
36
19
|
export { spotifyUpdatePlaylistItems };
|
|
37
20
|
//# sourceMappingURL=update-playlist-items.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-playlist-items.d.mts","names":[],"sources":["../../src/actions/update-playlist-items.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-playlist-items.d.mts","names":[],"sources":["../../src/actions/update-playlist-items.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;cAQ/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAIhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,OAAA,CAAQ,UAAA"}
|