@keystrokehq/spotify 0.1.2 → 0.1.4

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 (427) hide show
  1. package/dist/actions/add-item-to-playback-queue.d.cts +13 -1
  2. package/dist/actions/add-item-to-playback-queue.d.mts +13 -1
  3. package/dist/actions/add-items-to-playlist.cjs +1 -1
  4. package/dist/actions/add-items-to-playlist.cjs.map +1 -1
  5. package/dist/actions/add-items-to-playlist.d.cts +14 -2
  6. package/dist/actions/add-items-to-playlist.d.mts +14 -2
  7. package/dist/actions/add-items-to-playlist.mjs +1 -1
  8. package/dist/actions/add-items-to-playlist.mjs.map +1 -1
  9. package/dist/actions/change-playlist-details.d.cts +13 -1
  10. package/dist/actions/change-playlist-details.d.mts +13 -1
  11. package/dist/actions/check-if-user-follows-artists-or-users.cjs +1 -1
  12. package/dist/actions/check-if-user-follows-artists-or-users.cjs.map +1 -1
  13. package/dist/actions/check-if-user-follows-artists-or-users.d.cts +14 -2
  14. package/dist/actions/check-if-user-follows-artists-or-users.d.mts +14 -2
  15. package/dist/actions/check-if-user-follows-artists-or-users.mjs +1 -1
  16. package/dist/actions/check-if-user-follows-artists-or-users.mjs.map +1 -1
  17. package/dist/actions/check-if-users-follow-playlist.d.cts +13 -1
  18. package/dist/actions/check-if-users-follow-playlist.d.mts +13 -1
  19. package/dist/actions/check-user-s-saved-albums.cjs +1 -1
  20. package/dist/actions/check-user-s-saved-albums.cjs.map +1 -1
  21. package/dist/actions/check-user-s-saved-albums.d.cts +14 -2
  22. package/dist/actions/check-user-s-saved-albums.d.mts +14 -2
  23. package/dist/actions/check-user-s-saved-albums.mjs +1 -1
  24. package/dist/actions/check-user-s-saved-albums.mjs.map +1 -1
  25. package/dist/actions/check-user-s-saved-audiobooks.cjs +1 -1
  26. package/dist/actions/check-user-s-saved-audiobooks.cjs.map +1 -1
  27. package/dist/actions/check-user-s-saved-audiobooks.d.cts +14 -2
  28. package/dist/actions/check-user-s-saved-audiobooks.d.mts +14 -2
  29. package/dist/actions/check-user-s-saved-audiobooks.mjs +1 -1
  30. package/dist/actions/check-user-s-saved-audiobooks.mjs.map +1 -1
  31. package/dist/actions/check-user-s-saved-episodes.d.cts +13 -1
  32. package/dist/actions/check-user-s-saved-episodes.d.mts +13 -1
  33. package/dist/actions/check-user-s-saved-shows.cjs +1 -1
  34. package/dist/actions/check-user-s-saved-shows.cjs.map +1 -1
  35. package/dist/actions/check-user-s-saved-shows.d.cts +14 -2
  36. package/dist/actions/check-user-s-saved-shows.d.mts +14 -2
  37. package/dist/actions/check-user-s-saved-shows.mjs +1 -1
  38. package/dist/actions/check-user-s-saved-shows.mjs.map +1 -1
  39. package/dist/actions/check-user-s-saved-tracks.d.cts +13 -1
  40. package/dist/actions/check-user-s-saved-tracks.d.mts +13 -1
  41. package/dist/actions/create-playlist.cjs +7 -7
  42. package/dist/actions/create-playlist.cjs.map +1 -1
  43. package/dist/actions/create-playlist.d.cts +22 -10
  44. package/dist/actions/create-playlist.d.mts +22 -10
  45. package/dist/actions/create-playlist.mjs +7 -7
  46. package/dist/actions/create-playlist.mjs.map +1 -1
  47. package/dist/actions/follow-artists-or-users.d.cts +13 -1
  48. package/dist/actions/follow-artists-or-users.d.mts +13 -1
  49. package/dist/actions/follow-playlist.d.cts +13 -1
  50. package/dist/actions/follow-playlist.d.mts +13 -1
  51. package/dist/actions/get-a-chapter.cjs +2 -2
  52. package/dist/actions/get-a-chapter.cjs.map +1 -1
  53. package/dist/actions/get-a-chapter.d.cts +15 -3
  54. package/dist/actions/get-a-chapter.d.mts +15 -3
  55. package/dist/actions/get-a-chapter.mjs +2 -2
  56. package/dist/actions/get-a-chapter.mjs.map +1 -1
  57. package/dist/actions/get-album-tracks.cjs +2 -2
  58. package/dist/actions/get-album-tracks.cjs.map +1 -1
  59. package/dist/actions/get-album-tracks.d.cts +15 -3
  60. package/dist/actions/get-album-tracks.d.mts +15 -3
  61. package/dist/actions/get-album-tracks.mjs +2 -2
  62. package/dist/actions/get-album-tracks.mjs.map +1 -1
  63. package/dist/actions/get-album.cjs +7 -7
  64. package/dist/actions/get-album.cjs.map +1 -1
  65. package/dist/actions/get-album.d.cts +21 -9
  66. package/dist/actions/get-album.d.mts +21 -9
  67. package/dist/actions/get-album.mjs +7 -7
  68. package/dist/actions/get-album.mjs.map +1 -1
  69. package/dist/actions/get-an-audiobook.cjs +2 -2
  70. package/dist/actions/get-an-audiobook.cjs.map +1 -1
  71. package/dist/actions/get-an-audiobook.d.cts +15 -3
  72. package/dist/actions/get-an-audiobook.d.mts +15 -3
  73. package/dist/actions/get-an-audiobook.mjs +2 -2
  74. package/dist/actions/get-an-audiobook.mjs.map +1 -1
  75. package/dist/actions/get-artist-s-albums.cjs +4 -4
  76. package/dist/actions/get-artist-s-albums.cjs.map +1 -1
  77. package/dist/actions/get-artist-s-albums.d.cts +17 -5
  78. package/dist/actions/get-artist-s-albums.d.mts +17 -5
  79. package/dist/actions/get-artist-s-albums.mjs +4 -4
  80. package/dist/actions/get-artist-s-albums.mjs.map +1 -1
  81. package/dist/actions/get-artist-s-related-artists.cjs +5 -5
  82. package/dist/actions/get-artist-s-related-artists.cjs.map +1 -1
  83. package/dist/actions/get-artist-s-related-artists.d.cts +18 -6
  84. package/dist/actions/get-artist-s-related-artists.d.mts +18 -6
  85. package/dist/actions/get-artist-s-related-artists.mjs +5 -5
  86. package/dist/actions/get-artist-s-related-artists.mjs.map +1 -1
  87. package/dist/actions/get-artist-s-top-tracks.cjs +8 -8
  88. package/dist/actions/get-artist-s-top-tracks.cjs.map +1 -1
  89. package/dist/actions/get-artist-s-top-tracks.d.cts +26 -14
  90. package/dist/actions/get-artist-s-top-tracks.d.mts +26 -14
  91. package/dist/actions/get-artist-s-top-tracks.mjs +8 -8
  92. package/dist/actions/get-artist-s-top-tracks.mjs.map +1 -1
  93. package/dist/actions/get-artist.cjs +5 -5
  94. package/dist/actions/get-artist.cjs.map +1 -1
  95. package/dist/actions/get-artist.d.cts +18 -6
  96. package/dist/actions/get-artist.d.mts +18 -6
  97. package/dist/actions/get-artist.mjs +5 -5
  98. package/dist/actions/get-artist.mjs.map +1 -1
  99. package/dist/actions/get-audiobook-chapters.cjs +1 -1
  100. package/dist/actions/get-audiobook-chapters.cjs.map +1 -1
  101. package/dist/actions/get-audiobook-chapters.d.cts +14 -2
  102. package/dist/actions/get-audiobook-chapters.d.mts +14 -2
  103. package/dist/actions/get-audiobook-chapters.mjs +1 -1
  104. package/dist/actions/get-audiobook-chapters.mjs.map +1 -1
  105. package/dist/actions/get-available-devices.cjs +2 -2
  106. package/dist/actions/get-available-devices.cjs.map +1 -1
  107. package/dist/actions/get-available-devices.d.cts +15 -3
  108. package/dist/actions/get-available-devices.d.cts.map +1 -1
  109. package/dist/actions/get-available-devices.d.mts +15 -3
  110. package/dist/actions/get-available-devices.d.mts.map +1 -1
  111. package/dist/actions/get-available-devices.mjs +2 -2
  112. package/dist/actions/get-available-devices.mjs.map +1 -1
  113. package/dist/actions/get-available-markets.cjs +1 -1
  114. package/dist/actions/get-available-markets.cjs.map +1 -1
  115. package/dist/actions/get-available-markets.d.cts +14 -2
  116. package/dist/actions/get-available-markets.d.cts.map +1 -1
  117. package/dist/actions/get-available-markets.d.mts +14 -2
  118. package/dist/actions/get-available-markets.d.mts.map +1 -1
  119. package/dist/actions/get-available-markets.mjs +1 -1
  120. package/dist/actions/get-available-markets.mjs.map +1 -1
  121. package/dist/actions/get-current-user-s-playlists.cjs +7 -7
  122. package/dist/actions/get-current-user-s-playlists.cjs.map +1 -1
  123. package/dist/actions/get-current-user-s-playlists.d.cts +21 -9
  124. package/dist/actions/get-current-user-s-playlists.d.mts +21 -9
  125. package/dist/actions/get-current-user-s-playlists.mjs +7 -7
  126. package/dist/actions/get-current-user-s-playlists.mjs.map +1 -1
  127. package/dist/actions/get-current-user-s-profile.cjs +6 -6
  128. package/dist/actions/get-current-user-s-profile.cjs.map +1 -1
  129. package/dist/actions/get-current-user-s-profile.d.cts +19 -7
  130. package/dist/actions/get-current-user-s-profile.d.cts.map +1 -1
  131. package/dist/actions/get-current-user-s-profile.d.mts +19 -7
  132. package/dist/actions/get-current-user-s-profile.d.mts.map +1 -1
  133. package/dist/actions/get-current-user-s-profile.mjs +6 -6
  134. package/dist/actions/get-current-user-s-profile.mjs.map +1 -1
  135. package/dist/actions/get-currently-playing-track.d.cts +13 -1
  136. package/dist/actions/get-currently-playing-track.d.mts +13 -1
  137. package/dist/actions/get-episode.cjs +2 -2
  138. package/dist/actions/get-episode.cjs.map +1 -1
  139. package/dist/actions/get-episode.d.cts +15 -3
  140. package/dist/actions/get-episode.d.mts +15 -3
  141. package/dist/actions/get-episode.mjs +2 -2
  142. package/dist/actions/get-episode.mjs.map +1 -1
  143. package/dist/actions/get-featured-playlists.d.cts +13 -1
  144. package/dist/actions/get-featured-playlists.d.mts +13 -1
  145. package/dist/actions/get-followed-artists.cjs +8 -8
  146. package/dist/actions/get-followed-artists.cjs.map +1 -1
  147. package/dist/actions/get-followed-artists.d.cts +21 -9
  148. package/dist/actions/get-followed-artists.d.mts +21 -9
  149. package/dist/actions/get-followed-artists.mjs +8 -8
  150. package/dist/actions/get-followed-artists.mjs.map +1 -1
  151. package/dist/actions/get-new-releases.cjs +3 -3
  152. package/dist/actions/get-new-releases.cjs.map +1 -1
  153. package/dist/actions/get-new-releases.d.cts +16 -4
  154. package/dist/actions/get-new-releases.d.mts +16 -4
  155. package/dist/actions/get-new-releases.mjs +3 -3
  156. package/dist/actions/get-new-releases.mjs.map +1 -1
  157. package/dist/actions/get-playback-state.cjs +16 -16
  158. package/dist/actions/get-playback-state.cjs.map +1 -1
  159. package/dist/actions/get-playback-state.d.cts +42 -30
  160. package/dist/actions/get-playback-state.d.mts +42 -30
  161. package/dist/actions/get-playback-state.mjs +16 -16
  162. package/dist/actions/get-playback-state.mjs.map +1 -1
  163. package/dist/actions/get-playlist-cover-image.cjs +1 -1
  164. package/dist/actions/get-playlist-cover-image.cjs.map +1 -1
  165. package/dist/actions/get-playlist-cover-image.d.cts +14 -2
  166. package/dist/actions/get-playlist-cover-image.d.mts +14 -2
  167. package/dist/actions/get-playlist-cover-image.mjs +1 -1
  168. package/dist/actions/get-playlist-cover-image.mjs.map +1 -1
  169. package/dist/actions/get-playlist-items.d.cts +13 -1
  170. package/dist/actions/get-playlist-items.d.mts +13 -1
  171. package/dist/actions/get-playlist.d.cts +13 -1
  172. package/dist/actions/get-playlist.d.mts +13 -1
  173. package/dist/actions/get-recently-played-tracks.cjs +11 -11
  174. package/dist/actions/get-recently-played-tracks.cjs.map +1 -1
  175. package/dist/actions/get-recently-played-tracks.d.cts +30 -18
  176. package/dist/actions/get-recently-played-tracks.d.mts +30 -18
  177. package/dist/actions/get-recently-played-tracks.mjs +11 -11
  178. package/dist/actions/get-recently-played-tracks.mjs.map +1 -1
  179. package/dist/actions/get-recommendations.cjs +1 -1
  180. package/dist/actions/get-recommendations.cjs.map +1 -1
  181. package/dist/actions/get-recommendations.d.cts +14 -2
  182. package/dist/actions/get-recommendations.d.mts +14 -2
  183. package/dist/actions/get-recommendations.mjs +1 -1
  184. package/dist/actions/get-recommendations.mjs.map +1 -1
  185. package/dist/actions/get-several-albums.cjs +5 -5
  186. package/dist/actions/get-several-albums.cjs.map +1 -1
  187. package/dist/actions/get-several-albums.d.cts +19 -7
  188. package/dist/actions/get-several-albums.d.mts +19 -7
  189. package/dist/actions/get-several-albums.mjs +5 -5
  190. package/dist/actions/get-several-albums.mjs.map +1 -1
  191. package/dist/actions/get-several-artists.cjs +1 -1
  192. package/dist/actions/get-several-artists.cjs.map +1 -1
  193. package/dist/actions/get-several-artists.d.cts +14 -2
  194. package/dist/actions/get-several-artists.d.mts +14 -2
  195. package/dist/actions/get-several-artists.mjs +1 -1
  196. package/dist/actions/get-several-artists.mjs.map +1 -1
  197. package/dist/actions/get-several-audiobooks.cjs +2 -2
  198. package/dist/actions/get-several-audiobooks.cjs.map +1 -1
  199. package/dist/actions/get-several-audiobooks.d.cts +15 -3
  200. package/dist/actions/get-several-audiobooks.d.mts +15 -3
  201. package/dist/actions/get-several-audiobooks.mjs +2 -2
  202. package/dist/actions/get-several-audiobooks.mjs.map +1 -1
  203. package/dist/actions/get-several-browse-categories.d.cts +13 -1
  204. package/dist/actions/get-several-browse-categories.d.mts +13 -1
  205. package/dist/actions/get-several-chapters.cjs +2 -2
  206. package/dist/actions/get-several-chapters.cjs.map +1 -1
  207. package/dist/actions/get-several-chapters.d.cts +15 -3
  208. package/dist/actions/get-several-chapters.d.mts +15 -3
  209. package/dist/actions/get-several-chapters.mjs +2 -2
  210. package/dist/actions/get-several-chapters.mjs.map +1 -1
  211. package/dist/actions/get-several-episodes.cjs +2 -2
  212. package/dist/actions/get-several-episodes.cjs.map +1 -1
  213. package/dist/actions/get-several-episodes.d.cts +15 -3
  214. package/dist/actions/get-several-episodes.d.mts +15 -3
  215. package/dist/actions/get-several-episodes.mjs +2 -2
  216. package/dist/actions/get-several-episodes.mjs.map +1 -1
  217. package/dist/actions/get-several-shows.cjs +1 -1
  218. package/dist/actions/get-several-shows.cjs.map +1 -1
  219. package/dist/actions/get-several-shows.d.cts +14 -2
  220. package/dist/actions/get-several-shows.d.mts +14 -2
  221. package/dist/actions/get-several-shows.mjs +1 -1
  222. package/dist/actions/get-several-shows.mjs.map +1 -1
  223. package/dist/actions/get-several-tracks.cjs +6 -6
  224. package/dist/actions/get-several-tracks.cjs.map +1 -1
  225. package/dist/actions/get-several-tracks.d.cts +20 -8
  226. package/dist/actions/get-several-tracks.d.mts +20 -8
  227. package/dist/actions/get-several-tracks.mjs +6 -6
  228. package/dist/actions/get-several-tracks.mjs.map +1 -1
  229. package/dist/actions/get-show-episodes.cjs +1 -1
  230. package/dist/actions/get-show-episodes.cjs.map +1 -1
  231. package/dist/actions/get-show-episodes.d.cts +14 -2
  232. package/dist/actions/get-show-episodes.d.mts +14 -2
  233. package/dist/actions/get-show-episodes.mjs +1 -1
  234. package/dist/actions/get-show-episodes.mjs.map +1 -1
  235. package/dist/actions/get-show.cjs +2 -2
  236. package/dist/actions/get-show.cjs.map +1 -1
  237. package/dist/actions/get-show.d.cts +15 -3
  238. package/dist/actions/get-show.d.mts +15 -3
  239. package/dist/actions/get-show.mjs +2 -2
  240. package/dist/actions/get-show.mjs.map +1 -1
  241. package/dist/actions/get-single-browse-category.d.cts +13 -1
  242. package/dist/actions/get-single-browse-category.d.mts +13 -1
  243. package/dist/actions/get-the-user-s-queue.d.cts +13 -1
  244. package/dist/actions/get-the-user-s-queue.d.cts.map +1 -1
  245. package/dist/actions/get-the-user-s-queue.d.mts +13 -1
  246. package/dist/actions/get-the-user-s-queue.d.mts.map +1 -1
  247. package/dist/actions/get-track-s-audio-analysis.d.cts +13 -1
  248. package/dist/actions/get-track-s-audio-analysis.d.mts +13 -1
  249. package/dist/actions/get-track.cjs +9 -9
  250. package/dist/actions/get-track.cjs.map +1 -1
  251. package/dist/actions/get-track.d.cts +22 -10
  252. package/dist/actions/get-track.d.mts +22 -10
  253. package/dist/actions/get-track.mjs +9 -9
  254. package/dist/actions/get-track.mjs.map +1 -1
  255. package/dist/actions/get-user-s-playlists.cjs +7 -7
  256. package/dist/actions/get-user-s-playlists.cjs.map +1 -1
  257. package/dist/actions/get-user-s-playlists.d.cts +21 -9
  258. package/dist/actions/get-user-s-playlists.d.mts +21 -9
  259. package/dist/actions/get-user-s-playlists.mjs +7 -7
  260. package/dist/actions/get-user-s-playlists.mjs.map +1 -1
  261. package/dist/actions/get-user-s-profile.cjs +5 -5
  262. package/dist/actions/get-user-s-profile.cjs.map +1 -1
  263. package/dist/actions/get-user-s-profile.d.cts +18 -6
  264. package/dist/actions/get-user-s-profile.d.mts +18 -6
  265. package/dist/actions/get-user-s-profile.mjs +5 -5
  266. package/dist/actions/get-user-s-profile.mjs.map +1 -1
  267. package/dist/actions/get-user-s-saved-albums.cjs +2 -2
  268. package/dist/actions/get-user-s-saved-albums.cjs.map +1 -1
  269. package/dist/actions/get-user-s-saved-albums.d.cts +15 -3
  270. package/dist/actions/get-user-s-saved-albums.d.mts +15 -3
  271. package/dist/actions/get-user-s-saved-albums.mjs +2 -2
  272. package/dist/actions/get-user-s-saved-albums.mjs.map +1 -1
  273. package/dist/actions/get-user-s-saved-audiobooks.cjs +1 -1
  274. package/dist/actions/get-user-s-saved-audiobooks.cjs.map +1 -1
  275. package/dist/actions/get-user-s-saved-audiobooks.d.cts +14 -2
  276. package/dist/actions/get-user-s-saved-audiobooks.d.mts +14 -2
  277. package/dist/actions/get-user-s-saved-audiobooks.mjs +1 -1
  278. package/dist/actions/get-user-s-saved-audiobooks.mjs.map +1 -1
  279. package/dist/actions/get-user-s-saved-episodes.cjs +2 -2
  280. package/dist/actions/get-user-s-saved-episodes.cjs.map +1 -1
  281. package/dist/actions/get-user-s-saved-episodes.d.cts +15 -3
  282. package/dist/actions/get-user-s-saved-episodes.d.mts +15 -3
  283. package/dist/actions/get-user-s-saved-episodes.mjs +2 -2
  284. package/dist/actions/get-user-s-saved-episodes.mjs.map +1 -1
  285. package/dist/actions/get-user-s-saved-shows.cjs +1 -1
  286. package/dist/actions/get-user-s-saved-shows.cjs.map +1 -1
  287. package/dist/actions/get-user-s-saved-shows.d.cts +14 -2
  288. package/dist/actions/get-user-s-saved-shows.d.mts +14 -2
  289. package/dist/actions/get-user-s-saved-shows.mjs +1 -1
  290. package/dist/actions/get-user-s-saved-shows.mjs.map +1 -1
  291. package/dist/actions/get-user-s-saved-tracks.cjs +1 -1
  292. package/dist/actions/get-user-s-saved-tracks.cjs.map +1 -1
  293. package/dist/actions/get-user-s-saved-tracks.d.cts +14 -2
  294. package/dist/actions/get-user-s-saved-tracks.d.mts +14 -2
  295. package/dist/actions/get-user-s-saved-tracks.mjs +1 -1
  296. package/dist/actions/get-user-s-saved-tracks.mjs.map +1 -1
  297. package/dist/actions/get-user-s-top-artists.cjs +5 -5
  298. package/dist/actions/get-user-s-top-artists.cjs.map +1 -1
  299. package/dist/actions/get-user-s-top-artists.d.cts +18 -6
  300. package/dist/actions/get-user-s-top-artists.d.mts +18 -6
  301. package/dist/actions/get-user-s-top-artists.mjs +5 -5
  302. package/dist/actions/get-user-s-top-artists.mjs.map +1 -1
  303. package/dist/actions/get-user-s-top-tracks.cjs +9 -9
  304. package/dist/actions/get-user-s-top-tracks.cjs.map +1 -1
  305. package/dist/actions/get-user-s-top-tracks.d.cts +28 -16
  306. package/dist/actions/get-user-s-top-tracks.d.mts +28 -16
  307. package/dist/actions/get-user-s-top-tracks.mjs +9 -9
  308. package/dist/actions/get-user-s-top-tracks.mjs.map +1 -1
  309. package/dist/actions/pause-playback.cjs +1 -1
  310. package/dist/actions/pause-playback.cjs.map +1 -1
  311. package/dist/actions/pause-playback.d.cts +14 -2
  312. package/dist/actions/pause-playback.d.mts +14 -2
  313. package/dist/actions/pause-playback.mjs +1 -1
  314. package/dist/actions/pause-playback.mjs.map +1 -1
  315. package/dist/actions/remove-playlist-items.d.cts +13 -1
  316. package/dist/actions/remove-playlist-items.d.mts +13 -1
  317. package/dist/actions/remove-user-s-saved-audiobooks.cjs +1 -1
  318. package/dist/actions/remove-user-s-saved-audiobooks.cjs.map +1 -1
  319. package/dist/actions/remove-user-s-saved-audiobooks.d.cts +14 -2
  320. package/dist/actions/remove-user-s-saved-audiobooks.d.mts +14 -2
  321. package/dist/actions/remove-user-s-saved-audiobooks.mjs +1 -1
  322. package/dist/actions/remove-user-s-saved-audiobooks.mjs.map +1 -1
  323. package/dist/actions/remove-user-s-saved-episodes.cjs +1 -1
  324. package/dist/actions/remove-user-s-saved-episodes.cjs.map +1 -1
  325. package/dist/actions/remove-user-s-saved-episodes.d.cts +14 -2
  326. package/dist/actions/remove-user-s-saved-episodes.d.mts +14 -2
  327. package/dist/actions/remove-user-s-saved-episodes.mjs +1 -1
  328. package/dist/actions/remove-user-s-saved-episodes.mjs.map +1 -1
  329. package/dist/actions/remove-user-s-saved-shows.d.cts +13 -1
  330. package/dist/actions/remove-user-s-saved-shows.d.mts +13 -1
  331. package/dist/actions/remove-user-s-saved-tracks.cjs +1 -1
  332. package/dist/actions/remove-user-s-saved-tracks.cjs.map +1 -1
  333. package/dist/actions/remove-user-s-saved-tracks.d.cts +14 -2
  334. package/dist/actions/remove-user-s-saved-tracks.d.mts +14 -2
  335. package/dist/actions/remove-user-s-saved-tracks.mjs +1 -1
  336. package/dist/actions/remove-user-s-saved-tracks.mjs.map +1 -1
  337. package/dist/actions/remove-users-saved-albums.d.cts +13 -1
  338. package/dist/actions/remove-users-saved-albums.d.mts +13 -1
  339. package/dist/actions/save-albums-for-current-user.cjs +1 -1
  340. package/dist/actions/save-albums-for-current-user.cjs.map +1 -1
  341. package/dist/actions/save-albums-for-current-user.d.cts +14 -2
  342. package/dist/actions/save-albums-for-current-user.d.mts +14 -2
  343. package/dist/actions/save-albums-for-current-user.mjs +1 -1
  344. package/dist/actions/save-albums-for-current-user.mjs.map +1 -1
  345. package/dist/actions/save-audiobooks-for-current-user.cjs +1 -1
  346. package/dist/actions/save-audiobooks-for-current-user.cjs.map +1 -1
  347. package/dist/actions/save-audiobooks-for-current-user.d.cts +14 -2
  348. package/dist/actions/save-audiobooks-for-current-user.d.mts +14 -2
  349. package/dist/actions/save-audiobooks-for-current-user.mjs +1 -1
  350. package/dist/actions/save-audiobooks-for-current-user.mjs.map +1 -1
  351. package/dist/actions/save-episodes-for-current-user.cjs +1 -1
  352. package/dist/actions/save-episodes-for-current-user.cjs.map +1 -1
  353. package/dist/actions/save-episodes-for-current-user.d.cts +14 -2
  354. package/dist/actions/save-episodes-for-current-user.d.mts +14 -2
  355. package/dist/actions/save-episodes-for-current-user.mjs +1 -1
  356. package/dist/actions/save-episodes-for-current-user.mjs.map +1 -1
  357. package/dist/actions/save-shows-for-current-user.cjs +1 -1
  358. package/dist/actions/save-shows-for-current-user.cjs.map +1 -1
  359. package/dist/actions/save-shows-for-current-user.d.cts +14 -2
  360. package/dist/actions/save-shows-for-current-user.d.mts +14 -2
  361. package/dist/actions/save-shows-for-current-user.mjs +1 -1
  362. package/dist/actions/save-shows-for-current-user.mjs.map +1 -1
  363. package/dist/actions/save-tracks-for-current-user.cjs +1 -1
  364. package/dist/actions/save-tracks-for-current-user.cjs.map +1 -1
  365. package/dist/actions/save-tracks-for-current-user.d.cts +14 -2
  366. package/dist/actions/save-tracks-for-current-user.d.mts +14 -2
  367. package/dist/actions/save-tracks-for-current-user.mjs +1 -1
  368. package/dist/actions/save-tracks-for-current-user.mjs.map +1 -1
  369. package/dist/actions/search-for-item.d.cts +16 -4
  370. package/dist/actions/search-for-item.d.mts +16 -4
  371. package/dist/actions/seek-to-position.d.cts +13 -1
  372. package/dist/actions/seek-to-position.d.mts +13 -1
  373. package/dist/actions/set-playback-volume.cjs +1 -1
  374. package/dist/actions/set-playback-volume.cjs.map +1 -1
  375. package/dist/actions/set-playback-volume.d.cts +14 -2
  376. package/dist/actions/set-playback-volume.d.mts +14 -2
  377. package/dist/actions/set-playback-volume.mjs +1 -1
  378. package/dist/actions/set-playback-volume.mjs.map +1 -1
  379. package/dist/actions/set-repeat-mode.cjs +1 -1
  380. package/dist/actions/set-repeat-mode.cjs.map +1 -1
  381. package/dist/actions/set-repeat-mode.d.cts +16 -4
  382. package/dist/actions/set-repeat-mode.d.mts +16 -4
  383. package/dist/actions/set-repeat-mode.mjs +1 -1
  384. package/dist/actions/set-repeat-mode.mjs.map +1 -1
  385. package/dist/actions/skip-to-next.d.cts +13 -1
  386. package/dist/actions/skip-to-next.d.mts +13 -1
  387. package/dist/actions/skip-to-previous.cjs +1 -1
  388. package/dist/actions/skip-to-previous.cjs.map +1 -1
  389. package/dist/actions/skip-to-previous.d.cts +14 -2
  390. package/dist/actions/skip-to-previous.d.mts +14 -2
  391. package/dist/actions/skip-to-previous.mjs +1 -1
  392. package/dist/actions/skip-to-previous.mjs.map +1 -1
  393. package/dist/actions/start-resume-playback.cjs +1 -1
  394. package/dist/actions/start-resume-playback.cjs.map +1 -1
  395. package/dist/actions/start-resume-playback.d.cts +14 -2
  396. package/dist/actions/start-resume-playback.d.cts.map +1 -1
  397. package/dist/actions/start-resume-playback.d.mts +14 -2
  398. package/dist/actions/start-resume-playback.d.mts.map +1 -1
  399. package/dist/actions/start-resume-playback.mjs +1 -1
  400. package/dist/actions/start-resume-playback.mjs.map +1 -1
  401. package/dist/actions/toggle-playback-shuffle.d.cts +13 -1
  402. package/dist/actions/toggle-playback-shuffle.d.mts +13 -1
  403. package/dist/actions/transfer-playback.cjs +1 -1
  404. package/dist/actions/transfer-playback.cjs.map +1 -1
  405. package/dist/actions/transfer-playback.d.cts +14 -2
  406. package/dist/actions/transfer-playback.d.mts +14 -2
  407. package/dist/actions/transfer-playback.mjs +1 -1
  408. package/dist/actions/transfer-playback.mjs.map +1 -1
  409. package/dist/actions/unfollow-artists-or-users.d.cts +13 -1
  410. package/dist/actions/unfollow-artists-or-users.d.mts +13 -1
  411. package/dist/actions/unfollow-playlist.d.cts +13 -1
  412. package/dist/actions/unfollow-playlist.d.mts +13 -1
  413. package/dist/actions/update-playlist-items.cjs +1 -1
  414. package/dist/actions/update-playlist-items.cjs.map +1 -1
  415. package/dist/actions/update-playlist-items.d.cts +14 -2
  416. package/dist/actions/update-playlist-items.d.mts +14 -2
  417. package/dist/actions/update-playlist-items.mjs +1 -1
  418. package/dist/actions/update-playlist-items.mjs.map +1 -1
  419. package/dist/app.cjs +5 -2
  420. package/dist/app.cjs.map +1 -1
  421. package/dist/app.d.cts +9 -1
  422. package/dist/app.d.cts.map +1 -1
  423. package/dist/app.d.mts +9 -1
  424. package/dist/app.d.mts.map +1 -1
  425. package/dist/app.mjs +3 -1
  426. package/dist/app.mjs.map +1 -1
  427. package/package.json +1 -1
