spotted 0.14.0 → 0.16.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 (32) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +17 -0
  3. data/README.md +1 -1
  4. data/lib/spotted/models/playlist_retrieve_response.rb +14 -12
  5. data/lib/spotted/models/playlist_update_params.rb +15 -13
  6. data/lib/spotted/models/playlists/follower_follow_params.rb +6 -4
  7. data/lib/spotted/models/simplified_playlist_object.rb +14 -12
  8. data/lib/spotted/models/users/playlist_create_params.rb +17 -15
  9. data/lib/spotted/models/users/playlist_create_response.rb +14 -12
  10. data/lib/spotted/resources/playlists/followers.rb +2 -2
  11. data/lib/spotted/resources/playlists.rb +3 -3
  12. data/lib/spotted/resources/users/playlists.rb +3 -3
  13. data/lib/spotted/version.rb +1 -1
  14. data/rbi/spotted/models/playlist_retrieve_response.rbi +17 -17
  15. data/rbi/spotted/models/playlist_update_params.rbi +26 -19
  16. data/rbi/spotted/models/playlists/follower_follow_params.rbi +16 -6
  17. data/rbi/spotted/models/simplified_playlist_object.rbi +17 -17
  18. data/rbi/spotted/models/users/playlist_create_params.rbi +30 -23
  19. data/rbi/spotted/models/users/playlist_create_response.rbi +17 -17
  20. data/rbi/spotted/resources/playlists/followers.rbi +3 -2
  21. data/rbi/spotted/resources/playlists.rbi +8 -7
  22. data/rbi/spotted/resources/users/playlists.rbi +10 -9
  23. data/sig/spotted/models/playlist_retrieve_response.rbs +7 -7
  24. data/sig/spotted/models/playlist_update_params.rbs +14 -7
  25. data/sig/spotted/models/playlists/follower_follow_params.rbs +10 -5
  26. data/sig/spotted/models/simplified_playlist_object.rbs +7 -7
  27. data/sig/spotted/models/users/playlist_create_params.rbs +14 -7
  28. data/sig/spotted/models/users/playlist_create_response.rbs +7 -7
  29. data/sig/spotted/resources/playlists/followers.rbs +1 -1
  30. data/sig/spotted/resources/playlists.rbs +1 -1
  31. data/sig/spotted/resources/users/playlists.rbs +1 -1
  32. metadata +1 -1
@@ -4,6 +4,7 @@ module Spotted
4
4
  type playlist_create_response =
5
5
  {
6
6
  id: String,
7
+ components_schemas_properties_published: bool,
7
8
  collaborative: bool,
8
9
  description: String?,
9
10
  external_urls: Spotted::ExternalURLObject,
@@ -12,7 +13,6 @@ module Spotted
12
13
  images: ::Array[Spotted::ImageObject],
13
14
  name: String,
14
15
  owner: Spotted::Models::Users::PlaylistCreateResponse::Owner,
15
- public: bool,
16
16
  snapshot_id: String,
17
17
  tracks: Spotted::Models::Users::PlaylistCreateResponse::Tracks,
18
18
  type: String,
@@ -24,6 +24,10 @@ module Spotted
24
24
 
25
25
  def id=: (String) -> String
26
26
 
27
+ attr_reader components_schemas_properties_published: bool?
28
+
29
+ def components_schemas_properties_published=: (bool) -> bool
30
+
27
31
  attr_reader collaborative: bool?
28
32
 
29
33
  def collaborative=: (bool) -> bool
@@ -60,10 +64,6 @@ module Spotted
60
64
  Spotted::Models::Users::PlaylistCreateResponse::Owner
61
65
  ) -> Spotted::Models::Users::PlaylistCreateResponse::Owner
62
66
 
63
- attr_reader public: bool?
64
-
65
- def public=: (bool) -> bool
66
-
67
67
  attr_reader snapshot_id: String?
68
68
 
69
69
  def snapshot_id=: (String) -> String
@@ -84,6 +84,7 @@ module Spotted
84
84
 
85
85
  def initialize: (
86
86
  ?id: String,
87
+ ?components_schemas_properties_published: bool,
87
88
  ?collaborative: bool,
88
89
  ?description: String?,
89
90
  ?external_urls: Spotted::ExternalURLObject,
@@ -92,7 +93,6 @@ module Spotted
92
93
  ?images: ::Array[Spotted::ImageObject],
93
94
  ?name: String,
94
95
  ?owner: Spotted::Models::Users::PlaylistCreateResponse::Owner,
95
- ?public: bool,
96
96
  ?snapshot_id: String,
97
97
  ?tracks: Spotted::Models::Users::PlaylistCreateResponse::Tracks,
98
98
  ?type: String,
@@ -101,6 +101,7 @@ module Spotted
101
101
 
102
102
  def to_hash: -> {
103
103
  id: String,
104
+ components_schemas_properties_published: bool,
104
105
  collaborative: bool,
105
106
  description: String?,
106
107
  external_urls: Spotted::ExternalURLObject,
@@ -109,7 +110,6 @@ module Spotted
109
110
  images: ::Array[Spotted::ImageObject],
110
111
  name: String,
111
112
  owner: Spotted::Models::Users::PlaylistCreateResponse::Owner,
112
- public: bool,
113
113
  snapshot_id: String,
114
114
  tracks: Spotted::Models::Users::PlaylistCreateResponse::Tracks,
115
115
  type: String,
@@ -10,7 +10,7 @@ module Spotted
10
10
 
11
11
  def follow: (
12
12
  String playlist_id,
13
- ?public: bool,
13
+ ?paths_request_body_content_application_json_schema_properties_published: bool,
14
14
  ?request_options: Spotted::request_opts
15
15
  ) -> nil
16
16
 
@@ -17,10 +17,10 @@ module Spotted
17
17
 
18
18
  def update: (
19
19
  String playlist_id,
20
+ ?paths_request_body_content_application_json_schema_properties_published: bool,
20
21
  ?collaborative: bool,
21
22
  ?description: String,
22
23
  ?name: String,
23
- ?public: bool,
24
24
  ?request_options: Spotted::request_opts
25
25
  ) -> nil
26
26
 
@@ -5,9 +5,9 @@ module Spotted
5
5
  def create: (
6
6
  String user_id,
7
7
  name: String,
8
+ ?paths_request_body_content_application_json_schema_properties_published: bool,
8
9
  ?collaborative: bool,
9
10
  ?description: String,
10
- ?public: bool,
11
11
  ?request_options: Spotted::request_opts
12
12
  ) -> Spotted::Models::Users::PlaylistCreateResponse
13
13
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spotted
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.0
4
+ version: 0.16.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Spotted