@keystrokehq/spotify 0.1.0 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (631) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/add-item-to-playback-queue.cjs.map +1 -1
  4. package/dist/actions/add-item-to-playback-queue.d.cts +12 -3
  5. package/dist/actions/add-item-to-playback-queue.d.cts.map +1 -1
  6. package/dist/actions/add-item-to-playback-queue.d.mts +12 -3
  7. package/dist/actions/add-item-to-playback-queue.d.mts.map +1 -1
  8. package/dist/actions/add-item-to-playback-queue.mjs.map +1 -1
  9. package/dist/actions/add-items-to-playlist.cjs +1 -1
  10. package/dist/actions/add-items-to-playlist.cjs.map +1 -1
  11. package/dist/actions/add-items-to-playlist.d.cts +13 -3
  12. package/dist/actions/add-items-to-playlist.d.cts.map +1 -1
  13. package/dist/actions/add-items-to-playlist.d.mts +13 -3
  14. package/dist/actions/add-items-to-playlist.d.mts.map +1 -1
  15. package/dist/actions/add-items-to-playlist.mjs +1 -1
  16. package/dist/actions/add-items-to-playlist.mjs.map +1 -1
  17. package/dist/actions/change-playlist-details.cjs.map +1 -1
  18. package/dist/actions/change-playlist-details.d.cts +18 -3
  19. package/dist/actions/change-playlist-details.d.cts.map +1 -1
  20. package/dist/actions/change-playlist-details.d.mts +18 -3
  21. package/dist/actions/change-playlist-details.d.mts.map +1 -1
  22. package/dist/actions/change-playlist-details.mjs.map +1 -1
  23. package/dist/actions/check-if-user-follows-artists-or-users.cjs +1 -1
  24. package/dist/actions/check-if-user-follows-artists-or-users.cjs.map +1 -1
  25. package/dist/actions/check-if-user-follows-artists-or-users.d.cts +14 -3
  26. package/dist/actions/check-if-user-follows-artists-or-users.d.cts.map +1 -1
  27. package/dist/actions/check-if-user-follows-artists-or-users.d.mts +14 -3
  28. package/dist/actions/check-if-user-follows-artists-or-users.d.mts.map +1 -1
  29. package/dist/actions/check-if-user-follows-artists-or-users.mjs +1 -1
  30. package/dist/actions/check-if-user-follows-artists-or-users.mjs.map +1 -1
  31. package/dist/actions/check-if-users-follow-playlist.cjs.map +1 -1
  32. package/dist/actions/check-if-users-follow-playlist.d.cts +15 -3
  33. package/dist/actions/check-if-users-follow-playlist.d.cts.map +1 -1
  34. package/dist/actions/check-if-users-follow-playlist.d.mts +15 -3
  35. package/dist/actions/check-if-users-follow-playlist.d.mts.map +1 -1
  36. package/dist/actions/check-if-users-follow-playlist.mjs.map +1 -1
  37. package/dist/actions/check-user-s-saved-albums.cjs +1 -1
  38. package/dist/actions/check-user-s-saved-albums.cjs.map +1 -1
  39. package/dist/actions/check-user-s-saved-albums.d.cts +9 -3
  40. package/dist/actions/check-user-s-saved-albums.d.cts.map +1 -1
  41. package/dist/actions/check-user-s-saved-albums.d.mts +9 -3
  42. package/dist/actions/check-user-s-saved-albums.d.mts.map +1 -1
  43. package/dist/actions/check-user-s-saved-albums.mjs +1 -1
  44. package/dist/actions/check-user-s-saved-albums.mjs.map +1 -1
  45. package/dist/actions/check-user-s-saved-audiobooks.cjs +1 -1
  46. package/dist/actions/check-user-s-saved-audiobooks.cjs.map +1 -1
  47. package/dist/actions/check-user-s-saved-audiobooks.d.cts +9 -3
  48. package/dist/actions/check-user-s-saved-audiobooks.d.cts.map +1 -1
  49. package/dist/actions/check-user-s-saved-audiobooks.d.mts +9 -3
  50. package/dist/actions/check-user-s-saved-audiobooks.d.mts.map +1 -1
  51. package/dist/actions/check-user-s-saved-audiobooks.mjs +1 -1
  52. package/dist/actions/check-user-s-saved-audiobooks.mjs.map +1 -1
  53. package/dist/actions/check-user-s-saved-episodes.cjs.map +1 -1
  54. package/dist/actions/check-user-s-saved-episodes.d.cts +9 -3
  55. package/dist/actions/check-user-s-saved-episodes.d.cts.map +1 -1
  56. package/dist/actions/check-user-s-saved-episodes.d.mts +9 -3
  57. package/dist/actions/check-user-s-saved-episodes.d.mts.map +1 -1
  58. package/dist/actions/check-user-s-saved-episodes.mjs.map +1 -1
  59. package/dist/actions/check-user-s-saved-shows.cjs +1 -1
  60. package/dist/actions/check-user-s-saved-shows.cjs.map +1 -1
  61. package/dist/actions/check-user-s-saved-shows.d.cts +9 -3
  62. package/dist/actions/check-user-s-saved-shows.d.cts.map +1 -1
  63. package/dist/actions/check-user-s-saved-shows.d.mts +9 -3
  64. package/dist/actions/check-user-s-saved-shows.d.mts.map +1 -1
  65. package/dist/actions/check-user-s-saved-shows.mjs +1 -1
  66. package/dist/actions/check-user-s-saved-shows.mjs.map +1 -1
  67. package/dist/actions/check-user-s-saved-tracks.cjs.map +1 -1
  68. package/dist/actions/check-user-s-saved-tracks.d.cts +9 -3
  69. package/dist/actions/check-user-s-saved-tracks.d.cts.map +1 -1
  70. package/dist/actions/check-user-s-saved-tracks.d.mts +9 -3
  71. package/dist/actions/check-user-s-saved-tracks.d.mts.map +1 -1
  72. package/dist/actions/check-user-s-saved-tracks.mjs.map +1 -1
  73. package/dist/actions/create-playlist.cjs +31 -31
  74. package/dist/actions/create-playlist.cjs.map +1 -1
  75. package/dist/actions/create-playlist.d.cts +65 -3
  76. package/dist/actions/create-playlist.d.cts.map +1 -1
  77. package/dist/actions/create-playlist.d.mts +65 -3
  78. package/dist/actions/create-playlist.d.mts.map +1 -1
  79. package/dist/actions/create-playlist.mjs +31 -31
  80. package/dist/actions/create-playlist.mjs.map +1 -1
  81. package/dist/actions/follow-artists-or-users.cjs.map +1 -1
  82. package/dist/actions/follow-artists-or-users.d.cts +15 -3
  83. package/dist/actions/follow-artists-or-users.d.cts.map +1 -1
  84. package/dist/actions/follow-artists-or-users.d.mts +15 -3
  85. package/dist/actions/follow-artists-or-users.d.mts.map +1 -1
  86. package/dist/actions/follow-artists-or-users.mjs.map +1 -1
  87. package/dist/actions/follow-playlist.cjs.map +1 -1
  88. package/dist/actions/follow-playlist.d.cts +12 -3
  89. package/dist/actions/follow-playlist.d.cts.map +1 -1
  90. package/dist/actions/follow-playlist.d.mts +12 -3
  91. package/dist/actions/follow-playlist.d.mts.map +1 -1
  92. package/dist/actions/follow-playlist.mjs.map +1 -1
  93. package/dist/actions/get-a-chapter.cjs +2 -2
  94. package/dist/actions/get-a-chapter.cjs.map +1 -1
  95. package/dist/actions/get-a-chapter.d.cts +71 -3
  96. package/dist/actions/get-a-chapter.d.cts.map +1 -1
  97. package/dist/actions/get-a-chapter.d.mts +71 -3
  98. package/dist/actions/get-a-chapter.d.mts.map +1 -1
  99. package/dist/actions/get-a-chapter.mjs +2 -2
  100. package/dist/actions/get-a-chapter.mjs.map +1 -1
  101. package/dist/actions/get-album-tracks.cjs +2 -2
  102. package/dist/actions/get-album-tracks.cjs.map +1 -1
  103. package/dist/actions/get-album-tracks.d.cts +41 -3
  104. package/dist/actions/get-album-tracks.d.cts.map +1 -1
  105. package/dist/actions/get-album-tracks.d.mts +41 -3
  106. package/dist/actions/get-album-tracks.d.mts.map +1 -1
  107. package/dist/actions/get-album-tracks.mjs +2 -2
  108. package/dist/actions/get-album-tracks.mjs.map +1 -1
  109. package/dist/actions/get-album.cjs +7 -7
  110. package/dist/actions/get-album.cjs.map +1 -1
  111. package/dist/actions/get-album.d.cts +73 -3
  112. package/dist/actions/get-album.d.cts.map +1 -1
  113. package/dist/actions/get-album.d.mts +73 -3
  114. package/dist/actions/get-album.d.mts.map +1 -1
  115. package/dist/actions/get-album.mjs +7 -7
  116. package/dist/actions/get-album.mjs.map +1 -1
  117. package/dist/actions/get-an-audiobook.cjs +2 -2
  118. package/dist/actions/get-an-audiobook.cjs.map +1 -1
  119. package/dist/actions/get-an-audiobook.d.cts +72 -3
  120. package/dist/actions/get-an-audiobook.d.cts.map +1 -1
  121. package/dist/actions/get-an-audiobook.d.mts +72 -3
  122. package/dist/actions/get-an-audiobook.d.mts.map +1 -1
  123. package/dist/actions/get-an-audiobook.mjs +2 -2
  124. package/dist/actions/get-an-audiobook.mjs.map +1 -1
  125. package/dist/actions/get-artist-s-albums.cjs +4 -4
  126. package/dist/actions/get-artist-s-albums.cjs.map +1 -1
  127. package/dist/actions/get-artist-s-albums.d.cts +41 -3
  128. package/dist/actions/get-artist-s-albums.d.cts.map +1 -1
  129. package/dist/actions/get-artist-s-albums.d.mts +41 -3
  130. package/dist/actions/get-artist-s-albums.d.mts.map +1 -1
  131. package/dist/actions/get-artist-s-albums.mjs +4 -4
  132. package/dist/actions/get-artist-s-albums.mjs.map +1 -1
  133. package/dist/actions/get-artist-s-related-artists.cjs +6 -6
  134. package/dist/actions/get-artist-s-related-artists.cjs.map +1 -1
  135. package/dist/actions/get-artist-s-related-artists.d.cts +29 -3
  136. package/dist/actions/get-artist-s-related-artists.d.cts.map +1 -1
  137. package/dist/actions/get-artist-s-related-artists.d.mts +29 -3
  138. package/dist/actions/get-artist-s-related-artists.d.mts.map +1 -1
  139. package/dist/actions/get-artist-s-related-artists.mjs +6 -6
  140. package/dist/actions/get-artist-s-related-artists.mjs.map +1 -1
  141. package/dist/actions/get-artist-s-top-tracks.cjs +9 -9
  142. package/dist/actions/get-artist-s-top-tracks.cjs.map +1 -1
  143. package/dist/actions/get-artist-s-top-tracks.d.cts +81 -3
  144. package/dist/actions/get-artist-s-top-tracks.d.cts.map +1 -1
  145. package/dist/actions/get-artist-s-top-tracks.d.mts +81 -3
  146. package/dist/actions/get-artist-s-top-tracks.d.mts.map +1 -1
  147. package/dist/actions/get-artist-s-top-tracks.mjs +9 -9
  148. package/dist/actions/get-artist-s-top-tracks.mjs.map +1 -1
  149. package/dist/actions/get-artist.cjs +12 -12
  150. package/dist/actions/get-artist.cjs.map +1 -1
  151. package/dist/actions/get-artist.d.cts +29 -3
  152. package/dist/actions/get-artist.d.cts.map +1 -1
  153. package/dist/actions/get-artist.d.mts +29 -3
  154. package/dist/actions/get-artist.d.mts.map +1 -1
  155. package/dist/actions/get-artist.mjs +12 -12
  156. package/dist/actions/get-artist.mjs.map +1 -1
  157. package/dist/actions/get-audiobook-chapters.cjs +1 -1
  158. package/dist/actions/get-audiobook-chapters.cjs.map +1 -1
  159. package/dist/actions/get-audiobook-chapters.d.cts +51 -3
  160. package/dist/actions/get-audiobook-chapters.d.cts.map +1 -1
  161. package/dist/actions/get-audiobook-chapters.d.mts +51 -3
  162. package/dist/actions/get-audiobook-chapters.d.mts.map +1 -1
  163. package/dist/actions/get-audiobook-chapters.mjs +1 -1
  164. package/dist/actions/get-audiobook-chapters.mjs.map +1 -1
  165. package/dist/actions/get-available-devices.cjs +8 -8
  166. package/dist/actions/get-available-devices.cjs.map +1 -1
  167. package/dist/actions/get-available-devices.d.cts +14 -3
  168. package/dist/actions/get-available-devices.d.cts.map +1 -1
  169. package/dist/actions/get-available-devices.d.mts +14 -3
  170. package/dist/actions/get-available-devices.d.mts.map +1 -1
  171. package/dist/actions/get-available-devices.mjs +8 -8
  172. package/dist/actions/get-available-devices.mjs.map +1 -1
  173. package/dist/actions/get-available-markets.cjs +1 -1
  174. package/dist/actions/get-available-markets.cjs.map +1 -1
  175. package/dist/actions/get-available-markets.d.cts +5 -3
  176. package/dist/actions/get-available-markets.d.cts.map +1 -1
  177. package/dist/actions/get-available-markets.d.mts +5 -3
  178. package/dist/actions/get-available-markets.d.mts.map +1 -1
  179. package/dist/actions/get-available-markets.mjs +1 -1
  180. package/dist/actions/get-available-markets.mjs.map +1 -1
  181. package/dist/actions/get-current-user-s-playlists.cjs +7 -7
  182. package/dist/actions/get-current-user-s-playlists.cjs.map +1 -1
  183. package/dist/actions/get-current-user-s-playlists.d.cts +52 -3
  184. package/dist/actions/get-current-user-s-playlists.d.cts.map +1 -1
  185. package/dist/actions/get-current-user-s-playlists.d.mts +52 -3
  186. package/dist/actions/get-current-user-s-playlists.d.mts.map +1 -1
  187. package/dist/actions/get-current-user-s-playlists.mjs +7 -7
  188. package/dist/actions/get-current-user-s-playlists.mjs.map +1 -1
  189. package/dist/actions/get-current-user-s-profile.cjs +11 -11
  190. package/dist/actions/get-current-user-s-profile.cjs.map +1 -1
  191. package/dist/actions/get-current-user-s-profile.d.cts +28 -3
  192. package/dist/actions/get-current-user-s-profile.d.cts.map +1 -1
  193. package/dist/actions/get-current-user-s-profile.d.mts +28 -3
  194. package/dist/actions/get-current-user-s-profile.d.mts.map +1 -1
  195. package/dist/actions/get-current-user-s-profile.mjs +11 -11
  196. package/dist/actions/get-current-user-s-profile.mjs.map +1 -1
  197. package/dist/actions/get-currently-playing-track.cjs.map +1 -1
  198. package/dist/actions/get-currently-playing-track.d.cts +138 -3
  199. package/dist/actions/get-currently-playing-track.d.cts.map +1 -1
  200. package/dist/actions/get-currently-playing-track.d.mts +138 -3
  201. package/dist/actions/get-currently-playing-track.d.mts.map +1 -1
  202. package/dist/actions/get-currently-playing-track.mjs.map +1 -1
  203. package/dist/actions/get-episode.cjs +2 -2
  204. package/dist/actions/get-episode.cjs.map +1 -1
  205. package/dist/actions/get-episode.d.cts +57 -3
  206. package/dist/actions/get-episode.d.cts.map +1 -1
  207. package/dist/actions/get-episode.d.mts +57 -3
  208. package/dist/actions/get-episode.d.mts.map +1 -1
  209. package/dist/actions/get-episode.mjs +2 -2
  210. package/dist/actions/get-episode.mjs.map +1 -1
  211. package/dist/actions/get-featured-playlists.cjs.map +1 -1
  212. package/dist/actions/get-featured-playlists.d.cts +54 -3
  213. package/dist/actions/get-featured-playlists.d.cts.map +1 -1
  214. package/dist/actions/get-featured-playlists.d.mts +54 -3
  215. package/dist/actions/get-featured-playlists.d.mts.map +1 -1
  216. package/dist/actions/get-featured-playlists.mjs.map +1 -1
  217. package/dist/actions/get-followed-artists.cjs +11 -11
  218. package/dist/actions/get-followed-artists.cjs.map +1 -1
  219. package/dist/actions/get-followed-artists.d.cts +47 -3
  220. package/dist/actions/get-followed-artists.d.cts.map +1 -1
  221. package/dist/actions/get-followed-artists.d.mts +47 -3
  222. package/dist/actions/get-followed-artists.d.mts.map +1 -1
  223. package/dist/actions/get-followed-artists.mjs +11 -11
  224. package/dist/actions/get-followed-artists.mjs.map +1 -1
  225. package/dist/actions/get-new-releases.cjs +3 -3
  226. package/dist/actions/get-new-releases.cjs.map +1 -1
  227. package/dist/actions/get-new-releases.d.cts +45 -3
  228. package/dist/actions/get-new-releases.d.cts.map +1 -1
  229. package/dist/actions/get-new-releases.d.mts +45 -3
  230. package/dist/actions/get-new-releases.d.mts.map +1 -1
  231. package/dist/actions/get-new-releases.mjs +3 -3
  232. package/dist/actions/get-new-releases.mjs.map +1 -1
  233. package/dist/actions/get-playback-state.cjs +89 -89
  234. package/dist/actions/get-playback-state.cjs.map +1 -1
  235. package/dist/actions/get-playback-state.d.cts +206 -3
  236. package/dist/actions/get-playback-state.d.cts.map +1 -1
  237. package/dist/actions/get-playback-state.d.mts +206 -3
  238. package/dist/actions/get-playback-state.d.mts.map +1 -1
  239. package/dist/actions/get-playback-state.mjs +89 -89
  240. package/dist/actions/get-playback-state.mjs.map +1 -1
  241. package/dist/actions/get-playlist-cover-image.cjs +2 -2
  242. package/dist/actions/get-playlist-cover-image.cjs.map +1 -1
  243. package/dist/actions/get-playlist-cover-image.d.cts +13 -3
  244. package/dist/actions/get-playlist-cover-image.d.cts.map +1 -1
  245. package/dist/actions/get-playlist-cover-image.d.mts +13 -3
  246. package/dist/actions/get-playlist-cover-image.d.mts.map +1 -1
  247. package/dist/actions/get-playlist-cover-image.mjs +2 -2
  248. package/dist/actions/get-playlist-cover-image.mjs.map +1 -1
  249. package/dist/actions/get-playlist-items.cjs.map +1 -1
  250. package/dist/actions/get-playlist-items.d.cts +206 -3
  251. package/dist/actions/get-playlist-items.d.cts.map +1 -1
  252. package/dist/actions/get-playlist-items.d.mts +206 -3
  253. package/dist/actions/get-playlist-items.d.mts.map +1 -1
  254. package/dist/actions/get-playlist-items.mjs.map +1 -1
  255. package/dist/actions/get-playlist.cjs +8 -8
  256. package/dist/actions/get-playlist.cjs.map +1 -1
  257. package/dist/actions/get-playlist.d.cts +205 -3
  258. package/dist/actions/get-playlist.d.cts.map +1 -1
  259. package/dist/actions/get-playlist.d.mts +205 -3
  260. package/dist/actions/get-playlist.d.mts.map +1 -1
  261. package/dist/actions/get-playlist.mjs +8 -8
  262. package/dist/actions/get-playlist.mjs.map +1 -1
  263. package/dist/actions/get-recently-played-tracks.cjs +25 -25
  264. package/dist/actions/get-recently-played-tracks.cjs.map +1 -1
  265. package/dist/actions/get-recently-played-tracks.d.cts +102 -3
  266. package/dist/actions/get-recently-played-tracks.d.cts.map +1 -1
  267. package/dist/actions/get-recently-played-tracks.d.mts +102 -3
  268. package/dist/actions/get-recently-played-tracks.d.mts.map +1 -1
  269. package/dist/actions/get-recently-played-tracks.mjs +25 -25
  270. package/dist/actions/get-recently-played-tracks.mjs.map +1 -1
  271. package/dist/actions/get-recommendations.cjs +1 -1
  272. package/dist/actions/get-recommendations.cjs.map +1 -1
  273. package/dist/actions/get-recommendations.d.cts +121 -3
  274. package/dist/actions/get-recommendations.d.cts.map +1 -1
  275. package/dist/actions/get-recommendations.d.mts +121 -3
  276. package/dist/actions/get-recommendations.d.mts.map +1 -1
  277. package/dist/actions/get-recommendations.mjs +1 -1
  278. package/dist/actions/get-recommendations.mjs.map +1 -1
  279. package/dist/actions/get-several-albums.cjs +6 -6
  280. package/dist/actions/get-several-albums.cjs.map +1 -1
  281. package/dist/actions/get-several-albums.d.cts +76 -3
  282. package/dist/actions/get-several-albums.d.cts.map +1 -1
  283. package/dist/actions/get-several-albums.d.mts +76 -3
  284. package/dist/actions/get-several-albums.d.mts.map +1 -1
  285. package/dist/actions/get-several-albums.mjs +6 -6
  286. package/dist/actions/get-several-albums.mjs.map +1 -1
  287. package/dist/actions/get-several-artists.cjs +1 -1
  288. package/dist/actions/get-several-artists.cjs.map +1 -1
  289. package/dist/actions/get-several-artists.d.cts +29 -3
  290. package/dist/actions/get-several-artists.d.cts.map +1 -1
  291. package/dist/actions/get-several-artists.d.mts +29 -3
  292. package/dist/actions/get-several-artists.d.mts.map +1 -1
  293. package/dist/actions/get-several-artists.mjs +1 -1
  294. package/dist/actions/get-several-artists.mjs.map +1 -1
  295. package/dist/actions/get-several-audiobooks.cjs +3 -3
  296. package/dist/actions/get-several-audiobooks.cjs.map +1 -1
  297. package/dist/actions/get-several-audiobooks.d.cts +74 -3
  298. package/dist/actions/get-several-audiobooks.d.cts.map +1 -1
  299. package/dist/actions/get-several-audiobooks.d.mts +74 -3
  300. package/dist/actions/get-several-audiobooks.d.mts.map +1 -1
  301. package/dist/actions/get-several-audiobooks.mjs +3 -3
  302. package/dist/actions/get-several-audiobooks.mjs.map +1 -1
  303. package/dist/actions/get-several-browse-categories.cjs.map +1 -1
  304. package/dist/actions/get-several-browse-categories.d.cts +30 -3
  305. package/dist/actions/get-several-browse-categories.d.cts.map +1 -1
  306. package/dist/actions/get-several-browse-categories.d.mts +30 -3
  307. package/dist/actions/get-several-browse-categories.d.mts.map +1 -1
  308. package/dist/actions/get-several-browse-categories.mjs.map +1 -1
  309. package/dist/actions/get-several-chapters.cjs +3 -3
  310. package/dist/actions/get-several-chapters.cjs.map +1 -1
  311. package/dist/actions/get-several-chapters.d.cts +73 -3
  312. package/dist/actions/get-several-chapters.d.cts.map +1 -1
  313. package/dist/actions/get-several-chapters.d.mts +73 -3
  314. package/dist/actions/get-several-chapters.d.mts.map +1 -1
  315. package/dist/actions/get-several-chapters.mjs +3 -3
  316. package/dist/actions/get-several-chapters.mjs.map +1 -1
  317. package/dist/actions/get-several-episodes.cjs +3 -3
  318. package/dist/actions/get-several-episodes.cjs.map +1 -1
  319. package/dist/actions/get-several-episodes.d.cts +61 -3
  320. package/dist/actions/get-several-episodes.d.cts.map +1 -1
  321. package/dist/actions/get-several-episodes.d.mts +61 -3
  322. package/dist/actions/get-several-episodes.d.mts.map +1 -1
  323. package/dist/actions/get-several-episodes.mjs +3 -3
  324. package/dist/actions/get-several-episodes.mjs.map +1 -1
  325. package/dist/actions/get-several-shows.cjs +2 -2
  326. package/dist/actions/get-several-shows.cjs.map +1 -1
  327. package/dist/actions/get-several-shows.d.cts +36 -3
  328. package/dist/actions/get-several-shows.d.cts.map +1 -1
  329. package/dist/actions/get-several-shows.d.mts +36 -3
  330. package/dist/actions/get-several-shows.d.mts.map +1 -1
  331. package/dist/actions/get-several-shows.mjs +2 -2
  332. package/dist/actions/get-several-shows.mjs.map +1 -1
  333. package/dist/actions/get-several-tracks.cjs +6 -6
  334. package/dist/actions/get-several-tracks.cjs.map +1 -1
  335. package/dist/actions/get-several-tracks.d.cts +58 -3
  336. package/dist/actions/get-several-tracks.d.cts.map +1 -1
  337. package/dist/actions/get-several-tracks.d.mts +58 -3
  338. package/dist/actions/get-several-tracks.d.mts.map +1 -1
  339. package/dist/actions/get-several-tracks.mjs +6 -6
  340. package/dist/actions/get-several-tracks.mjs.map +1 -1
  341. package/dist/actions/get-show-episodes.cjs +1 -1
  342. package/dist/actions/get-show-episodes.cjs.map +1 -1
  343. package/dist/actions/get-show-episodes.d.cts +47 -3
  344. package/dist/actions/get-show-episodes.d.cts.map +1 -1
  345. package/dist/actions/get-show-episodes.d.mts +47 -3
  346. package/dist/actions/get-show-episodes.d.mts.map +1 -1
  347. package/dist/actions/get-show-episodes.mjs +1 -1
  348. package/dist/actions/get-show-episodes.mjs.map +1 -1
  349. package/dist/actions/get-show.cjs +2 -2
  350. package/dist/actions/get-show.cjs.map +1 -1
  351. package/dist/actions/get-show.d.cts +62 -3
  352. package/dist/actions/get-show.d.cts.map +1 -1
  353. package/dist/actions/get-show.d.mts +62 -3
  354. package/dist/actions/get-show.d.mts.map +1 -1
  355. package/dist/actions/get-show.mjs +2 -2
  356. package/dist/actions/get-show.mjs.map +1 -1
  357. package/dist/actions/get-single-browse-category.cjs.map +1 -1
  358. package/dist/actions/get-single-browse-category.d.cts +18 -3
  359. package/dist/actions/get-single-browse-category.d.cts.map +1 -1
  360. package/dist/actions/get-single-browse-category.d.mts +18 -3
  361. package/dist/actions/get-single-browse-category.d.mts.map +1 -1
  362. package/dist/actions/get-single-browse-category.mjs.map +1 -1
  363. package/dist/actions/get-the-user-s-queue.cjs.map +1 -1
  364. package/dist/actions/get-the-user-s-queue.d.cts +80 -3
  365. package/dist/actions/get-the-user-s-queue.d.cts.map +1 -1
  366. package/dist/actions/get-the-user-s-queue.d.mts +80 -3
  367. package/dist/actions/get-the-user-s-queue.d.mts.map +1 -1
  368. package/dist/actions/get-the-user-s-queue.mjs.map +1 -1
  369. package/dist/actions/get-track-s-audio-analysis.cjs.map +1 -1
  370. package/dist/actions/get-track-s-audio-analysis.d.cts +81 -3
  371. package/dist/actions/get-track-s-audio-analysis.d.cts.map +1 -1
  372. package/dist/actions/get-track-s-audio-analysis.d.mts +81 -3
  373. package/dist/actions/get-track-s-audio-analysis.d.mts.map +1 -1
  374. package/dist/actions/get-track-s-audio-analysis.mjs.map +1 -1
  375. package/dist/actions/get-track.cjs +9 -9
  376. package/dist/actions/get-track.cjs.map +1 -1
  377. package/dist/actions/get-track.d.cts +51 -3
  378. package/dist/actions/get-track.d.cts.map +1 -1
  379. package/dist/actions/get-track.d.mts +51 -3
  380. package/dist/actions/get-track.d.mts.map +1 -1
  381. package/dist/actions/get-track.mjs +9 -9
  382. package/dist/actions/get-track.mjs.map +1 -1
  383. package/dist/actions/get-user-s-playlists.cjs +20 -20
  384. package/dist/actions/get-user-s-playlists.cjs.map +1 -1
  385. package/dist/actions/get-user-s-playlists.d.cts +54 -3
  386. package/dist/actions/get-user-s-playlists.d.cts.map +1 -1
  387. package/dist/actions/get-user-s-playlists.d.mts +54 -3
  388. package/dist/actions/get-user-s-playlists.d.mts.map +1 -1
  389. package/dist/actions/get-user-s-playlists.mjs +20 -20
  390. package/dist/actions/get-user-s-playlists.mjs.map +1 -1
  391. package/dist/actions/get-user-s-profile.cjs +10 -10
  392. package/dist/actions/get-user-s-profile.cjs.map +1 -1
  393. package/dist/actions/get-user-s-profile.d.cts +25 -3
  394. package/dist/actions/get-user-s-profile.d.cts.map +1 -1
  395. package/dist/actions/get-user-s-profile.d.mts +25 -3
  396. package/dist/actions/get-user-s-profile.d.mts.map +1 -1
  397. package/dist/actions/get-user-s-profile.mjs +10 -10
  398. package/dist/actions/get-user-s-profile.mjs.map +1 -1
  399. package/dist/actions/get-user-s-saved-albums.cjs +2 -2
  400. package/dist/actions/get-user-s-saved-albums.cjs.map +1 -1
  401. package/dist/actions/get-user-s-saved-albums.d.cts +30 -3
  402. package/dist/actions/get-user-s-saved-albums.d.cts.map +1 -1
  403. package/dist/actions/get-user-s-saved-albums.d.mts +30 -3
  404. package/dist/actions/get-user-s-saved-albums.d.mts.map +1 -1
  405. package/dist/actions/get-user-s-saved-albums.mjs +2 -2
  406. package/dist/actions/get-user-s-saved-albums.mjs.map +1 -1
  407. package/dist/actions/get-user-s-saved-audiobooks.cjs +1 -1
  408. package/dist/actions/get-user-s-saved-audiobooks.cjs.map +1 -1
  409. package/dist/actions/get-user-s-saved-audiobooks.d.cts +48 -3
  410. package/dist/actions/get-user-s-saved-audiobooks.d.cts.map +1 -1
  411. package/dist/actions/get-user-s-saved-audiobooks.d.mts +48 -3
  412. package/dist/actions/get-user-s-saved-audiobooks.d.mts.map +1 -1
  413. package/dist/actions/get-user-s-saved-audiobooks.mjs +1 -1
  414. package/dist/actions/get-user-s-saved-audiobooks.mjs.map +1 -1
  415. package/dist/actions/get-user-s-saved-episodes.cjs +2 -2
  416. package/dist/actions/get-user-s-saved-episodes.cjs.map +1 -1
  417. package/dist/actions/get-user-s-saved-episodes.d.cts +67 -3
  418. package/dist/actions/get-user-s-saved-episodes.d.cts.map +1 -1
  419. package/dist/actions/get-user-s-saved-episodes.d.mts +67 -3
  420. package/dist/actions/get-user-s-saved-episodes.d.mts.map +1 -1
  421. package/dist/actions/get-user-s-saved-episodes.mjs +2 -2
  422. package/dist/actions/get-user-s-saved-episodes.mjs.map +1 -1
  423. package/dist/actions/get-user-s-saved-shows.cjs +1 -1
  424. package/dist/actions/get-user-s-saved-shows.cjs.map +1 -1
  425. package/dist/actions/get-user-s-saved-shows.d.cts +45 -3
  426. package/dist/actions/get-user-s-saved-shows.d.cts.map +1 -1
  427. package/dist/actions/get-user-s-saved-shows.d.mts +45 -3
  428. package/dist/actions/get-user-s-saved-shows.d.mts.map +1 -1
  429. package/dist/actions/get-user-s-saved-shows.mjs +1 -1
  430. package/dist/actions/get-user-s-saved-shows.mjs.map +1 -1
  431. package/dist/actions/get-user-s-saved-tracks.cjs +26 -26
  432. package/dist/actions/get-user-s-saved-tracks.cjs.map +1 -1
  433. package/dist/actions/get-user-s-saved-tracks.d.cts +84 -3
  434. package/dist/actions/get-user-s-saved-tracks.d.cts.map +1 -1
  435. package/dist/actions/get-user-s-saved-tracks.d.mts +84 -3
  436. package/dist/actions/get-user-s-saved-tracks.d.mts.map +1 -1
  437. package/dist/actions/get-user-s-saved-tracks.mjs +26 -26
  438. package/dist/actions/get-user-s-saved-tracks.mjs.map +1 -1
  439. package/dist/actions/get-user-s-top-artists.cjs +16 -16
  440. package/dist/actions/get-user-s-top-artists.cjs.map +1 -1
  441. package/dist/actions/get-user-s-top-artists.d.cts +43 -3
  442. package/dist/actions/get-user-s-top-artists.d.cts.map +1 -1
  443. package/dist/actions/get-user-s-top-artists.d.mts +43 -3
  444. package/dist/actions/get-user-s-top-artists.d.mts.map +1 -1
  445. package/dist/actions/get-user-s-top-artists.mjs +16 -16
  446. package/dist/actions/get-user-s-top-artists.mjs.map +1 -1
  447. package/dist/actions/get-user-s-top-tracks.cjs +39 -39
  448. package/dist/actions/get-user-s-top-tracks.cjs.map +1 -1
  449. package/dist/actions/get-user-s-top-tracks.d.cts +97 -3
  450. package/dist/actions/get-user-s-top-tracks.d.cts.map +1 -1
  451. package/dist/actions/get-user-s-top-tracks.d.mts +97 -3
  452. package/dist/actions/get-user-s-top-tracks.d.mts.map +1 -1
  453. package/dist/actions/get-user-s-top-tracks.mjs +39 -39
  454. package/dist/actions/get-user-s-top-tracks.mjs.map +1 -1
  455. package/dist/actions/pause-playback.cjs +1 -1
  456. package/dist/actions/pause-playback.cjs.map +1 -1
  457. package/dist/actions/pause-playback.d.cts +9 -3
  458. package/dist/actions/pause-playback.d.cts.map +1 -1
  459. package/dist/actions/pause-playback.d.mts +9 -3
  460. package/dist/actions/pause-playback.d.mts.map +1 -1
  461. package/dist/actions/pause-playback.mjs +1 -1
  462. package/dist/actions/pause-playback.mjs.map +1 -1
  463. package/dist/actions/remove-playlist-items.cjs.map +1 -1
  464. package/dist/actions/remove-playlist-items.d.cts +20 -3
  465. package/dist/actions/remove-playlist-items.d.cts.map +1 -1
  466. package/dist/actions/remove-playlist-items.d.mts +20 -3
  467. package/dist/actions/remove-playlist-items.d.mts.map +1 -1
  468. package/dist/actions/remove-playlist-items.mjs.map +1 -1
  469. package/dist/actions/remove-user-s-saved-audiobooks.cjs +3 -3
  470. package/dist/actions/remove-user-s-saved-audiobooks.cjs.map +1 -1
  471. package/dist/actions/remove-user-s-saved-audiobooks.d.cts +12 -3
  472. package/dist/actions/remove-user-s-saved-audiobooks.d.cts.map +1 -1
  473. package/dist/actions/remove-user-s-saved-audiobooks.d.mts +12 -3
  474. package/dist/actions/remove-user-s-saved-audiobooks.d.mts.map +1 -1
  475. package/dist/actions/remove-user-s-saved-audiobooks.mjs +3 -3
  476. package/dist/actions/remove-user-s-saved-audiobooks.mjs.map +1 -1
  477. package/dist/actions/remove-user-s-saved-episodes.cjs +1 -1
  478. package/dist/actions/remove-user-s-saved-episodes.cjs.map +1 -1
  479. package/dist/actions/remove-user-s-saved-episodes.d.cts +10 -3
  480. package/dist/actions/remove-user-s-saved-episodes.d.cts.map +1 -1
  481. package/dist/actions/remove-user-s-saved-episodes.d.mts +10 -3
  482. package/dist/actions/remove-user-s-saved-episodes.d.mts.map +1 -1
  483. package/dist/actions/remove-user-s-saved-episodes.mjs +1 -1
  484. package/dist/actions/remove-user-s-saved-episodes.mjs.map +1 -1
  485. package/dist/actions/remove-user-s-saved-shows.cjs.map +1 -1
  486. package/dist/actions/remove-user-s-saved-shows.d.cts +11 -3
  487. package/dist/actions/remove-user-s-saved-shows.d.cts.map +1 -1
  488. package/dist/actions/remove-user-s-saved-shows.d.mts +11 -3
  489. package/dist/actions/remove-user-s-saved-shows.d.mts.map +1 -1
  490. package/dist/actions/remove-user-s-saved-shows.mjs.map +1 -1
  491. package/dist/actions/remove-user-s-saved-tracks.cjs +1 -1
  492. package/dist/actions/remove-user-s-saved-tracks.cjs.map +1 -1
  493. package/dist/actions/remove-user-s-saved-tracks.d.cts +12 -3
  494. package/dist/actions/remove-user-s-saved-tracks.d.cts.map +1 -1
  495. package/dist/actions/remove-user-s-saved-tracks.d.mts +12 -3
  496. package/dist/actions/remove-user-s-saved-tracks.d.mts.map +1 -1
  497. package/dist/actions/remove-user-s-saved-tracks.mjs +1 -1
  498. package/dist/actions/remove-user-s-saved-tracks.mjs.map +1 -1
  499. package/dist/actions/remove-users-saved-albums.cjs.map +1 -1
  500. package/dist/actions/remove-users-saved-albums.d.cts +10 -3
  501. package/dist/actions/remove-users-saved-albums.d.cts.map +1 -1
  502. package/dist/actions/remove-users-saved-albums.d.mts +10 -3
  503. package/dist/actions/remove-users-saved-albums.d.mts.map +1 -1
  504. package/dist/actions/remove-users-saved-albums.mjs.map +1 -1
  505. package/dist/actions/save-albums-for-current-user.cjs +1 -1
  506. package/dist/actions/save-albums-for-current-user.cjs.map +1 -1
  507. package/dist/actions/save-albums-for-current-user.d.cts +10 -3
  508. package/dist/actions/save-albums-for-current-user.d.cts.map +1 -1
  509. package/dist/actions/save-albums-for-current-user.d.mts +10 -3
  510. package/dist/actions/save-albums-for-current-user.d.mts.map +1 -1
  511. package/dist/actions/save-albums-for-current-user.mjs +1 -1
  512. package/dist/actions/save-albums-for-current-user.mjs.map +1 -1
  513. package/dist/actions/save-audiobooks-for-current-user.cjs +1 -1
  514. package/dist/actions/save-audiobooks-for-current-user.cjs.map +1 -1
  515. package/dist/actions/save-audiobooks-for-current-user.d.cts +10 -3
  516. package/dist/actions/save-audiobooks-for-current-user.d.cts.map +1 -1
  517. package/dist/actions/save-audiobooks-for-current-user.d.mts +10 -3
  518. package/dist/actions/save-audiobooks-for-current-user.d.mts.map +1 -1
  519. package/dist/actions/save-audiobooks-for-current-user.mjs +1 -1
  520. package/dist/actions/save-audiobooks-for-current-user.mjs.map +1 -1
  521. package/dist/actions/save-episodes-for-current-user.cjs +1 -1
  522. package/dist/actions/save-episodes-for-current-user.cjs.map +1 -1
  523. package/dist/actions/save-episodes-for-current-user.d.cts +10 -3
  524. package/dist/actions/save-episodes-for-current-user.d.cts.map +1 -1
  525. package/dist/actions/save-episodes-for-current-user.d.mts +10 -3
  526. package/dist/actions/save-episodes-for-current-user.d.mts.map +1 -1
  527. package/dist/actions/save-episodes-for-current-user.mjs +1 -1
  528. package/dist/actions/save-episodes-for-current-user.mjs.map +1 -1
  529. package/dist/actions/save-shows-for-current-user.cjs +1 -1
  530. package/dist/actions/save-shows-for-current-user.cjs.map +1 -1
  531. package/dist/actions/save-shows-for-current-user.d.cts +9 -3
  532. package/dist/actions/save-shows-for-current-user.d.cts.map +1 -1
  533. package/dist/actions/save-shows-for-current-user.d.mts +9 -3
  534. package/dist/actions/save-shows-for-current-user.d.mts.map +1 -1
  535. package/dist/actions/save-shows-for-current-user.mjs +1 -1
  536. package/dist/actions/save-shows-for-current-user.mjs.map +1 -1
  537. package/dist/actions/save-tracks-for-current-user.cjs +1 -1
  538. package/dist/actions/save-tracks-for-current-user.cjs.map +1 -1
  539. package/dist/actions/save-tracks-for-current-user.d.cts +18 -3
  540. package/dist/actions/save-tracks-for-current-user.d.cts.map +1 -1
  541. package/dist/actions/save-tracks-for-current-user.d.mts +18 -3
  542. package/dist/actions/save-tracks-for-current-user.d.mts.map +1 -1
  543. package/dist/actions/save-tracks-for-current-user.mjs +1 -1
  544. package/dist/actions/save-tracks-for-current-user.mjs.map +1 -1
  545. package/dist/actions/search-for-item.cjs +1 -1
  546. package/dist/actions/search-for-item.cjs.map +1 -1
  547. package/dist/actions/search-for-item.d.cts +91 -3
  548. package/dist/actions/search-for-item.d.cts.map +1 -1
  549. package/dist/actions/search-for-item.d.mts +91 -3
  550. package/dist/actions/search-for-item.d.mts.map +1 -1
  551. package/dist/actions/search-for-item.mjs +1 -1
  552. package/dist/actions/search-for-item.mjs.map +1 -1
  553. package/dist/actions/seek-to-position.cjs.map +1 -1
  554. package/dist/actions/seek-to-position.d.cts +11 -3
  555. package/dist/actions/seek-to-position.d.cts.map +1 -1
  556. package/dist/actions/seek-to-position.d.mts +11 -3
  557. package/dist/actions/seek-to-position.d.mts.map +1 -1
  558. package/dist/actions/seek-to-position.mjs.map +1 -1
  559. package/dist/actions/set-playback-volume.cjs +1 -1
  560. package/dist/actions/set-playback-volume.cjs.map +1 -1
  561. package/dist/actions/set-playback-volume.d.cts +11 -3
  562. package/dist/actions/set-playback-volume.d.cts.map +1 -1
  563. package/dist/actions/set-playback-volume.d.mts +11 -3
  564. package/dist/actions/set-playback-volume.d.mts.map +1 -1
  565. package/dist/actions/set-playback-volume.mjs +1 -1
  566. package/dist/actions/set-playback-volume.mjs.map +1 -1
  567. package/dist/actions/set-repeat-mode.cjs +1 -1
  568. package/dist/actions/set-repeat-mode.cjs.map +1 -1
  569. package/dist/actions/set-repeat-mode.d.cts +15 -3
  570. package/dist/actions/set-repeat-mode.d.cts.map +1 -1
  571. package/dist/actions/set-repeat-mode.d.mts +15 -3
  572. package/dist/actions/set-repeat-mode.d.mts.map +1 -1
  573. package/dist/actions/set-repeat-mode.mjs +1 -1
  574. package/dist/actions/set-repeat-mode.mjs.map +1 -1
  575. package/dist/actions/skip-to-next.cjs.map +1 -1
  576. package/dist/actions/skip-to-next.d.cts +10 -3
  577. package/dist/actions/skip-to-next.d.cts.map +1 -1
  578. package/dist/actions/skip-to-next.d.mts +10 -3
  579. package/dist/actions/skip-to-next.d.mts.map +1 -1
  580. package/dist/actions/skip-to-next.mjs.map +1 -1
  581. package/dist/actions/skip-to-previous.cjs +1 -1
  582. package/dist/actions/skip-to-previous.cjs.map +1 -1
  583. package/dist/actions/skip-to-previous.d.cts +9 -3
  584. package/dist/actions/skip-to-previous.d.cts.map +1 -1
  585. package/dist/actions/skip-to-previous.d.mts +9 -3
  586. package/dist/actions/skip-to-previous.d.mts.map +1 -1
  587. package/dist/actions/skip-to-previous.mjs +1 -1
  588. package/dist/actions/skip-to-previous.mjs.map +1 -1
  589. package/dist/actions/start-resume-playback.cjs +1 -1
  590. package/dist/actions/start-resume-playback.cjs.map +1 -1
  591. package/dist/actions/start-resume-playback.d.cts +17 -3
  592. package/dist/actions/start-resume-playback.d.cts.map +1 -1
  593. package/dist/actions/start-resume-playback.d.mts +17 -3
  594. package/dist/actions/start-resume-playback.d.mts.map +1 -1
  595. package/dist/actions/start-resume-playback.mjs +1 -1
  596. package/dist/actions/start-resume-playback.mjs.map +1 -1
  597. package/dist/actions/toggle-playback-shuffle.cjs.map +1 -1
  598. package/dist/actions/toggle-playback-shuffle.d.cts +12 -3
  599. package/dist/actions/toggle-playback-shuffle.d.cts.map +1 -1
  600. package/dist/actions/toggle-playback-shuffle.d.mts +12 -3
  601. package/dist/actions/toggle-playback-shuffle.d.mts.map +1 -1
  602. package/dist/actions/toggle-playback-shuffle.mjs.map +1 -1
  603. package/dist/actions/transfer-playback.cjs +1 -1
  604. package/dist/actions/transfer-playback.cjs.map +1 -1
  605. package/dist/actions/transfer-playback.d.cts +12 -3
  606. package/dist/actions/transfer-playback.d.cts.map +1 -1
  607. package/dist/actions/transfer-playback.d.mts +12 -3
  608. package/dist/actions/transfer-playback.d.mts.map +1 -1
  609. package/dist/actions/transfer-playback.mjs +1 -1
  610. package/dist/actions/transfer-playback.mjs.map +1 -1
  611. package/dist/actions/unfollow-artists-or-users.cjs.map +1 -1
  612. package/dist/actions/unfollow-artists-or-users.d.cts +15 -3
  613. package/dist/actions/unfollow-artists-or-users.d.cts.map +1 -1
  614. package/dist/actions/unfollow-artists-or-users.d.mts +15 -3
  615. package/dist/actions/unfollow-artists-or-users.d.mts.map +1 -1
  616. package/dist/actions/unfollow-artists-or-users.mjs.map +1 -1
  617. package/dist/actions/unfollow-playlist.cjs.map +1 -1
  618. package/dist/actions/unfollow-playlist.d.cts +10 -3
  619. package/dist/actions/unfollow-playlist.d.cts.map +1 -1
  620. package/dist/actions/unfollow-playlist.d.mts +10 -3
  621. package/dist/actions/unfollow-playlist.d.mts.map +1 -1
  622. package/dist/actions/unfollow-playlist.mjs.map +1 -1
  623. package/dist/actions/update-playlist-items.cjs +1 -1
  624. package/dist/actions/update-playlist-items.cjs.map +1 -1
  625. package/dist/actions/update-playlist-items.d.cts +19 -3
  626. package/dist/actions/update-playlist-items.d.cts.map +1 -1
  627. package/dist/actions/update-playlist-items.d.mts +19 -3
  628. package/dist/actions/update-playlist-items.d.mts.map +1 -1
  629. package/dist/actions/update-playlist-items.mjs +1 -1
  630. package/dist/actions/update-playlist-items.mjs.map +1 -1
  631. package/package.json +2 -2