@@ -22,7 +22,7 @@ declare const SpotifyGetPlaybackStateOutput: z.ZodObject<{
22
22
  url: z.ZodNullable<z.ZodString>;
23
23
  width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
24
24
  height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
25
- }, z.core.$strip>>;
25
+ }, z.core.$loose>>;
26
26
  artists: z.ZodArray<z.ZodObject<{
27
27
  id: z.ZodNullable<z.ZodString>;
28
28
  uri: z.ZodNullable<z.ZodString>;
@@ -31,8 +31,8 @@ declare const SpotifyGetPlaybackStateOutput: z.ZodObject<{
31
31
  type: z.ZodNullable<z.ZodString>;
32
32
  external_urls: z.ZodNullable<z.ZodObject<{
33
33
  spotify: z.ZodNullable<z.ZodString>;
34
- }, z.core.$strip>>;
35
- }, z.core.$strip>>;
34
+ }, z.core.$loose>>;
35
+ }, z.core.$loose>>;
36
36
  albumType: z.ZodNullable<z.ZodEnum<{
37
37
  album: "album";
38
38
  single: "single";
@@ -42,17 +42,17 @@ declare const SpotifyGetPlaybackStateOutput: z.ZodObject<{
42
42
  totalTracks: z.ZodNullable<z.ZodNumber>;
43
43
  externalUrls: z.ZodNullable<z.ZodObject<{
44
44
  spotify: z.ZodNullable<z.ZodString>;
45
- }, z.core.$strip>>;
45
+ }, z.core.$loose>>;
46
46
  restrictions: z.ZodOptional<z.ZodNullable<z.ZodObject<{
47
47
  reason: z.ZodNullable<z.ZodString>;
48
- }, z.core.$strip>>>;
48
+ }, z.core.$loose>>>;
49
49
  availableMarkets: z.ZodArray<z.ZodString>;
