@keystrokehq/spotify 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (363) hide show
  1. package/dist/actions/add-items-to-playlist.cjs +1 -1
  2. package/dist/actions/add-items-to-playlist.cjs.map +1 -1
  3. package/dist/actions/add-items-to-playlist.d.cts +1 -1
  4. package/dist/actions/add-items-to-playlist.d.mts +1 -1
  5. package/dist/actions/add-items-to-playlist.mjs +1 -1
  6. package/dist/actions/add-items-to-playlist.mjs.map +1 -1
  7. package/dist/actions/check-if-user-follows-artists-or-users.cjs +1 -1
  8. package/dist/actions/check-if-user-follows-artists-or-users.cjs.map +1 -1
  9. package/dist/actions/check-if-user-follows-artists-or-users.d.cts +1 -1
  10. package/dist/actions/check-if-user-follows-artists-or-users.d.mts +1 -1
  11. package/dist/actions/check-if-user-follows-artists-or-users.mjs +1 -1
  12. package/dist/actions/check-if-user-follows-artists-or-users.mjs.map +1 -1
  13. package/dist/actions/check-user-s-saved-albums.cjs +1 -1
  14. package/dist/actions/check-user-s-saved-albums.cjs.map +1 -1
  15. package/dist/actions/check-user-s-saved-albums.d.cts +1 -1
  16. package/dist/actions/check-user-s-saved-albums.d.mts +1 -1
  17. package/dist/actions/check-user-s-saved-albums.mjs +1 -1
  18. package/dist/actions/check-user-s-saved-albums.mjs.map +1 -1
  19. package/dist/actions/check-user-s-saved-audiobooks.cjs +1 -1
  20. package/dist/actions/check-user-s-saved-audiobooks.cjs.map +1 -1
  21. package/dist/actions/check-user-s-saved-audiobooks.d.cts +1 -1
  22. package/dist/actions/check-user-s-saved-audiobooks.d.mts +1 -1
  23. package/dist/actions/check-user-s-saved-audiobooks.mjs +1 -1
  24. package/dist/actions/check-user-s-saved-audiobooks.mjs.map +1 -1
  25. package/dist/actions/check-user-s-saved-shows.cjs +1 -1
  26. package/dist/actions/check-user-s-saved-shows.cjs.map +1 -1
  27. package/dist/actions/check-user-s-saved-shows.d.cts +1 -1
  28. package/dist/actions/check-user-s-saved-shows.d.mts +1 -1
  29. package/dist/actions/check-user-s-saved-shows.mjs +1 -1
  30. package/dist/actions/check-user-s-saved-shows.mjs.map +1 -1
  31. package/dist/actions/create-playlist.cjs +7 -7
  32. package/dist/actions/create-playlist.cjs.map +1 -1
  33. package/dist/actions/create-playlist.d.cts +9 -9
  34. package/dist/actions/create-playlist.d.mts +9 -9
  35. package/dist/actions/create-playlist.mjs +7 -7
  36. package/dist/actions/create-playlist.mjs.map +1 -1
  37. package/dist/actions/get-a-chapter.cjs +2 -2
  38. package/dist/actions/get-a-chapter.cjs.map +1 -1
  39. package/dist/actions/get-a-chapter.d.cts +2 -2
  40. package/dist/actions/get-a-chapter.d.mts +2 -2
  41. package/dist/actions/get-a-chapter.mjs +2 -2
  42. package/dist/actions/get-a-chapter.mjs.map +1 -1
  43. package/dist/actions/get-album-tracks.cjs +2 -2
  44. package/dist/actions/get-album-tracks.cjs.map +1 -1
  45. package/dist/actions/get-album-tracks.d.cts +2 -2
  46. package/dist/actions/get-album-tracks.d.mts +2 -2
  47. package/dist/actions/get-album-tracks.mjs +2 -2
  48. package/dist/actions/get-album-tracks.mjs.map +1 -1
  49. package/dist/actions/get-album.cjs +7 -7
  50. package/dist/actions/get-album.cjs.map +1 -1
  51. package/dist/actions/get-album.d.cts +8 -8
  52. package/dist/actions/get-album.d.mts +8 -8
  53. package/dist/actions/get-album.mjs +7 -7
  54. package/dist/actions/get-album.mjs.map +1 -1
  55. package/dist/actions/get-an-audiobook.cjs +2 -2
  56. package/dist/actions/get-an-audiobook.cjs.map +1 -1
  57. package/dist/actions/get-an-audiobook.d.cts +2 -2
  58. package/dist/actions/get-an-audiobook.d.mts +2 -2
  59. package/dist/actions/get-an-audiobook.mjs +2 -2
  60. package/dist/actions/get-an-audiobook.mjs.map +1 -1
  61. package/dist/actions/get-artist-s-albums.cjs +4 -4
  62. package/dist/actions/get-artist-s-albums.cjs.map +1 -1
  63. package/dist/actions/get-artist-s-albums.d.cts +4 -4
  64. package/dist/actions/get-artist-s-albums.d.mts +4 -4
  65. package/dist/actions/get-artist-s-albums.mjs +4 -4
  66. package/dist/actions/get-artist-s-albums.mjs.map +1 -1
  67. package/dist/actions/get-artist-s-related-artists.cjs +5 -5
  68. package/dist/actions/get-artist-s-related-artists.cjs.map +1 -1
  69. package/dist/actions/get-artist-s-related-artists.d.cts +5 -5
  70. package/dist/actions/get-artist-s-related-artists.d.mts +5 -5
  71. package/dist/actions/get-artist-s-related-artists.mjs +5 -5
  72. package/dist/actions/get-artist-s-related-artists.mjs.map +1 -1
  73. package/dist/actions/get-artist-s-top-tracks.cjs +8 -8
  74. package/dist/actions/get-artist-s-top-tracks.cjs.map +1 -1
  75. package/dist/actions/get-artist-s-top-tracks.d.cts +13 -13
  76. package/dist/actions/get-artist-s-top-tracks.d.mts +13 -13
  77. package/dist/actions/get-artist-s-top-tracks.mjs +8 -8
  78. package/dist/actions/get-artist-s-top-tracks.mjs.map +1 -1
  79. package/dist/actions/get-artist.cjs +5 -5
  80. package/dist/actions/get-artist.cjs.map +1 -1
  81. package/dist/actions/get-artist.d.cts +5 -5
  82. package/dist/actions/get-artist.d.mts +5 -5
  83. package/dist/actions/get-artist.mjs +5 -5
  84. package/dist/actions/get-artist.mjs.map +1 -1
  85. package/dist/actions/get-audiobook-chapters.cjs +1 -1
  86. package/dist/actions/get-audiobook-chapters.cjs.map +1 -1
  87. package/dist/actions/get-audiobook-chapters.d.cts +1 -1
  88. package/dist/actions/get-audiobook-chapters.d.mts +1 -1
  89. package/dist/actions/get-audiobook-chapters.mjs +1 -1
  90. package/dist/actions/get-audiobook-chapters.mjs.map +1 -1
  91. package/dist/actions/get-available-devices.cjs +2 -2
  92. package/dist/actions/get-available-devices.cjs.map +1 -1
  93. package/dist/actions/get-available-devices.d.cts +2 -2
  94. package/dist/actions/get-available-devices.d.mts +2 -2
  95. package/dist/actions/get-available-devices.mjs +2 -2
  96. package/dist/actions/get-available-devices.mjs.map +1 -1
  97. package/dist/actions/get-available-markets.cjs +1 -1
  98. package/dist/actions/get-available-markets.cjs.map +1 -1
  99. package/dist/actions/get-available-markets.d.cts +1 -1
  100. package/dist/actions/get-available-markets.d.mts +1 -1
  101. package/dist/actions/get-available-markets.mjs +1 -1
  102. package/dist/actions/get-available-markets.mjs.map +1 -1
  103. package/dist/actions/get-current-user-s-playlists.cjs +7 -7
  104. package/dist/actions/get-current-user-s-playlists.cjs.map +1 -1
  105. package/dist/actions/get-current-user-s-playlists.d.cts +8 -8
  106. package/dist/actions/get-current-user-s-playlists.d.mts +8 -8
  107. package/dist/actions/get-current-user-s-playlists.mjs +7 -7
  108. package/dist/actions/get-current-user-s-playlists.mjs.map +1 -1
  109. package/dist/actions/get-current-user-s-profile.cjs +6 -6
  110. package/dist/actions/get-current-user-s-profile.cjs.map +1 -1
  111. package/dist/actions/get-current-user-s-profile.d.cts +6 -6
  112. package/dist/actions/get-current-user-s-profile.d.mts +6 -6
  113. package/dist/actions/get-current-user-s-profile.mjs +6 -6
  114. package/dist/actions/get-current-user-s-profile.mjs.map +1 -1
  115. package/dist/actions/get-episode.cjs +2 -2
  116. package/dist/actions/get-episode.cjs.map +1 -1
  117. package/dist/actions/get-episode.d.cts +2 -2
  118. package/dist/actions/get-episode.d.mts +2 -2
  119. package/dist/actions/get-episode.mjs +2 -2
  120. package/dist/actions/get-episode.mjs.map +1 -1
  121. package/dist/actions/get-followed-artists.cjs +8 -8
  122. package/dist/actions/get-followed-artists.cjs.map +1 -1
  123. package/dist/actions/get-followed-artists.d.cts +8 -8
  124. package/dist/actions/get-followed-artists.d.mts +8 -8
  125. package/dist/actions/get-followed-artists.mjs +8 -8
  126. package/dist/actions/get-followed-artists.mjs.map +1 -1
  127. package/dist/actions/get-new-releases.cjs +3 -3
  128. package/dist/actions/get-new-releases.cjs.map +1 -1
  129. package/dist/actions/get-new-releases.d.cts +3 -3
  130. package/dist/actions/get-new-releases.d.mts +3 -3
  131. package/dist/actions/get-new-releases.mjs +3 -3
  132. package/dist/actions/get-new-releases.mjs.map +1 -1
  133. package/dist/actions/get-playback-state.cjs +16 -16
  134. package/dist/actions/get-playback-state.cjs.map +1 -1
  135. package/dist/actions/get-playback-state.d.cts +29 -29
  136. package/dist/actions/get-playback-state.d.mts +29 -29
  137. package/dist/actions/get-playback-state.mjs +16 -16
  138. package/dist/actions/get-playback-state.mjs.map +1 -1
  139. package/dist/actions/get-playlist-cover-image.cjs +1 -1
  140. package/dist/actions/get-playlist-cover-image.cjs.map +1 -1
  141. package/dist/actions/get-playlist-cover-image.d.cts +1 -1
  142. package/dist/actions/get-playlist-cover-image.d.mts +1 -1
  143. package/dist/actions/get-playlist-cover-image.mjs +1 -1
  144. package/dist/actions/get-playlist-cover-image.mjs.map +1 -1
  145. package/dist/actions/get-recently-played-tracks.cjs +11 -11
  146. package/dist/actions/get-recently-played-tracks.cjs.map +1 -1
  147. package/dist/actions/get-recently-played-tracks.d.cts +17 -17
  148. package/dist/actions/get-recently-played-tracks.d.mts +17 -17
  149. package/dist/actions/get-recently-played-tracks.mjs +11 -11
  150. package/dist/actions/get-recently-played-tracks.mjs.map +1 -1
  151. package/dist/actions/get-recommendations.cjs +1 -1
  152. package/dist/actions/get-recommendations.cjs.map +1 -1
  153. package/dist/actions/get-recommendations.d.cts +1 -1
  154. package/dist/actions/get-recommendations.d.mts +1 -1
  155. package/dist/actions/get-recommendations.mjs +1 -1
  156. package/dist/actions/get-recommendations.mjs.map +1 -1
  157. package/dist/actions/get-several-albums.cjs +5 -5
  158. package/dist/actions/get-several-albums.cjs.map +1 -1
  159. package/dist/actions/get-several-albums.d.cts +6 -6
  160. package/dist/actions/get-several-albums.d.mts +6 -6
  161. package/dist/actions/get-several-albums.mjs +5 -5
  162. package/dist/actions/get-several-albums.mjs.map +1 -1
  163. package/dist/actions/get-several-artists.cjs +1 -1
  164. package/dist/actions/get-several-artists.cjs.map +1 -1
  165. package/dist/actions/get-several-artists.d.cts +1 -1
  166. package/dist/actions/get-several-artists.d.mts +1 -1
  167. package/dist/actions/get-several-artists.mjs +1 -1
  168. package/dist/actions/get-several-artists.mjs.map +1 -1
  169. package/dist/actions/get-several-audiobooks.cjs +2 -2
  170. package/dist/actions/get-several-audiobooks.cjs.map +1 -1
  171. package/dist/actions/get-several-audiobooks.d.cts +2 -2
  172. package/dist/actions/get-several-audiobooks.d.mts +2 -2
  173. package/dist/actions/get-several-audiobooks.mjs +2 -2
  174. package/dist/actions/get-several-audiobooks.mjs.map +1 -1
  175. package/dist/actions/get-several-chapters.cjs +2 -2
  176. package/dist/actions/get-several-chapters.cjs.map +1 -1
  177. package/dist/actions/get-several-chapters.d.cts +2 -2
  178. package/dist/actions/get-several-chapters.d.mts +2 -2
  179. package/dist/actions/get-several-chapters.mjs +2 -2
  180. package/dist/actions/get-several-chapters.mjs.map +1 -1
  181. package/dist/actions/get-several-episodes.cjs +2 -2
  182. package/dist/actions/get-several-episodes.cjs.map +1 -1
  183. package/dist/actions/get-several-episodes.d.cts +2 -2
  184. package/dist/actions/get-several-episodes.d.mts +2 -2
  185. package/dist/actions/get-several-episodes.mjs +2 -2
  186. package/dist/actions/get-several-episodes.mjs.map +1 -1
  187. package/dist/actions/get-several-shows.cjs +1 -1
  188. package/dist/actions/get-several-shows.cjs.map +1 -1
  189. package/dist/actions/get-several-shows.d.cts +1 -1
  190. package/dist/actions/get-several-shows.d.mts +1 -1
  191. package/dist/actions/get-several-shows.mjs +1 -1
  192. package/dist/actions/get-several-shows.mjs.map +1 -1
  193. package/dist/actions/get-several-tracks.cjs +6 -6
  194. package/dist/actions/get-several-tracks.cjs.map +1 -1
  195. package/dist/actions/get-several-tracks.d.cts +7 -7
  196. package/dist/actions/get-several-tracks.d.mts +7 -7
  197. package/dist/actions/get-several-tracks.mjs +6 -6
  198. package/dist/actions/get-several-tracks.mjs.map +1 -1
  199. package/dist/actions/get-show-episodes.cjs +1 -1
  200. package/dist/actions/get-show-episodes.cjs.map +1 -1
  201. package/dist/actions/get-show-episodes.d.cts +1 -1
  202. package/dist/actions/get-show-episodes.d.mts +1 -1
  203. package/dist/actions/get-show-episodes.mjs +1 -1
  204. package/dist/actions/get-show-episodes.mjs.map +1 -1
  205. package/dist/actions/get-show.cjs +2 -2
  206. package/dist/actions/get-show.cjs.map +1 -1
  207. package/dist/actions/get-show.d.cts +2 -2
  208. package/dist/actions/get-show.d.mts +2 -2
  209. package/dist/actions/get-show.mjs +2 -2
  210. package/dist/actions/get-show.mjs.map +1 -1
  211. package/dist/actions/get-track.cjs +9 -9
  212. package/dist/actions/get-track.cjs.map +1 -1
  213. package/dist/actions/get-track.d.cts +9 -9
  214. package/dist/actions/get-track.d.mts +9 -9
  215. package/dist/actions/get-track.mjs +9 -9
  216. package/dist/actions/get-track.mjs.map +1 -1
  217. package/dist/actions/get-user-s-playlists.cjs +7 -7
  218. package/dist/actions/get-user-s-playlists.cjs.map +1 -1
  219. package/dist/actions/get-user-s-playlists.d.cts +8 -8
  220. package/dist/actions/get-user-s-playlists.d.mts +8 -8
  221. package/dist/actions/get-user-s-playlists.mjs +7 -7
  222. package/dist/actions/get-user-s-playlists.mjs.map +1 -1
  223. package/dist/actions/get-user-s-profile.cjs +5 -5
  224. package/dist/actions/get-user-s-profile.cjs.map +1 -1
  225. package/dist/actions/get-user-s-profile.d.cts +5 -5
  226. package/dist/actions/get-user-s-profile.d.mts +5 -5
  227. package/dist/actions/get-user-s-profile.mjs +5 -5
  228. package/dist/actions/get-user-s-profile.mjs.map +1 -1
  229. package/dist/actions/get-user-s-saved-albums.cjs +2 -2
  230. package/dist/actions/get-user-s-saved-albums.cjs.map +1 -1
  231. package/dist/actions/get-user-s-saved-albums.d.cts +2 -2
  232. package/dist/actions/get-user-s-saved-albums.d.mts +2 -2
  233. package/dist/actions/get-user-s-saved-albums.mjs +2 -2
  234. package/dist/actions/get-user-s-saved-albums.mjs.map +1 -1
  235. package/dist/actions/get-user-s-saved-audiobooks.cjs +1 -1
  236. package/dist/actions/get-user-s-saved-audiobooks.cjs.map +1 -1
  237. package/dist/actions/get-user-s-saved-audiobooks.d.cts +1 -1
  238. package/dist/actions/get-user-s-saved-audiobooks.d.mts +1 -1
  239. package/dist/actions/get-user-s-saved-audiobooks.mjs +1 -1
  240. package/dist/actions/get-user-s-saved-audiobooks.mjs.map +1 -1
  241. package/dist/actions/get-user-s-saved-episodes.cjs +2 -2
  242. package/dist/actions/get-user-s-saved-episodes.cjs.map +1 -1
  243. package/dist/actions/get-user-s-saved-episodes.d.cts +2 -2
  244. package/dist/actions/get-user-s-saved-episodes.d.mts +2 -2
  245. package/dist/actions/get-user-s-saved-episodes.mjs +2 -2
  246. package/dist/actions/get-user-s-saved-episodes.mjs.map +1 -1
  247. package/dist/actions/get-user-s-saved-shows.cjs +1 -1
  248. package/dist/actions/get-user-s-saved-shows.cjs.map +1 -1
  249. package/dist/actions/get-user-s-saved-shows.d.cts +1 -1
  250. package/dist/actions/get-user-s-saved-shows.d.mts +1 -1
  251. package/dist/actions/get-user-s-saved-shows.mjs +1 -1
  252. package/dist/actions/get-user-s-saved-shows.mjs.map +1 -1
  253. package/dist/actions/get-user-s-saved-tracks.cjs +1 -1
  254. package/dist/actions/get-user-s-saved-tracks.cjs.map +1 -1
  255. package/dist/actions/get-user-s-saved-tracks.d.cts +1 -1
  256. package/dist/actions/get-user-s-saved-tracks.d.mts +1 -1
  257. package/dist/actions/get-user-s-saved-tracks.mjs +1 -1
  258. package/dist/actions/get-user-s-saved-tracks.mjs.map +1 -1
  259. package/dist/actions/get-user-s-top-artists.cjs +5 -5
  260. package/dist/actions/get-user-s-top-artists.cjs.map +1 -1
  261. package/dist/actions/get-user-s-top-artists.d.cts +5 -5
  262. package/dist/actions/get-user-s-top-artists.d.mts +5 -5
  263. package/dist/actions/get-user-s-top-artists.mjs +5 -5
  264. package/dist/actions/get-user-s-top-artists.mjs.map +1 -1
  265. package/dist/actions/get-user-s-top-tracks.cjs +9 -9
  266. package/dist/actions/get-user-s-top-tracks.cjs.map +1 -1
  267. package/dist/actions/get-user-s-top-tracks.d.cts +15 -15
  268. package/dist/actions/get-user-s-top-tracks.d.mts +15 -15
  269. package/dist/actions/get-user-s-top-tracks.mjs +9 -9
  270. package/dist/actions/get-user-s-top-tracks.mjs.map +1 -1
  271. package/dist/actions/pause-playback.cjs +1 -1
  272. package/dist/actions/pause-playback.cjs.map +1 -1
  273. package/dist/actions/pause-playback.d.cts +1 -1
  274. package/dist/actions/pause-playback.d.mts +1 -1
  275. package/dist/actions/pause-playback.mjs +1 -1
  276. package/dist/actions/pause-playback.mjs.map +1 -1
  277. package/dist/actions/remove-user-s-saved-audiobooks.cjs +1 -1
  278. package/dist/actions/remove-user-s-saved-audiobooks.cjs.map +1 -1
  279. package/dist/actions/remove-user-s-saved-audiobooks.d.cts +1 -1
  280. package/dist/actions/remove-user-s-saved-audiobooks.d.mts +1 -1
  281. package/dist/actions/remove-user-s-saved-audiobooks.mjs +1 -1
  282. package/dist/actions/remove-user-s-saved-audiobooks.mjs.map +1 -1
  283. package/dist/actions/remove-user-s-saved-episodes.cjs +1 -1
  284. package/dist/actions/remove-user-s-saved-episodes.cjs.map +1 -1
  285. package/dist/actions/remove-user-s-saved-episodes.d.cts +1 -1
  286. package/dist/actions/remove-user-s-saved-episodes.d.mts +1 -1
  287. package/dist/actions/remove-user-s-saved-episodes.mjs +1 -1
  288. package/dist/actions/remove-user-s-saved-episodes.mjs.map +1 -1
  289. package/dist/actions/remove-user-s-saved-tracks.cjs +1 -1
  290. package/dist/actions/remove-user-s-saved-tracks.cjs.map +1 -1
  291. package/dist/actions/remove-user-s-saved-tracks.d.cts +1 -1
  292. package/dist/actions/remove-user-s-saved-tracks.d.mts +1 -1
  293. package/dist/actions/remove-user-s-saved-tracks.mjs +1 -1
  294. package/dist/actions/remove-user-s-saved-tracks.mjs.map +1 -1
  295. package/dist/actions/save-albums-for-current-user.cjs +1 -1
  296. package/dist/actions/save-albums-for-current-user.cjs.map +1 -1
  297. package/dist/actions/save-albums-for-current-user.d.cts +1 -1
  298. package/dist/actions/save-albums-for-current-user.d.mts +1 -1
  299. package/dist/actions/save-albums-for-current-user.mjs +1 -1
  300. package/dist/actions/save-albums-for-current-user.mjs.map +1 -1
  301. package/dist/actions/save-audiobooks-for-current-user.cjs +1 -1
  302. package/dist/actions/save-audiobooks-for-current-user.cjs.map +1 -1
  303. package/dist/actions/save-audiobooks-for-current-user.d.cts +1 -1
  304. package/dist/actions/save-audiobooks-for-current-user.d.mts +1 -1
  305. package/dist/actions/save-audiobooks-for-current-user.mjs +1 -1
  306. package/dist/actions/save-audiobooks-for-current-user.mjs.map +1 -1
  307. package/dist/actions/save-episodes-for-current-user.cjs +1 -1
  308. package/dist/actions/save-episodes-for-current-user.cjs.map +1 -1
  309. package/dist/actions/save-episodes-for-current-user.d.cts +1 -1
  310. package/dist/actions/save-episodes-for-current-user.d.mts +1 -1
  311. package/dist/actions/save-episodes-for-current-user.mjs +1 -1
  312. package/dist/actions/save-episodes-for-current-user.mjs.map +1 -1
  313. package/dist/actions/save-shows-for-current-user.cjs +1 -1
  314. package/dist/actions/save-shows-for-current-user.cjs.map +1 -1
  315. package/dist/actions/save-shows-for-current-user.d.cts +1 -1
  316. package/dist/actions/save-shows-for-current-user.d.mts +1 -1
  317. package/dist/actions/save-shows-for-current-user.mjs +1 -1
  318. package/dist/actions/save-shows-for-current-user.mjs.map +1 -1
  319. package/dist/actions/save-tracks-for-current-user.cjs +1 -1
  320. package/dist/actions/save-tracks-for-current-user.cjs.map +1 -1
  321. package/dist/actions/save-tracks-for-current-user.d.cts +1 -1
  322. package/dist/actions/save-tracks-for-current-user.d.mts +1 -1
  323. package/dist/actions/save-tracks-for-current-user.mjs +1 -1
  324. package/dist/actions/save-tracks-for-current-user.mjs.map +1 -1
  325. package/dist/actions/search-for-item.d.cts +3 -3
  326. package/dist/actions/search-for-item.d.mts +3 -3
  327. package/dist/actions/set-playback-volume.cjs +1 -1
  328. package/dist/actions/set-playback-volume.cjs.map +1 -1
  329. package/dist/actions/set-playback-volume.d.cts +1 -1
  330. package/dist/actions/set-playback-volume.d.mts +1 -1
  331. package/dist/actions/set-playback-volume.mjs +1 -1
  332. package/dist/actions/set-playback-volume.mjs.map +1 -1
  333. package/dist/actions/set-repeat-mode.cjs +1 -1
  334. package/dist/actions/set-repeat-mode.cjs.map +1 -1
  335. package/dist/actions/set-repeat-mode.d.cts +3 -3
  336. package/dist/actions/set-repeat-mode.d.mts +3 -3
  337. package/dist/actions/set-repeat-mode.mjs +1 -1
  338. package/dist/actions/set-repeat-mode.mjs.map +1 -1
  339. package/dist/actions/skip-to-previous.cjs +1 -1
  340. package/dist/actions/skip-to-previous.cjs.map +1 -1
  341. package/dist/actions/skip-to-previous.d.cts +1 -1
  342. package/dist/actions/skip-to-previous.d.mts +1 -1
  343. package/dist/actions/skip-to-previous.mjs +1 -1
  344. package/dist/actions/skip-to-previous.mjs.map +1 -1
  345. package/dist/actions/start-resume-playback.cjs +1 -1
  346. package/dist/actions/start-resume-playback.cjs.map +1 -1
  347. package/dist/actions/start-resume-playback.d.cts +1 -1
  348. package/dist/actions/start-resume-playback.d.mts +1 -1
  349. package/dist/actions/start-resume-playback.mjs +1 -1
  350. package/dist/actions/start-resume-playback.mjs.map +1 -1
  351. package/dist/actions/transfer-playback.cjs +1 -1
  352. package/dist/actions/transfer-playback.cjs.map +1 -1
  353. package/dist/actions/transfer-playback.d.cts +1 -1
  354. package/dist/actions/transfer-playback.d.mts +1 -1
  355. package/dist/actions/transfer-playback.mjs +1 -1
  356. package/dist/actions/transfer-playback.mjs.map +1 -1
  357. package/dist/actions/update-playlist-items.cjs +1 -1
  358. package/dist/actions/update-playlist-items.cjs.map +1 -1
  359. package/dist/actions/update-playlist-items.d.cts +1 -1
  360. package/dist/actions/update-playlist-items.d.mts +1 -1
  361. package/dist/actions/update-playlist-items.mjs +1 -1
  362. package/dist/actions/update-playlist-items.mjs.map +1 -1
  363. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"get-user-s-saved-tracks.mjs","names":[],"sources":["../../src/actions/get-user-s-saved-tracks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyGetUserSSavedTracksInput = z.object({\n limit: z.number().int().default(20).describe(\"The maximum number of items to return per page. Must be between 1 and 50. Default is 20.\").optional(),\n market: z.string().describe(\"An ISO 3166-1 alpha-2 country code (e.g., 'US', 'GB', 'CA'). If provided, only content available in that market is returned. If not provided, content is returned based on the user's account settings.\").optional(),\n offset: z.number().int().default(0).describe(\"The index of the first item to return (zero-based). Use with limit to paginate through results. Default is 0 (the first item).\").optional(),\n}).describe(\"Request schema for `GetUserSSavedTracks`\");\nconst SpotifyGetUserSSavedTracks_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(\"Album cover image information\");\nconst SpotifyGetUserSSavedTracks_ExternalUrlObjectSchema = z.object({\n spotify: z.string().describe(\"The Spotify URL for the object\").nullable().optional(),\n}).passthrough().describe(\"External URLs\");\nconst SpotifyGetUserSSavedTracks_SimplifiedArtistObjectSchema = z.object({\n id: z.string().describe(\"The Spotify ID for the artist\").nullable().optional(),\n uri: z.string().describe(\"The Spotify URI for the artist\").nullable(),\n href: z.string().describe(\"Link to the Web API endpoint providing full artist details\").nullable().optional(),\n name: z.string().describe(\"The name of the artist\").nullable(),\n type: z.string().describe(\"The object type (always 'artist')\").nullable(),\n external_urls: SpotifyGetUserSSavedTracks_ExternalUrlObjectSchema.nullable().optional(),\n}).passthrough().describe(\"Simplified artist information\");\nconst SpotifyGetUserSSavedTracks_RestrictionObjectSchema = z.object({\n reason: z.string().describe(\"The reason for the restriction (market, product, or explicit)\").nullable(),\n}).passthrough().describe(\"Content restriction information\");\nconst SpotifyGetUserSSavedTracks_SimplifiedAlbumObjectSchema = z.object({\n id: z.string().describe(\"The Spotify ID for the album\").nullable().optional(),\n uri: z.string().describe(\"The Spotify URI for the album\").nullable(),\n href: z.string().describe(\"Link to the Web API endpoint providing full album details\").nullable().optional(),\n name: z.string().describe(\"The name of the album\").nullable(),\n type: z.string().describe(\"The object type (always 'album')\").nullable(),\n images: z.array(SpotifyGetUserSSavedTracks_ImageObjectSchema).describe(\"Cover art for the album in various sizes\"),\n artists: z.array(SpotifyGetUserSSavedTracks_SimplifiedArtistObjectSchema).describe(\"The artists of the album\"),\n album_type: z.string().describe(\"The type of album (album, single, or compilation)\").nullable(),\n is_playable: z.boolean().describe(\"Whether the album is playable in the given market\").nullable().optional(),\n release_date: z.string().describe(\"The date the album was first released\").nullable(),\n restrictions: SpotifyGetUserSSavedTracks_RestrictionObjectSchema.nullable().optional(),\n total_tracks: z.number().int().describe(\"The number of tracks in the album\").nullable(),\n external_urls: SpotifyGetUserSSavedTracks_ExternalUrlObjectSchema.nullable().optional(),\n release_date_precision: z.string().describe(\"The precision of release_date (year, month, or day)\").nullable(),\n}).passthrough().describe(\"Simplified album information\");\nconst SpotifyGetUserSSavedTracks_TrackObjectSchema = z.object({\n id: z.string().describe(\"The Spotify ID for the track\").nullable().optional(),\n uri: z.string().describe(\"The Spotify URI for the track\").nullable(),\n href: z.string().describe(\"Link to the Web API endpoint providing full track details\").nullable().optional(),\n name: z.string().describe(\"The name of the track\").nullable(),\n type: z.string().describe(\"The object type (always 'track')\").nullable(),\n album: SpotifyGetUserSSavedTracks_SimplifiedAlbumObjectSchema.nullable(),\n artists: z.array(SpotifyGetUserSSavedTracks_SimplifiedArtistObjectSchema).describe(\"The artists who performed the track\"),\n explicit: z.boolean().describe(\"Whether the track has explicit lyrics\").nullable(),\n is_local: z.boolean().describe(\"Whether the track is from a local file\").nullable(),\n disc_number: z.number().int().describe(\"The disc number (usually 1 unless multi-disc album)\").nullable(),\n duration_ms: z.number().int().describe(\"Track length in milliseconds\").nullable(),\n is_playable: z.boolean().describe(\"Whether the track is playable in the given market\").nullable().optional(),\n preview_url: z.string().describe(\"Link to a 30 second MP3 preview of the track\").nullable().optional(),\n restrictions: SpotifyGetUserSSavedTracks_RestrictionObjectSchema.nullable().optional(),\n track_number: z.number().int().describe(\"The track position on the album\").nullable(),\n external_urls: SpotifyGetUserSSavedTracks_ExternalUrlObjectSchema.nullable().optional(),\n}).passthrough().describe(\"Full track information\");\nconst SpotifyGetUserSSavedTracks_SavedTrackObjectSchema = z.object({\n track: SpotifyGetUserSSavedTracks_TrackObjectSchema.nullable(),\n added_at: z.string().describe(\"The date and time the track was saved in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)\").nullable(),\n}).passthrough().describe(\"Individual saved track with metadata\");\nexport const SpotifyGetUserSSavedTracksOutput = z.object({\n href: z.string().describe(\"Link to the Web API endpoint returning the full result set\").nullable(),\n next: z.string().describe(\"URL to the next page of items (null if none)\").nullable().optional(),\n items: z.array(SpotifyGetUserSSavedTracks_SavedTrackObjectSchema).describe(\"Array of saved track objects, each containing added_at timestamp and track details\").nullable().optional(),\n limit: z.number().int().describe(\"The maximum number of items in the response\").nullable(),\n total: z.number().int().describe(\"The total number of saved tracks available\").nullable(),\n offset: z.number().int().describe(\"The offset of the items returned\").nullable(),\n previous: z.string().describe(\"URL to the previous page of items (null if none)\").nullable().optional(),\n}).describe(\"Response schema for `GetUserSSavedTracks`\");\n\nexport const spotifyGetUserSSavedTracks = action(\"SPOTIFY_GET_USER_S_SAVED_TRACKS\", {\n slug: \"spotify-get-user-s-saved-tracks\",\n name: \"Get User's Saved Tracks\",\n description: \"Get a list of the songs saved in the current Spotify user's 'Your Music' library. Returns paginated results with track details including album info, artists, duration, and when each track was saved.\",\n input: SpotifyGetUserSSavedTracksInput,\n output: SpotifyGetUserSSavedTracksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO;CACtD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAClJ,QAAQ,EAAE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C,SAAS,wBAAwB;AAClD,MAAM,oDAAoD,EAAE,OAAO;CACjE,OAAO,6CAA6C,SAAS;CAC7D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAWhE,MAAa,6BAA6B,OAAO,mCAAmC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAf8C,EAAE,OAAO;EACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;EACjG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,OAAO,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrL,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACzF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACxF,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC/E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,CAAC,CAAC,CAAC,SAAS,2CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-user-s-saved-tracks.mjs","names":[],"sources":["../../src/actions/get-user-s-saved-tracks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyGetUserSSavedTracksInput = z.object({\n limit: z.number().int().default(20).describe(\"The maximum number of items to return per page. Must be between 1 and 50. Default is 20.\").optional(),\n market: z.string().describe(\"An ISO 3166-1 alpha-2 country code (e.g., 'US', 'GB', 'CA'). If provided, only content available in that market is returned. If not provided, content is returned based on the user's account settings.\").optional(),\n offset: z.number().int().default(0).describe(\"The index of the first item to return (zero-based). Use with limit to paginate through results. Default is 0 (the first item).\").optional(),\n}).describe(\"Request schema for `GetUserSSavedTracks`\");\nconst SpotifyGetUserSSavedTracks_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(\"Album cover image information\");\nconst SpotifyGetUserSSavedTracks_ExternalUrlObjectSchema = z.object({\n spotify: z.string().describe(\"The Spotify URL for the object\").nullable().optional(),\n}).passthrough().describe(\"External URLs\");\nconst SpotifyGetUserSSavedTracks_SimplifiedArtistObjectSchema = z.object({\n id: z.string().describe(\"The Spotify ID for the artist\").nullable().optional(),\n uri: z.string().describe(\"The Spotify URI for the artist\").nullable(),\n href: z.string().describe(\"Link to the Web API endpoint providing full artist details\").nullable().optional(),\n name: z.string().describe(\"The name of the artist\").nullable(),\n type: z.string().describe(\"The object type (always 'artist')\").nullable(),\n external_urls: SpotifyGetUserSSavedTracks_ExternalUrlObjectSchema.nullable().optional(),\n}).passthrough().describe(\"Simplified artist information\");\nconst SpotifyGetUserSSavedTracks_RestrictionObjectSchema = z.object({\n reason: z.string().describe(\"The reason for the restriction (market, product, or explicit)\").nullable(),\n}).passthrough().describe(\"Content restriction information\");\nconst SpotifyGetUserSSavedTracks_SimplifiedAlbumObjectSchema = z.object({\n id: z.string().describe(\"The Spotify ID for the album\").nullable().optional(),\n uri: z.string().describe(\"The Spotify URI for the album\").nullable(),\n href: z.string().describe(\"Link to the Web API endpoint providing full album details\").nullable().optional(),\n name: z.string().describe(\"The name of the album\").nullable(),\n type: z.string().describe(\"The object type (always 'album')\").nullable(),\n images: z.array(SpotifyGetUserSSavedTracks_ImageObjectSchema).describe(\"Cover art for the album in various sizes\"),\n artists: z.array(SpotifyGetUserSSavedTracks_SimplifiedArtistObjectSchema).describe(\"The artists of the album\"),\n album_type: z.string().describe(\"The type of album (album, single, or compilation)\").nullable(),\n is_playable: z.boolean().describe(\"Whether the album is playable in the given market\").nullable().optional(),\n release_date: z.string().describe(\"The date the album was first released\").nullable(),\n restrictions: SpotifyGetUserSSavedTracks_RestrictionObjectSchema.nullable().optional(),\n total_tracks: z.number().int().describe(\"The number of tracks in the album\").nullable(),\n external_urls: SpotifyGetUserSSavedTracks_ExternalUrlObjectSchema.nullable().optional(),\n release_date_precision: z.string().describe(\"The precision of release_date (year, month, or day)\").nullable(),\n}).passthrough().describe(\"Simplified album information\");\nconst SpotifyGetUserSSavedTracks_TrackObjectSchema = z.object({\n id: z.string().describe(\"The Spotify ID for the track\").nullable().optional(),\n uri: z.string().describe(\"The Spotify URI for the track\").nullable(),\n href: z.string().describe(\"Link to the Web API endpoint providing full track details\").nullable().optional(),\n name: z.string().describe(\"The name of the track\").nullable(),\n type: z.string().describe(\"The object type (always 'track')\").nullable(),\n album: SpotifyGetUserSSavedTracks_SimplifiedAlbumObjectSchema.nullable(),\n artists: z.array(SpotifyGetUserSSavedTracks_SimplifiedArtistObjectSchema).describe(\"The artists who performed the track\"),\n explicit: z.boolean().describe(\"Whether the track has explicit lyrics\").nullable(),\n is_local: z.boolean().describe(\"Whether the track is from a local file\").nullable(),\n disc_number: z.number().int().describe(\"The disc number (usually 1 unless multi-disc album)\").nullable(),\n duration_ms: z.number().int().describe(\"Track length in milliseconds\").nullable(),\n is_playable: z.boolean().describe(\"Whether the track is playable in the given market\").nullable().optional(),\n preview_url: z.string().describe(\"Link to a 30 second MP3 preview of the track\").nullable().optional(),\n restrictions: SpotifyGetUserSSavedTracks_RestrictionObjectSchema.nullable().optional(),\n track_number: z.number().int().describe(\"The track position on the album\").nullable(),\n external_urls: SpotifyGetUserSSavedTracks_ExternalUrlObjectSchema.nullable().optional(),\n}).passthrough().describe(\"Full track information\");\nconst SpotifyGetUserSSavedTracks_SavedTrackObjectSchema = z.object({\n track: SpotifyGetUserSSavedTracks_TrackObjectSchema.nullable(),\n added_at: z.string().describe(\"The date and time the track was saved in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ)\").nullable(),\n}).passthrough().describe(\"Individual saved track with metadata\");\nexport const SpotifyGetUserSSavedTracksOutput = z.object({\n href: z.string().describe(\"Link to the Web API endpoint returning the full result set\").nullable(),\n next: z.string().describe(\"URL to the next page of items (null if none)\").nullable().optional(),\n items: z.array(SpotifyGetUserSSavedTracks_SavedTrackObjectSchema).describe(\"Array of saved track objects, each containing added_at timestamp and track details\").nullable().optional(),\n limit: z.number().int().describe(\"The maximum number of items in the response\").nullable(),\n total: z.number().int().describe(\"The total number of saved tracks available\").nullable(),\n offset: z.number().int().describe(\"The offset of the items returned\").nullable(),\n previous: z.string().describe(\"URL to the previous page of items (null if none)\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `GetUserSSavedTracks`\");\n\nexport const spotifyGetUserSSavedTracks = action(\"SPOTIFY_GET_USER_S_SAVED_TRACKS\", {\n slug: \"spotify-get-user-s-saved-tracks\",\n name: \"Get User's Saved Tracks\",\n description: \"Get a list of the songs saved in the current Spotify user's 'Your Music' library. Returns paginated results with track details including album info, artists, duration, and when each track was saved.\",\n input: SpotifyGetUserSSavedTracksInput,\n output: SpotifyGetUserSSavedTracksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO;CACtD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAClJ,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yMAAyM,CAAC,CAAC,SAAS;CAChP,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,gIAAgI,CAAC,CAAC,SAAS;AAC1L,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAM,+CA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A6B,OAAO,mCAAmC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAf8C,EAAE,OAAO;EACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;EACjG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,OAAO,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrL,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACzF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACxF,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC/E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAOhB;AACV,CAAC"}
@@ -14,12 +14,12 @@ const SpotifyGetUserSTopArtists_ImageSchema = zod.z.object({
14
14
  url: zod.z.string().describe("The source URL of the image").nullable(),
15
15
  width: zod.z.number().int().describe("The image width in pixels").nullable().optional(),
16
16
  height: zod.z.number().int().describe("The image height in pixels").nullable().optional()
17
- }).describe("Artist image information");
17
+ }).passthrough().describe("Artist image information");
18
18
  const SpotifyGetUserSTopArtists_FollowersSchema = zod.z.object({
19
19
  href: zod.z.string().describe("Always null, as the Web API does not support it at the moment").nullable().optional(),
20
20
  total: zod.z.number().int().describe("The total number of followers").nullable()
21
- }).describe("Information about the followers of the artist");
22
- const SpotifyGetUserSTopArtists_ExternalUrlsSchema = zod.z.object({ spotify: zod.z.string().describe("The Spotify URL for the artist").nullable() }).describe("Known external URLs for an artist");
21
+ }).passthrough().describe("Information about the followers of the artist");
22
+ const SpotifyGetUserSTopArtists_ExternalUrlsSchema = zod.z.object({ spotify: zod.z.string().describe("The Spotify URL for the artist").nullable() }).passthrough().describe("Known external URLs for an artist");
23
23
  const SpotifyGetUserSTopArtists_ArtistSchema = zod.z.object({
24
24
  id: zod.z.string().describe("The Spotify ID for the artist").nullable(),
25
25
  uri: zod.z.string().describe("The Spotify URI for the artist").nullable(),
@@ -31,7 +31,7 @@ const SpotifyGetUserSTopArtists_ArtistSchema = zod.z.object({
31
31
  followers: SpotifyGetUserSTopArtists_FollowersSchema.nullable().optional(),
32
32
  popularity: zod.z.number().int().describe("The popularity of the artist. The value will be between 0 and 100, with 100 being the most popular").nullable().optional(),
33
33
  external_urls: SpotifyGetUserSTopArtists_ExternalUrlsSchema.nullable()
34
- }).describe("Spotify artist object");
34
+ }).passthrough().describe("Spotify artist object");
35
35
  const SpotifyGetUserSTopArtistsOutput = zod.z.object({
36
36
  href: zod.z.string().describe("A link to the Web API endpoint returning the full result of the request").nullable(),
37
37
  next: zod.z.string().describe("URL to the next page of items. (null if none)").nullable().optional(),
@@ -40,7 +40,7 @@ const SpotifyGetUserSTopArtistsOutput = zod.z.object({
40
40
  total: zod.z.number().int().describe("The total number of items available to return").nullable(),
41
41
  offset: zod.z.number().int().describe("The offset of the items returned (as set in the query or by default)").nullable(),
42
42
  previous: zod.z.string().describe("URL to the previous page of items. (null if none)").nullable().optional()
43
- }).describe("Response schema for `GetUserSTopArtists`\n\nReturns a paginated list of the current user's top artists based on calculated affinity.\nRequires OAuth scope: user-top-read");
43
+ }).passthrough().describe("Response schema for `GetUserSTopArtists`\n\nReturns a paginated list of the current user's top artists based on calculated affinity.\nRequires OAuth scope: user-top-read");
44
44
  const spotifyGetUserSTopArtists = require_action.action("SPOTIFY_GET_USER_S_TOP_ARTISTS", {
45
45
  slug: "spotify-get-user-s-top-artists",
46
46
  name: "Get User's Top Artists",
@@ -1 +1 @@
1
- {"version":3,"file":"get-user-s-top-artists.cjs","names":["z","action"],"sources":["../../src/actions/get-user-s-top-artists.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyGetUserSTopArtistsInput = z.object({\n limit: z.number().int().default(20).describe(\"The maximum number of items to return. Must be between 1 and 50. Default: 20.\").optional(),\n offset: z.number().int().default(0).describe(\"The index of the first item to return (for pagination). Default: 0 (the first item). Use with limit to get the next set of items.\").optional(),\n time_range: z.enum([\"long_term\", \"medium_term\", \"short_term\"]).default(\"medium_term\").describe(\"Over what time frame the affinities are computed. long_term (~1 year), medium_term (~6 months), short_term (~4 weeks). Default: medium_term.\").optional(),\n}).describe(\"Request schema for `GetUserSTopArtists`\");\nconst SpotifyGetUserSTopArtists_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(\"Artist image information\");\nconst SpotifyGetUserSTopArtists_FollowersSchema = z.object({\n href: z.string().describe(\"Always null, as the Web API does not support it at the moment\").nullable().optional(),\n total: z.number().int().describe(\"The total number of followers\").nullable(),\n}).describe(\"Information about the followers of the artist\");\nconst SpotifyGetUserSTopArtists_ExternalUrlsSchema = z.object({\n spotify: z.string().describe(\"The Spotify URL for the artist\").nullable(),\n}).describe(\"Known external URLs for an artist\");\nconst SpotifyGetUserSTopArtists_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, always 'artist'\").nullable(),\n genres: z.array(z.string()).describe(\"A list of the genres the artist is associated with. If not yet classified, the array is empty\").nullable().optional(),\n images: z.array(SpotifyGetUserSTopArtists_ImageSchema).describe(\"Images of the artist in various sizes, widest first\"),\n followers: SpotifyGetUserSTopArtists_FollowersSchema.nullable().optional(),\n popularity: z.number().int().describe(\"The popularity of the artist. The value will be between 0 and 100, with 100 being the most popular\").nullable().optional(),\n external_urls: SpotifyGetUserSTopArtists_ExternalUrlsSchema.nullable(),\n}).describe(\"Spotify artist object\");\nexport const SpotifyGetUserSTopArtistsOutput = z.object({\n href: z.string().describe(\"A link to the Web API endpoint returning the full result of the request\").nullable(),\n next: z.string().describe(\"URL to the next page of items. (null if none)\").nullable().optional(),\n items: z.array(SpotifyGetUserSTopArtists_ArtistSchema).describe(\"Array of artist objects\"),\n limit: z.number().int().describe(\"The maximum number of items in the response (as set in the query or by default)\").nullable(),\n total: z.number().int().describe(\"The total number of items available to return\").nullable(),\n offset: z.number().int().describe(\"The offset of the items returned (as set in the query or by default)\").nullable(),\n previous: z.string().describe(\"URL to the previous page of items. (null if none)\").nullable().optional(),\n}).describe(\"Response schema for `GetUserSTopArtists`\\n\\nReturns a paginated list of the current user's top artists based on calculated affinity.\\nRequires OAuth scope: user-top-read\");\n\nexport const spotifyGetUserSTopArtists = action(\"SPOTIFY_GET_USER_S_TOP_ARTISTS\", {\n slug: \"spotify-get-user-s-top-artists\",\n name: \"Get User's Top Artists\",\n description: \"Get the current user's top artists based on calculated affinity. This endpoint retrieves the current user's top artists based on their listening history and calculated affinity. The affinity is computed over a specified time frame (short_term, medium_term, or long_term). Required OAuth Scope: user-top-read Returns a paginated list of artist objects including their name, popularity, genres, images, and follower counts. Useful for understanding user preferences and music taste.\",\n input: SpotifyGetUserSTopArtistsInput,\n output: SpotifyGetUserSTopArtistsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACvI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,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ACnH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,SAAS,2KAA2K;AAEvL,MAAa,4BAA4BC,eAAAA,OAAO,kCAAkC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-user-s-top-artists.cjs","names":["z","action"],"sources":["../../src/actions/get-user-s-top-artists.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyGetUserSTopArtistsInput = z.object({\n limit: z.number().int().default(20).describe(\"The maximum number of items to return. Must be between 1 and 50. Default: 20.\").optional(),\n offset: z.number().int().default(0).describe(\"The index of the first item to return (for pagination). Default: 0 (the first item). Use with limit to get the next set of items.\").optional(),\n time_range: z.enum([\"long_term\", \"medium_term\", \"short_term\"]).default(\"medium_term\").describe(\"Over what time frame the affinities are computed. long_term (~1 year), medium_term (~6 months), short_term (~4 weeks). Default: medium_term.\").optional(),\n}).describe(\"Request schema for `GetUserSTopArtists`\");\nconst SpotifyGetUserSTopArtists_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(\"Artist image information\");\nconst SpotifyGetUserSTopArtists_FollowersSchema = z.object({\n href: z.string().describe(\"Always null, as the Web API does not support it at the moment\").nullable().optional(),\n total: z.number().int().describe(\"The total number of followers\").nullable(),\n}).passthrough().describe(\"Information about the followers of the artist\");\nconst SpotifyGetUserSTopArtists_ExternalUrlsSchema = z.object({\n spotify: z.string().describe(\"The Spotify URL for the artist\").nullable(),\n}).passthrough().describe(\"Known external URLs for an artist\");\nconst SpotifyGetUserSTopArtists_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, always 'artist'\").nullable(),\n genres: z.array(z.string()).describe(\"A list of the genres the artist is associated with. If not yet classified, the array is empty\").nullable().optional(),\n images: z.array(SpotifyGetUserSTopArtists_ImageSchema).describe(\"Images of the artist in various sizes, widest first\"),\n followers: SpotifyGetUserSTopArtists_FollowersSchema.nullable().optional(),\n popularity: z.number().int().describe(\"The popularity of the artist. The value will be between 0 and 100, with 100 being the most popular\").nullable().optional(),\n external_urls: SpotifyGetUserSTopArtists_ExternalUrlsSchema.nullable(),\n}).passthrough().describe(\"Spotify artist object\");\nexport const SpotifyGetUserSTopArtistsOutput = z.object({\n href: z.string().describe(\"A link to the Web API endpoint returning the full result of the request\").nullable(),\n next: z.string().describe(\"URL to the next page of items. (null if none)\").nullable().optional(),\n items: z.array(SpotifyGetUserSTopArtists_ArtistSchema).describe(\"Array of artist objects\"),\n limit: z.number().int().describe(\"The maximum number of items in the response (as set in the query or by default)\").nullable(),\n total: z.number().int().describe(\"The total number of items available to return\").nullable(),\n offset: z.number().int().describe(\"The offset of the items returned (as set in the query or by default)\").nullable(),\n previous: z.string().describe(\"URL to the previous page of items. (null if none)\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `GetUserSTopArtists`\\n\\nReturns a paginated list of the current user's top artists based on calculated affinity.\\nRequires OAuth scope: user-top-read\");\n\nexport const spotifyGetUserSTopArtists = action(\"SPOTIFY_GET_USER_S_TOP_ARTISTS\", {\n slug: \"spotify-get-user-s-top-artists\",\n name: \"Get User's Top Artists\",\n description: \"Get the current user's top artists based on calculated affinity. This endpoint retrieves the current user's top artists based on their listening history and calculated affinity. The affinity is computed over a specified time frame (short_term, medium_term, or long_term). Required OAuth Scope: user-top-read Returns a paginated list of artist objects including their name, popularity, genres, images, and follower counts. Useful for understanding user preferences and music taste.\",\n input: SpotifyG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,OAAOA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,yBAAyB;CACzF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC7H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC3F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CACnH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2KAA2K;AAErM,MAAa,4BAA4BC,eAAAA,OAAO,kCAAkC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -24,21 +24,21 @@ declare const SpotifyGetUserSTopArtistsOutput: z.ZodObject<{
24
24
  url: z.ZodNullable<z.ZodString>;
25
25
  width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
26
26
  height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
27
- }, z.core.$strip>>;
27
+ }, z.core.$loose>>;
28
28
  followers: z.ZodOptional<z.ZodNullable<z.ZodObject<{
29
29
  href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
30
  total: z.ZodNullable<z.ZodNumber>;
31
- }, z.core.$strip>>>;
31
+ }, z.core.$loose>>>;
32
32
  popularity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
33
33
  external_urls: z.ZodNullable<z.ZodObject<{
34
34
  spotify: z.ZodNullable<z.ZodString>;
35
- }, z.core.$strip>>;
36
- }, z.core.$strip>>;
35
+ }, z.core.$loose>>;
36
+ }, z.core.$loose>>;
37
37
  limit: z.ZodNullable<z.ZodNumber>;
