spotted 0.17.0 → 0.18.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5150b75519009bd3499d968fa8b07b3d32b4caf07c05bdc93380751678d6e73c
4
- data.tar.gz: 644a461d62b57c75fdec96ba35927cfd33b2d803c9ea4f3d924806024e5fa1da
3
+ metadata.gz: 81ed9fd92bd5767bb29c32e6d42c181b9953f750de22051c703863e645a54f4c
4
+ data.tar.gz: 2e8f08bb5b24962b6ed0613f1716ac24497cba04447a4d885ca088396ff5ee7a
5
5
  SHA512:
6
- metadata.gz: 3151b8e5ac858b033b62d7e700370e671b29c9d8b172836404fe9b4aa6b00f245bae56da10ad624bccfad11880b205a68ad565d53b178ac4ce762db968a6895e
7
- data.tar.gz: 2062161a1800cfe68be970ff1ca5b4caef512a75feb5334f6e5ca8e3db28eac97d392582520364dd92be27e563042b87b6a721a55b6304df46bbfa332eae5a06
6
+ metadata.gz: eefebabf917f4e6069d413c2384e9cbeee8297d40bad3026713870a6a43c692918fcc1e55d1be90692724065f87b5866739ab733f4bbc89ba2cffb5db7620b05
7
+ data.tar.gz: d60b5ef9a0987561866f0cf538bf34f8b5b076c3bc17bb55394c629b27a8d34bab1d2001ad13a7eb7dec959b90c13dcf7d5ad9f6779eab91091e5a351f911b71
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.18.0 (2025-11-20)
4
+
5
+ Full Changelog: [v0.17.0...v0.18.0](https://github.com/cjavdev/spotted/compare/v0.17.0...v0.18.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** manual updates ([3272e24](https://github.com/cjavdev/spotted/commit/3272e24a5afcc5864cd1e9e23ca1951bb84524e4))
10
+
11
+ ## 0.17.0 (2025-11-20)
12
+
13
+ Full Changelog: [v0.16.0...v0.17.0](https://github.com/cjavdev/spotted/compare/v0.16.0...v0.17.0)
14
+
15
+ ### Features
16
+
17
+ * **api:** manual updates ([e260dd2](https://github.com/cjavdev/spotted/commit/e260dd2787657b4fa3cb412fe730d68fad2989ce))
18
+
3
19
  ## 0.17.0 (2025-11-20)
4
20
 
5
21
  Full Changelog: [v0.16.0...v0.17.0](https://github.com/cjavdev/spotted/compare/v0.16.0...v0.17.0)
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Spotted Ruby API library
2
2
 
3
- The Spotted Ruby library provides convenient access to the Spotted REST API from any Ruby 3.2.0+ application. It ships with comprehensive types & docstrings in Yard, RBS, and RBI – [see below](https://github.com/cjavdev/spotted#Sorbet) for usage with Sorbet. The standard library's `net/http` is used as the HTTP transport, with connection pooling via the `connection_pool` gem.
3
+ The Spotted Ruby library provides convenient access to the Spotify API from any Ruby 3.2.0+ application. It ships with comprehensive types & docstrings in Yard, RBS, and RBI – [see below](https://github.com/cjavdev/spotted#Sorbet) for usage with Sorbet. The standard library's `net/http` is used as the HTTP transport, with connection pooling via the `connection_pool` gem.
4
4
 
5
5
  It is generated with [Stainless](https://www.stainless.com/).
6
6
 
@@ -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.17.0"
20
+ gem "spotted", "~> 0.18.0"
21
21
  ```
22
22
 
23
23
  <!-- x-release-please-end -->
@@ -11,17 +11,6 @@ module Spotted
11
11
  # @return [String, nil]
12
12
  optional :id, String
13
13
 
14
- # @!attribute components_schemas_properties_published
15
- # The playlist's public/private status (if it is added to the user's profile):
16
- # `true` the playlist is public, `false` the playlist is private, `null` the
17
- # playlist status is not relevant. For more about public/private status, see
18
- # [Working with Playlists](/documentation/web-api/concepts/playlists)
19
- #
20
- # @return [Boolean, nil]
21
- optional :components_schemas_properties_published,
22
- Spotted::Internal::Type::Boolean,
23
- api_name: :"$.components.schemas.*.properties.published"
24
-
25
14
  # @!attribute collaborative
26
15
  # `true` if the owner allows other users to modify the playlist.
27
16
  #
@@ -75,6 +64,15 @@ module Spotted
75
64
  # @return [Spotted::Models::PlaylistRetrieveResponse::Owner, nil]
76
65
  optional :owner, -> { Spotted::Models::PlaylistRetrieveResponse::Owner }
77
66
 
67
+ # @!attribute published
68
+ # The playlist's public/private status (if it is added to the user's profile):
69
+ # `true` the playlist is public, `false` the playlist is private, `null` the
70
+ # playlist status is not relevant. For more about public/private status, see
71
+ # [Working with Playlists](/documentation/web-api/concepts/playlists)
72
+ #
73
+ # @return [Boolean, nil]
74
+ optional :published, Spotted::Internal::Type::Boolean
75
+
78
76
  # @!attribute snapshot_id
79
77
  # The version identifier for the current playlist. Can be supplied in other
80
78
  # requests to target a specific playlist version
@@ -101,14 +99,12 @@ module Spotted
101
99
  # @return [String, nil]
102
100
  optional :uri, String
103
101
 
104
- # @!method initialize(id: nil, components_schemas_properties_published: nil, collaborative: nil, description: nil, external_urls: nil, followers: nil, href: nil, images: nil, name: nil, owner: nil, snapshot_id: nil, tracks: nil, type: nil, uri: nil)
102
+ # @!method initialize(id: nil, collaborative: nil, description: nil, external_urls: nil, followers: nil, href: nil, images: nil, name: nil, owner: nil, published: nil, snapshot_id: nil, tracks: nil, type: nil, uri: nil)
105
103
  # Some parameter documentations has been truncated, see
106
104
  # {Spotted::Models::PlaylistRetrieveResponse} for more details.
107
105
  #
108
106
  # @param id [String] The [Spotify ID](/documentation/web-api/concepts/spotify-uris-ids) for the playl
109
107
  #
110
- # @param components_schemas_properties_published [Boolean] The playlist's public/private status (if it is added to the user's profile): `tr
111
- #
112
108
  # @param collaborative [Boolean] `true` if the owner allows other users to modify the playlist.
113
109
  #
114
110
  # @param description [String, nil] The playlist description. \_Only returned for modified, verified playlists,
@@ -126,6 +122,8 @@ module Spotted
126
122
  #
127
123
  # @param owner [Spotted::Models::PlaylistRetrieveResponse::Owner] The user who owns the playlist
128
124
  #
125
+ # @param published [Boolean] The playlist's public/private status (if it is added to the user's profile): `tr
126
+ #
129
127
  # @param snapshot_id [String] The version identifier for the current playlist. Can be supplied in other reques
130
128
  #
131
129
  # @param tracks [Spotted::Models::PlaylistRetrieveResponse::Tracks] The tracks of the playlist.
@@ -10,17 +10,6 @@ module Spotted
10
10
  # @return [String, nil]
11
11
  optional :id, String
12
12
 
13
- # @!attribute components_schemas_properties_published
14
- # The playlist's public/private status (if it is added to the user's profile):
15
- # `true` the playlist is public, `false` the playlist is private, `null` the
16
- # playlist status is not relevant. For more about public/private status, see
17
- # [Working with Playlists](/documentation/web-api/concepts/playlists)
18
- #
19
- # @return [Boolean, nil]
20
- optional :components_schemas_properties_published,
21
- Spotted::Internal::Type::Boolean,
22
- api_name: :"$.components.schemas.*.properties.published"
23
-
24
13
  # @!attribute collaborative
25
14
  # `true` if the owner allows other users to modify the playlist.
26
15
  #
@@ -68,6 +57,15 @@ module Spotted
68
57
  # @return [Spotted::Models::SimplifiedPlaylistObject::Owner, nil]
69
58
  optional :owner, -> { Spotted::SimplifiedPlaylistObject::Owner }
70
59
 
60
+ # @!attribute published
61
+ # The playlist's public/private status (if it is added to the user's profile):
62
+ # `true` the playlist is public, `false` the playlist is private, `null` the
63
+ # playlist status is not relevant. For more about public/private status, see
64
+ # [Working with Playlists](/documentation/web-api/concepts/playlists)
65
+ #
66
+ # @return [Boolean, nil]
67
+ optional :published, Spotted::Internal::Type::Boolean
68
+
71
69
  # @!attribute snapshot_id
72
70
  # The version identifier for the current playlist. Can be supplied in other
73
71
  # requests to target a specific playlist version
@@ -97,14 +95,12 @@ module Spotted
97
95
  # @return [String, nil]
98
96
  optional :uri, String
99
97
 
100
- # @!method initialize(id: nil, components_schemas_properties_published: nil, collaborative: nil, description: nil, external_urls: nil, href: nil, images: nil, name: nil, owner: nil, snapshot_id: nil, tracks: nil, type: nil, uri: nil)
98
+ # @!method initialize(id: nil, collaborative: nil, description: nil, external_urls: nil, href: nil, images: nil, name: nil, owner: nil, published: nil, snapshot_id: nil, tracks: nil, type: nil, uri: nil)
101
99
  # Some parameter documentations has been truncated, see
102
100
  # {Spotted::Models::SimplifiedPlaylistObject} for more details.
103
101
  #
104
102
  # @param id [String] The [Spotify ID](/documentation/web-api/concepts/spotify-uris-ids) for the playl
105
103
  #
106
- # @param components_schemas_properties_published [Boolean] The playlist's public/private status (if it is added to the user's profile): `tr
107
- #
108
104
  # @param collaborative [Boolean] `true` if the owner allows other users to modify the playlist.
109
105
  #
110
106
  # @param description [String] The playlist description. \_Only returned for modified, verified playlists,
@@ -120,6 +116,8 @@ module Spotted
120
116
  #
121
117
  # @param owner [Spotted::Models::SimplifiedPlaylistObject::Owner] The user who owns the playlist
122
118
  #
119
+ # @param published [Boolean] The playlist's public/private status (if it is added to the user's profile): `tr
120
+ #
123
121
  # @param snapshot_id [String] The version identifier for the current playlist. Can be supplied in other reques
124
122
  #
125
123
  # @param tracks [Spotted::Models::PlaylistTracksRefObject] A collection containing a link ( `href` ) to the Web API endpoint where full det
@@ -12,17 +12,6 @@ module Spotted
12
12
  # @return [String, nil]
13
13
  optional :id, String
14
14
 
15
- # @!attribute components_schemas_properties_published
16
- # The playlist's public/private status (if it is added to the user's profile):
17
- # `true` the playlist is public, `false` the playlist is private, `null` the
18
- # playlist status is not relevant. For more about public/private status, see
19
- # [Working with Playlists](/documentation/web-api/concepts/playlists)
20
- #
21
- # @return [Boolean, nil]
22
- optional :components_schemas_properties_published,
23
- Spotted::Internal::Type::Boolean,
24
- api_name: :"$.components.schemas.*.properties.published"
25
-
26
15
  # @!attribute collaborative
27
16
  # `true` if the owner allows other users to modify the playlist.
28
17
  #
@@ -76,6 +65,15 @@ module Spotted
76
65
  # @return [Spotted::Models::Users::PlaylistCreateResponse::Owner, nil]
77
66
  optional :owner, -> { Spotted::Models::Users::PlaylistCreateResponse::Owner }
78
67
 
68
+ # @!attribute published
69
+ # The playlist's public/private status (if it is added to the user's profile):
70
+ # `true` the playlist is public, `false` the playlist is private, `null` the
71
+ # playlist status is not relevant. For more about public/private status, see
72
+ # [Working with Playlists](/documentation/web-api/concepts/playlists)
73
+ #
74
+ # @return [Boolean, nil]
75
+ optional :published, Spotted::Internal::Type::Boolean
76
+
79
77
  # @!attribute snapshot_id
80
78
  # The version identifier for the current playlist. Can be supplied in other
81
79
  # requests to target a specific playlist version
@@ -102,14 +100,12 @@ module Spotted
102
100
  # @return [String, nil]
103
101
  optional :uri, String
104
102
 
105
- # @!method initialize(id: nil, components_schemas_properties_published: nil, collaborative: nil, description: nil, external_urls: nil, followers: nil, href: nil, images: nil, name: nil, owner: nil, snapshot_id: nil, tracks: nil, type: nil, uri: nil)
103
+ # @!method initialize(id: nil, collaborative: nil, description: nil, external_urls: nil, followers: nil, href: nil, images: nil, name: nil, owner: nil, published: nil, snapshot_id: nil, tracks: nil, type: nil, uri: nil)
106
104
  # Some parameter documentations has been truncated, see
107
105
  # {Spotted::Models::Users::PlaylistCreateResponse} for more details.
108
106
  #
109
107
  # @param id [String] The [Spotify ID](/documentation/web-api/concepts/spotify-uris-ids) for the playl
110
108
  #
111
- # @param components_schemas_properties_published [Boolean] The playlist's public/private status (if it is added to the user's profile): `tr
112
- #
113
109
  # @param collaborative [Boolean] `true` if the owner allows other users to modify the playlist.
114
110
  #
115
111
  # @param description [String, nil] The playlist description. \_Only returned for modified, verified playlists,
@@ -127,6 +123,8 @@ module Spotted
127
123
  #
128
124
  # @param owner [Spotted::Models::Users::PlaylistCreateResponse::Owner] The user who owns the playlist
129
125
  #
126
+ # @param published [Boolean] The playlist's public/private status (if it is added to the user's profile): `tr
127
+ #
130
128
  # @param snapshot_id [String] The version identifier for the current playlist. Can be supplied in other reques
131
129
  #
132
130
  # @param tracks [Spotted::Models::Users::PlaylistCreateResponse::Tracks] The tracks of the playlist.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Spotted
4
- VERSION = "0.17.0"
4
+ VERSION = "0.18.0"
5
5
  end
@@ -19,16 +19,6 @@ module Spotted
19
19
  sig { params(id: String).void }
20
20
  attr_writer :id
21
21
 
22
- # The playlist's public/private status (if it is added to the user's profile):
23
- # `true` the playlist is public, `false` the playlist is private, `null` the
24
- # playlist status is not relevant. For more about public/private status, see
25
- # [Working with Playlists](/documentation/web-api/concepts/playlists)
26
- sig { returns(T.nilable(T::Boolean)) }
27
- attr_reader :components_schemas_properties_published
28
-
29
- sig { params(components_schemas_properties_published: T::Boolean).void }
30
- attr_writer :components_schemas_properties_published
31
-
32
22
  # `true` if the owner allows other users to modify the playlist.
33
23
  sig { returns(T.nilable(T::Boolean)) }
34
24
  attr_reader :collaborative
@@ -93,6 +83,16 @@ module Spotted
93
83
  end
94
84
  attr_writer :owner
95
85
 
86
+ # The playlist's public/private status (if it is added to the user's profile):
87
+ # `true` the playlist is public, `false` the playlist is private, `null` the
88
+ # playlist status is not relevant. For more about public/private status, see
89
+ # [Working with Playlists](/documentation/web-api/concepts/playlists)
90
+ sig { returns(T.nilable(T::Boolean)) }
91
+ attr_reader :published
92
+
93
+ sig { params(published: T::Boolean).void }
94
+ attr_writer :published
95
+
96
96
  # The version identifier for the current playlist. Can be supplied in other
97
97
  # requests to target a specific playlist version
98
98
  sig { returns(T.nilable(String)) }
@@ -132,7 +132,6 @@ module Spotted
132
132
  sig do
133
133
  params(
134
134
  id: String,
135
- components_schemas_properties_published: T::Boolean,
136
135
  collaborative: T::Boolean,
137
136
  description: T.nilable(String),
138
137
  external_urls: Spotted::ExternalURLObject::OrHash,
@@ -141,6 +140,7 @@ module Spotted
141
140
  images: T::Array[Spotted::ImageObject::OrHash],
142
141
  name: String,
143
142
  owner: Spotted::Models::PlaylistRetrieveResponse::Owner::OrHash,
143
+ published: T::Boolean,
144
144
  snapshot_id: String,
145
145
  tracks: Spotted::Models::PlaylistRetrieveResponse::Tracks::OrHash,
146
146
  type: String,
@@ -151,11 +151,6 @@ module Spotted
151
151
  # The [Spotify ID](/documentation/web-api/concepts/spotify-uris-ids) for the
152
152
  # playlist.
153
153
  id: nil,
154
- # The playlist's public/private status (if it is added to the user's profile):
155
- # `true` the playlist is public, `false` the playlist is private, `null` the
156
- # playlist status is not relevant. For more about public/private status, see
157
- # [Working with Playlists](/documentation/web-api/concepts/playlists)
158
- components_schemas_properties_published: nil,
159
154
  # `true` if the owner allows other users to modify the playlist.
160
155
  collaborative: nil,
161
156
  # The playlist description. _Only returned for modified, verified playlists,
@@ -177,6 +172,11 @@ module Spotted
177
172
  name: nil,
178
173
  # The user who owns the playlist
179
174
  owner: nil,
175
+ # The playlist's public/private status (if it is added to the user's profile):
176
+ # `true` the playlist is public, `false` the playlist is private, `null` the
177
+ # playlist status is not relevant. For more about public/private status, see
178
+ # [Working with Playlists](/documentation/web-api/concepts/playlists)
179
+ published: nil,
180
180
  # The version identifier for the current playlist. Can be supplied in other
181
181
  # requests to target a specific playlist version
182
182
  snapshot_id: nil,
@@ -194,7 +194,6 @@ module Spotted
194
194
  override.returns(
195
195
  {
196
196
  id: String,
197
- components_schemas_properties_published: T::Boolean,
198
197
  collaborative: T::Boolean,
199
198
  description: T.nilable(String),
200
199
  external_urls: Spotted::ExternalURLObject,
@@ -203,6 +202,7 @@ module Spotted
203
202
  images: T::Array[Spotted::ImageObject],
204
203
  name: String,
205
204
  owner: Spotted::Models::PlaylistRetrieveResponse::Owner,
205
+ published: T::Boolean,
206
206
  snapshot_id: String,
207
207
  tracks: Spotted::Models::PlaylistRetrieveResponse::Tracks,
208
208
  type: String,
@@ -16,16 +16,6 @@ module Spotted
16
16
  sig { params(id: String).void }
17
17
  attr_writer :id
18
18
 
19
- # The playlist's public/private status (if it is added to the user's profile):
20
- # `true` the playlist is public, `false` the playlist is private, `null` the
21
- # playlist status is not relevant. For more about public/private status, see
22
- # [Working with Playlists](/documentation/web-api/concepts/playlists)
23
- sig { returns(T.nilable(T::Boolean)) }
24
- attr_reader :components_schemas_properties_published
25
-
26
- sig { params(components_schemas_properties_published: T::Boolean).void }
27
- attr_writer :components_schemas_properties_published
28
-
29
19
  # `true` if the owner allows other users to modify the playlist.
30
20
  sig { returns(T.nilable(T::Boolean)) }
31
21
  attr_reader :collaborative
@@ -82,6 +72,16 @@ module Spotted
82
72
  end
83
73
  attr_writer :owner
84
74
 
75
+ # The playlist's public/private status (if it is added to the user's profile):
76
+ # `true` the playlist is public, `false` the playlist is private, `null` the
77
+ # playlist status is not relevant. For more about public/private status, see
78
+ # [Working with Playlists](/documentation/web-api/concepts/playlists)
79
+ sig { returns(T.nilable(T::Boolean)) }
80
+ attr_reader :published
81
+
82
+ sig { params(published: T::Boolean).void }
83
+ attr_writer :published
84
+
85
85
  # The version identifier for the current playlist. Can be supplied in other
86
86
  # requests to target a specific playlist version
87
87
  sig { returns(T.nilable(String)) }
@@ -118,7 +118,6 @@ module Spotted
118
118
  sig do
119
119
  params(
120
120
  id: String,
121
- components_schemas_properties_published: T::Boolean,
122
121
  collaborative: T::Boolean,
123
122
  description: String,
124
123
  external_urls: Spotted::ExternalURLObject::OrHash,
@@ -126,6 +125,7 @@ module Spotted
126
125
  images: T::Array[Spotted::ImageObject::OrHash],
127
126
  name: String,
128
127
  owner: Spotted::SimplifiedPlaylistObject::Owner::OrHash,
128
+ published: T::Boolean,
129
129
  snapshot_id: String,
130
130
  tracks: Spotted::PlaylistTracksRefObject::OrHash,
131
131
  type: String,
@@ -136,11 +136,6 @@ module Spotted
136
136
  # The [Spotify ID](/documentation/web-api/concepts/spotify-uris-ids) for the
137
137
  # playlist.
138
138
  id: nil,
139
- # The playlist's public/private status (if it is added to the user's profile):
140
- # `true` the playlist is public, `false` the playlist is private, `null` the
141
- # playlist status is not relevant. For more about public/private status, see
142
- # [Working with Playlists](/documentation/web-api/concepts/playlists)
143
- components_schemas_properties_published: nil,
144
139
  # `true` if the owner allows other users to modify the playlist.
145
140
  collaborative: nil,
146
141
  # The playlist description. _Only returned for modified, verified playlists,
@@ -160,6 +155,11 @@ module Spotted
160
155
  name: nil,
161
156
  # The user who owns the playlist
162
157
  owner: nil,
158
+ # The playlist's public/private status (if it is added to the user's profile):
159
+ # `true` the playlist is public, `false` the playlist is private, `null` the
160
+ # playlist status is not relevant. For more about public/private status, see
161
+ # [Working with Playlists](/documentation/web-api/concepts/playlists)
162
+ published: nil,
163
163
  # The version identifier for the current playlist. Can be supplied in other
164
164
  # requests to target a specific playlist version
165
165
  snapshot_id: nil,
@@ -180,7 +180,6 @@ module Spotted
180
180
  override.returns(
181
181
  {
182
182
  id: String,
183
- components_schemas_properties_published: T::Boolean,
184
183
  collaborative: T::Boolean,
185
184
  description: String,
186
185
  external_urls: Spotted::ExternalURLObject,
@@ -188,6 +187,7 @@ module Spotted
188
187
  images: T::Array[Spotted::ImageObject],
189
188
  name: String,
190
189
  owner: Spotted::SimplifiedPlaylistObject::Owner,
190
+ published: T::Boolean,
191
191
  snapshot_id: String,
192
192
  tracks: Spotted::PlaylistTracksRefObject,
193
193
  type: String,
@@ -20,16 +20,6 @@ module Spotted
20
20
  sig { params(id: String).void }
21
21
  attr_writer :id
22
22
 
23
- # The playlist's public/private status (if it is added to the user's profile):
24
- # `true` the playlist is public, `false` the playlist is private, `null` the
25
- # playlist status is not relevant. For more about public/private status, see
26
- # [Working with Playlists](/documentation/web-api/concepts/playlists)
27
- sig { returns(T.nilable(T::Boolean)) }
28
- attr_reader :components_schemas_properties_published
29
-
30
- sig { params(components_schemas_properties_published: T::Boolean).void }
31
- attr_writer :components_schemas_properties_published
32
-
33
23
  # `true` if the owner allows other users to modify the playlist.
34
24
  sig { returns(T.nilable(T::Boolean)) }
35
25
  attr_reader :collaborative
@@ -96,6 +86,16 @@ module Spotted
96
86
  end
97
87
  attr_writer :owner
98
88
 
89
+ # The playlist's public/private status (if it is added to the user's profile):
90
+ # `true` the playlist is public, `false` the playlist is private, `null` the
91
+ # playlist status is not relevant. For more about public/private status, see
92
+ # [Working with Playlists](/documentation/web-api/concepts/playlists)
93
+ sig { returns(T.nilable(T::Boolean)) }
94
+ attr_reader :published
95
+
96
+ sig { params(published: T::Boolean).void }
97
+ attr_writer :published
98
+
99
99
  # The version identifier for the current playlist. Can be supplied in other
100
100
  # requests to target a specific playlist version
101
101
  sig { returns(T.nilable(String)) }
@@ -138,7 +138,6 @@ module Spotted
138
138
  sig do
139
139
  params(
140
140
  id: String,
141
- components_schemas_properties_published: T::Boolean,
142
141
  collaborative: T::Boolean,
143
142
  description: T.nilable(String),
144
143
  external_urls: Spotted::ExternalURLObject::OrHash,
@@ -148,6 +147,7 @@ module Spotted
148
147
  name: String,
149
148
  owner:
150
149
  Spotted::Models::Users::PlaylistCreateResponse::Owner::OrHash,
150
+ published: T::Boolean,
151
151
  snapshot_id: String,
152
152
  tracks:
153
153
  Spotted::Models::Users::PlaylistCreateResponse::Tracks::OrHash,
@@ -159,11 +159,6 @@ module Spotted
159
159
  # The [Spotify ID](/documentation/web-api/concepts/spotify-uris-ids) for the
160
160
  # playlist.
161
161
  id: nil,
162
- # The playlist's public/private status (if it is added to the user's profile):
163
- # `true` the playlist is public, `false` the playlist is private, `null` the
164
- # playlist status is not relevant. For more about public/private status, see
165
- # [Working with Playlists](/documentation/web-api/concepts/playlists)
166
- components_schemas_properties_published: nil,
167
162
  # `true` if the owner allows other users to modify the playlist.
168
163
  collaborative: nil,
169
164
  # The playlist description. _Only returned for modified, verified playlists,
@@ -185,6 +180,11 @@ module Spotted
185
180
  name: nil,
186
181
  # The user who owns the playlist
187
182
  owner: nil,
183
+ # The playlist's public/private status (if it is added to the user's profile):
184
+ # `true` the playlist is public, `false` the playlist is private, `null` the
185
+ # playlist status is not relevant. For more about public/private status, see
186
+ # [Working with Playlists](/documentation/web-api/concepts/playlists)
187
+ published: nil,
188
188
  # The version identifier for the current playlist. Can be supplied in other
189
189
  # requests to target a specific playlist version
190
190
  snapshot_id: nil,
@@ -202,7 +202,6 @@ module Spotted
202
202
  override.returns(
203
203
  {
204
204
  id: String,
205
- components_schemas_properties_published: T::Boolean,
206
205
  collaborative: T::Boolean,
207
206
  description: T.nilable(String),
208
207
  external_urls: Spotted::ExternalURLObject,
@@ -211,6 +210,7 @@ module Spotted
211
210
  images: T::Array[Spotted::ImageObject],
212
211
  name: String,
213
212
  owner: Spotted::Models::Users::PlaylistCreateResponse::Owner,
213
+ published: T::Boolean,
214
214
  snapshot_id: String,
215
215
  tracks: Spotted::Models::Users::PlaylistCreateResponse::Tracks,
216
216
  type: String,
@@ -3,7 +3,6 @@ module Spotted
3
3
  type playlist_retrieve_response =
4
4
  {
5
5
  id: String,
6
- components_schemas_properties_published: bool,
7
6
  collaborative: bool,
8
7
  description: String?,
9
8
  external_urls: Spotted::ExternalURLObject,
@@ -12,6 +11,7 @@ module Spotted
12
11
  images: ::Array[Spotted::ImageObject],
13
12
  name: String,
14
13
  owner: Spotted::Models::PlaylistRetrieveResponse::Owner,
14
+ published: bool,
15
15
  snapshot_id: String,
16
16
  tracks: Spotted::Models::PlaylistRetrieveResponse::Tracks,
17
17
  type: String,
@@ -23,10 +23,6 @@ module Spotted
23
23
 
24
24
  def id=: (String) -> String
25
25
 
26
- attr_reader components_schemas_properties_published: bool?
27
-
28
- def components_schemas_properties_published=: (bool) -> bool
29
-
30
26
  attr_reader collaborative: bool?
31
27
 
32
28
  def collaborative=: (bool) -> bool
@@ -63,6 +59,10 @@ module Spotted
63
59
  Spotted::Models::PlaylistRetrieveResponse::Owner
64
60
  ) -> Spotted::Models::PlaylistRetrieveResponse::Owner
65
61
 
62
+ attr_reader published: bool?
63
+
64
+ def published=: (bool) -> bool
65
+
66
66
  attr_reader snapshot_id: String?
67
67
 
68
68
  def snapshot_id=: (String) -> String
@@ -83,7 +83,6 @@ module Spotted
83
83
 
84
84
  def initialize: (
85
85
  ?id: String,
86
- ?components_schemas_properties_published: bool,
87
86
  ?collaborative: bool,
88
87
  ?description: String?,
89
88
  ?external_urls: Spotted::ExternalURLObject,
@@ -92,6 +91,7 @@ module Spotted
92
91
  ?images: ::Array[Spotted::ImageObject],
93
92
  ?name: String,
94
93
  ?owner: Spotted::Models::PlaylistRetrieveResponse::Owner,
94
+ ?published: bool,
95
95
  ?snapshot_id: String,
96
96
  ?tracks: Spotted::Models::PlaylistRetrieveResponse::Tracks,
97
97
  ?type: String,
@@ -100,7 +100,6 @@ module Spotted
100
100
 
101
101
  def to_hash: -> {
102
102
  id: String,
103
- components_schemas_properties_published: bool,
104
103
  collaborative: bool,
105
104
  description: String?,
106
105
  external_urls: Spotted::ExternalURLObject,
@@ -109,6 +108,7 @@ module Spotted
109
108
  images: ::Array[Spotted::ImageObject],
110
109
  name: String,
111
110
  owner: Spotted::Models::PlaylistRetrieveResponse::Owner,
111
+ published: bool,
112
112
  snapshot_id: String,
113
113
  tracks: Spotted::Models::PlaylistRetrieveResponse::Tracks,
114
114
  type: String,
@@ -3,7 +3,6 @@ module Spotted
3
3
  type simplified_playlist_object =
4
4
  {
5
5
  id: String,
6
- components_schemas_properties_published: bool,
7
6
  collaborative: bool,
8
7
  description: String,
9
8
  external_urls: Spotted::ExternalURLObject,
@@ -11,6 +10,7 @@ module Spotted
11
10
  images: ::Array[Spotted::ImageObject],
12
11
  name: String,
13
12
  owner: Spotted::SimplifiedPlaylistObject::Owner,
13
+ published: bool,
14
14
  snapshot_id: String,
15
15
  tracks: Spotted::PlaylistTracksRefObject,
16
16
  type: String,
@@ -22,10 +22,6 @@ module Spotted
22
22
 
23
23
  def id=: (String) -> String
24
24
 
25
- attr_reader components_schemas_properties_published: bool?
26
-
27
- def components_schemas_properties_published=: (bool) -> bool
28
-
29
25
  attr_reader collaborative: bool?
30
26
 
31
27
  def collaborative=: (bool) -> bool
@@ -60,6 +56,10 @@ module Spotted
60
56
  Spotted::SimplifiedPlaylistObject::Owner
61
57
  ) -> Spotted::SimplifiedPlaylistObject::Owner
62
58
 
59
+ attr_reader published: bool?
60
+
61
+ def published=: (bool) -> bool
62
+
63
63
  attr_reader snapshot_id: String?
64
64
 
65
65
  def snapshot_id=: (String) -> String
@@ -80,7 +80,6 @@ module Spotted
80
80
 
81
81
  def initialize: (
82
82
  ?id: String,
83
- ?components_schemas_properties_published: bool,
84
83
  ?collaborative: bool,
85
84
  ?description: String,
86
85
  ?external_urls: Spotted::ExternalURLObject,
@@ -88,6 +87,7 @@ module Spotted
88
87
  ?images: ::Array[Spotted::ImageObject],
89
88
  ?name: String,
90
89
  ?owner: Spotted::SimplifiedPlaylistObject::Owner,
90
+ ?published: bool,
91
91
  ?snapshot_id: String,
92
92
  ?tracks: Spotted::PlaylistTracksRefObject,
93
93
  ?type: String,
@@ -96,7 +96,6 @@ module Spotted
96
96
 
97
97
  def to_hash: -> {
98
98
  id: String,
99
- components_schemas_properties_published: bool,
100
99
  collaborative: bool,
101
100
  description: String,
102
101
  external_urls: Spotted::ExternalURLObject,
@@ -104,6 +103,7 @@ module Spotted
104
103
  images: ::Array[Spotted::ImageObject],
105
104
  name: String,
106
105
  owner: Spotted::SimplifiedPlaylistObject::Owner,
106
+ published: bool,
107
107
  snapshot_id: String,
108
108
  tracks: Spotted::PlaylistTracksRefObject,
109
109
  type: String,
@@ -4,7 +4,6 @@ module Spotted
4
4
  type playlist_create_response =
5
5
  {
6
6
  id: String,
7
- components_schemas_properties_published: bool,
8
7
  collaborative: bool,
9
8
  description: String?,
10
9
  external_urls: Spotted::ExternalURLObject,
@@ -13,6 +12,7 @@ module Spotted
13
12
  images: ::Array[Spotted::ImageObject],
14
13
  name: String,
15
14
  owner: Spotted::Models::Users::PlaylistCreateResponse::Owner,
15
+ published: bool,
16
16
  snapshot_id: String,
17
17
  tracks: Spotted::Models::Users::PlaylistCreateResponse::Tracks,
18
18
  type: String,
@@ -24,10 +24,6 @@ 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
-
31
27
  attr_reader collaborative: bool?
32
28
 
33
29
  def collaborative=: (bool) -> bool
@@ -64,6 +60,10 @@ module Spotted
64
60
  Spotted::Models::Users::PlaylistCreateResponse::Owner
65
61
  ) -> Spotted::Models::Users::PlaylistCreateResponse::Owner
66
62
 
63
+ attr_reader published: bool?
64
+
65
+ def published=: (bool) -> bool
66
+
67
67
  attr_reader snapshot_id: String?
68
68
 
69
69
  def snapshot_id=: (String) -> String
@@ -84,7 +84,6 @@ module Spotted
84
84
 
85
85
  def initialize: (
86
86
  ?id: String,
87
- ?components_schemas_properties_published: bool,
88
87
  ?collaborative: bool,
89
88
  ?description: String?,
90
89
  ?external_urls: Spotted::ExternalURLObject,
@@ -93,6 +92,7 @@ module Spotted
93
92
  ?images: ::Array[Spotted::ImageObject],
94
93
  ?name: String,
95
94
  ?owner: Spotted::Models::Users::PlaylistCreateResponse::Owner,
95
+ ?published: bool,
96
96
  ?snapshot_id: String,
97
97
  ?tracks: Spotted::Models::Users::PlaylistCreateResponse::Tracks,
98
98
  ?type: String,
@@ -101,7 +101,6 @@ module Spotted
101
101
 
102
102
  def to_hash: -> {
103
103
  id: String,
104
- components_schemas_properties_published: bool,
105
104
  collaborative: bool,
106
105
  description: String?,
107
106
  external_urls: Spotted::ExternalURLObject,
@@ -110,6 +109,7 @@ module Spotted
110
109
  images: ::Array[Spotted::ImageObject],
111
110
  name: String,
112
111
  owner: Spotted::Models::Users::PlaylistCreateResponse::Owner,
112
+ published: bool,
113
113
  snapshot_id: String,
114
114
  tracks: Spotted::Models::Users::PlaylistCreateResponse::Tracks,
115
115
  type: String,
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.17.0
4
+ version: 0.18.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Spotted