50
50
  releaseDatePrecision: z.ZodNullable<z.ZodEnum<{
51
51
  year: "year";
52
52
  month: "month";
53
53
  day: "day";
54
54
  }>>;
55
- }, z.core.$strip>>;
55
+ }, z.core.$loose>>;
56
56
  artists: z.ZodArray<z.ZodObject<{
57
57
  id: z.ZodNullable<z.ZodString>;
58
58
  uri: z.ZodNullable<z.ZodString>;
@@ -61,8 +61,8 @@ declare const SpotifyGetPlaybackStateOutput: z.ZodObject<{
61
61
  type: z.ZodNullable<z.ZodString>;
62
62
  external_urls: z.ZodNullable<z.ZodObject<{
63
63
  spotify: z.ZodNullable<z.ZodString>;
64
- }, z.core.$strip>>;
65
- }, z.core.$strip>>;
64
+ }, z.core.$loose>>;
65
+ }, z.core.$loose>>;
66
66
  isLocal: z.ZodNullable<z.ZodBoolean>;
67
67
  explicit: z.ZodNullable<z.ZodBoolean>;
68
68
  discNumber: z.ZodNullable<z.ZodNumber>;
@@ -75,24 +75,24 @@ declare const SpotifyGetPlaybackStateOutput: z.ZodObject<{
75
75
  type: z.ZodNullable<z.ZodString>;
76
76
  externalUrls: z.ZodNullable<z.ZodObject<{
77
77
  spotify: z.ZodNullable<z.ZodString>;
78
- }, z.core.$strip>>;
79
- }, z.core.$strip>>>;
78
+ }, z.core.$loose>>;
79
+ }, z.core.$loose>>>;
80
80
  popularity: z.ZodNullable<z.ZodNumber>;
81
81
  previewUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
82
82
  externalIds: z.ZodNullable<z.ZodObject<{
83
83
  ean: z.ZodOptional<z.ZodNullable<z.ZodString>>;
84
84
  upc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
85
85
  isrc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
86
- }, z.core.$strip>>;
86
+ }, z.core.$loose>>;
87
87
  trackNumber: z.ZodNullable<z.ZodNumber>;
88
88
  externalUrls: z.ZodNullable<z.ZodObject<{
89
89
  spotify: z.ZodNullable<z.ZodString>;
90
- }, z.core.$strip>>;
90
+ }, z.core.$loose>>;
91
91
  restrictions: z.ZodOptional<z.ZodNullable<z.ZodObject<{
92
92
  reason: z.ZodNullable<z.ZodString>;
93
- }, z.core.$strip>>>;
93
+ }, z.core.$loose>>>;
94
94
  availableMarkets: z.ZodArray<z.ZodString>;
95
- }, z.core.$strip>, z.ZodObject<{
95
+ }, z.core.$loose>, z.ZodObject<{
96
96
  id: z.ZodNullable<z.ZodString>;
97
97
  uri: z.ZodNullable<z.ZodString>;
98
98
  href: z.ZodNullable<z.ZodString>;
@@ -107,7 +107,7 @@ declare const SpotifyGetPlaybackStateOutput: z.ZodObject<{
107
107
  url: z.ZodNullable<z.ZodString>;
108
108
  width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
109
109
  height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
110
- }, z.core.$strip>>;
110
+ }, z.core.$loose>>;
111
111
  explicit: z.ZodNullable<z.ZodBoolean>;
112
112
  languages: z.ZodArray<z.ZodString>;
113
113
  mediaType: z.ZodNullable<z.ZodString>;
@@ -115,22 +115,22 @@ declare const SpotifyGetPlaybackStateOutput: z.ZodObject<{
115
115
  copyrights: z.ZodArray<z.ZodObject<{
116
116
  text: z.ZodNullable<z.ZodString>;
117
117
  type: z.ZodNullable<z.ZodString>;
118
- }, z.core.$strip>>;
118
+ }, z.core.$loose>>;
119
119
  description: z.ZodNullable<z.ZodString>;
120
120
  externalUrls: z.ZodNullable<z.ZodObject<{
121
121
  spotify: z.ZodNullable<z.ZodString>;
122
- }, z.core.$strip>>;
122
+ }, z.core.$loose>>;
123
123
  totalEpisodes: z.ZodNullable<z.ZodNumber>;
124
124
  htmlDescription: z.ZodNullable<z.ZodString>;
125
125
  availableMarkets: z.ZodArray<z.ZodString>;
126
126
  isExternallyHosted: z.ZodNullable<z.ZodBoolean>;
127
- }, z.core.$strip>>;
127
+ }, z.core.$loose>>;
128
128
  type: z.ZodNullable<z.ZodString>;
129
129
  images: z.ZodArray<z.ZodObject<{
130
130
  url: z.ZodNullable<z.ZodString>;
131
131
  width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
132
132
  height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
133
- }, z.core.$strip>>;
133
+ }, z.core.$loose>>;
134
134
  explicit: z.ZodNullable<z.ZodBoolean>;
