@types/spotify-api
Advanced tools
Comparing version 0.0.12 to 0.0.13
@@ -341,5 +341,13 @@ // Type definitions for The Spotify Web API (including changes March 29th 2016) | ||
*/ | ||
interface CategoryPlaylistsReponse { | ||
interface CategoryPlaylistsResponse { | ||
playlists: PagingObject<PlaylistObjectSimplified>; | ||
} | ||
/** | ||
* Get a categorys playlists | ||
* | ||
* GET /v1/browse/categories/{id}/playlists | ||
* https://developer.spotify.com/web-api/get-categorys-playlists/ | ||
* @deprecated Use `CategoryPlaylistsResponse` instead | ||
*/ | ||
interface CategoryPlaylistsReponse extends CategoryPlaylistsResponse {} | ||
@@ -394,3 +402,11 @@ /** | ||
*/ | ||
interface FollowPlaylistReponse extends VoidResponse {} | ||
interface FollowPlaylistResponse extends VoidResponse {} | ||
/** | ||
* Follow a Playlist | ||
* | ||
* PUT /v1/users/{owner_id}/playlists/{playlist_id}/followers | ||
* https://developer.spotify.com/web-api/follow-playlist/ | ||
* @deprecated Use `FollowPlaylistResponse` instead | ||
*/ | ||
interface FollowPlaylistReponse extends FollowPlaylistResponse {} | ||
@@ -403,3 +419,11 @@ /** | ||
*/ | ||
interface UnfollowPlaylistReponse extends VoidResponse {} | ||
interface UnfollowPlaylistResponse extends VoidResponse {} | ||
/** | ||
* Unfollow a Playlist | ||
* | ||
* DELETE /v1/users/{owner_id}/playlists/{playlist_id}/followers | ||
* https://developer.spotify.com/web-api/unfollow-playlist/ | ||
* @deprecated Use `UnfollowPlaylistResponse` instead | ||
*/ | ||
interface UnfollowPlaylistReponse extends UnfollowPlaylistResponse {} | ||
@@ -720,3 +744,11 @@ /** | ||
*/ | ||
interface ChangePlaylistDetailsReponse extends VoidResponse {} | ||
interface ChangePlaylistDetailsResponse extends VoidResponse {} | ||
/** | ||
* Change a Playlist’s Details | ||
* | ||
* PUT /v1/users/{user_id}/playlists/{playlist_id} | ||
* https://developer.spotify.com/web-api/change-playlist-details/ | ||
* @deprecated Use `ChangePlaylistDetailsResponse` instead | ||
*/ | ||
interface ChangePlaylistDetailsReponse extends ChangePlaylistDetailsResponse {} | ||
@@ -761,3 +793,11 @@ /** | ||
*/ | ||
interface UploadCustomPlaylistCoverImageReponse extends VoidResponse {} | ||
interface UploadCustomPlaylistCoverImageResponse extends VoidResponse {} | ||
/** | ||
* Upload a Custom Playlist Cover Image | ||
* | ||
* PUT /v1/users/{user_id}/playlists/{playlist_id}/images | ||
* https://developer.spotify.com/web-api/upload-a-custom-playlist-cover-image/ | ||
* @deprecated Use `UploadCustomPlaylistCoverImageResponse` instead | ||
*/ | ||
interface UploadCustomPlaylistCoverImageReponse extends UploadCustomPlaylistCoverImageResponse {} | ||
@@ -770,3 +810,11 @@ /** | ||
*/ | ||
interface UsersFollowPlaylistReponse extends Array<boolean> {} | ||
interface UsersFollowPlaylistResponse extends Array<boolean> {} | ||
/** | ||
* Check if Users Follow a Playlist | ||
* | ||
* GET /v1/users/{user_id}/playlists/{playlist_id}/followers/contains | ||
* https://developer.spotify.com/web-api/check-user-following-playlist/ | ||
* @deprecated Use `UsersFollowPlaylistResponse` instead | ||
*/ | ||
interface UsersFollowPlaylistReponse extends UsersFollowPlaylistResponse {} | ||
@@ -773,0 +821,0 @@ interface UserDevicesResponse { |
{ | ||
"name": "@types/spotify-api", | ||
"version": "0.0.12", | ||
"version": "0.0.13", | ||
"description": "TypeScript definitions for The Spotify Web API (including changes March 29th 2016)", | ||
@@ -38,4 +38,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/spotify-api", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "8778ecbf7b8b8cf3df05ca4ffe487e7a539ea7598844f294cd1cadd7aed2a9d5", | ||
"typeScriptVersion": "3.7" | ||
"typesPublisherContentHash": "a3ae7020e52eb008768dcb2e271613738f53413725f7411790f102c9c1c9d925", | ||
"typeScriptVersion": "3.8" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Sun, 14 Nov 2021 21:31:23 GMT | ||
* Last updated: Wed, 05 Jan 2022 10:01:30 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: none |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
60264
1534