38
38
  total: z.ZodNullable<z.ZodNumber>;
39
39
  offset: z.ZodNullable<z.ZodNumber>;
40
40
  previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
- }, z.core.$strip>;
41
+ }, z.core.$loose>;
42
42
  declare const spotifyGetUserSTopArtists: import("@keystrokehq/action").WorkflowActionDefinition<{
43
43
  limit?: number | undefined;
44
44
  offset?: number | undefined;
@@ -24,21 +24,21 @@ declare const SpotifyGetUserSTopArtistsOutput: z.ZodObject<{
24
24
  url: z.ZodNullable<z.ZodString>;
25
25
  width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
26
26
  height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
27
- }, z.core.$strip>>;
27
+ }, z.core.$loose>>;
28
28
  followers: z.ZodOptional<z.ZodNullable<z.ZodObject<{
29
29
  href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
30
  total: z.ZodNullable<z.ZodNumber>;
31
- }, z.core.$strip>>>;
31
+ }, z.core.$loose>>>;
32
32
  popularity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
33
33
  external_urls: z.ZodNullable<z.ZodObject<{
34
34
  spotify: z.ZodNullable<z.ZodString>;
35
- }, z.core.$strip>>;
36
- }, z.core.$strip>>;
35
+ }, z.core.$loose>>;
36
+ }, z.core.$loose>>;
37
37
  limit: z.ZodNullable<z.ZodNumber>;