135
135
  language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
136
136
  languages: z.ZodArray<z.ZodString>;
@@ -141,13 +141,13 @@ declare const SpotifyGetPlaybackStateOutput: z.ZodObject<{
141
141
  resumePoint: z.ZodOptional<z.ZodNullable<z.ZodObject<{
142
142
  fullyPlayed: z.ZodNullable<z.ZodBoolean>;
143
143
  resumePositionMs: z.ZodNullable<z.ZodNumber>;
144
- }, z.core.$strip>>>;
144
+ }, z.core.$loose>>>;
145
145
  externalUrls: z.ZodNullable<z.ZodObject<{
146
146
  spotify: z.ZodNullable<z.ZodString>;
147
- }, z.core.$strip>>;
147
+ }, z.core.$loose>>;
148
148
  restrictions: z.ZodOptional<z.ZodNullable<z.ZodObject<{
149
149
  reason: z.ZodNullable<z.ZodString>;
150
- }, z.core.$strip>>>;
150
+ }, z.core.$loose>>>;
151
151
  audioPreviewUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
152
152
  htmlDescription: z.ZodNullable<z.ZodString>;
153
153
  isExternallyHosted: z.ZodNullable<z.ZodBoolean>;
@@ -156,7 +156,7 @@ declare const SpotifyGetPlaybackStateOutput: z.ZodObject<{
156
156
  month: "month";
157
157
  day: "day";
158
158
  }>>;
159
- }, z.core.$strip>]>>>;
159
+ }, z.core.$loose>]>>>;
160
160
  device: z.ZodNullable<z.ZodObject<{
161
161
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
162
162
  name: z.ZodNullable<z.ZodString>;
@@ -166,7 +166,7 @@ declare const SpotifyGetPlaybackStateOutput: z.ZodObject<{
166
166
  volumePercent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
167
167
  supportsVolume: z.ZodNullable<z.ZodBoolean>;
168
168
  isPrivateSession: z.ZodNullable<z.ZodBoolean>;
169
- }, z.core.$strip>>;
169
+ }, z.core.$loose>>;
170
170
  actions: z.ZodOptional<z.ZodNullable<z.ZodObject<{
171
171
  pausing: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
172
172
  seeking: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
@@ -178,22 +178,22 @@ declare const SpotifyGetPlaybackStateOutput: z.ZodObject<{
178
178
  interruptingPlayback: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
179
179
  transferringPlayback: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
180
180
  togglingRepeatContext: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
181
- }, z.core.$strip>>>;
181
+ }, z.core.$loose>>>;
182
182
  context: z.ZodOptional<z.ZodNullable<z.ZodObject<{
183
183
  uri: z.ZodNullable<z.ZodString>;
184
184
  href: z.ZodNullable<z.ZodString>;
185
185
  type: z.ZodNullable<z.ZodString>;
186
186
  externalUrls: z.ZodNullable<z.ZodObject<{
187
187
  spotify: z.ZodNullable<z.ZodString>;
188
- }, z.core.$strip>>;
189
- }, z.core.$strip>>>;
188
+ }, z.core.$loose>>;
189
+ }, z.core.$loose>>>;
190
190
  isPlaying: z.ZodNullable<z.ZodBoolean>;
191
191
  timestamp: z.ZodNullable<z.ZodNumber>;
192
192
  progressMs: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
193
193
  repeatState: z.ZodNullable<z.ZodEnum<{
194
+ track: "track";
194
195
  context: "context";
195
196
  off: "off";
196
- track: "track";
197
197
  }>>;
198
198
  shuffleState: z.ZodNullable<z.ZodBoolean>;
199
199
  currentlyPlayingType: z.ZodNullable<z.ZodEnum<{
@@ -202,11 +202,23 @@ declare const SpotifyGetPlaybackStateOutput: z.ZodObject<{
202
202
  episode: "episode";
203
203
  ad: "ad";
204
204
  }>>;
205
- }, z.core.$strip>;
205
+ }, z.core.$loose>;
206
206
  declare const spotifyGetPlaybackState: import("@keystrokehq/action").WorkflowActionDefinition<{
207
207
  market?: string | undefined;
208
208
  additional_types?: string | undefined;
209
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
209
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"spotify", z.ZodObject<{
210
+ connectionId: z.ZodString;
211
+ entityId: z.ZodString;
212
+ instanceId: z.ZodString;
213
+ }, z.core.$strip>, z.ZodObject<{
214
+ accessToken: z.ZodString;
215
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"spotify", z.ZodObject<{
216
+ connectionId: z.ZodString;
217
+ entityId: z.ZodString;
218
+ instanceId: z.ZodString;
219
+ }, z.core.$strip>, z.ZodObject<{
220
+ accessToken: z.ZodString;
221
+ }, z.core.$strip>>]>;
210
222
  //#endregion
211
223
  export { spotifyGetPlaybackState };
212
224
  //# sourceMappingURL=get-playback-state.d.mts.map
@@ -9,8 +9,8 @@ const SpotifyGetPlaybackState_ImageSchema = z.object({
9
9
  url: z.string().describe("The source URL of the image.").nullable(),
10
10
  width: z.number().int().describe("The image width in pixels.").nullable().optional(),
11
11
  height: z.number().int().describe("The image height in pixels.").nullable().optional()
12
- }).describe("Image object.");
13
- const SpotifyGetPlaybackState_ExternalUrlsSchema = z.object({ spotify: z.string().describe("The Spotify URL for the object.").nullable() }).describe("External URLs object.");
12
+ }).passthrough().describe("Image object.");
13
+ const SpotifyGetPlaybackState_ExternalUrlsSchema = z.object({ spotify: z.string().describe("The Spotify URL for the object.").nullable() }).passthrough().describe("External URLs object.");
14
14
  const SpotifyGetPlaybackState_ArtistSchema = z.object({
15
15
  id: z.string().describe("The Spotify ID for the artist.").nullable(),
16
16
  uri: z.string().describe("The Spotify URI for the artist.").nullable(),
@@ -18,8 +18,8 @@ const SpotifyGetPlaybackState_ArtistSchema = z.object({
18
18
  name: z.string().describe("The name of the artist.").nullable(),
19
19
  type: z.string().describe("The object type.").nullable(),
20
20
  external_urls: SpotifyGetPlaybackState_ExternalUrlsSchema.nullable()
21
- }).describe("Artist object.");
22
- const SpotifyGetPlaybackState_RestrictionsSchema = z.object({ reason: z.string().describe("The reason for the restriction. Supported values: market, product, explicit.").nullable() }).describe("Restrictions object.");
21
+ }).passthrough().describe("Artist object.");
22
+ const SpotifyGetPlaybackState_RestrictionsSchema = z.object({ reason: z.string().describe("The reason for the restriction. Supported values: market, product, explicit.").nullable() }).passthrough().describe("Restrictions object.");
23
23
  const SpotifyGetPlaybackState_AlbumSchema = z.object({
24
24
  id: z.string().describe("The Spotify ID for the album.").nullable(),
25
25
  uri: z.string().describe("The Spotify URI for the album.").nullable(),
@@ -43,19 +43,19 @@ const SpotifyGetPlaybackState_AlbumSchema = z.object({
43
43
  "month",
44
44
  "day"
45
45
  ]).describe("The precision with which release_date value is known.").nullable()
46
- }).describe("Album object.");
46
+ }).passthrough().describe("Album object.");
47
47
  const SpotifyGetPlaybackState_LinkedFromSchema = z.object({
48
48
  id: z.string().describe("The Spotify ID for the track.").nullable(),
49
49
  uri: z.string().describe("The Spotify URI for the track.").nullable(),
50
50
  href: z.string().describe("A link to the Web API endpoint providing full details of the track.").nullable(),
51
51
  type: z.string().describe("The object type: 'track'.").nullable(),
52
52
  externalUrls: SpotifyGetPlaybackState_ExternalUrlsSchema.nullable()
53
- }).describe("Linked from object for track relinking.");
53
+ }).passthrough().describe("Linked from object for track relinking.");
54
54
  const SpotifyGetPlaybackState_ExternalIdsSchema = z.object({
55
55
  ean: z.string().describe("International Article Number").nullable().optional(),
56
56
  upc: z.string().describe("Universal Product Code").nullable().optional(),
57
57
  isrc: z.string().describe("International Standard Recording Code").nullable().optional()
58
- }).describe("External IDs object.");
58
+ }).passthrough().describe("External IDs object.");
59
59
  const SpotifyGetPlaybackState_TrackSchema = z.object({
60
60
  id: z.string().describe("The Spotify ID for the track.").nullable(),
61
61
  uri: z.string().describe("The Spotify URI for the track.").nullable(),
@@ -77,11 +77,11 @@ const SpotifyGetPlaybackState_TrackSchema = z.object({
77
77
  externalUrls: SpotifyGetPlaybackState_ExternalUrlsSchema.nullable(),
78
78
  restrictions: SpotifyGetPlaybackState_RestrictionsSchema.nullable().optional(),
79
79
  availableMarkets: z.array(z.string()).describe("A list of the countries in which the track can be played, identified by their ISO 3166-1 alpha-2 code.")
80
- }).describe("Track object.");
80
+ }).passthrough().describe("Track object.");
81
81
  const SpotifyGetPlaybackState_CopyrightSchema = z.object({
82
82
  text: z.string().describe("The copyright text for this content.").nullable(),
83
83
  type: z.string().describe("The type of copyright: C = the copyright, P = the sound recording (performance) copyright.").nullable()
84
- }).describe("Copyright object.");
84
+ }).passthrough().describe("Copyright object.");
85
85
  const SpotifyGetPlaybackState_ShowSchema = z.object({
86
86
  id: z.string().describe("The Spotify ID for the show.").nullable(),
87
87
  uri: z.string().describe("The Spotify URI for the show.").nullable(),
@@ -100,11 +100,11 @@ const SpotifyGetPlaybackState_ShowSchema = z.object({
100
100
  htmlDescription: z.string().describe("A description of the show. This field may contain HTML tags.").nullable(),
101
101
  availableMarkets: z.array(z.string()).describe("A list of the countries in which the show can be played, identified by their ISO 3166-1 alpha-2 code."),
102
102
  isExternallyHosted: z.boolean().describe("True if all of the shows episodes are hosted outside of Spotify's CDN. This field might be null in some cases.").nullable()
103
- }).describe("Show object.");
103
+ }).passthrough().describe("Show object.");
104
104
  const SpotifyGetPlaybackState_ResumePointSchema = z.object({
105
105
  fullyPlayed: z.boolean().describe("Whether or not the episode has been fully played by the user.").nullable(),
106
106
  resumePositionMs: z.number().int().describe("The user's most recent position in the episode in milliseconds.").nullable()
107
- }).describe("Resume point object.");
107
+ }).passthrough().describe("Resume point object.");
108
108
  const SpotifyGetPlaybackState_EpisodeSchema = z.object({
109
109
  id: z.string().describe("The Spotify ID for the episode.").nullable(),
110
110
  uri: z.string().describe("The Spotify URI for the episode.").nullable(),
@@ -131,7 +131,7 @@ const SpotifyGetPlaybackState_EpisodeSchema = z.object({
131
131
  "month",
132
132
  "day"
133
133
  ]).describe("The precision with which release_date value is known.").nullable()
134
- }).describe("Episode object.");
134
+ }).passthrough().describe("Episode object.");
135
135
  const SpotifyGetPlaybackState_DeviceSchema = z.object({
136
136
  id: z.string().describe("The device ID. This ID is unique and persistent for a given device.").nullable().optional(),
137
137
  name: z.string().describe("A human-readable name for the device. Some devices have a name that the user can configure (e.g. 'Kitchen speaker') and some devices have a generic name associated with the manufacturer or device model.").nullable(),
@@ -141,7 +141,7 @@ const SpotifyGetPlaybackState_DeviceSchema = z.object({
141
141
  volumePercent: z.number().int().describe("The current volume in percent. Range: 0 - 100.").nullable().optional(),
142
142
  supportsVolume: z.boolean().describe("If this device supports volume control.").nullable(),
143
143
  isPrivateSession: z.boolean().describe("If this device is currently in a private session.").nullable()
144
- }).describe("Device object.");
144
+ }).passthrough().describe("Device object.");
145
145
  const SpotifyGetPlaybackState_ActionsSchema = z.object({
146
146
  pausing: z.boolean().describe("Pausing.").nullable().optional(),
147
147
  seeking: z.boolean().describe("Seeking playback location.").nullable().optional(),
@@ -153,13 +153,13 @@ const SpotifyGetPlaybackState_ActionsSchema = z.object({
153
153
  interruptingPlayback: z.boolean().describe("Interrupting playback.").nullable().optional(),
154
154
  transferringPlayback: z.boolean().describe("Transferring playback between devices.").nullable().optional(),
155
155
  togglingRepeatContext: z.boolean().describe("Toggling repeat context flag.").nullable().optional()
156
- }).describe("Playback actions object.");
156
+ }).passthrough().describe("Playback actions object.");
157
157
  const SpotifyGetPlaybackState_ContextSchema = z.object({
158
158
  uri: z.string().describe("The Spotify URI for the context.").nullable(),
159
159
  href: z.string().describe("A link to the Web API endpoint providing full details of the track.").nullable(),
160
160
  type: z.string().describe("The object type, e.g. 'artist', 'playlist', 'album', 'show'.").nullable(),
161
161
  externalUrls: SpotifyGetPlaybackState_ExternalUrlsSchema.nullable()
162
- }).describe("Context object.");
162
+ }).passthrough().describe("Context object.");
163
163
  const spotifyGetPlaybackState = action("SPOTIFY_GET_PLAYBACK_STATE", {
164
164
  slug: "spotify-get-playback-state",
165
165
  name: "Get playback state",
@@ -185,7 +185,7 @@ const spotifyGetPlaybackState = action("SPOTIFY_GET_PLAYBACK_STATE", {
185
185
  "ad",
186
186
  "unknown"
187
187
  ]).describe("The object type of the currently playing item. Can be one of track, episode, ad or unknown.").nullable()
188
- }).describe("Response schema for `GetPlaybackState`\n\nReturns detailed playback information when content is actively playing.")
188
+ }).passthrough().describe("Response schema for `GetPlaybackState`\n\nReturns detailed playback information when content is actively playing.")
189
189
  });
