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
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { APIResource } from "../../core/resource.js";
|
|
2
2
|
import * as Shared from "../shared.js";
|
|
3
3
|
import { APIPromise } from "../../core/api-promise.js";
|
|
4
|
+
import { CursorURLPage, PagePromise } from "../../core/pagination.js";
|
|
4
5
|
import { RequestOptions } from "../../internal/request-options.js";
|
|
5
6
|
export declare class Categories extends APIResource {
|
|
6
7
|
/**
|
|
@@ -12,7 +13,7 @@ export declare class Categories extends APIResource {
|
|
|
12
13
|
* Get a list of categories used to tag items in Spotify (on, for example, the
|
|
13
14
|
* Spotify player’s “Browse” tab).
|
|
14
15
|
*/
|
|
15
|
-
list(query?: CategoryListParams | null | undefined, options?: RequestOptions):
|
|
16
|
+
list(query?: CategoryListParams | null | undefined, options?: RequestOptions): PagePromise<CategoryListResponsesCursorURLPage, CategoryListResponse>;
|
|
16
17
|
/**
|
|
17
18
|
* Get a list of Spotify playlists tagged with a particular category.
|
|
18
19
|
*
|
|
@@ -20,6 +21,7 @@ export declare class Categories extends APIResource {
|
|
|
20
21
|
*/
|
|
21
22
|
getPlaylists(categoryID: string, query?: CategoryGetPlaylistsParams | null | undefined, options?: RequestOptions): APIPromise<CategoryGetPlaylistsResponse>;
|
|
22
23
|
}
|
|
24
|
+
export type CategoryListResponsesCursorURLPage = CursorURLPage<CategoryListResponse>;
|
|
23
25
|
export interface CategoryRetrieveResponse {
|
|
24
26
|
/**
|
|
25
27
|
* The [Spotify category ID](/documentation/web-api/concepts/spotify-uris-ids) of
|
|
@@ -38,59 +40,41 @@ export interface CategoryRetrieveResponse {
|
|
|
38
40
|
* The name of the category.
|
|
39
41
|
*/
|
|
40
42
|
name: string;
|
|
43
|
+
/**
|
|
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
|
+
published?: boolean;
|
|
41
51
|
}
|
|
42
52
|
export interface CategoryListResponse {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
/**
|
|
69
|
-
* The total number of items available to return.
|
|
70
|
-
*/
|
|
71
|
-
total: number;
|
|
72
|
-
}
|
|
73
|
-
namespace Categories {
|
|
74
|
-
interface Item {
|
|
75
|
-
/**
|
|
76
|
-
* The [Spotify category ID](/documentation/web-api/concepts/spotify-uris-ids) of
|
|
77
|
-
* the category.
|
|
78
|
-
*/
|
|
79
|
-
id: string;
|
|
80
|
-
/**
|
|
81
|
-
* A link to the Web API endpoint returning full details of the category.
|
|
82
|
-
*/
|
|
83
|
-
href: string;
|
|
84
|
-
/**
|
|
85
|
-
* The category icon, in various sizes.
|
|
86
|
-
*/
|
|
87
|
-
icons: Array<Shared.ImageObject>;
|
|
88
|
-
/**
|
|
89
|
-
* The name of the category.
|
|
90
|
-
*/
|
|
91
|
-
name: string;
|
|
92
|
-
}
|
|
93
|
-
}
|
|
53
|
+
/**
|
|
54
|
+
* The [Spotify category ID](/documentation/web-api/concepts/spotify-uris-ids) of
|
|
55
|
+
* the category.
|
|
56
|
+
*/
|
|
57
|
+
id: string;
|
|
58
|
+
/**
|
|
59
|
+
* A link to the Web API endpoint returning full details of the category.
|
|
60
|
+
*/
|
|
61
|
+
href: string;
|
|
62
|
+
/**
|
|
63
|
+
* The category icon, in various sizes.
|
|
64
|
+
*/
|
|
65
|
+
icons: Array<Shared.ImageObject>;
|
|
66
|
+
/**
|
|
67
|
+
* The name of the category.
|
|
68
|
+
*/
|
|
69
|
+
name: string;
|
|
70
|
+
/**
|
|
71
|
+
* The playlist's public/private status (if it should be added to the user's
|
|
72
|
+
* profile or not): `true` the playlist will be public, `false` the playlist will
|
|
73
|
+
* be private, `null` the playlist status is not relevant. For more about
|
|
74
|
+
* public/private status, see
|
|
75
|
+
* [Working with Playlists](/documentation/web-api/concepts/playlists)
|
|
76
|
+
*/
|
|
77
|
+
published?: boolean;
|
|
94
78
|
}
|
|
95
79
|
export interface CategoryGetPlaylistsResponse {
|
|
96
80
|
/**
|
|
@@ -98,6 +82,14 @@ export interface CategoryGetPlaylistsResponse {
|
|
|
98
82
|
*/
|
|
99
83
|
message?: string;
|
|
100
84
|
playlists?: Shared.PagingPlaylistObject;
|
|
85
|
+
/**
|
|
86
|
+
* The playlist's public/private status (if it should be added to the user's
|
|
87
|
+
* profile or not): `true` the playlist will be public, `false` the playlist will
|
|
88
|
+
* be private, `null` the playlist status is not relevant. For more about
|
|
89
|
+
* public/private status, see
|
|
90
|
+
* [Working with Playlists](/documentation/web-api/concepts/playlists)
|
|
91
|
+
*/
|
|
92
|
+
published?: boolean;
|
|
101
93
|
}
|
|
102
94
|
export interface CategoryRetrieveParams {
|
|
103
95
|
/**
|
|
@@ -146,6 +138,6 @@ export interface CategoryGetPlaylistsParams {
|
|
|
146
138
|
offset?: number;
|
|
147
139
|
}
|
|
148
140
|
export declare namespace Categories {
|
|
149
|
-
export { type CategoryRetrieveResponse as CategoryRetrieveResponse, type CategoryListResponse as CategoryListResponse, type CategoryGetPlaylistsResponse as CategoryGetPlaylistsResponse, type CategoryRetrieveParams as CategoryRetrieveParams, type CategoryListParams as CategoryListParams, type CategoryGetPlaylistsParams as CategoryGetPlaylistsParams, };
|
|
141
|
+
export { type CategoryRetrieveResponse as CategoryRetrieveResponse, type CategoryListResponse as CategoryListResponse, type CategoryGetPlaylistsResponse as CategoryGetPlaylistsResponse, type CategoryListResponsesCursorURLPage as CategoryListResponsesCursorURLPage, type CategoryRetrieveParams as CategoryRetrieveParams, type CategoryListParams as CategoryListParams, type CategoryGetPlaylistsParams as CategoryGetPlaylistsParams, };
|
|
150
142
|
}
|
|
151
143
|
//# sourceMappingURL=categories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"categories.d.ts","sourceRoot":"","sources":["../../src/resources/browse/categories.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,UAAW,SAAQ,WAAW;IACzC;;;OAGG;IACH,QAAQ,CACN,UAAU,EAAE,MAAM,EAClB,KAAK,GAAE,sBAAsB,GAAG,IAAI,GAAG,SAAc,EACrD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,wBAAwB,CAAC;IAIvC;;;OAGG;IACH,IAAI,CACF,KAAK,GAAE,kBAAkB,GAAG,IAAI,GAAG,SAAc,EACjD,OAAO,CAAC,EAAE,cAAc,GACvB,
|
|
1
|
+
{"version":3,"file":"categories.d.ts","sourceRoot":"","sources":["../../src/resources/browse/categories.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,EAAE,UAAU,EAAE;OACd,EAAE,aAAa,EAAE,WAAW,EAAE;OAC9B,EAAE,cAAc,EAAE;AAGzB,qBAAa,UAAW,SAAQ,WAAW;IACzC;;;OAGG;IACH,QAAQ,CACN,UAAU,EAAE,MAAM,EAClB,KAAK,GAAE,sBAAsB,GAAG,IAAI,GAAG,SAAc,EACrD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,wBAAwB,CAAC;IAIvC;;;OAGG;IACH,IAAI,CACF,KAAK,GAAE,kBAAkB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AC,EAAE,MAAM,CAAC;IAEf;;;;;;;;;OASG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,WAAW,UAAU,CAAC;IAClC,OAAO,EACL,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,kCAAkC,IAAI,kCAAkC,EAC7E,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,0BAA0B,IAAI,0BAA0B,GAC9D,CAAC;CACH"}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.Categories = void 0;
|
|
5
5
|
const resource_1 = require("../../core/resource.js");
|
|
6
|
+
const pagination_1 = require("../../core/pagination.js");
|
|
6
7
|
const path_1 = require("../../internal/utils/path.js");
|
|
7
8
|
class Categories extends resource_1.APIResource {
|
|
8
9
|
/**
|
|
@@ -17,7 +18,10 @@ class Categories extends resource_1.APIResource {
|
|
|
17
18
|
* Spotify player’s “Browse” tab).
|
|
18
19
|
*/
|
|
19
20
|
list(query = {}, options) {
|
|
20
|
-
return this._client.
|
|
21
|
+
return this._client.getAPIList('/browse/categories', (pagination_1.CursorURLPage), {
|
|
22
|
+
query,
|
|
23
|
+
...options,
|
|
24
|
+
});
|
|
21
25
|
}
|
|
22
26
|
/**
|
|
23
27
|
* Get a list of Spotify playlists tagged with a particular category.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"categories.js","sourceRoot":"","sources":["../../src/resources/browse/categories.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;
|
|
1
|
+
{"version":3,"file":"categories.js","sourceRoot":"","sources":["../../src/resources/browse/categories.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAGlD,yDAAmE;AAEnE,uDAAiD;AAEjD,MAAa,UAAW,SAAQ,sBAAW;IACzC;;;OAGG;IACH,QAAQ,CACN,UAAkB,EAClB,QAAmD,EAAE,EACrD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,sBAAsB,UAAU,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzF,CAAC;IAED;;;OAGG;IACH,IAAI,CACF,QAA+C,EAAE,EACjD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,oBAAoB,EAAE,CAAA,0BAAmC,CAAA,EAAE;YACxF,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;OAIG;IACH,YAAY,CACV,UAAkB,EAClB,QAAuD,EAAE,EACzD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,sBAAsB,UAAU,YAAY,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnG,CAAC;CACF;AAvCD,gCAuCC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
import { APIResource } from "../../core/resource.mjs";
|
|
3
|
+
import { CursorURLPage } from "../../core/pagination.mjs";
|
|
3
4
|
import { path } from "../../internal/utils/path.mjs";
|
|
4
5
|
export class Categories extends APIResource {
|
|
5
6
|
/**
|
|
@@ -14,7 +15,10 @@ export class Categories extends APIResource {
|
|
|
14
15
|
* Spotify player’s “Browse” tab).
|
|
15
16
|
*/
|
|
16
17
|
list(query = {}, options) {
|
|
17
|
-
return this._client.
|
|
18
|
+
return this._client.getAPIList('/browse/categories', (CursorURLPage), {
|
|
19
|
+
query,
|
|
20
|
+
...options,
|
|
21
|
+
});
|
|
18
22
|
}
|
|
19
23
|
/**
|
|
20
24
|
* Get a list of Spotify playlists tagged with a particular category.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"categories.mjs","sourceRoot":"","sources":["../../src/resources/browse/categories.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;
|
|
1
|
+
{"version":3,"file":"categories.mjs","sourceRoot":"","sources":["../../src/resources/browse/categories.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,aAAa,EAAe;OAE9B,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,UAAW,SAAQ,WAAW;IACzC;;;OAGG;IACH,QAAQ,CACN,UAAkB,EAClB,QAAmD,EAAE,EACrD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,sBAAsB,UAAU,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzF,CAAC;IAED;;;OAGG;IACH,IAAI,CACF,QAA+C,EAAE,EACjD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,oBAAoB,EAAE,CAAA,aAAmC,CAAA,EAAE;YACxF,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;OAIG;IACH,YAAY,CACV,UAAkB,EAClB,QAAuD,EAAE,EACzD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,sBAAsB,UAAU,YAAY,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnG,CAAC;CACF"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { Browse, type BrowseGetFeaturedPlaylistsResponse, type BrowseGetNewReleasesResponse, type BrowseGetFeaturedPlaylistsParams, type BrowseGetNewReleasesParams, } from "./browse.mjs";
|
|
2
|
-
export { Categories, type CategoryRetrieveResponse, type CategoryListResponse, type CategoryGetPlaylistsResponse, type CategoryRetrieveParams, type CategoryListParams, type CategoryGetPlaylistsParams, } from "./categories.mjs";
|
|
2
|
+
export { Categories, type CategoryRetrieveResponse, type CategoryListResponse, type CategoryGetPlaylistsResponse, type CategoryRetrieveParams, type CategoryListParams, type CategoryGetPlaylistsParams, type CategoryListResponsesCursorURLPage, } from "./categories.mjs";
|
|
3
3
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/browse/index.ts"],"names":[],"mappings":"OAEO,EACL,MAAM,EACN,KAAK,kCAAkC,EACvC,KAAK,4BAA4B,EACjC,KAAK,gCAAgC,EACrC,KAAK,0BAA0B,GAChC;OACM,EACL,UAAU,EACV,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,4BAA4B,EACjC,KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,EACvB,KAAK,0BAA0B,
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/browse/index.ts"],"names":[],"mappings":"OAEO,EACL,MAAM,EACN,KAAK,kCAAkC,EACvC,KAAK,4BAA4B,EACjC,KAAK,gCAAgC,EACrC,KAAK,0BAA0B,GAChC;OACM,EACL,UAAU,EACV,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,4BAA4B,EACjC,KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,EACvB,KAAK,0BAA0B,EAC/B,KAAK,kCAAkC,GACxC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { Browse, type BrowseGetFeaturedPlaylistsResponse, type BrowseGetNewReleasesResponse, type BrowseGetFeaturedPlaylistsParams, type BrowseGetNewReleasesParams, } from "./browse.js";
|
|
2
|
-
export { Categories, type CategoryRetrieveResponse, type CategoryListResponse, type CategoryGetPlaylistsResponse, type CategoryRetrieveParams, type CategoryListParams, type CategoryGetPlaylistsParams, } from "./categories.js";
|
|
2
|
+
export { Categories, type CategoryRetrieveResponse, type CategoryListResponse, type CategoryGetPlaylistsResponse, type CategoryRetrieveParams, type CategoryListParams, type CategoryGetPlaylistsParams, type CategoryListResponsesCursorURLPage, } from "./categories.js";
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/browse/index.ts"],"names":[],"mappings":"OAEO,EACL,MAAM,EACN,KAAK,kCAAkC,EACvC,KAAK,4BAA4B,EACjC,KAAK,gCAAgC,EACrC,KAAK,0BAA0B,GAChC;OACM,EACL,UAAU,EACV,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,4BAA4B,EACjC,KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,EACvB,KAAK,0BAA0B,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/browse/index.ts"],"names":[],"mappings":"OAEO,EACL,MAAM,EACN,KAAK,kCAAkC,EACvC,KAAK,4BAA4B,EACjC,KAAK,gCAAgC,EACrC,KAAK,0BAA0B,GAChC;OACM,EACL,UAAU,EACV,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,4BAA4B,EACjC,KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,EACvB,KAAK,0BAA0B,EAC/B,KAAK,kCAAkC,GACxC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/browse/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,sCAMkB;AALhB,gGAAA,MAAM,OAAA;AAMR,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/browse/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,sCAMkB;AALhB,gGAAA,MAAM,OAAA;AAMR,8CASsB;AARpB,wGAAA,UAAU,OAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/browse/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,MAAM,GAKP;OACM,EACL,UAAU,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/browse/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,MAAM,GAKP;OACM,EACL,UAAU,GAQX"}
|
package/resources/chapters.d.mts
CHANGED
|
@@ -14,7 +14,7 @@ export declare class Chapters extends APIResource {
|
|
|
14
14
|
* their Spotify IDs. Chapters are only available within the US, UK, Canada,
|
|
15
15
|
* Ireland, New Zealand and Australia markets.
|
|
16
16
|
*/
|
|
17
|
-
|
|
17
|
+
bulkRetrieve(query: ChapterBulkRetrieveParams, options?: RequestOptions): APIPromise<ChapterBulkRetrieveResponse>;
|
|
18
18
|
}
|
|
19
19
|
export interface ChapterRetrieveResponse {
|
|
20
20
|
/**
|
|
@@ -101,6 +101,14 @@ export interface ChapterRetrieveResponse {
|
|
|
101
101
|
* [ISO 3166-1 alpha-2](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code.
|
|
102
102
|
*/
|
|
103
103
|
available_markets?: Array<string>;
|
|
104
|
+
/**
|
|
105
|
+
* The playlist's public/private status (if it should be added to the user's
|
|
106
|
+
* profile or not): `true` the playlist will be public, `false` the playlist will
|
|
107
|
+
* be private, `null` the playlist status is not relevant. For more about
|
|
108
|
+
* public/private status, see
|
|
109
|
+
* [Working with Playlists](/documentation/web-api/concepts/playlists)
|
|
110
|
+
*/
|
|
111
|
+
published?: boolean;
|
|
104
112
|
/**
|
|
105
113
|
* Included in the response when a content restriction is applied.
|
|
106
114
|
*/
|
|
@@ -111,10 +119,10 @@ export interface ChapterRetrieveResponse {
|
|
|
111
119
|
*/
|
|
112
120
|
resume_point?: Shared.ResumePointObject;
|
|
113
121
|
}
|
|
114
|
-
export interface
|
|
115
|
-
chapters: Array<
|
|
122
|
+
export interface ChapterBulkRetrieveResponse {
|
|
123
|
+
chapters: Array<ChapterBulkRetrieveResponse.Chapter>;
|
|
116
124
|
}
|
|
117
|
-
export declare namespace
|
|
125
|
+
export declare namespace ChapterBulkRetrieveResponse {
|
|
118
126
|
interface Chapter {
|
|
119
127
|
/**
|
|
120
128
|
* The [Spotify ID](/documentation/web-api/concepts/spotify-uris-ids) for the
|
|
@@ -200,6 +208,14 @@ export declare namespace ChapterListResponse {
|
|
|
200
208
|
* [ISO 3166-1 alpha-2](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code.
|
|
201
209
|
*/
|
|
202
210
|
available_markets?: Array<string>;
|
|
211
|
+
/**
|
|
212
|
+
* The playlist's public/private status (if it should be added to the user's
|
|
213
|
+
* profile or not): `true` the playlist will be public, `false` the playlist will
|
|
214
|
+
* be private, `null` the playlist status is not relevant. For more about
|
|
215
|
+
* public/private status, see
|
|
216
|
+
* [Working with Playlists](/documentation/web-api/concepts/playlists)
|
|
217
|
+
*/
|
|
218
|
+
published?: boolean;
|
|
203
219
|
/**
|
|
204
220
|
* Included in the response when a content restriction is applied.
|
|
205
221
|
*/
|
|
@@ -225,7 +241,7 @@ export interface ChapterRetrieveParams {
|
|
|
225
241
|
*/
|
|
226
242
|
market?: string;
|
|
227
243
|
}
|
|
228
|
-
export interface
|
|
244
|
+
export interface ChapterBulkRetrieveParams {
|
|
229
245
|
/**
|
|
230
246
|
* A comma-separated list of the
|
|
231
247
|
* [Spotify IDs](/documentation/web-api/concepts/spotify-uris-ids). For example:
|
|
@@ -246,6 +262,6 @@ export interface ChapterListParams {
|
|
|
246
262
|
market?: string;
|
|
247
263
|
}
|
|
248
264
|
export declare namespace Chapters {
|
|
249
|
-
export { type ChapterRetrieveResponse as ChapterRetrieveResponse, type
|
|
265
|
+
export { type ChapterRetrieveResponse as ChapterRetrieveResponse, type ChapterBulkRetrieveResponse as ChapterBulkRetrieveResponse, type ChapterRetrieveParams as ChapterRetrieveParams, type ChapterBulkRetrieveParams as ChapterBulkRetrieveParams, };
|
|
250
266
|
}
|
|
251
267
|
//# sourceMappingURL=chapters.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chapters.d.mts","sourceRoot":"","sources":["../src/resources/chapters.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;OAIG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,KAAK,GAAE,qBAAqB,GAAG,IAAI,GAAG,SAAc,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,uBAAuB,CAAC;IAItC;;;;OAIG;IACH,
|
|
1
|
+
{"version":3,"file":"chapters.d.mts","sourceRoot":"","sources":["../src/resources/chapters.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;OAIG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,KAAK,GAAE,qBAAqB,GAAG,IAAI,GAAG,SAAc,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,uBAAuB,CAAC;IAItC;;;;OAIG;IACH,YAAY,CACV,KAAK,EAAE,yBAAyB,EAChC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,2BAA2B,CAAC;CAG3C;AAED,MAAM,WAAW,uBAAuB;IACtC;;;OAGG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;;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M,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,yBAAyB;IACxC;;;;OAIG;IACH,GAAG,EAAE,MAAM,CAAC;IAEZ;;;;;;;;;;OAUG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,yBAAyB,IAAI,yBAAyB,GAC5D,CAAC;CACH"}
|
package/resources/chapters.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ export declare class Chapters extends APIResource {
|
|
|
14
14
|
* their Spotify IDs. Chapters are only available within the US, UK, Canada,
|
|
15
15
|
* Ireland, New Zealand and Australia markets.
|
|
16
16
|
*/
|
|
17
|
-
|
|
17
|
+
bulkRetrieve(query: ChapterBulkRetrieveParams, options?: RequestOptions): APIPromise<ChapterBulkRetrieveResponse>;
|
|
18
18
|
}
|
|
19
19
|
export interface ChapterRetrieveResponse {
|
|
20
20
|
/**
|
|
@@ -101,6 +101,14 @@ export interface ChapterRetrieveResponse {
|
|
|
101
101
|
* [ISO 3166-1 alpha-2](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code.
|
|
102
102
|
*/
|
|
103
103
|
available_markets?: Array<string>;
|
|
104
|
+
/**
|
|
105
|
+
* The playlist's public/private status (if it should be added to the user's
|
|
106
|
+
* profile or not): `true` the playlist will be public, `false` the playlist will
|
|
107
|
+
* be private, `null` the playlist status is not relevant. For more about
|
|
108
|
+
* public/private status, see
|
|
109
|
+
* [Working with Playlists](/documentation/web-api/concepts/playlists)
|
|
110
|
+
*/
|
|
111
|
+
published?: boolean;
|
|
104
112
|
/**
|
|
105
113
|
* Included in the response when a content restriction is applied.
|
|
106
114
|
*/
|
|
@@ -111,10 +119,10 @@ export interface ChapterRetrieveResponse {
|
|
|
111
119
|
*/
|
|
112
120
|
resume_point?: Shared.ResumePointObject;
|
|
113
121
|
}
|
|
114
|
-
export interface
|
|
115
|
-
chapters: Array<
|
|
122
|
+
export interface ChapterBulkRetrieveResponse {
|
|
123
|
+
chapters: Array<ChapterBulkRetrieveResponse.Chapter>;
|
|
116
124
|
}
|
|
117
|
-
export declare namespace
|
|
125
|
+
export declare namespace ChapterBulkRetrieveResponse {
|
|
118
126
|
interface Chapter {
|
|
119
127
|
/**
|
|
120
128
|
* The [Spotify ID](/documentation/web-api/concepts/spotify-uris-ids) for the
|
|
@@ -200,6 +208,14 @@ export declare namespace ChapterListResponse {
|
|
|
200
208
|
* [ISO 3166-1 alpha-2](http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) code.
|
|
201
209
|
*/
|
|
202
210
|
available_markets?: Array<string>;
|
|
211
|
+
/**
|
|
212
|
+
* The playlist's public/private status (if it should be added to the user's
|
|
213
|
+
* profile or not): `true` the playlist will be public, `false` the playlist will
|
|
214
|
+
* be private, `null` the playlist status is not relevant. For more about
|
|
215
|
+
* public/private status, see
|
|
216
|
+
* [Working with Playlists](/documentation/web-api/concepts/playlists)
|
|
217
|
+
*/
|
|
218
|
+
published?: boolean;
|
|
203
219
|
/**
|
|
204
220
|
* Included in the response when a content restriction is applied.
|
|
205
221
|
*/
|
|
@@ -225,7 +241,7 @@ export interface ChapterRetrieveParams {
|
|
|
225
241
|
*/
|
|
226
242
|
market?: string;
|
|
227
243
|
}
|
|
228
|
-
export interface
|
|
244
|
+
export interface ChapterBulkRetrieveParams {
|
|
229
245
|
/**
|
|
230
246
|
* A comma-separated list of the
|
|
231
247
|
* [Spotify IDs](/documentation/web-api/concepts/spotify-uris-ids). For example:
|
|
@@ -246,6 +262,6 @@ export interface ChapterListParams {
|
|
|
246
262
|
market?: string;
|
|
247
263
|
}
|
|
248
264
|
export declare namespace Chapters {
|
|
249
|
-
export { type ChapterRetrieveResponse as ChapterRetrieveResponse, type
|
|
265
|
+
export { type ChapterRetrieveResponse as ChapterRetrieveResponse, type ChapterBulkRetrieveResponse as ChapterBulkRetrieveResponse, type ChapterRetrieveParams as ChapterRetrieveParams, type ChapterBulkRetrieveParams as ChapterBulkRetrieveParams, };
|
|
250
266
|
}
|
|
251
267
|
//# sourceMappingURL=chapters.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chapters.d.ts","sourceRoot":"","sources":["../src/resources/chapters.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;OAIG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,KAAK,GAAE,qBAAqB,GAAG,IAAI,GAAG,SAAc,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,uBAAuB,CAAC;IAItC;;;;OAIG;IACH,
|
|
1
|
+
{"version":3,"file":"chapters.d.ts","sourceRoot":"","sources":["../src/resources/chapters.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;OAIG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,KAAK,GAAE,qBAAqB,GAAG,IAAI,GAAG,SAAc,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,uBAAuB,CAAC;IAItC;;;;OAIG;IACH,YAAY,CACV,KAAK,EAAE,yBAAyB,EAChC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,2BAA2B,CAAC;CAG3C;AAED,MAAM,WAAW,uBAAuB;IACtC;;;OAGG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;;OAGG;IACH,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAC;IAEjC;;OAEG;IACH,SAAS,EAAE,M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G,EAAE,MAAM,CAAC;IAEZ;;;;;;;;;;OAUG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,yBAAyB,IAAI,yBAAyB,GAC5D,CAAC;CACH"}
|
package/resources/chapters.js
CHANGED
|
@@ -18,7 +18,7 @@ class Chapters extends resource_1.APIResource {
|
|
|
18
18
|
* their Spotify IDs. Chapters are only available within the US, UK, Canada,
|
|
19
19
|
* Ireland, New Zealand and Australia markets.
|
|
20
20
|
*/
|
|
21
|
-
|
|
21
|
+
bulkRetrieve(query, options) {
|
|
22
22
|
return this._client.get('/chapters', { query, ...options });
|
|
23
23
|
}
|
|
24
24
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chapters.js","sourceRoot":"","sources":["../src/resources/chapters.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C,oDAA8C;AAE9C,MAAa,QAAS,SAAQ,sBAAW;IACvC;;;;OAIG;IACH,QAAQ,CACN,EAAU,EACV,QAAkD,EAAE,EACpD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,aAAa,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxE,CAAC;IAED;;;;OAIG;IACH,
|
|
1
|
+
{"version":3,"file":"chapters.js","sourceRoot":"","sources":["../src/resources/chapters.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C,oDAA8C;AAE9C,MAAa,QAAS,SAAQ,sBAAW;IACvC;;;;OAIG;IACH,QAAQ,CACN,EAAU,EACV,QAAkD,EAAE,EACpD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,aAAa,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxE,CAAC;IAED;;;;OAIG;IACH,YAAY,CACV,KAAgC,EAChC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,WAAW,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9D,CAAC;CACF;AAzBD,4BAyBC"}
|
package/resources/chapters.mjs
CHANGED
|
@@ -15,7 +15,7 @@ export class Chapters extends APIResource {
|
|
|
15
15
|
* their Spotify IDs. Chapters are only available within the US, UK, Canada,
|
|
16
16
|
* Ireland, New Zealand and Australia markets.
|
|
17
17
|
*/
|
|
18
|
-
|
|
18
|
+
bulkRetrieve(query, options) {
|
|
19
19
|
return this._client.get('/chapters', { query, ...options });
|
|
20
20
|
}
|
|
21
21
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chapters.mjs","sourceRoot":"","sources":["../src/resources/chapters.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAIf,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,QAAS,SAAQ,WAAW;IACvC;;;;OAIG;IACH,QAAQ,CACN,EAAU,EACV,QAAkD,EAAE,EACpD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,aAAa,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxE,CAAC;IAED;;;;OAIG;IACH,
|
|
1
|
+
{"version":3,"file":"chapters.mjs","sourceRoot":"","sources":["../src/resources/chapters.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAIf,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,QAAS,SAAQ,WAAW;IACvC;;;;OAIG;IACH,QAAQ,CACN,EAAU,EACV,QAAkD,EAAE,EACpD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,aAAa,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxE,CAAC;IAED;;;;OAIG;IACH,YAAY,CACV,KAAgC,EAChC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,WAAW,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9D,CAAC;CACF"}
|
package/resources/episodes.d.mts
CHANGED
|
@@ -11,9 +11,9 @@ export declare class Episodes extends APIResource {
|
|
|
11
11
|
/**
|
|
12
12
|
* Get Spotify catalog information for several episodes based on their Spotify IDs.
|
|
13
13
|
*/
|
|
14
|
-
|
|
14
|
+
bulkRetrieve(query: EpisodeBulkRetrieveParams, options?: RequestOptions): APIPromise<EpisodeBulkRetrieveResponse>;
|
|
15
15
|
}
|
|
16
|
-
export interface
|
|
16
|
+
export interface EpisodeBulkRetrieveResponse {
|
|
17
17
|
episodes: Array<Shared.EpisodeObject>;
|
|
18
18
|
}
|
|
19
19
|
export interface EpisodeRetrieveParams {
|
|
@@ -30,7 +30,7 @@ export interface EpisodeRetrieveParams {
|
|
|
30
30
|
*/
|
|
31
31
|
market?: string;
|
|
32
32
|
}
|
|
33
|
-
export interface
|
|
33
|
+
export interface EpisodeBulkRetrieveParams {
|
|
34
34
|
/**
|
|
35
35
|
* A comma-separated list of the
|
|
36
36
|
* [Spotify IDs](/documentation/web-api/concepts/spotify-uris-ids) for the
|
|
@@ -51,6 +51,6 @@ export interface EpisodeListParams {
|
|
|
51
51
|
market?: string;
|
|
52
52
|
}
|
|
53
53
|
export declare namespace Episodes {
|
|
54
|
-
export { type
|
|
54
|
+
export { type EpisodeBulkRetrieveResponse as EpisodeBulkRetrieveResponse, type EpisodeRetrieveParams as EpisodeRetrieveParams, type EpisodeBulkRetrieveParams as EpisodeBulkRetrieveParams, };
|
|
55
55
|
}
|
|
56
56
|
//# sourceMappingURL=episodes.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"episodes.d.mts","sourceRoot":"","sources":["../src/resources/episodes.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;OAGG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,KAAK,GAAE,qBAAqB,GAAG,IAAI,GAAG,SAAc,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,MAAM,CAAC,aAAa,CAAC;IAInC;;OAEG;IACH,
|
|
1
|
+
{"version":3,"file":"episodes.d.mts","sourceRoot":"","sources":["../src/resources/episodes.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;OAGG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,KAAK,GAAE,qBAAqB,GAAG,IAAI,GAAG,SAAc,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,MAAM,CAAC,aAAa,CAAC;IAInC;;OAEG;IACH,YAAY,CACV,KAAK,EAAE,yBAAyB,EAChC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,2BAA2B,CAAC;CAG3C;AAED,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,EAAE,KAAK,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC;CACvC;AAED,MAAM,WAAW,qBAAqB;IACpC;;;;;;;;;;OAUG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,yBAAyB;IACxC;;;;OAIG;IACH,GAAG,EAAE,MAAM,CAAC;IAEZ;;;;;;;;;;OAUG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,yBAAyB,IAAI,yBAAyB,GAC5D,CAAC;CACH"}
|
package/resources/episodes.d.ts
CHANGED
|
@@ -11,9 +11,9 @@ export declare class Episodes extends APIResource {
|
|
|
11
11
|
/**
|
|
12
12
|
* Get Spotify catalog information for several episodes based on their Spotify IDs.
|
|
13
13
|
*/
|
|
14
|
-
|
|
14
|
+
bulkRetrieve(query: EpisodeBulkRetrieveParams, options?: RequestOptions): APIPromise<EpisodeBulkRetrieveResponse>;
|
|
15
15
|
}
|
|
16
|
-
export interface
|
|
16
|
+
export interface EpisodeBulkRetrieveResponse {
|
|
17
17
|
episodes: Array<Shared.EpisodeObject>;
|
|
18
18
|
}
|
|
19
19
|
export interface EpisodeRetrieveParams {
|
|
@@ -30,7 +30,7 @@ export interface EpisodeRetrieveParams {
|
|
|
30
30
|
*/
|
|
31
31
|
market?: string;
|
|
32
32
|
}
|
|
33
|
-
export interface
|
|
33
|
+
export interface EpisodeBulkRetrieveParams {
|
|
34
34
|
/**
|
|
35
35
|
* A comma-separated list of the
|
|
36
36
|
* [Spotify IDs](/documentation/web-api/concepts/spotify-uris-ids) for the
|
|
@@ -51,6 +51,6 @@ export interface EpisodeListParams {
|
|
|
51
51
|
market?: string;
|
|
52
52
|
}
|
|
53
53
|
export declare namespace Episodes {
|
|
54
|
-
export { type
|
|
54
|
+
export { type EpisodeBulkRetrieveResponse as EpisodeBulkRetrieveResponse, type EpisodeRetrieveParams as EpisodeRetrieveParams, type EpisodeBulkRetrieveParams as EpisodeBulkRetrieveParams, };
|
|
55
55
|
}
|
|
56
56
|
//# sourceMappingURL=episodes.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"episodes.d.ts","sourceRoot":"","sources":["../src/resources/episodes.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;OAGG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,KAAK,GAAE,qBAAqB,GAAG,IAAI,GAAG,SAAc,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,MAAM,CAAC,aAAa,CAAC;IAInC;;OAEG;IACH,
|
|
1
|
+
{"version":3,"file":"episodes.d.ts","sourceRoot":"","sources":["../src/resources/episodes.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;OAGG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,KAAK,GAAE,qBAAqB,GAAG,IAAI,GAAG,SAAc,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,MAAM,CAAC,aAAa,CAAC;IAInC;;OAEG;IACH,YAAY,CACV,KAAK,EAAE,yBAAyB,EAChC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,2BAA2B,CAAC;CAG3C;AAED,MAAM,WAAW,2BAA2B;IAC1C,QAAQ,EAAE,KAAK,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC;CACvC;AAED,MAAM,WAAW,qBAAqB;IACpC;;;;;;;;;;OAUG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,yBAAyB;IACxC;;;;OAIG;IACH,GAAG,EAAE,MAAM,CAAC;IAEZ;;;;;;;;;;OAUG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,yBAAyB,IAAI,yBAAyB,GAC5D,CAAC;CACH"}
|
package/resources/episodes.js
CHANGED
|
@@ -15,7 +15,7 @@ class Episodes extends resource_1.APIResource {
|
|
|
15
15
|
/**
|
|
16
16
|
* Get Spotify catalog information for several episodes based on their Spotify IDs.
|
|
17
17
|
*/
|
|
18
|
-
|
|
18
|
+
bulkRetrieve(query, options) {
|
|
19
19
|
return this._client.get('/episodes', { query, ...options });
|
|
20
20
|
}
|
|
21
21
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"episodes.js","sourceRoot":"","sources":["../src/resources/episodes.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C,oDAA8C;AAE9C,MAAa,QAAS,SAAQ,sBAAW;IACvC;;;OAGG;IACH,QAAQ,CACN,EAAU,EACV,QAAkD,EAAE,EACpD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,aAAa,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxE,CAAC;IAED;;OAEG;IACH,
|
|
1
|
+
{"version":3,"file":"episodes.js","sourceRoot":"","sources":["../src/resources/episodes.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C,oDAA8C;AAE9C,MAAa,QAAS,SAAQ,sBAAW;IACvC;;;OAGG;IACH,QAAQ,CACN,EAAU,EACV,QAAkD,EAAE,EACpD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,aAAa,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxE,CAAC;IAED;;OAEG;IACH,YAAY,CACV,KAAgC,EAChC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,WAAW,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9D,CAAC;CACF;AAtBD,4BAsBC"}
|
package/resources/episodes.mjs
CHANGED
|
@@ -12,7 +12,7 @@ export class Episodes extends APIResource {
|
|
|
12
12
|
/**
|
|
13
13
|
* Get Spotify catalog information for several episodes based on their Spotify IDs.
|
|
14
14
|
*/
|
|
15
|
-
|
|
15
|
+
bulkRetrieve(query, options) {
|
|
16
16
|
return this._client.get('/episodes', { query, ...options });
|
|
17
17
|
}
|
|
18
18
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"episodes.mjs","sourceRoot":"","sources":["../src/resources/episodes.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAIf,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,QAAS,SAAQ,WAAW;IACvC;;;OAGG;IACH,QAAQ,CACN,EAAU,EACV,QAAkD,EAAE,EACpD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,aAAa,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxE,CAAC;IAED;;OAEG;IACH,
|
|
1
|
+
{"version":3,"file":"episodes.mjs","sourceRoot":"","sources":["../src/resources/episodes.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAIf,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,QAAS,SAAQ,WAAW;IACvC;;;OAGG;IACH,QAAQ,CACN,EAAU,EACV,QAAkD,EAAE,EACpD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,aAAa,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxE,CAAC;IAED;;OAEG;IACH,YAAY,CACV,KAAgC,EAChC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,WAAW,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9D,CAAC;CACF"}
|
package/resources/index.d.mts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
export * from "./shared.mjs";
|
|
2
2
|
export { Albums, type AlbumRetrieveResponse, type AlbumBulkRetrieveResponse, type AlbumRetrieveParams, type AlbumBulkRetrieveParams, type AlbumListTracksParams, } from "./albums.mjs";
|
|
3
|
-
export { Artists, type
|
|
3
|
+
export { Artists, type ArtistBulkRetrieveResponse, type ArtistListAlbumsResponse, type ArtistListRelatedArtistsResponse, type ArtistTopTracksResponse, type ArtistBulkRetrieveParams, type ArtistListAlbumsParams, type ArtistTopTracksParams, type ArtistListAlbumsResponsesCursorURLPage, } from "./artists.mjs";
|
|
4
4
|
export { AudioAnalysis, type TimeIntervalObject, type AudioAnalysisRetrieveResponse } from "./audio-analysis.mjs";
|
|
5
|
-
export { AudioFeatures, type AudioFeatureRetrieveResponse, type
|
|
6
|
-
export { Audiobooks, type SimplifiedChapterObject, type AudiobookRetrieveResponse, type
|
|
5
|
+
export { AudioFeatures, type AudioFeatureRetrieveResponse, type AudioFeatureBulkRetrieveResponse, type AudioFeatureBulkRetrieveParams, } from "./audio-features.mjs";
|
|
6
|
+
export { Audiobooks, type SimplifiedChapterObject, type AudiobookRetrieveResponse, type AudiobookBulkRetrieveResponse, type AudiobookRetrieveParams, type AudiobookBulkRetrieveParams, type AudiobookListChaptersParams, type SimplifiedChapterObjectsCursorURLPage, } from "./audiobooks.mjs";
|
|
7
7
|
export { Browse, type BrowseGetFeaturedPlaylistsResponse, type BrowseGetNewReleasesResponse, type BrowseGetFeaturedPlaylistsParams, type BrowseGetNewReleasesParams, } from "./browse/browse.mjs";
|
|
8
|
-
export { Chapters, type ChapterRetrieveResponse, type
|
|
9
|
-
export { Episodes, type
|
|
8
|
+
export { Chapters, type ChapterRetrieveResponse, type ChapterBulkRetrieveResponse, type ChapterRetrieveParams, type ChapterBulkRetrieveParams, } from "./chapters.mjs";
|
|
9
|
+
export { Episodes, type EpisodeBulkRetrieveResponse, type EpisodeRetrieveParams, type EpisodeBulkRetrieveParams, } from "./episodes.mjs";
|
|
10
10
|
export { Markets, type MarketListResponse } from "./markets.mjs";
|
|
11
11
|
export { Me, type MeRetrieveResponse } from "./me/me.mjs";
|
|
12
12
|
export { Playlists, type PlaylistRetrieveResponse, type PlaylistRetrieveParams, type PlaylistUpdateParams, } from "./playlists/playlists.mjs";
|
|
13
13
|
export { Recommendations, type RecommendationGetResponse, type RecommendationListAvailableGenreSeedsResponse, type RecommendationGetParams, } from "./recommendations.mjs";
|
|
14
|
-
export { Search, type
|
|
15
|
-
export { Shows, type ShowRetrieveResponse, type
|
|
16
|
-
export { Tracks, type
|
|
14
|
+
export { Search, type SearchQueryResponse, type SearchQueryParams } from "./search.mjs";
|
|
15
|
+
export { Shows, type ShowRetrieveResponse, type ShowBulkRetrieveResponse, type ShowRetrieveParams, type ShowBulkRetrieveParams, type ShowListEpisodesParams, } from "./shows.mjs";
|
|
16
|
+
export { Tracks, type TrackBulkRetrieveResponse, type TrackRetrieveParams, type TrackBulkRetrieveParams, } from "./tracks.mjs";
|
|
17
17
|
export { Users, type UserRetrieveProfileResponse } from "./users/users.mjs";
|
|
18
18
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";OAGO,EACL,MAAM,EACN,KAAK,qBAAqB,EAC1B,KAAK,yBAAyB,EAC9B,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,GAC3B;OACM,EACL,OAAO,EACP,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/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