38
38
  total: z.ZodNullable<z.ZodNumber>;
39
39
  offset: z.ZodNullable<z.ZodNumber>;
40
40
  previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
- }, z.core.$strip>;
41
+ }, z.core.$loose>;
42
42
  declare const spotifyGetUserSTopArtists: import("@keystrokehq/action").WorkflowActionDefinition<{
43
43
  limit?: number | undefined;
44
44
  offset?: number | undefined;
@@ -14,12 +14,12 @@ const SpotifyGetUserSTopArtists_ImageSchema = z.object({
14
14
  url: z.string().describe("The source URL of the image").nullable(),
15
15
  width: z.number().int().describe("The image width in pixels").nullable().optional(),
16
16
  height: z.number().int().describe("The image height in pixels").nullable().optional()
17
- }).describe("Artist image information");
17
+ }).passthrough().describe("Artist image information");
18
18
  const SpotifyGetUserSTopArtists_FollowersSchema = z.object({
19
19
  href: z.string().describe("Always null, as the Web API does not support it at the moment").nullable().optional(),
20
20
  total: z.number().int().describe("The total number of followers").nullable()
21
- }).describe("Information about the followers of the artist");
22
- const SpotifyGetUserSTopArtists_ExternalUrlsSchema = z.object({ spotify: z.string().describe("The Spotify URL for the artist").nullable() }).describe("Known external URLs for an artist");
21
+ }).passthrough().describe("Information about the followers of the artist");
22
+ const SpotifyGetUserSTopArtists_ExternalUrlsSchema = z.object({ spotify: z.string().describe("The Spotify URL for the artist").nullable() }).passthrough().describe("Known external URLs for an artist");
23
23
  const SpotifyGetUserSTopArtists_ArtistSchema = z.object({
24
24
  id: z.string().describe("The Spotify ID for the artist").nullable(),
25
25
  uri: z.string().describe("The Spotify URI for the artist").nullable(),
@@ -31,7 +31,7 @@ const SpotifyGetUserSTopArtists_ArtistSchema = z.object({
31
31
  followers: SpotifyGetUserSTopArtists_FollowersSchema.nullable().optional(),
32
32
  popularity: z.number().int().describe("The popularity of the artist. The value will be between 0 and 100, with 100 being the most popular").nullable().optional(),
33
33
  external_urls: SpotifyGetUserSTopArtists_ExternalUrlsSchema.nullable()
34
- }).describe("Spotify artist object");
34
+ }).passthrough().describe("Spotify artist object");
35
35
  const spotifyGetUserSTopArtists = action("SPOTIFY_GET_USER_S_TOP_ARTISTS", {
36
36
  slug: "spotify-get-user-s-top-artists",
37
37
  name: "Get User's Top Artists",
@@ -45,7 +45,7 @@ const spotifyGetUserSTopArtists = action("SPOTIFY_GET_USER_S_TOP_ARTISTS", {
45
45
  total: z.number().int().describe("The total number of items available to return").nullable(),
46
46
  offset: z.number().int().describe("The offset of the items returned (as set in the query or by default)").nullable(),
47
47
  previous: z.string().describe("URL to the previous page of items. (null if none)").nullable().optional()
48
- }).describe("Response schema for `GetUserSTopArtists`\n\nReturns a paginated list of the current user's top artists based on calculated affinity.\nRequires OAuth scope: user-top-read")
48
+ }).passthrough().describe("Response schema for `GetUserSTopArtists`\n\nReturns a paginated list of the current user's top artists based on calculated affinity.\nRequires OAuth scope: user-top-read")
49
49
  });