190
190
  //#endregion
191
191
  export { spotifyGetPlaybackState };
@@ -1 +1 @@
1
- {"version":3,"file":"get-playback-state.mjs","names":[],"sources":["../../src/actions/get-playback-state.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyGetPlaybackStateInput = z.object({\n market: z.string().describe(\"An ISO 3166-1 alpha-2 country code (e.g., 'US', 'GB', 'JP'). If provided, only content available in that market will be returned. If not specified, content is based on the user's account country.\").optional(),\n additional_types: z.string().describe(\"Comma-separated list of item types to return beyond the default 'track'. Valid values: 'track', 'episode'. Example: 'track,episode' to include both tracks and episodes in the response.\").optional(),\n}).describe(\"Request schema for `GetPlaybackState`\");\nconst SpotifyGetPlaybackState_ImageSchema = z.object({\n url: z.string().describe(\"The source URL of the image.\").nullable(),\n width: z.number().int().describe(\"The image width in pixels.\").nullable().optional(),\n height: z.number().int().describe(\"The image height in pixels.\").nullable().optional(),\n}).describe(\"Image object.\");\nconst SpotifyGetPlaybackState_ExternalUrlsSchema = z.object({\n spotify: z.string().describe(\"The Spotify URL for the object.\").nullable(),\n}).describe(\"External URLs object.\");\nconst SpotifyGetPlaybackState_ArtistSchema = z.object({\n id: z.string().describe(\"The Spotify ID for the artist.\").nullable(),\n uri: z.string().describe(\"The Spotify URI for the artist.\").nullable(),\n href: z.string().describe(\"A link to the Web API endpoint providing full details of the artist.\").nullable(),\n name: z.string().describe(\"The name of the artist.\").nullable(),\n type: z.string().describe(\"The object type.\").nullable(),\n external_urls: SpotifyGetPlaybackState_ExternalUrlsSchema.nullable(),\n}).describe(\"Artist object.\");\nconst SpotifyGetPlaybackState_RestrictionsSchema = z.object({\n reason: z.string().describe(\"The reason for the restriction. Supported values: market, product, explicit.\").nullable(),\n}).describe(\"Restrictions object.\");\nconst SpotifyGetPlaybackState_AlbumSchema = z.object({\n id: z.string().describe(\"The Spotify ID for the album.\").nullable(),\n uri: z.string().describe(\"The Spotify URI for the album.\").nullable(),\n href: z.string().describe(\"A link to the Web API endpoint providing full details of the album.\").nullable(),\n name: z.string().describe(\"The name of the album.\").nullable(),\n type: z.string().describe(\"The object type.\").nullable(),\n images: z.array(SpotifyGetPlaybackState_ImageSchema).describe(\"The cover art for the album in various sizes, widest first.\"),\n artists: z.array(SpotifyGetPlaybackState_ArtistSchema).describe(\"The artists of the album.\"),\n albumType: z.enum([\"album\", \"single\", \"compilation\"]).describe(\"The type of the album.\").nullable(),\n releaseDate: z.string().describe(\"The date the album was first released.\").nullable(),\n totalTracks: z.number().int().describe(\"The number of tracks in the album.\").nullable(),\n externalUrls: SpotifyGetPlaybackState_ExternalUrlsSchema.nullable(),\n restrictions: SpotifyGetPlaybackState_RestrictionsSchema.nullable().optional(),\n availableMarkets: z.array(z.string()).describe(\"The markets in which the album is available: ISO 3166-1 alpha-2 country codes.\"),\n releaseDatePrecision: z.enum([\"year\", \"month\", \"day\"]).describe(\"The precision with which release_date value is known.\").nullable(),\n}).describe(\"Album object.\");\nconst SpotifyGetPlaybackState_LinkedFromSchema = z.object({\n id: z.string().describe(\"The Spotify ID for the track.\").nullable(),\n uri: z.string().describe(\"The Spotify URI for the track.\").nullable(),\n href: z.string().describe(\"A link to the Web API endpoint providing full details of the track.\").nullable(),\n type: z.string().describe(\"The object type: 'track'.\").nullable(),\n externalUrls: SpotifyGetPlaybackState_ExternalUrlsSchema.nullable(),\n}).describe(\"Linked from object for track relinking.\");\nconst SpotifyGetPlaybackState_ExternalIdsSchema = z.object({\n ean: z.string().describe(\"International Article Number\").nullable().optional(),\n upc: z.string().describe(\"Universal Product Code\").nullable().optional(),\n isrc: z.string().describe(\"International Standard Recording Code\").nullable().optional(),\n}).describe(\"External IDs object.\");\nconst SpotifyGetPlaybackState_TrackSchema = z.object({\n id: z.string().describe(\"The Spotify ID for the track.\").nullable(),\n uri: z.string().describe(\"The Spotify URI for the track.\").nullable(),\n href: z.string().describe(\"A link to the Web API endpoint providing full details of the track.\").nullable(),\n name: z.string().describe(\"The name of the track.\").nullable(),\n type: z.string().describe(\"The object type: 'track'.\").nullable(),\n album: SpotifyGetPlaybackState_AlbumSchema.nullable(),\n artists: z.array(SpotifyGetPlaybackState_ArtistSchema).describe(\"The artists who performed the track.\"),\n isLocal: z.boolean().describe(\"Whether or not the track is from a local file.\").nullable(),\n explicit: z.boolean().describe(\"Whether or not the track has explicit lyrics (true = yes it does; false = no it does not OR unknown).\").nullable(),\n discNumber: z.number().int().describe(\"The disc number (usually 1 unless the album consists of more than one disc).\").nullable(),\n durationMs: z.number().int().describe(\"The track length in milliseconds.\").nullable(),\n isPlayable: z.boolean().describe(\"Part of the response when Track Relinking is applied. If true, the track is playable in the given market. Otherwise false.\").nullable().optional(),\n linkedFrom: SpotifyGetPlaybackState_LinkedFromSchema.nullable().optional(),\n popularity: z.number().int().describe(\"The popularity of the track. The value will be between 0 and 100, with 100 being the most popular.\").nullable(),\n previewUrl: z.string().describe(\"A link to a 30 second preview (MP3 format) of the track. Can be null.\").nullable().optional(),\n externalIds: SpotifyGetPlaybackState_ExternalIdsSchema.nullable(),\n trackNumber: z.number().int().describe(\"The number of the track. If an album has several discs, the track number is the number on the specified disc.\").nullable(),\n externalUrls: SpotifyGetPlaybackState_ExternalUrlsSchema.nullable(),\n restrictions: SpotifyGetPlaybackState_RestrictionsSchema.nullable().optional(),\n availableMarkets: z.array(z.string()).describe(\"A list of the countries in which the track can be played, identified by their ISO 3166-1 alpha-2 code.\"),\n}).describe(\"Track object.\");\nconst SpotifyGetPlaybackState_CopyrightSchema = z.object({\n text: z.string().describe(\"The copyright text for this content.\").nullable(),\n type: z.string().describe(\"The type of copyright: C = the copyright, P = the sound recording (performance) copyright.\").nullable(),\n}).describe(\"Copyright object.\");\nconst SpotifyGetPlaybackState_ShowSchema = z.object({\n id: z.string().describe(\"The Spotify ID for the show.\").nullable(),\n uri: z.string().describe(\"The Spotify URI for the show.\").nullable(),\n href: z.string().describe(\"A link to the Web API endpoint providing full details of the show.\").nullable(),\n name: z.string().describe(\"The name of the episode.\").nullable(),\n type: z.string().describe(\"The object type.\").nullable(),\n images: z.array(SpotifyGetPlaybackState_ImageSchema).describe(\"The cover art for the show in various sizes, widest first.\"),\n explicit: z.boolean().describe(\"Whether or not the show has explicit content (true = yes it does; false = no it does not OR unknown).\").nullable(),\n languages: z.array(z.string()).describe(\"A list of the languages used in the show, identified by their ISO 639 code.\"),\n mediaType: z.string().describe(\"The media type of the show.\").nullable(),\n publisher: z.string().describe(\"The publisher of the show.\").nullable(),\n copyrights: z.array(SpotifyGetPlaybackState_CopyrightSchema).describe(\"The copyright statements of the show.\"),\n description: z.string().describe(\"A description of the show. HTML tags are stripped away from this field, use html_description field in case HTML tags are needed.\").nullable(),\n externalUrls: SpotifyGetPlaybackState_ExternalUrlsSchema.nullable(),\n totalEpisodes: z.number().int().describe(\"The total number of episodes in the show.\").nullable(),\n htmlDescription: z.string().describe(\"A description of the show. This field may contain HTML tags.\").nullable(),\n availableMarkets: z.array(z.string()).describe(\"A list of the countries in which the show can be played, identified by their ISO 3166-1 alpha-2 code.\"),\n isExternallyHosted: z.boolean().describe(\"True if all of the shows episodes are hosted outside of Spotify's CDN. This field might be null in some cases.\").nullable(),\n}).describe(\"Show object.\");\nconst SpotifyGetPlaybackState_ResumePointSchema = z.object({\n fullyPlayed: z.boolean().describe(\"Whether or not the episode has been fully played by the user.\").nullable(),\n resumePositionMs: z.number().int().describe(\"The user's most recent position in the episode in milliseconds.\").nullable(),\n}).describe(\"Resume point object.\");\nconst SpotifyGetPlaybackState_EpisodeSchema = z.object({\n id: z.string().describe(\"The Spotify ID for the episode.\").nullable(),\n uri: z.string().describe(\"The Spotify URI for the episode.\").nullable(),\n href: z.string().describe(\"A link to the Web API endpoint providing full details of the episode.\").nullable(),\n name: z.string().describe(\"The name of the episode.\").nullable(),\n show: SpotifyGetPlaybackState_ShowSchema.nullable(),\n type: z.string().describe(\"The object type.\").nullable(),\n images: z.array(SpotifyGetPlaybackState_ImageSchema).describe(\"The cover art for the episode in various sizes, widest first.\"),\n explicit: z.boolean().describe(\"Whether or not the episode has explicit content (true = yes it does; false = no it does not OR unknown).\").nullable(),\n language: z.string().describe(\"The language used in the episode, identified by a ISO 639 code. This field is deprecated and might be removed in the future. Please use the languages field instead.\").nullable().optional(),\n languages: z.array(z.string()).describe(\"A list of the languages used in the episode, identified by their ISO 639-1 code.\"),\n durationMs: z.number().int().describe(\"The episode length in milliseconds.\").nullable(),\n isPlayable: z.boolean().describe(\"True if the episode is playable in the given market. Otherwise false.\").nullable(),\n description: z.string().describe(\"A description of the episode. HTML tags are stripped away from this field, use html_description field in case HTML tags are needed.\").nullable(),\n releaseDate: z.string().describe(\"The date the episode was first released, for example '1981-12-15'. Depending on the precision, it might be shown as '1981' or '1981-12'.\").nullable(),\n resumePoint: SpotifyGetPlaybackState_ResumePointSchema.nullable().optional(),\n externalUrls: SpotifyGetPlaybackState_ExternalUrlsSchema.nullable(),\n restrictions: SpotifyGetPlaybackState_RestrictionsSchema.nullable().optional(),\n audioPreviewUrl: z.string().describe(\"A URL to a 30 second preview (MP3 format) of the episode. null if not available.\").nullable().optional(),\n htmlDescription: z.string().describe(\"A description of the episode. This field may contain HTML tags.\").nullable(),\n isExternallyHosted: z.boolean().describe(\"True if the episode is hosted outside of Spotify's CDN.\").nullable(),\n releaseDatePrecision: z.enum([\"year\", \"month\", \"day\"]).describe(\"The precision with which release_date value is known.\").nullable(),\n}).describe(\"Episode object.\");\nconst SpotifyGetPlaybackState_DeviceSchema = z.object({\n id: z.string().describe(\"The device ID. This ID is unique and persistent for a given device.\").nullable().optional(),\n name: z.string().describe(\"A human-readable name for the device. Some devices have a name that the user can configure (e.g. 'Kitchen speaker') and some devices have a generic name associated with the manufacturer or device model.\").nullable(),\n type: z.string().describe(\"Device type, such as 'computer', 'smartphone' or 'speaker'.\").nullable(),\n isActive: z.boolean().describe(\"If this device is the currently active device.\").nullable(),\n isRestricted: z.boolean().describe(\"Whether controlling this device is restricted. At present if this is true then no Web API commands will be accepted by this device.\").nullable(),\n volumePercent: z.number().int().describe(\"The current volume in percent. Range: 0 - 100.\").nullable().optional(),\n supportsVolume: z.boolean().describe(\"If this device supports volume control.\").nullable(),\n isPrivateSession: z.boolean().describe(\"If this device is currently in a private session.\").nullable(),\n}).describe(\"Device object.\");\nconst SpotifyGetPlaybackState_ActionsSchema = z.object({\n pausing: z.boolean().describe(\"Pausing.\").nullable().optional(),\n seeking: z.boolean().describe(\"Seeking playback location.\").nullable().optional(),\n resuming: z.boolean().describe(\"Resuming.\").nullable().optional(),\n skippingNext: z.boolean().describe(\"Skipping to the next context.\").nullable().optional(),\n skippingPrev: z.boolean().describe(\"Skipping to the previous context.\").nullable().optional(),\n togglingShuffle: z.boolean().describe(\"Toggling shuffle flag.\").nullable().optional(),\n togglingRepeatTrack: z.boolean().describe(\"Toggling repeat track flag.\").nullable().optional(),\n interruptingPlayback: z.boolean().describe(\"Interrupting playback.\").nullable().optional(),\n transferringPlayback: z.boolean().describe(\"Transferring playback between devices.\").nullable().optional(),\n togglingRepeatContext: z.boolean().describe(\"Toggling repeat context flag.\").nullable().optional(),\n}).describe(\"Playback actions object.\");\nconst SpotifyGetPlaybackState_ContextSchema = z.object({\n uri: z.string().describe(\"The Spotify URI for the context.\").nullable(),\n href: z.string().describe(\"A link to the Web API endpoint providing full details of the track.\").nullable(),\n type: z.string().describe(\"The object type, e.g. 'artist', 'playlist', 'album', 'show'.\").nullable(),\n externalUrls: SpotifyGetPlaybackState_ExternalUrlsSchema.nullable(),\n}).describe(\"Context object.\");\nexport const SpotifyGetPlaybackStateOutput = z.object({\n item: z.union([SpotifyGetPlaybackState_TrackSchema, SpotifyGetPlaybackState_EpisodeSchema]).nullable().optional(),\n device: SpotifyGetPlaybackState_DeviceSchema.nullable(),\n actions: SpotifyGetPlaybackState_ActionsSchema.nullable().optional(),\n context: SpotifyGetPlaybackState_ContextSchema.nullable().optional(),\n isPlaying: z.boolean().describe(\"If something is currently playing, return true.\").nullable(),\n timestamp: z.number().int().describe(\"Unix Millisecond Timestamp when data was fetched.\").nullable(),\n progressMs: z.number().int().describe(\"Progress into the currently playing track or episode. Can be null.\").nullable().optional(),\n repeatState: z.enum([\"off\", \"track\", \"context\"]).describe(\"off, track, context\").nullable(),\n shuffleState: z.boolean().describe(\"If shuffle is on or off.\").nullable(),\n currentlyPlayingType: z.enum([\"track\", \"episode\", \"ad\", \"unknown\"]).describe(\"The object type of the currently playing item. Can be one of track, episode, ad or unknown.\").nullable(),\n}).describe(\"Response schema for `GetPlaybackState`\\n\\nReturns detailed playback information when content is actively playing.\");\n\nexport const spotifyGetPlaybackState = action(\"SPOTIFY_GET_PLAYBACK_STATE\", {\n slug: \"spotify-get-playback-state\",\n name: \"Get playback state\",\n description: \"Get information about the user's current playback state, including track or episode, progress, and active device. Returns detailed playback information when content is actively playing, including the current track/episode, playback progress, device details, repeat/shuffle state, and playback context. Returns HTTP 204 (No Content) when nothing is currently playing. Requires OAuth scope: user-read-playback-state\",\n input: SpotifyGetPlaybackStateInput,\n output: SpotifyGetPlaybackStateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qMAAqM,CAAC,CAAC,SAAS;CAC5O,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,0LAA0L,CAAC,CAAC,SAAS;AAC7O,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,sCAAsC,EAAE,OAAO;CACnD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAClE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,SAAS,eAAe;AAC3B,MAAM,6CAA6C,EAAE,OAAO,EAC1D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,EAC3E,CAAC,CAAC,CAAC,SAAS,uBAAuB;AACnC,MAAM,uCAAuC,EAAE,OAAO;CACpD,IAAI,EAAE,OAAO,CAAC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AO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACnG,cAAc,2CAA2C,SAAS;AACpE,CAAC,CAAC,CAAC,SAAS,iBAAiB;AAc7B,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAlB2C,EAAE,OAAO;EACpD,MAAM,EAAE,MAAM,CAAC,qCAAqC,qCAAqC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChH,QAAQ,qCAAqC,SAAS;EACtD,SAAS,sCAAsC,SAAS,CAAC,CAAC,SAAS;EACnE,SAAS,sCAAsC,SAAS,CAAC,CAAC,SAAS;EACnE,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EAC5F,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EACnG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChI,aAAa,EAAE,KAAK;GAAC;GAAO;GAAS;EAAS,CAAC,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EAC1F,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EACxE,sBAAsB,EAAE,KAAK;GAAC;GAAS;GAAW;GAAM;EAAS,CAAC,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CACvL,CAAC,CAAC,CAAC,SAAS,mHAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-playback-state.mjs","names":[],"sources":["../../src/actions/get-playback-state.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyGetPlaybackStateInput = z.object({\n market: z.string().describe(\"An ISO 3166-1 alpha-2 country code (e.g., 'US', 'GB', 'JP'). If provided, only content available in that market will be returned. If not specified, content is based on the user's account country.\").optional(),\n additional_types: z.string().describe(\"Comma-separated list of item types to return beyond the default 'track'. Valid values: 'track', 'episode'. Example: 'track,episode' to include both tracks and episodes in the response.\").optional(),\n}).describe(\"Request schema for `GetPlaybackState`\");\nconst SpotifyGetPlaybackState_ImageSchema = z.object({\n url: z.string().describe(\"The source URL of the image.\").nullable(),\n width: z.number().int().describe(\"The image width in pixels.\").nullable().optional(),\n height: z.number().int().describe(\"The image height in pixels.\").nullable().optional(),\n}).passthrough().describe(\"Image object.\");\nconst SpotifyGetPlaybackState_ExternalUrlsSchema = z.object({\n spotify: z.string().describe(\"The Spotify URL for the object.\").nullable(),\n}).passthrough().describe(\"External URLs object.\");\nconst SpotifyGetPlaybackState_ArtistSchema = z.object({\n id: z.string().describe(\"The Spotify ID for the artist.\").nullable(),\n uri: z.string().describe(\"The Spotify URI for the artist.\").nullable(),\n href: z.string().describe(\"A link to the Web API endpoint providing full details of the artist.\").nullable(),\n name: z.string().describe(\"The name of the artist.\").nullable(),\n type: z.string().describe(\"The object type.\").nullable(),\n external_urls: SpotifyGetPlaybackState_ExternalUrlsSchema.nullable(),\n}).passthrough().describe(\"Artist object.\");\nconst SpotifyGetPlaybackState_RestrictionsSchema = z.object({\n reason: z.string().describe(\"The reason for the restriction. Supported values: market, product, explicit.\").nullable(),\n}).passthrough().describe(\"Restrictions object.\");\nconst SpotifyGetPlaybackState_AlbumSchema = z.object({\n id: z.string().describe(\"The Spotify ID for the album.\").nullable(),\n uri: z.string().describe(\"The Spotify URI for the album.\").nullable(),\n href: z.string().describe(\"A link to the Web API endpoint providing full details of the album.\").nullable(),\n name: z.string().describe(\"The name of the album.\").nullable(),\n type: z.string().describe(\"The object type.\").nullable(),\n images: z.array(SpotifyGetPlaybackState_ImageSchema).describe(\"The cover art for the album in various sizes, widest first.\"),\n artists: z.array(SpotifyGetPlaybackState_ArtistSchema).describe(\"The artists of the album.\"),\n albumType: z.enum([\"album\", \"single\", \"compilation\"]).describe(\"The type of the album.\").nullable(),\n releaseDate: z.string().describe(\"The date the album was first released.\").nullable(),\n totalTracks: z.number().int().describe(\"The number of tracks in the album.\").nullable(),\n externalUrls: SpotifyGetPlaybackState_ExternalUrlsSchema.nullable(),\n restrictions: SpotifyGetPlaybackState_RestrictionsSchema.nullable().optional(),\n availableMarkets: z.array(z.string()).describe(\"The markets in which the album is available: ISO 3166-1 alpha-2 country codes.\"),\n releaseDatePrecision: z.enum([\"year\", \"month\", \"day\"]).describe(\"The precision with which release_date value is known.\").nullable(),\n}).passthrough().describe(\"Album object.\");\nconst SpotifyGetPlaybackState_LinkedFromSchema = z.object({\n id: z.string().describe(\"The Spotify ID for the track.\").nullable(),\n uri: z.string().describe(\"The Spotify URI for the track.\").nullable(),\n href: z.string().describe(\"A link to the Web API endpoint providing full details of the track.\").nullable(),\n type: z.string().describe(\"The object type: 'track'.\").nullable(),\n externalUrls: SpotifyGetPlaybackState_ExternalUrlsSchema.nullable(),\n}).passthrough().describe(\"Linked from object for track relinking.\");\nconst SpotifyGetPlaybackState_ExternalIdsSchema = z.object({\n ean: z.string().describe(\"International Article Number\").nullable().optional(),\n upc: z.string().describe(\"Universal Product Code\").nullable().optional(),\n isrc: z.string().describe(\"International Standard Recording Code\").nullable().optional(),\n}).passthrough().describe(\"External IDs object.\");\nconst SpotifyGetPlaybackState_TrackSchema = z.object({\n id: z.string().describe(\"The Spotify ID for the track.\").nullable(),\n uri: z.string().describe(\"The Spotify URI for the track.\").nullable(),\n href: z.string().describe(\"A link to the Web API endpoint providing full details of the track.\").nullable(),\n name: z.string().describe(\"The name of the track.\").nullable(),\n type: z.string().describe(\"The object type: 'track'.\").nullable(),\n album: SpotifyGetPlaybackState_AlbumSchema.nullable(),\n artists: z.array(SpotifyGetPlaybackState_ArtistSchema).describe(\"The artists who performed the track.\"),\n isLocal: z.boolean().describe(\"Whether or not the track is from a local file.\").nullable(),\n explicit: z.boolean().describe(\"Whether or not the track has explicit lyrics (true = yes it does; false = no it does not OR unknown).\").nullable(),\n discNumber: z.number().int().describe(\"The disc number (usually 1 unless the album consists of more than one disc).\").nullable(),\n durationMs: z.number().int().describe(\"The track length in milliseconds.\").nullable(),\n isPlayable: z.boolean().describe(\"Part of the response when Track Relinking is applied. If true, the track is playable in the given market. Otherwise false.\").nullable().optional(),\n linkedFrom: SpotifyGetPlaybackState_LinkedFromSchema.nullable().optional(),\n popularity: z.number().int().describe(\"The popularity of the track. The value will be between 0 and 100, with 100 being the most popular.\").nullable(),\n previewUrl: z.string().describe(\"A link to a 30 second preview (MP3 format) of the track. Can be null.\").nullable().optional(),\n externalIds: SpotifyGetPlaybackState_ExternalIdsSchema.nullable(),\n trackNumber: z.number().int().describe(\"The number of the track. If an album has several discs, the track number is the number on the specified disc.\").nullable(),\n externalUrls: SpotifyGetPlaybackState_ExternalUrlsSchema.nullable(),\n restrictions: SpotifyGetPlaybackState_RestrictionsSchema.nullable().optional(),\n availableMarkets: z.array(z.string()).describe(\"A list of the countries in which the track can be played, identified by their ISO 3166-1 alpha-2 code.\"),\n}).passthrough().describe(\"Track object.\");\nconst SpotifyGetPlaybackState_CopyrightSchema = z.object({\n text: z.string().describe(\"The copyright text for this content.\").nullable(),\n type: z.string().describe(\"The type of copyright: C = the copyright, P = the sound recording (performance) copyright.\").nullable(),\n}).passthrough().describe(\"Copyright object.\");\nconst SpotifyGetPlaybackState_ShowSchema = z.object({\n id: z.string().describe(\"The Spotify ID for the show.\").nullable(),\n uri: z.string().describe(\"The Spotify URI for the show.\").nullable(),\n href: z.string().describe(\"A link to the Web API endpoint providing full details of the show.\").nullable(),\n name: z.string().describe(\"The name of the episode.\").nullable(),\n type: z.string().describe(\"The object type.\").nullable(),\n images: z.array(SpotifyGetPlaybackState_ImageSchema).describe(\"The cover art for the show in various sizes, widest first.\"),\n explicit: z.boolean().describe(\"Whether or not the show has explicit content (true = yes it does; false = no it does not OR unknown).\").nullable(),\n languages: z.array(z.string()).describe(\"A list of the languages used in the show, identified by their ISO 639 code.\"),\n mediaType: z.string().describe(\"The media type of the show.\").nullable(),\n publisher: z.string().describe(\"The publisher of the show.\").nullable(),\n copyrights: z.array(SpotifyGetPlaybackState_CopyrightSchema).describe(\"The copyright statements of the show.\"),\n description: z.string().describe(\"A description of the show. HTML tags are stripped away from this field, use html_description field in case HTML tags are needed.\").nullable(),\n externalUrls: SpotifyGetPlaybackState_ExternalUrlsSchema.nullable(),\n totalEpisodes: z.number().int().describe(\"The total number of episodes in the show.\").nullable(),\n htmlDescription: z.string().describe(\"A description of the show. This field may contain HTML tags.\").nullable(),\n availableMarkets: z.array(z.string()).describe(\"A list of the countries in which the show can be played, identified by their ISO 3166-1 alpha-2 code.\"),\n isExternallyHosted: z.boolean().describe(\"True if all of the shows episodes are hosted outside of Spotify's CDN. This field might be null in some cases.\").nullable(),\n}).passthrough().describe(\"Show object.\");\nconst SpotifyGetPlaybackState_ResumePointSchema = z.object({\n fullyPlayed: z.boolean().describe(\"Whether or not the episode has been fully played by the user.\").nullable(),\n resumePositionMs: z.number().int().describe(\"The user's most recent position in the episode in milliseconds.\").nullable(),\n}).passthrough().describe(\"Resume point object.\");\nconst SpotifyGetPlaybackState_EpisodeSchema = z.object({\n id: z.string().describe(\"The Spotify ID for the episode.\").nullable(),\n uri: z.string().describe(\"The Spotify URI for the episode.\").nullable(),\n href: z.string().describe(\"A link to the Web API endpoint providing full details of the episode.\").nullable(),\n name: z.string().describe(\"The name of the episode.\").nullable(),\n show: SpotifyGetPlaybackState_ShowSchema.nullable(),\n type: z.string().describe(\"The object type.\").nullable(),\n images: z.array(SpotifyGetPlaybackState_ImageSchema).describe(\"The cover art for the episode in various sizes, widest first.\"),\n explicit: z.boolean().describe(\"Whether or not the episode has explicit content (true = yes it does; false = no it does not OR unknown).\").nullable(),\n language: z.string().describe(\"The language used in the episode, identified by a ISO 639 code. This field is deprecated and might be removed in the future. Please use the languages field instead.\").nullable().optional(),\n languages: z.array(z.string()).describe(\"A list of the languages used in the episode, identified by their ISO 639-1 code.\"),\n durationMs: z.number().int().describe(\"The episode length in milliseconds.\").nullable(),\n isPlayable: z.boolean().describe(\"True if the episode is playable in the given market. Otherwise false.\").nullable(),\n description: z.string().describe(\"A description of the episode. HTML tags are stripped away from this field, use html_description field in case HTML tags are needed.\").nullable(),\n releaseDate: z.string().describe(\"The date the episode was first released, for example '1981-12-15'. Depending on the precision, it might be shown as '1981' or '1981-12'.\").nullable(),\n resumePoint: SpotifyGetPlaybackState_ResumePointSchema.nullable().optional(),\n externalUrls: SpotifyGetPlaybackState_ExternalUrlsSchema.nullable(),\n restrictions: SpotifyGetPlaybackState_RestrictionsSchema.nullable().optional(),\n audioPreviewUrl: z.string().describe(\"A URL to a 30 second preview (MP3 format) of the episode. null if not available.\").nullable().optional(),\n htmlDescription: z.string().describe(\"A description of the episode. This field may contain HTML tags.\").nullable(),\n isExternallyHosted: z.boolean().describe(\"True if the episode is hosted outside of Spotify's CDN.\").nullable(),\n releaseDatePrecision: z.enum([\"year\", \"month\", \"day\"]).describe(\"The precision with which release_date value is known.\").nullable(),\n}).passthrough().describe(\"Episode object.\");\nconst SpotifyGetPlaybackState_DeviceSchema = z.object({\n id: z.string().describe(\"The device ID. This ID is unique and persistent for a given device.\").nullable().optional(),\n name: z.string().describe(\"A human-readable name for the device. Some devices have a name that the user can configure (e.g. 'Kitchen speaker') and some devices have a generic name associated with the manufacturer or device model.\").nullable(),\n type: z.string().describe(\"Device type, such as 'computer', 'smartphone' or 'speaker'.\").nullable(),\n isActive: z.boolean().describe(\"If this device is the currently active device.\").nullable(),\n isRestricted: z.boolean().describe(\"Whether controlling this device is restricted. At present if this is true then no Web API commands will be accepted by this device.\").nullable(),\n volumePercent: z.number().int().describe(\"The current volume in percent. Range: 0 - 100.\").nullable().optional(),\n supportsVolume: z.boolean().describe(\"If this device supports volume control.\").nullable(),\n isPrivateSession: z.boolean().describe(\"If this device is currently in a private session.\").nullable(),\n}).passthrough().describe(\"Device object.\");\nconst SpotifyGetPlaybackState_ActionsSchema = z.object({\n pausing: z.boolean().describe(\"Pausing.\").nullable().optional(),\n seeking: z.boolean().describe(\"Seeking playback location.\").nullable().optional(),\n resuming: z.boolean().describe(\"Resuming.\").nullable().optional(),\n skippingNext: z.boolean().describe(\"Skipping to the next context.\").nullable().optional(),\n skippingPrev: z.boolean().describe(\"Skipping to the previous context.\").nullable().optional(),\n togglingShuffle: z.boolean().describe(\"Toggling shuffle flag.\").nullable().optional(),\n togglingRepeatTrack: z.boolean().describe(\"Toggling repeat track flag.\").nullable().optional(),\n interruptingPlayback: z.boolean().describe(\"Interrupting playback.\").nullable().optional(),\n transferringPlayback: z.boolean().describe(\"Transferring playback between devices.\").nullable().optional(),\n togglingRepeatContext: z.boolean().describe(\"Toggling repeat context flag.\").nullable().optional(),\n}).passthrough().describe(\"Playback actions object.\");\nconst SpotifyGetPlaybackState_ContextSchema = z.object({\n uri: z.string().describe(\"The Spotify URI for the context.\").nullable(),\n href: z.string().describe(\"A link to the Web API endpoint providing full details of the track.\").nullable(),\n type: z.string().describe(\"The object type, e.g. 'artist', 'playlist', 'album', 'show'.\").nullable(),\n externalUrls: SpotifyGetPlaybackState_ExternalUrlsSchema.nullable(),\n}).passthrough().describe(\"Context object.\");\nexport const SpotifyGetPlaybackStateOutput = z.object({\n item: z.union([SpotifyGetPlaybackState_TrackSchema, SpotifyGetPlaybackState_EpisodeSchema]).nullable().optional(),\n device: SpotifyGetPlaybackState_DeviceSchema.nullable(),\n actions: SpotifyGetPlaybackState_ActionsSchema.nullable().optional(),\n context: SpotifyGetPlaybackState_ContextSchema.nullable().optional(),\n isPlaying: z.boolean().describe(\"If something is currently playing, return true.\").nullable(),\n timestamp: z.number().int().describe(\"Unix Millisecond Timestamp when data was fetched.\").nullable(),\n progressMs: z.number().int().describe(\"Progress into the currently playing track or episode. Can be null.\").nullable().optional(),\n repeatState: z.enum([\"off\", \"track\", \"context\"]).describe(\"off, track, context\").nullable(),\n shuffleState: z.boolean().describe(\"If shuffle is on or off.\").nullable(),\n currentlyPlayingType: z.enum([\"track\", \"episode\", \"ad\", \"unknown\"]).describe(\"The object type of the currently playing item. Can be one of track, episode, ad or unknown.\").nullable(),\n}).passthrough().describe(\"Response schema for `GetPlaybackState`\\n\\nReturns detailed playback information when content is actively playing.\");\n\nexport const spotifyGetPlaybackState = action(\"SPOTIFY_GET_PLAYBACK_STATE\", {\n slug: \"spotify-get-playback-state\",\n name: \"Get playback state\",\n description: \"Get information about the user's current playback state, including track or episode, progress, and active device. Returns detailed playback information when content is actively playing, including the current track/episode, playback progress, device details, repeat/shuffle state, and playback context. Returns HTTP 204 (No Content) when nothing is currently playing. Requires OAuth scope: user-read-playback-state\",\n input: SpotifyGetPlaybackStateInput,\n output: SpotifyGetPlaybackStateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qMAAqM,CAAC,CAAC,SAAS;CAC5O,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,0LAA0L,CAAC,CAAC,SAAS;AAC7O,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,sCAAsC,EAAE,OAAO;CACnD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAClE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,eAAe;AACzC,MAAM,6CAA6C,EAAE,OAAO,EAC1D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,EAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uBAAuB;AACjD,MAAM,uCAAuC,EA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S;CACvL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mHAOhB;AACV,CAAC"}
@@ -7,7 +7,7 @@ const SpotifyGetPlaylistCoverImage_ImageObjectSchema = zod.z.object({
7
7
  width: zod.z.number().int().describe("The image width in pixels.").nullable().optional(),
8
8
  height: zod.z.number().int().describe("The image height in pixels.").nullable().optional()
9
9
  }).passthrough().describe("An image object representing playlist cover art.");
10
- const SpotifyGetPlaylistCoverImageOutput = zod.z.object({ images: zod.z.array(SpotifyGetPlaylistCoverImage_ImageObjectSchema).describe("Array of image objects with URL, height, and width. May be empty if no cover image exists.").nullable().optional() }).describe("Response schema for `GetPlaylistCoverImage`");
10
+ const SpotifyGetPlaylistCoverImageOutput = zod.z.object({ images: zod.z.array(SpotifyGetPlaylistCoverImage_ImageObjectSchema).describe("Array of image objects with URL, height, and width. May be empty if no cover image exists.").nullable().optional() }).passthrough().describe("Response schema for `GetPlaylistCoverImage`");
11
11
  const spotifyGetPlaylistCoverImage = require_action.action("SPOTIFY_GET_PLAYLIST_COVER_IMAGE", {
12
12
  slug: "spotify-get-playlist-cover-image",
13
13
  name: "Get playlist cover image",
@@ -1 +1 @@
1
- {"version":3,"file":"get-playlist-cover-image.cjs","names":["z","action"],"sources":["../../src/actions/get-playlist-cover-image.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyGetPlaylistCoverImageInput = z.object({\n playlist_id: z.string().describe(\"The Spotify ID of the playlist (e.g., '3cEYpjA9oz9GiPac4AsH4n').\"),\n}).describe(\"Request schema for `GetPlaylistCoverImage`\");\nconst SpotifyGetPlaylistCoverImage_ImageObjectSchema = z.object({\n url: z.string().describe(\"The source URL of the image.\").nullable(),\n width: z.number().int().describe(\"The image width in pixels.\").nullable().optional(),\n height: z.number().int().describe(\"The image height in pixels.\").nullable().optional(),\n}).passthrough().describe(\"An image object representing playlist cover art.\");\nexport const SpotifyGetPlaylistCoverImageOutput = z.object({\n images: z.array(SpotifyGetPlaylistCoverImage_ImageObjectSchema).describe(\"Array of image objects with URL, height, and width. May be empty if no cover image exists.\").nullable().optional(),\n}).describe(\"Response schema for `GetPlaylistCoverImage`\");\n\nexport const spotifyGetPlaylistCoverImage = action(\"SPOTIFY_GET_PLAYLIST_COVER_IMAGE\", {\n slug: \"spotify-get-playlist-cover-image\",\n name: \"Get playlist cover image\",\n description: \"Get the current image(s) associated with a specific playlist. Returns an array of image objects containing the URL, height, and width of each cover image. The array may be empty if the playlist has no cover image, or contain up to three images returned by size in descending order. Note: The source URL for the image is temporary and will expire in less than a day.\",\n input: SpotifyGetPlaylistCoverImageInput,\n output: SpotifyGetPlaylistCoverImageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,EACrG,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAClE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAC5E,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,QAAQA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7L,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAEzD,MAAa,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-playlist-cover-image.cjs","names":["z","action"],"sources":["../../src/actions/get-playlist-cover-image.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyGetPlaylistCoverImageInput = z.object({\n playlist_id: z.string().describe(\"The Spotify ID of the playlist (e.g., '3cEYpjA9oz9GiPac4AsH4n').\"),\n}).describe(\"Request schema for `GetPlaylistCoverImage`\");\nconst SpotifyGetPlaylistCoverImage_ImageObjectSchema = z.object({\n url: z.string().describe(\"The source URL of the image.\").nullable(),\n width: z.number().int().describe(\"The image width in pixels.\").nullable().optional(),\n height: z.number().int().describe(\"The image height in pixels.\").nullable().optional(),\n}).passthrough().describe(\"An image object representing playlist cover art.\");\nexport const SpotifyGetPlaylistCoverImageOutput = z.object({\n images: z.array(SpotifyGetPlaylistCoverImage_ImageObjectSchema).describe(\"Array of image objects with URL, height, and width. May be empty if no cover image exists.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `GetPlaylistCoverImage`\");\n\nexport const spotifyGetPlaylistCoverImage = action(\"SPOTIFY_GET_PLAYLIST_COVER_IMAGE\", {\n slug: \"spotify-get-playlist-cover-image\",\n name: \"Get playlist cover image\",\n description: \"Get the current image(s) associated with a specific playlist. Returns an array of image objects containing the URL, height, and width of each cover image. The array may be empty if the playlist has no cover image, or contain up to three images returned by size in descending order. Note: The source URL for the image is temporary and will expire in less than a day.\",\n input: SpotifyGetPlaylistCoverImageInput,\n output: SpotifyGetPlaylistCoverImageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,EACrG,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAClE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAC5E,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,QAAQA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7L,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -10,10 +10,22 @@ declare const SpotifyGetPlaylistCoverImageOutput: z.ZodObject<{
10
10
  width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
11
11
  height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
12
  }, z.core.$loose>>>>;
13
- }, z.core.$strip>;
13
+ }, z.core.$loose>;
14
14
  declare const spotifyGetPlaylistCoverImage: import("@keystrokehq/action").WorkflowActionDefinition<{
15
15
  playlist_id: string;
16
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
16
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"spotify", z.ZodObject<{
17
+ connectionId: z.ZodString;
18
+ entityId: z.ZodString;
19
+ instanceId: z.ZodString;
20
+ }, z.core.$strip>, z.ZodObject<{
21
+ accessToken: z.ZodString;
22
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"spotify", z.ZodObject<{
23
+ connectionId: z.ZodString;
24
+ entityId: z.ZodString;
25
+ instanceId: z.ZodString;
26
+ }, z.core.$strip>, z.ZodObject<{
27
+ accessToken: z.ZodString;
28
+ }, z.core.$strip>>]>;
17
29
  //#endregion
18
30
  export { spotifyGetPlaylistCoverImage };
19
31
  //# sourceMappingURL=get-playlist-cover-image.d.cts.map
@@ -10,10 +10,22 @@ declare const SpotifyGetPlaylistCoverImageOutput: z.ZodObject<{
10
10
  width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
11
11
  height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
12
  }, z.core.$loose>>>>;
13
- }, z.core.$strip>;
13
+ }, z.core.$loose>;
14
14
  declare const spotifyGetPlaylistCoverImage: import("@keystrokehq/action").WorkflowActionDefinition<{
15
15
  playlist_id: string;
16
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
16
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"spotify", z.ZodObject<{
17
+ connectionId: z.ZodString;
18
+ entityId: z.ZodString;
19
+ instanceId: z.ZodString;
20
+ }, z.core.$strip>, z.ZodObject<{
21
+ accessToken: z.ZodString;
22
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"spotify", z.ZodObject<{
23
+ connectionId: z.ZodString;
24
+ entityId: z.ZodString;
25
+ instanceId: z.ZodString;
26
+ }, z.core.$strip>, z.ZodObject<{
27
+ accessToken: z.ZodString;
28
+ }, z.core.$strip>>]>;
17
29
  //#endregion
18
30
  export { spotifyGetPlaylistCoverImage };
19
31
  //# sourceMappingURL=get-playlist-cover-image.d.mts.map
@@ -12,7 +12,7 @@ const spotifyGetPlaylistCoverImage = action("SPOTIFY_GET_PLAYLIST_COVER_IMAGE",
12
12
  name: "Get playlist cover image",
13
13
  description: "Get the current image(s) associated with a specific playlist. Returns an array of image objects containing the URL, height, and width of each cover image. The array may be empty if the playlist has no cover image, or contain up to three images returned by size in descending order. Note: The source URL for the image is temporary and will expire in less than a day.",
14
14
  input: SpotifyGetPlaylistCoverImageInput,
15
- output: z.object({ images: z.array(SpotifyGetPlaylistCoverImage_ImageObjectSchema).describe("Array of image objects with URL, height, and width. May be empty if no cover image exists.").nullable().optional() }).describe("Response schema for `GetPlaylistCoverImage`")
15
+ output: z.object({ images: z.array(SpotifyGetPlaylistCoverImage_ImageObjectSchema).describe("Array of image objects with URL, height, and width. May be empty if no cover image exists.").nullable().optional() }).passthrough().describe("Response schema for `GetPlaylistCoverImage`")
16
16
  });
17
17
  //#endregion
18
18
  export { spotifyGetPlaylistCoverImage };
@@ -1 +1 @@
1
- {"version":3,"file":"get-playlist-cover-image.mjs","names":[],"sources":["../../src/actions/get-playlist-cover-image.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyGetPlaylistCoverImageInput = z.object({\n playlist_id: z.string().describe(\"The Spotify ID of the playlist (e.g., '3cEYpjA9oz9GiPac4AsH4n').\"),\n}).describe(\"Request schema for `GetPlaylistCoverImage`\");\nconst SpotifyGetPlaylistCoverImage_ImageObjectSchema = z.object({\n url: z.string().describe(\"The source URL of the image.\").nullable(),\n width: z.number().int().describe(\"The image width in pixels.\").nullable().optional(),\n height: z.number().int().describe(\"The image height in pixels.\").nullable().optional(),\n}).passthrough().describe(\"An image object representing playlist cover art.\");\nexport const SpotifyGetPlaylistCoverImageOutput = z.object({\n images: z.array(SpotifyGetPlaylistCoverImage_ImageObjectSchema).describe(\"Array of image objects with URL, height, and width. May be empty if no cover image exists.\").nullable().optional(),\n}).describe(\"Response schema for `GetPlaylistCoverImage`\");\n\nexport const spotifyGetPlaylistCoverImage = action(\"SPOTIFY_GET_PLAYLIST_COVER_IMAGE\", {\n slug: \"spotify-get-playlist-cover-image\",\n name: \"Get playlist cover image\",\n description: \"Get the current image(s) associated with a specific playlist. Returns an array of image objects containing the URL, height, and width of each cover image. The array may be empty if the playlist has no cover image, or contain up to three images returned by size in descending order. Note: The source URL for the image is temporary and will expire in less than a day.\",\n input: SpotifyGetPlaylistCoverImageInput,\n output: SpotifyGetPlaylistCoverImageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoC,EAAE,OAAO,EACxD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,EACrG,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,iDAAiD,EAAE,OAAO;CAC9D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAClE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAK5E,MAAa,+BAA+B,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATgD,EAAE,OAAO,EACzD,QAAQ,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7L,CAAC,CAAC,CAAC,SAAS,6CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-playlist-cover-image.mjs","names":[],"sources":["../../src/actions/get-playlist-cover-image.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyGetPlaylistCoverImageInput = z.object({\n playlist_id: z.string().describe(\"The Spotify ID of the playlist (e.g., '3cEYpjA9oz9GiPac4AsH4n').\"),\n}).describe(\"Request schema for `GetPlaylistCoverImage`\");\nconst SpotifyGetPlaylistCoverImage_ImageObjectSchema = z.object({\n url: z.string().describe(\"The source URL of the image.\").nullable(),\n width: z.number().int().describe(\"The image width in pixels.\").nullable().optional(),\n height: z.number().int().describe(\"The image height in pixels.\").nullable().optional(),\n}).passthrough().describe(\"An image object representing playlist cover art.\");\nexport const SpotifyGetPlaylistCoverImageOutput = z.object({\n images: z.array(SpotifyGetPlaylistCoverImage_ImageObjectSchema).describe(\"Array of image objects with URL, height, and width. May be empty if no cover image exists.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `GetPlaylistCoverImage`\");\n\nexport const spotifyGetPlaylistCoverImage = action(\"SPOTIFY_GET_PLAYLIST_COVER_IMAGE\", {\n slug: \"spotify-get-playlist-cover-image\",\n name: \"Get playlist cover image\",\n description: \"Get the current image(s) associated with a specific playlist. Returns an array of image objects containing the URL, height, and width of each cover image. The array may be empty if the playlist has no cover image, or contain up to three images returned by size in descending order. Note: The source URL for the image is temporary and will expire in less than a day.\",\n input: SpotifyGetPlaylistCoverImageInput,\n output: SpotifyGetPlaylistCoverImageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoC,EAAE,OAAO,EACxD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,EACrG,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,iDAAiD,EAAE,OAAO;CAC9D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAClE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAK5E,MAAa,+BAA+B,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATgD,EAAE,OAAO,EACzD,QAAQ,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7L,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAOhB;AACV,CAAC"}
@@ -206,7 +206,19 @@ declare const spotifyGetPlaylistItems: import("@keystrokehq/action").WorkflowAct
206
206
  market?: string | undefined;
207
207
  offset?: number | undefined;
208
208
  additional_types?: string | undefined;
209
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
209
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"spotify", z.ZodObject<{
210
+ connectionId: z.ZodString;
211
+ entityId: z.ZodString;
212
+ instanceId: z.ZodString;
213
+ }, z.core.$strip>, z.ZodObject<{
214
+ accessToken: z.ZodString;
215
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"spotify", z.ZodObject<{
216
+ connectionId: z.ZodString;
217
+ entityId: z.ZodString;
218
+ instanceId: z.ZodString;
219
+ }, z.core.$strip>, z.ZodObject<{
220
+ accessToken: z.ZodString;
221
+ }, z.core.$strip>>]>;
210
222
  //#endregion
211
223
  export { spotifyGetPlaylistItems };
212
224
  //# sourceMappingURL=get-playlist-items.d.cts.map
@@ -206,7 +206,19 @@ declare const spotifyGetPlaylistItems: import("@keystrokehq/action").WorkflowAct
206
206
  market?: string | undefined;
207
207
  offset?: number | undefined;
208
208
  additional_types?: string | undefined;
209
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
209
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"spotify", z.ZodObject<{
210
+ connectionId: z.ZodString;
211
+ entityId: z.ZodString;
212
+ instanceId: z.ZodString;
213
+ }, z.core.$strip>, z.ZodObject<{
214
+ accessToken: z.ZodString;
215
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"spotify", z.ZodObject<{
216
+ connectionId: z.ZodString;
217
+ entityId: z.ZodString;
218
+ instanceId: z.ZodString;
219
+ }, z.core.$strip>, z.ZodObject<{
220
+ accessToken: z.ZodString;
221
+ }, z.core.$strip>>]>;
210
222
  //#endregion
211
223
  export { spotifyGetPlaylistItems };
212
224
  //# sourceMappingURL=get-playlist-items.d.mts.map
@@ -205,7 +205,19 @@ declare const spotifyGetPlaylist: import("@keystrokehq/action").WorkflowActionDe
205
205
  fields?: string | undefined;
206
206
  market?: string | undefined;
207
207
  additional_types?: string | undefined;
208
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
208
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"spotify", z.ZodObject<{
209
+ connectionId: z.ZodString;
210
+ entityId: z.ZodString;
211
+ instanceId: z.ZodString;
212
+ }, z.core.$strip>, z.ZodObject<{
213
+ accessToken: z.ZodString;
214
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"spotify", z.ZodObject<{
215
+ connectionId: z.ZodString;
216
+ entityId: z.ZodString;
217
+ instanceId: z.ZodString;
218
+ }, z.core.$strip>, z.ZodObject<{
219
+ accessToken: z.ZodString;
220
+ }, z.core.$strip>>]>;
209
221
  //#endregion
210
222
  export { spotifyGetPlaylist };
211
223
  //# sourceMappingURL=get-playlist.d.cts.map