spotted 0.25.0 → 0.26.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 +8 -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 +13 -1
  17. data/lib/spotted/models/playlists/follower_follow_params.rb +13 -1
  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 +13 -1
  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 +3 -1
  29. data/lib/spotted/resources/playlists/tracks.rb +9 -3
  30. data/lib/spotted/resources/playlists.rb +3 -1
  31. data/lib/spotted/resources/users/playlists.rb +3 -1
  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 +19 -0
  46. data/rbi/spotted/models/playlists/follower_follow_params.rbi +23 -1
  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 +19 -0
  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 +7 -0
  58. data/rbi/spotted/resources/playlists/tracks.rbi +21 -0
  59. data/rbi/spotted/resources/playlists.rbi +7 -0
  60. data/rbi/spotted/resources/users/playlists.rbi +7 -0
  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 +13 -1
  74. data/sig/spotted/models/playlists/follower_follow_params.rbs +8 -1
  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 +13 -1
  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 -0
  86. data/sig/spotted/resources/playlists/tracks.rbs +3 -0
  87. data/sig/spotted/resources/playlists.rbs +1 -0
  88. data/sig/spotted/resources/users/playlists.rbs +1 -0
  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: 273b0ff942d6a42d20cffcf0cfa84767fdb24696f553259175b2788ec719e4ed
4
+ data.tar.gz: 46136ddfd8d60cac9f3b5ff98544980693b6a48845eb35001b18a902a6b2661a
5
5
  SHA512:
6
- metadata.gz: 745968a15999b6ed47ac42f0b2fa6261ec0f41b5c85f1c67c38496f970bd2f3e84fdbc6838e140e5b2a62dde69c6fecf32e71e5b80e6ca59d7bde49ccd825904
7
- data.tar.gz: 3ad3cc42a108f040f196e9a64082659ef169987552d6948a4e48152990d0b283272af48932dc442da2b1f9a7dfe4681a4eb1bcf53c00a2df59187732b9f4e1d6
6
+ metadata.gz: 75986a855704b26e9d522919c127e716438e116e6bc27f6233c49eb034c8d2bb74bc3f9e0b4745af1f95a70416f3cfdf1c5acbf865cf136ed3c4611f8077c317
7
+ data.tar.gz: 52d767d404553ac3ae44d5923eb60aa51aaaa82755e8db68506d70c20b082d7d9b4c124f829c9460121911ddededfea9bc402f58b6d95ceb10fed57cac3e4942
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.26.0 (2025-12-16)
4
+
5
+ Full Changelog: [v0.25.0...v0.26.0](https://github.com/cjavdev/spotted/compare/v0.25.0...v0.26.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** manual updates ([7faf357](https://github.com/cjavdev/spotted/commit/7faf357bcad345d96695ef8d36077f271dce8889))
10
+
3
11
  ## 0.25.0 (2025-12-16)
4
12
 
5
13
  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.26.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}]
@@ -38,7 +38,17 @@ module Spotted
38
38
  # @return [Boolean, nil]
39
39
  optional :public, Spotted::Internal::Type::Boolean
40
40
 
41
- # @!method initialize(collaborative: nil, description: nil, name: nil, public: nil, request_options: {})
41
+ # @!attribute published
42
+ # The playlist's public/private status (if it should be added to the user's
43
+ # profile or not): `true` the playlist will be public, `false` the playlist will
44
+ # be private, `null` the playlist status is not relevant. For more about
45
+ # public/private status, see
46
+ # [Working with Playlists](/documentation/web-api/concepts/playlists)
47
+ #
48
+ # @return [Boolean, nil]
49
+ optional :published, Spotted::Internal::Type::Boolean
50
+
51
+ # @!method initialize(collaborative: nil, description: nil, name: nil, public: nil, published: nil, request_options: {})
42
52
  # Some parameter documentations has been truncated, see
43
53
  # {Spotted::Models::PlaylistUpdateParams} for more details.
44
54
  #
@@ -50,6 +60,8 @@ module Spotted
50
60
  #
51
61
  # @param public [Boolean] The playlist's public/private status (if it should be added to the user's profil
52
62
  #
63
+ # @param published [Boolean] The playlist's public/private status (if it should be added to the user's profil
64
+ #
53
65
  # @param request_options [Spotted::RequestOptions, Hash{Symbol=>Object}]
54
66
  end
55
67
  end
@@ -17,12 +17,24 @@ module Spotted
17
17
  # @return [Boolean, nil]
18
18
  optional :public, Spotted::Internal::Type::Boolean
19
19
 
20
- # @!method initialize(public: nil, request_options: {})
20
+ # @!attribute published
21
+ # The playlist's public/private status (if it should be added to the user's
22
+ # profile or not): `true` the playlist will be public, `false` the playlist will
23
+ # be private, `null` the playlist status is not relevant. For more about
24
+ # public/private status, see
25
+ # [Working with Playlists](/documentation/web-api/concepts/playlists)
26
+ #
27
+ # @return [Boolean, nil]
28
+ optional :published, Spotted::Internal::Type::Boolean
29
+
30
+ # @!method initialize(public: nil, published: nil, request_options: {})
21
31
  # Some parameter documentations has been truncated, see
22
32
  # {Spotted::Models::Playlists::FollowerFollowParams} for more details.
23
33
  #
24
34
  # @param public [Boolean] Defaults to `true`. If `true` the playlist will be included in user's public pla
25
35
  #
36
+ # @param published [Boolean] The playlist's public/private status (if it should be added to the user's profil
37
+ #
26
38
  # @param request_options [Spotted::RequestOptions, Hash{Symbol=>Object}]
27
39
  end
28
40
  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.
@@ -45,7 +45,17 @@ module Spotted
45
45
  # @return [Boolean, nil]
46
46
  optional :public, Spotted::Internal::Type::Boolean
47
47
 
48
- # @!method initialize(name:, collaborative: nil, description: nil, public: nil, request_options: {})
48
+ # @!attribute published
49
+ # The playlist's public/private status (if it should be added to the user's
50
+ # profile or not): `true` the playlist will be public, `false` the playlist will
51
+ # be private, `null` the playlist status is not relevant. For more about
52
+ # public/private status, see
53
+ # [Working with Playlists](/documentation/web-api/concepts/playlists)
54
+ #
55
+ # @return [Boolean, nil]
56
+ optional :published, Spotted::Internal::Type::Boolean
57
+
58
+ # @!method initialize(name:, collaborative: nil, description: nil, public: nil, published: nil, request_options: {})
49
59
  # Some parameter documentations has been truncated, see
50
60
  # {Spotted::Models::Users::PlaylistCreateParams} for more details.
51
61
  #
@@ -58,6 +68,8 @@ module Spotted
58
68
  #
59
69
  # @param public [Boolean] Defaults to `true`. The playlist's public/private status (if it should be added
60
70
  #
71
+ # @param published [Boolean] The playlist's public/private status (if it should be added to the user's profil
72
+ #
61
73
  # @param request_options [Spotted::RequestOptions, Hash{Symbol=>Object}]
62
74
  end
63
75
  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]