spotted 0.25.0 → 0.27.0

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 (89) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +16 -0
  3. data/README.md +1 -1
  4. data/lib/spotted/models/me/album_remove_params.rb +13 -1
  5. data/lib/spotted/models/me/album_save_params.rb +13 -1
  6. data/lib/spotted/models/me/episode_remove_params.rb +13 -1
  7. data/lib/spotted/models/me/episode_save_params.rb +13 -1
  8. data/lib/spotted/models/me/following_follow_params.rb +13 -1
  9. data/lib/spotted/models/me/following_unfollow_params.rb +13 -1
  10. data/lib/spotted/models/me/player_start_playback_params.rb +13 -1
  11. data/lib/spotted/models/me/player_transfer_params.rb +13 -1
  12. data/lib/spotted/models/me/show_remove_params.rb +13 -1
  13. data/lib/spotted/models/me/show_save_params.rb +13 -1
  14. data/lib/spotted/models/me/track_remove_params.rb +13 -1
  15. data/lib/spotted/models/me/track_save_params.rb +13 -1
  16. data/lib/spotted/models/playlist_update_params.rb +4 -4
  17. data/lib/spotted/models/playlists/follower_follow_params.rb +7 -6
  18. data/lib/spotted/models/playlists/track_add_params.rb +13 -1
  19. data/lib/spotted/models/playlists/track_remove_params.rb +13 -1
  20. data/lib/spotted/models/playlists/track_update_params.rb +13 -1
  21. data/lib/spotted/models/users/playlist_create_params.rb +7 -9
  22. data/lib/spotted/resources/me/albums.rb +6 -2
  23. data/lib/spotted/resources/me/episodes.rb +6 -2
  24. data/lib/spotted/resources/me/following.rb +6 -2
  25. data/lib/spotted/resources/me/player.rb +6 -2
  26. data/lib/spotted/resources/me/shows.rb +6 -2
  27. data/lib/spotted/resources/me/tracks.rb +6 -2
  28. data/lib/spotted/resources/playlists/followers.rb +2 -2
  29. data/lib/spotted/resources/playlists/tracks.rb +9 -3
  30. data/lib/spotted/resources/playlists.rb +2 -2
  31. data/lib/spotted/resources/users/playlists.rb +2 -2
  32. data/lib/spotted/version.rb +1 -1
  33. data/rbi/spotted/models/me/album_remove_params.rbi +23 -1
  34. data/rbi/spotted/models/me/album_save_params.rbi +23 -1
  35. data/rbi/spotted/models/me/episode_remove_params.rbi +23 -1
  36. data/rbi/spotted/models/me/episode_save_params.rbi +23 -1
  37. data/rbi/spotted/models/me/following_follow_params.rbi +23 -1
  38. data/rbi/spotted/models/me/following_unfollow_params.rbi +23 -1
  39. data/rbi/spotted/models/me/player_start_playback_params.rbi +19 -0
  40. data/rbi/spotted/models/me/player_transfer_params.rbi +19 -0
  41. data/rbi/spotted/models/me/show_remove_params.rbi +23 -1
  42. data/rbi/spotted/models/me/show_save_params.rbi +23 -1
  43. data/rbi/spotted/models/me/track_remove_params.rbi +23 -1
  44. data/rbi/spotted/models/me/track_save_params.rbi +19 -0
  45. data/rbi/spotted/models/playlist_update_params.rbi +6 -6
  46. data/rbi/spotted/models/playlists/follower_follow_params.rbi +12 -10
  47. data/rbi/spotted/models/playlists/track_add_params.rbi +19 -0
  48. data/rbi/spotted/models/playlists/track_remove_params.rbi +19 -0
  49. data/rbi/spotted/models/playlists/track_update_params.rbi +19 -0
  50. data/rbi/spotted/models/users/playlist_create_params.rbi +12 -16
  51. data/rbi/spotted/resources/me/albums.rbi +14 -0
  52. data/rbi/spotted/resources/me/episodes.rbi +14 -0
  53. data/rbi/spotted/resources/me/following.rbi +14 -0
  54. data/rbi/spotted/resources/me/player.rbi +14 -0
  55. data/rbi/spotted/resources/me/shows.rbi +14 -0
  56. data/rbi/spotted/resources/me/tracks.rbi +14 -0
  57. data/rbi/spotted/resources/playlists/followers.rbi +5 -4
  58. data/rbi/spotted/resources/playlists/tracks.rbi +21 -0
  59. data/rbi/spotted/resources/playlists.rbi +2 -2
  60. data/rbi/spotted/resources/users/playlists.rbi +5 -7
  61. data/sig/spotted/models/me/album_remove_params.rbs +8 -1
  62. data/sig/spotted/models/me/album_save_params.rbs +8 -1
  63. data/sig/spotted/models/me/episode_remove_params.rbs +8 -1
  64. data/sig/spotted/models/me/episode_save_params.rbs +8 -1
  65. data/sig/spotted/models/me/following_follow_params.rbs +8 -1
  66. data/sig/spotted/models/me/following_unfollow_params.rbs +8 -1
  67. data/sig/spotted/models/me/player_start_playback_params.rbs +7 -0
  68. data/sig/spotted/models/me/player_transfer_params.rbs +7 -1
  69. data/sig/spotted/models/me/show_remove_params.rbs +8 -1
  70. data/sig/spotted/models/me/show_save_params.rbs +8 -1
  71. data/sig/spotted/models/me/track_remove_params.rbs +8 -1
  72. data/sig/spotted/models/me/track_save_params.rbs +7 -0
  73. data/sig/spotted/models/playlist_update_params.rbs +10 -5
  74. data/sig/spotted/models/playlists/follower_follow_params.rbs +5 -5
  75. data/sig/spotted/models/playlists/track_add_params.rbs +7 -1
  76. data/sig/spotted/models/playlists/track_remove_params.rbs +7 -0
  77. data/sig/spotted/models/playlists/track_update_params.rbs +7 -0
  78. data/sig/spotted/models/users/playlist_create_params.rbs +10 -5
  79. data/sig/spotted/resources/me/albums.rbs +2 -0
  80. data/sig/spotted/resources/me/episodes.rbs +2 -0
  81. data/sig/spotted/resources/me/following.rbs +2 -0
  82. data/sig/spotted/resources/me/player.rbs +2 -0
  83. data/sig/spotted/resources/me/shows.rbs +2 -0
  84. data/sig/spotted/resources/me/tracks.rbs +2 -0
  85. data/sig/spotted/resources/playlists/followers.rbs +1 -1
  86. data/sig/spotted/resources/playlists/tracks.rbs +3 -0
  87. data/sig/spotted/resources/playlists.rbs +1 -1
  88. data/sig/spotted/resources/users/playlists.rbs +1 -1
  89. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9e0681c24c6515cdcc779e0386c2eca78a0fe7810eb0c56993fda662ec3a00a5