50
50
  //#endregion
51
51
  export { spotifyGetUserSTopArtists };
@@ -1 +1 @@
1
- {"version":3,"file":"get-user-s-top-artists.mjs","names":[],"sources":["../../src/actions/get-user-s-top-artists.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyGetUserSTopArtistsInput = z.object({\n limit: z.number().int().default(20).describe(\"The maximum number of items to return. Must be between 1 and 50. Default: 20.\").optional(),\n offset: z.number().int().default(0).describe(\"The index of the first item to return (for pagination). Default: 0 (the first item). Use with limit to get the next set of items.\").optional(),\n time_range: z.enum([\"long_term\", \"medium_term\", \"short_term\"]).default(\"medium_term\").describe(\"Over what time frame the affinities are computed. long_term (~1 year), medium_term (~6 months), short_term (~4 weeks). Default: medium_term.\").optional(),\n}).describe(\"Request schema for `GetUserSTopArtists`\");\nconst SpotifyGetUserSTopArtists_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(\"Artist image information\");\nconst SpotifyGetUserSTopArtists_FollowersSchema = z.object({\n href: z.string().describe(\"Always null, as the Web API does not support it at the moment\").nullable().optional(),\n total: z.number().int().describe(\"The total number of followers\").nullable(),\n}).describe(\"Information about the followers of the artist\");\nconst SpotifyGetUserSTopArtists_ExternalUrlsSchema = z.object({\n spotify: z.string().describe(\"The Spotify URL for the artist\").nullable(),\n}).describe(\"Known external URLs for an artist\");\nconst SpotifyGetUserSTopArtists_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, always 'artist'\").nullable(),\n genres: z.array(z.string()).describe(\"A list of the genres the artist is associated with. If not yet classified, the array is empty\").nullable().optional(),\n images: z.array(SpotifyGetUserSTopArtists_ImageSchema).describe(\"Images of the artist in various sizes, widest first\"),\n followers: SpotifyGetUserSTopArtists_FollowersSchema.nullable().optional(),\n popularity: z.number().int().describe(\"The popularity of the artist. The value will be between 0 and 100, with 100 being the most popular\").nullable().optional(),\n external_urls: SpotifyGetUserSTopArtists_ExternalUrlsSchema.nullable(),\n}).describe(\"Spotify artist object\");\nexport const SpotifyGetUserSTopArtistsOutput = z.object({\n href: z.string().describe(\"A link to the Web API endpoint returning the full result of the request\").nullable(),\n next: z.string().describe(\"URL to the next page of items. (null if none)\").nullable().optional(),\n items: z.array(SpotifyGetUserSTopArtists_ArtistSchema).describe(\"Array of artist objects\"),\n limit: z.number().int().describe(\"The maximum number of items in the response (as set in the query or by default)\").nullable(),\n total: z.number().int().describe(\"The total number of items available to return\").nullable(),\n offset: z.number().int().describe(\"The offset of the items returned (as set in the query or by default)\").nullable(),\n previous: z.string().describe(\"URL to the previous page of items. (null if none)\").nullable().optional(),\n}).describe(\"Response schema for `GetUserSTopArtists`\\n\\nReturns a paginated list of the current user's top artists based on calculated affinity.\\nRequires OAuth scope: user-top-read\");\n\nexport const spotifyGetUserSTopArtists = action(\"SPOTIFY_GET_USER_S_TOP_ARTISTS\", {\n slug: \"spotify-get-user-s-top-artists\",\n name: \"Get User's Top Artists\",\n description: \"Get the current user's top artists based on calculated affinity. This endpoint retrieves the current user's top artists based on their listening history and calculated affinity. The affinity is computed over a specified time frame (short_term, medium_term, or long_term). Required OAuth Scope: user-top-read Returns a paginated list of artist objects including their name, popularity, genres, images, and follower counts. Useful for understanding user preferences and music taste.\",\n input: SpotifyGetUserSTopArtistsInput,\n output: SpotifyGetUserSTopArtistsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,OAAO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EACnH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,CAAC,CAAC,CAAC,SAAS,2KAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-user-s-top-artists.mjs","names":[],"sources":["../../src/actions/get-user-s-top-artists.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyGetUserSTopArtistsInput = z.object({\n limit: z.number().int().default(20).describe(\"The maximum number of items to return. Must be between 1 and 50. Default: 20.\").optional(),\n offset: z.number().int().default(0).describe(\"The index of the first item to return (for pagination). Default: 0 (the first item). Use with limit to get the next set of items.\").optional(),\n time_range: z.enum([\"long_term\", \"medium_term\", \"short_term\"]).default(\"medium_term\").describe(\"Over what time frame the affinities are computed. long_term (~1 year), medium_term (~6 months), short_term (~4 weeks). Default: medium_term.\").optional(),\n}).describe(\"Request schema for `GetUserSTopArtists`\");\nconst SpotifyGetUserSTopArtists_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(\"Artist image information\");\nconst SpotifyGetUserSTopArtists_FollowersSchema = z.object({\n href: z.string().describe(\"Always null, as the Web API does not support it at the moment\").nullable().optional(),\n total: z.number().int().describe(\"The total number of followers\").nullable(),\n}).passthrough().describe(\"Information about the followers of the artist\");\nconst SpotifyGetUserSTopArtists_ExternalUrlsSchema = z.object({\n spotify: z.string().describe(\"The Spotify URL for the artist\").nullable(),\n}).passthrough().describe(\"Known external URLs for an artist\");\nconst SpotifyGetUserSTopArtists_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, always 'artist'\").nullable(),\n genres: z.array(z.string()).describe(\"A list of the genres the artist is associated with. If not yet classified, the array is empty\").nullable().optional(),\n images: z.array(SpotifyGetUserSTopArtists_ImageSchema).describe(\"Images of the artist in various sizes, widest first\"),\n followers: SpotifyGetUserSTopArtists_FollowersSchema.nullable().optional(),\n popularity: z.number().int().describe(\"The popularity of the artist. The value will be between 0 and 100, with 100 being the most popular\").nullable().optional(),\n external_urls: SpotifyGetUserSTopArtists_ExternalUrlsSchema.nullable(),\n}).passthrough().describe(\"Spotify artist object\");\nexport const SpotifyGetUserSTopArtistsOutput = z.object({\n href: z.string().describe(\"A link to the Web API endpoint returning the full result of the request\").nullable(),\n next: z.string().describe(\"URL to the next page of items. (null if none)\").nullable().optional(),\n items: z.array(SpotifyGetUserSTopArtists_ArtistSchema).describe(\"Array of artist objects\"),\n limit: z.number().int().describe(\"The maximum number of items in the response (as set in the query or by default)\").nullable(),\n total: z.number().int().describe(\"The total number of items available to return\").nullable(),\n offset: z.number().int().describe(\"The offset of the items returned (as set in the query or by default)\").nullable(),\n previous: z.string().describe(\"URL to the previous page of items. (null if none)\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `GetUserSTopArtists`\\n\\nReturns a paginated list of the current user's top artists based on calculated affinity.\\nRequires OAuth scope: user-top-read\");\n\nexport const spotifyGetUserSTopArtists = action(\"SPOTIFY_GET_USER_S_TOP_ARTISTS\", {\n slug: \"spotify-get-user-s-top-artists\",\n name: \"Get User's Top Artists\",\n description: \"Get the current user's top artists based on calculated affinity. This endpoint retrieves the current user's top artists based on their listening history and calculated affinity. The affinity is computed over a specified time frame (short_term, medium_term, or long_term). Required OAuth Scope: user-top-read Returns a paginated list of artist objects including their name, popularity, genres, images, and follower counts. Useful for understanding user preferences and music taste.\",\n input: SpotifyGetUserSTopArtistsInput,\n output: SpotifyGetUserSTopArtistsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,OAAO,EAAE,O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CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;EACnH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2KAOhB;AACV,CAAC"}
@@ -10,8 +10,8 @@ const SpotifyGetUserSTopTracks_ImageSchema = zod.z.object({
10
10
  url: zod.z.string().describe("The source URL of the image").nullable(),
11
11
  width: zod.z.number().int().describe("The image width in pixels").nullable().optional(),
12
12
  height: zod.z.number().int().describe("The image height in pixels").nullable().optional()
13
- }).describe("Image object");
14
- const SpotifyGetUserSTopTracks_ExternalUrlsSchema = zod.z.object({ spotify: zod.z.string().describe("The Spotify URL for the object").nullable() }).describe("Known external URLs");
13
+ }).passthrough().describe("Image object");
14
+ const SpotifyGetUserSTopTracks_ExternalUrlsSchema = zod.z.object({ spotify: zod.z.string().describe("The Spotify URL for the object").nullable() }).passthrough().describe("Known external URLs");
15
15
  const SpotifyGetUserSTopTracks_SimplifiedArtistSchema = zod.z.object({
16
16
  id: zod.z.string().describe("The Spotify ID for the artist").nullable(),
17
17
  uri: zod.z.string().describe("The Spotify URI for the artist").nullable(),
@@ -19,8 +19,8 @@ const SpotifyGetUserSTopTracks_SimplifiedArtistSchema = zod.z.object({
19
19
  name: zod.z.string().describe("The name of the artist").nullable(),
20
20
  type: zod.z.string().describe("The object type: artist").nullable(),
21
21
  external_urls: SpotifyGetUserSTopTracks_ExternalUrlsSchema.nullable()
22
- }).describe("Simplified artist object");
23
- const SpotifyGetUserSTopTracks_RestrictionsSchema = zod.z.object({ reason: zod.z.string().describe("The reason for the restriction: market, product, or explicit").nullable() }).describe("Content restriction object");
22
+ }).passthrough().describe("Simplified artist object");
23
+ const SpotifyGetUserSTopTracks_RestrictionsSchema = zod.z.object({ reason: zod.z.string().describe("The reason for the restriction: market, product, or explicit").nullable() }).passthrough().describe("Content restriction object");
24
24
  const SpotifyGetUserSTopTracks_SimplifiedAlbumSchema = zod.z.object({
25
25
  id: zod.z.string().describe("The Spotify ID for the album").nullable(),
26
26
  uri: zod.z.string().describe("The Spotify URI for the album").nullable(),
@@ -36,19 +36,19 @@ const SpotifyGetUserSTopTracks_SimplifiedAlbumSchema = zod.z.object({
36
36
  external_urls: SpotifyGetUserSTopTracks_ExternalUrlsSchema.nullable(),
37
37
  available_markets: zod.z.array(zod.z.string()).describe("The markets in which the album is available (ISO 3166-1 alpha-2 country codes)"),
38
38
  release_date_precision: zod.z.string().describe("The precision with which release_date value is known: year, month, or day").nullable()
39
- }).describe("Simplified album object");
39
+ }).passthrough().describe("Simplified album object");
40
40
  const SpotifyGetUserSTopTracks_LinkedFromSchema = zod.z.object({
41
41
  id: zod.z.string().describe("The Spotify ID for the track").nullable().optional(),
42
42
  uri: zod.z.string().describe("The Spotify URI for the track").nullable().optional(),
43
43
  href: zod.z.string().describe("A link to the Web API endpoint providing full details").nullable().optional(),
44
44
  type: zod.z.string().describe("The object type: track").nullable().optional(),
45
45
  external_urls: SpotifyGetUserSTopTracks_ExternalUrlsSchema.nullable().optional()
46
- }).describe("Information about the originally requested track when Track Relinking is applied");
46
+ }).passthrough().describe("Information about the originally requested track when Track Relinking is applied");
47
47
  const SpotifyGetUserSTopTracks_ExternalIdsSchema = zod.z.object({
48
48
  ean: zod.z.string().describe("International Article Number").nullable().optional(),
49
49
  upc: zod.z.string().describe("Universal Product Code").nullable().optional(),
50
50
  isrc: zod.z.string().describe("International Standard Recording Code").nullable().optional()
51
- }).describe("Known external IDs for the track");
51
+ }).passthrough().describe("Known external IDs for the track");
52
52
  const SpotifyGetUserSTopTracks_TrackSchema = zod.z.object({
53
53
  id: zod.z.string().describe("The Spotify ID for the track").nullable(),
54
54
  uri: zod.z.string().describe("The Spotify URI for the track").nullable(),
@@ -70,7 +70,7 @@ const SpotifyGetUserSTopTracks_TrackSchema = zod.z.object({
70
70
  track_number: zod.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(),
71
71
  external_urls: SpotifyGetUserSTopTracks_ExternalUrlsSchema.nullable(),
72
72
  available_markets: zod.z.array(zod.z.string()).describe("A list of the countries in which the track can be played (ISO 3166-1 alpha-2 country codes)")
73
- }).describe("Track object");
73
+ }).passthrough().describe("Track object");
74
74
  const SpotifyGetUserSTopTracksOutput = zod.z.object({
75
75
  href: zod.z.string().describe("A link to the Web API endpoint returning the full result of the request").nullable(),
76
76
  next: zod.z.string().describe("URL to the next page of items (null if none)").nullable().optional(),
@@ -79,7 +79,7 @@ const SpotifyGetUserSTopTracksOutput = zod.z.object({
79
79
  total: zod.z.number().int().describe("The total number of items available to return").nullable(),
80
80
  offset: zod.z.number().int().describe("The offset of the items returned (as set in the query or by default)").nullable(),
81
81
  previous: zod.z.string().describe("URL to the previous page of items (null if none)").nullable().optional()
82
- }).describe("Response schema for `GetUserSTopTracks` - Paginated response containing user's top tracks");
82
+ }).passthrough().describe("Response schema for `GetUserSTopTracks` - Paginated response containing user's top tracks");
83
83
  const spotifyGetUserSTopTracks = require_action.action("SPOTIFY_GET_USER_S_TOP_TRACKS", {
84
84
  slug: "spotify-get-user-s-top-tracks",
85
85
  name: "Get User's Top Tracks",
@@ -1 +1 @@
1
- {"version":3,"file":"get-user-s-top-tracks.cjs","names":["z","action"],"sources":["../../src/actions/get-user-s-top-tracks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyGetUserSTopTracksInput = z.object({\n limit: z.number().int().default(20).describe(\"Maximum number of tracks to return. Minimum: 1, Maximum: 50.\").optional(),\n offset: z.number().int().default(0).describe(\"The index of the first track to return. Use with limit to paginate through results. Default: 0 (first track).\").optional(),\n time_range: z.string().default(\"medium_term\").describe(\"Time period for computing affinity. Options: 'long_term' (calculated from ~1 year of data), 'medium_term' (approximately last 6 months), 'short_term' (approximately last 4 weeks).\").optional(),\n}).describe(\"Request schema for `GetUserSTopTracks`\");\nconst SpotifyGetUserSTopTracks_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 SpotifyGetUserSTopTracks_ExternalUrlsSchema = z.object({\n spotify: z.string().describe(\"The Spotify URL for the object\").nullable(),\n}).describe(\"Known external URLs\");\nconst SpotifyGetUserSTopTracks_SimplifiedArtistSchema = 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: artist\").nullable(),\n external_urls: SpotifyGetUserSTopTracks_ExternalUrlsSchema.nullable(),\n}).describe(\"Simplified artist object\");\nconst SpotifyGetUserSTopTracks_RestrictionsSchema = z.object({\n reason: z.string().describe(\"The reason for the restriction: market, product, or explicit\").nullable(),\n}).describe(\"Content restriction object\");\nconst SpotifyGetUserSTopTracks_SimplifiedAlbumSchema = 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: album\").nullable(),\n images: z.array(SpotifyGetUserSTopTracks_ImageSchema).describe(\"The cover art for the album in various sizes, widest first\"),\n artists: z.array(SpotifyGetUserSTopTracks_SimplifiedArtistSchema).describe(\"The artists of the album\"),\n album_type: z.string().describe(\"The type of the album: album, single, or compilation\").nullable(),\n release_date: z.string().describe(\"The date the album was first released\").nullable(),\n restrictions: SpotifyGetUserSTopTracks_RestrictionsSchema.nullable().optional(),\n total_tracks: z.number().int().describe(\"The number of tracks in the album\").nullable(),\n external_urls: SpotifyGetUserSTopTracks_ExternalUrlsSchema.nullable(),\n available_markets: z.array(z.string()).describe(\"The markets in which the album is available (ISO 3166-1 alpha-2 country codes)\"),\n release_date_precision: z.string().describe(\"The precision with which release_date value is known: year, month, or day\").nullable(),\n}).describe(\"Simplified album object\");\nconst SpotifyGetUserSTopTracks_LinkedFromSchema = z.object({\n id: z.string().describe(\"The Spotify ID for the track\").nullable().optional(),\n uri: z.string().describe(\"The Spotify URI for the track\").nullable().optional(),\n href: z.string().describe(\"A link to the Web API endpoint providing full details\").nullable().optional(),\n type: z.string().describe(\"The object type: track\").nullable().optional(),\n external_urls: SpotifyGetUserSTopTracks_ExternalUrlsSchema.nullable().optional(),\n}).describe(\"Information about the originally requested track when Track Relinking is applied\");\nconst SpotifyGetUserSTopTracks_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(\"Known external IDs for the track\");\nconst SpotifyGetUserSTopTracks_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: SpotifyGetUserSTopTracks_SimplifiedAlbumSchema.nullable(),\n artists: z.array(SpotifyGetUserSTopTracks_SimplifiedArtistSchema).describe(\"The artists who performed the track\"),\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 is_local: z.boolean().describe(\"Whether or not the track is from a local file\").nullable(),\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 disc_number: z.number().int().describe(\"The disc number (usually 1 unless the album consists of more than one disc)\").nullable(),\n duration_ms: z.number().int().describe(\"The track length in milliseconds\").nullable(),\n is_playable: 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 linked_from: SpotifyGetUserSTopTracks_LinkedFromSchema.nullable().optional(),\n preview_url: z.string().describe(\"A link to a 30 second preview (MP3 format) of the track. Can be null\").nullable().optional(),\n external_ids: SpotifyGetUserSTopTracks_ExternalIdsSchema.nullable(),\n restrictions: SpotifyGetUserSTopTracks_RestrictionsSchema.nullable().optional(),\n track_number: 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 external_urls: SpotifyGetUserSTopTracks_ExternalUrlsSchema.nullable(),\n available_markets: z.array(z.string()).describe(\"A list of the countries in which the track can be played (ISO 3166-1 alpha-2 country codes)\"),\n}).describe(\"Track object\");\nexport const SpotifyGetUserSTopTracksOutput = z.object({\n href: z.string().describe(\"A link to the Web API endpoint returning the full result of the request\").nullable(),\n next: z.string().describe(\"URL to the next page of items (null if none)\").nullable().optional(),\n items: z.array(SpotifyGetUserSTopTracks_TrackSchema).describe(\"Array of track objects\"),\n limit: z.number().int().describe(\"The maximum number of items in the response (as set in the query or by default)\").nullable(),\n total: z.number().int().describe(\"The total number of items available to return\").nullable(),\n offset: z.number().int().describe(\"The offset of the items returned (as set in the query or by default)\").nullable(),\n previous: z.string().describe(\"URL to the previous page of items (null if none)\").nullable().optional(),\n}).describe(\"Response schema for `GetUserSTopTracks` - Paginated response containing user's top tracks\");\n\nexport const spotifyGetUserSTopTracks = action(\"SPOTIFY_GET_USER_S_TOP_TRACKS\", {\n slug: \"spotify-get-user-s-top-tracks\",\n name: \"Get User's Top Tracks\",\n description: \"Get the current user's top tracks based on calculated affinity. Returns the user's most-played tracks over different time periods based on their listening history and calculated affinity. Required OAuth Scope: user-top-read Note: The Spotify API limits results to the top 50 tracks per time range. Returns detailed track information including artist names, album details, popularity scores, duration, and preview URLs. Useful for understanding user listening preferences and music taste.\",\n input: SpotifyGetUserSTopTracksInput,\n output: SpotifyGetUserSTopTracksOutput,\n});\n"],"mappings":";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S,8GAA8G,CAAC,CAAC,SAAS;CACjK,eAAe,4CAA4C,SAAS;CACpE,mBAAmBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6FAA6F;AAC/I,CAAC,CAAC,CAAC,SAAS,cAAc;AAC1B,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAC9G,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,OAAOA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,wBAAwB;CACtF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC7H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC3F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CACnH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,SAAS,2FAA2F;AAEvG,MAAa,2BAA2BC,eAAAA,OAAO,iCAAiC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-user-s-top-tracks.cjs","names":["z","action"],"sources":["../../src/actions/get-user-s-top-tracks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyGetUserSTopTracksInput = z.object({\n limit: z.number().int().default(20).describe(\"Maximum number of tracks to return. Minimum: 1, Maximum: 50.\").optional(),\n offset: z.number().int().default(0).describe(\"The index of the first track to return. Use with limit to paginate through results. Default: 0 (first track).\").optional(),\n time_range: z.string().default(\"medium_term\").describe(\"Time period for computing affinity. Options: 'long_term' (calculated from ~1 year of data), 'medium_term' (approximately last 6 months), 'short_term' (approximately last 4 weeks).\").optional(),\n}).describe(\"Request schema for `GetUserSTopTracks`\");\nconst SpotifyGetUserSTopTracks_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 SpotifyGetUserSTopTracks_ExternalUrlsSchema = z.object({\n spotify: z.string().describe(\"The Spotify URL for the object\").nullable(),\n}).passthrough().describe(\"Known external URLs\");\nconst SpotifyGetUserSTopTracks_SimplifiedArtistSchema = 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: artist\").nullable(),\n external_urls: SpotifyGetUserSTopTracks_ExternalUrlsSchema.nullable(),\n}).passthrough().describe(\"Simplified artist object\");\nconst SpotifyGetUserSTopTracks_RestrictionsSchema = z.object({\n reason: z.string().describe(\"The reason for the restriction: market, product, or explicit\").nullable(),\n}).passthrough().describe(\"Content restriction object\");\nconst SpotifyGetUserSTopTracks_SimplifiedAlbumSchema = 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: album\").nullable(),\n images: z.array(SpotifyGetUserSTopTracks_ImageSchema).describe(\"The cover art for the album in various sizes, widest first\"),\n artists: z.array(SpotifyGetUserSTopTracks_SimplifiedArtistSchema).describe(\"The artists of the album\"),\n album_type: z.string().describe(\"The type of the album: album, single, or compilation\").nullable(),\n release_date: z.string().describe(\"The date the album was first released\").nullable(),\n restrictions: SpotifyGetUserSTopTracks_RestrictionsSchema.nullable().optional(),\n total_tracks: z.number().int().describe(\"The number of tracks in the album\").nullable(),\n external_urls: SpotifyGetUserSTopTracks_ExternalUrlsSchema.nullable(),\n available_markets: z.array(z.string()).describe(\"The markets in which the album is available (ISO 3166-1 alpha-2 country codes)\"),\n release_date_precision: z.string().describe(\"The precision with which release_date value is known: year, month, or day\").nullable(),\n}).passthrough().describe(\"Simplified album object\");\nconst SpotifyGetUserSTopTracks_LinkedFromSchema = z.object({\n id: z.string().describe(\"The Spotify ID for the track\").nullable().optional(),\n uri: z.string().describe(\"The Spotify URI for the track\").nullable().optional(),\n href: z.string().describe(\"A link to the Web API endpoint providing full details\").nullable().optional(),\n type: z.string().describe(\"The object type: track\").nullable().optional(),\n external_urls: SpotifyGetUserSTopTracks_ExternalUrlsSchema.nullable().optional(),\n}).passthrough().describe(\"Information about the originally requested track when Track Relinking is applied\");\nconst SpotifyGetUserSTopTracks_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(\"Known external IDs for the track\");\nconst SpotifyGetUserSTopTracks_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: SpotifyGetUserSTopTracks_SimplifiedAlbumSchema.nullable(),\n artists: z.array(SpotifyGetUserSTopTracks_SimplifiedArtistSchema).describe(\"The artists who performed the track\"),\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 is_local: z.boolean().describe(\"Whether or not the track is from a local file\").nullable(),\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 disc_number: z.number().int().describe(\"The disc number (usually 1 unless the album consists of more than one disc)\").nullable(),\n duration_ms: z.number().int().describe(\"The track length in milliseconds\").nullable(),\n is_playable: 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 linked_from: SpotifyGetUserSTopTracks_LinkedFromSchema.nullable().optional(),\n preview_url: z.string().describe(\"A link to a 30 second preview (MP3 format) of the track. Can be null\").nullable().optional(),\n external_ids: SpotifyGetUserSTopTracks_ExternalIdsSchema.nullable(),\n restrictions: SpotifyGetUserSTopTracks_RestrictionsSchema.nullable().optional(),\n track_number: 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 external_urls: SpotifyGetUserSTopTracks_ExternalUrlsSchema.nullable(),\n available_markets: z.array(z.string()).describe(\"A list of the countries in which the track can be played (ISO 3166-1 alpha-2 country codes)\"),\n}).passthrough().describe(\"Track object\");\nexport const SpotifyGetUserSTopTracksOutput = z.object({\n href: z.string().describe(\"A link to the Web API endpoint returning the full result of the request\").nullable(),\n next: z.string().describe(\"URL to the next page of items (null if none)\").nullable().optional(),\n items: z.array(SpotifyGetUserSTopTracks_TrackSchema).describe(\"Array of track objects\"),\n limit: z.number().int().describe(\"The maximum number of items in the response (as set in the query or by default)\").nullable(),\n total: z.number().int().describe(\"The total number of items available to return\").nullable(),\n offset: z.number().int().describe(\"The offset of the items returned (as set in the query or by default)\").nullable(),\n previous: z.string().describe(\"URL to the previous page of items (null if none)\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `GetUserSTopTracks` - Paginated response containing user's top tracks\");\n\nexport const spotifyGetUserSTopTracks = action(\"SPOTIFY_GET_USER_S_TOP_TRACKS\", {\n slug: \"spotify-get-user-s-top-tracks\",\n name: \"Get User's Top Tracks\",\n description: \"Get the current user's top tracks based on calculated affinity. Returns the user's most-played tracks over different time periods based on their listening history and calculated affinity. Required OAuth Scope: user-top-read Note: The Spotify API limits results to the top 50 tracks per time range. Returns detailed track information including artist names, album details, popularity scores, duration, and preview URLs. Useful for understanding user listening preferences and music taste.\",\n input: SpotifyGetUserSTopTracksInput,\n output: SpotifyGetUserSTopTracksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACtH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;CACvK,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,aAAa,CAAC,CAAC,SAAS,qLAAqL,CAAC,CAAC,SAAS;AACzP,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACjE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,cAAc;AACxC,MAAM,8CAA8CA,IAAAA,EAAE,OAAO,EAC3D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,EAC1E,CAAC,C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AAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2FAA2F;AAErH,MAAa,2BAA2BC,eAAAA,OAAO,iCAAiC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -25,7 +25,7 @@ declare const SpotifyGetUserSTopTracksOutput: z.ZodObject<{
25
25
  url: z.ZodNullable<z.ZodString>;
26
26
  width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
27
27
  height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
28
- }, z.core.$strip>>;
28
+ }, z.core.$loose>>;
29
29
  artists: z.ZodArray<z.ZodObject<{
30
30
  id: z.ZodNullable<z.ZodString>;
31
31
  uri: z.ZodNullable<z.ZodString>;
@@ -34,20 +34,20 @@ declare const SpotifyGetUserSTopTracksOutput: z.ZodObject<{
34
34
  type: z.ZodNullable<z.ZodString>;
35
35
  external_urls: z.ZodNullable<z.ZodObject<{
36
36
  spotify: z.ZodNullable<z.ZodString>;
37
- }, z.core.$strip>>;
38
- }, z.core.$strip>>;
37
+ }, z.core.$loose>>;
38
+ }, z.core.$loose>>;
39
39
  album_type: z.ZodNullable<z.ZodString>;
40
40
  release_date: z.ZodNullable<z.ZodString>;
41
41
  restrictions: z.ZodOptional<z.ZodNullable<z.ZodObject<{
42
42
  reason: z.ZodNullable<z.ZodString>;
43
- }, z.core.$strip>>>;
43
+ }, z.core.$loose>>>;
44
44
  total_tracks: z.ZodNullable<z.ZodNumber>;
