@keystrokehq/spotify 0.1.0 → 0.1.2

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 (559) 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.map +1 -1
  10. package/dist/actions/add-items-to-playlist.d.cts +13 -3
  11. package/dist/actions/add-items-to-playlist.d.cts.map +1 -1
  12. package/dist/actions/add-items-to-playlist.d.mts +13 -3
  13. package/dist/actions/add-items-to-playlist.d.mts.map +1 -1
  14. package/dist/actions/add-items-to-playlist.mjs.map +1 -1
  15. package/dist/actions/change-playlist-details.cjs.map +1 -1
  16. package/dist/actions/change-playlist-details.d.cts +18 -3
  17. package/dist/actions/change-playlist-details.d.cts.map +1 -1
  18. package/dist/actions/change-playlist-details.d.mts +18 -3
  19. package/dist/actions/change-playlist-details.d.mts.map +1 -1
  20. package/dist/actions/change-playlist-details.mjs.map +1 -1
  21. package/dist/actions/check-if-user-follows-artists-or-users.cjs.map +1 -1
  22. package/dist/actions/check-if-user-follows-artists-or-users.d.cts +14 -3
  23. package/dist/actions/check-if-user-follows-artists-or-users.d.cts.map +1 -1
  24. package/dist/actions/check-if-user-follows-artists-or-users.d.mts +14 -3
  25. package/dist/actions/check-if-user-follows-artists-or-users.d.mts.map +1 -1
  26. package/dist/actions/check-if-user-follows-artists-or-users.mjs.map +1 -1
  27. package/dist/actions/check-if-users-follow-playlist.cjs.map +1 -1
  28. package/dist/actions/check-if-users-follow-playlist.d.cts +15 -3
  29. package/dist/actions/check-if-users-follow-playlist.d.cts.map +1 -1
  30. package/dist/actions/check-if-users-follow-playlist.d.mts +15 -3
  31. package/dist/actions/check-if-users-follow-playlist.d.mts.map +1 -1
  32. package/dist/actions/check-if-users-follow-playlist.mjs.map +1 -1
  33. package/dist/actions/check-user-s-saved-albums.cjs.map +1 -1
  34. package/dist/actions/check-user-s-saved-albums.d.cts +9 -3
  35. package/dist/actions/check-user-s-saved-albums.d.cts.map +1 -1
  36. package/dist/actions/check-user-s-saved-albums.d.mts +9 -3
  37. package/dist/actions/check-user-s-saved-albums.d.mts.map +1 -1
  38. package/dist/actions/check-user-s-saved-albums.mjs.map +1 -1
  39. package/dist/actions/check-user-s-saved-audiobooks.cjs.map +1 -1
  40. package/dist/actions/check-user-s-saved-audiobooks.d.cts +9 -3
  41. package/dist/actions/check-user-s-saved-audiobooks.d.cts.map +1 -1
  42. package/dist/actions/check-user-s-saved-audiobooks.d.mts +9 -3
  43. package/dist/actions/check-user-s-saved-audiobooks.d.mts.map +1 -1
  44. package/dist/actions/check-user-s-saved-audiobooks.mjs.map +1 -1
  45. package/dist/actions/check-user-s-saved-episodes.cjs.map +1 -1
  46. package/dist/actions/check-user-s-saved-episodes.d.cts +9 -3
  47. package/dist/actions/check-user-s-saved-episodes.d.cts.map +1 -1
  48. package/dist/actions/check-user-s-saved-episodes.d.mts +9 -3
  49. package/dist/actions/check-user-s-saved-episodes.d.mts.map +1 -1
  50. package/dist/actions/check-user-s-saved-episodes.mjs.map +1 -1
  51. package/dist/actions/check-user-s-saved-shows.cjs.map +1 -1
  52. package/dist/actions/check-user-s-saved-shows.d.cts +9 -3
  53. package/dist/actions/check-user-s-saved-shows.d.cts.map +1 -1
  54. package/dist/actions/check-user-s-saved-shows.d.mts +9 -3
  55. package/dist/actions/check-user-s-saved-shows.d.mts.map +1 -1
  56. package/dist/actions/check-user-s-saved-shows.mjs.map +1 -1
  57. package/dist/actions/check-user-s-saved-tracks.cjs.map +1 -1
  58. package/dist/actions/check-user-s-saved-tracks.d.cts +9 -3
  59. package/dist/actions/check-user-s-saved-tracks.d.cts.map +1 -1
  60. package/dist/actions/check-user-s-saved-tracks.d.mts +9 -3
  61. package/dist/actions/check-user-s-saved-tracks.d.mts.map +1 -1
  62. package/dist/actions/check-user-s-saved-tracks.mjs.map +1 -1
  63. package/dist/actions/create-playlist.cjs +25 -25
  64. package/dist/actions/create-playlist.cjs.map +1 -1
  65. package/dist/actions/create-playlist.d.cts +65 -3
  66. package/dist/actions/create-playlist.d.cts.map +1 -1
  67. package/dist/actions/create-playlist.d.mts +65 -3
  68. package/dist/actions/create-playlist.d.mts.map +1 -1
  69. package/dist/actions/create-playlist.mjs +25 -25
  70. package/dist/actions/create-playlist.mjs.map +1 -1
  71. package/dist/actions/follow-artists-or-users.cjs.map +1 -1
  72. package/dist/actions/follow-artists-or-users.d.cts +15 -3
  73. package/dist/actions/follow-artists-or-users.d.cts.map +1 -1
  74. package/dist/actions/follow-artists-or-users.d.mts +15 -3
  75. package/dist/actions/follow-artists-or-users.d.mts.map +1 -1
  76. package/dist/actions/follow-artists-or-users.mjs.map +1 -1
  77. package/dist/actions/follow-playlist.cjs.map +1 -1
  78. package/dist/actions/follow-playlist.d.cts +12 -3
  79. package/dist/actions/follow-playlist.d.cts.map +1 -1
  80. package/dist/actions/follow-playlist.d.mts +12 -3
  81. package/dist/actions/follow-playlist.d.mts.map +1 -1
  82. package/dist/actions/follow-playlist.mjs.map +1 -1
  83. package/dist/actions/get-a-chapter.cjs.map +1 -1
  84. package/dist/actions/get-a-chapter.d.cts +71 -3
  85. package/dist/actions/get-a-chapter.d.cts.map +1 -1
  86. package/dist/actions/get-a-chapter.d.mts +71 -3
  87. package/dist/actions/get-a-chapter.d.mts.map +1 -1
  88. package/dist/actions/get-a-chapter.mjs.map +1 -1
  89. package/dist/actions/get-album-tracks.cjs.map +1 -1
  90. package/dist/actions/get-album-tracks.d.cts +41 -3
  91. package/dist/actions/get-album-tracks.d.cts.map +1 -1
  92. package/dist/actions/get-album-tracks.d.mts +41 -3
  93. package/dist/actions/get-album-tracks.d.mts.map +1 -1
  94. package/dist/actions/get-album-tracks.mjs.map +1 -1
  95. package/dist/actions/get-album.cjs.map +1 -1
  96. package/dist/actions/get-album.d.cts +73 -3
  97. package/dist/actions/get-album.d.cts.map +1 -1
  98. package/dist/actions/get-album.d.mts +73 -3
  99. package/dist/actions/get-album.d.mts.map +1 -1
  100. package/dist/actions/get-album.mjs.map +1 -1
  101. package/dist/actions/get-an-audiobook.cjs.map +1 -1
  102. package/dist/actions/get-an-audiobook.d.cts +72 -3
  103. package/dist/actions/get-an-audiobook.d.cts.map +1 -1
  104. package/dist/actions/get-an-audiobook.d.mts +72 -3
  105. package/dist/actions/get-an-audiobook.d.mts.map +1 -1
  106. package/dist/actions/get-an-audiobook.mjs.map +1 -1
  107. package/dist/actions/get-artist-s-albums.cjs.map +1 -1
  108. package/dist/actions/get-artist-s-albums.d.cts +41 -3
  109. package/dist/actions/get-artist-s-albums.d.cts.map +1 -1
  110. package/dist/actions/get-artist-s-albums.d.mts +41 -3
  111. package/dist/actions/get-artist-s-albums.d.mts.map +1 -1
  112. package/dist/actions/get-artist-s-albums.mjs.map +1 -1
  113. package/dist/actions/get-artist-s-related-artists.cjs +1 -1
  114. package/dist/actions/get-artist-s-related-artists.cjs.map +1 -1
  115. package/dist/actions/get-artist-s-related-artists.d.cts +29 -3
  116. package/dist/actions/get-artist-s-related-artists.d.cts.map +1 -1
  117. package/dist/actions/get-artist-s-related-artists.d.mts +29 -3
  118. package/dist/actions/get-artist-s-related-artists.d.mts.map +1 -1
  119. package/dist/actions/get-artist-s-related-artists.mjs +1 -1
  120. package/dist/actions/get-artist-s-related-artists.mjs.map +1 -1
  121. package/dist/actions/get-artist-s-top-tracks.cjs +1 -1
  122. package/dist/actions/get-artist-s-top-tracks.cjs.map +1 -1
  123. package/dist/actions/get-artist-s-top-tracks.d.cts +81 -3
  124. package/dist/actions/get-artist-s-top-tracks.d.cts.map +1 -1
  125. package/dist/actions/get-artist-s-top-tracks.d.mts +81 -3
  126. package/dist/actions/get-artist-s-top-tracks.d.mts.map +1 -1
  127. package/dist/actions/get-artist-s-top-tracks.mjs +1 -1
  128. package/dist/actions/get-artist-s-top-tracks.mjs.map +1 -1
  129. package/dist/actions/get-artist.cjs +8 -8
  130. package/dist/actions/get-artist.cjs.map +1 -1
  131. package/dist/actions/get-artist.d.cts +29 -3
  132. package/dist/actions/get-artist.d.cts.map +1 -1
  133. package/dist/actions/get-artist.d.mts +29 -3
  134. package/dist/actions/get-artist.d.mts.map +1 -1
  135. package/dist/actions/get-artist.mjs +8 -8
  136. package/dist/actions/get-artist.mjs.map +1 -1
  137. package/dist/actions/get-audiobook-chapters.cjs.map +1 -1
  138. package/dist/actions/get-audiobook-chapters.d.cts +51 -3
  139. package/dist/actions/get-audiobook-chapters.d.cts.map +1 -1
  140. package/dist/actions/get-audiobook-chapters.d.mts +51 -3
  141. package/dist/actions/get-audiobook-chapters.d.mts.map +1 -1
  142. package/dist/actions/get-audiobook-chapters.mjs.map +1 -1
  143. package/dist/actions/get-available-devices.cjs +6 -6
  144. package/dist/actions/get-available-devices.cjs.map +1 -1
  145. package/dist/actions/get-available-devices.d.cts +14 -3
  146. package/dist/actions/get-available-devices.d.cts.map +1 -1
  147. package/dist/actions/get-available-devices.d.mts +14 -3
  148. package/dist/actions/get-available-devices.d.mts.map +1 -1
  149. package/dist/actions/get-available-devices.mjs +6 -6
  150. package/dist/actions/get-available-devices.mjs.map +1 -1
  151. package/dist/actions/get-available-markets.cjs.map +1 -1
  152. package/dist/actions/get-available-markets.d.cts +5 -3
  153. package/dist/actions/get-available-markets.d.cts.map +1 -1
  154. package/dist/actions/get-available-markets.d.mts +5 -3
  155. package/dist/actions/get-available-markets.d.mts.map +1 -1
  156. package/dist/actions/get-available-markets.mjs.map +1 -1
  157. package/dist/actions/get-current-user-s-playlists.cjs.map +1 -1
  158. package/dist/actions/get-current-user-s-playlists.d.cts +52 -3
  159. package/dist/actions/get-current-user-s-playlists.d.cts.map +1 -1
  160. package/dist/actions/get-current-user-s-playlists.d.mts +52 -3
  161. package/dist/actions/get-current-user-s-playlists.d.mts.map +1 -1
  162. package/dist/actions/get-current-user-s-playlists.mjs.map +1 -1
  163. package/dist/actions/get-current-user-s-profile.cjs +5 -5
  164. package/dist/actions/get-current-user-s-profile.cjs.map +1 -1
  165. package/dist/actions/get-current-user-s-profile.d.cts +28 -3
  166. package/dist/actions/get-current-user-s-profile.d.cts.map +1 -1
  167. package/dist/actions/get-current-user-s-profile.d.mts +28 -3
  168. package/dist/actions/get-current-user-s-profile.d.mts.map +1 -1
  169. package/dist/actions/get-current-user-s-profile.mjs +5 -5
  170. package/dist/actions/get-current-user-s-profile.mjs.map +1 -1
  171. package/dist/actions/get-currently-playing-track.cjs.map +1 -1
  172. package/dist/actions/get-currently-playing-track.d.cts +138 -3
  173. package/dist/actions/get-currently-playing-track.d.cts.map +1 -1
  174. package/dist/actions/get-currently-playing-track.d.mts +138 -3
  175. package/dist/actions/get-currently-playing-track.d.mts.map +1 -1
  176. package/dist/actions/get-currently-playing-track.mjs.map +1 -1
  177. package/dist/actions/get-episode.cjs.map +1 -1
  178. package/dist/actions/get-episode.d.cts +57 -3
  179. package/dist/actions/get-episode.d.cts.map +1 -1
  180. package/dist/actions/get-episode.d.mts +57 -3
  181. package/dist/actions/get-episode.d.mts.map +1 -1
  182. package/dist/actions/get-episode.mjs.map +1 -1
  183. package/dist/actions/get-featured-playlists.cjs.map +1 -1
  184. package/dist/actions/get-featured-playlists.d.cts +54 -3
  185. package/dist/actions/get-featured-playlists.d.cts.map +1 -1
  186. package/dist/actions/get-featured-playlists.d.mts +54 -3
  187. package/dist/actions/get-featured-playlists.d.mts.map +1 -1
  188. package/dist/actions/get-featured-playlists.mjs.map +1 -1
  189. package/dist/actions/get-followed-artists.cjs +3 -3
  190. package/dist/actions/get-followed-artists.cjs.map +1 -1
  191. package/dist/actions/get-followed-artists.d.cts +47 -3
  192. package/dist/actions/get-followed-artists.d.cts.map +1 -1
  193. package/dist/actions/get-followed-artists.d.mts +47 -3
  194. package/dist/actions/get-followed-artists.d.mts.map +1 -1
  195. package/dist/actions/get-followed-artists.mjs +3 -3
  196. package/dist/actions/get-followed-artists.mjs.map +1 -1
  197. package/dist/actions/get-new-releases.cjs.map +1 -1
  198. package/dist/actions/get-new-releases.d.cts +45 -3
  199. package/dist/actions/get-new-releases.d.cts.map +1 -1
  200. package/dist/actions/get-new-releases.d.mts +45 -3
  201. package/dist/actions/get-new-releases.d.mts.map +1 -1
  202. package/dist/actions/get-new-releases.mjs.map +1 -1
  203. package/dist/actions/get-playback-state.cjs +75 -75
  204. package/dist/actions/get-playback-state.cjs.map +1 -1
  205. package/dist/actions/get-playback-state.d.cts +206 -3
  206. package/dist/actions/get-playback-state.d.cts.map +1 -1
  207. package/dist/actions/get-playback-state.d.mts +206 -3
  208. package/dist/actions/get-playback-state.d.mts.map +1 -1
  209. package/dist/actions/get-playback-state.mjs +75 -75
  210. package/dist/actions/get-playback-state.mjs.map +1 -1
  211. package/dist/actions/get-playlist-cover-image.cjs +1 -1
  212. package/dist/actions/get-playlist-cover-image.cjs.map +1 -1
  213. package/dist/actions/get-playlist-cover-image.d.cts +13 -3
  214. package/dist/actions/get-playlist-cover-image.d.cts.map +1 -1
  215. package/dist/actions/get-playlist-cover-image.d.mts +13 -3
  216. package/dist/actions/get-playlist-cover-image.d.mts.map +1 -1
  217. package/dist/actions/get-playlist-cover-image.mjs +1 -1
  218. package/dist/actions/get-playlist-cover-image.mjs.map +1 -1
  219. package/dist/actions/get-playlist-items.cjs.map +1 -1
  220. package/dist/actions/get-playlist-items.d.cts +206 -3
  221. package/dist/actions/get-playlist-items.d.cts.map +1 -1
  222. package/dist/actions/get-playlist-items.d.mts +206 -3
  223. package/dist/actions/get-playlist-items.d.mts.map +1 -1
  224. package/dist/actions/get-playlist-items.mjs.map +1 -1
  225. package/dist/actions/get-playlist.cjs +8 -8
  226. package/dist/actions/get-playlist.cjs.map +1 -1
  227. package/dist/actions/get-playlist.d.cts +205 -3
  228. package/dist/actions/get-playlist.d.cts.map +1 -1
  229. package/dist/actions/get-playlist.d.mts +205 -3
  230. package/dist/actions/get-playlist.d.mts.map +1 -1
  231. package/dist/actions/get-playlist.mjs +8 -8
  232. package/dist/actions/get-playlist.mjs.map +1 -1
  233. package/dist/actions/get-recently-played-tracks.cjs +14 -14
  234. package/dist/actions/get-recently-played-tracks.cjs.map +1 -1
  235. package/dist/actions/get-recently-played-tracks.d.cts +102 -3
  236. package/dist/actions/get-recently-played-tracks.d.cts.map +1 -1
  237. package/dist/actions/get-recently-played-tracks.d.mts +102 -3
  238. package/dist/actions/get-recently-played-tracks.d.mts.map +1 -1
  239. package/dist/actions/get-recently-played-tracks.mjs +14 -14
  240. package/dist/actions/get-recently-played-tracks.mjs.map +1 -1
  241. package/dist/actions/get-recommendations.cjs.map +1 -1
  242. package/dist/actions/get-recommendations.d.cts +121 -3
  243. package/dist/actions/get-recommendations.d.cts.map +1 -1
  244. package/dist/actions/get-recommendations.d.mts +121 -3
  245. package/dist/actions/get-recommendations.d.mts.map +1 -1
  246. package/dist/actions/get-recommendations.mjs.map +1 -1
  247. package/dist/actions/get-several-albums.cjs +1 -1
  248. package/dist/actions/get-several-albums.cjs.map +1 -1
  249. package/dist/actions/get-several-albums.d.cts +76 -3
  250. package/dist/actions/get-several-albums.d.cts.map +1 -1
  251. package/dist/actions/get-several-albums.d.mts +76 -3
  252. package/dist/actions/get-several-albums.d.mts.map +1 -1
  253. package/dist/actions/get-several-albums.mjs +1 -1
  254. package/dist/actions/get-several-albums.mjs.map +1 -1
  255. package/dist/actions/get-several-artists.cjs +1 -1
  256. package/dist/actions/get-several-artists.cjs.map +1 -1
  257. package/dist/actions/get-several-artists.d.cts +29 -3
  258. package/dist/actions/get-several-artists.d.cts.map +1 -1
  259. package/dist/actions/get-several-artists.d.mts +29 -3
  260. package/dist/actions/get-several-artists.d.mts.map +1 -1
  261. package/dist/actions/get-several-artists.mjs +1 -1
  262. package/dist/actions/get-several-artists.mjs.map +1 -1
  263. package/dist/actions/get-several-audiobooks.cjs +1 -1
  264. package/dist/actions/get-several-audiobooks.cjs.map +1 -1
  265. package/dist/actions/get-several-audiobooks.d.cts +74 -3
  266. package/dist/actions/get-several-audiobooks.d.cts.map +1 -1
  267. package/dist/actions/get-several-audiobooks.d.mts +74 -3
  268. package/dist/actions/get-several-audiobooks.d.mts.map +1 -1
  269. package/dist/actions/get-several-audiobooks.mjs +1 -1
  270. package/dist/actions/get-several-audiobooks.mjs.map +1 -1
  271. package/dist/actions/get-several-browse-categories.cjs.map +1 -1
  272. package/dist/actions/get-several-browse-categories.d.cts +30 -3
  273. package/dist/actions/get-several-browse-categories.d.cts.map +1 -1
  274. package/dist/actions/get-several-browse-categories.d.mts +30 -3
  275. package/dist/actions/get-several-browse-categories.d.mts.map +1 -1
  276. package/dist/actions/get-several-browse-categories.mjs.map +1 -1
  277. package/dist/actions/get-several-chapters.cjs +1 -1
  278. package/dist/actions/get-several-chapters.cjs.map +1 -1
  279. package/dist/actions/get-several-chapters.d.cts +73 -3
  280. package/dist/actions/get-several-chapters.d.cts.map +1 -1
  281. package/dist/actions/get-several-chapters.d.mts +73 -3
  282. package/dist/actions/get-several-chapters.d.mts.map +1 -1
  283. package/dist/actions/get-several-chapters.mjs +1 -1
  284. package/dist/actions/get-several-chapters.mjs.map +1 -1
  285. package/dist/actions/get-several-episodes.cjs +1 -1
  286. package/dist/actions/get-several-episodes.cjs.map +1 -1
  287. package/dist/actions/get-several-episodes.d.cts +61 -3
  288. package/dist/actions/get-several-episodes.d.cts.map +1 -1
  289. package/dist/actions/get-several-episodes.d.mts +61 -3
  290. package/dist/actions/get-several-episodes.d.mts.map +1 -1
  291. package/dist/actions/get-several-episodes.mjs +1 -1
  292. package/dist/actions/get-several-episodes.mjs.map +1 -1
  293. package/dist/actions/get-several-shows.cjs +1 -1
  294. package/dist/actions/get-several-shows.cjs.map +1 -1
  295. package/dist/actions/get-several-shows.d.cts +36 -3
  296. package/dist/actions/get-several-shows.d.cts.map +1 -1
  297. package/dist/actions/get-several-shows.d.mts +36 -3
  298. package/dist/actions/get-several-shows.d.mts.map +1 -1
  299. package/dist/actions/get-several-shows.mjs +1 -1
  300. package/dist/actions/get-several-shows.mjs.map +1 -1
  301. package/dist/actions/get-several-tracks.cjs +1 -1
  302. package/dist/actions/get-several-tracks.cjs.map +1 -1
  303. package/dist/actions/get-several-tracks.d.cts +58 -3
  304. package/dist/actions/get-several-tracks.d.cts.map +1 -1
  305. package/dist/actions/get-several-tracks.d.mts +58 -3
  306. package/dist/actions/get-several-tracks.d.mts.map +1 -1
  307. package/dist/actions/get-several-tracks.mjs +1 -1
  308. package/dist/actions/get-several-tracks.mjs.map +1 -1
  309. package/dist/actions/get-show-episodes.cjs.map +1 -1
  310. package/dist/actions/get-show-episodes.d.cts +47 -3
  311. package/dist/actions/get-show-episodes.d.cts.map +1 -1
  312. package/dist/actions/get-show-episodes.d.mts +47 -3
  313. package/dist/actions/get-show-episodes.d.mts.map +1 -1
  314. package/dist/actions/get-show-episodes.mjs.map +1 -1
  315. package/dist/actions/get-show.cjs.map +1 -1
  316. package/dist/actions/get-show.d.cts +62 -3
  317. package/dist/actions/get-show.d.cts.map +1 -1
  318. package/dist/actions/get-show.d.mts +62 -3
  319. package/dist/actions/get-show.d.mts.map +1 -1
  320. package/dist/actions/get-show.mjs.map +1 -1
  321. package/dist/actions/get-single-browse-category.cjs.map +1 -1
  322. package/dist/actions/get-single-browse-category.d.cts +18 -3
  323. package/dist/actions/get-single-browse-category.d.cts.map +1 -1
  324. package/dist/actions/get-single-browse-category.d.mts +18 -3
  325. package/dist/actions/get-single-browse-category.d.mts.map +1 -1
  326. package/dist/actions/get-single-browse-category.mjs.map +1 -1
  327. package/dist/actions/get-the-user-s-queue.cjs.map +1 -1
  328. package/dist/actions/get-the-user-s-queue.d.cts +80 -3
  329. package/dist/actions/get-the-user-s-queue.d.cts.map +1 -1
  330. package/dist/actions/get-the-user-s-queue.d.mts +80 -3
  331. package/dist/actions/get-the-user-s-queue.d.mts.map +1 -1
  332. package/dist/actions/get-the-user-s-queue.mjs.map +1 -1
  333. package/dist/actions/get-track-s-audio-analysis.cjs.map +1 -1
  334. package/dist/actions/get-track-s-audio-analysis.d.cts +81 -3
  335. package/dist/actions/get-track-s-audio-analysis.d.cts.map +1 -1
  336. package/dist/actions/get-track-s-audio-analysis.d.mts +81 -3
  337. package/dist/actions/get-track-s-audio-analysis.d.mts.map +1 -1
  338. package/dist/actions/get-track-s-audio-analysis.mjs.map +1 -1
  339. package/dist/actions/get-track.cjs.map +1 -1
  340. package/dist/actions/get-track.d.cts +51 -3
  341. package/dist/actions/get-track.d.cts.map +1 -1
  342. package/dist/actions/get-track.d.mts +51 -3
  343. package/dist/actions/get-track.d.mts.map +1 -1
  344. package/dist/actions/get-track.mjs.map +1 -1
  345. package/dist/actions/get-user-s-playlists.cjs +13 -13
  346. package/dist/actions/get-user-s-playlists.cjs.map +1 -1
  347. package/dist/actions/get-user-s-playlists.d.cts +54 -3
  348. package/dist/actions/get-user-s-playlists.d.cts.map +1 -1
  349. package/dist/actions/get-user-s-playlists.d.mts +54 -3
  350. package/dist/actions/get-user-s-playlists.d.mts.map +1 -1
  351. package/dist/actions/get-user-s-playlists.mjs +13 -13
  352. package/dist/actions/get-user-s-playlists.mjs.map +1 -1
  353. package/dist/actions/get-user-s-profile.cjs +5 -5
  354. package/dist/actions/get-user-s-profile.cjs.map +1 -1
  355. package/dist/actions/get-user-s-profile.d.cts +25 -3
  356. package/dist/actions/get-user-s-profile.d.cts.map +1 -1
  357. package/dist/actions/get-user-s-profile.d.mts +25 -3
  358. package/dist/actions/get-user-s-profile.d.mts.map +1 -1
  359. package/dist/actions/get-user-s-profile.mjs +5 -5
  360. package/dist/actions/get-user-s-profile.mjs.map +1 -1
  361. package/dist/actions/get-user-s-saved-albums.cjs.map +1 -1
  362. package/dist/actions/get-user-s-saved-albums.d.cts +30 -3
  363. package/dist/actions/get-user-s-saved-albums.d.cts.map +1 -1
  364. package/dist/actions/get-user-s-saved-albums.d.mts +30 -3
  365. package/dist/actions/get-user-s-saved-albums.d.mts.map +1 -1
  366. package/dist/actions/get-user-s-saved-albums.mjs.map +1 -1
  367. package/dist/actions/get-user-s-saved-audiobooks.cjs.map +1 -1
  368. package/dist/actions/get-user-s-saved-audiobooks.d.cts +48 -3
  369. package/dist/actions/get-user-s-saved-audiobooks.d.cts.map +1 -1
  370. package/dist/actions/get-user-s-saved-audiobooks.d.mts +48 -3
  371. package/dist/actions/get-user-s-saved-audiobooks.d.mts.map +1 -1
  372. package/dist/actions/get-user-s-saved-audiobooks.mjs.map +1 -1
  373. package/dist/actions/get-user-s-saved-episodes.cjs.map +1 -1
  374. package/dist/actions/get-user-s-saved-episodes.d.cts +67 -3
  375. package/dist/actions/get-user-s-saved-episodes.d.cts.map +1 -1
  376. package/dist/actions/get-user-s-saved-episodes.d.mts +67 -3
  377. package/dist/actions/get-user-s-saved-episodes.d.mts.map +1 -1
  378. package/dist/actions/get-user-s-saved-episodes.mjs.map +1 -1
  379. package/dist/actions/get-user-s-saved-shows.cjs.map +1 -1
  380. package/dist/actions/get-user-s-saved-shows.d.cts +45 -3
  381. package/dist/actions/get-user-s-saved-shows.d.cts.map +1 -1
  382. package/dist/actions/get-user-s-saved-shows.d.mts +45 -3
  383. package/dist/actions/get-user-s-saved-shows.d.mts.map +1 -1
  384. package/dist/actions/get-user-s-saved-shows.mjs.map +1 -1
  385. package/dist/actions/get-user-s-saved-tracks.cjs +25 -25
  386. package/dist/actions/get-user-s-saved-tracks.cjs.map +1 -1
  387. package/dist/actions/get-user-s-saved-tracks.d.cts +84 -3
  388. package/dist/actions/get-user-s-saved-tracks.d.cts.map +1 -1
  389. package/dist/actions/get-user-s-saved-tracks.d.mts +84 -3
  390. package/dist/actions/get-user-s-saved-tracks.d.mts.map +1 -1
  391. package/dist/actions/get-user-s-saved-tracks.mjs +25 -25
  392. package/dist/actions/get-user-s-saved-tracks.mjs.map +1 -1
  393. package/dist/actions/get-user-s-top-artists.cjs +12 -12
  394. package/dist/actions/get-user-s-top-artists.cjs.map +1 -1
  395. package/dist/actions/get-user-s-top-artists.d.cts +43 -3
  396. package/dist/actions/get-user-s-top-artists.d.cts.map +1 -1
  397. package/dist/actions/get-user-s-top-artists.d.mts +43 -3
  398. package/dist/actions/get-user-s-top-artists.d.mts.map +1 -1
  399. package/dist/actions/get-user-s-top-artists.mjs +12 -12
  400. package/dist/actions/get-user-s-top-artists.mjs.map +1 -1
  401. package/dist/actions/get-user-s-top-tracks.cjs +32 -32
  402. package/dist/actions/get-user-s-top-tracks.cjs.map +1 -1
  403. package/dist/actions/get-user-s-top-tracks.d.cts +97 -3
  404. package/dist/actions/get-user-s-top-tracks.d.cts.map +1 -1
  405. package/dist/actions/get-user-s-top-tracks.d.mts +97 -3
  406. package/dist/actions/get-user-s-top-tracks.d.mts.map +1 -1
  407. package/dist/actions/get-user-s-top-tracks.mjs +32 -32
  408. package/dist/actions/get-user-s-top-tracks.mjs.map +1 -1
  409. package/dist/actions/pause-playback.cjs.map +1 -1
  410. package/dist/actions/pause-playback.d.cts +9 -3
  411. package/dist/actions/pause-playback.d.cts.map +1 -1
  412. package/dist/actions/pause-playback.d.mts +9 -3
  413. package/dist/actions/pause-playback.d.mts.map +1 -1
  414. package/dist/actions/pause-playback.mjs.map +1 -1
  415. package/dist/actions/remove-playlist-items.cjs.map +1 -1
  416. package/dist/actions/remove-playlist-items.d.cts +20 -3
  417. package/dist/actions/remove-playlist-items.d.cts.map +1 -1
  418. package/dist/actions/remove-playlist-items.d.mts +20 -3
  419. package/dist/actions/remove-playlist-items.d.mts.map +1 -1
  420. package/dist/actions/remove-playlist-items.mjs.map +1 -1
  421. package/dist/actions/remove-user-s-saved-audiobooks.cjs +2 -2
  422. package/dist/actions/remove-user-s-saved-audiobooks.cjs.map +1 -1
  423. package/dist/actions/remove-user-s-saved-audiobooks.d.cts +12 -3
  424. package/dist/actions/remove-user-s-saved-audiobooks.d.cts.map +1 -1
  425. package/dist/actions/remove-user-s-saved-audiobooks.d.mts +12 -3
  426. package/dist/actions/remove-user-s-saved-audiobooks.d.mts.map +1 -1
  427. package/dist/actions/remove-user-s-saved-audiobooks.mjs +2 -2
  428. package/dist/actions/remove-user-s-saved-audiobooks.mjs.map +1 -1
  429. package/dist/actions/remove-user-s-saved-episodes.cjs.map +1 -1
  430. package/dist/actions/remove-user-s-saved-episodes.d.cts +10 -3
  431. package/dist/actions/remove-user-s-saved-episodes.d.cts.map +1 -1
  432. package/dist/actions/remove-user-s-saved-episodes.d.mts +10 -3
  433. package/dist/actions/remove-user-s-saved-episodes.d.mts.map +1 -1
  434. package/dist/actions/remove-user-s-saved-episodes.mjs.map +1 -1
  435. package/dist/actions/remove-user-s-saved-shows.cjs.map +1 -1
  436. package/dist/actions/remove-user-s-saved-shows.d.cts +11 -3
  437. package/dist/actions/remove-user-s-saved-shows.d.cts.map +1 -1
  438. package/dist/actions/remove-user-s-saved-shows.d.mts +11 -3
  439. package/dist/actions/remove-user-s-saved-shows.d.mts.map +1 -1
  440. package/dist/actions/remove-user-s-saved-shows.mjs.map +1 -1
  441. package/dist/actions/remove-user-s-saved-tracks.cjs.map +1 -1
  442. package/dist/actions/remove-user-s-saved-tracks.d.cts +12 -3
  443. package/dist/actions/remove-user-s-saved-tracks.d.cts.map +1 -1
  444. package/dist/actions/remove-user-s-saved-tracks.d.mts +12 -3
  445. package/dist/actions/remove-user-s-saved-tracks.d.mts.map +1 -1
  446. package/dist/actions/remove-user-s-saved-tracks.mjs.map +1 -1
  447. package/dist/actions/remove-users-saved-albums.cjs.map +1 -1
  448. package/dist/actions/remove-users-saved-albums.d.cts +10 -3
  449. package/dist/actions/remove-users-saved-albums.d.cts.map +1 -1
  450. package/dist/actions/remove-users-saved-albums.d.mts +10 -3
  451. package/dist/actions/remove-users-saved-albums.d.mts.map +1 -1
  452. package/dist/actions/remove-users-saved-albums.mjs.map +1 -1
  453. package/dist/actions/save-albums-for-current-user.cjs.map +1 -1
  454. package/dist/actions/save-albums-for-current-user.d.cts +10 -3
  455. package/dist/actions/save-albums-for-current-user.d.cts.map +1 -1
  456. package/dist/actions/save-albums-for-current-user.d.mts +10 -3
  457. package/dist/actions/save-albums-for-current-user.d.mts.map +1 -1
  458. package/dist/actions/save-albums-for-current-user.mjs.map +1 -1
  459. package/dist/actions/save-audiobooks-for-current-user.cjs.map +1 -1
  460. package/dist/actions/save-audiobooks-for-current-user.d.cts +10 -3
  461. package/dist/actions/save-audiobooks-for-current-user.d.cts.map +1 -1
  462. package/dist/actions/save-audiobooks-for-current-user.d.mts +10 -3
  463. package/dist/actions/save-audiobooks-for-current-user.d.mts.map +1 -1
  464. package/dist/actions/save-audiobooks-for-current-user.mjs.map +1 -1
  465. package/dist/actions/save-episodes-for-current-user.cjs.map +1 -1
  466. package/dist/actions/save-episodes-for-current-user.d.cts +10 -3
  467. package/dist/actions/save-episodes-for-current-user.d.cts.map +1 -1
  468. package/dist/actions/save-episodes-for-current-user.d.mts +10 -3
  469. package/dist/actions/save-episodes-for-current-user.d.mts.map +1 -1
  470. package/dist/actions/save-episodes-for-current-user.mjs.map +1 -1
  471. package/dist/actions/save-shows-for-current-user.cjs.map +1 -1
  472. package/dist/actions/save-shows-for-current-user.d.cts +9 -3
  473. package/dist/actions/save-shows-for-current-user.d.cts.map +1 -1
  474. package/dist/actions/save-shows-for-current-user.d.mts +9 -3
  475. package/dist/actions/save-shows-for-current-user.d.mts.map +1 -1
  476. package/dist/actions/save-shows-for-current-user.mjs.map +1 -1
  477. package/dist/actions/save-tracks-for-current-user.cjs.map +1 -1
  478. package/dist/actions/save-tracks-for-current-user.d.cts +18 -3
  479. package/dist/actions/save-tracks-for-current-user.d.cts.map +1 -1
  480. package/dist/actions/save-tracks-for-current-user.d.mts +18 -3
  481. package/dist/actions/save-tracks-for-current-user.d.mts.map +1 -1
  482. package/dist/actions/save-tracks-for-current-user.mjs.map +1 -1
  483. package/dist/actions/search-for-item.cjs +1 -1
  484. package/dist/actions/search-for-item.cjs.map +1 -1
  485. package/dist/actions/search-for-item.d.cts +91 -3
  486. package/dist/actions/search-for-item.d.cts.map +1 -1
  487. package/dist/actions/search-for-item.d.mts +91 -3
  488. package/dist/actions/search-for-item.d.mts.map +1 -1
  489. package/dist/actions/search-for-item.mjs +1 -1
  490. package/dist/actions/search-for-item.mjs.map +1 -1
  491. package/dist/actions/seek-to-position.cjs.map +1 -1
  492. package/dist/actions/seek-to-position.d.cts +11 -3
  493. package/dist/actions/seek-to-position.d.cts.map +1 -1
  494. package/dist/actions/seek-to-position.d.mts +11 -3
  495. package/dist/actions/seek-to-position.d.mts.map +1 -1
  496. package/dist/actions/seek-to-position.mjs.map +1 -1
  497. package/dist/actions/set-playback-volume.cjs.map +1 -1
  498. package/dist/actions/set-playback-volume.d.cts +11 -3
  499. package/dist/actions/set-playback-volume.d.cts.map +1 -1
  500. package/dist/actions/set-playback-volume.d.mts +11 -3
  501. package/dist/actions/set-playback-volume.d.mts.map +1 -1
  502. package/dist/actions/set-playback-volume.mjs.map +1 -1
  503. package/dist/actions/set-repeat-mode.cjs.map +1 -1
  504. package/dist/actions/set-repeat-mode.d.cts +15 -3
  505. package/dist/actions/set-repeat-mode.d.cts.map +1 -1
  506. package/dist/actions/set-repeat-mode.d.mts +15 -3
  507. package/dist/actions/set-repeat-mode.d.mts.map +1 -1
  508. package/dist/actions/set-repeat-mode.mjs.map +1 -1
  509. package/dist/actions/skip-to-next.cjs.map +1 -1
  510. package/dist/actions/skip-to-next.d.cts +10 -3
  511. package/dist/actions/skip-to-next.d.cts.map +1 -1
  512. package/dist/actions/skip-to-next.d.mts +10 -3
  513. package/dist/actions/skip-to-next.d.mts.map +1 -1
  514. package/dist/actions/skip-to-next.mjs.map +1 -1
  515. package/dist/actions/skip-to-previous.cjs.map +1 -1
  516. package/dist/actions/skip-to-previous.d.cts +9 -3
  517. package/dist/actions/skip-to-previous.d.cts.map +1 -1
  518. package/dist/actions/skip-to-previous.d.mts +9 -3
  519. package/dist/actions/skip-to-previous.d.mts.map +1 -1
  520. package/dist/actions/skip-to-previous.mjs.map +1 -1
  521. package/dist/actions/start-resume-playback.cjs.map +1 -1
  522. package/dist/actions/start-resume-playback.d.cts +17 -3
  523. package/dist/actions/start-resume-playback.d.cts.map +1 -1
  524. package/dist/actions/start-resume-playback.d.mts +17 -3
  525. package/dist/actions/start-resume-playback.d.mts.map +1 -1
  526. package/dist/actions/start-resume-playback.mjs.map +1 -1
  527. package/dist/actions/toggle-playback-shuffle.cjs.map +1 -1
  528. package/dist/actions/toggle-playback-shuffle.d.cts +12 -3
  529. package/dist/actions/toggle-playback-shuffle.d.cts.map +1 -1
  530. package/dist/actions/toggle-playback-shuffle.d.mts +12 -3
  531. package/dist/actions/toggle-playback-shuffle.d.mts.map +1 -1
  532. package/dist/actions/toggle-playback-shuffle.mjs.map +1 -1
  533. package/dist/actions/transfer-playback.cjs.map +1 -1
  534. package/dist/actions/transfer-playback.d.cts +12 -3
  535. package/dist/actions/transfer-playback.d.cts.map +1 -1
  536. package/dist/actions/transfer-playback.d.mts +12 -3
  537. package/dist/actions/transfer-playback.d.mts.map +1 -1
  538. package/dist/actions/transfer-playback.mjs.map +1 -1
  539. package/dist/actions/unfollow-artists-or-users.cjs.map +1 -1
  540. package/dist/actions/unfollow-artists-or-users.d.cts +15 -3
  541. package/dist/actions/unfollow-artists-or-users.d.cts.map +1 -1
  542. package/dist/actions/unfollow-artists-or-users.d.mts +15 -3
  543. package/dist/actions/unfollow-artists-or-users.d.mts.map +1 -1
  544. package/dist/actions/unfollow-artists-or-users.mjs.map +1 -1
  545. package/dist/actions/unfollow-playlist.cjs.map +1 -1
  546. package/dist/actions/unfollow-playlist.d.cts +10 -3
  547. package/dist/actions/unfollow-playlist.d.cts.map +1 -1
  548. package/dist/actions/unfollow-playlist.d.mts +10 -3
  549. package/dist/actions/unfollow-playlist.d.mts.map +1 -1
  550. package/dist/actions/unfollow-playlist.mjs.map +1 -1
  551. package/dist/actions/update-playlist-items.cjs +1 -1
  552. package/dist/actions/update-playlist-items.cjs.map +1 -1
  553. package/dist/actions/update-playlist-items.d.cts +19 -3
  554. package/dist/actions/update-playlist-items.d.cts.map +1 -1
  555. package/dist/actions/update-playlist-items.d.mts +19 -3
  556. package/dist/actions/update-playlist-items.d.mts.map +1 -1
  557. package/dist/actions/update-playlist-items.mjs +1 -1
  558. package/dist/actions/update-playlist-items.mjs.map +1 -1
  559. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"action.cjs","names":["spotify","executeSpotifyTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { spotify } from \"./app\";\nimport { executeSpotifyTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return spotify.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeSpotifyTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,QAAQ,OAAO;EACpB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,mBAAmB,MAAM,KAAgC,CAAC;EAC1F;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.cjs","names":["spotify","executeSpotifyTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { spotify } from \"./app\";\nimport { executeSpotifyTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return spotify.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeSpotifyTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,QAAQ,OAAO;EACpB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,mBAAmB,MAAM,KAAgC,CAAC;EAC1F;CACF,CAAC;AACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { spotify } from \"./app\";\nimport { executeSpotifyTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return spotify.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeSpotifyTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,QAAQ,OAAO;EACpB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,mBAAmB,MAAM,KAAgC,CAAC;EAC1F;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { spotify } from \"./app\";\nimport { executeSpotifyTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return spotify.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeSpotifyTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,QAAQ,OAAO;EACpB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,mBAAmB,MAAM,KAAgC,CAAC;EAC1F;CACF,CAAC;AACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"add-item-to-playback-queue.cjs","names":["z","action"],"sources":["../../src/actions/add-item-to-playback-queue.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyAddItemToPlaybackQueueInput: z.ZodTypeAny = z.object({\n uri: z.string().describe(\"The Spotify URI of the item to add to the queue. Must be a track or episode URI (e.g., 'spotify:track:4iV5W9uYEdYUVa79Axb7Rh' or 'spotify:episode:512ojhOuo1ktJprKbVcKyQ').\"),\n device_id: z.string().describe(\"The ID of the device this command is targeting. If not supplied, the user's currently active device is the target.\").optional(),\n}).describe(\"Request schema for `AddItemToPlaybackQueue`\");\nexport const SpotifyAddItemToPlaybackQueueOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Human-readable message about the operation result. For errors, includes specific details about what went wrong and how to fix it.\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Whether the item was successfully added to the queue. True indicates the track/episode was queued; False indicates an error (e.g., Premium required, no active device, invalid URI).\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `AddItemToPlaybackQueue`. Returns success status and details about the operation.\");\n\nexport const spotifyAddItemToPlaybackQueue = action(\"SPOTIFY_ADD_ITEM_TO_PLAYBACK_QUEUE\", {\n slug: \"spotify-add-item-to-playback-queue\",\n name: \"Add item to playback queue\",\n description: \"Add an item to the end of the user's current playback queue. This API only works for users who have Spotify Premium. The order of execution is not guaranteed when you use this API with other Player API endpoints. Required scope: user-modify-playback-state Note: Only tracks and episodes can be added to the queue. Albums and playlists cannot be added directly.\",\n input: SpotifyAddItemToPlaybackQueueInput,\n output: SpotifyAddItemToPlaybackQueueOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAmDA,IAAAA,EAAE,OAAO;CACvE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6KAA6K;CACtM,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;AAChK,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAa,sCAAoDA,IAAAA,EAAE,OAAO;CACxE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mIAAmI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtL,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,sLAAsL,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1P,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uGAAuG;AAEjI,MAAa,gCAAgCC,eAAAA,OAAO,sCAAsC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"add-item-to-playback-queue.cjs","names":["z","action"],"sources":["../../src/actions/add-item-to-playback-queue.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyAddItemToPlaybackQueueInput = z.object({\n uri: z.string().describe(\"The Spotify URI of the item to add to the queue. Must be a track or episode URI (e.g., 'spotify:track:4iV5W9uYEdYUVa79Axb7Rh' or 'spotify:episode:512ojhOuo1ktJprKbVcKyQ').\"),\n device_id: z.string().describe(\"The ID of the device this command is targeting. If not supplied, the user's currently active device is the target.\").optional(),\n}).describe(\"Request schema for `AddItemToPlaybackQueue`\");\nexport const SpotifyAddItemToPlaybackQueueOutput = z.object({\n message: z.string().describe(\"Human-readable message about the operation result. For errors, includes specific details about what went wrong and how to fix it.\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Whether the item was successfully added to the queue. True indicates the track/episode was queued; False indicates an error (e.g., Premium required, no active device, invalid URI).\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `AddItemToPlaybackQueue`. Returns success status and details about the operation.\");\n\nexport const spotifyAddItemToPlaybackQueue = action(\"SPOTIFY_ADD_ITEM_TO_PLAYBACK_QUEUE\", {\n slug: \"spotify-add-item-to-playback-queue\",\n name: \"Add item to playback queue\",\n description: \"Add an item to the end of the user's current playback queue. This API only works for users who have Spotify Premium. The order of execution is not guaranteed when you use this API with other Player API endpoints. Required scope: user-modify-playback-state Note: Only tracks and episodes can be added to the queue. Albums and playlists cannot be added directly.\",\n input: SpotifyAddItemToPlaybackQueueInput,\n output: SpotifyAddItemToPlaybackQueueOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6KAA6K;CACtM,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;AAChK,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mIAAmI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtL,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,sLAAsL,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1P,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uGAAuG;AAEjI,MAAa,gCAAgCC,eAAAA,OAAO,sCAAsC;CACxF,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/add-item-to-playback-queue.d.ts
4
- declare const SpotifyAddItemToPlaybackQueueInput: z.ZodTypeAny;
5
- declare const SpotifyAddItemToPlaybackQueueOutput: z.ZodTypeAny;
6
- declare const spotifyAddItemToPlaybackQueue: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SpotifyAddItemToPlaybackQueueInput: z.ZodObject<{
5
+ uri: z.ZodString;
6
+ device_id: z.ZodOptional<z.ZodString>;
7
+ }, z.core.$strip>;
8
+ declare const SpotifyAddItemToPlaybackQueueOutput: 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 spotifyAddItemToPlaybackQueue: import("@keystrokehq/action").WorkflowActionDefinition<{
13
+ uri: string;
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 { spotifyAddItemToPlaybackQueue };
9
18
  //# sourceMappingURL=add-item-to-playback-queue.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"add-item-to-playback-queue.d.cts","names":[],"sources":["../../src/actions/add-item-to-playback-queue.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAGO;AAAA,cAC7C,mCAAA,EAAqC,CAAA,CAAE,UAG8E;AAAA,cAErH,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"add-item-to-playback-queue.d.cts","names":[],"sources":["../../src/actions/add-item-to-playback-queue.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;cAIlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;cAKnC,6BAAA,gCAA6B,wBAAA"}
@@ -1,9 +1,18 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/add-item-to-playback-queue.d.ts
4
- declare const SpotifyAddItemToPlaybackQueueInput: z.ZodTypeAny;
5
- declare const SpotifyAddItemToPlaybackQueueOutput: z.ZodTypeAny;
6
- declare const spotifyAddItemToPlaybackQueue: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SpotifyAddItemToPlaybackQueueInput: z.ZodObject<{
5
+ uri: z.ZodString;
6
+ device_id: z.ZodOptional<z.ZodString>;
7
+ }, z.core.$strip>;
8
+ declare const SpotifyAddItemToPlaybackQueueOutput: 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 spotifyAddItemToPlaybackQueue: import("@keystrokehq/action").WorkflowActionDefinition<{
13
+ uri: string;
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 { spotifyAddItemToPlaybackQueue };
9
18
  //# sourceMappingURL=add-item-to-playback-queue.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"add-item-to-playback-queue.d.mts","names":[],"sources":["../../src/actions/add-item-to-playback-queue.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAGO;AAAA,cAC7C,mCAAA,EAAqC,CAAA,CAAE,UAG8E;AAAA,cAErH,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"add-item-to-playback-queue.d.mts","names":[],"sources":["../../src/actions/add-item-to-playback-queue.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;cAIlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;cAKnC,6BAAA,gCAA6B,wBAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"add-item-to-playback-queue.mjs","names":[],"sources":["../../src/actions/add-item-to-playback-queue.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyAddItemToPlaybackQueueInput: z.ZodTypeAny = z.object({\n uri: z.string().describe(\"The Spotify URI of the item to add to the queue. Must be a track or episode URI (e.g., 'spotify:track:4iV5W9uYEdYUVa79Axb7Rh' or 'spotify:episode:512ojhOuo1ktJprKbVcKyQ').\"),\n device_id: z.string().describe(\"The ID of the device this command is targeting. If not supplied, the user's currently active device is the target.\").optional(),\n}).describe(\"Request schema for `AddItemToPlaybackQueue`\");\nexport const SpotifyAddItemToPlaybackQueueOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Human-readable message about the operation result. For errors, includes specific details about what went wrong and how to fix it.\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Whether the item was successfully added to the queue. True indicates the track/episode was queued; False indicates an error (e.g., Premium required, no active device, invalid URI).\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `AddItemToPlaybackQueue`. Returns success status and details about the operation.\");\n\nexport const spotifyAddItemToPlaybackQueue = action(\"SPOTIFY_ADD_ITEM_TO_PLAYBACK_QUEUE\", {\n slug: \"spotify-add-item-to-playback-queue\",\n name: \"Add item to playback queue\",\n description: \"Add an item to the end of the user's current playback queue. This API only works for users who have Spotify Premium. The order of execution is not guaranteed when you use this API with other Player API endpoints. Required scope: user-modify-playback-state Note: Only tracks and episodes can be added to the queue. Albums and playlists cannot be added directly.\",\n input: SpotifyAddItemToPlaybackQueueInput,\n output: SpotifyAddItemToPlaybackQueueOutput,\n});\n"],"mappings":";;AAaA,MAAa,gCAAgC,OAAO,sCAAsC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb8D,EAAE,OAAO;EACvE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6KAA6K;EACtM,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;CAChK,CAAC,CAAC,CAAC,SAAS,6CAUH;CACP,QAV+D,EAAE,OAAO;EACxE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mIAAmI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtL,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,sLAAsL,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1P,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uGAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"add-item-to-playback-queue.mjs","names":[],"sources":["../../src/actions/add-item-to-playback-queue.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyAddItemToPlaybackQueueInput = z.object({\n uri: z.string().describe(\"The Spotify URI of the item to add to the queue. Must be a track or episode URI (e.g., 'spotify:track:4iV5W9uYEdYUVa79Axb7Rh' or 'spotify:episode:512ojhOuo1ktJprKbVcKyQ').\"),\n device_id: z.string().describe(\"The ID of the device this command is targeting. If not supplied, the user's currently active device is the target.\").optional(),\n}).describe(\"Request schema for `AddItemToPlaybackQueue`\");\nexport const SpotifyAddItemToPlaybackQueueOutput = z.object({\n message: z.string().describe(\"Human-readable message about the operation result. For errors, includes specific details about what went wrong and how to fix it.\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Whether the item was successfully added to the queue. True indicates the track/episode was queued; False indicates an error (e.g., Premium required, no active device, invalid URI).\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `AddItemToPlaybackQueue`. Returns success status and details about the operation.\");\n\nexport const spotifyAddItemToPlaybackQueue = action(\"SPOTIFY_ADD_ITEM_TO_PLAYBACK_QUEUE\", {\n slug: \"spotify-add-item-to-playback-queue\",\n name: \"Add item to playback queue\",\n description: \"Add an item to the end of the user's current playback queue. This API only works for users who have Spotify Premium. The order of execution is not guaranteed when you use this API with other Player API endpoints. Required scope: user-modify-playback-state Note: Only tracks and episodes can be added to the queue. Albums and playlists cannot be added directly.\",\n input: SpotifyAddItemToPlaybackQueueInput,\n output: SpotifyAddItemToPlaybackQueueOutput,\n});\n"],"mappings":";;AAaA,MAAa,gCAAgC,OAAO,sCAAsC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbgD,EAAE,OAAO;EACzD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6KAA6K;EACtM,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;CAChK,CAAC,CAAC,CAAC,SAAS,6CAUH;CACP,QAViD,EAAE,OAAO;EAC1D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mIAAmI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtL,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,sLAAsL,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1P,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uGAOhB;AACV,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"add-items-to-playlist.cjs","names":["z","action"],"sources":["../../src/actions/add-items-to-playlist.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyAddItemsToPlaylistInput: z.ZodTypeAny = z.object({\n uris: z.union([z.string(), z.array(z.string())]),\n position: z.number().int().describe(\"Zero-based index for item insertion. Examples:\\n- position=0: Insert at the beginning\\n- position=2: Insert at the third position\\n- Omitted (None): Append items to the end (default behavior)\").optional(),\n playlist_id: z.string().describe(\"The Spotify ID of the playlist (e.g., '3cEYpjA9oz9GiPac4AsH4n'). Can be found in the playlist URL or obtained from playlist creation/search endpoints.\"),\n}).describe(\"Request schema for `AddItemsToPlaylist`\\n\\nRequired OAuth Scopes: playlist-modify-public OR playlist-modify-private\");\nexport const SpotifyAddItemsToPlaylistOutput: z.ZodTypeAny = z.object({\n snapshot_id: z.string().describe(\"A snapshot ID representing the playlist's current version. Spotify playlist endpoints return snapshot IDs that can be used later to identify the specific playlist version to target for changes.\").nullable().optional(),\n}).describe(\"Response schema for `AddItemsToPlaylist`\\n\\nReturns HTTP 201 Created on success with a snapshot_id representing the playlist's current state.\");\n\nexport const spotifyAddItemsToPlaylist = action(\"SPOTIFY_ADD_ITEMS_TO_PLAYLIST\", {\n slug: \"spotify-add-items-to-playlist\",\n name: \"Add items to playlist\",\n description: \"Add one or more items to a user's playlist.\",\n input: SpotifyAddItemsToPlaylistInput,\n output: SpotifyAddItemsToPlaylistOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,MAAMA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC;CAC/C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iMAAiM,CAAC,CAAC,SAAS;CAChP,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wJAAwJ;AAC3L,CAAC,CAAC,CAAC,SAAS,qHAAqH;AACjI,MAAa,kCAAgDA,IAAAA,EAAE,OAAO,EACpE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mMAAmM,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC5P,CAAC,CAAC,CAAC,SAAS,+IAA+I;AAE3J,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"add-items-to-playlist.cjs","names":["z","action"],"sources":["../../src/actions/add-items-to-playlist.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyAddItemsToPlaylistInput = z.object({\n uris: z.union([z.string(), z.array(z.string())]),\n position: z.number().int().describe(\"Zero-based index for item insertion. Examples:\\n- position=0: Insert at the beginning\\n- position=2: Insert at the third position\\n- Omitted (None): Append items to the end (default behavior)\").optional(),\n playlist_id: z.string().describe(\"The Spotify ID of the playlist (e.g., '3cEYpjA9oz9GiPac4AsH4n'). Can be found in the playlist URL or obtained from playlist creation/search endpoints.\"),\n}).describe(\"Request schema for `AddItemsToPlaylist`\\n\\nRequired OAuth Scopes: playlist-modify-public OR playlist-modify-private\");\nexport const SpotifyAddItemsToPlaylistOutput = z.object({\n snapshot_id: z.string().describe(\"A snapshot ID representing the playlist's current version. Spotify playlist endpoints return snapshot IDs that can be used later to identify the specific playlist version to target for changes.\").nullable().optional(),\n}).describe(\"Response schema for `AddItemsToPlaylist`\\n\\nReturns HTTP 201 Created on success with a snapshot_id representing the playlist's current state.\");\n\nexport const spotifyAddItemsToPlaylist = action(\"SPOTIFY_ADD_ITEMS_TO_PLAYLIST\", {\n slug: \"spotify-add-items-to-playlist\",\n name: \"Add items to playlist\",\n description: \"Add one or more items to a user's playlist.\",\n input: SpotifyAddItemsToPlaylistInput,\n output: SpotifyAddItemsToPlaylistOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC;CAC/C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iMAAiM,CAAC,CAAC,SAAS;CAChP,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wJAAwJ;AAC3L,CAAC,CAAC,CAAC,SAAS,qHAAqH;AACjI,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mMAAmM,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC5P,CAAC,CAAC,CAAC,SAAS,+IAA+I;AAE3J,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,19 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/add-items-to-playlist.d.ts
4
- declare const SpotifyAddItemsToPlaylistInput: z.ZodTypeAny;
5
- declare const SpotifyAddItemsToPlaylistOutput: z.ZodTypeAny;
6
- declare const spotifyAddItemsToPlaylist: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SpotifyAddItemsToPlaylistInput: z.ZodObject<{
5
+ uris: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
6
+ position: z.ZodOptional<z.ZodNumber>;
7
+ playlist_id: z.ZodString;
8
+ }, z.core.$strip>;
9
+ declare const SpotifyAddItemsToPlaylistOutput: z.ZodObject<{
10
+ snapshot_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ }, z.core.$strip>;
12
+ declare const spotifyAddItemsToPlaylist: import("@keystrokehq/action").WorkflowActionDefinition<{
13
+ uris: string | string[];
14
+ playlist_id: string;
15
+ position?: number | undefined;
16
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
17
  //#endregion
8
18
  export { spotifyAddItemsToPlaylist };
9
19
  //# sourceMappingURL=add-items-to-playlist.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"add-items-to-playlist.d.cts","names":[],"sources":["../../src/actions/add-items-to-playlist.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAImF;AAAA,cACrH,+BAAA,EAAiC,CAAA,CAAE,UAE4G;AAAA,cAE/I,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"add-items-to-playlist.d.cts","names":[],"sources":["../../src/actions/add-items-to-playlist.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;cAK9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAI/B,yBAAA,gCAAyB,wBAAA"}
@@ -1,9 +1,19 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/add-items-to-playlist.d.ts
4
- declare const SpotifyAddItemsToPlaylistInput: z.ZodTypeAny;
5
- declare const SpotifyAddItemsToPlaylistOutput: z.ZodTypeAny;
6
- declare const spotifyAddItemsToPlaylist: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SpotifyAddItemsToPlaylistInput: z.ZodObject<{
5
+ uris: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>;
6
+ position: z.ZodOptional<z.ZodNumber>;
7
+ playlist_id: z.ZodString;
8
+ }, z.core.$strip>;
9
+ declare const SpotifyAddItemsToPlaylistOutput: z.ZodObject<{
10
+ snapshot_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ }, z.core.$strip>;
12
+ declare const spotifyAddItemsToPlaylist: import("@keystrokehq/action").WorkflowActionDefinition<{
13
+ uris: string | string[];
14
+ playlist_id: string;
15
+ position?: number | undefined;
16
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
17
  //#endregion
8
18
  export { spotifyAddItemsToPlaylist };
9
19
  //# sourceMappingURL=add-items-to-playlist.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"add-items-to-playlist.d.mts","names":[],"sources":["../../src/actions/add-items-to-playlist.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAImF;AAAA,cACrH,+BAAA,EAAiC,CAAA,CAAE,UAE4G;AAAA,cAE/I,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"add-items-to-playlist.d.mts","names":[],"sources":["../../src/actions/add-items-to-playlist.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;cAK9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAI/B,yBAAA,gCAAyB,wBAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"add-items-to-playlist.mjs","names":[],"sources":["../../src/actions/add-items-to-playlist.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyAddItemsToPlaylistInput: z.ZodTypeAny = z.object({\n uris: z.union([z.string(), z.array(z.string())]),\n position: z.number().int().describe(\"Zero-based index for item insertion. Examples:\\n- position=0: Insert at the beginning\\n- position=2: Insert at the third position\\n- Omitted (None): Append items to the end (default behavior)\").optional(),\n playlist_id: z.string().describe(\"The Spotify ID of the playlist (e.g., '3cEYpjA9oz9GiPac4AsH4n'). Can be found in the playlist URL or obtained from playlist creation/search endpoints.\"),\n}).describe(\"Request schema for `AddItemsToPlaylist`\\n\\nRequired OAuth Scopes: playlist-modify-public OR playlist-modify-private\");\nexport const SpotifyAddItemsToPlaylistOutput: z.ZodTypeAny = z.object({\n snapshot_id: z.string().describe(\"A snapshot ID representing the playlist's current version. Spotify playlist endpoints return snapshot IDs that can be used later to identify the specific playlist version to target for changes.\").nullable().optional(),\n}).describe(\"Response schema for `AddItemsToPlaylist`\\n\\nReturns HTTP 201 Created on success with a snapshot_id representing the playlist's current state.\");\n\nexport const spotifyAddItemsToPlaylist = action(\"SPOTIFY_ADD_ITEMS_TO_PLAYLIST\", {\n slug: \"spotify-add-items-to-playlist\",\n name: \"Add items to playlist\",\n description: \"Add one or more items to a user's playlist.\",\n input: SpotifyAddItemsToPlaylistInput,\n output: SpotifyAddItemsToPlaylistOutput,\n});\n"],"mappings":";;AAaA,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb0D,EAAE,OAAO;EACnE,MAAM,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;EAC/C,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iMAAiM,CAAC,CAAC,SAAS;EAChP,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wJAAwJ;CAC3L,CAAC,CAAC,CAAC,SAAS,qHASH;CACP,QAT2D,EAAE,OAAO,EACpE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mMAAmM,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC5P,CAAC,CAAC,CAAC,SAAS,+IAOF;AACV,CAAC"}
1
+ {"version":3,"file":"add-items-to-playlist.mjs","names":[],"sources":["../../src/actions/add-items-to-playlist.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyAddItemsToPlaylistInput = z.object({\n uris: z.union([z.string(), z.array(z.string())]),\n position: z.number().int().describe(\"Zero-based index for item insertion. Examples:\\n- position=0: Insert at the beginning\\n- position=2: Insert at the third position\\n- Omitted (None): Append items to the end (default behavior)\").optional(),\n playlist_id: z.string().describe(\"The Spotify ID of the playlist (e.g., '3cEYpjA9oz9GiPac4AsH4n'). Can be found in the playlist URL or obtained from playlist creation/search endpoints.\"),\n}).describe(\"Request schema for `AddItemsToPlaylist`\\n\\nRequired OAuth Scopes: playlist-modify-public OR playlist-modify-private\");\nexport const SpotifyAddItemsToPlaylistOutput = z.object({\n snapshot_id: z.string().describe(\"A snapshot ID representing the playlist's current version. Spotify playlist endpoints return snapshot IDs that can be used later to identify the specific playlist version to target for changes.\").nullable().optional(),\n}).describe(\"Response schema for `AddItemsToPlaylist`\\n\\nReturns HTTP 201 Created on success with a snapshot_id representing the playlist's current state.\");\n\nexport const spotifyAddItemsToPlaylist = action(\"SPOTIFY_ADD_ITEMS_TO_PLAYLIST\", {\n slug: \"spotify-add-items-to-playlist\",\n name: \"Add items to playlist\",\n description: \"Add one or more items to a user's playlist.\",\n input: SpotifyAddItemsToPlaylistInput,\n output: SpotifyAddItemsToPlaylistOutput,\n});\n"],"mappings":";;AAaA,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb4C,EAAE,OAAO;EACrD,MAAM,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;EAC/C,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iMAAiM,CAAC,CAAC,SAAS;EAChP,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wJAAwJ;CAC3L,CAAC,CAAC,CAAC,SAAS,qHASH;CACP,QAT6C,EAAE,OAAO,EACtD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mMAAmM,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC5P,CAAC,CAAC,CAAC,SAAS,+IAOF;AACV,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"change-playlist-details.cjs","names":["z","action"],"sources":["../../src/actions/change-playlist-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyChangePlaylistDetailsInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The new name for the playlist, for example \\\"My New Playlist Title\\\".\").optional(),\n public: z.boolean().describe(\"If true the playlist will be public, if false it will be private.\").optional(),\n description: z.string().describe(\"Value for playlist description as displayed in Spotify Clients and in the Web API.\").optional(),\n playlist_id: z.string().describe(\"The Spotify ID of the playlist to update. Must be a playlist owned by the current user. Playlist IDs are 22-character base62 strings.\"),\n collaborative: z.boolean().describe(\"If true, the playlist will become collaborative and other users will be able to modify the playlist in their Spotify client. Note: You can only set collaborative to true on non-public playlists.\").optional(),\n}).describe(\"Request schema for `ChangePlaylistDetails`\");\nexport const SpotifyChangePlaylistDetailsOutput: z.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 details were successfully updated.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `ChangePlaylistDetails`. Returns success status since the API returns empty body on success.\");\n\nexport const spotifyChangePlaylistDetails = action(\"SPOTIFY_CHANGE_PLAYLIST_DETAILS\", {\n slug: \"spotify-change-playlist-details\",\n name: \"Change playlist details\",\n description: \"Change a playlist's name and public/private state. The user must own the playlist. This action allows updating the playlist name, description, public/private status, and collaborative mode. At least one of the optional parameters (name, public, collaborative, description) must be provided. Important constraints: - collaborative can only be set to true on non-public playlists (when public is false) - Requires OAuth scope: playlist-modify-public (for public playlists) or playlist-modify-private (for private playlists) - The playlist must be owned by the authenticated user\",\n input: SpotifyChangePlaylistDetailsInput,\n output: SpotifyChangePlaylistDetailsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC5G,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CAC3G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CAChI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uIAAuI;CACxK,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oMAAoM,CAAC,CAAC,SAAS;AACrP,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAa,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,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7H,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":"change-playlist-details.cjs","names":["z","action"],"sources":["../../src/actions/change-playlist-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyChangePlaylistDetailsInput = z.object({\n name: z.string().describe(\"The new name for the playlist, for example \\\"My New Playlist Title\\\".\").optional(),\n public: z.boolean().describe(\"If true the playlist will be public, if false it will be private.\").optional(),\n description: z.string().describe(\"Value for playlist description as displayed in Spotify Clients and in the Web API.\").optional(),\n playlist_id: z.string().describe(\"The Spotify ID of the playlist to update. Must be a playlist owned by the current user. Playlist IDs are 22-character base62 strings.\"),\n collaborative: z.boolean().describe(\"If true, the playlist will become collaborative and other users will be able to modify the playlist in their Spotify client. Note: You can only set collaborative to true on non-public playlists.\").optional(),\n}).describe(\"Request schema for `ChangePlaylistDetails`\");\nexport const SpotifyChangePlaylistDetailsOutput = z.object({\n message: z.string().describe(\"Optional message about the operation.\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Whether the playlist details were successfully updated.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `ChangePlaylistDetails`. Returns success status since the API returns empty body on success.\");\n\nexport const spotifyChangePlaylistDetails = action(\"SPOTIFY_CHANGE_PLAYLIST_DETAILS\", {\n slug: \"spotify-change-playlist-details\",\n name: \"Change playlist details\",\n description: \"Change a playlist's name and public/private state. The user must own the playlist. This action allows updating the playlist name, description, public/private status, and collaborative mode. At least one of the optional parameters (name, public, collaborative, description) must be provided. Important constraints: - collaborative can only be set to true on non-public playlists (when public is false) - Requires OAuth scope: playlist-modify-public (for public playlists) or playlist-modify-private (for private playlists) - The playlist must be owned by the authenticated user\",\n input: SpotifyChangePlaylistDetailsInput,\n output: SpotifyChangePlaylistDetailsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC5G,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CAC3G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CAChI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uIAAuI;CACxK,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oMAAoM,CAAC,CAAC,SAAS;AACrP,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kHAAkH;AAE5I,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,24 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/change-playlist-details.d.ts
4
- declare const SpotifyChangePlaylistDetailsInput: z.ZodTypeAny;
5
- declare const SpotifyChangePlaylistDetailsOutput: z.ZodTypeAny;
6
- declare const spotifyChangePlaylistDetails: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SpotifyChangePlaylistDetailsInput: z.ZodObject<{
5
+ name: z.ZodOptional<z.ZodString>;
6
+ public: z.ZodOptional<z.ZodBoolean>;
7
+ description: z.ZodOptional<z.ZodString>;
8
+ playlist_id: z.ZodString;
9
+ collaborative: z.ZodOptional<z.ZodBoolean>;
10
+ }, z.core.$strip>;
11
+ declare const SpotifyChangePlaylistDetailsOutput: 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 spotifyChangePlaylistDetails: import("@keystrokehq/action").WorkflowActionDefinition<{
16
+ playlist_id: string;
17
+ name?: string | undefined;
18
+ public?: boolean | undefined;
19
+ description?: string | undefined;
20
+ collaborative?: boolean | undefined;
21
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
22
  //#endregion
8
23
  export { spotifyChangePlaylistDetails };
9
24
  //# sourceMappingURL=change-playlist-details.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"change-playlist-details.d.cts","names":[],"sources":["../../src/actions/change-playlist-details.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAMO;AAAA,cAC5C,kCAAA,EAAoC,CAAA,CAAE,UAG0F;AAAA,cAEhI,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"change-playlist-details.d.cts","names":[],"sources":["../../src/actions/change-playlist-details.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;cAOjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;cAKlC,4BAAA,gCAA4B,wBAAA"}
@@ -1,9 +1,24 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/change-playlist-details.d.ts
4
- declare const SpotifyChangePlaylistDetailsInput: z.ZodTypeAny;
5
- declare const SpotifyChangePlaylistDetailsOutput: z.ZodTypeAny;
6
- declare const spotifyChangePlaylistDetails: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SpotifyChangePlaylistDetailsInput: z.ZodObject<{
5
+ name: z.ZodOptional<z.ZodString>;
6
+ public: z.ZodOptional<z.ZodBoolean>;
7
+ description: z.ZodOptional<z.ZodString>;
8
+ playlist_id: z.ZodString;
9
+ collaborative: z.ZodOptional<z.ZodBoolean>;
10
+ }, z.core.$strip>;
11
+ declare const SpotifyChangePlaylistDetailsOutput: 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 spotifyChangePlaylistDetails: import("@keystrokehq/action").WorkflowActionDefinition<{
16
+ playlist_id: string;
17
+ name?: string | undefined;
18
+ public?: boolean | undefined;
19
+ description?: string | undefined;
20
+ collaborative?: boolean | undefined;
21
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
22
  //#endregion
8
23
  export { spotifyChangePlaylistDetails };
9
24
  //# sourceMappingURL=change-playlist-details.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"change-playlist-details.d.mts","names":[],"sources":["../../src/actions/change-playlist-details.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAMO;AAAA,cAC5C,kCAAA,EAAoC,CAAA,CAAE,UAG0F;AAAA,cAEhI,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"change-playlist-details.d.mts","names":[],"sources":["../../src/actions/change-playlist-details.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;cAOjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;cAKlC,4BAAA,gCAA4B,wBAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"change-playlist-details.mjs","names":[],"sources":["../../src/actions/change-playlist-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyChangePlaylistDetailsInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The new name for the playlist, for example \\\"My New Playlist Title\\\".\").optional(),\n public: z.boolean().describe(\"If true the playlist will be public, if false it will be private.\").optional(),\n description: z.string().describe(\"Value for playlist description as displayed in Spotify Clients and in the Web API.\").optional(),\n playlist_id: z.string().describe(\"The Spotify ID of the playlist to update. Must be a playlist owned by the current user. Playlist IDs are 22-character base62 strings.\"),\n collaborative: z.boolean().describe(\"If true, the playlist will become collaborative and other users will be able to modify the playlist in their Spotify client. Note: You can only set collaborative to true on non-public playlists.\").optional(),\n}).describe(\"Request schema for `ChangePlaylistDetails`\");\nexport const SpotifyChangePlaylistDetailsOutput: z.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 details were successfully updated.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `ChangePlaylistDetails`. Returns success status since the API returns empty body on success.\");\n\nexport const spotifyChangePlaylistDetails = action(\"SPOTIFY_CHANGE_PLAYLIST_DETAILS\", {\n slug: \"spotify-change-playlist-details\",\n name: \"Change playlist details\",\n description: \"Change a playlist's name and public/private state. The user must own the playlist. This action allows updating the playlist name, description, public/private status, and collaborative mode. At least one of the optional parameters (name, public, collaborative, description) must be provided. Important constraints: - collaborative can only be set to true on non-public playlists (when public is false) - Requires OAuth scope: playlist-modify-public (for public playlists) or playlist-modify-private (for private playlists) - The playlist must be owned by the authenticated user\",\n input: SpotifyChangePlaylistDetailsInput,\n output: SpotifyChangePlaylistDetailsOutput,\n});\n"],"mappings":";;AAgBA,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB6D,EAAE,OAAO;EACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;EAC5G,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;EAC3G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;EAChI,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uIAAuI;EACxK,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,oMAAoM,CAAC,CAAC,SAAS;CACrP,CAAC,CAAC,CAAC,SAAS,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,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kHAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"change-playlist-details.mjs","names":[],"sources":["../../src/actions/change-playlist-details.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyChangePlaylistDetailsInput = z.object({\n name: z.string().describe(\"The new name for the playlist, for example \\\"My New Playlist Title\\\".\").optional(),\n public: z.boolean().describe(\"If true the playlist will be public, if false it will be private.\").optional(),\n description: z.string().describe(\"Value for playlist description as displayed in Spotify Clients and in the Web API.\").optional(),\n playlist_id: z.string().describe(\"The Spotify ID of the playlist to update. Must be a playlist owned by the current user. Playlist IDs are 22-character base62 strings.\"),\n collaborative: z.boolean().describe(\"If true, the playlist will become collaborative and other users will be able to modify the playlist in their Spotify client. Note: You can only set collaborative to true on non-public playlists.\").optional(),\n}).describe(\"Request schema for `ChangePlaylistDetails`\");\nexport const SpotifyChangePlaylistDetailsOutput = z.object({\n message: z.string().describe(\"Optional message about the operation.\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Whether the playlist details were successfully updated.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `ChangePlaylistDetails`. Returns success status since the API returns empty body on success.\");\n\nexport const spotifyChangePlaylistDetails = action(\"SPOTIFY_CHANGE_PLAYLIST_DETAILS\", {\n slug: \"spotify-change-playlist-details\",\n name: \"Change playlist details\",\n description: \"Change a playlist's name and public/private state. The user must own the playlist. This action allows updating the playlist name, description, public/private status, and collaborative mode. At least one of the optional parameters (name, public, collaborative, description) must be provided. Important constraints: - collaborative can only be set to true on non-public playlists (when public is false) - Requires OAuth scope: playlist-modify-public (for public playlists) or playlist-modify-private (for private playlists) - The playlist must be owned by the authenticated user\",\n input: SpotifyChangePlaylistDetailsInput,\n output: SpotifyChangePlaylistDetailsOutput,\n});\n"],"mappings":";;AAgBA,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB+C,EAAE,OAAO;EACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;EAC5G,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;EAC3G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;EAChI,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uIAAuI;EACxK,eAAe,EAAE,QAAQ,CAAC,CAAC,SAAS,oMAAoM,CAAC,CAAC,SAAS;CACrP,CAAC,CAAC,CAAC,SAAS,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,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kHAOhB;AACV,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"check-if-user-follows-artists-or-users.cjs","names":["z","action"],"sources":["../../src/actions/check-if-user-follows-artists-or-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyCheckIfUserFollowsArtistsOrUsersInput: z.ZodTypeAny = z.object({\n ids: z.string().describe(\"A comma-separated list of the artist or user Spotify IDs to check. Maximum of 50 IDs per request. Example: '2CIMQHirSU0MQqyYHq0eOx,57dN52uHvrHOxijzpIgu3E'\"),\n type: z.enum([\"artist\", \"user\"]).describe(\"The ID type: either 'artist' or 'user'\"),\n}).describe(\"Request schema for `CheckIfUserFollowsArtistsOrUsers`\");\nexport const SpotifyCheckIfUserFollowsArtistsOrUsersOutput: z.ZodTypeAny = z.object({\n follows: z.array(z.boolean()).describe(\"Array of boolean values in the same order as the requested artist or user IDs. True indicates the user follows the artist/user, False indicates they do not.\"),\n}).describe(\"Response schema for `CheckIfUserFollowsArtistsOrUsers`\\n\\nReturns an array of booleans indicating whether the current user follows each\\nartist or user in the same order as the IDs were provided in the request.\");\n\nexport const spotifyCheckIfUserFollowsArtistsOrUsers = action(\"SPOTIFY_CHECK_IF_USER_FOLLOWS_ARTISTS_OR_USERS\", {\n slug: \"spotify-check-if-user-follows-artists-or-users\",\n name: \"Check if user follows artists or users\",\n description: \"Check to see if the current user is following one or more artists or other Spotify users.\",\n input: SpotifyCheckIfUserFollowsArtistsOrUsersInput,\n output: SpotifyCheckIfUserFollowsArtistsOrUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+CAA6DA,IAAAA,EAAE,OAAO;CACjF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4JAA4J;CACrL,MAAMA,IAAAA,EAAE,KAAK,CAAC,UAAU,MAAM,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpF,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAa,gDAA8DA,IAAAA,EAAE,OAAO,EAClF,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8JAA8J,EACvM,CAAC,CAAC,CAAC,SAAS,oNAAoN;AAEhO,MAAa,0CAA0CC,eAAAA,OAAO,kDAAkD;CAC9G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"check-if-user-follows-artists-or-users.cjs","names":["z","action"],"sources":["../../src/actions/check-if-user-follows-artists-or-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyCheckIfUserFollowsArtistsOrUsersInput = z.object({\n ids: z.string().describe(\"A comma-separated list of the artist or user Spotify IDs to check. Maximum of 50 IDs per request. Example: '2CIMQHirSU0MQqyYHq0eOx,57dN52uHvrHOxijzpIgu3E'\"),\n type: z.enum([\"artist\", \"user\"]).describe(\"The ID type: either 'artist' or 'user'\"),\n}).describe(\"Request schema for `CheckIfUserFollowsArtistsOrUsers`\");\nexport const SpotifyCheckIfUserFollowsArtistsOrUsersOutput = z.object({\n follows: z.array(z.boolean()).describe(\"Array of boolean values in the same order as the requested artist or user IDs. True indicates the user follows the artist/user, False indicates they do not.\"),\n}).describe(\"Response schema for `CheckIfUserFollowsArtistsOrUsers`\\n\\nReturns an array of booleans indicating whether the current user follows each\\nartist or user in the same order as the IDs were provided in the request.\");\n\nexport const spotifyCheckIfUserFollowsArtistsOrUsers = action(\"SPOTIFY_CHECK_IF_USER_FOLLOWS_ARTISTS_OR_USERS\", {\n slug: \"spotify-check-if-user-follows-artists-or-users\",\n name: \"Check if user follows artists or users\",\n description: \"Check to see if the current user is following one or more artists or other Spotify users.\",\n input: SpotifyCheckIfUserFollowsArtistsOrUsersInput,\n output: SpotifyCheckIfUserFollowsArtistsOrUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+CAA+CA,IAAAA,EAAE,OAAO;CACnE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4JAA4J;CACrL,MAAMA,IAAAA,EAAE,KAAK,CAAC,UAAU,MAAM,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpF,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAa,gDAAgDA,IAAAA,EAAE,OAAO,EACpE,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8JAA8J,EACvM,CAAC,CAAC,CAAC,SAAS,oNAAoN;AAEhO,MAAa,0CAA0CC,eAAAA,OAAO,kDAAkD;CAC9G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,20 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/check-if-user-follows-artists-or-users.d.ts
4
- declare const SpotifyCheckIfUserFollowsArtistsOrUsersInput: z.ZodTypeAny;
5
- declare const SpotifyCheckIfUserFollowsArtistsOrUsersOutput: z.ZodTypeAny;
6
- declare const spotifyCheckIfUserFollowsArtistsOrUsers: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SpotifyCheckIfUserFollowsArtistsOrUsersInput: z.ZodObject<{
5
+ ids: z.ZodString;
6
+ type: z.ZodEnum<{
7
+ user: "user";
8
+ artist: "artist";
9
+ }>;
10
+ }, z.core.$strip>;
11
+ declare const SpotifyCheckIfUserFollowsArtistsOrUsersOutput: z.ZodObject<{
12
+ follows: z.ZodArray<z.ZodBoolean>;
13
+ }, z.core.$strip>;
14
+ declare const spotifyCheckIfUserFollowsArtistsOrUsers: import("@keystrokehq/action").WorkflowActionDefinition<{
15
+ ids: string;
16
+ type: "user" | "artist";
17
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
18
  //#endregion
8
19
  export { spotifyCheckIfUserFollowsArtistsOrUsers };
9
20
  //# sourceMappingURL=check-if-user-follows-artists-or-users.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"check-if-user-follows-artists-or-users.d.cts","names":[],"sources":["../../src/actions/check-if-user-follows-artists-or-users.ts"],"mappings":";;;cAIa,4CAAA,EAA8C,CAAA,CAAE,UAGO;AAAA,cACvD,6CAAA,EAA+C,CAAA,CAAE,UAEmK;AAAA,cAEpN,uCAAA,gCAAuC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"check-if-user-follows-artists-or-users.d.cts","names":[],"sources":["../../src/actions/check-if-user-follows-artists-or-users.ts"],"mappings":";;;cAIa,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;;;;;cAI5C,6CAAA,EAA6C,CAAA,CAAA,SAAA;;;cAI7C,uCAAA,gCAAuC,wBAAA"}
@@ -1,9 +1,20 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/check-if-user-follows-artists-or-users.d.ts
4
- declare const SpotifyCheckIfUserFollowsArtistsOrUsersInput: z.ZodTypeAny;
5
- declare const SpotifyCheckIfUserFollowsArtistsOrUsersOutput: z.ZodTypeAny;
6
- declare const spotifyCheckIfUserFollowsArtistsOrUsers: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SpotifyCheckIfUserFollowsArtistsOrUsersInput: z.ZodObject<{
5
+ ids: z.ZodString;
6
+ type: z.ZodEnum<{
7
+ user: "user";
8
+ artist: "artist";
9
+ }>;
10
+ }, z.core.$strip>;
11
+ declare const SpotifyCheckIfUserFollowsArtistsOrUsersOutput: z.ZodObject<{
12
+ follows: z.ZodArray<z.ZodBoolean>;
13
+ }, z.core.$strip>;
14
+ declare const spotifyCheckIfUserFollowsArtistsOrUsers: import("@keystrokehq/action").WorkflowActionDefinition<{
15
+ ids: string;
16
+ type: "user" | "artist";
17
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
18
  //#endregion
8
19
  export { spotifyCheckIfUserFollowsArtistsOrUsers };
9
20
  //# sourceMappingURL=check-if-user-follows-artists-or-users.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"check-if-user-follows-artists-or-users.d.mts","names":[],"sources":["../../src/actions/check-if-user-follows-artists-or-users.ts"],"mappings":";;;cAIa,4CAAA,EAA8C,CAAA,CAAE,UAGO;AAAA,cACvD,6CAAA,EAA+C,CAAA,CAAE,UAEmK;AAAA,cAEpN,uCAAA,gCAAuC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"check-if-user-follows-artists-or-users.d.mts","names":[],"sources":["../../src/actions/check-if-user-follows-artists-or-users.ts"],"mappings":";;;cAIa,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;;;;;cAI5C,6CAAA,EAA6C,CAAA,CAAA,SAAA;;;cAI7C,uCAAA,gCAAuC,wBAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"check-if-user-follows-artists-or-users.mjs","names":[],"sources":["../../src/actions/check-if-user-follows-artists-or-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyCheckIfUserFollowsArtistsOrUsersInput: z.ZodTypeAny = z.object({\n ids: z.string().describe(\"A comma-separated list of the artist or user Spotify IDs to check. Maximum of 50 IDs per request. Example: '2CIMQHirSU0MQqyYHq0eOx,57dN52uHvrHOxijzpIgu3E'\"),\n type: z.enum([\"artist\", \"user\"]).describe(\"The ID type: either 'artist' or 'user'\"),\n}).describe(\"Request schema for `CheckIfUserFollowsArtistsOrUsers`\");\nexport const SpotifyCheckIfUserFollowsArtistsOrUsersOutput: z.ZodTypeAny = z.object({\n follows: z.array(z.boolean()).describe(\"Array of boolean values in the same order as the requested artist or user IDs. True indicates the user follows the artist/user, False indicates they do not.\"),\n}).describe(\"Response schema for `CheckIfUserFollowsArtistsOrUsers`\\n\\nReturns an array of booleans indicating whether the current user follows each\\nartist or user in the same order as the IDs were provided in the request.\");\n\nexport const spotifyCheckIfUserFollowsArtistsOrUsers = action(\"SPOTIFY_CHECK_IF_USER_FOLLOWS_ARTISTS_OR_USERS\", {\n slug: \"spotify-check-if-user-follows-artists-or-users\",\n name: \"Check if user follows artists or users\",\n description: \"Check to see if the current user is following one or more artists or other Spotify users.\",\n input: SpotifyCheckIfUserFollowsArtistsOrUsersInput,\n output: SpotifyCheckIfUserFollowsArtistsOrUsersOutput,\n});\n"],"mappings":";;AAYA,MAAa,0CAA0C,OAAO,kDAAkD;CAC9G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZwE,EAAE,OAAO;EACjF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4JAA4J;EACrL,MAAM,EAAE,KAAK,CAAC,UAAU,MAAM,CAAC,CAAC,CAAC,SAAS,wCAAwC;CACpF,CAAC,CAAC,CAAC,SAAS,uDASH;CACP,QATyE,EAAE,OAAO,EAClF,SAAS,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8JAA8J,EACvM,CAAC,CAAC,CAAC,SAAS,oNAOF;AACV,CAAC"}
1
+ {"version":3,"file":"check-if-user-follows-artists-or-users.mjs","names":[],"sources":["../../src/actions/check-if-user-follows-artists-or-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyCheckIfUserFollowsArtistsOrUsersInput = z.object({\n ids: z.string().describe(\"A comma-separated list of the artist or user Spotify IDs to check. Maximum of 50 IDs per request. Example: '2CIMQHirSU0MQqyYHq0eOx,57dN52uHvrHOxijzpIgu3E'\"),\n type: z.enum([\"artist\", \"user\"]).describe(\"The ID type: either 'artist' or 'user'\"),\n}).describe(\"Request schema for `CheckIfUserFollowsArtistsOrUsers`\");\nexport const SpotifyCheckIfUserFollowsArtistsOrUsersOutput = z.object({\n follows: z.array(z.boolean()).describe(\"Array of boolean values in the same order as the requested artist or user IDs. True indicates the user follows the artist/user, False indicates they do not.\"),\n}).describe(\"Response schema for `CheckIfUserFollowsArtistsOrUsers`\\n\\nReturns an array of booleans indicating whether the current user follows each\\nartist or user in the same order as the IDs were provided in the request.\");\n\nexport const spotifyCheckIfUserFollowsArtistsOrUsers = action(\"SPOTIFY_CHECK_IF_USER_FOLLOWS_ARTISTS_OR_USERS\", {\n slug: \"spotify-check-if-user-follows-artists-or-users\",\n name: \"Check if user follows artists or users\",\n description: \"Check to see if the current user is following one or more artists or other Spotify users.\",\n input: SpotifyCheckIfUserFollowsArtistsOrUsersInput,\n output: SpotifyCheckIfUserFollowsArtistsOrUsersOutput,\n});\n"],"mappings":";;AAYA,MAAa,0CAA0C,OAAO,kDAAkD;CAC9G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ0D,EAAE,OAAO;EACnE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4JAA4J;EACrL,MAAM,EAAE,KAAK,CAAC,UAAU,MAAM,CAAC,CAAC,CAAC,SAAS,wCAAwC;CACpF,CAAC,CAAC,CAAC,SAAS,uDASH;CACP,QAT2D,EAAE,OAAO,EACpE,SAAS,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8JAA8J,EACvM,CAAC,CAAC,CAAC,SAAS,oNAOF;AACV,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"check-if-users-follow-playlist.cjs","names":["z","action"],"sources":["../../src/actions/check-if-users-follow-playlist.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyCheckIfUsersFollowPlaylistInput: z.ZodTypeAny = z.object({\n ids: z.string().describe(\"The Spotify user ID to check if they follow the playlist. Must be the current authenticated user's ID. Single user ID only (e.g., 'jmperezperez'). Note: While the API parameter is named 'ids', only the authenticated user can be checked.\"),\n playlist_id: z.string().describe(\"The Spotify ID of the playlist to check followers for. A 22-character alphanumeric string (e.g., '3cEYpjA9oz9GiPac4AsH4n').\"),\n}).describe(\"Request schema for `CheckIfUsersFollowPlaylist`\");\nconst SpotifyCheckIfUsersFollowPlaylist_UserFollowStatusSchema: z.ZodTypeAny = z.object({\n follows: z.boolean().nullable().optional(),\n user_id: z.string().nullable().optional(),\n}).passthrough().describe(\"A single user's follow status for a playlist.\");\nexport const SpotifyCheckIfUsersFollowPlaylistOutput: z.ZodTypeAny = z.object({\n results: z.array(z.boolean()).describe(\"A list containing a single boolean value indicating whether the authenticated user follows the playlist (e.g., [true] or [false]).\").nullable().optional(),\n user_follow_statuses: z.array(SpotifyCheckIfUsersFollowPlaylist_UserFollowStatusSchema).describe(\"Optional detailed breakdown of each user's follow status.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `CheckIfUsersFollowPlaylist`\\n\\nThe API returns a JSON array containing a single boolean indicating whether\\nthe authenticated user follows the playlist.\");\n\nexport const spotifyCheckIfUsersFollowPlaylist = action(\"SPOTIFY_CHECK_IF_USERS_FOLLOW_PLAYLIST\", {\n slug: \"spotify-check-if-users-follow-playlist\",\n name: \"Check if users follow playlist\",\n description: \"Check if the current authenticated user is following a specified playlist. This endpoint checks whether the authenticated user follows the given playlist. It returns a boolean value indicating whether the user follows the playlist. Important: Despite the parameter being named 'ids', this endpoint only works for checking if the current authenticated user follows a playlist. You cannot check if arbitrary users follow a playlist. Note: The playlist must be public or the requesting user must own the playlist.\",\n input: SpotifyCheckIfUsersFollowPlaylistInput,\n output: SpotifyCheckIfUsersFollowPlaylistOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAuDA,IAAAA,EAAE,OAAO;CAC3E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8OAA8O;CACvQ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H;AAChK,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,2DAAyEA,IAAAA,EAAE,OAAO;CACtF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzC,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1C,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AACzE,MAAa,0CAAwDA,IAAAA,EAAE,OAAO;CAC5E,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oIAAoI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjM,sBAAsBA,IAAAA,EAAE,MAAM,wDAAwD,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+KAA+K;AAEzM,MAAa,oCAAoCC,eAAAA,OAAO,0CAA0C;CAChG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"check-if-users-follow-playlist.cjs","names":["z","action"],"sources":["../../src/actions/check-if-users-follow-playlist.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyCheckIfUsersFollowPlaylistInput = z.object({\n ids: z.string().describe(\"The Spotify user ID to check if they follow the playlist. Must be the current authenticated user's ID. Single user ID only (e.g., 'jmperezperez'). Note: While the API parameter is named 'ids', only the authenticated user can be checked.\"),\n playlist_id: z.string().describe(\"The Spotify ID of the playlist to check followers for. A 22-character alphanumeric string (e.g., '3cEYpjA9oz9GiPac4AsH4n').\"),\n}).describe(\"Request schema for `CheckIfUsersFollowPlaylist`\");\nconst SpotifyCheckIfUsersFollowPlaylist_UserFollowStatusSchema = z.object({\n follows: z.boolean().nullable().optional(),\n user_id: z.string().nullable().optional(),\n}).passthrough().describe(\"A single user's follow status for a playlist.\");\nexport const SpotifyCheckIfUsersFollowPlaylistOutput = z.object({\n results: z.array(z.boolean()).describe(\"A list containing a single boolean value indicating whether the authenticated user follows the playlist (e.g., [true] or [false]).\").nullable().optional(),\n user_follow_statuses: z.array(SpotifyCheckIfUsersFollowPlaylist_UserFollowStatusSchema).describe(\"Optional detailed breakdown of each user's follow status.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `CheckIfUsersFollowPlaylist`\\n\\nThe API returns a JSON array containing a single boolean indicating whether\\nthe authenticated user follows the playlist.\");\n\nexport const spotifyCheckIfUsersFollowPlaylist = action(\"SPOTIFY_CHECK_IF_USERS_FOLLOW_PLAYLIST\", {\n slug: \"spotify-check-if-users-follow-playlist\",\n name: \"Check if users follow playlist\",\n description: \"Check if the current authenticated user is following a specified playlist. This endpoint checks whether the authenticated user follows the given playlist. It returns a boolean value indicating whether the user follows the playlist. Important: Despite the parameter being named 'ids', this endpoint only works for checking if the current authenticated user follows a playlist. You cannot check if arbitrary users follow a playlist. Note: The playlist must be public or the requesting user must own the playlist.\",\n input: SpotifyCheckIfUsersFollowPlaylistInput,\n output: SpotifyCheckIfUsersFollowPlaylistOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8OAA8O;CACvQ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H;AAChK,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,2DAA2DA,IAAAA,EAAE,OAAO;CACxE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzC,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1C,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AACzE,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oIAAoI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjM,sBAAsBA,IAAAA,EAAE,MAAM,wDAAwD,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+KAA+K;AAEzM,MAAa,oCAAoCC,eAAAA,OAAO,0CAA0C;CAChG,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/check-if-users-follow-playlist.d.ts
4
- declare const SpotifyCheckIfUsersFollowPlaylistInput: z.ZodTypeAny;
5
- declare const SpotifyCheckIfUsersFollowPlaylistOutput: z.ZodTypeAny;
6
- declare const spotifyCheckIfUsersFollowPlaylist: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SpotifyCheckIfUsersFollowPlaylistInput: z.ZodObject<{
5
+ ids: z.ZodString;
6
+ playlist_id: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const SpotifyCheckIfUsersFollowPlaylistOutput: z.ZodObject<{
9
+ results: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodBoolean>>>;
10
+ user_follow_statuses: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
11
+ follows: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
12
+ user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ }, z.core.$loose>>>>;
14
+ }, z.core.$loose>;
15
+ declare const spotifyCheckIfUsersFollowPlaylist: import("@keystrokehq/action").WorkflowActionDefinition<{
16
+ ids: string;
17
+ playlist_id: string;
18
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
19
  //#endregion
8
20
  export { spotifyCheckIfUsersFollowPlaylist };
9
21
  //# sourceMappingURL=check-if-users-follow-playlist.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"check-if-users-follow-playlist.d.cts","names":[],"sources":["../../src/actions/check-if-users-follow-playlist.ts"],"mappings":";;;cAIa,sCAAA,EAAwC,CAAA,CAAE,UAGO;AAAA,cAKjD,uCAAA,EAAyC,CAAA,CAAE,UAGkJ;AAAA,cAE7L,iCAAA,gCAAiC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"check-if-users-follow-playlist.d.cts","names":[],"sources":["../../src/actions/check-if-users-follow-playlist.ts"],"mappings":";;;cAIa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;cAQtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;cAKvC,iCAAA,gCAAiC,wBAAA"}
@@ -1,9 +1,21 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/check-if-users-follow-playlist.d.ts
4
- declare const SpotifyCheckIfUsersFollowPlaylistInput: z.ZodTypeAny;
5
- declare const SpotifyCheckIfUsersFollowPlaylistOutput: z.ZodTypeAny;
6
- declare const spotifyCheckIfUsersFollowPlaylist: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SpotifyCheckIfUsersFollowPlaylistInput: z.ZodObject<{
5
+ ids: z.ZodString;
6
+ playlist_id: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const SpotifyCheckIfUsersFollowPlaylistOutput: z.ZodObject<{
9
+ results: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodBoolean>>>;
10
+ user_follow_statuses: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
11
+ follows: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
12
+ user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ }, z.core.$loose>>>>;
14
+ }, z.core.$loose>;
15
+ declare const spotifyCheckIfUsersFollowPlaylist: import("@keystrokehq/action").WorkflowActionDefinition<{
16
+ ids: string;
17
+ playlist_id: string;
18
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
19
  //#endregion
8
20
  export { spotifyCheckIfUsersFollowPlaylist };
9
21
  //# sourceMappingURL=check-if-users-follow-playlist.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"check-if-users-follow-playlist.d.mts","names":[],"sources":["../../src/actions/check-if-users-follow-playlist.ts"],"mappings":";;;cAIa,sCAAA,EAAwC,CAAA,CAAE,UAGO;AAAA,cAKjD,uCAAA,EAAyC,CAAA,CAAE,UAGkJ;AAAA,cAE7L,iCAAA,gCAAiC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"check-if-users-follow-playlist.d.mts","names":[],"sources":["../../src/actions/check-if-users-follow-playlist.ts"],"mappings":";;;cAIa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;cAQtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;cAKvC,iCAAA,gCAAiC,wBAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"check-if-users-follow-playlist.mjs","names":[],"sources":["../../src/actions/check-if-users-follow-playlist.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyCheckIfUsersFollowPlaylistInput: z.ZodTypeAny = z.object({\n ids: z.string().describe(\"The Spotify user ID to check if they follow the playlist. Must be the current authenticated user's ID. Single user ID only (e.g., 'jmperezperez'). Note: While the API parameter is named 'ids', only the authenticated user can be checked.\"),\n playlist_id: z.string().describe(\"The Spotify ID of the playlist to check followers for. A 22-character alphanumeric string (e.g., '3cEYpjA9oz9GiPac4AsH4n').\"),\n}).describe(\"Request schema for `CheckIfUsersFollowPlaylist`\");\nconst SpotifyCheckIfUsersFollowPlaylist_UserFollowStatusSchema: z.ZodTypeAny = z.object({\n follows: z.boolean().nullable().optional(),\n user_id: z.string().nullable().optional(),\n}).passthrough().describe(\"A single user's follow status for a playlist.\");\nexport const SpotifyCheckIfUsersFollowPlaylistOutput: z.ZodTypeAny = z.object({\n results: z.array(z.boolean()).describe(\"A list containing a single boolean value indicating whether the authenticated user follows the playlist (e.g., [true] or [false]).\").nullable().optional(),\n user_follow_statuses: z.array(SpotifyCheckIfUsersFollowPlaylist_UserFollowStatusSchema).describe(\"Optional detailed breakdown of each user's follow status.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `CheckIfUsersFollowPlaylist`\\n\\nThe API returns a JSON array containing a single boolean indicating whether\\nthe authenticated user follows the playlist.\");\n\nexport const spotifyCheckIfUsersFollowPlaylist = action(\"SPOTIFY_CHECK_IF_USERS_FOLLOW_PLAYLIST\", {\n slug: \"spotify-check-if-users-follow-playlist\",\n name: \"Check if users follow playlist\",\n description: \"Check if the current authenticated user is following a specified playlist. This endpoint checks whether the authenticated user follows the given playlist. It returns a boolean value indicating whether the user follows the playlist. Important: Despite the parameter being named 'ids', this endpoint only works for checking if the current authenticated user follows a playlist. You cannot check if arbitrary users follow a playlist. Note: The playlist must be public or the requesting user must own the playlist.\",\n input: SpotifyCheckIfUsersFollowPlaylistInput,\n output: SpotifyCheckIfUsersFollowPlaylistOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAuD,EAAE,OAAO;CAC3E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8OAA8O;CACvQ,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H;AAChK,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,2DAAyE,EAAE,OAAO;CACtF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzC,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1C,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAMzE,MAAa,oCAAoC,OAAO,0CAA0C;CAChG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVmE,EAAE,OAAO;EAC5E,SAAS,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oIAAoI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjM,sBAAsB,EAAE,MAAM,wDAAwD,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+KAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"check-if-users-follow-playlist.mjs","names":[],"sources":["../../src/actions/check-if-users-follow-playlist.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyCheckIfUsersFollowPlaylistInput = z.object({\n ids: z.string().describe(\"The Spotify user ID to check if they follow the playlist. Must be the current authenticated user's ID. Single user ID only (e.g., 'jmperezperez'). Note: While the API parameter is named 'ids', only the authenticated user can be checked.\"),\n playlist_id: z.string().describe(\"The Spotify ID of the playlist to check followers for. A 22-character alphanumeric string (e.g., '3cEYpjA9oz9GiPac4AsH4n').\"),\n}).describe(\"Request schema for `CheckIfUsersFollowPlaylist`\");\nconst SpotifyCheckIfUsersFollowPlaylist_UserFollowStatusSchema = z.object({\n follows: z.boolean().nullable().optional(),\n user_id: z.string().nullable().optional(),\n}).passthrough().describe(\"A single user's follow status for a playlist.\");\nexport const SpotifyCheckIfUsersFollowPlaylistOutput = z.object({\n results: z.array(z.boolean()).describe(\"A list containing a single boolean value indicating whether the authenticated user follows the playlist (e.g., [true] or [false]).\").nullable().optional(),\n user_follow_statuses: z.array(SpotifyCheckIfUsersFollowPlaylist_UserFollowStatusSchema).describe(\"Optional detailed breakdown of each user's follow status.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `CheckIfUsersFollowPlaylist`\\n\\nThe API returns a JSON array containing a single boolean indicating whether\\nthe authenticated user follows the playlist.\");\n\nexport const spotifyCheckIfUsersFollowPlaylist = action(\"SPOTIFY_CHECK_IF_USERS_FOLLOW_PLAYLIST\", {\n slug: \"spotify-check-if-users-follow-playlist\",\n name: \"Check if users follow playlist\",\n description: \"Check if the current authenticated user is following a specified playlist. This endpoint checks whether the authenticated user follows the given playlist. It returns a boolean value indicating whether the user follows the playlist. Important: Despite the parameter being named 'ids', this endpoint only works for checking if the current authenticated user follows a playlist. You cannot check if arbitrary users follow a playlist. Note: The playlist must be public or the requesting user must own the playlist.\",\n input: SpotifyCheckIfUsersFollowPlaylistInput,\n output: SpotifyCheckIfUsersFollowPlaylistOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyC,EAAE,OAAO;CAC7D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8OAA8O;CACvQ,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H;AAChK,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,2DAA2D,EAAE,OAAO;CACxE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzC,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1C,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAMzE,MAAa,oCAAoC,OAAO,0CAA0C;CAChG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVqD,EAAE,OAAO;EAC9D,SAAS,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oIAAoI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjM,sBAAsB,EAAE,MAAM,wDAAwD,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+KAOhB;AACV,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"check-user-s-saved-albums.cjs","names":["z","action"],"sources":["../../src/actions/check-user-s-saved-albums.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyCheckUserSSavedAlbumsInput: z.ZodTypeAny = z.object({\n ids: z.string().describe(\"A comma-separated list of Spotify album IDs. Maximum: 20 IDs. Example: '382ObEPsp2rxGrnsizN5TX,1A2GTWGtFfWp7KSQTwWOyo'\"),\n}).describe(\"Request schema for `CheckUserSSavedAlbums`\");\nexport const SpotifyCheckUserSSavedAlbumsOutput: z.ZodTypeAny = z.object({\n saved: z.array(z.boolean()).describe(\"Array of boolean values in the same order as the requested album IDs. True indicates the album is saved in the user's library, False indicates it is not.\"),\n}).describe(\"Response schema for `CheckUserSSavedAlbums`\");\n\nexport const spotifyCheckUserSSavedAlbums = action(\"SPOTIFY_CHECK_USER_S_SAVED_ALBUMS\", {\n slug: \"spotify-check-user-s-saved-albums\",\n name: \"Check user s saved albums\",\n description: \"Check if one or more albums is already saved in the current Spotify user's 'Your Music' library.\",\n input: SpotifyCheckUserSSavedAlbumsInput,\n output: SpotifyCheckUserSSavedAlbumsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkDA,IAAAA,EAAE,OAAO,EACtE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wHAAwH,EACnJ,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAa,qCAAmDA,IAAAA,EAAE,OAAO,EACvE,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2JAA2J,EAClM,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAEzD,MAAa,+BAA+BC,eAAAA,OAAO,qCAAqC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"check-user-s-saved-albums.cjs","names":["z","action"],"sources":["../../src/actions/check-user-s-saved-albums.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyCheckUserSSavedAlbumsInput = z.object({\n ids: z.string().describe(\"A comma-separated list of Spotify album IDs. Maximum: 20 IDs. Example: '382ObEPsp2rxGrnsizN5TX,1A2GTWGtFfWp7KSQTwWOyo'\"),\n}).describe(\"Request schema for `CheckUserSSavedAlbums`\");\nexport const SpotifyCheckUserSSavedAlbumsOutput = z.object({\n saved: z.array(z.boolean()).describe(\"Array of boolean values in the same order as the requested album IDs. True indicates the album is saved in the user's library, False indicates it is not.\"),\n}).describe(\"Response schema for `CheckUserSSavedAlbums`\");\n\nexport const spotifyCheckUserSSavedAlbums = action(\"SPOTIFY_CHECK_USER_S_SAVED_ALBUMS\", {\n slug: \"spotify-check-user-s-saved-albums\",\n name: \"Check user s saved albums\",\n description: \"Check if one or more albums is already saved in the current Spotify user's 'Your Music' library.\",\n input: SpotifyCheckUserSSavedAlbumsInput,\n output: SpotifyCheckUserSSavedAlbumsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wHAAwH,EACnJ,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2JAA2J,EAClM,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAEzD,MAAa,+BAA+BC,eAAAA,OAAO,qCAAqC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,15 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/check-user-s-saved-albums.d.ts
4
- declare const SpotifyCheckUserSSavedAlbumsInput: z.ZodTypeAny;
5
- declare const SpotifyCheckUserSSavedAlbumsOutput: z.ZodTypeAny;
6
- declare const spotifyCheckUserSSavedAlbums: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SpotifyCheckUserSSavedAlbumsInput: z.ZodObject<{
5
+ ids: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const SpotifyCheckUserSSavedAlbumsOutput: z.ZodObject<{
8
+ saved: z.ZodArray<z.ZodBoolean>;
9
+ }, z.core.$strip>;
10
+ declare const spotifyCheckUserSSavedAlbums: import("@keystrokehq/action").WorkflowActionDefinition<{
11
+ ids: string;
12
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
13
  //#endregion
8
14
  export { spotifyCheckUserSSavedAlbums };
9
15
  //# sourceMappingURL=check-user-s-saved-albums.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"check-user-s-saved-albums.d.cts","names":[],"sources":["../../src/actions/check-user-s-saved-albums.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAEO;AAAA,cAC5C,kCAAA,EAAoC,CAAA,CAAE,UAEO;AAAA,cAE7C,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"check-user-s-saved-albums.d.cts","names":[],"sources":["../../src/actions/check-user-s-saved-albums.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAGjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;cAIlC,4BAAA,gCAA4B,wBAAA"}
@@ -1,9 +1,15 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/check-user-s-saved-albums.d.ts
4
- declare const SpotifyCheckUserSSavedAlbumsInput: z.ZodTypeAny;
5
- declare const SpotifyCheckUserSSavedAlbumsOutput: z.ZodTypeAny;
6
- declare const spotifyCheckUserSSavedAlbums: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SpotifyCheckUserSSavedAlbumsInput: z.ZodObject<{
5
+ ids: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const SpotifyCheckUserSSavedAlbumsOutput: z.ZodObject<{
8
+ saved: z.ZodArray<z.ZodBoolean>;
9
+ }, z.core.$strip>;
10
+ declare const spotifyCheckUserSSavedAlbums: import("@keystrokehq/action").WorkflowActionDefinition<{
11
+ ids: string;
12
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
13
  //#endregion
8
14
  export { spotifyCheckUserSSavedAlbums };
9
15
  //# sourceMappingURL=check-user-s-saved-albums.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"check-user-s-saved-albums.d.mts","names":[],"sources":["../../src/actions/check-user-s-saved-albums.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAEO;AAAA,cAC5C,kCAAA,EAAoC,CAAA,CAAE,UAEO;AAAA,cAE7C,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"check-user-s-saved-albums.d.mts","names":[],"sources":["../../src/actions/check-user-s-saved-albums.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAGjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;cAIlC,4BAAA,gCAA4B,wBAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"check-user-s-saved-albums.mjs","names":[],"sources":["../../src/actions/check-user-s-saved-albums.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyCheckUserSSavedAlbumsInput: z.ZodTypeAny = z.object({\n ids: z.string().describe(\"A comma-separated list of Spotify album IDs. Maximum: 20 IDs. Example: '382ObEPsp2rxGrnsizN5TX,1A2GTWGtFfWp7KSQTwWOyo'\"),\n}).describe(\"Request schema for `CheckUserSSavedAlbums`\");\nexport const SpotifyCheckUserSSavedAlbumsOutput: z.ZodTypeAny = z.object({\n saved: z.array(z.boolean()).describe(\"Array of boolean values in the same order as the requested album IDs. True indicates the album is saved in the user's library, False indicates it is not.\"),\n}).describe(\"Response schema for `CheckUserSSavedAlbums`\");\n\nexport const spotifyCheckUserSSavedAlbums = action(\"SPOTIFY_CHECK_USER_S_SAVED_ALBUMS\", {\n slug: \"spotify-check-user-s-saved-albums\",\n name: \"Check user s saved albums\",\n description: \"Check if one or more albums is already saved in the current Spotify user's 'Your Music' library.\",\n input: SpotifyCheckUserSSavedAlbumsInput,\n output: SpotifyCheckUserSSavedAlbumsOutput,\n});\n"],"mappings":";;AAWA,MAAa,+BAA+B,OAAO,qCAAqC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX6D,EAAE,OAAO,EACtE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,wHAAwH,EACnJ,CAAC,CAAC,CAAC,SAAS,4CASH;CACP,QAT8D,EAAE,OAAO,EACvE,OAAO,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2JAA2J,EAClM,CAAC,CAAC,CAAC,SAAS,6CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"check-user-s-saved-albums.mjs","names":[],"sources":["../../src/actions/check-user-s-saved-albums.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyCheckUserSSavedAlbumsInput = z.object({\n ids: z.string().describe(\"A comma-separated list of Spotify album IDs. Maximum: 20 IDs. Example: '382ObEPsp2rxGrnsizN5TX,1A2GTWGtFfWp7KSQTwWOyo'\"),\n}).describe(\"Request schema for `CheckUserSSavedAlbums`\");\nexport const SpotifyCheckUserSSavedAlbumsOutput = z.object({\n saved: z.array(z.boolean()).describe(\"Array of boolean values in the same order as the requested album IDs. True indicates the album is saved in the user's library, False indicates it is not.\"),\n}).describe(\"Response schema for `CheckUserSSavedAlbums`\");\n\nexport const spotifyCheckUserSSavedAlbums = action(\"SPOTIFY_CHECK_USER_S_SAVED_ALBUMS\", {\n slug: \"spotify-check-user-s-saved-albums\",\n name: \"Check user s saved albums\",\n description: \"Check if one or more albums is already saved in the current Spotify user's 'Your Music' library.\",\n input: SpotifyCheckUserSSavedAlbumsInput,\n output: SpotifyCheckUserSSavedAlbumsOutput,\n});\n"],"mappings":";;AAWA,MAAa,+BAA+B,OAAO,qCAAqC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX+C,EAAE,OAAO,EACxD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,wHAAwH,EACnJ,CAAC,CAAC,CAAC,SAAS,4CASH;CACP,QATgD,EAAE,OAAO,EACzD,OAAO,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2JAA2J,EAClM,CAAC,CAAC,CAAC,SAAS,6CAOF;AACV,CAAC"}