@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
package/dist/action.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.cjs","names":["spotify","executeSpotifyTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { spotify } from \"./app\";\nimport { executeSpotifyTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output:
|
|
1
|
+
{"version":3,"file":"action.cjs","names":["spotify","executeSpotifyTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { spotify } from \"./app\";\nimport { executeSpotifyTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof spotify.credential> {\n return spotify.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeSpotifyTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOuD;CACvD,OAAOA,YAAAA,QAAQ,OAAO;EACpB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,mBAAmB,MAAM,KAAgC,CAAC;EAC1F;CACF,CAAC;AACH"}
|
package/dist/action.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { spotify } from \"./app\";\nimport { executeSpotifyTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output:
|
|
1
|
+
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { spotify } from \"./app\";\nimport { executeSpotifyTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof spotify.credential> {\n return spotify.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeSpotifyTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOuD;CACvD,OAAO,QAAQ,OAAO;EACpB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,mBAAmB,MAAM,KAAgC,CAAC;EAC1F;CACF,CAAC;AACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-item-to-playback-queue.cjs","names":["z","action"],"sources":["../../src/actions/add-item-to-playback-queue.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyAddItemToPlaybackQueueInput = z.object({\n uri: z.string().describe(\"The Spotify URI of the item to add to the queue. Must be a track or episode URI (e.g., 'spotify:track:4iV5W9uYEdYUVa79Axb7Rh' or 'spotify:episode:512ojhOuo1ktJprKbVcKyQ').\"),\n device_id: z.string().describe(\"The ID of the device this command is targeting. If not supplied, the user's currently active device is the target.\").optional(),\n}).describe(\"Request schema for `AddItemToPlaybackQueue`\");\nexport const SpotifyAddItemToPlaybackQueueOutput = z.object({\n message: z.string().describe(\"Human-readable message about the operation result. For errors, includes specific details about what went wrong and how to fix it.\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Whether the item was successfully added to the queue. True indicates the track/episode was queued; False indicates an error (e.g., Premium required, no active device, invalid URI).\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `AddItemToPlaybackQueue`. Returns success status and details about the operation.\");\n\nexport const spotifyAddItemToPlaybackQueue = action(\"SPOTIFY_ADD_ITEM_TO_PLAYBACK_QUEUE\", {\n slug: \"spotify-add-item-to-playback-queue\",\n name: \"Add item to playback queue\",\n description: \"Add an item to the end of the user's current playback queue. 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 scope: user-modify-playback-state Note: Only tracks and episodes can be added to the queue. Albums and playlists cannot be added directly.\",\n input: SpotifyAddItemToPlaybackQueueInput,\n output: SpotifyAddItemToPlaybackQueueOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"add-item-to-playback-queue.cjs","names":["z","action"],"sources":["../../src/actions/add-item-to-playback-queue.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 SpotifyAddItemToPlaybackQueueInput = z.object({\n uri: z.string().describe(\"The Spotify URI of the item to add to the queue. Must be a track or episode URI (e.g., 'spotify:track:4iV5W9uYEdYUVa79Axb7Rh' or 'spotify:episode:512ojhOuo1ktJprKbVcKyQ').\"),\n device_id: z.string().describe(\"The ID of the device this command is targeting. If not supplied, the user's currently active device is the target.\").optional(),\n}).describe(\"Request schema for `AddItemToPlaybackQueue`\");\nexport const SpotifyAddItemToPlaybackQueueOutput = z.object({\n message: z.string().describe(\"Human-readable message about the operation result. For errors, includes specific details about what went wrong and how to fix it.\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Whether the item was successfully added to the queue. True indicates the track/episode was queued; False indicates an error (e.g., Premium required, no active device, invalid URI).\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `AddItemToPlaybackQueue`. Returns success status and details about the operation.\");\n\nexport const spotifyAddItemToPlaybackQueue: AppAction<\n typeof SpotifyAddItemToPlaybackQueueInput,\n typeof SpotifyAddItemToPlaybackQueueOutput,\n typeof spotify.credential\n> = action(\"SPOTIFY_ADD_ITEM_TO_PLAYBACK_QUEUE\", {\n slug: \"spotify-add-item-to-playback-queue\",\n name: \"Add item to playback queue\",\n description: \"Add an item to the end of the user's current playback queue. 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 scope: user-modify-playback-state Note: Only tracks and episodes can be added to the queue. Albums and playlists cannot be added directly.\",\n input: SpotifyAddItemToPlaybackQueueInput,\n output: SpotifyAddItemToPlaybackQueueOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6KAA6K;CACtM,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;AAChK,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mIAAmI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtL,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,sLAAsL,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1P,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uGAAuG;AAEjI,MAAa,gCAITC,eAAAA,OAAO,sCAAsC;CAC/C,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/add-item-to-playback-queue.d.ts
|
|
@@ -9,22 +11,7 @@ declare const SpotifyAddItemToPlaybackQueueOutput: 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 spotifyAddItemToPlaybackQueue:
|
|
13
|
-
uri: string;
|
|
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 spotifyAddItemToPlaybackQueue: AppAction<typeof SpotifyAddItemToPlaybackQueueInput, typeof SpotifyAddItemToPlaybackQueueOutput, typeof spotify.credential>;
|
|
28
15
|
//#endregion
|
|
29
16
|
export { spotifyAddItemToPlaybackQueue };
|
|
30
17
|
//# sourceMappingURL=add-item-to-playback-queue.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-item-to-playback-queue.d.cts","names":[],"sources":["../../src/actions/add-item-to-playback-queue.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"add-item-to-playback-queue.d.cts","names":[],"sources":["../../src/actions/add-item-to-playback-queue.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/add-item-to-playback-queue.d.ts
|
|
@@ -9,22 +11,7 @@ declare const SpotifyAddItemToPlaybackQueueOutput: 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 spotifyAddItemToPlaybackQueue:
|
|
13
|
-
uri: string;
|
|
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 spotifyAddItemToPlaybackQueue: AppAction<typeof SpotifyAddItemToPlaybackQueueInput, typeof SpotifyAddItemToPlaybackQueueOutput, typeof spotify.credential>;
|
|
28
15
|
//#endregion
|
|
29
16
|
export { spotifyAddItemToPlaybackQueue };
|
|
30
17
|
//# sourceMappingURL=add-item-to-playback-queue.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-item-to-playback-queue.d.mts","names":[],"sources":["../../src/actions/add-item-to-playback-queue.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"add-item-to-playback-queue.d.mts","names":[],"sources":["../../src/actions/add-item-to-playback-queue.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":"add-item-to-playback-queue.mjs","names":[],"sources":["../../src/actions/add-item-to-playback-queue.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyAddItemToPlaybackQueueInput = z.object({\n uri: z.string().describe(\"The Spotify URI of the item to add to the queue. Must be a track or episode URI (e.g., 'spotify:track:4iV5W9uYEdYUVa79Axb7Rh' or 'spotify:episode:512ojhOuo1ktJprKbVcKyQ').\"),\n device_id: z.string().describe(\"The ID of the device this command is targeting. If not supplied, the user's currently active device is the target.\").optional(),\n}).describe(\"Request schema for `AddItemToPlaybackQueue`\");\nexport const SpotifyAddItemToPlaybackQueueOutput = z.object({\n message: z.string().describe(\"Human-readable message about the operation result. For errors, includes specific details about what went wrong and how to fix it.\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Whether the item was successfully added to the queue. True indicates the track/episode was queued; False indicates an error (e.g., Premium required, no active device, invalid URI).\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `AddItemToPlaybackQueue`. Returns success status and details about the operation.\");\n\nexport const spotifyAddItemToPlaybackQueue = action(\"SPOTIFY_ADD_ITEM_TO_PLAYBACK_QUEUE\", {\n slug: \"spotify-add-item-to-playback-queue\",\n name: \"Add item to playback queue\",\n description: \"Add an item to the end of the user's current playback queue. 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 scope: user-modify-playback-state Note: Only tracks and episodes can be added to the queue. Albums and playlists cannot be added directly.\",\n input: SpotifyAddItemToPlaybackQueueInput,\n output: SpotifyAddItemToPlaybackQueueOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"add-item-to-playback-queue.mjs","names":[],"sources":["../../src/actions/add-item-to-playback-queue.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 SpotifyAddItemToPlaybackQueueInput = z.object({\n uri: z.string().describe(\"The Spotify URI of the item to add to the queue. Must be a track or episode URI (e.g., 'spotify:track:4iV5W9uYEdYUVa79Axb7Rh' or 'spotify:episode:512ojhOuo1ktJprKbVcKyQ').\"),\n device_id: z.string().describe(\"The ID of the device this command is targeting. If not supplied, the user's currently active device is the target.\").optional(),\n}).describe(\"Request schema for `AddItemToPlaybackQueue`\");\nexport const SpotifyAddItemToPlaybackQueueOutput = z.object({\n message: z.string().describe(\"Human-readable message about the operation result. For errors, includes specific details about what went wrong and how to fix it.\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Whether the item was successfully added to the queue. True indicates the track/episode was queued; False indicates an error (e.g., Premium required, no active device, invalid URI).\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `AddItemToPlaybackQueue`. Returns success status and details about the operation.\");\n\nexport const spotifyAddItemToPlaybackQueue: AppAction<\n typeof SpotifyAddItemToPlaybackQueueInput,\n typeof SpotifyAddItemToPlaybackQueueOutput,\n typeof spotify.credential\n> = action(\"SPOTIFY_ADD_ITEM_TO_PLAYBACK_QUEUE\", {\n slug: \"spotify-add-item-to-playback-queue\",\n name: \"Add item to playback queue\",\n description: \"Add an item to the end of the user's current playback queue. 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 scope: user-modify-playback-state Note: Only tracks and episodes can be added to the queue. Albums and playlists cannot be added directly.\",\n input: SpotifyAddItemToPlaybackQueueInput,\n output: SpotifyAddItemToPlaybackQueueOutput,\n});\n"],"mappings":";;;AAeA,MAAa,gCAIT,OAAO,sCAAsC;CAC/C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBgD,EAAE,OAAO;EACzD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6KAA6K;EACtM,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;CAChK,CAAC,CAAC,CAAC,SAAS,6CAcH;CACP,QAdiD,EAAE,OAAO;EAC1D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mIAAmI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtL,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,sLAAsL,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1P,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uGAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-items-to-playlist.cjs","names":["z","action"],"sources":["../../src/actions/add-items-to-playlist.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyAddItemsToPlaylistInput = z.object({\n uris: z.union([z.string(), z.array(z.string())]),\n position: z.number().int().describe(\"Zero-based index for item insertion. Examples:\\n- position=0: Insert at the beginning\\n- position=2: Insert at the third position\\n- Omitted (None): Append items to the end (default behavior)\").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}).describe(\"Request schema for `AddItemsToPlaylist`\\n\\nRequired OAuth Scopes: playlist-modify-public OR playlist-modify-private\");\nexport const SpotifyAddItemsToPlaylistOutput = z.object({\n snapshot_id: z.string().describe(\"A snapshot ID representing the playlist's current version. Spotify playlist endpoints return snapshot IDs that can be used later to identify the specific playlist version to target for changes.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `AddItemsToPlaylist`\\n\\nReturns HTTP 201 Created on success with a snapshot_id representing the playlist's current state.\");\n\nexport const spotifyAddItemsToPlaylist = action(\"SPOTIFY_ADD_ITEMS_TO_PLAYLIST\", {\n slug: \"spotify-add-items-to-playlist\",\n name: \"Add items to playlist\",\n description: \"Add one or more items to a user's playlist.\",\n input: SpotifyAddItemsToPlaylistInput,\n output: SpotifyAddItemsToPlaylistOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"add-items-to-playlist.cjs","names":["z","action"],"sources":["../../src/actions/add-items-to-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 SpotifyAddItemsToPlaylistInput = z.object({\n uris: z.union([z.string(), z.array(z.string())]),\n position: z.number().int().describe(\"Zero-based index for item insertion. Examples:\\n- position=0: Insert at the beginning\\n- position=2: Insert at the third position\\n- Omitted (None): Append items to the end (default behavior)\").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}).describe(\"Request schema for `AddItemsToPlaylist`\\n\\nRequired OAuth Scopes: playlist-modify-public OR playlist-modify-private\");\nexport const SpotifyAddItemsToPlaylistOutput = z.object({\n snapshot_id: z.string().describe(\"A snapshot ID representing the playlist's current version. Spotify playlist endpoints return snapshot IDs that can be used later to identify the specific playlist version to target for changes.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `AddItemsToPlaylist`\\n\\nReturns HTTP 201 Created on success with a snapshot_id representing the playlist's current state.\");\n\nexport const spotifyAddItemsToPlaylist: AppAction<\n typeof SpotifyAddItemsToPlaylistInput,\n typeof SpotifyAddItemsToPlaylistOutput,\n typeof spotify.credential\n> = action(\"SPOTIFY_ADD_ITEMS_TO_PLAYLIST\", {\n slug: \"spotify-add-items-to-playlist\",\n name: \"Add items to playlist\",\n description: \"Add one or more items to a user's playlist.\",\n input: SpotifyAddItemsToPlaylistInput,\n output: SpotifyAddItemsToPlaylistOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC;CAC/C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iMAAiM,CAAC,CAAC,SAAS;CAChP,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wJAAwJ;AAC3L,CAAC,CAAC,CAAC,SAAS,qHAAqH;AACjI,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mMAAmM,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC5P,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+IAA+I;AAEzK,MAAa,4BAITC,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/add-items-to-playlist.d.ts
|
|
@@ -9,23 +11,7 @@ declare const SpotifyAddItemsToPlaylistInput: z.ZodObject<{
|
|
|
9
11
|
declare const SpotifyAddItemsToPlaylistOutput: z.ZodObject<{
|
|
10
12
|
snapshot_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
13
|
}, z.core.$loose>;
|
|
12
|
-
declare const spotifyAddItemsToPlaylist:
|
|
13
|
-
uris: string | string[];
|
|
14
|
-
playlist_id: string;
|
|
15
|
-
position?: number | undefined;
|
|
16
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"spotify", z.ZodObject<{
|
|
17
|
-
connectionId: z.ZodString;
|
|
18
|
-
entityId: z.ZodString;
|
|
19
|
-
instanceId: z.ZodString;
|
|
20
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
-
accessToken: z.ZodString;
|
|
22
|
-
}, z.core.$strip>>]>, 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>>]>;
|
|
14
|
+
declare const spotifyAddItemsToPlaylist: AppAction<typeof SpotifyAddItemsToPlaylistInput, typeof SpotifyAddItemsToPlaylistOutput, typeof spotify.credential>;
|
|
29
15
|
//#endregion
|
|
30
16
|
export { spotifyAddItemsToPlaylist };
|
|
31
17
|
//# sourceMappingURL=add-items-to-playlist.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-items-to-playlist.d.cts","names":[],"sources":["../../src/actions/add-items-to-playlist.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"add-items-to-playlist.d.cts","names":[],"sources":["../../src/actions/add-items-to-playlist.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;cAK9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,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/add-items-to-playlist.d.ts
|
|
@@ -9,23 +11,7 @@ declare const SpotifyAddItemsToPlaylistInput: z.ZodObject<{
|
|
|
9
11
|
declare const SpotifyAddItemsToPlaylistOutput: z.ZodObject<{
|
|
10
12
|
snapshot_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
13
|
}, z.core.$loose>;
|
|
12
|
-
declare const spotifyAddItemsToPlaylist:
|
|
13
|
-
uris: string | string[];
|
|
14
|
-
playlist_id: string;
|
|
15
|
-
position?: number | undefined;
|
|
16
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"spotify", z.ZodObject<{
|
|
17
|
-
connectionId: z.ZodString;
|
|
18
|
-
entityId: z.ZodString;
|
|
19
|
-
instanceId: z.ZodString;
|
|
20
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
-
accessToken: z.ZodString;
|
|
22
|
-
}, z.core.$strip>>]>, 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>>]>;
|
|
14
|
+
declare const spotifyAddItemsToPlaylist: AppAction<typeof SpotifyAddItemsToPlaylistInput, typeof SpotifyAddItemsToPlaylistOutput, typeof spotify.credential>;
|
|
29
15
|
//#endregion
|
|
30
16
|
export { spotifyAddItemsToPlaylist };
|
|
31
17
|
//# sourceMappingURL=add-items-to-playlist.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-items-to-playlist.d.mts","names":[],"sources":["../../src/actions/add-items-to-playlist.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"add-items-to-playlist.d.mts","names":[],"sources":["../../src/actions/add-items-to-playlist.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;cAK9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-items-to-playlist.mjs","names":[],"sources":["../../src/actions/add-items-to-playlist.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyAddItemsToPlaylistInput = z.object({\n uris: z.union([z.string(), z.array(z.string())]),\n position: z.number().int().describe(\"Zero-based index for item insertion. Examples:\\n- position=0: Insert at the beginning\\n- position=2: Insert at the third position\\n- Omitted (None): Append items to the end (default behavior)\").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}).describe(\"Request schema for `AddItemsToPlaylist`\\n\\nRequired OAuth Scopes: playlist-modify-public OR playlist-modify-private\");\nexport const SpotifyAddItemsToPlaylistOutput = z.object({\n snapshot_id: z.string().describe(\"A snapshot ID representing the playlist's current version. Spotify playlist endpoints return snapshot IDs that can be used later to identify the specific playlist version to target for changes.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `AddItemsToPlaylist`\\n\\nReturns HTTP 201 Created on success with a snapshot_id representing the playlist's current state.\");\n\nexport const spotifyAddItemsToPlaylist = action(\"SPOTIFY_ADD_ITEMS_TO_PLAYLIST\", {\n slug: \"spotify-add-items-to-playlist\",\n name: \"Add items to playlist\",\n description: \"Add one or more items to a user's playlist.\",\n input: SpotifyAddItemsToPlaylistInput,\n output: SpotifyAddItemsToPlaylistOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"add-items-to-playlist.mjs","names":[],"sources":["../../src/actions/add-items-to-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 SpotifyAddItemsToPlaylistInput = z.object({\n uris: z.union([z.string(), z.array(z.string())]),\n position: z.number().int().describe(\"Zero-based index for item insertion. Examples:\\n- position=0: Insert at the beginning\\n- position=2: Insert at the third position\\n- Omitted (None): Append items to the end (default behavior)\").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}).describe(\"Request schema for `AddItemsToPlaylist`\\n\\nRequired OAuth Scopes: playlist-modify-public OR playlist-modify-private\");\nexport const SpotifyAddItemsToPlaylistOutput = z.object({\n snapshot_id: z.string().describe(\"A snapshot ID representing the playlist's current version. Spotify playlist endpoints return snapshot IDs that can be used later to identify the specific playlist version to target for changes.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `AddItemsToPlaylist`\\n\\nReturns HTTP 201 Created on success with a snapshot_id representing the playlist's current state.\");\n\nexport const spotifyAddItemsToPlaylist: AppAction<\n typeof SpotifyAddItemsToPlaylistInput,\n typeof SpotifyAddItemsToPlaylistOutput,\n typeof spotify.credential\n> = action(\"SPOTIFY_ADD_ITEMS_TO_PLAYLIST\", {\n slug: \"spotify-add-items-to-playlist\",\n name: \"Add items to playlist\",\n description: \"Add one or more items to a user's playlist.\",\n input: SpotifyAddItemsToPlaylistInput,\n output: SpotifyAddItemsToPlaylistOutput,\n});\n"],"mappings":";;;AAeA,MAAa,4BAIT,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjB4C,EAAE,OAAO;EACrD,MAAM,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;EAC/C,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iMAAiM,CAAC,CAAC,SAAS;EAChP,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wJAAwJ;CAC3L,CAAC,CAAC,CAAC,SAAS,qHAaH;CACP,QAb6C,EAAE,OAAO,EACtD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mMAAmM,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC5P,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+IAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"change-playlist-details.cjs","names":["z","action"],"sources":["../../src/actions/change-playlist-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyChangePlaylistDetailsInput = z.object({\n name: z.string().describe(\"The new name for the playlist, for example \\\"My New Playlist Title\\\".\").optional(),\n public: z.boolean().describe(\"If true the playlist will be public, if false it will be private.\").optional(),\n description: z.string().describe(\"Value for playlist description as displayed in Spotify Clients and in the Web API.\").optional(),\n playlist_id: z.string().describe(\"The Spotify ID of the playlist to update. Must be a playlist owned by the current user. Playlist IDs are 22-character base62 strings.\"),\n collaborative: z.boolean().describe(\"If true, the playlist will become collaborative and other users will be able to modify the playlist in their Spotify client. Note: You can only set collaborative to true on non-public playlists.\").optional(),\n}).describe(\"Request schema for `ChangePlaylistDetails`\");\nexport const SpotifyChangePlaylistDetailsOutput = z.object({\n message: z.string().describe(\"Optional message about the operation.\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Whether the playlist details were successfully updated.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `ChangePlaylistDetails`. Returns success status since the API returns empty body on success.\");\n\nexport const spotifyChangePlaylistDetails = action(\"SPOTIFY_CHANGE_PLAYLIST_DETAILS\", {\n slug: \"spotify-change-playlist-details\",\n name: \"Change playlist details\",\n description: \"Change a playlist's name and public/private state. The user must own the playlist. This action allows updating the playlist name, description, public/private status, and collaborative mode. At least one of the optional parameters (name, public, collaborative, description) must be provided. Important constraints: - collaborative can only be set to true on non-public playlists (when public is false) - Requires OAuth scope: playlist-modify-public (for public playlists) or playlist-modify-private (for private playlists) - The playlist must be owned by the authenticated user\",\n input: SpotifyChangePlaylistDetailsInput,\n output: SpotifyChangePlaylistDetailsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"change-playlist-details.cjs","names":["z","action"],"sources":["../../src/actions/change-playlist-details.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 SpotifyChangePlaylistDetailsInput = z.object({\n name: z.string().describe(\"The new name for the playlist, for example \\\"My New Playlist Title\\\".\").optional(),\n public: z.boolean().describe(\"If true the playlist will be public, if false it will be private.\").optional(),\n description: z.string().describe(\"Value for playlist description as displayed in Spotify Clients and in the Web API.\").optional(),\n playlist_id: z.string().describe(\"The Spotify ID of the playlist to update. Must be a playlist owned by the current user. Playlist IDs are 22-character base62 strings.\"),\n collaborative: z.boolean().describe(\"If true, the playlist will become collaborative and other users will be able to modify the playlist in their Spotify client. Note: You can only set collaborative to true on non-public playlists.\").optional(),\n}).describe(\"Request schema for `ChangePlaylistDetails`\");\nexport const SpotifyChangePlaylistDetailsOutput = z.object({\n message: z.string().describe(\"Optional message about the operation.\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Whether the playlist details were successfully updated.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `ChangePlaylistDetails`. Returns success status since the API returns empty body on success.\");\n\nexport const spotifyChangePlaylistDetails: AppAction<\n typeof SpotifyChangePlaylistDetailsInput,\n typeof SpotifyChangePlaylistDetailsOutput,\n typeof spotify.credential\n> = action(\"SPOTIFY_CHANGE_PLAYLIST_DETAILS\", {\n slug: \"spotify-change-playlist-details\",\n name: \"Change playlist details\",\n description: \"Change a playlist's name and public/private state. The user must own the playlist. This action allows updating the playlist name, description, public/private status, and collaborative mode. At least one of the optional parameters (name, public, collaborative, description) must be provided. Important constraints: - collaborative can only be set to true on non-public playlists (when public is false) - Requires OAuth scope: playlist-modify-public (for public playlists) or playlist-modify-private (for private playlists) - The playlist must be owned by the authenticated user\",\n input: SpotifyChangePlaylistDetailsInput,\n output: SpotifyChangePlaylistDetailsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC5G,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CAC3G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CAChI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uIAAuI;CACxK,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oMAAoM,CAAC,CAAC,SAAS;AACrP,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,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7H,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/change-playlist-details.d.ts
|
|
@@ -12,25 +14,7 @@ declare const SpotifyChangePlaylistDetailsOutput: 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 spotifyChangePlaylistDetails:
|
|
16
|
-
playlist_id: string;
|
|
17
|
-
name?: string | undefined;
|
|
18
|
-
public?: boolean | undefined;
|
|
19
|
-
description?: string | undefined;
|
|
20
|
-
collaborative?: boolean | undefined;
|
|
21
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<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>>]>, readonly [import("@keystrokehq/shared").Credential<"spotify", z.ZodObject<{
|
|
28
|
-
connectionId: z.ZodString;
|
|
29
|
-
entityId: z.ZodString;
|
|
30
|
-
instanceId: z.ZodString;
|
|
31
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
-
accessToken: z.ZodString;
|
|
33
|
-
}, z.core.$strip>>]>;
|
|
17
|
+
declare const spotifyChangePlaylistDetails: AppAction<typeof SpotifyChangePlaylistDetailsInput, typeof SpotifyChangePlaylistDetailsOutput, typeof spotify.credential>;
|
|
34
18
|
//#endregion
|
|
35
19
|
export { spotifyChangePlaylistDetails };
|
|
36
20
|
//# sourceMappingURL=change-playlist-details.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"change-playlist-details.d.cts","names":[],"sources":["../../src/actions/change-playlist-details.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"change-playlist-details.d.cts","names":[],"sources":["../../src/actions/change-playlist-details.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;cAOjC,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/change-playlist-details.d.ts
|
|
@@ -12,25 +14,7 @@ declare const SpotifyChangePlaylistDetailsOutput: 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 spotifyChangePlaylistDetails:
|
|
16
|
-
playlist_id: string;
|
|
17
|
-
name?: string | undefined;
|
|
18
|
-
public?: boolean | undefined;
|
|
19
|
-
description?: string | undefined;
|
|
20
|
-
collaborative?: boolean | undefined;
|
|
21
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<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>>]>, readonly [import("@keystrokehq/shared").Credential<"spotify", z.ZodObject<{
|
|
28
|
-
connectionId: z.ZodString;
|
|
29
|
-
entityId: z.ZodString;
|
|
30
|
-
instanceId: z.ZodString;
|
|
31
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
-
accessToken: z.ZodString;
|
|
33
|
-
}, z.core.$strip>>]>;
|
|
17
|
+
declare const spotifyChangePlaylistDetails: AppAction<typeof SpotifyChangePlaylistDetailsInput, typeof SpotifyChangePlaylistDetailsOutput, typeof spotify.credential>;
|
|
34
18
|
//#endregion
|
|
35
19
|
export { spotifyChangePlaylistDetails };
|
|
36
20
|
//# sourceMappingURL=change-playlist-details.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"change-playlist-details.d.mts","names":[],"sources":["../../src/actions/change-playlist-details.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"change-playlist-details.d.mts","names":[],"sources":["../../src/actions/change-playlist-details.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;cAOjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;cAKlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"change-playlist-details.mjs","names":[],"sources":["../../src/actions/change-playlist-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyChangePlaylistDetailsInput = z.object({\n name: z.string().describe(\"The new name for the playlist, for example \\\"My New Playlist Title\\\".\").optional(),\n public: z.boolean().describe(\"If true the playlist will be public, if false it will be private.\").optional(),\n description: z.string().describe(\"Value for playlist description as displayed in Spotify Clients and in the Web API.\").optional(),\n playlist_id: z.string().describe(\"The Spotify ID of the playlist to update. Must be a playlist owned by the current user. Playlist IDs are 22-character base62 strings.\"),\n collaborative: z.boolean().describe(\"If true, the playlist will become collaborative and other users will be able to modify the playlist in their Spotify client. Note: You can only set collaborative to true on non-public playlists.\").optional(),\n}).describe(\"Request schema for `ChangePlaylistDetails`\");\nexport const SpotifyChangePlaylistDetailsOutput = z.object({\n message: z.string().describe(\"Optional message about the operation.\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Whether the playlist details were successfully updated.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `ChangePlaylistDetails`. Returns success status since the API returns empty body on success.\");\n\nexport const spotifyChangePlaylistDetails = action(\"SPOTIFY_CHANGE_PLAYLIST_DETAILS\", {\n slug: \"spotify-change-playlist-details\",\n name: \"Change playlist details\",\n description: \"Change a playlist's name and public/private state. The user must own the playlist. This action allows updating the playlist name, description, public/private status, and collaborative mode. At least one of the optional parameters (name, public, collaborative, description) must be provided. Important constraints: - collaborative can only be set to true on non-public playlists (when public is false) - Requires OAuth scope: playlist-modify-public (for public playlists) or playlist-modify-private (for private playlists) - The playlist must be owned by the authenticated user\",\n input: SpotifyChangePlaylistDetailsInput,\n output: SpotifyChangePlaylistDetailsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"change-playlist-details.mjs","names":[],"sources":["../../src/actions/change-playlist-details.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 SpotifyChangePlaylistDetailsInput = z.object({\n name: z.string().describe(\"The new name for the playlist, for example \\\"My New Playlist Title\\\".\").optional(),\n public: z.boolean().describe(\"If true the playlist will be public, if false it will be private.\").optional(),\n description: z.string().describe(\"Value for playlist description as displayed in Spotify Clients and in the Web API.\").optional(),\n playlist_id: z.string().describe(\"The Spotify ID of the playlist to update. Must be a playlist owned by the current user. Playlist IDs are 22-character base62 strings.\"),\n collaborative: z.boolean().describe(\"If true, the playlist will become collaborative and other users will be able to modify the playlist in their Spotify client. Note: You can only set collaborative to true on non-public playlists.\").optional(),\n}).describe(\"Request schema for `ChangePlaylistDetails`\");\nexport const SpotifyChangePlaylistDetailsOutput = z.object({\n message: z.string().describe(\"Optional message about the operation.\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Whether the playlist details were successfully updated.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `ChangePlaylistDetails`. Returns success status since the API returns empty body on success.\");\n\nexport const spotifyChangePlaylistDetails: AppAction<\n typeof SpotifyChangePlaylistDetailsInput,\n typeof SpotifyChangePlaylistDetailsOutput,\n typeof spotify.credential\n> = action(\"SPOTIFY_CHANGE_PLAYLIST_DETAILS\", {\n slug: \"spotify-change-playlist-details\",\n name: \"Change playlist details\",\n description: \"Change a playlist's name and public/private state. The user must own the playlist. This action allows updating the playlist name, description, public/private status, and collaborative mode. At least one of the optional parameters (name, public, collaborative, description) must be provided. Important constraints: - collaborative can only be set to true on non-public playlists (when public is false) - Requires OAuth scope: playlist-modify-public (for public playlists) or playlist-modify-private (for private playlists) - The playlist must be owned by the authenticated user\",\n input: SpotifyChangePlaylistDetailsInput,\n output: SpotifyChangePlaylistDetailsOutput,\n});\n"],"mappings":";;;AAkBA,MAAa,+BAIT,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApB+C,EAAE,OAAO;EACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;EAC5G,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;EAC3G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;EAChI,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uIAAuI;EACxK,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,oMAAoM,CAAC,CAAC,SAAS;CACrP,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,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kHAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check-if-user-follows-artists-or-users.cjs","names":["z","action"],"sources":["../../src/actions/check-if-user-follows-artists-or-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyCheckIfUserFollowsArtistsOrUsersInput = z.object({\n ids: z.string().describe(\"A comma-separated list of the artist or user Spotify IDs to check. Maximum of 50 IDs per request. Example: '2CIMQHirSU0MQqyYHq0eOx,57dN52uHvrHOxijzpIgu3E'\"),\n type: z.enum([\"artist\", \"user\"]).describe(\"The ID type: either 'artist' or 'user'\"),\n}).describe(\"Request schema for `CheckIfUserFollowsArtistsOrUsers`\");\nexport const SpotifyCheckIfUserFollowsArtistsOrUsersOutput = z.object({\n follows: z.array(z.boolean()).describe(\"Array of boolean values in the same order as the requested artist or user IDs. True indicates the user follows the artist/user, False indicates they do not.\"),\n}).passthrough().describe(\"Response schema for `CheckIfUserFollowsArtistsOrUsers`\\n\\nReturns an array of booleans indicating whether the current user follows each\\nartist or user in the same order as the IDs were provided in the request.\");\n\nexport const spotifyCheckIfUserFollowsArtistsOrUsers = action(\"SPOTIFY_CHECK_IF_USER_FOLLOWS_ARTISTS_OR_USERS\", {\n slug: \"spotify-check-if-user-follows-artists-or-users\",\n name: \"Check if user follows artists or users\",\n description: \"Check to see if the current user is following one or more artists or other Spotify users.\",\n input: SpotifyCheckIfUserFollowsArtistsOrUsersInput,\n output: SpotifyCheckIfUserFollowsArtistsOrUsersOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"check-if-user-follows-artists-or-users.cjs","names":["z","action"],"sources":["../../src/actions/check-if-user-follows-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 SpotifyCheckIfUserFollowsArtistsOrUsersInput = z.object({\n ids: z.string().describe(\"A comma-separated list of the artist or user Spotify IDs to check. Maximum of 50 IDs per request. Example: '2CIMQHirSU0MQqyYHq0eOx,57dN52uHvrHOxijzpIgu3E'\"),\n type: z.enum([\"artist\", \"user\"]).describe(\"The ID type: either 'artist' or 'user'\"),\n}).describe(\"Request schema for `CheckIfUserFollowsArtistsOrUsers`\");\nexport const SpotifyCheckIfUserFollowsArtistsOrUsersOutput = z.object({\n follows: z.array(z.boolean()).describe(\"Array of boolean values in the same order as the requested artist or user IDs. True indicates the user follows the artist/user, False indicates they do not.\"),\n}).passthrough().describe(\"Response schema for `CheckIfUserFollowsArtistsOrUsers`\\n\\nReturns an array of booleans indicating whether the current user follows each\\nartist or user in the same order as the IDs were provided in the request.\");\n\nexport const spotifyCheckIfUserFollowsArtistsOrUsers: AppAction<\n typeof SpotifyCheckIfUserFollowsArtistsOrUsersInput,\n typeof SpotifyCheckIfUserFollowsArtistsOrUsersOutput,\n typeof spotify.credential\n> = action(\"SPOTIFY_CHECK_IF_USER_FOLLOWS_ARTISTS_OR_USERS\", {\n slug: \"spotify-check-if-user-follows-artists-or-users\",\n name: \"Check if user follows artists or users\",\n description: \"Check to see if the current user is following one or more artists or other Spotify users.\",\n input: SpotifyCheckIfUserFollowsArtistsOrUsersInput,\n output: SpotifyCheckIfUserFollowsArtistsOrUsersOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+CAA+CA,IAAAA,EAAE,OAAO;CACnE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4JAA4J;CACrL,MAAMA,IAAAA,EAAE,KAAK,CAAC,UAAU,MAAM,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpF,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAa,gDAAgDA,IAAAA,EAAE,OAAO,EACpE,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8JAA8J,EACvM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oNAAoN;AAE9O,MAAa,0CAITC,eAAAA,OAAO,kDAAkD;CAC3D,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/check-if-user-follows-artists-or-users.d.ts
|
|
@@ -11,22 +13,7 @@ declare const SpotifyCheckIfUserFollowsArtistsOrUsersInput: z.ZodObject<{
|
|
|
11
13
|
declare const SpotifyCheckIfUserFollowsArtistsOrUsersOutput: z.ZodObject<{
|
|
12
14
|
follows: z.ZodArray<z.ZodBoolean>;
|
|
13
15
|
}, z.core.$loose>;
|
|
14
|
-
declare const spotifyCheckIfUserFollowsArtistsOrUsers:
|
|
15
|
-
ids: string;
|
|
16
|
-
type: "user" | "artist";
|
|
17
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"spotify", z.ZodObject<{
|
|
18
|
-
connectionId: z.ZodString;
|
|
19
|
-
entityId: z.ZodString;
|
|
20
|
-
instanceId: z.ZodString;
|
|
21
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
22
|
-
accessToken: z.ZodString;
|
|
23
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"spotify", z.ZodObject<{
|
|
24
|
-
connectionId: z.ZodString;
|
|
25
|
-
entityId: z.ZodString;
|
|
26
|
-
instanceId: z.ZodString;
|
|
27
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
28
|
-
accessToken: z.ZodString;
|
|
29
|
-
}, z.core.$strip>>]>;
|
|
16
|
+
declare const spotifyCheckIfUserFollowsArtistsOrUsers: AppAction<typeof SpotifyCheckIfUserFollowsArtistsOrUsersInput, typeof SpotifyCheckIfUserFollowsArtistsOrUsersOutput, typeof spotify.credential>;
|
|
30
17
|
//#endregion
|
|
31
18
|
export { spotifyCheckIfUserFollowsArtistsOrUsers };
|
|
32
19
|
//# sourceMappingURL=check-if-user-follows-artists-or-users.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check-if-user-follows-artists-or-users.d.cts","names":[],"sources":["../../src/actions/check-if-user-follows-artists-or-users.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"check-if-user-follows-artists-or-users.d.cts","names":[],"sources":["../../src/actions/check-if-user-follows-artists-or-users.ts"],"mappings":";;;;;cAMa,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;;;;;cAI5C,6CAAA,EAA6C,CAAA,CAAA,SAAA;;;cAI7C,uCAAA,EAAyC,SAAA,QAC7C,4CAAA,SACA,6CAAA,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/check-if-user-follows-artists-or-users.d.ts
|
|
@@ -11,22 +13,7 @@ declare const SpotifyCheckIfUserFollowsArtistsOrUsersInput: z.ZodObject<{
|
|
|
11
13
|
declare const SpotifyCheckIfUserFollowsArtistsOrUsersOutput: z.ZodObject<{
|
|
12
14
|
follows: z.ZodArray<z.ZodBoolean>;
|
|
13
15
|
}, z.core.$loose>;
|
|
14
|
-
declare const spotifyCheckIfUserFollowsArtistsOrUsers:
|
|
15
|
-
ids: string;
|
|
16
|
-
type: "user" | "artist";
|
|
17
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"spotify", z.ZodObject<{
|
|
18
|
-
connectionId: z.ZodString;
|
|
19
|
-
entityId: z.ZodString;
|
|
20
|
-
instanceId: z.ZodString;
|
|
21
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
22
|
-
accessToken: z.ZodString;
|
|
23
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"spotify", z.ZodObject<{
|
|
24
|
-
connectionId: z.ZodString;
|
|
25
|
-
entityId: z.ZodString;
|
|
26
|
-
instanceId: z.ZodString;
|
|
27
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
28
|
-
accessToken: z.ZodString;
|
|
29
|
-
}, z.core.$strip>>]>;
|
|
16
|
+
declare const spotifyCheckIfUserFollowsArtistsOrUsers: AppAction<typeof SpotifyCheckIfUserFollowsArtistsOrUsersInput, typeof SpotifyCheckIfUserFollowsArtistsOrUsersOutput, typeof spotify.credential>;
|
|
30
17
|
//#endregion
|
|
31
18
|
export { spotifyCheckIfUserFollowsArtistsOrUsers };
|
|
32
19
|
//# sourceMappingURL=check-if-user-follows-artists-or-users.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check-if-user-follows-artists-or-users.d.mts","names":[],"sources":["../../src/actions/check-if-user-follows-artists-or-users.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"check-if-user-follows-artists-or-users.d.mts","names":[],"sources":["../../src/actions/check-if-user-follows-artists-or-users.ts"],"mappings":";;;;;cAMa,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;;;;;cAI5C,6CAAA,EAA6C,CAAA,CAAA,SAAA;;;cAI7C,uCAAA,EAAyC,SAAA,QAC7C,4CAAA,SACA,6CAAA,SACA,OAAA,CAAQ,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check-if-user-follows-artists-or-users.mjs","names":[],"sources":["../../src/actions/check-if-user-follows-artists-or-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyCheckIfUserFollowsArtistsOrUsersInput = z.object({\n ids: z.string().describe(\"A comma-separated list of the artist or user Spotify IDs to check. Maximum of 50 IDs per request. Example: '2CIMQHirSU0MQqyYHq0eOx,57dN52uHvrHOxijzpIgu3E'\"),\n type: z.enum([\"artist\", \"user\"]).describe(\"The ID type: either 'artist' or 'user'\"),\n}).describe(\"Request schema for `CheckIfUserFollowsArtistsOrUsers`\");\nexport const SpotifyCheckIfUserFollowsArtistsOrUsersOutput = z.object({\n follows: z.array(z.boolean()).describe(\"Array of boolean values in the same order as the requested artist or user IDs. True indicates the user follows the artist/user, False indicates they do not.\"),\n}).passthrough().describe(\"Response schema for `CheckIfUserFollowsArtistsOrUsers`\\n\\nReturns an array of booleans indicating whether the current user follows each\\nartist or user in the same order as the IDs were provided in the request.\");\n\nexport const spotifyCheckIfUserFollowsArtistsOrUsers = action(\"SPOTIFY_CHECK_IF_USER_FOLLOWS_ARTISTS_OR_USERS\", {\n slug: \"spotify-check-if-user-follows-artists-or-users\",\n name: \"Check if user follows artists or users\",\n description: \"Check to see if the current user is following one or more artists or other Spotify users.\",\n input: SpotifyCheckIfUserFollowsArtistsOrUsersInput,\n output: SpotifyCheckIfUserFollowsArtistsOrUsersOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"check-if-user-follows-artists-or-users.mjs","names":[],"sources":["../../src/actions/check-if-user-follows-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 SpotifyCheckIfUserFollowsArtistsOrUsersInput = z.object({\n ids: z.string().describe(\"A comma-separated list of the artist or user Spotify IDs to check. Maximum of 50 IDs per request. Example: '2CIMQHirSU0MQqyYHq0eOx,57dN52uHvrHOxijzpIgu3E'\"),\n type: z.enum([\"artist\", \"user\"]).describe(\"The ID type: either 'artist' or 'user'\"),\n}).describe(\"Request schema for `CheckIfUserFollowsArtistsOrUsers`\");\nexport const SpotifyCheckIfUserFollowsArtistsOrUsersOutput = z.object({\n follows: z.array(z.boolean()).describe(\"Array of boolean values in the same order as the requested artist or user IDs. True indicates the user follows the artist/user, False indicates they do not.\"),\n}).passthrough().describe(\"Response schema for `CheckIfUserFollowsArtistsOrUsers`\\n\\nReturns an array of booleans indicating whether the current user follows each\\nartist or user in the same order as the IDs were provided in the request.\");\n\nexport const spotifyCheckIfUserFollowsArtistsOrUsers: AppAction<\n typeof SpotifyCheckIfUserFollowsArtistsOrUsersInput,\n typeof SpotifyCheckIfUserFollowsArtistsOrUsersOutput,\n typeof spotify.credential\n> = action(\"SPOTIFY_CHECK_IF_USER_FOLLOWS_ARTISTS_OR_USERS\", {\n slug: \"spotify-check-if-user-follows-artists-or-users\",\n name: \"Check if user follows artists or users\",\n description: \"Check to see if the current user is following one or more artists or other Spotify users.\",\n input: SpotifyCheckIfUserFollowsArtistsOrUsersInput,\n output: SpotifyCheckIfUserFollowsArtistsOrUsersOutput,\n});\n"],"mappings":";;;AAcA,MAAa,0CAIT,OAAO,kDAAkD;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB0D,EAAE,OAAO;EACnE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4JAA4J;EACrL,MAAM,EAAE,KAAK,CAAC,UAAU,MAAM,CAAC,CAAC,CAAC,SAAS,wCAAwC;CACpF,CAAC,CAAC,CAAC,SAAS,uDAaH;CACP,QAb2D,EAAE,OAAO,EACpE,SAAS,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8JAA8J,EACvM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oNAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check-if-users-follow-playlist.cjs","names":["z","action"],"sources":["../../src/actions/check-if-users-follow-playlist.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyCheckIfUsersFollowPlaylistInput = z.object({\n ids: z.string().describe(\"The Spotify user ID to check if they follow the playlist. Must be the current authenticated user's ID. Single user ID only (e.g., 'jmperezperez'). Note: While the API parameter is named 'ids', only the authenticated user can be checked.\"),\n playlist_id: z.string().describe(\"The Spotify ID of the playlist to check followers for. A 22-character alphanumeric string (e.g., '3cEYpjA9oz9GiPac4AsH4n').\"),\n}).describe(\"Request schema for `CheckIfUsersFollowPlaylist`\");\nconst SpotifyCheckIfUsersFollowPlaylist_UserFollowStatusSchema = z.object({\n follows: z.boolean().nullable().optional(),\n user_id: z.string().nullable().optional(),\n}).passthrough().describe(\"A single user's follow status for a playlist.\");\nexport const SpotifyCheckIfUsersFollowPlaylistOutput = z.object({\n results: z.array(z.boolean()).describe(\"A list containing a single boolean value indicating whether the authenticated user follows the playlist (e.g., [true] or [false]).\").nullable().optional(),\n user_follow_statuses: z.array(SpotifyCheckIfUsersFollowPlaylist_UserFollowStatusSchema).describe(\"Optional detailed breakdown of each user's follow status.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `CheckIfUsersFollowPlaylist`\\n\\nThe API returns a JSON array containing a single boolean indicating whether\\nthe authenticated user follows the playlist.\");\n\nexport const spotifyCheckIfUsersFollowPlaylist = action(\"SPOTIFY_CHECK_IF_USERS_FOLLOW_PLAYLIST\", {\n slug: \"spotify-check-if-users-follow-playlist\",\n name: \"Check if users follow playlist\",\n description: \"Check if the current authenticated user is following a specified playlist. This endpoint checks whether the authenticated user follows the given playlist. It returns a boolean value indicating whether the user follows the playlist. Important: Despite the parameter being named 'ids', this endpoint only works for checking if the current authenticated user follows a playlist. You cannot check if arbitrary users follow a playlist. Note: The playlist must be public or the requesting user must own the playlist.\",\n input: SpotifyCheckIfUsersFollowPlaylistInput,\n output: SpotifyCheckIfUsersFollowPlaylistOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"check-if-users-follow-playlist.cjs","names":["z","action"],"sources":["../../src/actions/check-if-users-follow-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 SpotifyCheckIfUsersFollowPlaylistInput = z.object({\n ids: z.string().describe(\"The Spotify user ID to check if they follow the playlist. Must be the current authenticated user's ID. Single user ID only (e.g., 'jmperezperez'). Note: While the API parameter is named 'ids', only the authenticated user can be checked.\"),\n playlist_id: z.string().describe(\"The Spotify ID of the playlist to check followers for. A 22-character alphanumeric string (e.g., '3cEYpjA9oz9GiPac4AsH4n').\"),\n}).describe(\"Request schema for `CheckIfUsersFollowPlaylist`\");\nconst SpotifyCheckIfUsersFollowPlaylist_UserFollowStatusSchema = z.object({\n follows: z.boolean().nullable().optional(),\n user_id: z.string().nullable().optional(),\n}).passthrough().describe(\"A single user's follow status for a playlist.\");\nexport const SpotifyCheckIfUsersFollowPlaylistOutput = z.object({\n results: z.array(z.boolean()).describe(\"A list containing a single boolean value indicating whether the authenticated user follows the playlist (e.g., [true] or [false]).\").nullable().optional(),\n user_follow_statuses: z.array(SpotifyCheckIfUsersFollowPlaylist_UserFollowStatusSchema).describe(\"Optional detailed breakdown of each user's follow status.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `CheckIfUsersFollowPlaylist`\\n\\nThe API returns a JSON array containing a single boolean indicating whether\\nthe authenticated user follows the playlist.\");\n\nexport const spotifyCheckIfUsersFollowPlaylist: AppAction<\n typeof SpotifyCheckIfUsersFollowPlaylistInput,\n typeof SpotifyCheckIfUsersFollowPlaylistOutput,\n typeof spotify.credential\n> = action(\"SPOTIFY_CHECK_IF_USERS_FOLLOW_PLAYLIST\", {\n slug: \"spotify-check-if-users-follow-playlist\",\n name: \"Check if users follow playlist\",\n description: \"Check if the current authenticated user is following a specified playlist. This endpoint checks whether the authenticated user follows the given playlist. It returns a boolean value indicating whether the user follows the playlist. Important: Despite the parameter being named 'ids', this endpoint only works for checking if the current authenticated user follows a playlist. You cannot check if arbitrary users follow a playlist. Note: The playlist must be public or the requesting user must own the playlist.\",\n input: SpotifyCheckIfUsersFollowPlaylistInput,\n output: SpotifyCheckIfUsersFollowPlaylistOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8OAA8O;CACvQ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H;AAChK,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,2DAA2DA,IAAAA,EAAE,OAAO;CACxE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzC,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1C,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AACzE,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oIAAoI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjM,sBAAsBA,IAAAA,EAAE,MAAM,wDAAwD,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+KAA+K;AAEzM,MAAa,oCAITC,eAAAA,OAAO,0CAA0C;CACnD,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/check-if-users-follow-playlist.d.ts
|
|
@@ -12,22 +14,7 @@ declare const SpotifyCheckIfUsersFollowPlaylistOutput: z.ZodObject<{
|
|
|
12
14
|
user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
15
|
}, z.core.$loose>>>>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const spotifyCheckIfUsersFollowPlaylist:
|
|
16
|
-
ids: string;
|
|
17
|
-
playlist_id: string;
|
|
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 spotifyCheckIfUsersFollowPlaylist: AppAction<typeof SpotifyCheckIfUsersFollowPlaylistInput, typeof SpotifyCheckIfUsersFollowPlaylistOutput, typeof spotify.credential>;
|
|
31
18
|
//#endregion
|
|
32
19
|
export { spotifyCheckIfUsersFollowPlaylist };
|
|
33
20
|
//# sourceMappingURL=check-if-users-follow-playlist.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check-if-users-follow-playlist.d.cts","names":[],"sources":["../../src/actions/check-if-users-follow-playlist.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"check-if-users-follow-playlist.d.cts","names":[],"sources":["../../src/actions/check-if-users-follow-playlist.ts"],"mappings":";;;;;cAMa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;cAQtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;cAKvC,iCAAA,EAAmC,SAAA,QACvC,sCAAA,SACA,uCAAA,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/check-if-users-follow-playlist.d.ts
|
|
@@ -12,22 +14,7 @@ declare const SpotifyCheckIfUsersFollowPlaylistOutput: z.ZodObject<{
|
|
|
12
14
|
user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
15
|
}, z.core.$loose>>>>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const spotifyCheckIfUsersFollowPlaylist:
|
|
16
|
-
ids: string;
|
|
17
|
-
playlist_id: string;
|
|
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 spotifyCheckIfUsersFollowPlaylist: AppAction<typeof SpotifyCheckIfUsersFollowPlaylistInput, typeof SpotifyCheckIfUsersFollowPlaylistOutput, typeof spotify.credential>;
|
|
31
18
|
//#endregion
|
|
32
19
|
export { spotifyCheckIfUsersFollowPlaylist };
|
|
33
20
|
//# sourceMappingURL=check-if-users-follow-playlist.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check-if-users-follow-playlist.d.mts","names":[],"sources":["../../src/actions/check-if-users-follow-playlist.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"check-if-users-follow-playlist.d.mts","names":[],"sources":["../../src/actions/check-if-users-follow-playlist.ts"],"mappings":";;;;;cAMa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;cAQtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;cAKvC,iCAAA,EAAmC,SAAA,QACvC,sCAAA,SACA,uCAAA,SACA,OAAA,CAAQ,UAAA"}
|