45
45
  external_urls: z.ZodNullable<z.ZodObject<{
46
46
  spotify: z.ZodNullable<z.ZodString>;
47
- }, z.core.$strip>>;
47
+ }, z.core.$loose>>;
48
48
  available_markets: z.ZodArray<z.ZodString>;
49
49
  release_date_precision: z.ZodNullable<z.ZodString>;
50
- }, z.core.$strip>>;
50
+ }, z.core.$loose>>;
51
51
  artists: z.ZodArray<z.ZodObject<{
52
52
  id: z.ZodNullable<z.ZodString>;
53
53
  uri: z.ZodNullable<z.ZodString>;
@@ -56,8 +56,8 @@ declare const SpotifyGetUserSTopTracksOutput: z.ZodObject<{
56
56
  type: z.ZodNullable<z.ZodString>;
57
57
  external_urls: z.ZodNullable<z.ZodObject<{
58
58
  spotify: z.ZodNullable<z.ZodString>;
59
- }, z.core.$strip>>;
60
- }, z.core.$strip>>;
59
+ }, z.core.$loose>>;
60
+ }, z.core.$loose>>;
61
61
  explicit: z.ZodNullable<z.ZodBoolean>;
62
62
  is_local: z.ZodNullable<z.ZodBoolean>;
63
63
  popularity: z.ZodNullable<z.ZodNumber>;