@@ -1,9 +1,15 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/skip-to-previous.d.ts
4
- declare const SpotifySkipToPreviousInput: z.ZodTypeAny;
5
- declare const SpotifySkipToPreviousOutput: z.ZodTypeAny;
6
- declare const spotifySkipToPrevious: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SpotifySkipToPreviousInput: z.ZodObject<{
5
+ device_id: z.ZodOptional<z.ZodString>;
6
+ }, z.core.$strip>;
7
+ declare const SpotifySkipToPreviousOutput: z.ZodObject<{
8
+ success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
9
+ }, z.core.$loose>;
10
+ declare const spotifySkipToPrevious: import("@keystrokehq/action").WorkflowActionDefinition<{
11
+ device_id?: string | undefined;
12
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
13
  //#endregion
8
14
  export { spotifySkipToPrevious };
9
15
  //# sourceMappingURL=skip-to-previous.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"skip-to-previous.d.mts","names":[],"sources":["../../src/actions/skip-to-previous.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAEO;AAAA,cACrC,2BAAA,EAA6B,CAAA,CAAE,UAEgI;AAAA,cAE/J,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"skip-to-previous.d.mts","names":[],"sources":["../../src/actions/skip-to-previous.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;cAG1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAI3B,qBAAA,gCAAqB,wBAAA"}
@@ -5,7 +5,7 @@ const spotifySkipToPrevious = action("SPOTIFY_SKIP_TO_PREVIOUS", {
5
5
  name: "Skip to previous",
6
6
  description: "Skips to the previous track in the user's queue. Requirements: - Spotify Premium subscription - Active playback (user must be currently playing music) - Requires 'user-modify-playback-state' scope Note: The order of execution is not guaranteed when you use this API with other Player API endpoints.",
7
7
  input: z.object({ 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() }).describe("Request schema for `SkipToPrevious`"),
8
- output: z.object({ success: z.boolean().default(true).nullable().optional() }).describe("Response schema for `SkipToPrevious`\n\nThe Spotify API returns HTTP 204 No Content on success.\nThis response object will be empty when the action succeeds.")
8
+ output: z.object({ success: z.boolean().default(true).nullable().optional() }).passthrough().describe("Response schema for `SkipToPrevious`\n\nThe Spotify API returns HTTP 204 No Content on success.\nThis response object will be empty when the action succeeds.")
9
9
  });
10
10
  //#endregion
11
11
  export { spotifySkipToPrevious };
@@ -1 +1 @@
1
- {"version":3,"file":"skip-to-previous.mjs","names":[],"sources":["../../src/actions/skip-to-previous.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifySkipToPreviousInput: z.ZodTypeAny = z.object({\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 `SkipToPrevious`\");\nexport const SpotifySkipToPreviousOutput: z.ZodTypeAny = z.object({\n success: z.boolean().default(true).nullable().optional(),\n}).describe(\"Response schema for `SkipToPrevious`\\n\\nThe Spotify API returns HTTP 204 No Content on success.\\nThis response object will be empty when the action succeeds.\");\n\nexport const spotifySkipToPrevious = action(\"SPOTIFY_SKIP_TO_PREVIOUS\", {\n slug: \"spotify-skip-to-previous\",\n name: \"Skip to previous\",\n description: \"Skips to the previous track in the user's queue. Requirements: - Spotify Premium subscription - Active playback (user must be currently playing music) - Requires 'user-modify-playback-state' scope Note: The order of execution is not guaranteed when you use this API with other Player API endpoints.\",\n input: SpotifySkipToPreviousInput,\n output: SpotifySkipToPreviousOutput,\n});\n"],"mappings":";;AAWA,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXsD,EAAE,OAAO,EAC/D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS,EAChK,CAAC,CAAC,CAAC,SAAS,qCASH;CACP,QATuD,EAAE,OAAO,EAChE,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzD,CAAC,CAAC,CAAC,SAAS,+JAOF;AACV,CAAC"}
1
+ {"version":3,"file":"skip-to-previous.mjs","names":[],"sources":["../../src/actions/skip-to-previous.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifySkipToPreviousInput = z.object({\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 `SkipToPrevious`\");\nexport const SpotifySkipToPreviousOutput = z.object({\n success: z.boolean().default(true).nullable().optional(),\n}).passthrough().describe(\"Response schema for `SkipToPrevious`\\n\\nThe Spotify API returns HTTP 204 No Content on success.\\nThis response object will be empty when the action succeeds.\");\n\nexport const spotifySkipToPrevious = action(\"SPOTIFY_SKIP_TO_PREVIOUS\", {\n slug: \"spotify-skip-to-previous\",\n name: \"Skip to previous\",\n description: \"Skips to the previous track in the user's queue. Requirements: - Spotify Premium subscription - Active playback (user must be currently playing music) - Requires 'user-modify-playback-state' scope Note: The order of execution is not guaranteed when you use this API with other Player API endpoints.\",\n input: SpotifySkipToPreviousInput,\n output: SpotifySkipToPreviousOutput,\n});\n"],"mappings":";;AAWA,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXwC,EAAE,OAAO,EACjD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS,EAChK,CAAC,CAAC,CAAC,SAAS,qCASH;CACP,QATyC,EAAE,OAAO,EAClD,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+JAOhB;AACV,CAAC"}
@@ -8,7 +8,7 @@ const SpotifyStartResumePlaybackInput = zod.z.object({
8
8
  context_uri: zod.z.string().describe("Spotify URI of the context to play. Valid contexts are albums, artists, or playlists. Example: 'spotify:album:1Je1IMUlBXcx1Fz0WE7oPT' or 'spotify:playlist:37i9dQZF1DXcBWIGoYBM5M'. Cannot be used with 'uris' parameter.").optional(),
9
9
  position_ms: zod.z.number().int().describe("Position in milliseconds to start playback. Must be a positive number. If greater than the track length, the player will skip to the next song. Example: 25000 (starts 25 seconds into the track).").optional()
10
10
  }).describe("Request schema for `StartResumePlayback`");
11
- const SpotifyStartResumePlaybackOutput = zod.z.object({ success: zod.z.boolean().default(true).nullable().optional() }).describe("Response schema for `StartResumePlayback`\n\nThe Spotify API returns HTTP 204 No Content on successful playback start/resume.\nThis response object will indicate success when the action completes.");
11
+ const SpotifyStartResumePlaybackOutput = zod.z.object({ success: zod.z.boolean().default(true).nullable().optional() }).passthrough().describe("Response schema for `StartResumePlayback`\n\nThe Spotify API returns HTTP 204 No Content on successful playback start/resume.\nThis response object will indicate success when the action completes.");
12
12
  const spotifyStartResumePlayback = require_action.action("SPOTIFY_START_RESUME_PLAYBACK", {
13
13
  slug: "spotify-start-resume-playback",
14
14
  name: "Start resume playback",
@@ -1 +1 @@
1
- {"version":3,"file":"start-resume-playback.cjs","names":["z","action"],"sources":["../../src/actions/start-resume-playback.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyStartResumePlaybackInput: z.ZodTypeAny = z.object({\n uris: z.array(z.string()).describe(\"List of Spotify track URIs to play. Example: ['spotify:track:4iV5W9uYEdYUVa79Axb7Rh', 'spotify:track:1301WleyT98MSxVHPZCA6M']. Cannot be used with 'context_uri' parameter.\").optional(),\n offset: z.record(z.string(), z.unknown()).describe(\"Starting position in the context. Only available when 'context_uri' is an album or playlist. Use either 'position' (zero-based track index) or 'uri' (specific track URI). Example with position: {'position': 5}. Example with URI: {'uri': 'spotify:track:1301WleyT98MSxVHPZCA6M'}.\").optional(),\n device_id: z.string().describe(\"The ID of the device to target for playback. If not provided, playback will start/resume on the currently active device. Use the 'get_available_devices' action to retrieve device IDs.\").optional(),\n context_uri: z.string().describe(\"Spotify URI of the context to play. Valid contexts are albums, artists, or playlists. Example: 'spotify:album:1Je1IMUlBXcx1Fz0WE7oPT' or 'spotify:playlist:37i9dQZF1DXcBWIGoYBM5M'. Cannot be used with 'uris' parameter.\").optional(),\n position_ms: z.number().int().describe(\"Position in milliseconds to start playback. Must be a positive number. If greater than the track length, the player will skip to the next song. Example: 25000 (starts 25 seconds into the track).\").optional(),\n}).describe(\"Request schema for `StartResumePlayback`\");\nexport const SpotifyStartResumePlaybackOutput: z.ZodTypeAny = z.object({\n success: z.boolean().default(true).nullable().optional(),\n}).describe(\"Response schema for `StartResumePlayback`\\n\\nThe Spotify API returns HTTP 204 No Content on successful playback start/resume.\\nThis response object will indicate success when the action completes.\");\n\nexport const spotifyStartResumePlayback = action(\"SPOTIFY_START_RESUME_PLAYBACK\", {\n slug: \"spotify-start-resume-playback\",\n name: \"Start resume playback\",\n description: \"Start a new context or resume current playback on the user's active device. Starts playback of a specific context (album, artist, or playlist), a list of tracks, or resumes currently paused playback. Returns immediately with success when playback starts. Requirements: - Spotify Premium subscription - OAuth scope: user-modify-playback-state - At least one active Spotify device (mobile, desktop, web player, or smart speaker) Usage patterns: - Resume paused playback: Call with no parameters - Play an album/playlist: Use 'context_uri' parameter - Play specific tracks: Use 'uris' parameter - Play from a specific track in a context: Use 'context_uri' with 'offset' - Start from a specific position in a track: Use 'position_ms' Note: The order of execution is not guaranteed when you use this API with other Player API endpoints. You cannot use both 'context_uri' and 'uris' parameters together. Common error scenarios: - 403: User does not have Spotify Premium - 404: No active device found\",\n input: SpotifyStartResumePlaybackInput,\n output: SpotifyStartResumePlaybackOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6KAA6K,CAAC,CAAC,SAAS;CAC3N,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uRAAuR,CAAC,CAAC,SAAS;CACrV,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yLAAyL,CAAC,CAAC,SAAS;CACnO,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2NAA2N,CAAC,CAAC,SAAS;CACvQ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oMAAoM,CAAC,CAAC,SAAS;AACxP,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAa,mCAAiDA,IAAAA,EAAE,OAAO,EACrE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzD,CAAC,CAAC,CAAC,SAAS,sMAAsM;AAElN,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"start-resume-playback.cjs","names":["z","action"],"sources":["../../src/actions/start-resume-playback.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyStartResumePlaybackInput = z.object({\n uris: z.array(z.string()).describe(\"List of Spotify track URIs to play. Example: ['spotify:track:4iV5W9uYEdYUVa79Axb7Rh', 'spotify:track:1301WleyT98MSxVHPZCA6M']. Cannot be used with 'context_uri' parameter.\").optional(),\n offset: z.record(z.string(), z.unknown()).describe(\"Starting position in the context. Only available when 'context_uri' is an album or playlist. Use either 'position' (zero-based track index) or 'uri' (specific track URI). Example with position: {'position': 5}. Example with URI: {'uri': 'spotify:track:1301WleyT98MSxVHPZCA6M'}.\").optional(),\n device_id: z.string().describe(\"The ID of the device to target for playback. If not provided, playback will start/resume on the currently active device. Use the 'get_available_devices' action to retrieve device IDs.\").optional(),\n context_uri: z.string().describe(\"Spotify URI of the context to play. Valid contexts are albums, artists, or playlists. Example: 'spotify:album:1Je1IMUlBXcx1Fz0WE7oPT' or 'spotify:playlist:37i9dQZF1DXcBWIGoYBM5M'. Cannot be used with 'uris' parameter.\").optional(),\n position_ms: z.number().int().describe(\"Position in milliseconds to start playback. Must be a positive number. If greater than the track length, the player will skip to the next song. Example: 25000 (starts 25 seconds into the track).\").optional(),\n}).describe(\"Request schema for `StartResumePlayback`\");\nexport const SpotifyStartResumePlaybackOutput = z.object({\n success: z.boolean().default(true).nullable().optional(),\n}).passthrough().describe(\"Response schema for `StartResumePlayback`\\n\\nThe Spotify API returns HTTP 204 No Content on successful playback start/resume.\\nThis response object will indicate success when the action completes.\");\n\nexport const spotifyStartResumePlayback = action(\"SPOTIFY_START_RESUME_PLAYBACK\", {\n slug: \"spotify-start-resume-playback\",\n name: \"Start resume playback\",\n description: \"Start a new context or resume current playback on the user's active device. Starts playback of a specific context (album, artist, or playlist), a list of tracks, or resumes currently paused playback. Returns immediately with success when playback starts. Requirements: - Spotify Premium subscription - OAuth scope: user-modify-playback-state - At least one active Spotify device (mobile, desktop, web player, or smart speaker) Usage patterns: - Resume paused playback: Call with no parameters - Play an album/playlist: Use 'context_uri' parameter - Play specific tracks: Use 'uris' parameter - Play from a specific track in a context: Use 'context_uri' with 'offset' - Start from a specific position in a track: Use 'position_ms' Note: The order of execution is not guaranteed when you use this API with other Player API endpoints. You cannot use both 'context_uri' and 'uris' parameters together. Common error scenarios: - 403: User does not have Spotify Premium - 404: No active device found\",\n input: SpotifyStartResumePlaybackInput,\n output: SpotifyStartResumePlaybackOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6KAA6K,CAAC,CAAC,SAAS;CAC3N,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uRAAuR,CAAC,CAAC,SAAS;CACrV,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yLAAyL,CAAC,CAAC,SAAS;CACnO,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2NAA2N,CAAC,CAAC,SAAS;CACvQ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oMAAoM,CAAC,CAAC,SAAS;AACxP,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sMAAsM;AAEhO,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,23 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/start-resume-playback.d.ts
4
- declare const SpotifyStartResumePlaybackInput: z.ZodTypeAny;
5
- declare const SpotifyStartResumePlaybackOutput: z.ZodTypeAny;
6
- declare const spotifyStartResumePlayback: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SpotifyStartResumePlaybackInput: z.ZodObject<{
5
+ uris: z.ZodOptional<z.ZodArray<z.ZodString>>;
6
+ offset: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
7
+ device_id: z.ZodOptional<z.ZodString>;
8
+ context_uri: z.ZodOptional<z.ZodString>;
9
+ position_ms: z.ZodOptional<z.ZodNumber>;
10
+ }, z.core.$strip>;
11
+ declare const SpotifyStartResumePlaybackOutput: z.ZodObject<{
12
+ success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
13
+ }, z.core.$loose>;
14
+ declare const spotifyStartResumePlayback: import("@keystrokehq/action").WorkflowActionDefinition<{
15
+ uris?: string[] | undefined;
16
+ offset?: Record<string, unknown> | undefined;
17
+ device_id?: string | undefined;
18
+ context_uri?: string | undefined;
19
+ position_ms?: number | undefined;
20
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
21
  //#endregion
8
22
  export { spotifyStartResumePlayback };
9
23
  //# sourceMappingURL=start-resume-playback.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"start-resume-playback.d.cts","names":[],"sources":["../../src/actions/start-resume-playback.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAMO;AAAA,cAC1C,gCAAA,EAAkC,CAAA,CAAE,UAEkK;AAAA,cAEtM,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"start-resume-playback.d.cts","names":[],"sources":["../../src/actions/start-resume-playback.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;cAO/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAIhC,0BAAA,gCAA0B,wBAAA;;WAMrC,MAAA"}
@@ -1,9 +1,23 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/start-resume-playback.d.ts
4
- declare const SpotifyStartResumePlaybackInput: z.ZodTypeAny;
5
- declare const SpotifyStartResumePlaybackOutput: z.ZodTypeAny;
6
- declare const spotifyStartResumePlayback: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SpotifyStartResumePlaybackInput: z.ZodObject<{
5
+ uris: z.ZodOptional<z.ZodArray<z.ZodString>>;
6
+ offset: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
7
+ device_id: z.ZodOptional<z.ZodString>;
8
+ context_uri: z.ZodOptional<z.ZodString>;
9
+ position_ms: z.ZodOptional<z.ZodNumber>;
10
+ }, z.core.$strip>;
11
+ declare const SpotifyStartResumePlaybackOutput: z.ZodObject<{
12
+ success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
13
+ }, z.core.$loose>;
14
+ declare const spotifyStartResumePlayback: import("@keystrokehq/action").WorkflowActionDefinition<{
15
+ uris?: string[] | undefined;
16
+ offset?: Record<string, unknown> | undefined;
17
+ device_id?: string | undefined;
18
+ context_uri?: string | undefined;
19
+ position_ms?: number | undefined;
20
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
21
  //#endregion
8
22
  export { spotifyStartResumePlayback };
9
23
  //# sourceMappingURL=start-resume-playback.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"start-resume-playback.d.mts","names":[],"sources":["../../src/actions/start-resume-playback.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAMO;AAAA,cAC1C,gCAAA,EAAkC,CAAA,CAAE,UAEkK;AAAA,cAEtM,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"start-resume-playback.d.mts","names":[],"sources":["../../src/actions/start-resume-playback.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;cAO/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAIhC,0BAAA,gCAA0B,wBAAA;;WAMrC,MAAA"}
@@ -11,7 +11,7 @@ const spotifyStartResumePlayback = action("SPOTIFY_START_RESUME_PLAYBACK", {
11
11
  context_uri: z.string().describe("Spotify URI of the context to play. Valid contexts are albums, artists, or playlists. Example: 'spotify:album:1Je1IMUlBXcx1Fz0WE7oPT' or 'spotify:playlist:37i9dQZF1DXcBWIGoYBM5M'. Cannot be used with 'uris' parameter.").optional(),
12
12
  position_ms: z.number().int().describe("Position in milliseconds to start playback. Must be a positive number. If greater than the track length, the player will skip to the next song. Example: 25000 (starts 25 seconds into the track).").optional()
13
13
  }).describe("Request schema for `StartResumePlayback`"),
14
- output: z.object({ success: z.boolean().default(true).nullable().optional() }).describe("Response schema for `StartResumePlayback`\n\nThe Spotify API returns HTTP 204 No Content on successful playback start/resume.\nThis response object will indicate success when the action completes.")
14
+ output: z.object({ success: z.boolean().default(true).nullable().optional() }).passthrough().describe("Response schema for `StartResumePlayback`\n\nThe Spotify API returns HTTP 204 No Content on successful playback start/resume.\nThis response object will indicate success when the action completes.")
15
15
  });
16
16
  //#endregion
17
17
  export { spotifyStartResumePlayback };
@@ -1 +1 @@
1
- {"version":3,"file":"start-resume-playback.mjs","names":[],"sources":["../../src/actions/start-resume-playback.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyStartResumePlaybackInput: z.ZodTypeAny = z.object({\n uris: z.array(z.string()).describe(\"List of Spotify track URIs to play. Example: ['spotify:track:4iV5W9uYEdYUVa79Axb7Rh', 'spotify:track:1301WleyT98MSxVHPZCA6M']. Cannot be used with 'context_uri' parameter.\").optional(),\n offset: z.record(z.string(), z.unknown()).describe(\"Starting position in the context. Only available when 'context_uri' is an album or playlist. Use either 'position' (zero-based track index) or 'uri' (specific track URI). Example with position: {'position': 5}. Example with URI: {'uri': 'spotify:track:1301WleyT98MSxVHPZCA6M'}.\").optional(),\n device_id: z.string().describe(\"The ID of the device to target for playback. If not provided, playback will start/resume on the currently active device. Use the 'get_available_devices' action to retrieve device IDs.\").optional(),\n context_uri: z.string().describe(\"Spotify URI of the context to play. Valid contexts are albums, artists, or playlists. Example: 'spotify:album:1Je1IMUlBXcx1Fz0WE7oPT' or 'spotify:playlist:37i9dQZF1DXcBWIGoYBM5M'. Cannot be used with 'uris' parameter.\").optional(),\n position_ms: z.number().int().describe(\"Position in milliseconds to start playback. Must be a positive number. If greater than the track length, the player will skip to the next song. Example: 25000 (starts 25 seconds into the track).\").optional(),\n}).describe(\"Request schema for `StartResumePlayback`\");\nexport const SpotifyStartResumePlaybackOutput: z.ZodTypeAny = z.object({\n success: z.boolean().default(true).nullable().optional(),\n}).describe(\"Response schema for `StartResumePlayback`\\n\\nThe Spotify API returns HTTP 204 No Content on successful playback start/resume.\\nThis response object will indicate success when the action completes.\");\n\nexport const spotifyStartResumePlayback = action(\"SPOTIFY_START_RESUME_PLAYBACK\", {\n slug: \"spotify-start-resume-playback\",\n name: \"Start resume playback\",\n description: \"Start a new context or resume current playback on the user's active device. Starts playback of a specific context (album, artist, or playlist), a list of tracks, or resumes currently paused playback. Returns immediately with success when playback starts. Requirements: - Spotify Premium subscription - OAuth scope: user-modify-playback-state - At least one active Spotify device (mobile, desktop, web player, or smart speaker) Usage patterns: - Resume paused playback: Call with no parameters - Play an album/playlist: Use 'context_uri' parameter - Play specific tracks: Use 'uris' parameter - Play from a specific track in a context: Use 'context_uri' with 'offset' - Start from a specific position in a track: Use 'position_ms' Note: The order of execution is not guaranteed when you use this API with other Player API endpoints. You cannot use both 'context_uri' and 'uris' parameters together. Common error scenarios: - 403: User does not have Spotify Premium - 404: No active device found\",\n input: SpotifyStartResumePlaybackInput,\n output: SpotifyStartResumePlaybackOutput,\n});\n"],"mappings":";;AAeA,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf2D,EAAE,OAAO;EACpE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6KAA6K,CAAC,CAAC,SAAS;EAC3N,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uRAAuR,CAAC,CAAC,SAAS;EACrV,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yLAAyL,CAAC,CAAC,SAAS;EACnO,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2NAA2N,CAAC,CAAC,SAAS;EACvQ,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oMAAoM,CAAC,CAAC,SAAS;CACxP,CAAC,CAAC,CAAC,SAAS,0CASH;CACP,QAT4D,EAAE,OAAO,EACrE,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzD,CAAC,CAAC,CAAC,SAAS,sMAOF;AACV,CAAC"}
1
+ {"version":3,"file":"start-resume-playback.mjs","names":[],"sources":["../../src/actions/start-resume-playback.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyStartResumePlaybackInput = z.object({\n uris: z.array(z.string()).describe(\"List of Spotify track URIs to play. Example: ['spotify:track:4iV5W9uYEdYUVa79Axb7Rh', 'spotify:track:1301WleyT98MSxVHPZCA6M']. Cannot be used with 'context_uri' parameter.\").optional(),\n offset: z.record(z.string(), z.unknown()).describe(\"Starting position in the context. Only available when 'context_uri' is an album or playlist. Use either 'position' (zero-based track index) or 'uri' (specific track URI). Example with position: {'position': 5}. Example with URI: {'uri': 'spotify:track:1301WleyT98MSxVHPZCA6M'}.\").optional(),\n device_id: z.string().describe(\"The ID of the device to target for playback. If not provided, playback will start/resume on the currently active device. Use the 'get_available_devices' action to retrieve device IDs.\").optional(),\n context_uri: z.string().describe(\"Spotify URI of the context to play. Valid contexts are albums, artists, or playlists. Example: 'spotify:album:1Je1IMUlBXcx1Fz0WE7oPT' or 'spotify:playlist:37i9dQZF1DXcBWIGoYBM5M'. Cannot be used with 'uris' parameter.\").optional(),\n position_ms: z.number().int().describe(\"Position in milliseconds to start playback. Must be a positive number. If greater than the track length, the player will skip to the next song. Example: 25000 (starts 25 seconds into the track).\").optional(),\n}).describe(\"Request schema for `StartResumePlayback`\");\nexport const SpotifyStartResumePlaybackOutput = z.object({\n success: z.boolean().default(true).nullable().optional(),\n}).passthrough().describe(\"Response schema for `StartResumePlayback`\\n\\nThe Spotify API returns HTTP 204 No Content on successful playback start/resume.\\nThis response object will indicate success when the action completes.\");\n\nexport const spotifyStartResumePlayback = action(\"SPOTIFY_START_RESUME_PLAYBACK\", {\n slug: \"spotify-start-resume-playback\",\n name: \"Start resume playback\",\n description: \"Start a new context or resume current playback on the user's active device. Starts playback of a specific context (album, artist, or playlist), a list of tracks, or resumes currently paused playback. Returns immediately with success when playback starts. Requirements: - Spotify Premium subscription - OAuth scope: user-modify-playback-state - At least one active Spotify device (mobile, desktop, web player, or smart speaker) Usage patterns: - Resume paused playback: Call with no parameters - Play an album/playlist: Use 'context_uri' parameter - Play specific tracks: Use 'uris' parameter - Play from a specific track in a context: Use 'context_uri' with 'offset' - Start from a specific position in a track: Use 'position_ms' Note: The order of execution is not guaranteed when you use this API with other Player API endpoints. You cannot use both 'context_uri' and 'uris' parameters together. Common error scenarios: - 403: User does not have Spotify Premium - 404: No active device found\",\n input: SpotifyStartResumePlaybackInput,\n output: SpotifyStartResumePlaybackOutput,\n});\n"],"mappings":";;AAeA,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf6C,EAAE,OAAO;EACtD,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6KAA6K,CAAC,CAAC,SAAS;EAC3N,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uRAAuR,CAAC,CAAC,SAAS;EACrV,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yLAAyL,CAAC,CAAC,SAAS;EACnO,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2NAA2N,CAAC,CAAC,SAAS;EACvQ,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oMAAoM,CAAC,CAAC,SAAS;CACxP,CAAC,CAAC,CAAC,SAAS,0CASH;CACP,QAT8C,EAAE,OAAO,EACvD,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sMAOhB;AACV,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"toggle-playback-shuffle.cjs","names":["z","action"],"sources":["../../src/actions/toggle-playback-shuffle.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyTogglePlaybackShuffleInput: z.ZodTypeAny = z.object({\n state: z.boolean().describe(\"true: Enable shuffle for user's playback. false: Disable shuffle for user's playback.\"),\n device_id: z.string().describe(\"The ID of the device to target for playback control. If not provided, the command will target the user's currently active device. Device IDs can be retrieved from the Get Available Devices endpoint.\").optional(),\n}).describe(\"Request schema for `TogglePlaybackShuffle`\");\nexport const SpotifyTogglePlaybackShuffleOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Optional message about the operation.\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Whether the shuffle state was successfully toggled.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `TogglePlaybackShuffle`. Returns success status since the API returns empty body on success.\");\n\nexport const spotifyTogglePlaybackShuffle = action(\"SPOTIFY_TOGGLE_PLAYBACK_SHUFFLE\", {\n slug: \"spotify-toggle-playback-shuffle\",\n name: \"Toggle playback shuffle\",\n description: \"Toggle shuffle on or off for user's playback. This API only works for users who have Spotify Premium. The order of execution is not guaranteed when you use this API with other Player API endpoints. Required OAuth scope: user-modify-playback-state Note: This endpoint returns 204 No Content on success, 404 if no active device is found, and 403 if the user does not have an active Spotify Premium subscription.\",\n input: SpotifyTogglePlaybackShuffleInput,\n output: SpotifyTogglePlaybackShuffleOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uFAAuF;CACnH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM,CAAC,CAAC,SAAS;AACpP,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAa,qCAAmDA,IAAAA,EAAE,OAAO;CACvE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kHAAkH;AAE5I,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"toggle-playback-shuffle.cjs","names":["z","action"],"sources":["../../src/actions/toggle-playback-shuffle.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyTogglePlaybackShuffleInput = z.object({\n state: z.boolean().describe(\"true: Enable shuffle for user's playback. false: Disable shuffle for user's playback.\"),\n device_id: z.string().describe(\"The ID of the device to target for playback control. If not provided, the command will target the user's currently active device. Device IDs can be retrieved from the Get Available Devices endpoint.\").optional(),\n}).describe(\"Request schema for `TogglePlaybackShuffle`\");\nexport const SpotifyTogglePlaybackShuffleOutput = z.object({\n message: z.string().describe(\"Optional message about the operation.\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Whether the shuffle state was successfully toggled.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `TogglePlaybackShuffle`. Returns success status since the API returns empty body on success.\");\n\nexport const spotifyTogglePlaybackShuffle = action(\"SPOTIFY_TOGGLE_PLAYBACK_SHUFFLE\", {\n slug: \"spotify-toggle-playback-shuffle\",\n name: \"Toggle playback shuffle\",\n description: \"Toggle shuffle on or off for user's playback. This API only works for users who have Spotify Premium. The order of execution is not guaranteed when you use this API with other Player API endpoints. Required OAuth scope: user-modify-playback-state Note: This endpoint returns 204 No Content on success, 404 if no active device is found, and 403 if the user does not have an active Spotify Premium subscription.\",\n input: SpotifyTogglePlaybackShuffleInput,\n output: SpotifyTogglePlaybackShuffleOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uFAAuF;CACnH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM,CAAC,CAAC,SAAS;AACpP,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kHAAkH;AAE5I,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,18 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/toggle-playback-shuffle.d.ts
4
- declare const SpotifyTogglePlaybackShuffleInput: z.ZodTypeAny;
5
- declare const SpotifyTogglePlaybackShuffleOutput: z.ZodTypeAny;
6
- declare const spotifyTogglePlaybackShuffle: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SpotifyTogglePlaybackShuffleInput: z.ZodObject<{
5
+ state: z.ZodBoolean;
6
+ device_id: z.ZodOptional<z.ZodString>;
7
+ }, z.core.$strip>;
8
+ declare const SpotifyTogglePlaybackShuffleOutput: z.ZodObject<{
9
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
11
+ }, z.core.$loose>;
12
+ declare const spotifyTogglePlaybackShuffle: import("@keystrokehq/action").WorkflowActionDefinition<{
13
+ state: boolean;
14
+ device_id?: string | undefined;
15
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
16
  //#endregion
8
17
  export { spotifyTogglePlaybackShuffle };
9
18
  //# sourceMappingURL=toggle-playback-shuffle.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"toggle-playback-shuffle.d.cts","names":[],"sources":["../../src/actions/toggle-playback-shuffle.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAGO;AAAA,cAC5C,kCAAA,EAAoC,CAAA,CAAE,UAG0F;AAAA,cAEhI,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"toggle-playback-shuffle.d.cts","names":[],"sources":["../../src/actions/toggle-playback-shuffle.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;cAIjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;cAKlC,4BAAA,gCAA4B,wBAAA"}
@@ -1,9 +1,18 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/toggle-playback-shuffle.d.ts
4
- declare const SpotifyTogglePlaybackShuffleInput: z.ZodTypeAny;
5
- declare const SpotifyTogglePlaybackShuffleOutput: z.ZodTypeAny;
6
- declare const spotifyTogglePlaybackShuffle: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SpotifyTogglePlaybackShuffleInput: z.ZodObject<{
5
+ state: z.ZodBoolean;
6
+ device_id: z.ZodOptional<z.ZodString>;
7
+ }, z.core.$strip>;
8
+ declare const SpotifyTogglePlaybackShuffleOutput: z.ZodObject<{
9
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
11
+ }, z.core.$loose>;
12
+ declare const spotifyTogglePlaybackShuffle: import("@keystrokehq/action").WorkflowActionDefinition<{
13
+ state: boolean;
14
+ device_id?: string | undefined;
15
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
16
  //#endregion
8
17
  export { spotifyTogglePlaybackShuffle };
9
18
  //# sourceMappingURL=toggle-playback-shuffle.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"toggle-playback-shuffle.d.mts","names":[],"sources":["../../src/actions/toggle-playback-shuffle.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAGO;AAAA,cAC5C,kCAAA,EAAoC,CAAA,CAAE,UAG0F;AAAA,cAEhI,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"toggle-playback-shuffle.d.mts","names":[],"sources":["../../src/actions/toggle-playback-shuffle.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;cAIjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;cAKlC,4BAAA,gCAA4B,wBAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"toggle-playback-shuffle.mjs","names":[],"sources":["../../src/actions/toggle-playback-shuffle.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyTogglePlaybackShuffleInput: z.ZodTypeAny = z.object({\n state: z.boolean().describe(\"true: Enable shuffle for user's playback. false: Disable shuffle for user's playback.\"),\n device_id: z.string().describe(\"The ID of the device to target for playback control. If not provided, the command will target the user's currently active device. Device IDs can be retrieved from the Get Available Devices endpoint.\").optional(),\n}).describe(\"Request schema for `TogglePlaybackShuffle`\");\nexport const SpotifyTogglePlaybackShuffleOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Optional message about the operation.\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Whether the shuffle state was successfully toggled.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `TogglePlaybackShuffle`. Returns success status since the API returns empty body on success.\");\n\nexport const spotifyTogglePlaybackShuffle = action(\"SPOTIFY_TOGGLE_PLAYBACK_SHUFFLE\", {\n slug: \"spotify-toggle-playback-shuffle\",\n name: \"Toggle playback shuffle\",\n description: \"Toggle shuffle on or off for user's playback. This API only works for users who have Spotify Premium. The order of execution is not guaranteed when you use this API with other Player API endpoints. Required OAuth scope: user-modify-playback-state Note: This endpoint returns 204 No Content on success, 404 if no active device is found, and 403 if the user does not have an active Spotify Premium subscription.\",\n input: SpotifyTogglePlaybackShuffleInput,\n output: SpotifyTogglePlaybackShuffleOutput,\n});\n"],"mappings":";;AAaA,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb6D,EAAE,OAAO;EACtE,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,uFAAuF;EACnH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM,CAAC,CAAC,SAAS;CACpP,CAAC,CAAC,CAAC,SAAS,4CAUH;CACP,QAV8D,EAAE,OAAO;EACvE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kHAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"toggle-playback-shuffle.mjs","names":[],"sources":["../../src/actions/toggle-playback-shuffle.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyTogglePlaybackShuffleInput = z.object({\n state: z.boolean().describe(\"true: Enable shuffle for user's playback. false: Disable shuffle for user's playback.\"),\n device_id: z.string().describe(\"The ID of the device to target for playback control. If not provided, the command will target the user's currently active device. Device IDs can be retrieved from the Get Available Devices endpoint.\").optional(),\n}).describe(\"Request schema for `TogglePlaybackShuffle`\");\nexport const SpotifyTogglePlaybackShuffleOutput = z.object({\n message: z.string().describe(\"Optional message about the operation.\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Whether the shuffle state was successfully toggled.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `TogglePlaybackShuffle`. Returns success status since the API returns empty body on success.\");\n\nexport const spotifyTogglePlaybackShuffle = action(\"SPOTIFY_TOGGLE_PLAYBACK_SHUFFLE\", {\n slug: \"spotify-toggle-playback-shuffle\",\n name: \"Toggle playback shuffle\",\n description: \"Toggle shuffle on or off for user's playback. This API only works for users who have Spotify Premium. The order of execution is not guaranteed when you use this API with other Player API endpoints. Required OAuth scope: user-modify-playback-state Note: This endpoint returns 204 No Content on success, 404 if no active device is found, and 403 if the user does not have an active Spotify Premium subscription.\",\n input: SpotifyTogglePlaybackShuffleInput,\n output: SpotifyTogglePlaybackShuffleOutput,\n});\n"],"mappings":";;AAaA,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb+C,EAAE,OAAO;EACxD,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,uFAAuF;EACnH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM,CAAC,CAAC,SAAS;CACpP,CAAC,CAAC,CAAC,SAAS,4CAUH;CACP,QAVgD,EAAE,OAAO;EACzD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kHAOhB;AACV,CAAC"}
@@ -8,7 +8,7 @@ const SpotifyTransferPlaybackInput = zod.z.object({
8
8
  const SpotifyTransferPlaybackOutput = zod.z.object({
9
9
  message: zod.z.string().default("Playback transferred successfully").describe("Status message for the transfer operation").nullable().optional(),
10
10
  success: zod.z.boolean().default(true).describe("Indicates whether the playback transfer was successful").nullable().optional()
11
- }).describe("Response schema for `TransferPlayback`\n\nNote: The Spotify API returns HTTP 204 No Content on success with an empty response body.\nThe framework wraps this as a success indicator in the data field.");
11
+ }).passthrough().describe("Response schema for `TransferPlayback`\n\nNote: The Spotify API returns HTTP 204 No Content on success with an empty response body.\nThe framework wraps this as a success indicator in the data field.");
12
12
  const spotifyTransferPlayback = require_action.action("SPOTIFY_TRANSFER_PLAYBACK", {
13
13
  slug: "spotify-transfer-playback",
14
14
  name: "Transfer playback",
@@ -1 +1 @@
1
- {"version":3,"file":"transfer-playback.cjs","names":["z","action"],"sources":["../../src/actions/transfer-playback.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyTransferPlaybackInput: z.ZodTypeAny = z.object({\n play: z.boolean().describe(\"Whether to start playback on the new device. If true, playback will start on the new device. If false or not provided, the current playback state is maintained.\").optional(),\n device_ids: z.array(z.string()).describe(\"List containing the device ID to transfer playback to. Note: Only a single device_id is currently supported by Spotify API. Obtain device IDs using the get_available_devices action. Example: ['74ASZWbe4lXaubB36ztrGX']\"),\n}).describe(\"Request schema for `TransferPlayback`\");\nexport const SpotifyTransferPlaybackOutput: z.ZodTypeAny = z.object({\n message: z.string().default(\"Playback transferred successfully\").describe(\"Status message for the transfer operation\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the playback transfer was successful\").nullable().optional(),\n}).describe(\"Response schema for `TransferPlayback`\\n\\nNote: The Spotify API returns HTTP 204 No Content on success with an empty response body.\\nThe framework wraps this as a success indicator in the data field.\");\n\nexport const spotifyTransferPlayback = action(\"SPOTIFY_TRANSFER_PLAYBACK\", {\n slug: \"spotify-transfer-playback\",\n name: \"Transfer playback\",\n description: \"Transfer playback to a new device and optionally begin playback. Requirements: - Spotify Premium subscription is required - Target device must be active and available (use Get Available Devices to retrieve device IDs) - Requires user-modify-playback-state scope Note: The order of execution is not guaranteed when you use this API with other Player API endpoints. Returns 204 No Content on success, 403 Forbidden if user doesn't have Premium.\",\n input: SpotifyTransferPlaybackInput,\n output: SpotifyTransferPlaybackOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kKAAkK,CAAC,CAAC,SAAS;CACxM,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2NAA2N;AACtQ,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,mCAAmC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,SAAS,yMAAyM;AAErN,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"transfer-playback.cjs","names":["z","action"],"sources":["../../src/actions/transfer-playback.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyTransferPlaybackInput = z.object({\n play: z.boolean().describe(\"Whether to start playback on the new device. If true, playback will start on the new device. If false or not provided, the current playback state is maintained.\").optional(),\n device_ids: z.array(z.string()).describe(\"List containing the device ID to transfer playback to. Note: Only a single device_id is currently supported by Spotify API. Obtain device IDs using the get_available_devices action. Example: ['74ASZWbe4lXaubB36ztrGX']\"),\n}).describe(\"Request schema for `TransferPlayback`\");\nexport const SpotifyTransferPlaybackOutput = z.object({\n message: z.string().default(\"Playback transferred successfully\").describe(\"Status message for the transfer operation\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the playback transfer was successful\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `TransferPlayback`\\n\\nNote: The Spotify API returns HTTP 204 No Content on success with an empty response body.\\nThe framework wraps this as a success indicator in the data field.\");\n\nexport const spotifyTransferPlayback = action(\"SPOTIFY_TRANSFER_PLAYBACK\", {\n slug: \"spotify-transfer-playback\",\n name: \"Transfer playback\",\n description: \"Transfer playback to a new device and optionally begin playback. Requirements: - Spotify Premium subscription is required - Target device must be active and available (use Get Available Devices to retrieve device IDs) - Requires user-modify-playback-state scope Note: The order of execution is not guaranteed when you use this API with other Player API endpoints. Returns 204 No Content on success, 403 Forbidden if user doesn't have Premium.\",\n input: SpotifyTransferPlaybackInput,\n output: SpotifyTransferPlaybackOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kKAAkK,CAAC,CAAC,SAAS;CACxM,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2NAA2N;AACtQ,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,mCAAmC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yMAAyM;AAEnO,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,18 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/transfer-playback.d.ts
4
- declare const SpotifyTransferPlaybackInput: z.ZodTypeAny;
5
- declare const SpotifyTransferPlaybackOutput: z.ZodTypeAny;
6
- declare const spotifyTransferPlayback: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SpotifyTransferPlaybackInput: z.ZodObject<{
5
+ play: z.ZodOptional<z.ZodBoolean>;
6
+ device_ids: z.ZodArray<z.ZodString>;
7
+ }, z.core.$strip>;
8
+ declare const SpotifyTransferPlaybackOutput: z.ZodObject<{
9
+ message: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
10
+ success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
11
+ }, z.core.$loose>;
12
+ declare const spotifyTransferPlayback: import("@keystrokehq/action").WorkflowActionDefinition<{
13
+ device_ids: string[];
14
+ play?: boolean | undefined;
15
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
16
  //#endregion
8
17
  export { spotifyTransferPlayback };
9
18
  //# sourceMappingURL=transfer-playback.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"transfer-playback.d.cts","names":[],"sources":["../../src/actions/transfer-playback.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAGO;AAAA,cACvC,6BAAA,EAA+B,CAAA,CAAE,UAGwK;AAAA,cAEzM,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"transfer-playback.d.cts","names":[],"sources":["../../src/actions/transfer-playback.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAI5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAK7B,uBAAA,gCAAuB,wBAAA"}
@@ -1,9 +1,18 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/transfer-playback.d.ts
4
- declare const SpotifyTransferPlaybackInput: z.ZodTypeAny;
5
- declare const SpotifyTransferPlaybackOutput: z.ZodTypeAny;
6
- declare const spotifyTransferPlayback: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SpotifyTransferPlaybackInput: z.ZodObject<{
5
+ play: z.ZodOptional<z.ZodBoolean>;
6
+ device_ids: z.ZodArray<z.ZodString>;
7
+ }, z.core.$strip>;
8
+ declare const SpotifyTransferPlaybackOutput: z.ZodObject<{
9
+ message: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
10
+ success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
11
+ }, z.core.$loose>;
12
+ declare const spotifyTransferPlayback: import("@keystrokehq/action").WorkflowActionDefinition<{
13
+ device_ids: string[];
14
+ play?: boolean | undefined;
15
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
16
  //#endregion
8
17
  export { spotifyTransferPlayback };
9
18
  //# sourceMappingURL=transfer-playback.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"transfer-playback.d.mts","names":[],"sources":["../../src/actions/transfer-playback.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAGO;AAAA,cACvC,6BAAA,EAA+B,CAAA,CAAE,UAGwK;AAAA,cAEzM,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"transfer-playback.d.mts","names":[],"sources":["../../src/actions/transfer-playback.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAI5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAK7B,uBAAA,gCAAuB,wBAAA"}
@@ -11,7 +11,7 @@ const spotifyTransferPlayback = action("SPOTIFY_TRANSFER_PLAYBACK", {
11
11
  output: z.object({
12
12
  message: z.string().default("Playback transferred successfully").describe("Status message for the transfer operation").nullable().optional(),
13
13
  success: z.boolean().default(true).describe("Indicates whether the playback transfer was successful").nullable().optional()
14
- }).describe("Response schema for `TransferPlayback`\n\nNote: The Spotify API returns HTTP 204 No Content on success with an empty response body.\nThe framework wraps this as a success indicator in the data field.")
14
+ }).passthrough().describe("Response schema for `TransferPlayback`\n\nNote: The Spotify API returns HTTP 204 No Content on success with an empty response body.\nThe framework wraps this as a success indicator in the data field.")
15
15
  });
16
16
  //#endregion
17
17
  export { spotifyTransferPlayback };
@@ -1 +1 @@
1
- {"version":3,"file":"transfer-playback.mjs","names":[],"sources":["../../src/actions/transfer-playback.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyTransferPlaybackInput: z.ZodTypeAny = z.object({\n play: z.boolean().describe(\"Whether to start playback on the new device. If true, playback will start on the new device. If false or not provided, the current playback state is maintained.\").optional(),\n device_ids: z.array(z.string()).describe(\"List containing the device ID to transfer playback to. Note: Only a single device_id is currently supported by Spotify API. Obtain device IDs using the get_available_devices action. Example: ['74ASZWbe4lXaubB36ztrGX']\"),\n}).describe(\"Request schema for `TransferPlayback`\");\nexport const SpotifyTransferPlaybackOutput: z.ZodTypeAny = z.object({\n message: z.string().default(\"Playback transferred successfully\").describe(\"Status message for the transfer operation\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the playback transfer was successful\").nullable().optional(),\n}).describe(\"Response schema for `TransferPlayback`\\n\\nNote: The Spotify API returns HTTP 204 No Content on success with an empty response body.\\nThe framework wraps this as a success indicator in the data field.\");\n\nexport const spotifyTransferPlayback = action(\"SPOTIFY_TRANSFER_PLAYBACK\", {\n slug: \"spotify-transfer-playback\",\n name: \"Transfer playback\",\n description: \"Transfer playback to a new device and optionally begin playback. Requirements: - Spotify Premium subscription is required - Target device must be active and available (use Get Available Devices to retrieve device IDs) - Requires user-modify-playback-state scope Note: The order of execution is not guaranteed when you use this API with other Player API endpoints. Returns 204 No Content on success, 403 Forbidden if user doesn't have Premium.\",\n input: SpotifyTransferPlaybackInput,\n output: SpotifyTransferPlaybackOutput,\n});\n"],"mappings":";;AAaA,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbwD,EAAE,OAAO;EACjE,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,kKAAkK,CAAC,CAAC,SAAS;EACxM,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2NAA2N;CACtQ,CAAC,CAAC,CAAC,SAAS,uCAUH;CACP,QAVyD,EAAE,OAAO;EAClE,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,mCAAmC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3I,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,CAAC,CAAC,CAAC,SAAS,yMAOF;AACV,CAAC"}
1
+ {"version":3,"file":"transfer-playback.mjs","names":[],"sources":["../../src/actions/transfer-playback.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyTransferPlaybackInput = z.object({\n play: z.boolean().describe(\"Whether to start playback on the new device. If true, playback will start on the new device. If false or not provided, the current playback state is maintained.\").optional(),\n device_ids: z.array(z.string()).describe(\"List containing the device ID to transfer playback to. Note: Only a single device_id is currently supported by Spotify API. Obtain device IDs using the get_available_devices action. Example: ['74ASZWbe4lXaubB36ztrGX']\"),\n}).describe(\"Request schema for `TransferPlayback`\");\nexport const SpotifyTransferPlaybackOutput = z.object({\n message: z.string().default(\"Playback transferred successfully\").describe(\"Status message for the transfer operation\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the playback transfer was successful\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `TransferPlayback`\\n\\nNote: The Spotify API returns HTTP 204 No Content on success with an empty response body.\\nThe framework wraps this as a success indicator in the data field.\");\n\nexport const spotifyTransferPlayback = action(\"SPOTIFY_TRANSFER_PLAYBACK\", {\n slug: \"spotify-transfer-playback\",\n name: \"Transfer playback\",\n description: \"Transfer playback to a new device and optionally begin playback. Requirements: - Spotify Premium subscription is required - Target device must be active and available (use Get Available Devices to retrieve device IDs) - Requires user-modify-playback-state scope Note: The order of execution is not guaranteed when you use this API with other Player API endpoints. Returns 204 No Content on success, 403 Forbidden if user doesn't have Premium.\",\n input: SpotifyTransferPlaybackInput,\n output: SpotifyTransferPlaybackOutput,\n});\n"],"mappings":";;AAaA,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb0C,EAAE,OAAO;EACnD,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,kKAAkK,CAAC,CAAC,SAAS;EACxM,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2NAA2N;CACtQ,CAAC,CAAC,CAAC,SAAS,uCAUH;CACP,QAV2C,EAAE,OAAO;EACpD,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,mCAAmC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3I,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yMAOhB;AACV,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"unfollow-artists-or-users.cjs","names":["z","action"],"sources":["../../src/actions/unfollow-artists-or-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyUnfollowArtistsOrUsersInput: z.ZodTypeAny = z.object({\n ids: z.string().describe(\"A comma-separated list of Spotify IDs for the artists or users to unfollow. For example: '2CIMQHirSU0MQqyYHq0eOx,57dN52uHvrHOxijzpIgu3E'. A maximum of 50 IDs can be sent in one request.\"),\n type: z.enum([\"artist\", \"user\"]).describe(\"The type of Spotify entity to unfollow. Use 'artist' to unfollow musical artists/bands, or 'user' to unfollow other Spotify users.\"),\n}).describe(\"Request schema for `UnfollowArtistsOrUsers`\");\nexport const SpotifyUnfollowArtistsOrUsersOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Optional message about the operation.\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Whether the artists or users were successfully unfollowed.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `UnfollowArtistsOrUsers`. Returns success status since the API returns empty body on success (204 No Content).\");\n\nexport const spotifyUnfollowArtistsOrUsers = action(\"SPOTIFY_UNFOLLOW_ARTISTS_OR_USERS\", {\n slug: \"spotify-unfollow-artists-or-users\",\n name: \"Unfollow artists or users\",\n description: \"Remove the current user as a follower of one or more artists or other Spotify users. This action removes the specified artists or users from the current user's \\\"Following\\\" list, stopping their content from appearing in the user's personalized feed. The operation is idempotent - attempting to unfollow an already-unfollowed artist/user will succeed without error. Required OAuth scope: user-follow-modify Common use cases: - Unfollow an artist you no longer want to track - Unfollow multiple artists at once (up to 50) - Unfollow other Spotify users to stop seeing their public playlists and activity - Clean up your following list by removing inactive or irrelevant accounts Note: Artist IDs can be obtained from search results, track objects, or album objects. User IDs can be obtained from user profile endpoints or playlist owner information.\",\n input: SpotifyUnfollowArtistsOrUsersInput,\n output: SpotifyUnfollowArtistsOrUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAmDA,IAAAA,EAAE,OAAO;CACvE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2LAA2L;CACpN,MAAMA,IAAAA,EAAE,KAAK,CAAC,UAAU,MAAM,CAAC,CAAC,CAAC,SAAS,oIAAoI;AAChL,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAa,sCAAoDA,IAAAA,EAAE,OAAO;CACxE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oIAAoI;AAE9J,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"unfollow-artists-or-users.cjs","names":["z","action"],"sources":["../../src/actions/unfollow-artists-or-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyUnfollowArtistsOrUsersInput = z.object({\n ids: z.string().describe(\"A comma-separated list of Spotify IDs for the artists or users to unfollow. For example: '2CIMQHirSU0MQqyYHq0eOx,57dN52uHvrHOxijzpIgu3E'. A maximum of 50 IDs can be sent in one request.\"),\n type: z.enum([\"artist\", \"user\"]).describe(\"The type of Spotify entity to unfollow. Use 'artist' to unfollow musical artists/bands, or 'user' to unfollow other Spotify users.\"),\n}).describe(\"Request schema for `UnfollowArtistsOrUsers`\");\nexport const SpotifyUnfollowArtistsOrUsersOutput = z.object({\n message: z.string().describe(\"Optional message about the operation.\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Whether the artists or users were successfully unfollowed.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `UnfollowArtistsOrUsers`. Returns success status since the API returns empty body on success (204 No Content).\");\n\nexport const spotifyUnfollowArtistsOrUsers = action(\"SPOTIFY_UNFOLLOW_ARTISTS_OR_USERS\", {\n slug: \"spotify-unfollow-artists-or-users\",\n name: \"Unfollow artists or users\",\n description: \"Remove the current user as a follower of one or more artists or other Spotify users. This action removes the specified artists or users from the current user's \\\"Following\\\" list, stopping their content from appearing in the user's personalized feed. The operation is idempotent - attempting to unfollow an already-unfollowed artist/user will succeed without error. Required OAuth scope: user-follow-modify Common use cases: - Unfollow an artist you no longer want to track - Unfollow multiple artists at once (up to 50) - Unfollow other Spotify users to stop seeing their public playlists and activity - Clean up your following list by removing inactive or irrelevant accounts Note: Artist IDs can be obtained from search results, track objects, or album objects. User IDs can be obtained from user profile endpoints or playlist owner information.\",\n input: SpotifyUnfollowArtistsOrUsersInput,\n output: SpotifyUnfollowArtistsOrUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2LAA2L;CACpN,MAAMA,IAAAA,EAAE,KAAK,CAAC,UAAU,MAAM,CAAC,CAAC,CAAC,SAAS,oIAAoI;AAChL,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oIAAoI;AAE9J,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,21 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/unfollow-artists-or-users.d.ts
4
- declare const SpotifyUnfollowArtistsOrUsersInput: z.ZodTypeAny;
5
- declare const SpotifyUnfollowArtistsOrUsersOutput: z.ZodTypeAny;
6
- declare const spotifyUnfollowArtistsOrUsers: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SpotifyUnfollowArtistsOrUsersInput: z.ZodObject<{
5
+ ids: z.ZodString;
6
+ type: z.ZodEnum<{
7
+ user: "user";
8
+ artist: "artist";
9
+ }>;
10
+ }, z.core.$strip>;
11
+ declare const SpotifyUnfollowArtistsOrUsersOutput: z.ZodObject<{
12
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
14
+ }, z.core.$loose>;
15
+ declare const spotifyUnfollowArtistsOrUsers: import("@keystrokehq/action").WorkflowActionDefinition<{
16
+ ids: string;
17
+ type: "user" | "artist";
18
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
19
  //#endregion
8
20
  export { spotifyUnfollowArtistsOrUsers };
9
21
  //# sourceMappingURL=unfollow-artists-or-users.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"unfollow-artists-or-users.d.cts","names":[],"sources":["../../src/actions/unfollow-artists-or-users.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAGO;AAAA,cAC7C,mCAAA,EAAqC,CAAA,CAAE,UAG2G;AAAA,cAElJ,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"unfollow-artists-or-users.d.cts","names":[],"sources":["../../src/actions/unfollow-artists-or-users.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;cAIlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;cAKnC,6BAAA,gCAA6B,wBAAA"}
@@ -1,9 +1,21 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/unfollow-artists-or-users.d.ts
4
- declare const SpotifyUnfollowArtistsOrUsersInput: z.ZodTypeAny;
5
- declare const SpotifyUnfollowArtistsOrUsersOutput: z.ZodTypeAny;
6
- declare const spotifyUnfollowArtistsOrUsers: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SpotifyUnfollowArtistsOrUsersInput: z.ZodObject<{
5
+ ids: z.ZodString;
6
+ type: z.ZodEnum<{
7
+ user: "user";
8
+ artist: "artist";
9
+ }>;
10
+ }, z.core.$strip>;
11
+ declare const SpotifyUnfollowArtistsOrUsersOutput: z.ZodObject<{
12
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
14
+ }, z.core.$loose>;
15
+ declare const spotifyUnfollowArtistsOrUsers: import("@keystrokehq/action").WorkflowActionDefinition<{
16
+ ids: string;
17
+ type: "user" | "artist";
18
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
19
  //#endregion
8
20
  export { spotifyUnfollowArtistsOrUsers };
9
21
  //# sourceMappingURL=unfollow-artists-or-users.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"unfollow-artists-or-users.d.mts","names":[],"sources":["../../src/actions/unfollow-artists-or-users.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAGO;AAAA,cAC7C,mCAAA,EAAqC,CAAA,CAAE,UAG2G;AAAA,cAElJ,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"unfollow-artists-or-users.d.mts","names":[],"sources":["../../src/actions/unfollow-artists-or-users.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;cAIlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;cAKnC,6BAAA,gCAA6B,wBAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"unfollow-artists-or-users.mjs","names":[],"sources":["../../src/actions/unfollow-artists-or-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyUnfollowArtistsOrUsersInput: z.ZodTypeAny = z.object({\n ids: z.string().describe(\"A comma-separated list of Spotify IDs for the artists or users to unfollow. For example: '2CIMQHirSU0MQqyYHq0eOx,57dN52uHvrHOxijzpIgu3E'. A maximum of 50 IDs can be sent in one request.\"),\n type: z.enum([\"artist\", \"user\"]).describe(\"The type of Spotify entity to unfollow. Use 'artist' to unfollow musical artists/bands, or 'user' to unfollow other Spotify users.\"),\n}).describe(\"Request schema for `UnfollowArtistsOrUsers`\");\nexport const SpotifyUnfollowArtistsOrUsersOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Optional message about the operation.\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Whether the artists or users were successfully unfollowed.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `UnfollowArtistsOrUsers`. Returns success status since the API returns empty body on success (204 No Content).\");\n\nexport const spotifyUnfollowArtistsOrUsers = action(\"SPOTIFY_UNFOLLOW_ARTISTS_OR_USERS\", {\n slug: \"spotify-unfollow-artists-or-users\",\n name: \"Unfollow artists or users\",\n description: \"Remove the current user as a follower of one or more artists or other Spotify users. This action removes the specified artists or users from the current user's \\\"Following\\\" list, stopping their content from appearing in the user's personalized feed. The operation is idempotent - attempting to unfollow an already-unfollowed artist/user will succeed without error. Required OAuth scope: user-follow-modify Common use cases: - Unfollow an artist you no longer want to track - Unfollow multiple artists at once (up to 50) - Unfollow other Spotify users to stop seeing their public playlists and activity - Clean up your following list by removing inactive or irrelevant accounts Note: Artist IDs can be obtained from search results, track objects, or album objects. User IDs can be obtained from user profile endpoints or playlist owner information.\",\n input: SpotifyUnfollowArtistsOrUsersInput,\n output: SpotifyUnfollowArtistsOrUsersOutput,\n});\n"],"mappings":";;AAaA,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb8D,EAAE,OAAO;EACvE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2LAA2L;EACpN,MAAM,EAAE,KAAK,CAAC,UAAU,MAAM,CAAC,CAAC,CAAC,SAAS,oIAAoI;CAChL,CAAC,CAAC,CAAC,SAAS,6CAUH;CACP,QAV+D,EAAE,OAAO;EACxE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oIAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"unfollow-artists-or-users.mjs","names":[],"sources":["../../src/actions/unfollow-artists-or-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyUnfollowArtistsOrUsersInput = z.object({\n ids: z.string().describe(\"A comma-separated list of Spotify IDs for the artists or users to unfollow. For example: '2CIMQHirSU0MQqyYHq0eOx,57dN52uHvrHOxijzpIgu3E'. A maximum of 50 IDs can be sent in one request.\"),\n type: z.enum([\"artist\", \"user\"]).describe(\"The type of Spotify entity to unfollow. Use 'artist' to unfollow musical artists/bands, or 'user' to unfollow other Spotify users.\"),\n}).describe(\"Request schema for `UnfollowArtistsOrUsers`\");\nexport const SpotifyUnfollowArtistsOrUsersOutput = z.object({\n message: z.string().describe(\"Optional message about the operation.\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Whether the artists or users were successfully unfollowed.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `UnfollowArtistsOrUsers`. Returns success status since the API returns empty body on success (204 No Content).\");\n\nexport const spotifyUnfollowArtistsOrUsers = action(\"SPOTIFY_UNFOLLOW_ARTISTS_OR_USERS\", {\n slug: \"spotify-unfollow-artists-or-users\",\n name: \"Unfollow artists or users\",\n description: \"Remove the current user as a follower of one or more artists or other Spotify users. This action removes the specified artists or users from the current user's \\\"Following\\\" list, stopping their content from appearing in the user's personalized feed. The operation is idempotent - attempting to unfollow an already-unfollowed artist/user will succeed without error. Required OAuth scope: user-follow-modify Common use cases: - Unfollow an artist you no longer want to track - Unfollow multiple artists at once (up to 50) - Unfollow other Spotify users to stop seeing their public playlists and activity - Clean up your following list by removing inactive or irrelevant accounts Note: Artist IDs can be obtained from search results, track objects, or album objects. User IDs can be obtained from user profile endpoints or playlist owner information.\",\n input: SpotifyUnfollowArtistsOrUsersInput,\n output: SpotifyUnfollowArtistsOrUsersOutput,\n});\n"],"mappings":";;AAaA,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbgD,EAAE,OAAO;EACzD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2LAA2L;EACpN,MAAM,EAAE,KAAK,CAAC,UAAU,MAAM,CAAC,CAAC,CAAC,SAAS,oIAAoI;CAChL,CAAC,CAAC,CAAC,SAAS,6CAUH;CACP,QAViD,EAAE,OAAO;EAC1D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oIAOhB;AACV,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"unfollow-playlist.cjs","names":["z","action"],"sources":["../../src/actions/unfollow-playlist.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyUnfollowPlaylistInput: z.ZodTypeAny = z.object({\n playlist_id: z.string().describe(\"The Spotify ID of the playlist to unfollow. This is a 22-character base62 string that uniquely identifies the playlist (e.g., '37i9dQZF1DXcBWIGoYBM5M').\"),\n}).describe(\"Request schema for `UnfollowPlaylist`\");\nexport const SpotifyUnfollowPlaylistOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Optional message about the operation.\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Whether the playlist was successfully unfollowed.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `UnfollowPlaylist`. Returns success status since the API returns empty body on success.\");\n\nexport const spotifyUnfollowPlaylist = action(\"SPOTIFY_UNFOLLOW_PLAYLIST\", {\n slug: \"spotify-unfollow-playlist\",\n name: \"Unfollow playlist\",\n description: \"Remove the current user as a follower of a playlist. This action removes the current user from following a playlist. The user no longer receives updates from the playlist and it is removed from their followed playlists list. This operation is idempotent - if the user is not currently following the playlist, the operation will still succeed. Required OAuth scopes: - playlist-modify-public: For unfollowing public playlists - playlist-modify-private: For unfollowing private playlists Note: Even if you are the playlist's owner, unfollowing removes it from your library. There is no separate \\\"delete\\\" endpoint - unfollowing is the equivalent operation.\",\n input: SpotifyUnfollowPlaylistInput,\n output: SpotifyUnfollowPlaylistOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6CA,IAAAA,EAAE,OAAO,EACjE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0JAA0J,EAC7L,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6GAA6G;AAEvI,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"unfollow-playlist.cjs","names":["z","action"],"sources":["../../src/actions/unfollow-playlist.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyUnfollowPlaylistInput = z.object({\n playlist_id: z.string().describe(\"The Spotify ID of the playlist to unfollow. This is a 22-character base62 string that uniquely identifies the playlist (e.g., '37i9dQZF1DXcBWIGoYBM5M').\"),\n}).describe(\"Request schema for `UnfollowPlaylist`\");\nexport const SpotifyUnfollowPlaylistOutput = z.object({\n message: z.string().describe(\"Optional message about the operation.\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Whether the playlist was successfully unfollowed.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `UnfollowPlaylist`. Returns success status since the API returns empty body on success.\");\n\nexport const spotifyUnfollowPlaylist = action(\"SPOTIFY_UNFOLLOW_PLAYLIST\", {\n slug: \"spotify-unfollow-playlist\",\n name: \"Unfollow playlist\",\n description: \"Remove the current user as a follower of a playlist. This action removes the current user from following a playlist. The user no longer receives updates from the playlist and it is removed from their followed playlists list. This operation is idempotent - if the user is not currently following the playlist, the operation will still succeed. Required OAuth scopes: - playlist-modify-public: For unfollowing public playlists - playlist-modify-private: For unfollowing private playlists Note: Even if you are the playlist's owner, unfollowing removes it from your library. There is no separate \\\"delete\\\" endpoint - unfollowing is the equivalent operation.\",\n input: SpotifyUnfollowPlaylistInput,\n output: SpotifyUnfollowPlaylistOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0JAA0J,EAC7L,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6GAA6G;AAEvI,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,16 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/unfollow-playlist.d.ts
4
- declare const SpotifyUnfollowPlaylistInput: z.ZodTypeAny;
5
- declare const SpotifyUnfollowPlaylistOutput: z.ZodTypeAny;
6
- declare const spotifyUnfollowPlaylist: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SpotifyUnfollowPlaylistInput: z.ZodObject<{
5
+ playlist_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const SpotifyUnfollowPlaylistOutput: z.ZodObject<{
8
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
10
+ }, z.core.$loose>;
11
+ declare const spotifyUnfollowPlaylist: import("@keystrokehq/action").WorkflowActionDefinition<{
12
+ playlist_id: string;
13
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
14
  //#endregion
8
15
  export { spotifyUnfollowPlaylist };
9
16
  //# sourceMappingURL=unfollow-playlist.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"unfollow-playlist.d.cts","names":[],"sources":["../../src/actions/unfollow-playlist.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAEO;AAAA,cACvC,6BAAA,EAA+B,CAAA,CAAE,UAG0F;AAAA,cAE3H,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"unfollow-playlist.d.cts","names":[],"sources":["../../src/actions/unfollow-playlist.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAG5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAK7B,uBAAA,gCAAuB,wBAAA"}
@@ -1,9 +1,16 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/unfollow-playlist.d.ts
4
- declare const SpotifyUnfollowPlaylistInput: z.ZodTypeAny;
5
- declare const SpotifyUnfollowPlaylistOutput: z.ZodTypeAny;
6
- declare const spotifyUnfollowPlaylist: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SpotifyUnfollowPlaylistInput: z.ZodObject<{
5
+ playlist_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const SpotifyUnfollowPlaylistOutput: z.ZodObject<{
8
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
10
+ }, z.core.$loose>;
11
+ declare const spotifyUnfollowPlaylist: import("@keystrokehq/action").WorkflowActionDefinition<{
12
+ playlist_id: string;
13
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
14
  //#endregion
8
15
  export { spotifyUnfollowPlaylist };
9
16
  //# sourceMappingURL=unfollow-playlist.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"unfollow-playlist.d.mts","names":[],"sources":["../../src/actions/unfollow-playlist.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAEO;AAAA,cACvC,6BAAA,EAA+B,CAAA,CAAE,UAG0F;AAAA,cAE3H,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"unfollow-playlist.d.mts","names":[],"sources":["../../src/actions/unfollow-playlist.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAG5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAK7B,uBAAA,gCAAuB,wBAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"unfollow-playlist.mjs","names":[],"sources":["../../src/actions/unfollow-playlist.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyUnfollowPlaylistInput: z.ZodTypeAny = z.object({\n playlist_id: z.string().describe(\"The Spotify ID of the playlist to unfollow. This is a 22-character base62 string that uniquely identifies the playlist (e.g., '37i9dQZF1DXcBWIGoYBM5M').\"),\n}).describe(\"Request schema for `UnfollowPlaylist`\");\nexport const SpotifyUnfollowPlaylistOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Optional message about the operation.\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Whether the playlist was successfully unfollowed.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `UnfollowPlaylist`. Returns success status since the API returns empty body on success.\");\n\nexport const spotifyUnfollowPlaylist = action(\"SPOTIFY_UNFOLLOW_PLAYLIST\", {\n slug: \"spotify-unfollow-playlist\",\n name: \"Unfollow playlist\",\n description: \"Remove the current user as a follower of a playlist. This action removes the current user from following a playlist. The user no longer receives updates from the playlist and it is removed from their followed playlists list. This operation is idempotent - if the user is not currently following the playlist, the operation will still succeed. Required OAuth scopes: - playlist-modify-public: For unfollowing public playlists - playlist-modify-private: For unfollowing private playlists Note: Even if you are the playlist's owner, unfollowing removes it from your library. There is no separate \\\"delete\\\" endpoint - unfollowing is the equivalent operation.\",\n input: SpotifyUnfollowPlaylistInput,\n output: SpotifyUnfollowPlaylistOutput,\n});\n"],"mappings":";;AAYA,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZwD,EAAE,OAAO,EACjE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0JAA0J,EAC7L,CAAC,CAAC,CAAC,SAAS,uCAUH;CACP,QAVyD,EAAE,OAAO;EAClE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6GAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"unfollow-playlist.mjs","names":[],"sources":["../../src/actions/unfollow-playlist.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyUnfollowPlaylistInput = z.object({\n playlist_id: z.string().describe(\"The Spotify ID of the playlist to unfollow. This is a 22-character base62 string that uniquely identifies the playlist (e.g., '37i9dQZF1DXcBWIGoYBM5M').\"),\n}).describe(\"Request schema for `UnfollowPlaylist`\");\nexport const SpotifyUnfollowPlaylistOutput = z.object({\n message: z.string().describe(\"Optional message about the operation.\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Whether the playlist was successfully unfollowed.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `UnfollowPlaylist`. Returns success status since the API returns empty body on success.\");\n\nexport const spotifyUnfollowPlaylist = action(\"SPOTIFY_UNFOLLOW_PLAYLIST\", {\n slug: \"spotify-unfollow-playlist\",\n name: \"Unfollow playlist\",\n description: \"Remove the current user as a follower of a playlist. This action removes the current user from following a playlist. The user no longer receives updates from the playlist and it is removed from their followed playlists list. This operation is idempotent - if the user is not currently following the playlist, the operation will still succeed. Required OAuth scopes: - playlist-modify-public: For unfollowing public playlists - playlist-modify-private: For unfollowing private playlists Note: Even if you are the playlist's owner, unfollowing removes it from your library. There is no separate \\\"delete\\\" endpoint - unfollowing is the equivalent operation.\",\n input: SpotifyUnfollowPlaylistInput,\n output: SpotifyUnfollowPlaylistOutput,\n});\n"],"mappings":";;AAYA,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ0C,EAAE,OAAO,EACnD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0JAA0J,EAC7L,CAAC,CAAC,CAAC,SAAS,uCAUH;CACP,QAV2C,EAAE,OAAO;EACpD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6GAOhB;AACV,CAAC"}