@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
@@ -6,7 +6,7 @@ const SpotifyAddItemsToPlaylistInput = zod.z.object({
6
6
  position: zod.z.number().int().describe("Zero-based index for item insertion. Examples:\n- position=0: Insert at the beginning\n- position=2: Insert at the third position\n- Omitted (None): Append items to the end (default behavior)").optional(),
7
7
  playlist_id: zod.z.string().describe("The Spotify ID of the playlist (e.g., '3cEYpjA9oz9GiPac4AsH4n'). Can be found in the playlist URL or obtained from playlist creation/search endpoints.")
8
8
  }).describe("Request schema for `AddItemsToPlaylist`\n\nRequired OAuth Scopes: playlist-modify-public OR playlist-modify-private");
9
- const SpotifyAddItemsToPlaylistOutput = zod.z.object({ snapshot_id: zod.z.string().describe("A snapshot ID representing the playlist's current version. Spotify playlist endpoints return snapshot IDs that can be used later to identify the specific playlist version to target for changes.").nullable().optional() }).describe("Response schema for `AddItemsToPlaylist`\n\nReturns HTTP 201 Created on success with a snapshot_id representing the playlist's current state.");
9
+ const SpotifyAddItemsToPlaylistOutput = zod.z.object({ snapshot_id: zod.z.string().describe("A snapshot ID representing the playlist's current version. Spotify playlist endpoints return snapshot IDs that can be used later to identify the specific playlist version to target for changes.").nullable().optional() }).passthrough().describe("Response schema for `AddItemsToPlaylist`\n\nReturns HTTP 201 Created on success with a snapshot_id representing the playlist's current state.");
10
10
  const spotifyAddItemsToPlaylist = require_action.action("SPOTIFY_ADD_ITEMS_TO_PLAYLIST", {
11
11
  slug: "spotify-add-items-to-playlist",
12
12
  name: "Add items to playlist",
@@ -1 +1 @@
1
- {"version":3,"file":"add-items-to-playlist.cjs","names":["z","action"],"sources":["../../src/actions/add-items-to-playlist.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyAddItemsToPlaylistInput = z.object({\n uris: z.union([z.string(), z.array(z.string())]),\n position: z.number().int().describe(\"Zero-based index for item insertion. Examples:\\n- position=0: Insert at the beginning\\n- position=2: Insert at the third position\\n- Omitted (None): Append items to the end (default behavior)\").optional(),\n playlist_id: z.string().describe(\"The Spotify ID of the playlist (e.g., '3cEYpjA9oz9GiPac4AsH4n'). Can be found in the playlist URL or obtained from playlist creation/search endpoints.\"),\n}).describe(\"Request schema for `AddItemsToPlaylist`\\n\\nRequired OAuth Scopes: playlist-modify-public OR playlist-modify-private\");\nexport const SpotifyAddItemsToPlaylistOutput = z.object({\n snapshot_id: z.string().describe(\"A snapshot ID representing the playlist's current version. Spotify playlist endpoints return snapshot IDs that can be used later to identify the specific playlist version to target for changes.\").nullable().optional(),\n}).describe(\"Response schema for `AddItemsToPlaylist`\\n\\nReturns HTTP 201 Created on success with a snapshot_id representing the playlist's current state.\");\n\nexport const spotifyAddItemsToPlaylist = action(\"SPOTIFY_ADD_ITEMS_TO_PLAYLIST\", {\n slug: \"spotify-add-items-to-playlist\",\n name: \"Add items to playlist\",\n description: \"Add one or more items to a user's playlist.\",\n input: SpotifyAddItemsToPlaylistInput,\n output: SpotifyAddItemsToPlaylistOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC;CAC/C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iMAAiM,CAAC,CAAC,SAAS;CAChP,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wJAAwJ;AAC3L,CAAC,CAAC,CAAC,SAAS,qHAAqH;AACjI,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mMAAmM,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC5P,CAAC,CAAC,CAAC,SAAS,+IAA+I;AAE3J,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"add-items-to-playlist.cjs","names":["z","action"],"sources":["../../src/actions/add-items-to-playlist.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyAddItemsToPlaylistInput = z.object({\n uris: z.union([z.string(), z.array(z.string())]),\n position: z.number().int().describe(\"Zero-based index for item insertion. Examples:\\n- position=0: Insert at the beginning\\n- position=2: Insert at the third position\\n- Omitted (None): Append items to the end (default behavior)\").optional(),\n playlist_id: z.string().describe(\"The Spotify ID of the playlist (e.g., '3cEYpjA9oz9GiPac4AsH4n'). Can be found in the playlist URL or obtained from playlist creation/search endpoints.\"),\n}).describe(\"Request schema for `AddItemsToPlaylist`\\n\\nRequired OAuth Scopes: playlist-modify-public OR playlist-modify-private\");\nexport const SpotifyAddItemsToPlaylistOutput = z.object({\n snapshot_id: z.string().describe(\"A snapshot ID representing the playlist's current version. Spotify playlist endpoints return snapshot IDs that can be used later to identify the specific playlist version to target for changes.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `AddItemsToPlaylist`\\n\\nReturns HTTP 201 Created on success with a snapshot_id representing the playlist's current state.\");\n\nexport const spotifyAddItemsToPlaylist = action(\"SPOTIFY_ADD_ITEMS_TO_PLAYLIST\", {\n slug: \"spotify-add-items-to-playlist\",\n name: \"Add items to playlist\",\n description: \"Add one or more items to a user's playlist.\",\n input: SpotifyAddItemsToPlaylistInput,\n output: SpotifyAddItemsToPlaylistOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC;CAC/C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iMAAiM,CAAC,CAAC,SAAS;CAChP,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wJAAwJ;AAC3L,CAAC,CAAC,CAAC,SAAS,qHAAqH;AACjI,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mMAAmM,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC5P,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+IAA+I;AAEzK,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -8,7 +8,7 @@ declare const SpotifyAddItemsToPlaylistInput: z.ZodObject<{
8
8
  }, z.core.$strip>;
9
9
  declare const SpotifyAddItemsToPlaylistOutput: z.ZodObject<{
10
10
  snapshot_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
- }, z.core.$strip>;
11
+ }, z.core.$loose>;
12
12
  declare const spotifyAddItemsToPlaylist: import("@keystrokehq/action").WorkflowActionDefinition<{
13
13
  uris: string | string[];
14
14
  playlist_id: string;
@@ -8,7 +8,7 @@ declare const SpotifyAddItemsToPlaylistInput: z.ZodObject<{
8
8
  }, z.core.$strip>;
9
9
  declare const SpotifyAddItemsToPlaylistOutput: z.ZodObject<{
10
10
  snapshot_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
- }, z.core.$strip>;
11
+ }, z.core.$loose>;
12
12
  declare const spotifyAddItemsToPlaylist: import("@keystrokehq/action").WorkflowActionDefinition<{
13
13
  uris: string | string[];
14
14
  playlist_id: string;
@@ -9,7 +9,7 @@ const spotifyAddItemsToPlaylist = action("SPOTIFY_ADD_ITEMS_TO_PLAYLIST", {
9
9
  position: z.number().int().describe("Zero-based index for item insertion. Examples:\n- position=0: Insert at the beginning\n- position=2: Insert at the third position\n- Omitted (None): Append items to the end (default behavior)").optional(),
10
10
  playlist_id: z.string().describe("The Spotify ID of the playlist (e.g., '3cEYpjA9oz9GiPac4AsH4n'). Can be found in the playlist URL or obtained from playlist creation/search endpoints.")
11
11
  }).describe("Request schema for `AddItemsToPlaylist`\n\nRequired OAuth Scopes: playlist-modify-public OR playlist-modify-private"),
12
- output: z.object({ snapshot_id: z.string().describe("A snapshot ID representing the playlist's current version. Spotify playlist endpoints return snapshot IDs that can be used later to identify the specific playlist version to target for changes.").nullable().optional() }).describe("Response schema for `AddItemsToPlaylist`\n\nReturns HTTP 201 Created on success with a snapshot_id representing the playlist's current state.")
12
+ output: z.object({ snapshot_id: z.string().describe("A snapshot ID representing the playlist's current version. Spotify playlist endpoints return snapshot IDs that can be used later to identify the specific playlist version to target for changes.").nullable().optional() }).passthrough().describe("Response schema for `AddItemsToPlaylist`\n\nReturns HTTP 201 Created on success with a snapshot_id representing the playlist's current state.")
13
13
  });
14
14
  //#endregion
15
15
  export { spotifyAddItemsToPlaylist };
@@ -1 +1 @@
1
- {"version":3,"file":"add-items-to-playlist.mjs","names":[],"sources":["../../src/actions/add-items-to-playlist.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyAddItemsToPlaylistInput = z.object({\n uris: z.union([z.string(), z.array(z.string())]),\n position: z.number().int().describe(\"Zero-based index for item insertion. Examples:\\n- position=0: Insert at the beginning\\n- position=2: Insert at the third position\\n- Omitted (None): Append items to the end (default behavior)\").optional(),\n playlist_id: z.string().describe(\"The Spotify ID of the playlist (e.g., '3cEYpjA9oz9GiPac4AsH4n'). Can be found in the playlist URL or obtained from playlist creation/search endpoints.\"),\n}).describe(\"Request schema for `AddItemsToPlaylist`\\n\\nRequired OAuth Scopes: playlist-modify-public OR playlist-modify-private\");\nexport const SpotifyAddItemsToPlaylistOutput = z.object({\n snapshot_id: z.string().describe(\"A snapshot ID representing the playlist's current version. Spotify playlist endpoints return snapshot IDs that can be used later to identify the specific playlist version to target for changes.\").nullable().optional(),\n}).describe(\"Response schema for `AddItemsToPlaylist`\\n\\nReturns HTTP 201 Created on success with a snapshot_id representing the playlist's current state.\");\n\nexport const spotifyAddItemsToPlaylist = action(\"SPOTIFY_ADD_ITEMS_TO_PLAYLIST\", {\n slug: \"spotify-add-items-to-playlist\",\n name: \"Add items to playlist\",\n description: \"Add one or more items to a user's playlist.\",\n input: SpotifyAddItemsToPlaylistInput,\n output: SpotifyAddItemsToPlaylistOutput,\n});\n"],"mappings":";;AAaA,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb4C,EAAE,OAAO;EACrD,MAAM,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;EAC/C,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iMAAiM,CAAC,CAAC,SAAS;EAChP,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wJAAwJ;CAC3L,CAAC,CAAC,CAAC,SAAS,qHASH;CACP,QAT6C,EAAE,OAAO,EACtD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mMAAmM,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC5P,CAAC,CAAC,CAAC,SAAS,+IAOF;AACV,CAAC"}
1
+ {"version":3,"file":"add-items-to-playlist.mjs","names":[],"sources":["../../src/actions/add-items-to-playlist.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyAddItemsToPlaylistInput = z.object({\n uris: z.union([z.string(), z.array(z.string())]),\n position: z.number().int().describe(\"Zero-based index for item insertion. Examples:\\n- position=0: Insert at the beginning\\n- position=2: Insert at the third position\\n- Omitted (None): Append items to the end (default behavior)\").optional(),\n playlist_id: z.string().describe(\"The Spotify ID of the playlist (e.g., '3cEYpjA9oz9GiPac4AsH4n'). Can be found in the playlist URL or obtained from playlist creation/search endpoints.\"),\n}).describe(\"Request schema for `AddItemsToPlaylist`\\n\\nRequired OAuth Scopes: playlist-modify-public OR playlist-modify-private\");\nexport const SpotifyAddItemsToPlaylistOutput = z.object({\n snapshot_id: z.string().describe(\"A snapshot ID representing the playlist's current version. Spotify playlist endpoints return snapshot IDs that can be used later to identify the specific playlist version to target for changes.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `AddItemsToPlaylist`\\n\\nReturns HTTP 201 Created on success with a snapshot_id representing the playlist's current state.\");\n\nexport const spotifyAddItemsToPlaylist = action(\"SPOTIFY_ADD_ITEMS_TO_PLAYLIST\", {\n slug: \"spotify-add-items-to-playlist\",\n name: \"Add items to playlist\",\n description: \"Add one or more items to a user's playlist.\",\n input: SpotifyAddItemsToPlaylistInput,\n output: SpotifyAddItemsToPlaylistOutput,\n});\n"],"mappings":";;AAaA,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb4C,EAAE,OAAO;EACrD,MAAM,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;EAC/C,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iMAAiM,CAAC,CAAC,SAAS;EAChP,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wJAAwJ;CAC3L,CAAC,CAAC,CAAC,SAAS,qHASH;CACP,QAT6C,EAAE,OAAO,EACtD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mMAAmM,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC5P,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+IAOhB;AACV,CAAC"}
@@ -5,7 +5,7 @@ const SpotifyCheckIfUserFollowsArtistsOrUsersInput = zod.z.object({
5
5
  ids: zod.z.string().describe("A comma-separated list of the artist or user Spotify IDs to check. Maximum of 50 IDs per request. Example: '2CIMQHirSU0MQqyYHq0eOx,57dN52uHvrHOxijzpIgu3E'"),
6
6
  type: zod.z.enum(["artist", "user"]).describe("The ID type: either 'artist' or 'user'")
7
7
  }).describe("Request schema for `CheckIfUserFollowsArtistsOrUsers`");
8
- const SpotifyCheckIfUserFollowsArtistsOrUsersOutput = zod.z.object({ follows: zod.z.array(zod.z.boolean()).describe("Array of boolean values in the same order as the requested artist or user IDs. True indicates the user follows the artist/user, False indicates they do not.") }).describe("Response schema for `CheckIfUserFollowsArtistsOrUsers`\n\nReturns an array of booleans indicating whether the current user follows each\nartist or user in the same order as the IDs were provided in the request.");
8
+ const SpotifyCheckIfUserFollowsArtistsOrUsersOutput = zod.z.object({ follows: zod.z.array(zod.z.boolean()).describe("Array of boolean values in the same order as the requested artist or user IDs. True indicates the user follows the artist/user, False indicates they do not.") }).passthrough().describe("Response schema for `CheckIfUserFollowsArtistsOrUsers`\n\nReturns an array of booleans indicating whether the current user follows each\nartist or user in the same order as the IDs were provided in the request.");
9
9
  const spotifyCheckIfUserFollowsArtistsOrUsers = require_action.action("SPOTIFY_CHECK_IF_USER_FOLLOWS_ARTISTS_OR_USERS", {
10
10
  slug: "spotify-check-if-user-follows-artists-or-users",
11
11
  name: "Check if user follows artists or users",
@@ -1 +1 @@
1
- {"version":3,"file":"check-if-user-follows-artists-or-users.cjs","names":["z","action"],"sources":["../../src/actions/check-if-user-follows-artists-or-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyCheckIfUserFollowsArtistsOrUsersInput = z.object({\n ids: z.string().describe(\"A comma-separated list of the artist or user Spotify IDs to check. Maximum of 50 IDs per request. Example: '2CIMQHirSU0MQqyYHq0eOx,57dN52uHvrHOxijzpIgu3E'\"),\n type: z.enum([\"artist\", \"user\"]).describe(\"The ID type: either 'artist' or 'user'\"),\n}).describe(\"Request schema for `CheckIfUserFollowsArtistsOrUsers`\");\nexport const SpotifyCheckIfUserFollowsArtistsOrUsersOutput = z.object({\n follows: z.array(z.boolean()).describe(\"Array of boolean values in the same order as the requested artist or user IDs. True indicates the user follows the artist/user, False indicates they do not.\"),\n}).describe(\"Response schema for `CheckIfUserFollowsArtistsOrUsers`\\n\\nReturns an array of booleans indicating whether the current user follows each\\nartist or user in the same order as the IDs were provided in the request.\");\n\nexport const spotifyCheckIfUserFollowsArtistsOrUsers = action(\"SPOTIFY_CHECK_IF_USER_FOLLOWS_ARTISTS_OR_USERS\", {\n slug: \"spotify-check-if-user-follows-artists-or-users\",\n name: \"Check if user follows artists or users\",\n description: \"Check to see if the current user is following one or more artists or other Spotify users.\",\n input: SpotifyCheckIfUserFollowsArtistsOrUsersInput,\n output: SpotifyCheckIfUserFollowsArtistsOrUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+CAA+CA,IAAAA,EAAE,OAAO;CACnE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4JAA4J;CACrL,MAAMA,IAAAA,EAAE,KAAK,CAAC,UAAU,MAAM,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpF,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAa,gDAAgDA,IAAAA,EAAE,OAAO,EACpE,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8JAA8J,EACvM,CAAC,CAAC,CAAC,SAAS,oNAAoN;AAEhO,MAAa,0CAA0CC,eAAAA,OAAO,kDAAkD;CAC9G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"check-if-user-follows-artists-or-users.cjs","names":["z","action"],"sources":["../../src/actions/check-if-user-follows-artists-or-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyCheckIfUserFollowsArtistsOrUsersInput = z.object({\n ids: z.string().describe(\"A comma-separated list of the artist or user Spotify IDs to check. Maximum of 50 IDs per request. Example: '2CIMQHirSU0MQqyYHq0eOx,57dN52uHvrHOxijzpIgu3E'\"),\n type: z.enum([\"artist\", \"user\"]).describe(\"The ID type: either 'artist' or 'user'\"),\n}).describe(\"Request schema for `CheckIfUserFollowsArtistsOrUsers`\");\nexport const SpotifyCheckIfUserFollowsArtistsOrUsersOutput = z.object({\n follows: z.array(z.boolean()).describe(\"Array of boolean values in the same order as the requested artist or user IDs. True indicates the user follows the artist/user, False indicates they do not.\"),\n}).passthrough().describe(\"Response schema for `CheckIfUserFollowsArtistsOrUsers`\\n\\nReturns an array of booleans indicating whether the current user follows each\\nartist or user in the same order as the IDs were provided in the request.\");\n\nexport const spotifyCheckIfUserFollowsArtistsOrUsers = action(\"SPOTIFY_CHECK_IF_USER_FOLLOWS_ARTISTS_OR_USERS\", {\n slug: \"spotify-check-if-user-follows-artists-or-users\",\n name: \"Check if user follows artists or users\",\n description: \"Check to see if the current user is following one or more artists or other Spotify users.\",\n input: SpotifyCheckIfUserFollowsArtistsOrUsersInput,\n output: SpotifyCheckIfUserFollowsArtistsOrUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+CAA+CA,IAAAA,EAAE,OAAO;CACnE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4JAA4J;CACrL,MAAMA,IAAAA,EAAE,KAAK,CAAC,UAAU,MAAM,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpF,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAa,gDAAgDA,IAAAA,EAAE,OAAO,EACpE,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8JAA8J,EACvM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oNAAoN;AAE9O,MAAa,0CAA0CC,eAAAA,OAAO,kDAAkD;CAC9G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -10,7 +10,7 @@ declare const SpotifyCheckIfUserFollowsArtistsOrUsersInput: z.ZodObject<{
10
10
  }, z.core.$strip>;
11
11
  declare const SpotifyCheckIfUserFollowsArtistsOrUsersOutput: z.ZodObject<{
12
12
  follows: z.ZodArray<z.ZodBoolean>;
13
- }, z.core.$strip>;
13
+ }, z.core.$loose>;
14
14
  declare const spotifyCheckIfUserFollowsArtistsOrUsers: import("@keystrokehq/action").WorkflowActionDefinition<{
15
15
  ids: string;
16
16
  type: "user" | "artist";
@@ -10,7 +10,7 @@ declare const SpotifyCheckIfUserFollowsArtistsOrUsersInput: z.ZodObject<{
10
10
  }, z.core.$strip>;
11
11
  declare const SpotifyCheckIfUserFollowsArtistsOrUsersOutput: z.ZodObject<{
12
12
  follows: z.ZodArray<z.ZodBoolean>;
13
- }, z.core.$strip>;
13
+ }, z.core.$loose>;
14
14
  declare const spotifyCheckIfUserFollowsArtistsOrUsers: import("@keystrokehq/action").WorkflowActionDefinition<{
15
15
  ids: string;
16
16
  type: "user" | "artist";
@@ -8,7 +8,7 @@ const spotifyCheckIfUserFollowsArtistsOrUsers = action("SPOTIFY_CHECK_IF_USER_FO
8
8
  ids: z.string().describe("A comma-separated list of the artist or user Spotify IDs to check. Maximum of 50 IDs per request. Example: '2CIMQHirSU0MQqyYHq0eOx,57dN52uHvrHOxijzpIgu3E'"),
9
9
  type: z.enum(["artist", "user"]).describe("The ID type: either 'artist' or 'user'")
10
10
  }).describe("Request schema for `CheckIfUserFollowsArtistsOrUsers`"),
11
- output: z.object({ follows: z.array(z.boolean()).describe("Array of boolean values in the same order as the requested artist or user IDs. True indicates the user follows the artist/user, False indicates they do not.") }).describe("Response schema for `CheckIfUserFollowsArtistsOrUsers`\n\nReturns an array of booleans indicating whether the current user follows each\nartist or user in the same order as the IDs were provided in the request.")
11
+ output: z.object({ follows: z.array(z.boolean()).describe("Array of boolean values in the same order as the requested artist or user IDs. True indicates the user follows the artist/user, False indicates they do not.") }).passthrough().describe("Response schema for `CheckIfUserFollowsArtistsOrUsers`\n\nReturns an array of booleans indicating whether the current user follows each\nartist or user in the same order as the IDs were provided in the request.")
12
12
  });
13
13
  //#endregion
14
14
  export { spotifyCheckIfUserFollowsArtistsOrUsers };
@@ -1 +1 @@
1
- {"version":3,"file":"check-if-user-follows-artists-or-users.mjs","names":[],"sources":["../../src/actions/check-if-user-follows-artists-or-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyCheckIfUserFollowsArtistsOrUsersInput = z.object({\n ids: z.string().describe(\"A comma-separated list of the artist or user Spotify IDs to check. Maximum of 50 IDs per request. Example: '2CIMQHirSU0MQqyYHq0eOx,57dN52uHvrHOxijzpIgu3E'\"),\n type: z.enum([\"artist\", \"user\"]).describe(\"The ID type: either 'artist' or 'user'\"),\n}).describe(\"Request schema for `CheckIfUserFollowsArtistsOrUsers`\");\nexport const SpotifyCheckIfUserFollowsArtistsOrUsersOutput = z.object({\n follows: z.array(z.boolean()).describe(\"Array of boolean values in the same order as the requested artist or user IDs. True indicates the user follows the artist/user, False indicates they do not.\"),\n}).describe(\"Response schema for `CheckIfUserFollowsArtistsOrUsers`\\n\\nReturns an array of booleans indicating whether the current user follows each\\nartist or user in the same order as the IDs were provided in the request.\");\n\nexport const spotifyCheckIfUserFollowsArtistsOrUsers = action(\"SPOTIFY_CHECK_IF_USER_FOLLOWS_ARTISTS_OR_USERS\", {\n slug: \"spotify-check-if-user-follows-artists-or-users\",\n name: \"Check if user follows artists or users\",\n description: \"Check to see if the current user is following one or more artists or other Spotify users.\",\n input: SpotifyCheckIfUserFollowsArtistsOrUsersInput,\n output: SpotifyCheckIfUserFollowsArtistsOrUsersOutput,\n});\n"],"mappings":";;AAYA,MAAa,0CAA0C,OAAO,kDAAkD;CAC9G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ0D,EAAE,OAAO;EACnE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4JAA4J;EACrL,MAAM,EAAE,KAAK,CAAC,UAAU,MAAM,CAAC,CAAC,CAAC,SAAS,wCAAwC;CACpF,CAAC,CAAC,CAAC,SAAS,uDASH;CACP,QAT2D,EAAE,OAAO,EACpE,SAAS,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8JAA8J,EACvM,CAAC,CAAC,CAAC,SAAS,oNAOF;AACV,CAAC"}
1
+ {"version":3,"file":"check-if-user-follows-artists-or-users.mjs","names":[],"sources":["../../src/actions/check-if-user-follows-artists-or-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyCheckIfUserFollowsArtistsOrUsersInput = z.object({\n ids: z.string().describe(\"A comma-separated list of the artist or user Spotify IDs to check. Maximum of 50 IDs per request. Example: '2CIMQHirSU0MQqyYHq0eOx,57dN52uHvrHOxijzpIgu3E'\"),\n type: z.enum([\"artist\", \"user\"]).describe(\"The ID type: either 'artist' or 'user'\"),\n}).describe(\"Request schema for `CheckIfUserFollowsArtistsOrUsers`\");\nexport const SpotifyCheckIfUserFollowsArtistsOrUsersOutput = z.object({\n follows: z.array(z.boolean()).describe(\"Array of boolean values in the same order as the requested artist or user IDs. True indicates the user follows the artist/user, False indicates they do not.\"),\n}).passthrough().describe(\"Response schema for `CheckIfUserFollowsArtistsOrUsers`\\n\\nReturns an array of booleans indicating whether the current user follows each\\nartist or user in the same order as the IDs were provided in the request.\");\n\nexport const spotifyCheckIfUserFollowsArtistsOrUsers = action(\"SPOTIFY_CHECK_IF_USER_FOLLOWS_ARTISTS_OR_USERS\", {\n slug: \"spotify-check-if-user-follows-artists-or-users\",\n name: \"Check if user follows artists or users\",\n description: \"Check to see if the current user is following one or more artists or other Spotify users.\",\n input: SpotifyCheckIfUserFollowsArtistsOrUsersInput,\n output: SpotifyCheckIfUserFollowsArtistsOrUsersOutput,\n});\n"],"mappings":";;AAYA,MAAa,0CAA0C,OAAO,kDAAkD;CAC9G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ0D,EAAE,OAAO;EACnE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4JAA4J;EACrL,MAAM,EAAE,KAAK,CAAC,UAAU,MAAM,CAAC,CAAC,CAAC,SAAS,wCAAwC;CACpF,CAAC,CAAC,CAAC,SAAS,uDASH;CACP,QAT2D,EAAE,OAAO,EACpE,SAAS,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8JAA8J,EACvM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oNAOhB;AACV,CAAC"}
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/check-user-s-saved-albums.ts
4
4
  const SpotifyCheckUserSSavedAlbumsInput = zod.z.object({ ids: zod.z.string().describe("A comma-separated list of Spotify album IDs. Maximum: 20 IDs. Example: '382ObEPsp2rxGrnsizN5TX,1A2GTWGtFfWp7KSQTwWOyo'") }).describe("Request schema for `CheckUserSSavedAlbums`");
5
- const SpotifyCheckUserSSavedAlbumsOutput = zod.z.object({ saved: zod.z.array(zod.z.boolean()).describe("Array of boolean values in the same order as the requested album IDs. True indicates the album is saved in the user's library, False indicates it is not.") }).describe("Response schema for `CheckUserSSavedAlbums`");
5
+ const SpotifyCheckUserSSavedAlbumsOutput = zod.z.object({ saved: zod.z.array(zod.z.boolean()).describe("Array of boolean values in the same order as the requested album IDs. True indicates the album is saved in the user's library, False indicates it is not.") }).passthrough().describe("Response schema for `CheckUserSSavedAlbums`");
6
6
  const spotifyCheckUserSSavedAlbums = require_action.action("SPOTIFY_CHECK_USER_S_SAVED_ALBUMS", {
7
7
  slug: "spotify-check-user-s-saved-albums",
8
8
  name: "Check user s saved albums",
@@ -1 +1 @@
1
- {"version":3,"file":"check-user-s-saved-albums.cjs","names":["z","action"],"sources":["../../src/actions/check-user-s-saved-albums.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyCheckUserSSavedAlbumsInput = z.object({\n ids: z.string().describe(\"A comma-separated list of Spotify album IDs. Maximum: 20 IDs. Example: '382ObEPsp2rxGrnsizN5TX,1A2GTWGtFfWp7KSQTwWOyo'\"),\n}).describe(\"Request schema for `CheckUserSSavedAlbums`\");\nexport const SpotifyCheckUserSSavedAlbumsOutput = z.object({\n saved: z.array(z.boolean()).describe(\"Array of boolean values in the same order as the requested album IDs. True indicates the album is saved in the user's library, False indicates it is not.\"),\n}).describe(\"Response schema for `CheckUserSSavedAlbums`\");\n\nexport const spotifyCheckUserSSavedAlbums = action(\"SPOTIFY_CHECK_USER_S_SAVED_ALBUMS\", {\n slug: \"spotify-check-user-s-saved-albums\",\n name: \"Check user s saved albums\",\n description: \"Check if one or more albums is already saved in the current Spotify user's 'Your Music' library.\",\n input: SpotifyCheckUserSSavedAlbumsInput,\n output: SpotifyCheckUserSSavedAlbumsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wHAAwH,EACnJ,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2JAA2J,EAClM,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAEzD,MAAa,+BAA+BC,eAAAA,OAAO,qCAAqC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"check-user-s-saved-albums.cjs","names":["z","action"],"sources":["../../src/actions/check-user-s-saved-albums.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyCheckUserSSavedAlbumsInput = z.object({\n ids: z.string().describe(\"A comma-separated list of Spotify album IDs. Maximum: 20 IDs. Example: '382ObEPsp2rxGrnsizN5TX,1A2GTWGtFfWp7KSQTwWOyo'\"),\n}).describe(\"Request schema for `CheckUserSSavedAlbums`\");\nexport const SpotifyCheckUserSSavedAlbumsOutput = z.object({\n saved: z.array(z.boolean()).describe(\"Array of boolean values in the same order as the requested album IDs. True indicates the album is saved in the user's library, False indicates it is not.\"),\n}).passthrough().describe(\"Response schema for `CheckUserSSavedAlbums`\");\n\nexport const spotifyCheckUserSSavedAlbums = action(\"SPOTIFY_CHECK_USER_S_SAVED_ALBUMS\", {\n slug: \"spotify-check-user-s-saved-albums\",\n name: \"Check user s saved albums\",\n description: \"Check if one or more albums is already saved in the current Spotify user's 'Your Music' library.\",\n input: SpotifyCheckUserSSavedAlbumsInput,\n output: SpotifyCheckUserSSavedAlbumsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wHAAwH,EACnJ,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2JAA2J,EAClM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,+BAA+BC,eAAAA,OAAO,qCAAqC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -6,7 +6,7 @@ declare const SpotifyCheckUserSSavedAlbumsInput: z.ZodObject<{
6
6
  }, z.core.$strip>;
7
7
  declare const SpotifyCheckUserSSavedAlbumsOutput: z.ZodObject<{
8
8
  saved: z.ZodArray<z.ZodBoolean>;
9
- }, z.core.$strip>;
9
+ }, z.core.$loose>;
10
10
  declare const spotifyCheckUserSSavedAlbums: import("@keystrokehq/action").WorkflowActionDefinition<{
11
11
  ids: string;
12
12
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -6,7 +6,7 @@ declare const SpotifyCheckUserSSavedAlbumsInput: z.ZodObject<{
6
6
  }, z.core.$strip>;
7
7
  declare const SpotifyCheckUserSSavedAlbumsOutput: z.ZodObject<{
8
8
  saved: z.ZodArray<z.ZodBoolean>;
9
- }, z.core.$strip>;
9
+ }, z.core.$loose>;
10
10
  declare const spotifyCheckUserSSavedAlbums: import("@keystrokehq/action").WorkflowActionDefinition<{
11
11
  ids: string;
12
12
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -5,7 +5,7 @@ const spotifyCheckUserSSavedAlbums = action("SPOTIFY_CHECK_USER_S_SAVED_ALBUMS",
5
5
  name: "Check user s saved albums",
6
6
  description: "Check if one or more albums is already saved in the current Spotify user's 'Your Music' library.",
7
7
  input: z.object({ ids: z.string().describe("A comma-separated list of Spotify album IDs. Maximum: 20 IDs. Example: '382ObEPsp2rxGrnsizN5TX,1A2GTWGtFfWp7KSQTwWOyo'") }).describe("Request schema for `CheckUserSSavedAlbums`"),
8
- output: z.object({ saved: z.array(z.boolean()).describe("Array of boolean values in the same order as the requested album IDs. True indicates the album is saved in the user's library, False indicates it is not.") }).describe("Response schema for `CheckUserSSavedAlbums`")
8
+ output: z.object({ saved: z.array(z.boolean()).describe("Array of boolean values in the same order as the requested album IDs. True indicates the album is saved in the user's library, False indicates it is not.") }).passthrough().describe("Response schema for `CheckUserSSavedAlbums`")
9
9
  });
10
10
  //#endregion
11
11
  export { spotifyCheckUserSSavedAlbums };
@@ -1 +1 @@
1
- {"version":3,"file":"check-user-s-saved-albums.mjs","names":[],"sources":["../../src/actions/check-user-s-saved-albums.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyCheckUserSSavedAlbumsInput = z.object({\n ids: z.string().describe(\"A comma-separated list of Spotify album IDs. Maximum: 20 IDs. Example: '382ObEPsp2rxGrnsizN5TX,1A2GTWGtFfWp7KSQTwWOyo'\"),\n}).describe(\"Request schema for `CheckUserSSavedAlbums`\");\nexport const SpotifyCheckUserSSavedAlbumsOutput = z.object({\n saved: z.array(z.boolean()).describe(\"Array of boolean values in the same order as the requested album IDs. True indicates the album is saved in the user's library, False indicates it is not.\"),\n}).describe(\"Response schema for `CheckUserSSavedAlbums`\");\n\nexport const spotifyCheckUserSSavedAlbums = action(\"SPOTIFY_CHECK_USER_S_SAVED_ALBUMS\", {\n slug: \"spotify-check-user-s-saved-albums\",\n name: \"Check user s saved albums\",\n description: \"Check if one or more albums is already saved in the current Spotify user's 'Your Music' library.\",\n input: SpotifyCheckUserSSavedAlbumsInput,\n output: SpotifyCheckUserSSavedAlbumsOutput,\n});\n"],"mappings":";;AAWA,MAAa,+BAA+B,OAAO,qCAAqC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX+C,EAAE,OAAO,EACxD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,wHAAwH,EACnJ,CAAC,CAAC,CAAC,SAAS,4CASH;CACP,QATgD,EAAE,OAAO,EACzD,OAAO,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2JAA2J,EAClM,CAAC,CAAC,CAAC,SAAS,6CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"check-user-s-saved-albums.mjs","names":[],"sources":["../../src/actions/check-user-s-saved-albums.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyCheckUserSSavedAlbumsInput = z.object({\n ids: z.string().describe(\"A comma-separated list of Spotify album IDs. Maximum: 20 IDs. Example: '382ObEPsp2rxGrnsizN5TX,1A2GTWGtFfWp7KSQTwWOyo'\"),\n}).describe(\"Request schema for `CheckUserSSavedAlbums`\");\nexport const SpotifyCheckUserSSavedAlbumsOutput = z.object({\n saved: z.array(z.boolean()).describe(\"Array of boolean values in the same order as the requested album IDs. True indicates the album is saved in the user's library, False indicates it is not.\"),\n}).passthrough().describe(\"Response schema for `CheckUserSSavedAlbums`\");\n\nexport const spotifyCheckUserSSavedAlbums = action(\"SPOTIFY_CHECK_USER_S_SAVED_ALBUMS\", {\n slug: \"spotify-check-user-s-saved-albums\",\n name: \"Check user s saved albums\",\n description: \"Check if one or more albums is already saved in the current Spotify user's 'Your Music' library.\",\n input: SpotifyCheckUserSSavedAlbumsInput,\n output: SpotifyCheckUserSSavedAlbumsOutput,\n});\n"],"mappings":";;AAWA,MAAa,+BAA+B,OAAO,qCAAqC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX+C,EAAE,OAAO,EACxD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,wHAAwH,EACnJ,CAAC,CAAC,CAAC,SAAS,4CASH;CACP,QATgD,EAAE,OAAO,EACzD,OAAO,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2JAA2J,EAClM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAOhB;AACV,CAAC"}
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/check-user-s-saved-audiobooks.ts
4
4
  const SpotifyCheckUserSSavedAudiobooksInput = zod.z.object({ ids: zod.z.string().describe("A comma-separated list of Spotify audiobook IDs to check. Maximum 50 IDs. Example: '18yVqkdbdRvS24c0Ilj2ci,1HGw3J3NxZO1TP1BTtVhpZ'") }).describe("Request schema for `CheckUserSSavedAudiobooks`");
5
- const SpotifyCheckUserSSavedAudiobooksOutput = zod.z.object({ data: zod.z.array(zod.z.boolean()) }).describe("Response schema for `CheckUserSSavedAudiobooks`");
5
+ const SpotifyCheckUserSSavedAudiobooksOutput = zod.z.object({ data: zod.z.array(zod.z.boolean()) }).passthrough().describe("Response schema for `CheckUserSSavedAudiobooks`");
6
6
  const spotifyCheckUserSSavedAudiobooks = require_action.action("SPOTIFY_CHECK_USER_S_SAVED_AUDIOBOOKS", {
7
7
  slug: "spotify-check-user-s-saved-audiobooks",
8
8
  name: "Check user s saved audiobooks",
@@ -1 +1 @@
1
- {"version":3,"file":"check-user-s-saved-audiobooks.cjs","names":["z","action"],"sources":["../../src/actions/check-user-s-saved-audiobooks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyCheckUserSSavedAudiobooksInput = z.object({\n ids: z.string().describe(\"A comma-separated list of Spotify audiobook IDs to check. Maximum 50 IDs. Example: '18yVqkdbdRvS24c0Ilj2ci,1HGw3J3NxZO1TP1BTtVhpZ'\"),\n}).describe(\"Request schema for `CheckUserSSavedAudiobooks`\");\nexport const SpotifyCheckUserSSavedAudiobooksOutput = z.object({\n data: z.array(z.boolean()),\n}).describe(\"Response schema for `CheckUserSSavedAudiobooks`\");\n\nexport const spotifyCheckUserSSavedAudiobooks = action(\"SPOTIFY_CHECK_USER_S_SAVED_AUDIOBOOKS\", {\n slug: \"spotify-check-user-s-saved-audiobooks\",\n name: \"Check user s saved audiobooks\",\n description: \"Check if one or more audiobooks are already saved in the current Spotify user's library. Returns an array of boolean values indicating whether each audiobook (by ID) is saved in the user's library. Requires user-library-read scope.\",\n input: SpotifyCheckUserSSavedAudiobooksInput,\n output: SpotifyCheckUserSSavedAudiobooksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO,EAC5D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oIAAoI,EAC/J,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAa,yCAAyCA,IAAAA,EAAE,OAAO,EAC7D,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,EAC3B,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAE7D,MAAa,mCAAmCC,eAAAA,OAAO,yCAAyC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"check-user-s-saved-audiobooks.cjs","names":["z","action"],"sources":["../../src/actions/check-user-s-saved-audiobooks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyCheckUserSSavedAudiobooksInput = z.object({\n ids: z.string().describe(\"A comma-separated list of Spotify audiobook IDs to check. Maximum 50 IDs. Example: '18yVqkdbdRvS24c0Ilj2ci,1HGw3J3NxZO1TP1BTtVhpZ'\"),\n}).describe(\"Request schema for `CheckUserSSavedAudiobooks`\");\nexport const SpotifyCheckUserSSavedAudiobooksOutput = z.object({\n data: z.array(z.boolean()),\n}).passthrough().describe(\"Response schema for `CheckUserSSavedAudiobooks`\");\n\nexport const spotifyCheckUserSSavedAudiobooks = action(\"SPOTIFY_CHECK_USER_S_SAVED_AUDIOBOOKS\", {\n slug: \"spotify-check-user-s-saved-audiobooks\",\n name: \"Check user s saved audiobooks\",\n description: \"Check if one or more audiobooks are already saved in the current Spotify user's library. Returns an array of boolean values indicating whether each audiobook (by ID) is saved in the user's library. Requires user-library-read scope.\",\n input: SpotifyCheckUserSSavedAudiobooksInput,\n output: SpotifyCheckUserSSavedAudiobooksOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO,EAC5D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oIAAoI,EAC/J,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAa,yCAAyCA,IAAAA,EAAE,OAAO,EAC7D,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,EAC3B,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAE3E,MAAa,mCAAmCC,eAAAA,OAAO,yCAAyC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -6,7 +6,7 @@ declare const SpotifyCheckUserSSavedAudiobooksInput: z.ZodObject<{
6
6
  }, z.core.$strip>;
7
7
  declare const SpotifyCheckUserSSavedAudiobooksOutput: z.ZodObject<{
8
8
  data: z.ZodArray<z.ZodBoolean>;
9
- }, z.core.$strip>;
9
+ }, z.core.$loose>;
10
10
  declare const spotifyCheckUserSSavedAudiobooks: import("@keystrokehq/action").WorkflowActionDefinition<{
11
11
  ids: string;
12
12
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -6,7 +6,7 @@ declare const SpotifyCheckUserSSavedAudiobooksInput: z.ZodObject<{
6
6
  }, z.core.$strip>;
7
7
  declare const SpotifyCheckUserSSavedAudiobooksOutput: z.ZodObject<{
8
8
  data: z.ZodArray<z.ZodBoolean>;
9
- }, z.core.$strip>;
9
+ }, z.core.$loose>;
10
10
  declare const spotifyCheckUserSSavedAudiobooks: import("@keystrokehq/action").WorkflowActionDefinition<{
11
11
  ids: string;
12
12
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -5,7 +5,7 @@ const spotifyCheckUserSSavedAudiobooks = action("SPOTIFY_CHECK_USER_S_SAVED_AUDI
5
5
  name: "Check user s saved audiobooks",
6
6
  description: "Check if one or more audiobooks are already saved in the current Spotify user's library. Returns an array of boolean values indicating whether each audiobook (by ID) is saved in the user's library. Requires user-library-read scope.",
7
7
  input: z.object({ ids: z.string().describe("A comma-separated list of Spotify audiobook IDs to check. Maximum 50 IDs. Example: '18yVqkdbdRvS24c0Ilj2ci,1HGw3J3NxZO1TP1BTtVhpZ'") }).describe("Request schema for `CheckUserSSavedAudiobooks`"),
8
- output: z.object({ data: z.array(z.boolean()) }).describe("Response schema for `CheckUserSSavedAudiobooks`")
8
+ output: z.object({ data: z.array(z.boolean()) }).passthrough().describe("Response schema for `CheckUserSSavedAudiobooks`")
9
9
  });
10
10
  //#endregion
11
11
  export { spotifyCheckUserSSavedAudiobooks };
@@ -1 +1 @@
1
- {"version":3,"file":"check-user-s-saved-audiobooks.mjs","names":[],"sources":["../../src/actions/check-user-s-saved-audiobooks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyCheckUserSSavedAudiobooksInput = z.object({\n ids: z.string().describe(\"A comma-separated list of Spotify audiobook IDs to check. Maximum 50 IDs. Example: '18yVqkdbdRvS24c0Ilj2ci,1HGw3J3NxZO1TP1BTtVhpZ'\"),\n}).describe(\"Request schema for `CheckUserSSavedAudiobooks`\");\nexport const SpotifyCheckUserSSavedAudiobooksOutput = z.object({\n data: z.array(z.boolean()),\n}).describe(\"Response schema for `CheckUserSSavedAudiobooks`\");\n\nexport const spotifyCheckUserSSavedAudiobooks = action(\"SPOTIFY_CHECK_USER_S_SAVED_AUDIOBOOKS\", {\n slug: \"spotify-check-user-s-saved-audiobooks\",\n name: \"Check user s saved audiobooks\",\n description: \"Check if one or more audiobooks are already saved in the current Spotify user's library. Returns an array of boolean values indicating whether each audiobook (by ID) is saved in the user's library. Requires user-library-read scope.\",\n input: SpotifyCheckUserSSavedAudiobooksInput,\n output: SpotifyCheckUserSSavedAudiobooksOutput,\n});\n"],"mappings":";;AAWA,MAAa,mCAAmC,OAAO,yCAAyC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXmD,EAAE,OAAO,EAC5D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oIAAoI,EAC/J,CAAC,CAAC,CAAC,SAAS,gDASH;CACP,QAToD,EAAE,OAAO,EAC7D,MAAM,EAAE,MAAM,EAAE,QAAQ,CAAC,EAC3B,CAAC,CAAC,CAAC,SAAS,iDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"check-user-s-saved-audiobooks.mjs","names":[],"sources":["../../src/actions/check-user-s-saved-audiobooks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyCheckUserSSavedAudiobooksInput = z.object({\n ids: z.string().describe(\"A comma-separated list of Spotify audiobook IDs to check. Maximum 50 IDs. Example: '18yVqkdbdRvS24c0Ilj2ci,1HGw3J3NxZO1TP1BTtVhpZ'\"),\n}).describe(\"Request schema for `CheckUserSSavedAudiobooks`\");\nexport const SpotifyCheckUserSSavedAudiobooksOutput = z.object({\n data: z.array(z.boolean()),\n}).passthrough().describe(\"Response schema for `CheckUserSSavedAudiobooks`\");\n\nexport const spotifyCheckUserSSavedAudiobooks = action(\"SPOTIFY_CHECK_USER_S_SAVED_AUDIOBOOKS\", {\n slug: \"spotify-check-user-s-saved-audiobooks\",\n name: \"Check user s saved audiobooks\",\n description: \"Check if one or more audiobooks are already saved in the current Spotify user's library. Returns an array of boolean values indicating whether each audiobook (by ID) is saved in the user's library. Requires user-library-read scope.\",\n input: SpotifyCheckUserSSavedAudiobooksInput,\n output: SpotifyCheckUserSSavedAudiobooksOutput,\n});\n"],"mappings":";;AAWA,MAAa,mCAAmC,OAAO,yCAAyC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXmD,EAAE,OAAO,EAC5D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oIAAoI,EAC/J,CAAC,CAAC,CAAC,SAAS,gDASH;CACP,QAToD,EAAE,OAAO,EAC7D,MAAM,EAAE,MAAM,EAAE,QAAQ,CAAC,EAC3B,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAOhB;AACV,CAAC"}
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/check-user-s-saved-shows.ts
4
4
  const SpotifyCheckUserSSavedShowsInput = zod.z.object({ ids: zod.z.string().describe("A comma-separated list of the Spotify IDs for the shows. Maximum: 50 IDs. Example: '5CfCWKI5pZ28U0uOzXkDHe,5as3aKmN2k11yfDDDSrvaZ'") }).describe("Request schema for `CheckUserSSavedShows`");
5
- const SpotifyCheckUserSSavedShowsOutput = zod.z.object({ data: zod.z.array(zod.z.boolean()).describe("Array of booleans indicating whether each show ID is saved in the user's library. The order matches the order of IDs in the request.") }).describe("Response schema for `CheckUserSSavedShows`");
5
+ const SpotifyCheckUserSSavedShowsOutput = zod.z.object({ data: zod.z.array(zod.z.boolean()).describe("Array of booleans indicating whether each show ID is saved in the user's library. The order matches the order of IDs in the request.") }).passthrough().describe("Response schema for `CheckUserSSavedShows`");
6
6
  const spotifyCheckUserSSavedShows = require_action.action("SPOTIFY_CHECK_USER_S_SAVED_SHOWS", {
7
7
  slug: "spotify-check-user-s-saved-shows",
8
8
  name: "Check user's saved shows",
@@ -1 +1 @@
1
- {"version":3,"file":"check-user-s-saved-shows.cjs","names":["z","action"],"sources":["../../src/actions/check-user-s-saved-shows.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyCheckUserSSavedShowsInput = z.object({\n ids: z.string().describe(\"A comma-separated list of the Spotify IDs for the shows. Maximum: 50 IDs. Example: '5CfCWKI5pZ28U0uOzXkDHe,5as3aKmN2k11yfDDDSrvaZ'\"),\n}).describe(\"Request schema for `CheckUserSSavedShows`\");\nexport const SpotifyCheckUserSSavedShowsOutput = z.object({\n data: z.array(z.boolean()).describe(\"Array of booleans indicating whether each show ID is saved in the user's library. The order matches the order of IDs in the request.\"),\n}).describe(\"Response schema for `CheckUserSSavedShows`\");\n\nexport const spotifyCheckUserSSavedShows = action(\"SPOTIFY_CHECK_USER_S_SAVED_SHOWS\", {\n slug: \"spotify-check-user-s-saved-shows\",\n name: \"Check user's saved shows\",\n description: \"Check if one or more shows is already saved in the current Spotify user's library. This endpoint checks whether the specified shows are saved in the authenticated user's library. It returns a list of boolean values, one for each show ID provided, indicating whether that show is saved.\",\n input: SpotifyCheckUserSSavedShowsInput,\n output: SpotifyCheckUserSSavedShowsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oIAAoI,EAC/J,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sIAAsI,EAC5K,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAExD,MAAa,8BAA8BC,eAAAA,OAAO,oCAAoC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"check-user-s-saved-shows.cjs","names":["z","action"],"sources":["../../src/actions/check-user-s-saved-shows.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyCheckUserSSavedShowsInput = z.object({\n ids: z.string().describe(\"A comma-separated list of the Spotify IDs for the shows. Maximum: 50 IDs. Example: '5CfCWKI5pZ28U0uOzXkDHe,5as3aKmN2k11yfDDDSrvaZ'\"),\n}).describe(\"Request schema for `CheckUserSSavedShows`\");\nexport const SpotifyCheckUserSSavedShowsOutput = z.object({\n data: z.array(z.boolean()).describe(\"Array of booleans indicating whether each show ID is saved in the user's library. The order matches the order of IDs in the request.\"),\n}).passthrough().describe(\"Response schema for `CheckUserSSavedShows`\");\n\nexport const spotifyCheckUserSSavedShows = action(\"SPOTIFY_CHECK_USER_S_SAVED_SHOWS\", {\n slug: \"spotify-check-user-s-saved-shows\",\n name: \"Check user's saved shows\",\n description: \"Check if one or more shows is already saved in the current Spotify user's library. This endpoint checks whether the specified shows are saved in the authenticated user's library. It returns a list of boolean values, one for each show ID provided, indicating whether that show is saved.\",\n input: SpotifyCheckUserSSavedShowsInput,\n output: SpotifyCheckUserSSavedShowsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oIAAoI,EAC/J,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sIAAsI,EAC5K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,8BAA8BC,eAAAA,OAAO,oCAAoC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -6,7 +6,7 @@ declare const SpotifyCheckUserSSavedShowsInput: z.ZodObject<{
6
6
  }, z.core.$strip>;
7
7
  declare const SpotifyCheckUserSSavedShowsOutput: z.ZodObject<{
8
8
  data: z.ZodArray<z.ZodBoolean>;
9
- }, z.core.$strip>;
9
+ }, z.core.$loose>;
10
10
  declare const spotifyCheckUserSSavedShows: import("@keystrokehq/action").WorkflowActionDefinition<{
11
11
  ids: string;
12
12
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -6,7 +6,7 @@ declare const SpotifyCheckUserSSavedShowsInput: z.ZodObject<{
6
6
  }, z.core.$strip>;
7
7
  declare const SpotifyCheckUserSSavedShowsOutput: z.ZodObject<{
8
8
  data: z.ZodArray<z.ZodBoolean>;
9
- }, z.core.$strip>;
9
+ }, z.core.$loose>;
10
10
  declare const spotifyCheckUserSSavedShows: import("@keystrokehq/action").WorkflowActionDefinition<{
11
11
  ids: string;
12
12
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -5,7 +5,7 @@ const spotifyCheckUserSSavedShows = action("SPOTIFY_CHECK_USER_S_SAVED_SHOWS", {
5
5
  name: "Check user's saved shows",
6
6
  description: "Check if one or more shows is already saved in the current Spotify user's library. This endpoint checks whether the specified shows are saved in the authenticated user's library. It returns a list of boolean values, one for each show ID provided, indicating whether that show is saved.",
7
7
  input: z.object({ ids: z.string().describe("A comma-separated list of the Spotify IDs for the shows. Maximum: 50 IDs. Example: '5CfCWKI5pZ28U0uOzXkDHe,5as3aKmN2k11yfDDDSrvaZ'") }).describe("Request schema for `CheckUserSSavedShows`"),
8
- output: z.object({ data: z.array(z.boolean()).describe("Array of booleans indicating whether each show ID is saved in the user's library. The order matches the order of IDs in the request.") }).describe("Response schema for `CheckUserSSavedShows`")
8
+ output: z.object({ data: z.array(z.boolean()).describe("Array of booleans indicating whether each show ID is saved in the user's library. The order matches the order of IDs in the request.") }).passthrough().describe("Response schema for `CheckUserSSavedShows`")
9
9
  });
10
10
  //#endregion
11
11
  export { spotifyCheckUserSSavedShows };
@@ -1 +1 @@
1
- {"version":3,"file":"check-user-s-saved-shows.mjs","names":[],"sources":["../../src/actions/check-user-s-saved-shows.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyCheckUserSSavedShowsInput = z.object({\n ids: z.string().describe(\"A comma-separated list of the Spotify IDs for the shows. Maximum: 50 IDs. Example: '5CfCWKI5pZ28U0uOzXkDHe,5as3aKmN2k11yfDDDSrvaZ'\"),\n}).describe(\"Request schema for `CheckUserSSavedShows`\");\nexport const SpotifyCheckUserSSavedShowsOutput = z.object({\n data: z.array(z.boolean()).describe(\"Array of booleans indicating whether each show ID is saved in the user's library. The order matches the order of IDs in the request.\"),\n}).describe(\"Response schema for `CheckUserSSavedShows`\");\n\nexport const spotifyCheckUserSSavedShows = action(\"SPOTIFY_CHECK_USER_S_SAVED_SHOWS\", {\n slug: \"spotify-check-user-s-saved-shows\",\n name: \"Check user's saved shows\",\n description: \"Check if one or more shows is already saved in the current Spotify user's library. This endpoint checks whether the specified shows are saved in the authenticated user's library. It returns a list of boolean values, one for each show ID provided, indicating whether that show is saved.\",\n input: SpotifyCheckUserSSavedShowsInput,\n output: SpotifyCheckUserSSavedShowsOutput,\n});\n"],"mappings":";;AAWA,MAAa,8BAA8B,OAAO,oCAAoC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX8C,EAAE,OAAO,EACvD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oIAAoI,EAC/J,CAAC,CAAC,CAAC,SAAS,2CASH;CACP,QAT+C,EAAE,OAAO,EACxD,MAAM,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sIAAsI,EAC5K,CAAC,CAAC,CAAC,SAAS,4CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"check-user-s-saved-shows.mjs","names":[],"sources":["../../src/actions/check-user-s-saved-shows.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyCheckUserSSavedShowsInput = z.object({\n ids: z.string().describe(\"A comma-separated list of the Spotify IDs for the shows. Maximum: 50 IDs. Example: '5CfCWKI5pZ28U0uOzXkDHe,5as3aKmN2k11yfDDDSrvaZ'\"),\n}).describe(\"Request schema for `CheckUserSSavedShows`\");\nexport const SpotifyCheckUserSSavedShowsOutput = z.object({\n data: z.array(z.boolean()).describe(\"Array of booleans indicating whether each show ID is saved in the user's library. The order matches the order of IDs in the request.\"),\n}).passthrough().describe(\"Response schema for `CheckUserSSavedShows`\");\n\nexport const spotifyCheckUserSSavedShows = action(\"SPOTIFY_CHECK_USER_S_SAVED_SHOWS\", {\n slug: \"spotify-check-user-s-saved-shows\",\n name: \"Check user's saved shows\",\n description: \"Check if one or more shows is already saved in the current Spotify user's library. This endpoint checks whether the specified shows are saved in the authenticated user's library. It returns a list of boolean values, one for each show ID provided, indicating whether that show is saved.\",\n input: SpotifyCheckUserSSavedShowsInput,\n output: SpotifyCheckUserSSavedShowsOutput,\n});\n"],"mappings":";;AAWA,MAAa,8BAA8B,OAAO,oCAAoC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX8C,EAAE,OAAO,EACvD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oIAAoI,EAC/J,CAAC,CAAC,CAAC,SAAS,2CASH;CACP,QAT+C,EAAE,OAAO,EACxD,MAAM,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sIAAsI,EAC5K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAOhB;AACV,CAAC"}
@@ -8,7 +8,7 @@ const SpotifyCreatePlaylistInput = zod.z.object({
8
8
  description: zod.z.string().describe("The playlist description as displayed in Spotify Clients and in the Web API. Optional field for providing additional context about the playlist.").optional(),
9
9
  collaborative: zod.z.boolean().describe("Defaults to `false`. If `true` the playlist will be collaborative. _**Note**: to create a collaborative playlist you must also set `public` to `false`. To create collaborative playlists you must have granted `playlist-modify-private` and `playlist-modify-public` [scopes](/documentation/web-api/concepts/scopes/#list-of-scopes)._").optional()
10
10
  }).describe("Request schema for `CreatePlaylist`");
11
- const SpotifyCreatePlaylist_ExternalUrlsSchema = zod.z.object({ spotify: zod.z.string().describe("The Spotify URL for the object").nullable() }).describe("Known external URLs for the object");
11
+ const SpotifyCreatePlaylist_ExternalUrlsSchema = zod.z.object({ spotify: zod.z.string().describe("The Spotify URL for the object").nullable() }).passthrough().describe("Known external URLs for the object");
12
12
  const SpotifyCreatePlaylist_OwnerSchema = zod.z.object({
13
13
  id: zod.z.string().describe("The Spotify user ID for this user").nullable(),
14
14
  uri: zod.z.string().describe("The Spotify URI for this user").nullable(),
@@ -16,25 +16,25 @@ const SpotifyCreatePlaylist_OwnerSchema = zod.z.object({
16
16
  type: zod.z.string().describe("The object type: user").nullable(),
17
17
  display_name: zod.z.string().describe("The name displayed on the user's profile. null if not available").nullable().optional(),
18
18
  external_urls: SpotifyCreatePlaylist_ExternalUrlsSchema.nullable()
19
- }).describe("The user who owns the playlist");
19
+ }).passthrough().describe("The user who owns the playlist");
20
20
  const SpotifyCreatePlaylist_ImageSchema = zod.z.object({
21
21
  url: zod.z.string().describe("The source URL of the image").nullable(),
22
22
  width: zod.z.number().int().describe("The image width in pixels").nullable(),
23
23
  height: zod.z.number().int().describe("The image height in pixels").nullable()
24
- }).describe("Image object with dimensions");
24
+ }).passthrough().describe("Image object with dimensions");
25
25
  const SpotifyCreatePlaylist_AddedBySchema = zod.z.object({
26
26
  id: zod.z.string().describe("The Spotify user ID for this user").nullable(),
27
27
  uri: zod.z.string().describe("The Spotify URI for this user").nullable(),
28
28
  href: zod.z.string().describe("A link to the Web API endpoint for this user").nullable(),
29
29
  type: zod.z.string().describe("The object type: user").nullable(),
30
30
  external_urls: SpotifyCreatePlaylist_ExternalUrlsSchema.nullable()
31
- }).describe("The Spotify user who added the track or episode");
31
+ }).passthrough().describe("The Spotify user who added the track or episode");
32
32
  const SpotifyCreatePlaylist_PlaylistTrackItemSchema = zod.z.object({
33
33
  track: zod.z.unknown().describe("Information about the track or episode (can be TrackObject or EpisodeObject)"),
34
34
  added_at: zod.z.string().describe("The date and time the track or episode was added. Some very old playlists may return null").nullable().optional(),
35
35
  added_by: SpotifyCreatePlaylist_AddedBySchema.nullable().optional(),
36
36
  is_local: zod.z.boolean().describe("Whether this track or episode is a local file or not").nullable()
37
- }).describe("A single playlist track or episode item");
37
+ }).passthrough().describe("A single playlist track or episode item");
38
38
  const SpotifyCreatePlaylist_TracksSchema = zod.z.object({
39
39
  href: zod.z.string().describe("A link to the Web API endpoint returning the full result").nullable(),
40
40
  next: zod.z.string().nullable(),
@@ -43,7 +43,7 @@ const SpotifyCreatePlaylist_TracksSchema = zod.z.object({
43
43
  total: zod.z.number().int().describe("The total number of items available to return").nullable(),
44
44
  offset: zod.z.number().int().describe("The offset of the items returned").nullable(),
45
45
  previous: zod.z.string().nullable()
46
- }).describe("The tracks of the playlist");
46
+ }).passthrough().describe("The tracks of the playlist");
47
47
  const SpotifyCreatePlaylistOutput = zod.z.object({
48
48
  id: zod.z.string().describe("The Spotify ID for the playlist").nullable(),
49
49
  uri: zod.z.string().describe("The Spotify URI for the playlist").nullable(),
@@ -58,7 +58,7 @@ const SpotifyCreatePlaylistOutput = zod.z.object({
58
58
  snapshot_id: zod.z.string().describe("The version identifier for the current playlist").nullable(),
59
59
  collaborative: zod.z.boolean().describe("true if the owner allows other users to modify the playlist").nullable(),
60
60
  external_urls: SpotifyCreatePlaylist_ExternalUrlsSchema.nullable()
61
- }).describe("Response schema for `CreatePlaylist`\n\nReturns the newly created playlist object with details including:\n- id: The Spotify ID for the playlist\n- name: The playlist name\n- description: The playlist description\n- public: Whether the playlist is public (true) or private (false)\n- collaborative: Whether the playlist is collaborative\n- owner: Object containing the owner's user ID and profile link\n- uri: The Spotify URI for the playlist\n- external_urls: External URLs including the Spotify web URL\n- snapshot_id: The version identifier for the current playlist\n- tracks: Object containing playlist tracks (initially empty with total: 0)");
61
+ }).passthrough().describe("Response schema for `CreatePlaylist`\n\nReturns the newly created playlist object with details including:\n- id: The Spotify ID for the playlist\n- name: The playlist name\n- description: The playlist description\n- public: Whether the playlist is public (true) or private (false)\n- collaborative: Whether the playlist is collaborative\n- owner: Object containing the owner's user ID and profile link\n- uri: The Spotify URI for the playlist\n- external_urls: External URLs including the Spotify web URL\n- snapshot_id: The version identifier for the current playlist\n- tracks: Object containing playlist tracks (initially empty with total: 0)");
62
62
  const spotifyCreatePlaylist = require_action.action("SPOTIFY_CREATE_PLAYLIST", {
63
63
  slug: "spotify-create-playlist",
64
64
  name: "Create playlist",
@@ -1 +1 @@
1
- {"version":3,"file":"create-playlist.cjs","names":["z","action"],"sources":["../../src/actions/create-playlist.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyCreatePlaylistInput = z.object({\n name: z.string().describe(\"The name for the new playlist, for example `\\\"Your Coolest Playlist\\\"`. This name does not need to be unique; a user may have several playlists with the same name.\"),\n public: z.boolean().describe(\"Defaults to `true`. If `true` the playlist will be public, if `false` it will be private. To be able to create private playlists, the user must have granted the `playlist-modify-private` [scope](/documentation/web-api/concepts/scopes/#list-of-scopes)\").optional(),\n user_id: z.string().describe(\"The Spotify user ID for whom to create the playlist. This can be obtained from the user's profile (e.g., using get_current_user_s_profile action).\"),\n description: z.string().describe(\"The playlist description as displayed in Spotify Clients and in the Web API. Optional field for providing additional context about the playlist.\").optional(),\n collaborative: z.boolean().describe(\"Defaults to `false`. If `true` the playlist will be collaborative. _**Note**: to create a collaborative playlist you must also set `public` to `false`. To create collaborative playlists you must have granted `playlist-modify-private` and `playlist-modify-public` [scopes](/documentation/web-api/concepts/scopes/#list-of-scopes)._\").optional(),\n}).describe(\"Request schema for `CreatePlaylist`\");\nconst SpotifyCreatePlaylist_ExternalUrlsSchema = z.object({\n spotify: z.string().describe(\"The Spotify URL for the object\").nullable(),\n}).describe(\"Known external URLs for the object\");\nconst SpotifyCreatePlaylist_OwnerSchema = z.object({\n id: z.string().describe(\"The Spotify user ID for this user\").nullable(),\n uri: z.string().describe(\"The Spotify URI for this user\").nullable(),\n href: z.string().describe(\"A link to the Web API endpoint for this user\").nullable(),\n type: z.string().describe(\"The object type: user\").nullable(),\n display_name: z.string().describe(\"The name displayed on the user's profile. null if not available\").nullable().optional(),\n external_urls: SpotifyCreatePlaylist_ExternalUrlsSchema.nullable(),\n}).describe(\"The user who owns the playlist\");\nconst SpotifyCreatePlaylist_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(),\n height: z.number().int().describe(\"The image height in pixels\").nullable(),\n}).describe(\"Image object with dimensions\");\nconst SpotifyCreatePlaylist_AddedBySchema = z.object({\n id: z.string().describe(\"The Spotify user ID for this user\").nullable(),\n uri: z.string().describe(\"The Spotify URI for this user\").nullable(),\n href: z.string().describe(\"A link to the Web API endpoint for this user\").nullable(),\n type: z.string().describe(\"The object type: user\").nullable(),\n external_urls: SpotifyCreatePlaylist_ExternalUrlsSchema.nullable(),\n}).describe(\"The Spotify user who added the track or episode\");\nconst SpotifyCreatePlaylist_PlaylistTrackItemSchema = z.object({\n track: z.unknown().describe(\"Information about the track or episode (can be TrackObject or EpisodeObject)\"),\n added_at: z.string().describe(\"The date and time the track or episode was added. Some very old playlists may return null\").nullable().optional(),\n added_by: SpotifyCreatePlaylist_AddedBySchema.nullable().optional(),\n is_local: z.boolean().describe(\"Whether this track or episode is a local file or not\").nullable(),\n}).describe(\"A single playlist track or episode item\");\nconst SpotifyCreatePlaylist_TracksSchema = z.object({\n href: z.string().describe(\"A link to the Web API endpoint returning the full result\").nullable(),\n next: z.string().nullable(),\n items: z.array(SpotifyCreatePlaylist_PlaylistTrackItemSchema).describe(\"Array of playlist tracks/episodes. When a playlist is first created, this array is empty.\"),\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 items available to return\").nullable(),\n offset: z.number().int().describe(\"The offset of the items returned\").nullable(),\n previous: z.string().nullable(),\n}).describe(\"The tracks of the playlist\");\nexport const SpotifyCreatePlaylistOutput = z.object({\n id: z.string().describe(\"The Spotify ID for the playlist\").nullable(),\n uri: z.string().describe(\"The Spotify URI for the playlist\").nullable(),\n href: z.string().describe(\"A link to the Web API endpoint providing full details\").nullable(),\n name: z.string().describe(\"The name of the playlist\").nullable(),\n type: z.string().describe(\"The object type: playlist\").nullable(),\n owner: SpotifyCreatePlaylist_OwnerSchema.nullable(),\n images: z.array(SpotifyCreatePlaylist_ImageSchema).describe(\"Images for the playlist. The array may be empty or contain up to three images\"),\n public: z.boolean().describe(\"The playlist's public/private status (true = public, false = private, null = not relevant)\").nullable(),\n tracks: SpotifyCreatePlaylist_TracksSchema.nullable(),\n description: z.string().describe(\"The playlist description. Only returned for modified, verified playlists, otherwise null\").nullable().optional(),\n snapshot_id: z.string().describe(\"The version identifier for the current playlist\").nullable(),\n collaborative: z.boolean().describe(\"true if the owner allows other users to modify the playlist\").nullable(),\n external_urls: SpotifyCreatePlaylist_ExternalUrlsSchema.nullable(),\n}).describe(\"Response schema for `CreatePlaylist`\\n\\nReturns the newly created playlist object with details including:\\n- id: The Spotify ID for the playlist\\n- name: The playlist name\\n- description: The playlist description\\n- public: Whether the playlist is public (true) or private (false)\\n- collaborative: Whether the playlist is collaborative\\n- owner: Object containing the owner's user ID and profile link\\n- uri: The Spotify URI for the playlist\\n- external_urls: External URLs including the Spotify web URL\\n- snapshot_id: The version identifier for the current playlist\\n- tracks: Object containing playlist tracks (initially empty with total: 0)\");\n\nexport const spotifyCreatePlaylist = action(\"SPOTIFY_CREATE_PLAYLIST\", {\n slug: \"spotify-create-playlist\",\n name: \"Create playlist\",\n description: \"Create a playlist for a Spotify user. (The playlist will be empty until you [add tracks](/documentation/web-api/reference/add-tracks-to-playlist).) Each user is generally limited to a maximum of 11000 playlists.\",\n input: SpotifyCreatePlaylistInput,\n output: SpotifyCreatePlaylistOutput,\n});\n"],"mappings":"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"}
1
+ {"version":3,"file":"create-playlist.cjs","names":["z","action"],"sources":["../../src/actions/create-playlist.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SpotifyCreatePlaylistInput = z.object({\n name: z.string().describe(\"The name for the new playlist, for example `\\\"Your Coolest Playlist\\\"`. This name does not need to be unique; a user may have several playlists with the same name.\"),\n public: z.boolean().describe(\"Defaults to `true`. If `true` the playlist will be public, if `false` it will be private. To be able to create private playlists, the user must have granted the `playlist-modify-private` [scope](/documentation/web-api/concepts/scopes/#list-of-scopes)\").optional(),\n user_id: z.string().describe(\"The Spotify user ID for whom to create the playlist. This can be obtained from the user's profile (e.g., using get_current_user_s_profile action).\"),\n description: z.string().describe(\"The playlist description as displayed in Spotify Clients and in the Web API. Optional field for providing additional context about the playlist.\").optional(),\n collaborative: z.boolean().describe(\"Defaults to `false`. If `true` the playlist will be collaborative. _**Note**: to create a collaborative playlist you must also set `public` to `false`. To create collaborative playlists you must have granted `playlist-modify-private` and `playlist-modify-public` [scopes](/documentation/web-api/concepts/scopes/#list-of-scopes)._\").optional(),\n}).describe(\"Request schema for `CreatePlaylist`\");\nconst SpotifyCreatePlaylist_ExternalUrlsSchema = z.object({\n spotify: z.string().describe(\"The Spotify URL for the object\").nullable(),\n}).passthrough().describe(\"Known external URLs for the object\");\nconst SpotifyCreatePlaylist_OwnerSchema = z.object({\n id: z.string().describe(\"The Spotify user ID for this user\").nullable(),\n uri: z.string().describe(\"The Spotify URI for this user\").nullable(),\n href: z.string().describe(\"A link to the Web API endpoint for this user\").nullable(),\n type: z.string().describe(\"The object type: user\").nullable(),\n display_name: z.string().describe(\"The name displayed on the user's profile. null if not available\").nullable().optional(),\n external_urls: SpotifyCreatePlaylist_ExternalUrlsSchema.nullable(),\n}).passthrough().describe(\"The user who owns the playlist\");\nconst SpotifyCreatePlaylist_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(),\n height: z.number().int().describe(\"The image height in pixels\").nullable(),\n}).passthrough().describe(\"Image object with dimensions\");\nconst SpotifyCreatePlaylist_AddedBySchema = z.object({\n id: z.string().describe(\"The Spotify user ID for this user\").nullable(),\n uri: z.string().describe(\"The Spotify URI for this user\").nullable(),\n href: z.string().describe(\"A link to the Web API endpoint for this user\").nullable(),\n type: z.string().describe(\"The object type: user\").nullable(),\n external_urls: SpotifyCreatePlaylist_ExternalUrlsSchema.nullable(),\n}).passthrough().describe(\"The Spotify user who added the track or episode\");\nconst SpotifyCreatePlaylist_PlaylistTrackItemSchema = z.object({\n track: z.unknown().describe(\"Information about the track or episode (can be TrackObject or EpisodeObject)\"),\n added_at: z.string().describe(\"The date and time the track or episode was added. Some very old playlists may return null\").nullable().optional(),\n added_by: SpotifyCreatePlaylist_AddedBySchema.nullable().optional(),\n is_local: z.boolean().describe(\"Whether this track or episode is a local file or not\").nullable(),\n}).passthrough().describe(\"A single playlist track or episode item\");\nconst SpotifyCreatePlaylist_TracksSchema = z.object({\n href: z.string().describe(\"A link to the Web API endpoint returning the full result\").nullable(),\n next: z.string().nullable(),\n items: z.array(SpotifyCreatePlaylist_PlaylistTrackItemSchema).describe(\"Array of playlist tracks/episodes. When a playlist is first created, this array is empty.\"),\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 items available to return\").nullable(),\n offset: z.number().int().describe(\"The offset of the items returned\").nullable(),\n previous: z.string().nullable(),\n}).passthrough().describe(\"The tracks of the playlist\");\nexport const SpotifyCreatePlaylistOutput = z.object({\n id: z.string().describe(\"The Spotify ID for the playlist\").nullable(),\n uri: z.string().describe(\"The Spotify URI for the playlist\").nullable(),\n href: z.string().describe(\"A link to the Web API endpoint providing full details\").nullable(),\n name: z.string().describe(\"The name of the playlist\").nullable(),\n type: z.string().describe(\"The object type: playlist\").nullable(),\n owner: SpotifyCreatePlaylist_OwnerSchema.nullable(),\n images: z.array(SpotifyCreatePlaylist_ImageSchema).describe(\"Images for the playlist. The array may be empty or contain up to three images\"),\n public: z.boolean().describe(\"The playlist's public/private status (true = public, false = private, null = not relevant)\").nullable(),\n tracks: SpotifyCreatePlaylist_TracksSchema.nullable(),\n description: z.string().describe(\"The playlist description. Only returned for modified, verified playlists, otherwise null\").nullable().optional(),\n snapshot_id: z.string().describe(\"The version identifier for the current playlist\").nullable(),\n collaborative: z.boolean().describe(\"true if the owner allows other users to modify the playlist\").nullable(),\n external_urls: SpotifyCreatePlaylist_ExternalUrlsSchema.nullable(),\n}).passthrough().describe(\"Response schema for `CreatePlaylist`\\n\\nReturns the newly created playlist object with details including:\\n- id: The Spotify ID for the playlist\\n- name: The playlist name\\n- description: The playlist description\\n- public: Whether the playlist is public (true) or private (false)\\n- collaborative: Whether the playlist is collaborative\\n- owner: Object containing the owner's user ID and profile link\\n- uri: The Spotify URI for the playlist\\n- external_urls: External URLs including the Spotify web URL\\n- snapshot_id: The version identifier for the current playlist\\n- tracks: Object containing playlist tracks (initially empty with total: 0)\");\n\nexport const spotifyCreatePlaylist = action(\"SPOTIFY_CREATE_PLAYLIST\", {\n slug: \"spotify-create-playlist\",\n name: \"Create playlist\",\n description: \"Create a playlist for a Spotify user. (The playlist will be empty until you [add tracks](/documentation/web-api/reference/add-tracks-to-playlist).) Each user is generally limited to a maximum of 11000 playlists.\",\n input: SpotifyCreatePlaylistInput,\n output: SpotifyCreatePlaylistOutput,\n});\n"],"mappings":"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"}
@@ -22,13 +22,13 @@ declare const SpotifyCreatePlaylistOutput: z.ZodObject<{
22
22
  display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
23
  external_urls: z.ZodNullable<z.ZodObject<{
24
24
  spotify: z.ZodNullable<z.ZodString>;
25
- }, z.core.$strip>>;
26
- }, z.core.$strip>>;
25
+ }, z.core.$loose>>;
26
+ }, z.core.$loose>>;
27
27
  images: z.ZodArray<z.ZodObject<{
28
28
  url: z.ZodNullable<z.ZodString>;
29
29
  width: z.ZodNullable<z.ZodNumber>;
30
30
  height: z.ZodNullable<z.ZodNumber>;
31
- }, z.core.$strip>>;
31
+ }, z.core.$loose>>;
32
32
  public: z.ZodNullable<z.ZodBoolean>;
33
33
  tracks: z.ZodNullable<z.ZodObject<{
34
34
  href: z.ZodNullable<z.ZodString>;
@@ -43,22 +43,22 @@ declare const SpotifyCreatePlaylistOutput: z.ZodObject<{
43
43
  type: z.ZodNullable<z.ZodString>;
44
44
  external_urls: z.ZodNullable<z.ZodObject<{
45
45
  spotify: z.ZodNullable<z.ZodString>;
46
- }, z.core.$strip>>;
47
- }, z.core.$strip>>>;
46
+ }, z.core.$loose>>;
47
+ }, z.core.$loose>>>;
48
48
  is_local: z.ZodNullable<z.ZodBoolean>;
49
- }, z.core.$strip>>;
49
+ }, z.core.$loose>>;
50
50
  limit: z.ZodNullable<z.ZodNumber>;
51
51
  total: z.ZodNullable<z.ZodNumber>;
52
52
  offset: z.ZodNullable<z.ZodNumber>;
53
53
  previous: z.ZodNullable<z.ZodString>;
54
- }, z.core.$strip>>;
54
+ }, z.core.$loose>>;
55
55
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
56
56
  snapshot_id: z.ZodNullable<z.ZodString>;
57
57
  collaborative: z.ZodNullable<z.ZodBoolean>;
58
58
  external_urls: z.ZodNullable<z.ZodObject<{
59
59
  spotify: z.ZodNullable<z.ZodString>;
60
- }, z.core.$strip>>;
61
- }, z.core.$strip>;
60
+ }, z.core.$loose>>;
61
+ }, z.core.$loose>;
62
62
  declare const spotifyCreatePlaylist: import("@keystrokehq/action").WorkflowActionDefinition<{
63
63
  name: string;
64
64
  user_id: string;
@@ -22,13 +22,13 @@ declare const SpotifyCreatePlaylistOutput: z.ZodObject<{
22
22
  display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
23
  external_urls: z.ZodNullable<z.ZodObject<{
24
24
  spotify: z.ZodNullable<z.ZodString>;
25
- }, z.core.$strip>>;
26
- }, z.core.$strip>>;
25
+ }, z.core.$loose>>;
26
+ }, z.core.$loose>>;
27
27
  images: z.ZodArray<z.ZodObject<{
28
28
  url: z.ZodNullable<z.ZodString>;
29
29
  width: z.ZodNullable<z.ZodNumber>;
30
30
  height: z.ZodNullable<z.ZodNumber>;
31
- }, z.core.$strip>>;
31
+ }, z.core.$loose>>;
32
32
  public: z.ZodNullable<z.ZodBoolean>;
33
33
  tracks: z.ZodNullable<z.ZodObject<{
34
34
  href: z.ZodNullable<z.ZodString>;
@@ -43,22 +43,22 @@ declare const SpotifyCreatePlaylistOutput: z.ZodObject<{
43
43
  type: z.ZodNullable<z.ZodString>;
44
44
  external_urls: z.ZodNullable<z.ZodObject<{
45
45
  spotify: z.ZodNullable<z.ZodString>;
46
- }, z.core.$strip>>;
47
- }, z.core.$strip>>>;
46
+ }, z.core.$loose>>;
47
+ }, z.core.$loose>>>;
48
48
  is_local: z.ZodNullable<z.ZodBoolean>;
49
- }, z.core.$strip>>;
49
+ }, z.core.$loose>>;
50
50
  limit: z.ZodNullable<z.ZodNumber>;
51
51
  total: z.ZodNullable<z.ZodNumber>;
52
52
  offset: z.ZodNullable<z.ZodNumber>;
53
53
  previous: z.ZodNullable<z.ZodString>;
54
- }, z.core.$strip>>;
54
+ }, z.core.$loose>>;
55
55
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
56
56
  snapshot_id: z.ZodNullable<z.ZodString>;
57
57
  collaborative: z.ZodNullable<z.ZodBoolean>;
58
58
  external_urls: z.ZodNullable<z.ZodObject<{
59
59
  spotify: z.ZodNullable<z.ZodString>;
60
- }, z.core.$strip>>;
61
- }, z.core.$strip>;
60
+ }, z.core.$loose>>;
61
+ }, z.core.$loose>;
62
62
  declare const spotifyCreatePlaylist: import("@keystrokehq/action").WorkflowActionDefinition<{
63
63
  name: string;
64
64
  user_id: string;