@@ -71,28 +71,28 @@ declare const SpotifyGetUserSTopTracksOutput: z.ZodObject<{
71
71
  type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
72
72
  external_urls: z.ZodOptional<z.ZodNullable<z.ZodObject<{
73
73
  spotify: z.ZodNullable<z.ZodString>;
74
- }, z.core.$strip>>>;
75
- }, z.core.$strip>>>;
74
+ }, z.core.$loose>>>;
75
+ }, z.core.$loose>>>;
76
76
  preview_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
77
77
  external_ids: z.ZodNullable<z.ZodObject<{
78
78
  ean: z.ZodOptional<z.ZodNullable<z.ZodString>>;
79
79
  upc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
80
80
  isrc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
81
- }, z.core.$strip>>;
81
+ }, z.core.$loose>>;
82
82
  restrictions: z.ZodOptional<z.ZodNullable<z.ZodObject<{
83
83
  reason: z.ZodNullable<z.ZodString>;
84
- }, z.core.$strip>>>;
84
+ }, z.core.$loose>>>;
85
85
  track_number: z.ZodNullable<z.ZodNumber>;
86
86
  external_urls: z.ZodNullable<z.ZodObject<{
87
87
  spotify: z.ZodNullable<z.ZodString>;
88
- }, z.core.$strip>>;
88
+ }, z.core.$loose>>;
89
89
  available_markets: z.ZodArray<z.ZodString>;