4
- data.tar.gz: 51b5066568a8051049575a36bf829410e97f8274fc0c4e431986db1966cd970d
3
+ metadata.gz: 64af9b7d6cf4394f02d4502d37a46410c5a0152b2e90efe1f70fc70768429405
4
+ data.tar.gz: '08d54d25e19ccf100bbf204bb5c02bbf814234a9b5db54e650724371f1a47090'
5
5
  SHA512:
6
- metadata.gz: 745968a15999b6ed47ac42f0b2fa6261ec0f41b5c85f1c67c38496f970bd2f3e84fdbc6838e140e5b2a62dde69c6fecf32e71e5b80e6ca59d7bde49ccd825904
7
- data.tar.gz: 3ad3cc42a108f040f196e9a64082659ef169987552d6948a4e48152990d0b283272af48932dc442da2b1f9a7dfe4681a4eb1bcf53c00a2df59187732b9f4e1d6
6
+ metadata.gz: b8eb89ad696bb23a61fce20048aa3ace25f59caf19a7d9d816e63e84edb324aa7b0acdba3fff88ca3f54d88dfc60f6b75dba57633028afcb88abd50dd2ac2b11
7
+ data.tar.gz: f1f270adb2faade9ab64637788e29b63a6ccdc2e4a18a837e7d762a39e0d6ca85b7170490b520f8f8bdb8c8840cd3a2afb07ed915173c70b1f36f171a6781500
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.27.0 (2025-12-16)
4
+
5
+ Full Changelog: [v0.26.0...v0.27.0](https://github.com/cjavdev/spotted/compare/v0.26.0...v0.27.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** manual updates ([40f5ddf](https://github.com/cjavdev/spotted/commit/40f5ddfac663a126ac2b31e0a606cdc762ea6c8a))
10
+
11
+ ## 0.26.0 (2025-12-16)
12
+
13
+ Full Changelog: [v0.25.0...v0.26.0](https://github.com/cjavdev/spotted/compare/v0.25.0...v0.26.0)
14
+
15
+ ### Features
16
+
17
+ * **api:** manual updates ([7faf357](https://github.com/cjavdev/spotted/commit/7faf357bcad345d96695ef8d36077f271dce8889))
18
+
3
19
  ## 0.25.0 (2025-12-16)
4
20
 
5
21
  Full Changelog: [v0.24.0...v0.25.0](https://github.com/cjavdev/spotted/compare/v0.24.0...v0.25.0)
data/README.md CHANGED
@@ -17,7 +17,7 @@ To use this gem, install via Bundler by adding the following to your application
17
17
  <!-- x-release-please-start-version -->
18
18
 
19
19
  ```ruby
20
- gem "spotted", "~> 0.25.0"
20
+ gem "spotted", "~> 0.27.0"
21
21
  ```
22
22
 
23
23
  <!-- x-release-please-end -->
@@ -18,12 +18,24 @@ module Spotted
18
18
  # @return [Array<String>, nil]
19
19
  optional :ids, Spotted::Internal::Type::ArrayOf[String]
20
20
 
21
- # @!method initialize(ids: nil, request_options: {})
21
+ # @!attribute published
22
+ # The playlist's public/private status (if it should be added to the user's
23
+ # profile or not): `true` the playlist will be public, `false` the playlist will
24
+ # be private, `null` the playlist status is not relevant. For more about
25
+ # public/private status, see
26
+ # [Working with Playlists](/documentation/web-api/concepts/playlists)
27
+ #
28
+ # @return [Boolean, nil]
29
+ optional :published, Spotted::Internal::Type::Boolean
30
+
31
+ # @!method initialize(ids: nil, published: nil, request_options: {})
22
32
  # Some parameter documentations has been truncated, see
23
33
  # {Spotted::Models::Me::AlbumRemoveParams} for more details.
24
34
  #
25
35
  # @param ids [Array<String>] A JSON array of the [Spotify IDs](/documentation/web-api/concepts/spotify-uris-i
26
36
  #
37
+ # @param published [Boolean] The playlist's public/private status (if it should be added to the user's profil
38
+ #
27
39
  # @param request_options [Spotted::RequestOptions, Hash{Symbol=>Object}]
28
40
  end
29
41
  end
@@ -18,12 +18,24 @@ module Spotted
18
18
  # @return [Array<String>, nil]
19
19
  optional :ids, Spotted::Internal::Type::ArrayOf[String]
20
20
 
21
- # @!method initialize(ids: nil, request_options: {})
21
+ # @!attribute published
22
+ # The playlist's public/private status (if it should be added to the user's
23
+ # profile or not): `true` the playlist will be public, `false` the playlist will
24
+ # be private, `null` the playlist status is not relevant. For more about
25
+ # public/private status, see
26
+ # [Working with Playlists](/documentation/web-api/concepts/playlists)
27
+ #
28
+ # @return [Boolean, nil]
29
+ optional :published, Spotted::Internal::Type::Boolean
30
+
31
+ # @!method initialize(ids: nil, published: nil, request_options: {})
22
32
  # Some parameter documentations has been truncated, see
23
33
  # {Spotted::Models::Me::AlbumSaveParams} for more details.
24
34
  #
25
35
  # @param ids [Array<String>] A JSON array of the [Spotify IDs](/documentation/web-api/concepts/spotify-uris-i
26
36
  #
37
+ # @param published [Boolean] The playlist's public/private status (if it should be added to the user's profil
38
+ #
27
39
  # @param request_options [Spotted::RequestOptions, Hash{Symbol=>Object}]
28
40
  end
29
41
  end
@@ -18,12 +18,24 @@ module Spotted
18
18
  # @return [Array<String>, nil]
19
19
  optional :ids, Spotted::Internal::Type::ArrayOf[String]
20
20
 
21
- # @!method initialize(ids: nil, request_options: {})
21
+ # @!attribute published
22
+ # The playlist's public/private status (if it should be added to the user's
23
+ # profile or not): `true` the playlist will be public, `false` the playlist will
24
+ # be private, `null` the playlist status is not relevant. For more about
25
+ # public/private status, see
26
+ # [Working with Playlists](/documentation/web-api/concepts/playlists)
27
+ #
28
+ # @return [Boolean, nil]
29
+ optional :published, Spotted::Internal::Type::Boolean
30
+
31
+ # @!method initialize(ids: nil, published: nil, request_options: {})
22
32
  # Some parameter documentations has been truncated, see
23
33
  # {Spotted::Models::Me::EpisodeRemoveParams} for more details.
24
34
  #
25
35
  # @param ids [Array<String>] A JSON array of the [Spotify IDs](/documentation/web-api/concepts/spotify-uris-i
26
36
  #
37
+ # @param published [Boolean] The playlist's public/private status (if it should be added to the user's profil
38
+ #
27
39
  # @param request_options [Spotted::RequestOptions, Hash{Symbol=>Object}]
28
40
  end
29
41
  end
@@ -18,12 +18,24 @@ module Spotted
18
18
  # @return [Array<String>]
19
19
  required :ids, Spotted::Internal::Type::ArrayOf[String]
20
20
 
21
- # @!method initialize(ids:, request_options: {})
21
+ # @!attribute published
22
+ # The playlist's public/private status (if it should be added to the user's
23
+ # profile or not): `true` the playlist will be public, `false` the playlist will
24
+ # be private, `null` the playlist status is not relevant. For more about
25
+ # public/private status, see
26
+ # [Working with Playlists](/documentation/web-api/concepts/playlists)
27
+ #
28
+ # @return [Boolean, nil]
29
+ optional :published, Spotted::Internal::Type::Boolean
30
+
31
+ # @!method initialize(ids:, published: nil, request_options: {})
22
32
  # Some parameter documentations has been truncated, see
23
33
  # {Spotted::Models::Me::EpisodeSaveParams} for more details.
24
34
  #
25
35
  # @param ids [Array<String>] A JSON array of the [Spotify IDs](/documentation/web-api/concepts/spotify-uris-i
26
36
  #
37
+ # @param published [Boolean] The playlist's public/private status (if it should be added to the user's profil
38
+ #
27
39
  # @param request_options [Spotted::RequestOptions, Hash{Symbol=>Object}]
28
40
  end
29
41
  end
@@ -18,12 +18,24 @@ module Spotted
18
18
  # @return [Array<String>]
19
19
  required :ids, Spotted::Internal::Type::ArrayOf[String]
20
20
 
21
- # @!method initialize(ids:, request_options: {})
21
+ # @!attribute published
22
+ # The playlist's public/private status (if it should be added to the user's
23
+ # profile or not): `true` the playlist will be public, `false` the playlist will
24
+ # be private, `null` the playlist status is not relevant. For more about
25
+ # public/private status, see
26
+ # [Working with Playlists](/documentation/web-api/concepts/playlists)
27
+ #
28
+ # @return [Boolean, nil]
29
+ optional :published, Spotted::Internal::Type::Boolean
30
+
31
+ # @!method initialize(ids:, published: nil, request_options: {})
22
32
  # Some parameter documentations has been truncated, see
23
33
  # {Spotted::Models::Me::FollowingFollowParams} for more details.
24
34
  #
25
35
  # @param ids [Array<String>] A JSON array of the artist or user [Spotify IDs](/documentation/web-api/concepts
26
36
  #
37
+ # @param published [Boolean] The playlist's public/private status (if it should be added to the user's profil
38
+ #
27
39
  # @param request_options [Spotted::RequestOptions, Hash{Symbol=>Object}]
28
40
  end
29
41
  end
@@ -18,12 +18,24 @@ module Spotted
18
18
  # @return [Array<String>, nil]
19
19
  optional :ids, Spotted::Internal::Type::ArrayOf[String]
20
20
 
21
- # @!method initialize(ids: nil, request_options: {})
21
+ # @!attribute published
22
+ # The playlist's public/private status (if it should be added to the user's
23
+ # profile or not): `true` the playlist will be public, `false` the playlist will
24
+ # be private, `null` the playlist status is not relevant. For more about
25
+ # public/private status, see
26
+ # [Working with Playlists](/documentation/web-api/concepts/playlists)
27
+ #
28
+ # @return [Boolean, nil]
29
+ optional :published, Spotted::Internal::Type::Boolean
30
+
31
+ # @!method initialize(ids: nil, published: nil, request_options: {})
22
32
  # Some parameter documentations has been truncated, see
23
33
  # {Spotted::Models::Me::FollowingUnfollowParams} for more details.
24
34
  #
25
35
  # @param ids [Array<String>] A JSON array of the artist or user [Spotify IDs](/documentation/web-api/concepts
26
36
  #
37
+ # @param published [Boolean] The playlist's public/private status (if it should be added to the user's profil
38
+ #
27
39
  # @param request_options [Spotted::RequestOptions, Hash{Symbol=>Object}]
28
40
  end
29
41
  end
@@ -40,6 +40,16 @@ module Spotted
40
40
  # @return [Integer, nil]
41
41
  optional :position_ms, Integer
42
42
 
43
+ # @!attribute published
44
+ # The playlist's public/private status (if it should be added to the user's
45
+ # profile or not): `true` the playlist will be public, `false` the playlist will
46
+ # be private, `null` the playlist status is not relevant. For more about
47
+ # public/private status, see
48
+ # [Working with Playlists](/documentation/web-api/concepts/playlists)
49
+ #
50
+ # @return [Boolean, nil]
51
+ optional :published, Spotted::Internal::Type::Boolean
52
+
43
53
  # @!attribute uris
44
54
  # Optional. A JSON array of the Spotify track URIs to play. For example:
45
55
  # `{"uris": ["spotify:track:4iV5W9uYEdYUVa79Axb7Rh", "spotify:track:1301WleyT98MSxVHPZCA6M"]}`
@@ -47,7 +57,7 @@ module Spotted
47
57
  # @return [Array<String>, nil]
48
58
  optional :uris, Spotted::Internal::Type::ArrayOf[String]
49
59
 
50
- # @!method initialize(device_id: nil, context_uri: nil, offset: nil, position_ms: nil, uris: nil, request_options: {})
60
+ # @!method initialize(device_id: nil, context_uri: nil, offset: nil, position_ms: nil, published: nil, uris: nil, request_options: {})
51
61
  # Some parameter documentations has been truncated, see
52
62
  # {Spotted::Models::Me::PlayerStartPlaybackParams} for more details.
53
63
  #
@@ -59,6 +69,8 @@ module Spotted
59
69
  #
60
70
  # @param position_ms [Integer] Indicates from what position to start playback. Must be a positive number. Passi
61
71
  #
72
+ # @param published [Boolean] The playlist's public/private status (if it should be added to the user's profil
73
+ #
62
74
  # @param uris [Array<String>] Optional. A JSON array of the Spotify track URIs to play.
63
75
  #
64
76
  # @param request_options [Spotted::RequestOptions, Hash{Symbol=>Object}]
@@ -25,7 +25,17 @@ module Spotted
25
25
  # @return [Boolean, nil]
26
26
  optional :play, Spotted::Internal::Type::Boolean
27
27
 
28
- # @!method initialize(device_ids:, play: nil, request_options: {})
28
+ # @!attribute published
29
+ # The playlist's public/private status (if it should be added to the user's
30
+ # profile or not): `true` the playlist will be public, `false` the playlist will
31
+ # be private, `null` the playlist status is not relevant. For more about
32
+ # public/private status, see
33
+ # [Working with Playlists](/documentation/web-api/concepts/playlists)
34
+ #
35
+ # @return [Boolean, nil]
36
+ optional :published, Spotted::Internal::Type::Boolean
37
+
38
+ # @!method initialize(device_ids:, play: nil, published: nil, request_options: {})
29
39
  # Some parameter documentations has been truncated, see
30
40
  # {Spotted::Models::Me::PlayerTransferParams} for more details.
31
41
  #
@@ -33,6 +43,8 @@ module Spotted
33
43
  #
34
44
  # @param play [Boolean] **true**: ensure playback happens on new device.<br/>**false** or not provided:
35
45
  #
46
+ # @param published [Boolean] The playlist's public/private status (if it should be added to the user's profil
47
+ #
36
48
  # @param request_options [Spotted::RequestOptions, Hash{Symbol=>Object}]
37
49
  end
38
50
  end
@@ -18,12 +18,24 @@ module Spotted
18
18
  # @return [Array<String>, nil]
19
19
  optional :ids, Spotted::Internal::Type::ArrayOf[String]
20
20
 
21
- # @!method initialize(ids: nil, request_options: {})
21
+ # @!attribute published
22
+ # The playlist's public/private status (if it should be added to the user's
23
+ # profile or not): `true` the playlist will be public, `false` the playlist will
24
+ # be private, `null` the playlist status is not relevant. For more about
25
+ # public/private status, see
26
+ # [Working with Playlists](/documentation/web-api/concepts/playlists)
27
+ #
28
+ # @return [Boolean, nil]
29
+ optional :published, Spotted::Internal::Type::Boolean
30
+
31
+ # @!method initialize(ids: nil, published: nil, request_options: {})
22
32
  # Some parameter documentations has been truncated, see
23
33
  # {Spotted::Models::Me::ShowRemoveParams} for more details.
24
34
  #
25
35
  # @param ids [Array<String>] A JSON array of the [Spotify IDs](https://developer.spotify.com/documentation/we
26
36
  #
37
+ # @param published [Boolean] The playlist's public/private status (if it should be added to the user's profil
38
+ #
27
39
  # @param request_options [Spotted::RequestOptions, Hash{Symbol=>Object}]
28
40
  end
29
41
  end
@@ -18,12 +18,24 @@ module Spotted
18
18
  # @return [Array<String>, nil]
19
19
  optional :ids, Spotted::Internal::Type::ArrayOf[String]
20
20
 
21
- # @!method initialize(ids: nil, request_options: {})
21
+ # @!attribute published
22
+ # The playlist's public/private status (if it should be added to the user's
23
+ # profile or not): `true` the playlist will be public, `false` the playlist will
24
+ # be private, `null` the playlist status is not relevant. For more about
25
+ # public/private status, see
26
+ # [Working with Playlists](/documentation/web-api/concepts/playlists)
27
+ #
28
+ # @return [Boolean, nil]
29
+ optional :published, Spotted::Internal::Type::Boolean
30
+
31
+ # @!method initialize(ids: nil, published: nil, request_options: {})
22
32
  # Some parameter documentations has been truncated, see
23
33
  # {Spotted::Models::Me::ShowSaveParams} for more details.
24
34
  #
25
35
  # @param ids [Array<String>] A JSON array of the [Spotify IDs](https://developer.spotify.com/documentation/we
26
36
  #
37
+ # @param published [Boolean] The playlist's public/private status (if it should be added to the user's profil
38
+ #
27
39
  # @param request_options [Spotted::RequestOptions, Hash{Symbol=>Object}]
28
40
  end
29
41
  end
@@ -18,12 +18,24 @@ module Spotted
18
18
  # @return [Array<String>, nil]
19
19
  optional :ids, Spotted::Internal::Type::ArrayOf[String]
20
20
 
21
- # @!method initialize(ids: nil, request_options: {})
21
+ # @!attribute published
22
+ # The playlist's public/private status (if it should be added to the user's
23
+ # profile or not): `true` the playlist will be public, `false` the playlist will
24
+ # be private, `null` the playlist status is not relevant. For more about
25
+ # public/private status, see
26
+ # [Working with Playlists](/documentation/web-api/concepts/playlists)
27
+ #
28
+ # @return [Boolean, nil]
29
+ optional :published, Spotted::Internal::Type::Boolean
30
+
31
+ # @!method initialize(ids: nil, published: nil, request_options: {})
22
32
  # Some parameter documentations has been truncated, see
23
33
  # {Spotted::Models::Me::TrackRemoveParams} for more details.
24
34
  #
25
35
  # @param ids [Array<String>] A JSON array of the [Spotify IDs](/documentation/web-api/concepts/spotify-uris-i
26
36
  #
37
+ # @param published [Boolean] The playlist's public/private status (if it should be added to the user's profil
38
+ #
27
39
  # @param request_options [Spotted::RequestOptions, Hash{Symbol=>Object}]
28
40
  end
29
41
  end
@@ -19,6 +19,16 @@ module Spotted
19
19
  # @return [Array<String>]
20
20
  required :ids, Spotted::Internal::Type::ArrayOf[String]
21
21
 
22
+ # @!attribute published
23
+ # The playlist's public/private status (if it should be added to the user's
24
+ # profile or not): `true` the playlist will be public, `false` the playlist will
25
+ # be private, `null` the playlist status is not relevant. For more about
26
+ # public/private status, see
27
+ # [Working with Playlists](/documentation/web-api/concepts/playlists)
28
+ #
29
+ # @return [Boolean, nil]
30
+ optional :published, Spotted::Internal::Type::Boolean
31
+
22
32
  # @!attribute timestamped_ids
23
33
  # A JSON array of objects containing track IDs with their corresponding
24
34
  # timestamps. Each object must include a track ID and an `added_at` timestamp.
@@ -32,12 +42,14 @@ module Spotted
32
42
  optional :timestamped_ids,
33
43
  -> { Spotted::Internal::Type::ArrayOf[Spotted::Me::TrackSaveParams::TimestampedID] }
34
44
 
35
- # @!method initialize(ids:, timestamped_ids: nil, request_options: {})
45
+ # @!method initialize(ids:, published: nil, timestamped_ids: nil, request_options: {})
36
46
  # Some parameter documentations has been truncated, see
37
47
  # {Spotted::Models::Me::TrackSaveParams} for more details.
38
48
  #
39
49
  # @param ids [Array<String>] A JSON array of the [Spotify IDs](/documentation/web-api/concepts/spotify-uris-i
40
50
  #
51
+ # @param published [Boolean] The playlist's public/private status (if it should be added to the user's profil
52
+ #
41
53
  # @param timestamped_ids [Array<Spotted::Models::Me::TrackSaveParams::TimestampedID>] A JSON array of objects containing track IDs with their corresponding timestamps
42
54
  #
43
55
  # @param request_options [Spotted::RequestOptions, Hash{Symbol=>Object}]
@@ -28,7 +28,7 @@ module Spotted
28
28
  # @return [String, nil]
29
29
  optional :name, String
30
30
 
31
- # @!attribute public
31
+ # @!attribute published
32
32
  # The playlist's public/private status (if it should be added to the user's
33
33
  # profile or not): `true` the playlist will be public, `false` the playlist will
34
34
  # be private, `null` the playlist status is not relevant. For more about
@@ -36,9 +36,9 @@ module Spotted
36
36
  # [Working with Playlists](/documentation/web-api/concepts/playlists)
37
37
  #
38
38
  # @return [Boolean, nil]
39
- optional :public, Spotted::Internal::Type::Boolean
39
+ optional :published, Spotted::Internal::Type::Boolean
40
40
 
41
- # @!method initialize(collaborative: nil, description: nil, name: nil, public: nil, request_options: {})
41
+ # @!method initialize(collaborative: nil, description: nil, name: nil, published: nil, request_options: {})
42
42
  # Some parameter documentations has been truncated, see
43
43
  # {Spotted::Models::PlaylistUpdateParams} for more details.
44
44
  #
@@ -48,7 +48,7 @@ module Spotted
48
48
  #
49
49
  # @param name [String] The new name for the playlist, for example `"My New Playlist Title"`
50
50
  #
51
- # @param public [Boolean] The playlist's public/private status (if it should be added to the user's profil
51
+ # @param published [Boolean] The playlist's public/private status (if it should be added to the user's profil
52
52
  #
53
53
  # @param request_options [Spotted::RequestOptions, Hash{Symbol=>Object}]
54
54
  end
@@ -8,20 +8,21 @@ module Spotted
8
8
  extend Spotted::Internal::Type::RequestParameters::Converter
9
9
  include Spotted::Internal::Type::RequestParameters
10
10
 
11
- # @!attribute public
12
- # Defaults to `true`. If `true` the playlist will be included in user's public
13
- # playlists (added to profile), if `false` it will remain private. For more about
11
+ # @!attribute published
12
+ # The playlist's public/private status (if it should be added to the user's
13
+ # profile or not): `true` the playlist will be public, `false` the playlist will
14
+ # be private, `null` the playlist status is not relevant. For more about
14
15
  # public/private status, see
15
16
  # [Working with Playlists](/documentation/web-api/concepts/playlists)
16
17
  #
17
18
  # @return [Boolean, nil]
18
- optional :public, Spotted::Internal::Type::Boolean
19
+ optional :published, Spotted::Internal::Type::Boolean
19
20
 
20
- # @!method initialize(public: nil, request_options: {})
21
+ # @!method initialize(published: nil, request_options: {})
21
22
  # Some parameter documentations has been truncated, see
22
23
  # {Spotted::Models::Playlists::FollowerFollowParams} for more details.
23
24
  #
24
- # @param public [Boolean] Defaults to `true`. If `true` the playlist will be included in user's public pla
25
+ # @param published [Boolean] The playlist's public/private status (if it should be added to the user's profil
25
26
  #
26
27
  # @param request_options [Spotted::RequestOptions, Hash{Symbol=>Object}]
27
28
  end
@@ -18,6 +18,16 @@ module Spotted
18
18
  # @return [Integer, nil]
19
19
  optional :position, Integer
20
20
 
21
+ # @!attribute published
22
+ # The playlist's public/private status (if it should be added to the user's
23
+ # profile or not): `true` the playlist will be public, `false` the playlist will
24
+ # be private, `null` the playlist status is not relevant. For more about
25
+ # public/private status, see
26
+ # [Working with Playlists](/documentation/web-api/concepts/playlists)
27
+ #
28
+ # @return [Boolean, nil]
29
+ optional :published, Spotted::Internal::Type::Boolean
30
+
21
31
  # @!attribute uris
22
32
  # A JSON array of the
23
33
  # [Spotify URIs](/documentation/web-api/concepts/spotify-uris-ids) to add. For
@@ -30,12 +40,14 @@ module Spotted
30
40
  # @return [Array<String>, nil]
31
41
  optional :uris, Spotted::Internal::Type::ArrayOf[String]
32
42
 
33
- # @!method initialize(position: nil, uris: nil, request_options: {})
43
+ # @!method initialize(position: nil, published: nil, uris: nil, request_options: {})
34
44
  # Some parameter documentations has been truncated, see
35
45
  # {Spotted::Models::Playlists::TrackAddParams} for more details.
36
46
  #
37
47
  # @param position [Integer] The position to insert the items, a zero-based index. For example, to insert the
38
48
  #
49
+ # @param published [Boolean] The playlist's public/private status (if it should be added to the user's profil
50
+ #
39
51
  # @param uris [Array<String>] A JSON array of the [Spotify URIs](/documentation/web-api/concepts/spotify-uris-
40
52
  #
41
53
  # @param request_options [Spotted::RequestOptions, Hash{Symbol=>Object}]
@@ -18,6 +18,16 @@ module Spotted
18
18
  # @return [Array<Spotted::Models::Playlists::TrackRemoveParams::Track>]
19
19
  required :tracks, -> { Spotted::Internal::Type::ArrayOf[Spotted::Playlists::TrackRemoveParams::Track] }
20
20
 
21
+ # @!attribute published
22
+ # The playlist's public/private status (if it should be added to the user's
23
+ # profile or not): `true` the playlist will be public, `false` the playlist will
24
+ # be private, `null` the playlist status is not relevant. For more about
25
+ # public/private status, see
26
+ # [Working with Playlists](/documentation/web-api/concepts/playlists)
27
+ #
28
+ # @return [Boolean, nil]
29
+ optional :published, Spotted::Internal::Type::Boolean
30
+
21
31
  # @!attribute snapshot_id
22
32
  # The playlist's snapshot ID against which you want to make the changes. The API
23
33
  # will validate that the specified items exist and in the specified positions and
@@ -26,12 +36,14 @@ module Spotted
26
36
  # @return [String, nil]
27
37
  optional :snapshot_id, String
28
38
 
29
- # @!method initialize(tracks:, snapshot_id: nil, request_options: {})
39
+ # @!method initialize(tracks:, published: nil, snapshot_id: nil, request_options: {})
30
40
  # Some parameter documentations has been truncated, see
31
41
  # {Spotted::Models::Playlists::TrackRemoveParams} for more details.
32
42
  #
33
43
  # @param tracks [Array<Spotted::Models::Playlists::TrackRemoveParams::Track>] An array of objects containing [Spotify URIs](/documentation/web-api/concepts/sp
34
44
  #
45
+ # @param published [Boolean] The playlist's public/private status (if it should be added to the user's profil
46
+ #
35
47
  # @param snapshot_id [String] The playlist's snapshot ID against which you want to make the changes.
36
48
  #
37
49
  # @param request_options [Spotted::RequestOptions, Hash{Symbol=>Object}]
@@ -19,6 +19,16 @@ module Spotted
19
19
  # @return [Integer, nil]
20
20
  optional :insert_before, Integer
21
21
 
22
+ # @!attribute published
23
+ # The playlist's public/private status (if it should be added to the user's
24
+ # profile or not): `true` the playlist will be public, `false` the playlist will
25
+ # be private, `null` the playlist status is not relevant. For more about
26
+ # public/private status, see
27
+ # [Working with Playlists](/documentation/web-api/concepts/playlists)
28
+ #
29
+ # @return [Boolean, nil]
30
+ optional :published, Spotted::Internal::Type::Boolean
31
+
22
32
  # @!attribute range_length
23
33
  # The amount of items to be reordered. Defaults to 1 if not set.<br/>The range of
24
34
  # items to be reordered begins from the _range_start_ position, and includes the
@@ -46,12 +56,14 @@ module Spotted
46
56
  # @return [Array<String>, nil]
47
57
  optional :uris, Spotted::Internal::Type::ArrayOf[String]
48
58
 
49
- # @!method initialize(insert_before: nil, range_length: nil, range_start: nil, snapshot_id: nil, uris: nil, request_options: {})
59
+ # @!method initialize(insert_before: nil, published: nil, range_length: nil, range_start: nil, snapshot_id: nil, uris: nil, request_options: {})
50
60
  # Some parameter documentations has been truncated, see
51
61
  # {Spotted::Models::Playlists::TrackUpdateParams} for more details.
52
62
  #
53
63
  # @param insert_before [Integer] The position where the items should be inserted.<br/>To reorder the items to the
54
64
  #
65
+ # @param published [Boolean] The playlist's public/private status (if it should be added to the user's profil
66
+ #
55
67
  # @param range_length [Integer] The amount of items to be reordered. Defaults to 1 if not set.<br/>The range of
56
68
  #
57
69
  # @param range_start [Integer] The position of the first item to be reordered.
@@ -33,19 +33,17 @@ module Spotted
33
33
  # @return [String, nil]
34
34
  optional :description, String
35
35
 
36
- # @!attribute public
37
- # Defaults to `true`. The playlist's public/private status (if it should be added
38
- # to the user's profile or not): `true` the playlist will be public, `false` the
39
- # playlist will be private. To be able to create private playlists, the user must
40
- # have granted the `playlist-modify-private`
41
- # [scope](/documentation/web-api/concepts/scopes/#list-of-scopes). For more about
36
+ # @!attribute published
37
+ # The playlist's public/private status (if it should be added to the user's
38
+ # profile or not): `true` the playlist will be public, `false` the playlist will
39
+ # be private, `null` the playlist status is not relevant. For more about
42
40
  # public/private status, see
43
41
  # [Working with Playlists](/documentation/web-api/concepts/playlists)
44
42
  #
45
43
  # @return [Boolean, nil]
46
- optional :public, Spotted::Internal::Type::Boolean
44
+ optional :published, Spotted::Internal::Type::Boolean
47
45
 
48
- # @!method initialize(name:, collaborative: nil, description: nil, public: nil, request_options: {})
46
+ # @!method initialize(name:, collaborative: nil, description: nil, published: nil, request_options: {})
49
47
  # Some parameter documentations has been truncated, see
50
48
  # {Spotted::Models::Users::PlaylistCreateParams} for more details.
51
49
  #
@@ -56,7 +54,7 @@ module Spotted
56
54
  #
57
55
  # @param description [String] value for playlist description as displayed in Spotify Clients and in the Web AP
58
56
  #
59
- # @param public [Boolean] Defaults to `true`. The playlist's public/private status (if it should be added
57
+ # @param published [Boolean] The playlist's public/private status (if it should be added to the user's profil
60
58
  #
61
59
  # @param request_options [Spotted::RequestOptions, Hash{Symbol=>Object}]
62
60
  end
@@ -66,10 +66,12 @@ module Spotted
66
66
  #
67
67
  # Remove one or more albums from the current user's 'Your Music' library.
68
68
  #
69
- # @overload remove(ids: nil, request_options: {})
69
+ # @overload remove(ids: nil, published: nil, request_options: {})
70
70
  #
71
71
  # @param ids [Array<String>] A JSON array of the [Spotify IDs](/documentation/web-api/concepts/spotify-uris-i
72
72
  #
73
+ # @param published [Boolean] The playlist's public/private status (if it should be added to the user's profil
74
+ #
73
75
  # @param request_options [Spotted::RequestOptions, Hash{Symbol=>Object}, nil]
74
76
  #
75
77
  # @return [nil]
@@ -85,10 +87,12 @@ module Spotted
85
87
  #
86
88
  # Save one or more albums to the current user's 'Your Music' library.
87
89
  #
88
- # @overload save(ids: nil, request_options: {})
90
+ # @overload save(ids: nil, published: nil, request_options: {})
89
91
  #
90
92
  # @param ids [Array<String>] A JSON array of the [Spotify IDs](/documentation/web-api/concepts/spotify-uris-i
91
93
  #
94
+ # @param published [Boolean] The playlist's public/private status (if it should be added to the user's profil
95
+ #
92
96
  # @param request_options [Spotted::RequestOptions, Hash{Symbol=>Object}, nil]
93
97
  #
94
98
  # @return [nil]
@@ -74,10 +74,12 @@ module Spotted
74
74
  # feedback that you have, or issues that you discover, in our
75
75
  # [developer community forum](https://community.spotify.com/t5/Spotify-for-Developers/bd-p/Spotify_Developer).
76
76
  #
77
- # @overload remove(ids: nil, request_options: {})
77
+ # @overload remove(ids: nil, published: nil, request_options: {})
78
78
  #
79
79
  # @param ids [Array<String>] A JSON array of the [Spotify IDs](/documentation/web-api/concepts/spotify-uris-i
80
80
  #
81
+ # @param published [Boolean] The playlist's public/private status (if it should be added to the user's profil
82
+ #
81
83
  # @param request_options [Spotted::RequestOptions, Hash{Symbol=>Object}, nil]
82
84
  #
83
85
  # @return [nil]
@@ -102,10 +104,12 @@ module Spotted
102
104
  # you have, or issues that you discover, in our
103
105
  # [developer community forum](https://community.spotify.com/t5/Spotify-for-Developers/bd-p/Spotify_Developer).
104
106
  #
105
- # @overload save(ids:, request_options: {})
107
+ # @overload save(ids:, published: nil, request_options: {})
106
108
  #
107
109
  # @param ids [Array<String>] A JSON array of the [Spotify IDs](/documentation/web-api/concepts/spotify-uris-i
108
110
  #
111
+ # @param published [Boolean] The playlist's public/private status (if it should be added to the user's profil
112
+ #
109
113
  # @param request_options [Spotted::RequestOptions, Hash{Symbol=>Object}, nil]
110
114
  #
111
115
  # @return [nil]