spotted-ts 0.1.0 → 0.14.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.
- package/CHANGELOG.md +206 -3
- package/README.md +53 -4
- package/client.d.mts +33 -25
- package/client.d.mts.map +1 -1
- package/client.d.ts +33 -25
- package/client.d.ts.map +1 -1
- package/client.js +16 -9
- package/client.js.map +1 -1
- package/client.mjs +17 -10
- package/client.mjs.map +1 -1
- package/package.json +2 -2
- package/resources/albums.d.mts +34 -2
- package/resources/albums.d.mts.map +1 -1
- package/resources/albums.d.ts +34 -2
- package/resources/albums.d.ts.map +1 -1
- package/resources/artists.d.mts +15 -7
- package/resources/artists.d.mts.map +1 -1
- package/resources/artists.d.ts +15 -7
- package/resources/artists.d.ts.map +1 -1
- package/resources/artists.js +2 -2
- package/resources/artists.js.map +1 -1
- package/resources/artists.mjs +2 -2
- package/resources/artists.mjs.map +1 -1
- package/resources/audio-analysis.d.mts +32 -0
- package/resources/audio-analysis.d.mts.map +1 -1
- package/resources/audio-analysis.d.ts +32 -0
- package/resources/audio-analysis.d.ts.map +1 -1
- package/resources/audio-features.d.mts +22 -6
- package/resources/audio-features.d.mts.map +1 -1
- package/resources/audio-features.d.ts +22 -6
- package/resources/audio-features.d.ts.map +1 -1
- package/resources/audio-features.js +1 -1
- package/resources/audio-features.js.map +1 -1
- package/resources/audio-features.mjs +1 -1
- package/resources/audio-features.mjs.map +1 -1
- package/resources/audiobooks.d.mts +32 -8
- package/resources/audiobooks.d.mts.map +1 -1
- package/resources/audiobooks.d.ts +32 -8
- package/resources/audiobooks.d.ts.map +1 -1
- package/resources/audiobooks.js +1 -1
- package/resources/audiobooks.js.map +1 -1
- package/resources/audiobooks.mjs +1 -1
- package/resources/audiobooks.mjs.map +1 -1
- package/resources/browse/browse.d.mts +27 -3
- package/resources/browse/browse.d.mts.map +1 -1
- package/resources/browse/browse.d.ts +27 -3
- package/resources/browse/browse.d.ts.map +1 -1
- package/resources/browse/browse.js.map +1 -1
- package/resources/browse/browse.mjs.map +1 -1
- package/resources/browse/categories.d.mts +45 -53
- package/resources/browse/categories.d.mts.map +1 -1
- package/resources/browse/categories.d.ts +45 -53
- package/resources/browse/categories.d.ts.map +1 -1
- package/resources/browse/categories.js +5 -1
- package/resources/browse/categories.js.map +1 -1
- package/resources/browse/categories.mjs +5 -1
- package/resources/browse/categories.mjs.map +1 -1
- package/resources/browse/index.d.mts +1 -1
- package/resources/browse/index.d.mts.map +1 -1
- package/resources/browse/index.d.ts +1 -1
- package/resources/browse/index.d.ts.map +1 -1
- package/resources/browse/index.js.map +1 -1
- package/resources/browse/index.mjs.map +1 -1
- package/resources/chapters.d.mts +22 -6
- package/resources/chapters.d.mts.map +1 -1
- package/resources/chapters.d.ts +22 -6
- package/resources/chapters.d.ts.map +1 -1
- package/resources/chapters.js +1 -1
- package/resources/chapters.js.map +1 -1
- package/resources/chapters.mjs +1 -1
- package/resources/chapters.mjs.map +1 -1
- package/resources/episodes.d.mts +4 -4
- package/resources/episodes.d.mts.map +1 -1
- package/resources/episodes.d.ts +4 -4
- package/resources/episodes.d.ts.map +1 -1
- package/resources/episodes.js +1 -1
- package/resources/episodes.js.map +1 -1
- package/resources/episodes.mjs +1 -1
- package/resources/episodes.mjs.map +1 -1
- package/resources/index.d.mts +8 -8
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +8 -8
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/me/albums.d.mts +41 -1
- package/resources/me/albums.d.mts.map +1 -1
- package/resources/me/albums.d.ts +41 -1
- package/resources/me/albums.d.ts.map +1 -1
- package/resources/me/audiobooks.d.mts +17 -1
- package/resources/me/audiobooks.d.mts.map +1 -1
- package/resources/me/audiobooks.d.ts +17 -1
- package/resources/me/audiobooks.d.ts.map +1 -1
- package/resources/me/episodes.d.mts +24 -0
- package/resources/me/episodes.d.mts.map +1 -1
- package/resources/me/episodes.d.ts +24 -0
- package/resources/me/episodes.d.ts.map +1 -1
- package/resources/me/following.d.mts +39 -7
- package/resources/me/following.d.mts.map +1 -1
- package/resources/me/following.d.ts +39 -7
- package/resources/me/following.d.ts.map +1 -1
- package/resources/me/following.js +2 -2
- package/resources/me/following.js.map +1 -1
- package/resources/me/following.mjs +2 -2
- package/resources/me/following.mjs.map +1 -1
- package/resources/me/index.d.mts +1 -1
- package/resources/me/index.d.mts.map +1 -1
- package/resources/me/index.d.ts +1 -1
- package/resources/me/index.d.ts.map +1 -1
- package/resources/me/me.d.mts +18 -2
- package/resources/me/me.d.mts.map +1 -1
- package/resources/me/me.d.ts +18 -2
- package/resources/me/me.d.ts.map +1 -1
- package/resources/me/me.js.map +1 -1
- package/resources/me/me.mjs.map +1 -1
- package/resources/me/player/player.d.mts +72 -0
- package/resources/me/player/player.d.mts.map +1 -1
- package/resources/me/player/player.d.ts +72 -0
- package/resources/me/player/player.d.ts.map +1 -1
- package/resources/me/player/player.js.map +1 -1
- package/resources/me/player/player.mjs.map +1 -1
- package/resources/me/player/queue.d.mts +8 -0
- package/resources/me/player/queue.d.mts.map +1 -1
- package/resources/me/player/queue.d.ts +8 -0
- package/resources/me/player/queue.d.ts.map +1 -1
- package/resources/me/shows.d.mts +24 -0
- package/resources/me/shows.d.mts.map +1 -1
- package/resources/me/shows.d.ts +24 -0
- package/resources/me/shows.d.ts.map +1 -1
- package/resources/me/tracks.d.mts +24 -0
- package/resources/me/tracks.d.mts.map +1 -1
- package/resources/me/tracks.d.ts +24 -0
- package/resources/me/tracks.d.ts.map +1 -1
- package/resources/playlists/followers.d.mts +4 -3
- package/resources/playlists/followers.d.mts.map +1 -1
- package/resources/playlists/followers.d.ts +4 -3
- package/resources/playlists/followers.d.ts.map +1 -1
- package/resources/playlists/images.d.mts +7 -12
- package/resources/playlists/images.d.mts.map +1 -1
- package/resources/playlists/images.d.ts +7 -12
- package/resources/playlists/images.d.ts.map +1 -1
- package/resources/playlists/images.js +11 -7
- package/resources/playlists/images.js.map +1 -1
- package/resources/playlists/images.mjs +11 -7
- package/resources/playlists/images.mjs.map +1 -1
- package/resources/playlists/index.d.mts +1 -1
- package/resources/playlists/index.d.mts.map +1 -1
- package/resources/playlists/index.d.ts +1 -1
- package/resources/playlists/index.d.ts.map +1 -1
- package/resources/playlists/index.js.map +1 -1
- package/resources/playlists/index.mjs.map +1 -1
- package/resources/playlists/playlists.d.mts +17 -8
- package/resources/playlists/playlists.d.mts.map +1 -1
- package/resources/playlists/playlists.d.ts +17 -8
- package/resources/playlists/playlists.d.ts.map +1 -1
- package/resources/playlists/playlists.js.map +1 -1
- package/resources/playlists/playlists.mjs.map +1 -1
- package/resources/playlists/tracks.d.mts +24 -0
- package/resources/playlists/tracks.d.mts.map +1 -1
- package/resources/playlists/tracks.d.ts +24 -0
- package/resources/playlists/tracks.d.ts.map +1 -1
- package/resources/recommendations.d.mts +16 -0
- package/resources/recommendations.d.mts.map +1 -1
- package/resources/recommendations.d.ts +16 -0
- package/resources/recommendations.d.ts.map +1 -1
- package/resources/search.d.mts +73 -17
- package/resources/search.d.mts.map +1 -1
- package/resources/search.d.ts +73 -17
- package/resources/search.d.ts.map +1 -1
- package/resources/search.js +1 -1
- package/resources/search.js.map +1 -1
- package/resources/search.mjs +1 -1
- package/resources/search.mjs.map +1 -1
- package/resources/shared.d.mts +214 -5
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +214 -5
- package/resources/shared.d.ts.map +1 -1
- package/resources/shows.d.mts +13 -5
- package/resources/shows.d.mts.map +1 -1
- package/resources/shows.d.ts +13 -5
- package/resources/shows.d.ts.map +1 -1
- package/resources/shows.js +1 -1
- package/resources/shows.js.map +1 -1
- package/resources/shows.mjs +1 -1
- package/resources/shows.mjs.map +1 -1
- package/resources/tracks.d.mts +4 -4
- package/resources/tracks.d.mts.map +1 -1
- package/resources/tracks.d.ts +4 -4
- package/resources/tracks.d.ts.map +1 -1
- package/resources/tracks.js +1 -1
- package/resources/tracks.js.map +1 -1
- package/resources/tracks.mjs +1 -1
- package/resources/tracks.mjs.map +1 -1
- package/resources/users/playlists.d.mts +18 -11
- package/resources/users/playlists.d.mts.map +1 -1
- package/resources/users/playlists.d.ts +18 -11
- package/resources/users/playlists.d.ts.map +1 -1
- package/resources/users/users.d.mts +8 -0
- package/resources/users/users.d.mts.map +1 -1
- package/resources/users/users.d.ts +8 -0
- package/resources/users/users.d.ts.map +1 -1
- package/resources/users/users.js.map +1 -1
- package/resources/users/users.mjs.map +1 -1
- package/src/client.ts +71 -55
- package/src/resources/albums.ts +40 -4
- package/src/resources/artists.ts +24 -12
- package/src/resources/audio-analysis.ts +36 -0
- package/src/resources/audio-features.ts +28 -7
- package/src/resources/audiobooks.ts +41 -11
- package/src/resources/browse/browse.ts +31 -2
- package/src/resources/browse/categories.ts +54 -62
- package/src/resources/browse/index.ts +1 -0
- package/src/resources/chapters.ts +28 -7
- package/src/resources/episodes.ts +8 -5
- package/src/resources/index.ts +21 -16
- package/src/resources/me/albums.ts +47 -2
- package/src/resources/me/audiobooks.ts +20 -2
- package/src/resources/me/episodes.ts +27 -0
- package/src/resources/me/following.ts +47 -8
- package/src/resources/me/index.ts +2 -2
- package/src/resources/me/me.ts +22 -4
- package/src/resources/me/player/player.ts +81 -0
- package/src/resources/me/player/queue.ts +9 -0
- package/src/resources/me/shows.ts +27 -0
- package/src/resources/me/tracks.ts +27 -0
- package/src/resources/playlists/followers.ts +4 -3
- package/src/resources/playlists/images.ts +16 -15
- package/src/resources/playlists/index.ts +1 -1
- package/src/resources/playlists/playlists.ts +19 -13
- package/src/resources/playlists/tracks.ts +27 -0
- package/src/resources/recommendations.ts +18 -0
- package/src/resources/search.ts +86 -26
- package/src/resources/shared.ts +241 -6
- package/src/resources/shows.ts +19 -7
- package/src/resources/tracks.ts +8 -5
- package/src/resources/users/playlists.ts +20 -12
- package/src/resources/users/users.ts +9 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.mts.map +1 -1
- package/version.d.ts +1 -1
- package/version.d.ts.map +1 -1
- package/version.js +1 -1
- package/version.js.map +1 -1
- package/version.mjs +1 -1
- package/version.mjs.map +1 -1
package/resources/search.d.mts
CHANGED
|
@@ -8,24 +8,23 @@ export declare class Search extends APIResource {
|
|
|
8
8
|
* episodes or audiobooks that match a keyword string. Audiobooks are only
|
|
9
9
|
* available within the US, UK, Canada, Ireland, New Zealand and Australia markets.
|
|
10
10
|
*/
|
|
11
|
-
|
|
11
|
+
query(query: SearchQueryParams, options?: RequestOptions): APIPromise<SearchQueryResponse>;
|
|
12
12
|
}
|
|
13
|
-
export interface
|
|
14
|
-
albums?:
|
|
15
|
-
artists?:
|
|
16
|
-
audiobooks?:
|
|
17
|
-
episodes?:
|
|
13
|
+
export interface SearchQueryResponse {
|
|
14
|
+
albums?: SearchQueryResponse.Albums;
|
|
15
|
+
artists?: SearchQueryResponse.Artists;
|
|
16
|
+
audiobooks?: SearchQueryResponse.Audiobooks;
|
|
17
|
+
episodes?: SearchQueryResponse.Episodes;
|
|
18
18
|
playlists?: Shared.PagingPlaylistObject;
|
|
19
|
-
shows?:
|
|
20
|
-
tracks?:
|
|
19
|
+
shows?: SearchQueryResponse.Shows;
|
|
20
|
+
tracks?: SearchQueryResponse.Tracks;
|
|
21
21
|
}
|
|
22
|
-
export declare namespace
|
|
22
|
+
export declare namespace SearchQueryResponse {
|
|
23
23
|
interface Albums {
|
|
24
24
|
/**
|
|
25
25
|
* A link to the Web API endpoint returning the full result of the request
|
|
26
26
|
*/
|
|
27
27
|
href: string;
|
|
28
|
-
items: Array<Albums.Item>;
|
|
29
28
|
/**
|
|
30
29
|
* The maximum number of items in the response (as set in the query or by default).
|
|
31
30
|
*/
|
|
@@ -46,6 +45,15 @@ export declare namespace SearchRetrieveResponse {
|
|
|
46
45
|
* The total number of items available to return.
|
|
47
46
|
*/
|
|
48
47
|
total: number;
|
|
48
|
+
items?: Array<Albums.Item>;
|
|
49
|
+
/**
|
|
50
|
+
* The playlist's public/private status (if it should be added to the user's
|
|
51
|
+
* profile or not): `true` the playlist will be public, `false` the playlist will
|
|
52
|
+
* be private, `null` the playlist status is not relevant. For more about
|
|
53
|
+
* public/private status, see
|
|
54
|
+
* [Working with Playlists](/documentation/web-api/concepts/playlists)
|
|
55
|
+
*/
|
|
56
|
+
published?: boolean;
|
|
49
57
|
}
|
|
50
58
|
namespace Albums {
|
|
51
59
|
interface Item {
|
|
@@ -108,6 +116,14 @@ export declare namespace SearchRetrieveResponse {
|
|
|
108
116
|
* album.
|
|
109
117
|
*/
|
|
110
118
|
uri: string;
|
|
119
|
+
/**
|
|
120
|
+
* The playlist's public/private status (if it should be added to the user's
|
|
121
|
+
* profile or not): `true` the playlist will be public, `false` the playlist will
|
|
122
|
+
* be private, `null` the playlist status is not relevant. For more about
|
|
123
|
+
* public/private status, see
|
|
124
|
+
* [Working with Playlists](/documentation/web-api/concepts/playlists)
|
|
125
|
+
*/
|
|
126
|
+
published?: boolean;
|
|
111
127
|
/**
|
|
112
128
|
* Included in the response when a content restriction is applied.
|
|
113
129
|
*/
|
|
@@ -119,7 +135,6 @@ export declare namespace SearchRetrieveResponse {
|
|
|
119
135
|
* A link to the Web API endpoint returning the full result of the request
|
|
120
136
|
*/
|
|
121
137
|
href: string;
|
|
122
|
-
items: Array<Shared.ArtistObject>;
|
|
123
138
|
/**
|
|
124
139
|
* The maximum number of items in the response (as set in the query or by default).
|
|
125
140
|
*/
|
|
@@ -140,13 +155,21 @@ export declare namespace SearchRetrieveResponse {
|
|
|
140
155
|
* The total number of items available to return.
|
|
141
156
|
*/
|
|
142
157
|
total: number;
|
|
158
|
+
items?: Array<Shared.ArtistObject>;
|
|
159
|
+
/**
|
|
160
|
+
* The playlist's public/private status (if it should be added to the user's
|
|
161
|
+
* profile or not): `true` the playlist will be public, `false` the playlist will
|
|
162
|
+
* be private, `null` the playlist status is not relevant. For more about
|
|
163
|
+
* public/private status, see
|
|
164
|
+
* [Working with Playlists](/documentation/web-api/concepts/playlists)
|
|
165
|
+
*/
|
|
166
|
+
published?: boolean;
|
|
143
167
|
}
|
|
144
168
|
interface Audiobooks {
|
|
145
169
|
/**
|
|
146
170
|
* A link to the Web API endpoint returning the full result of the request
|
|
147
171
|
*/
|
|
148
172
|
href: string;
|
|
149
|
-
items: Array<Shared.AudiobookBase>;
|
|
150
173
|
/**
|
|
151
174
|
* The maximum number of items in the response (as set in the query or by default).
|
|
152
175
|
*/
|
|
@@ -167,13 +190,21 @@ export declare namespace SearchRetrieveResponse {
|
|
|
167
190
|
* The total number of items available to return.
|
|
168
191
|
*/
|
|
169
192
|
total: number;
|
|
193
|
+
items?: Array<Shared.AudiobookBase>;
|
|
194
|
+
/**
|
|
195
|
+
* The playlist's public/private status (if it should be added to the user's
|
|
196
|
+
* profile or not): `true` the playlist will be public, `false` the playlist will
|
|
197
|
+
* be private, `null` the playlist status is not relevant. For more about
|
|
198
|
+
* public/private status, see
|
|
199
|
+
* [Working with Playlists](/documentation/web-api/concepts/playlists)
|
|
200
|
+
*/
|
|
201
|
+
published?: boolean;
|
|
170
202
|
}
|
|
171
203
|
interface Episodes {
|
|
172
204
|
/**
|
|
173
205
|
* A link to the Web API endpoint returning the full result of the request
|
|
174
206
|
*/
|
|
175
207
|
href: string;
|
|
176
|
-
items: Array<Shared.SimplifiedEpisodeObject>;
|
|
177
208
|
/**
|
|
178
209
|
* The maximum number of items in the response (as set in the query or by default).
|
|
179
210
|
*/
|
|
@@ -194,13 +225,21 @@ export declare namespace SearchRetrieveResponse {
|
|
|
194
225
|
* The total number of items available to return.
|
|
195
226
|
*/
|
|
196
227
|
total: number;
|
|
228
|
+
items?: Array<Shared.SimplifiedEpisodeObject>;
|
|
229
|
+
/**
|
|
230
|
+
* The playlist's public/private status (if it should be added to the user's
|
|
231
|
+
* profile or not): `true` the playlist will be public, `false` the playlist will
|
|
232
|
+
* be private, `null` the playlist status is not relevant. For more about
|
|
233
|
+
* public/private status, see
|
|
234
|
+
* [Working with Playlists](/documentation/web-api/concepts/playlists)
|
|
235
|
+
*/
|
|
236
|
+
published?: boolean;
|
|
197
237
|
}
|
|
198
238
|
interface Shows {
|
|
199
239
|
/**
|
|
200
240
|
* A link to the Web API endpoint returning the full result of the request
|
|
201
241
|
*/
|
|
202
242
|
href: string;
|
|
203
|
-
items: Array<Shared.ShowBase>;
|
|
204
243
|
/**
|
|
205
244
|
* The maximum number of items in the response (as set in the query or by default).
|
|
206
245
|
*/
|
|
@@ -221,13 +260,21 @@ export declare namespace SearchRetrieveResponse {
|
|
|
221
260
|
* The total number of items available to return.
|
|
222
261
|
*/
|
|
223
262
|
total: number;
|
|
263
|
+
items?: Array<Shared.ShowBase>;
|
|
264
|
+
/**
|
|
265
|
+
* The playlist's public/private status (if it should be added to the user's
|
|
266
|
+
* profile or not): `true` the playlist will be public, `false` the playlist will
|
|
267
|
+
* be private, `null` the playlist status is not relevant. For more about
|
|
268
|
+
* public/private status, see
|
|
269
|
+
* [Working with Playlists](/documentation/web-api/concepts/playlists)
|
|
270
|
+
*/
|
|
271
|
+
published?: boolean;
|
|
224
272
|
}
|
|
225
273
|
interface Tracks {
|
|
226
274
|
/**
|
|
227
275
|
* A link to the Web API endpoint returning the full result of the request
|
|
228
276
|
*/
|
|
229
277
|
href: string;
|
|
230
|
-
items: Array<Shared.TrackObject>;
|
|
231
278
|
/**
|
|
232
279
|
* The maximum number of items in the response (as set in the query or by default).
|
|
233
280
|
*/
|
|
@@ -248,9 +295,18 @@ export declare namespace SearchRetrieveResponse {
|
|
|
248
295
|
* The total number of items available to return.
|
|
249
296
|
*/
|
|
250
297
|
total: number;
|
|
298
|
+
items?: Array<Shared.TrackObject>;
|
|
299
|
+
/**
|
|
300
|
+
* The playlist's public/private status (if it should be added to the user's
|
|
301
|
+
* profile or not): `true` the playlist will be public, `false` the playlist will
|
|
302
|
+
* be private, `null` the playlist status is not relevant. For more about
|
|
303
|
+
* public/private status, see
|
|
304
|
+
* [Working with Playlists](/documentation/web-api/concepts/playlists)
|
|
305
|
+
*/
|
|
306
|
+
published?: boolean;
|
|
251
307
|
}
|
|
252
308
|
}
|
|
253
|
-
export interface
|
|
309
|
+
export interface SearchQueryParams {
|
|
254
310
|
/**
|
|
255
311
|
* Your search query.
|
|
256
312
|
*
|
|
@@ -304,6 +360,6 @@ export interface SearchRetrieveParams {
|
|
|
304
360
|
offset?: number;
|
|
305
361
|
}
|
|
306
362
|
export declare namespace Search {
|
|
307
|
-
export { type
|
|
363
|
+
export { type SearchQueryResponse as SearchQueryResponse, type SearchQueryParams as SearchQueryParams };
|
|
308
364
|
}
|
|
309
365
|
//# sourceMappingURL=search.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search.d.mts","sourceRoot":"","sources":["../src/resources/search.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,MAAO,SAAQ,WAAW;IACrC;;;;OAIG;IACH,
|
|
1
|
+
{"version":3,"file":"search.d.mts","sourceRoot":"","sources":["../src/resources/search.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,MAAO,SAAQ,WAAW;IACrC;;;;OAIG;IACH,KAAK,CAAC,KAAK,EAAE,iBAAiB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,mBAAmB,CAAC;CAG3F;AAED,MAAM,WAAW,mBAAmB;IAClC,MAAM,CAAC,EAAE,mBAAmB,CAAC,MAAM,CAAC;IAEpC,OAAO,CAAC,EAAE,mBAAmB,CAAC,OAAO,CAAC;IAEtC,UAAU,CAAC,EAAE,mBAAmB,CAAC,UAAU,CAAC;IAE5C,QAAQ,CAAC,EAAE,mBAAmB,CAAC,QAAQ,CAAC;IAExC,SAAS,CAAC,EAAE,MAAM,CAAC,oBAAoB,CA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AC,OAAO,GAAG,QAAQ,GAAG,UAAU,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,GAAG,WAAW,CAAC,CAAC;IAE1F;;;;;OAKG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAE3B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;;;;;;;;;OAUG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EAAE,KAAK,mBAAmB,IAAI,mBAAmB,EAAE,KAAK,iBAAiB,IAAI,iBAAiB,EAAE,CAAC;CACzG"}
|
package/resources/search.d.ts
CHANGED
|
@@ -8,24 +8,23 @@ export declare class Search extends APIResource {
|
|
|
8
8
|
* episodes or audiobooks that match a keyword string. Audiobooks are only
|
|
9
9
|
* available within the US, UK, Canada, Ireland, New Zealand and Australia markets.
|
|
10
10
|
*/
|
|
11
|
-
|
|
11
|
+
query(query: SearchQueryParams, options?: RequestOptions): APIPromise<SearchQueryResponse>;
|
|
12
12
|
}
|
|
13
|
-
export interface
|
|
14
|
-
albums?:
|
|
15
|
-
artists?:
|
|
16
|
-
audiobooks?:
|
|
17
|
-
episodes?:
|
|
13
|
+
export interface SearchQueryResponse {
|
|
14
|
+
albums?: SearchQueryResponse.Albums;
|
|
15
|
+
artists?: SearchQueryResponse.Artists;
|
|
16
|
+
audiobooks?: SearchQueryResponse.Audiobooks;
|
|
17
|
+
episodes?: SearchQueryResponse.Episodes;
|
|
18
18
|
playlists?: Shared.PagingPlaylistObject;
|
|
19
|
-
shows?:
|
|
20
|
-
tracks?:
|
|
19
|
+
shows?: SearchQueryResponse.Shows;
|
|
20
|
+
tracks?: SearchQueryResponse.Tracks;
|
|
21
21
|
}
|
|
22
|
-
export declare namespace
|
|
22
|
+
export declare namespace SearchQueryResponse {
|
|
23
23
|
interface Albums {
|
|
24
24
|
/**
|
|
25
25
|
* A link to the Web API endpoint returning the full result of the request
|
|
26
26
|
*/
|
|
27
27
|
href: string;
|
|
28
|
-
items: Array<Albums.Item>;
|
|
29
28
|
/**
|
|
30
29
|
* The maximum number of items in the response (as set in the query or by default).
|
|
31
30
|
*/
|
|
@@ -46,6 +45,15 @@ export declare namespace SearchRetrieveResponse {
|
|
|
46
45
|
* The total number of items available to return.
|
|
47
46
|
*/
|
|
48
47
|
total: number;
|
|
48
|
+
items?: Array<Albums.Item>;
|
|
49
|
+
/**
|
|
50
|
+
* The playlist's public/private status (if it should be added to the user's
|
|
51
|
+
* profile or not): `true` the playlist will be public, `false` the playlist will
|
|
52
|
+
* be private, `null` the playlist status is not relevant. For more about
|
|
53
|
+
* public/private status, see
|
|
54
|
+
* [Working with Playlists](/documentation/web-api/concepts/playlists)
|
|
55
|
+
*/
|
|
56
|
+
published?: boolean;
|
|
49
57
|
}
|
|
50
58
|
namespace Albums {
|
|
51
59
|
interface Item {
|
|
@@ -108,6 +116,14 @@ export declare namespace SearchRetrieveResponse {
|
|
|
108
116
|
* album.
|
|
109
117
|
*/
|
|
110
118
|
uri: string;
|
|
119
|
+
/**
|
|
120
|
+
* The playlist's public/private status (if it should be added to the user's
|
|
121
|
+
* profile or not): `true` the playlist will be public, `false` the playlist will
|
|
122
|
+
* be private, `null` the playlist status is not relevant. For more about
|
|
123
|
+
* public/private status, see
|
|
124
|
+
* [Working with Playlists](/documentation/web-api/concepts/playlists)
|
|
125
|
+
*/
|
|
126
|
+
published?: boolean;
|
|
111
127
|
/**
|
|
112
128
|
* Included in the response when a content restriction is applied.
|
|
113
129
|
*/
|
|
@@ -119,7 +135,6 @@ export declare namespace SearchRetrieveResponse {
|
|
|
119
135
|
* A link to the Web API endpoint returning the full result of the request
|
|
120
136
|
*/
|
|
121
137
|
href: string;
|
|
122
|
-
items: Array<Shared.ArtistObject>;
|
|
123
138
|
/**
|
|
124
139
|
* The maximum number of items in the response (as set in the query or by default).
|
|
125
140
|
*/
|
|
@@ -140,13 +155,21 @@ export declare namespace SearchRetrieveResponse {
|
|
|
140
155
|
* The total number of items available to return.
|
|
141
156
|
*/
|
|
142
157
|
total: number;
|
|
158
|
+
items?: Array<Shared.ArtistObject>;
|
|
159
|
+
/**
|
|
160
|
+
* The playlist's public/private status (if it should be added to the user's
|
|
161
|
+
* profile or not): `true` the playlist will be public, `false` the playlist will
|
|
162
|
+
* be private, `null` the playlist status is not relevant. For more about
|
|
163
|
+
* public/private status, see
|
|
164
|
+
* [Working with Playlists](/documentation/web-api/concepts/playlists)
|
|
165
|
+
*/
|
|
166
|
+
published?: boolean;
|
|
143
167
|
}
|
|
144
168
|
interface Audiobooks {
|
|
145
169
|
/**
|
|
146
170
|
* A link to the Web API endpoint returning the full result of the request
|
|
147
171
|
*/
|
|
148
172
|
href: string;
|
|
149
|
-
items: Array<Shared.AudiobookBase>;
|
|
150
173
|
/**
|
|
151
174
|
* The maximum number of items in the response (as set in the query or by default).
|
|
152
175
|
*/
|
|
@@ -167,13 +190,21 @@ export declare namespace SearchRetrieveResponse {
|
|
|
167
190
|
* The total number of items available to return.
|
|
168
191
|
*/
|
|
169
192
|
total: number;
|
|
193
|
+
items?: Array<Shared.AudiobookBase>;
|
|
194
|
+
/**
|
|
195
|
+
* The playlist's public/private status (if it should be added to the user's
|
|
196
|
+
* profile or not): `true` the playlist will be public, `false` the playlist will
|
|
197
|
+
* be private, `null` the playlist status is not relevant. For more about
|
|
198
|
+
* public/private status, see
|
|
199
|
+
* [Working with Playlists](/documentation/web-api/concepts/playlists)
|
|
200
|
+
*/
|
|
201
|
+
published?: boolean;
|
|
170
202
|
}
|
|
171
203
|
interface Episodes {
|
|
172
204
|
/**
|
|
173
205
|
* A link to the Web API endpoint returning the full result of the request
|
|
174
206
|
*/
|
|
175
207
|
href: string;
|
|
176
|
-
items: Array<Shared.SimplifiedEpisodeObject>;
|
|
177
208
|
/**
|
|
178
209
|
* The maximum number of items in the response (as set in the query or by default).
|
|
179
210
|
*/
|
|
@@ -194,13 +225,21 @@ export declare namespace SearchRetrieveResponse {
|
|
|
194
225
|
* The total number of items available to return.
|
|
195
226
|
*/
|
|
196
227
|
total: number;
|
|
228
|
+
items?: Array<Shared.SimplifiedEpisodeObject>;
|
|
229
|
+
/**
|
|
230
|
+
* The playlist's public/private status (if it should be added to the user's
|
|
231
|
+
* profile or not): `true` the playlist will be public, `false` the playlist will
|
|
232
|
+
* be private, `null` the playlist status is not relevant. For more about
|
|
233
|
+
* public/private status, see
|
|
234
|
+
* [Working with Playlists](/documentation/web-api/concepts/playlists)
|
|
235
|
+
*/
|
|
236
|
+
published?: boolean;
|
|
197
237
|
}
|
|
198
238
|
interface Shows {
|
|
199
239
|
/**
|
|
200
240
|
* A link to the Web API endpoint returning the full result of the request
|
|
201
241
|
*/
|
|
202
242
|
href: string;
|
|
203
|
-
items: Array<Shared.ShowBase>;
|
|
204
243
|
/**
|
|
205
244
|
* The maximum number of items in the response (as set in the query or by default).
|
|
206
245
|
*/
|
|
@@ -221,13 +260,21 @@ export declare namespace SearchRetrieveResponse {
|
|
|
221
260
|
* The total number of items available to return.
|
|
222
261
|
*/
|
|
223
262
|
total: number;
|
|
263
|
+
items?: Array<Shared.ShowBase>;
|
|
264
|
+
/**
|
|
265
|
+
* The playlist's public/private status (if it should be added to the user's
|
|
266
|
+
* profile or not): `true` the playlist will be public, `false` the playlist will
|
|
267
|
+
* be private, `null` the playlist status is not relevant. For more about
|
|
268
|
+
* public/private status, see
|
|
269
|
+
* [Working with Playlists](/documentation/web-api/concepts/playlists)
|
|
270
|
+
*/
|
|
271
|
+
published?: boolean;
|
|
224
272
|
}
|
|
225
273
|
interface Tracks {
|
|
226
274
|
/**
|
|
227
275
|
* A link to the Web API endpoint returning the full result of the request
|
|
228
276
|
*/
|
|
229
277
|
href: string;
|
|
230
|
-
items: Array<Shared.TrackObject>;
|
|
231
278
|
/**
|
|
232
279
|
* The maximum number of items in the response (as set in the query or by default).
|
|
233
280
|
*/
|
|
@@ -248,9 +295,18 @@ export declare namespace SearchRetrieveResponse {
|
|
|
248
295
|
* The total number of items available to return.
|
|
249
296
|
*/
|
|
250
297
|
total: number;
|
|
298
|
+
items?: Array<Shared.TrackObject>;
|
|
299
|
+
/**
|
|
300
|
+
* The playlist's public/private status (if it should be added to the user's
|
|
301
|
+
* profile or not): `true` the playlist will be public, `false` the playlist will
|
|
302
|
+
* be private, `null` the playlist status is not relevant. For more about
|
|
303
|
+
* public/private status, see
|
|
304
|
+
* [Working with Playlists](/documentation/web-api/concepts/playlists)
|
|
305
|
+
*/
|
|
306
|
+
published?: boolean;
|
|
251
307
|
}
|
|
252
308
|
}
|
|
253
|
-
export interface
|
|
309
|
+
export interface SearchQueryParams {
|
|
254
310
|
/**
|
|
255
311
|
* Your search query.
|
|
256
312
|
*
|
|
@@ -304,6 +360,6 @@ export interface SearchRetrieveParams {
|
|
|
304
360
|
offset?: number;
|
|
305
361
|
}
|
|
306
362
|
export declare namespace Search {
|
|
307
|
-
export { type
|
|
363
|
+
export { type SearchQueryResponse as SearchQueryResponse, type SearchQueryParams as SearchQueryParams };
|
|
308
364
|
}
|
|
309
365
|
//# sourceMappingURL=search.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search.d.ts","sourceRoot":"","sources":["../src/resources/search.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,MAAO,SAAQ,WAAW;IACrC;;;;OAIG;IACH,
|
|
1
|
+
{"version":3,"file":"search.d.ts","sourceRoot":"","sources":["../src/resources/search.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,MAAO,SAAQ,WAAW;IACrC;;;;OAIG;IACH,KAAK,CAAC,KAAK,EAAE,iBAAiB,EAAE,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WAEG;QACH,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;QAExB;;WAEG;QACH,KAAK,EAAE,MAAM,CAAC;QAEd,KAAK,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;QAElC;;;;;;WAMG;QACH,SAAS,CAAC,EAAE,OAAO,CAAC;KACrB;CACF;AAED,MAAM,WAAW,iBAAiB;IAChC;;;;;;;;;;;;;;;OAeG;IACH,CAAC,EAAE,MAAM,CAAC;IAEV;;;;OAIG;IACH,IAAI,EAAE,KAAK,CAAC,OAAO,GAAG,QAAQ,GAAG,UAAU,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,GAAG,WAAW,CAAC,CAAC;IAE1F;;;;;OAKG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAE3B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;;;;;;;;;OAUG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EAAE,KAAK,mBAAmB,IAAI,mBAAmB,EAAE,KAAK,iBAAiB,IAAI,iBAAiB,EAAE,CAAC;CACzG"}
|
package/resources/search.js
CHANGED
|
@@ -9,7 +9,7 @@ class Search extends resource_1.APIResource {
|
|
|
9
9
|
* episodes or audiobooks that match a keyword string. Audiobooks are only
|
|
10
10
|
* available within the US, UK, Canada, Ireland, New Zealand and Australia markets.
|
|
11
11
|
*/
|
|
12
|
-
|
|
12
|
+
query(query, options) {
|
|
13
13
|
return this._client.get('/search', { query, ...options });
|
|
14
14
|
}
|
|
15
15
|
}
|
package/resources/search.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search.js","sourceRoot":"","sources":["../src/resources/search.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAK/C,MAAa,MAAO,SAAQ,sBAAW;IACrC;;;;OAIG;IACH,
|
|
1
|
+
{"version":3,"file":"search.js","sourceRoot":"","sources":["../src/resources/search.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAK/C,MAAa,MAAO,SAAQ,sBAAW;IACrC;;;;OAIG;IACH,KAAK,CAAC,KAAwB,EAAE,OAAwB;QACtD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,SAAS,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5D,CAAC;CACF;AATD,wBASC"}
|
package/resources/search.mjs
CHANGED
|
@@ -6,7 +6,7 @@ export class Search extends APIResource {
|
|
|
6
6
|
* episodes or audiobooks that match a keyword string. Audiobooks are only
|
|
7
7
|
* available within the US, UK, Canada, Ireland, New Zealand and Australia markets.
|
|
8
8
|
*/
|
|
9
|
-
|
|
9
|
+
query(query, options) {
|
|
10
10
|
return this._client.get('/search', { query, ...options });
|
|
11
11
|
}
|
|
12
12
|
}
|
package/resources/search.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search.mjs","sourceRoot":"","sources":["../src/resources/search.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAKtB,MAAM,OAAO,MAAO,SAAQ,WAAW;IACrC;;;;OAIG;IACH,
|
|
1
|
+
{"version":3,"file":"search.mjs","sourceRoot":"","sources":["../src/resources/search.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAKtB,MAAM,OAAO,MAAO,SAAQ,WAAW;IACrC;;;;OAIG;IACH,KAAK,CAAC,KAAwB,EAAE,OAAwB;QACtD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,SAAS,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5D,CAAC;CACF"}
|