90
- }, z.core.$strip>>;
90
+ }, z.core.$loose>>;
91
91
  limit: z.ZodNullable<z.ZodNumber>;
92
92
  total: z.ZodNullable<z.ZodNumber>;
93
93
  offset: z.ZodNullable<z.ZodNumber>;
94
94
  previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
95
- }, z.core.$strip>;
95
+ }, z.core.$loose>;
96
96
  declare const spotifyGetUserSTopTracks: import("@keystrokehq/action").WorkflowActionDefinition<{
97
97
  limit?: number | undefined;
98
98
  offset?: number | undefined;
@@ -25,7 +25,7 @@ declare const SpotifyGetUserSTopTracksOutput: z.ZodObject<{
25
25
  url: z.ZodNullable<z.ZodString>;
26
26
  width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
27
27
  height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
28
- }, z.core.$strip>>;
28
+ }, z.core.$loose>>;
29
29
  artists: z.ZodArray<z.ZodObject<{
30
30
  id: z.ZodNullable<z.ZodString>;
31
31
  uri: z.ZodNullable<z.ZodString>;
@@ -34,20 +34,20 @@ declare const SpotifyGetUserSTopTracksOutput: z.ZodObject<{
34
34
  type: z.ZodNullable<z.ZodString>;
35
35
  external_urls: z.ZodNullable<z.ZodObject<{
36
36
  spotify: z.ZodNullable<z.ZodString>;
37
- }, z.core.$strip>>;
38
- }, z.core.$strip>>;
37
+ }, z.core.$loose>>;
38
+ }, z.core.$loose>>;
39
39
  album_type: z.ZodNullable<z.ZodString>;
40
40
  release_date: z.ZodNullable<z.ZodString>;
41
41
  restrictions: z.ZodOptional<z.ZodNullable<z.ZodObject<{
42
42
  reason: z.ZodNullable<z.ZodString>;
43
- }, z.core.$strip>>>;
43
+ }, z.core.$loose>>>;
44
44
  total_tracks: z.ZodNullable<z.ZodNumber>;
45
45
  external_urls: z.ZodNullable<z.ZodObject<{
46
46
  spotify: z.ZodNullable<z.ZodString>;
47
- }, z.core.$strip>>;
47
+ }, z.core.$loose>>;
48
48
  available_markets: z.ZodArray<z.ZodString>;
49
49
  release_date_precision: z.ZodNullable<z.ZodString>;
50
- }, z.core.$strip>>;
50
+ }, z.core.$loose>>;
51
51
  artists: z.ZodArray<z.ZodObject<{
52
52
  id: z.ZodNullable<z.ZodString>;
53
53
  uri: z.ZodNullable<z.ZodString>;
@@ -56,8 +56,8 @@ declare const SpotifyGetUserSTopTracksOutput: z.ZodObject<{
56
56
  type: z.ZodNullable<z.ZodString>;
57
57
  external_urls: z.ZodNullable<z.ZodObject<{
58
58
  spotify: z.ZodNullable<z.ZodString>;
59
- }, z.core.$strip>>;
60
- }, z.core.$strip>>;
59
+ }, z.core.$loose>>;
60
+ }, z.core.$loose>>;
61
61
  explicit: z.ZodNullable<z.ZodBoolean>;
62
62
  is_local: z.ZodNullable<z.ZodBoolean>;
63
63
  popularity: z.ZodNullable<z.ZodNumber>;
@@ -71,28 +71,28 @@ declare const SpotifyGetUserSTopTracksOutput: z.ZodObject<{
71
71
  type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
72
72
  external_urls: z.ZodOptional<z.ZodNullable<z.ZodObject<{
73
73
  spotify: z.ZodNullable<z.ZodString>;
74
- }, z.core.$strip>>>;
75
- }, z.core.$strip>>>;
74
+ }, z.core.$loose>>>;
75
+ }, z.core.$loose>>>;
76
76
  preview_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
77
77
  external_ids: z.ZodNullable<z.ZodObject<{
78
78
  ean: z.ZodOptional<z.ZodNullable<z.ZodString>>;
79
79
  upc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
80
80
  isrc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
81
- }, z.core.$strip>>;
81
+ }, z.core.$loose>>;
82
82
  restrictions: z.ZodOptional<z.ZodNullable<z.ZodObject<{
83
83
  reason: z.ZodNullable<z.ZodString>;
84
- }, z.core.$strip>>>;
84
+ }, z.core.$loose>>>;
85
85
  track_number: z.ZodNullable<z.ZodNumber>;
86
86
  external_urls: z.ZodNullable<z.ZodObject<{
87
87
  spotify: z.ZodNullable<z.ZodString>;
88
- }, z.core.$strip>>;
88
+ }, z.core.$loose>>;
89
89
  available_markets: z.ZodArray<z.ZodString>;
90
- }, z.core.$strip>>;
90
+ }, z.core.$loose>>;
91
91
  limit: z.ZodNullable<z.ZodNumber>;
92
92
  total: z.ZodNullable<z.ZodNumber>;
93
93
  offset: z.ZodNullable<z.ZodNumber>;
94
94
  previous: z.ZodOptional<z.ZodNullable<z.ZodString>>;
95
- }, z.core.$strip>;
95
+ }, z.core.$loose>;
96
96
  declare const spotifyGetUserSTopTracks: import("@keystrokehq/action").WorkflowActionDefinition<{
97
97
  limit?: number | undefined;
98
98
  offset?: number | undefined;