@rocksky/sdk 0.2.0 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (73) hide show
  1. package/dist/client.d.ts +37 -28
  2. package/dist/client.d.ts.map +1 -1
  3. package/dist/generated/types.d.ts +120 -0
  4. package/dist/generated/types.d.ts.map +1 -1
  5. package/dist/http.d.ts +1 -1
  6. package/dist/http.d.ts.map +1 -1
  7. package/dist/index.d.ts +18 -17
  8. package/dist/index.d.ts.map +1 -1
  9. package/dist/index.js +6 -1
  10. package/dist/namespaces/_helpers.d.ts +10 -4
  11. package/dist/namespaces/_helpers.d.ts.map +1 -1
  12. package/dist/namespaces/actor.d.ts +12 -12
  13. package/dist/namespaces/actor.d.ts.map +1 -1
  14. package/dist/namespaces/album.d.ts +6 -6
  15. package/dist/namespaces/album.d.ts.map +1 -1
  16. package/dist/namespaces/apikey.d.ts +7 -7
  17. package/dist/namespaces/apikey.d.ts.map +1 -1
  18. package/dist/namespaces/artist.d.ts +9 -9
  19. package/dist/namespaces/artist.d.ts.map +1 -1
  20. package/dist/namespaces/charts.d.ts +6 -6
  21. package/dist/namespaces/charts.d.ts.map +1 -1
  22. package/dist/namespaces/dropbox.d.ts +7 -7
  23. package/dist/namespaces/dropbox.d.ts.map +1 -1
  24. package/dist/namespaces/feed.d.ts +13 -13
  25. package/dist/namespaces/feed.d.ts.map +1 -1
  26. package/dist/namespaces/googledrive.d.ts +6 -6
  27. package/dist/namespaces/googledrive.d.ts.map +1 -1
  28. package/dist/namespaces/graph.d.ts +8 -8
  29. package/dist/namespaces/graph.d.ts.map +1 -1
  30. package/dist/namespaces/like.d.ts +7 -7
  31. package/dist/namespaces/like.d.ts.map +1 -1
  32. package/dist/namespaces/mirror.d.ts +5 -5
  33. package/dist/namespaces/mirror.d.ts.map +1 -1
  34. package/dist/namespaces/player.d.ts +14 -14
  35. package/dist/namespaces/player.d.ts.map +1 -1
  36. package/dist/namespaces/playlist.d.ts +11 -11
  37. package/dist/namespaces/playlist.d.ts.map +1 -1
  38. package/dist/namespaces/scrobble.d.ts +6 -6
  39. package/dist/namespaces/scrobble.d.ts.map +1 -1
  40. package/dist/namespaces/shout.d.ts +12 -12
  41. package/dist/namespaces/shout.d.ts.map +1 -1
  42. package/dist/namespaces/song.d.ts +8 -8
  43. package/dist/namespaces/song.d.ts.map +1 -1
  44. package/dist/namespaces/spotify.d.ts +9 -9
  45. package/dist/namespaces/spotify.d.ts.map +1 -1
  46. package/dist/namespaces/stats.d.ts +5 -5
  47. package/dist/namespaces/stats.d.ts.map +1 -1
  48. package/package.json +1 -1
  49. package/src/client.ts +50 -33
  50. package/src/generated/types.ts +124 -0
  51. package/src/http.ts +2 -2
  52. package/src/index.ts +19 -17
  53. package/src/namespaces/_helpers.ts +23 -13
  54. package/src/namespaces/actor.ts +21 -21
  55. package/src/namespaces/album.ts +9 -9
  56. package/src/namespaces/apikey.ts +11 -11
  57. package/src/namespaces/artist.ts +15 -15
  58. package/src/namespaces/charts.ts +9 -9
  59. package/src/namespaces/dropbox.ts +11 -11
  60. package/src/namespaces/feed.ts +23 -23
  61. package/src/namespaces/googledrive.ts +9 -9
  62. package/src/namespaces/graph.ts +13 -13
  63. package/src/namespaces/like.ts +11 -11
  64. package/src/namespaces/mirror.ts +7 -7
  65. package/src/namespaces/player.ts +25 -25
  66. package/src/namespaces/playlist.ts +19 -19
  67. package/src/namespaces/scrobble.ts +9 -9
  68. package/src/namespaces/shout.ts +21 -21
  69. package/src/namespaces/song.ts +13 -13
  70. package/src/namespaces/spotify.ts +15 -15
  71. package/src/namespaces/stats.ts +7 -7
  72. package/src/pipe.ts +1 -1
  73. package/src/realtime.ts +2 -2
@@ -1,12 +1,12 @@
1
- import type { GetAlbumParams, GetAlbumsParams, GetAlbumTracksParams } from "../generated/types";
2
- import type { RequestOptions } from "../types";
3
- import type { Call } from "./_helpers";
1
+ import type { GetAlbumParams, GetAlbumsParams, GetAlbumTracksParams } from "../generated/types.js";
2
+ import type { RequestOptions } from "../types.js";
3
+ import type { Call } from "./_helpers.js";
4
4
  export type { GetAlbumsParams };
5
5
  export declare class AlbumNamespace {
6
6
  private readonly call;
7
7
  constructor(call: Call);
8
- getAlbum<T = unknown>(params: GetAlbumParams, opts?: RequestOptions): Promise<T>;
9
- getAlbums<T = unknown>(params?: GetAlbumsParams, opts?: RequestOptions): Promise<T>;
10
- getAlbumTracks<T = unknown>(params: GetAlbumTracksParams, opts?: RequestOptions): Promise<T>;
8
+ getAlbum(params: GetAlbumParams, opts?: RequestOptions): Promise<import("../generated/types.js").AlbumViewDetailed>;
9
+ getAlbums(params?: GetAlbumsParams, opts?: RequestOptions): Promise<import("../generated/types.js").GetAlbumsOutput>;
10
+ getAlbumTracks(params: GetAlbumTracksParams, opts?: RequestOptions): Promise<import("../generated/types.js").GetAlbumTracksOutput>;
11
11
  }
12
12
  //# sourceMappingURL=album.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"album.d.ts","sourceRoot":"","sources":["../../src/namespaces/album.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EACd,eAAe,EACf,oBAAoB,EACrB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC/C,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAEvC,YAAY,EAAE,eAAe,EAAE,CAAC;AAEhC,qBAAa,cAAc;IACb,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAAJ,IAAI,EAAE,IAAI;IAEvC,QAAQ,CAAC,CAAC,GAAG,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,IAAI,CAAC,EAAE,cAAc;IAOnE,SAAS,CAAC,CAAC,GAAG,OAAO,EAAE,MAAM,GAAE,eAAoB,EAAE,IAAI,CAAC,EAAE,cAAc;IAO1E,cAAc,CAAC,CAAC,GAAG,OAAO,EAAE,MAAM,EAAE,oBAAoB,EAAE,IAAI,CAAC,EAAE,cAAc;CAMhF"}
1
+ {"version":3,"file":"album.d.ts","sourceRoot":"","sources":["../../src/namespaces/album.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EACd,eAAe,EACf,oBAAoB,EACrB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAE1C,YAAY,EAAE,eAAe,EAAE,CAAC;AAEhC,qBAAa,cAAc;IACb,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAAJ,IAAI,EAAE,IAAI;IAEvC,QAAQ,CAAC,MAAM,EAAE,cAAc,EAAE,IAAI,CAAC,EAAE,cAAc;IAOtD,SAAS,CAAC,MAAM,GAAE,eAAoB,EAAE,IAAI,CAAC,EAAE,cAAc;IAO7D,cAAc,CAAC,MAAM,EAAE,oBAAoB,EAAE,IAAI,CAAC,EAAE,cAAc;CAMnE"}
@@ -1,14 +1,14 @@
1
- import type { CreateApikeyInput, GetApikeysParams, RemoveApikeyParams, UpdateApikeyInput } from "../generated/types";
2
- import type { RequestOptions } from "../types";
3
- import type { Call } from "./_helpers";
1
+ import type { CreateApikeyInput, GetApikeysParams, RemoveApikeyParams, UpdateApikeyInput } from "../generated/types.js";
2
+ import type { RequestOptions } from "../types.js";
3
+ import type { Call } from "./_helpers.js";
4
4
  export type { CreateApikeyInput, UpdateApikeyInput };
5
5
  export type ListApikeysParams = GetApikeysParams;
6
6
  export declare class ApikeyNamespace {
7
7
  private readonly call;
8
8
  constructor(call: Call);
9
- getApikeys<T = unknown>(params?: ListApikeysParams, opts?: RequestOptions): Promise<T>;
10
- createApikey<T = unknown>(input: CreateApikeyInput, opts?: RequestOptions): Promise<T>;
11
- updateApikey<T = unknown>(input: UpdateApikeyInput, opts?: RequestOptions): Promise<T>;
12
- removeApikey<T = unknown>(params: RemoveApikeyParams, opts?: RequestOptions): Promise<T>;
9
+ getApikeys(params?: ListApikeysParams, opts?: RequestOptions): Promise<import("../generated/types.js").GetApikeysOutput>;
10
+ createApikey(input: CreateApikeyInput, opts?: RequestOptions): Promise<unknown>;
11
+ updateApikey(input: UpdateApikeyInput, opts?: RequestOptions): Promise<unknown>;
12
+ removeApikey(params: RemoveApikeyParams, opts?: RequestOptions): Promise<unknown>;
13
13
  }
14
14
  //# sourceMappingURL=apikey.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"apikey.d.ts","sourceRoot":"","sources":["../../src/namespaces/apikey.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EACjB,gBAAgB,EAChB,kBAAkB,EAClB,iBAAiB,EAClB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC/C,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAEvC,YAAY,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,CAAC;AACrD,MAAM,MAAM,iBAAiB,GAAG,gBAAgB,CAAC;AAEjD,qBAAa,eAAe;IACd,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAAJ,IAAI,EAAE,IAAI;IAEvC,UAAU,CAAC,CAAC,GAAG,OAAO,EACpB,MAAM,GAAE,iBAAsB,EAC9B,IAAI,CAAC,EAAE,cAAc;IASvB,YAAY,CAAC,CAAC,GAAG,OAAO,EAAE,KAAK,EAAE,iBAAiB,EAAE,IAAI,CAAC,EAAE,cAAc;IAQzE,YAAY,CAAC,CAAC,GAAG,OAAO,EAAE,KAAK,EAAE,iBAAiB,EAAE,IAAI,CAAC,EAAE,cAAc;IAQzE,YAAY,CAAC,CAAC,GAAG,OAAO,EAAE,MAAM,EAAE,kBAAkB,EAAE,IAAI,CAAC,EAAE,cAAc;CAO5E"}
1
+ {"version":3,"file":"apikey.d.ts","sourceRoot":"","sources":["../../src/namespaces/apikey.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EACjB,gBAAgB,EAChB,kBAAkB,EAClB,iBAAiB,EAClB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAE1C,YAAY,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,CAAC;AACrD,MAAM,MAAM,iBAAiB,GAAG,gBAAgB,CAAC;AAEjD,qBAAa,eAAe;IACd,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAAJ,IAAI,EAAE,IAAI;IAEvC,UAAU,CACR,MAAM,GAAE,iBAAsB,EAC9B,IAAI,CAAC,EAAE,cAAc;IASvB,YAAY,CAAC,KAAK,EAAE,iBAAiB,EAAE,IAAI,CAAC,EAAE,cAAc;IAQ5D,YAAY,CAAC,KAAK,EAAE,iBAAiB,EAAE,IAAI,CAAC,EAAE,cAAc;IAQ5D,YAAY,CAAC,MAAM,EAAE,kBAAkB,EAAE,IAAI,CAAC,EAAE,cAAc;CAO/D"}
@@ -1,16 +1,16 @@
1
- import type { GetArtistAlbumsParams, GetArtistListenersParams, GetArtistParams, GetArtistRecentListenersParams, GetArtistsParams, GetArtistTracksParams } from "../generated/types";
2
- import type { RequestOptions } from "../types";
3
- import type { Call } from "./_helpers";
1
+ import type { GetArtistAlbumsParams, GetArtistListenersParams, GetArtistParams, GetArtistRecentListenersParams, GetArtistsParams, GetArtistTracksParams } from "../generated/types.js";
2
+ import type { RequestOptions } from "../types.js";
3
+ import type { Call } from "./_helpers.js";
4
4
  export type { GetArtistsParams, GetArtistTracksParams };
5
5
  export type ArtistListenersParams = GetArtistListenersParams;
6
6
  export declare class ArtistNamespace {
7
7
  private readonly call;
8
8
  constructor(call: Call);
9
- getArtist<T = unknown>(params: GetArtistParams, opts?: RequestOptions): Promise<T>;
10
- getArtists<T = unknown>(params?: GetArtistsParams, opts?: RequestOptions): Promise<T>;
11
- getArtistAlbums<T = unknown>(params: GetArtistAlbumsParams, opts?: RequestOptions): Promise<T>;
12
- getArtistTracks<T = unknown>(params?: GetArtistTracksParams, opts?: RequestOptions): Promise<T>;
13
- getArtistListeners<T = unknown>(params: GetArtistListenersParams, opts?: RequestOptions): Promise<T>;
14
- getArtistRecentListeners<T = unknown>(params: GetArtistRecentListenersParams, opts?: RequestOptions): Promise<T>;
9
+ getArtist(params: GetArtistParams, opts?: RequestOptions): Promise<import("../generated/types.js").ArtistViewDetailed>;
10
+ getArtists(params?: GetArtistsParams, opts?: RequestOptions): Promise<import("../generated/types.js").GetArtistsOutput>;
11
+ getArtistAlbums(params: GetArtistAlbumsParams, opts?: RequestOptions): Promise<import("../generated/types.js").GetArtistAlbumsOutput>;
12
+ getArtistTracks(params?: GetArtistTracksParams, opts?: RequestOptions): Promise<import("../generated/types.js").GetArtistTracksOutput>;
13
+ getArtistListeners(params: GetArtistListenersParams, opts?: RequestOptions): Promise<import("../generated/types.js").GetArtistListenersOutput>;
14
+ getArtistRecentListeners(params: GetArtistRecentListenersParams, opts?: RequestOptions): Promise<import("../generated/types.js").GetArtistRecentListenersOutput>;
15
15
  }
16
16
  //# sourceMappingURL=artist.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"artist.d.ts","sourceRoot":"","sources":["../../src/namespaces/artist.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,qBAAqB,EACrB,wBAAwB,EACxB,eAAe,EACf,8BAA8B,EAC9B,gBAAgB,EAChB,qBAAqB,EACtB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC/C,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAEvC,YAAY,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,CAAC;AACxD,MAAM,MAAM,qBAAqB,GAAG,wBAAwB,CAAC;AAE7D,qBAAa,eAAe;IACd,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAAJ,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D,eAAe,CAAC,MAAM,EAAE,qBAAqB,EAAE,IAAI,CAAC,EAAE,cAAc;IAOpE,eAAe,CACb,MAAM,GAAE,qBAA0B,EAClC,IAAI,CAAC,EAAE,cAAc;IAQvB,kBAAkB,CAChB,MAAM,EAAE,wBAAwB,EAChC,IAAI,CAAC,EAAE,cAAc;IAQvB,wBAAwB,CACtB,MAAM,EAAE,8BAA8B,EACtC,IAAI,CAAC,EAAE,cAAc;CAOxB"}
@@ -1,13 +1,13 @@
1
- import type { GetScrobblesChartParams, GetTopArtistsParams, GetTopTracksParams } from "../generated/types";
2
- import type { RequestOptions } from "../types";
3
- import type { Call } from "./_helpers";
1
+ import type { GetScrobblesChartParams, GetTopArtistsParams, GetTopTracksParams } from "../generated/types.js";
2
+ import type { RequestOptions } from "../types.js";
3
+ import type { Call } from "./_helpers.js";
4
4
  export type ScrobblesChartParams = GetScrobblesChartParams;
5
5
  export type TopChartParams = GetTopArtistsParams;
6
6
  export declare class ChartsNamespace {
7
7
  private readonly call;
8
8
  constructor(call: Call);
9
- getScrobblesChart<T = unknown>(params?: ScrobblesChartParams, opts?: RequestOptions): Promise<T>;
10
- getTopArtists<T = unknown>(params?: GetTopArtistsParams, opts?: RequestOptions): Promise<T>;
11
- getTopTracks<T = unknown>(params?: GetTopTracksParams, opts?: RequestOptions): Promise<T>;
9
+ getScrobblesChart(params?: ScrobblesChartParams, opts?: RequestOptions): Promise<import("../generated/types.js").ChartsView>;
10
+ getTopArtists(params?: GetTopArtistsParams, opts?: RequestOptions): Promise<import("../generated/types.js").GetTopArtistsOutput>;
11
+ getTopTracks(params?: GetTopTracksParams, opts?: RequestOptions): Promise<import("../generated/types.js").GetTopTracksOutput>;
12
12
  }
13
13
  //# sourceMappingURL=charts.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"charts.d.ts","sourceRoot":"","sources":["../../src/namespaces/charts.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,uBAAuB,EACvB,mBAAmB,EACnB,k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AE,kBAAuB,EAAE,IAAI,CAAC,EAAE,cAAc;CAMpE"}
@@ -1,12 +1,12 @@
1
- import type { DownloadFileParams, GetFilesParams, GetMetadataParams, GetTemporaryLinkParams } from "../generated/types";
2
- import type { RequestOptions } from "../types";
3
- import type { Call } from "./_helpers";
1
+ import type { DownloadFileParams, GetFilesParams, GetMetadataParams, GetTemporaryLinkParams } from "../generated/types.js";
2
+ import type { RequestOptions } from "../types.js";
3
+ import type { Call } from "./_helpers.js";
4
4
  export declare class DropboxNamespace {
5
5
  private readonly call;
6
6
  constructor(call: Call);
7
- getFiles<T = unknown>(params?: GetFilesParams, opts?: RequestOptions): Promise<T>;
8
- getMetadata<T = unknown>(params: GetMetadataParams, opts?: RequestOptions): Promise<T>;
9
- getTemporaryLink<T = unknown>(params: GetTemporaryLinkParams, opts?: RequestOptions): Promise<T>;
10
- downloadFile<T = unknown>(params: DownloadFileParams, opts?: RequestOptions): Promise<T>;
7
+ getFiles(params?: GetFilesParams, opts?: RequestOptions): Promise<import("../generated/types.js").DropboxFileListView>;
8
+ getMetadata(params: GetMetadataParams, opts?: RequestOptions): Promise<import("../generated/types.js").DropboxFileView>;
9
+ getTemporaryLink(params: GetTemporaryLinkParams, opts?: RequestOptions): Promise<import("../generated/types.js").DropboxTemporaryLinkView>;
10
+ downloadFile(params: DownloadFileParams, opts?: RequestOptions): Promise<void>;
11
11
  }
12
12
  //# sourceMappingURL=dropbox.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"dropbox.d.ts","sourceRoot":"","sources":["../../src/namespaces/dropbox.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,kBAAkB,EAClB,cAAc,EACd,iBAAiB,EACjB,sBAAsB,EACvB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC/C,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAEvC,qBAAa,gBAAgB;IACf,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAAJ,IAAI,EAAE,IAAI;IAEvC,QAAQ,CAAC,CAAC,GAAG,OAAO,EAClB,MAAM,GAAE,cAAmB,EAC3B,IAAI,CAAC,EAAE,cAAc;IASvB,WAAW,CAAC,CAAC,GAAG,OAAO,EAAE,MAAM,EAAE,iBAAiB,EAAE,IAAI,CAAC,EAAE,cAAc;IAQzE,gBAAgB,CAAC,CAAC,GAAG,OAAO,EAC1B,MAAM,EAAE,sBAAsB,EAC9B,IAAI,CAAC,EAAE,cAAc;IASvB,YAAY,CAAC,CAAC,GAAG,OAAO,EACtB,MAAM,EAAE,kBAAkB,EAC1B,IAAI,CAAC,EAAE,cAAc;CAQxB"}
1
+ {"version":3,"file":"dropbox.d.ts","sourceRoot":"","sources":["../../src/namespaces/dropbox.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,kBAAkB,EAClB,cAAc,EACd,iBAAiB,EACjB,sBAAsB,EACvB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAE1C,qBAAa,gBAAgB;IACf,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAAJ,IAAI,EAAE,IAAI;IAEvC,QAAQ,CACN,MAAM,GAAE,cAAmB,EAC3B,IAAI,CAAC,EAAE,cAAc;IASvB,WAAW,CAAC,MAAM,EAAE,iBAAiB,EAAE,IAAI,CAAC,EAAE,cAAc;IAQ5D,gBAAgB,CACd,MAAM,EAAE,sBAAsB,EAC9B,IAAI,CAAC,EAAE,cAAc;IASvB,YAAY,CACV,MAAM,EAAE,kBAAkB,EAC1B,IAAI,CAAC,EAAE,cAAc;CAQxB"}
@@ -1,19 +1,19 @@
1
- import type { GetAlbumRecommendationsParams, GetArtistRecommendationsParams, GetFeedGeneratorParams, GetFeedGeneratorsParams, GetFeedParams, GetFeedSkeletonParams, GetRecommendationsParams, GetStoriesParams, SearchParams } from "../generated/types";
2
- import type { RequestOptions } from "../types";
3
- import type { Call } from "./_helpers";
1
+ import type { GetAlbumRecommendationsParams, GetArtistRecommendationsParams, GetFeedGeneratorParams, GetFeedGeneratorsParams, GetFeedParams, GetFeedSkeletonParams, GetRecommendationsParams, GetStoriesParams, SearchParams } from "../generated/types.js";
2
+ import type { RequestOptions } from "../types.js";
3
+ import type { Call } from "./_helpers.js";
4
4
  export type RecommendParams = GetRecommendationsParams;
5
5
  export declare class FeedNamespace {
6
6
  private readonly call;
7
7
  constructor(call: Call);
8
- search<T = unknown>(params: SearchParams, opts?: RequestOptions): Promise<T>;
9
- getFeed<T = unknown>(params: GetFeedParams, opts?: RequestOptions): Promise<T>;
10
- getFeedGenerators<T = unknown>(params?: GetFeedGeneratorsParams, opts?: RequestOptions): Promise<T>;
11
- getFeedGenerator<T = unknown>(params: GetFeedGeneratorParams, opts?: RequestOptions): Promise<T>;
12
- describeFeedGenerator<T = unknown>(opts?: RequestOptions): Promise<T>;
13
- getFeedSkeleton<T = unknown>(params: GetFeedSkeletonParams, opts?: RequestOptions): Promise<T>;
14
- getRecommendations<T = unknown>(params: GetRecommendationsParams, opts?: RequestOptions): Promise<T>;
15
- getArtistRecommendations<T = unknown>(params: GetArtistRecommendationsParams, opts?: RequestOptions): Promise<T>;
16
- getAlbumRecommendations<T = unknown>(params: GetAlbumRecommendationsParams, opts?: RequestOptions): Promise<T>;
17
- getStories<T = unknown>(params?: GetStoriesParams, opts?: RequestOptions): Promise<T>;
8
+ search(params: SearchParams, opts?: RequestOptions): Promise<import("../generated/types.js").FeedSearchResultsView>;
9
+ getFeed(params: GetFeedParams, opts?: RequestOptions): Promise<import("../generated/types.js").FeedView>;
10
+ getFeedGenerators(params?: GetFeedGeneratorsParams, opts?: RequestOptions): Promise<import("../generated/types.js").FeedGeneratorsView>;
11
+ getFeedGenerator(params: GetFeedGeneratorParams, opts?: RequestOptions): Promise<import("../generated/types.js").GetFeedGeneratorOutput>;
12
+ describeFeedGenerator(opts?: RequestOptions): Promise<import("../generated/types.js").DescribeFeedGeneratorOutput>;
13
+ getFeedSkeleton(params: GetFeedSkeletonParams, opts?: RequestOptions): Promise<import("../generated/types.js").GetFeedSkeletonOutput>;
14
+ getRecommendations(params: GetRecommendationsParams, opts?: RequestOptions): Promise<import("../generated/types.js").FeedRecommendationsView>;
15
+ getArtistRecommendations(params: GetArtistRecommendationsParams, opts?: RequestOptions): Promise<import("../generated/types.js").FeedRecommendedArtistsView>;
16
+ getAlbumRecommendations(params: GetAlbumRecommendationsParams, opts?: RequestOptions): Promise<import("../generated/types.js").FeedRecommendedAlbumsView>;
17
+ getStories(params?: GetStoriesParams, opts?: RequestOptions): Promise<import("../generated/types.js").FeedStoriesView>;
18
18
  }
19
19
  //# sourceMappingURL=feed.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"feed.d.ts","sourceRoot":"","sources":["../../src/namespaces/feed.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,6BAA6B,EAC7B,8BAA8B,EAC9B,sBAAsB,EACtB,uBAAuB,EACvB,aAAa,EACb,qBAAqB,EACrB,wBAAwB,EACxB,gBAAgB,EAChB,YAAY,EACb,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC/C,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAEvC,MAAM,MAAM,eAAe,GAAG,wBAAwB,CAAC;AAEvD,qBAAa,aAAa;IACZ,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAAJ,IAAI,EAAE,IAAI;IAEvC,MAAM,CAAC,CAAC,GAAG,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,IAAI,CAAC,EAAE,cAAc;IAO/D,OAAO,CAAC,CAAC,GAAG,OAAO,EACjB,MAAM,EAAE,aAAa,EACrB,IAAI,CAAC,EAAE,cAAc;IAQvB,iBAAiB,CAAC,CAAC,GAAG,OAAO,EA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,EAAE,IAAI,CAAC,EAAE,cAAc;IAOlD,OAAO,CACL,MAAM,EAAE,aAAa,EACrB,IAAI,CAAC,EAAE,cAAc;IAQvB,iBAAiB,CACf,MAAM,GAAE,uBAA4B,EACpC,IAAI,CAAC,EAAE,cAAc;IAQvB,gBAAgB,CACd,MAAM,EAAE,sBAAsB,EAC9B,IAAI,CAAC,EAAE,cAAc;IAQvB,qBAAqB,CAAC,IAAI,CAAC,EAAE,cAAc;IAM3C,eAAe,CACb,MAAM,EAAE,qBAAqB,EAC7B,IAAI,CAAC,EAAE,cAAc;IAQvB,kBAAkB,CAChB,MAAM,EAAE,wBAAwB,EAChC,IAAI,CAAC,EAAE,cAAc;IAQvB,wBAAwB,CACtB,MAAM,EAAE,8BAA8B,EACtC,IAAI,CAAC,EAAE,cAAc;IAQvB,uBAAuB,CACrB,MAAM,EAAE,6BAA6B,EACrC,IAAI,CAAC,EAAE,cAAc;IAQvB,UAAU,CACR,MAAM,GAAE,gBAAqB,EAC7B,IAAI,CAAC,EAAE,cAAc;CAOxB"}
@@ -1,11 +1,11 @@
1
- import type { DownloadFileParams, GetFileParams, GetFilesParams } from "../generated/types";
2
- import type { RequestOptions } from "../types";
3
- import type { Call } from "./_helpers";
1
+ import type { DownloadFileParams, GetFileParams, GetFilesParams } from "../generated/types.js";
2
+ import type { RequestOptions } from "../types.js";
3
+ import type { Call } from "./_helpers.js";
4
4
  export declare class GoogleDriveNamespace {
5
5
  private readonly call;
6
6
  constructor(call: Call);
7
- getFile<T = unknown>(params: GetFileParams, opts?: RequestOptions): Promise<T>;
8
- getFiles<T = unknown>(params?: GetFilesParams, opts?: RequestOptions): Promise<T>;
9
- downloadFile<T = unknown>(params: DownloadFileParams, opts?: RequestOptions): Promise<T>;
7
+ getFile(params: GetFileParams, opts?: RequestOptions): Promise<import("../generated/types.js").GoogledriveFileView>;
8
+ getFiles(params?: GetFilesParams, opts?: RequestOptions): Promise<import("../generated/types.js").GoogledriveFileListView>;
9
+ downloadFile(params: DownloadFileParams, opts?: RequestOptions): Promise<void>;
10
10
  }
11
11
  //# sourceMappingURL=googledrive.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"googledrive.d.ts","sourceRoot":"","sources":["../../src/namespaces/googledrive.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,kBAAkB,EAClB,aAAa,EACb,cAAc,EACf,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC/C,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAEvC,qBAAa,oBAAoB;IACnB,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAAJ,IAAI,EAAE,IAAI;IAEvC,OAAO,CAAC,CAAC,GAAG,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,IAAI,CAAC,EAAE,cAAc;IAQjE,QAAQ,CAAC,CAAC,GAAG,OAAO,EAClB,MAAM,GAAE,cAAmB,EAC3B,IAAI,CAAC,EAAE,cAAc;IASvB,YAAY,CAAC,CAAC,GAAG,OAAO,EACtB,MAAM,EAAE,kBAAkB,EAC1B,IAAI,CAAC,EAAE,cAAc;CAQxB"}
1
+ {"version":3,"file":"googledrive.d.ts","sourceRoot":"","sources":["../../src/namespaces/googledrive.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,kBAAkB,EAClB,aAAa,EACb,cAAc,EACf,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAE1C,qBAAa,oBAAoB;IACnB,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAAJ,IAAI,EAAE,IAAI;IAEvC,OAAO,CAAC,MAAM,EAAE,aAAa,EAAE,IAAI,CAAC,EAAE,cAAc;IAQpD,QAAQ,CACN,MAAM,GAAE,cAAmB,EAC3B,IAAI,CAAC,EAAE,cAAc;IASvB,YAAY,CACV,MAAM,EAAE,kBAAkB,EAC1B,IAAI,CAAC,EAAE,cAAc;CAQxB"}
@@ -1,15 +1,15 @@
1
- import type { FollowAccountParams, GetFollowersParams, GetFollowsParams, GetKnownFollowersParams, UnfollowAccountParams } from "../generated/types";
2
- import type { RequestOptions } from "../types";
3
- import type { Call } from "./_helpers";
1
+ import type { FollowAccountParams, GetFollowersParams, GetFollowsParams, GetKnownFollowersParams, UnfollowAccountParams } from "../generated/types.js";
2
+ import type { RequestOptions } from "../types.js";
3
+ import type { Call } from "./_helpers.js";
4
4
  export type FollowListParams = GetFollowersParams;
5
5
  export type KnownFollowersParams = GetKnownFollowersParams;
6
6
  export declare class GraphNamespace {
7
7
  private readonly call;
8
8
  constructor(call: Call);
9
- followAccount<T = unknown>(params: FollowAccountParams, opts?: RequestOptions): Promise<T>;
10
- unfollowAccount<T = unknown>(params: UnfollowAccountParams, opts?: RequestOptions): Promise<T>;
11
- getFollowers<T = unknown>(params: GetFollowersParams, opts?: RequestOptions): Promise<T>;
12
- getFollows<T = unknown>(params: GetFollowsParams, opts?: RequestOptions): Promise<T>;
13
- getKnownFollowers<T = unknown>(params: GetKnownFollowersParams, opts?: RequestOptions): Promise<T>;
9
+ followAccount(params: FollowAccountParams, opts?: RequestOptions): Promise<import("../generated/types.js").FollowAccountOutput>;
10
+ unfollowAccount(params: UnfollowAccountParams, opts?: RequestOptions): Promise<import("../generated/types.js").UnfollowAccountOutput>;
11
+ getFollowers(params: GetFollowersParams, opts?: RequestOptions): Promise<import("../generated/types.js").GetFollowersOutput>;
12
+ getFollows(params: GetFollowsParams, opts?: RequestOptions): Promise<import("../generated/types.js").GetFollowsOutput>;
13
+ getKnownFollowers(params: GetKnownFollowersParams, opts?: RequestOptions): Promise<import("../generated/types.js").GetKnownFollowersOutput>;
14
14
  }
15
15
  //# sourceMappingURL=graph.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"graph.d.ts","sourceRoot":"","sources":["../../src/namespaces/graph.ts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AAG,kBAAkB,CAAC;AAClD,MAAM,MAAM,oBAAoB,GAAG,uBAAuB,CAAC;AAE3D,qBAAa,cAAc;IACb,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAAJ,IAAI,EAAE,IAAI;IAEvC,aAAa,CACX,MAAM,EAAE,mBAAmB,EAC3B,IAAI,CAAC,EAAE,cAAc;IASvB,eAAe,CACb,MAAM,EAAE,qBAAqB,EAC7B,IAAI,CAAC,EAAE,cAAc;IASvB,YAAY,CAAC,MAAM,EAAE,kBAAkB,EAAE,IAAI,CAAC,EAAE,cAAc;IAO9D,UAAU,CAAC,MAAM,EAAE,gBAAgB,EAAE,IAAI,CAAC,EAAE,cAAc;IAO1D,iBAAiB,CACf,MAAM,EAAE,uBAAuB,EAC/B,IAAI,CAAC,EAAE,cAAc;CAOxB"}
@@ -1,13 +1,13 @@
1
- import type { DislikeShoutInput, DislikeSongInput, LikeShoutInput, LikeSongInput } from "../generated/types";
2
- import type { RequestOptions } from "../types";
3
- import type { Call } from "./_helpers";
1
+ import type { DislikeShoutInput, DislikeSongInput, LikeShoutInput, LikeSongInput } from "../generated/types.js";
2
+ import type { RequestOptions } from "../types.js";
3
+ import type { Call } from "./_helpers.js";
4
4
  export type LikeInput = LikeSongInput;
5
5
  export declare class LikeNamespace {
6
6
  private readonly call;
7
7
  constructor(call: Call);
8
- likeSong<T = unknown>(input?: LikeSongInput, opts?: RequestOptions): Promise<T>;
9
- dislikeSong<T = unknown>(input?: DislikeSongInput, opts?: RequestOptions): Promise<T>;
10
- likeShout<T = unknown>(input?: LikeShoutInput, opts?: RequestOptions): Promise<T>;
11
- dislikeShout<T = unknown>(input?: DislikeShoutInput, opts?: RequestOptions): Promise<T>;
8
+ likeSong(input?: LikeSongInput, opts?: RequestOptions): Promise<import("../generated/types.js").SongViewDetailed>;
9
+ dislikeSong(input?: DislikeSongInput, opts?: RequestOptions): Promise<import("../generated/types.js").SongViewDetailed>;
10
+ likeShout(input?: LikeShoutInput, opts?: RequestOptions): Promise<import("../generated/types.js").ShoutView>;
11
+ dislikeShout(input?: DislikeShoutInput, opts?: RequestOptions): Promise<import("../generated/types.js").ShoutView>;
12
12
  }
13
13
  //# sourceMappingURL=like.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"like.d.ts","sourceRoot":"","sources":["../../src/namespaces/like.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EACjB,gBAAgB,EAChB,cAAc,EACd,aAAa,EACd,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC/C,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAEvC,MAAM,MAAM,SAAS,GAAG,aAAa,CAAC;AAEtC,qBAAa,aAAa;IACZ,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAAJ,IAAI,EAAE,IAAI;IAEvC,QAAQ,CAAC,CAAC,GAAG,OAAO,EAAE,KAAK,GAAE,aAAkB,EAAE,IAAI,CAAC,EAAE,cAAc;IAQtE,WAAW,CAAC,CAAC,GAAG,OAAO,EAAE,KAAK,GAAE,gBAAqB,EAAE,IAAI,CAAC,EAAE,cAAc;IAQ5E,SAAS,CAAC,CAAC,GAAG,OAAO,EAAE,KAAK,GAAE,cAAmB,EAAE,IAAI,CAAC,EAAE,cAAc;IAQxE,YAAY,CAAC,CAAC,GAAG,OAAO,EAAE,KAAK,GAAE,iBAAsB,EAAE,IAAI,CAAC,EAAE,cAAc;CAO/E"}
1
+ {"version":3,"file":"like.d.ts","sourceRoot":"","sources":["../../src/namespaces/like.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EACjB,gBAAgB,EAChB,cAAc,EACd,aAAa,EACd,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAE1C,MAAM,MAAM,SAAS,GAAG,aAAa,CAAC;AAEtC,qBAAa,aAAa;IACZ,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAAJ,IAAI,EAAE,IAAI;IAEvC,QAAQ,CAAC,KAAK,GAAE,aAAkB,EAAE,IAAI,CAAC,EAAE,cAAc;IAQzD,WAAW,CAAC,KAAK,GAAE,gBAAqB,EAAE,IAAI,CAAC,EAAE,cAAc;IAQ/D,SAAS,CAAC,KAAK,GAAE,cAAmB,EAAE,IAAI,CAAC,EAAE,cAAc;IAQ3D,YAAY,CAAC,KAAK,GAAE,iBAAsB,EAAE,IAAI,CAAC,EAAE,cAAc;CAOlE"}
@@ -1,11 +1,11 @@
1
- import type { PutMirrorSourceInput } from "../generated/types";
2
- import type { RequestOptions } from "../types";
3
- import type { Call } from "./_helpers";
1
+ import type { PutMirrorSourceInput } from "../generated/types.js";
2
+ import type { RequestOptions } from "../types.js";
3
+ import type { Call } from "./_helpers.js";
4
4
  export type { PutMirrorSourceInput };
5
5
  export declare class MirrorNamespace {
6
6
  private readonly call;
7
7
  constructor(call: Call);
8
- getMirrorSources<T = unknown>(opts?: RequestOptions): Promise<T>;
9
- putMirrorSource<T = unknown>(input: PutMirrorSourceInput, opts?: RequestOptions): Promise<T>;
8
+ getMirrorSources(opts?: RequestOptions): Promise<import("../generated/types.js").GetMirrorSourcesOutput>;
9
+ putMirrorSource(input: PutMirrorSourceInput, opts?: RequestOptions): Promise<import("../generated/types.js").MirrorSourceView>;
10
10
  }
11
11
  //# sourceMappingURL=mirror.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"mirror.d.ts","sourceRoot":"","sources":["../../src/namespaces/mirror.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC/D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC/C,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAEvC,YAAY,EAAE,oBAAoB,EAAE,CAAC;AAErC,qBAAa,eAAe;IACd,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAAJ,IAAI,EAAE,IAAI;IAEvC,gBAAgB,CAAC,CAAC,GAAG,OAAO,EAAE,IAAI,CAAC,EAAE,cAAc;IAOnD,eAAe,CAAC,CAAC,GAAG,OAAO,EACzB,KAAK,EAAE,oBAAoB,EAC3B,IAAI,CAAC,EAAE,cAAc;CAQxB"}
1
+ {"version":3,"file":"mirror.d.ts","sourceRoot":"","sources":["../../src/namespaces/mirror.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAClE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAE1C,YAAY,EAAE,oBAAoB,EAAE,CAAC;AAErC,qBAAa,eAAe;IACd,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAAJ,IAAI,EAAE,IAAI;IAEvC,gBAAgB,CAAC,IAAI,CAAC,EAAE,cAAc;IAOtC,eAAe,CACb,KAAK,EAAE,oBAAoB,EAC3B,IAAI,CAAC,EAAE,cAAc;CAQxB"}
@@ -1,19 +1,19 @@
1
- import type { AddDirectoryToQueueParams, AddItemsToQueueParams, GetCurrentlyPlayingParams, GetPlaybackQueueParams, NextParams, PauseParams, PlayDirectoryParams, PlayFileParams, PlayParams, PreviousParams, SeekParams } from "../generated/types";
2
- import type { RequestOptions } from "../types";
3
- import type { Call } from "./_helpers";
1
+ import type { AddDirectoryToQueueParams, AddItemsToQueueParams, GetCurrentlyPlayingParams, GetPlaybackQueueParams, NextParams, PauseParams, PlayDirectoryParams, PlayFileParams, PlayParams, PreviousParams, SeekParams } from "../generated/types.js";
2
+ import type { RequestOptions } from "../types.js";
3
+ import type { Call } from "./_helpers.js";
4
4
  export declare class PlayerNamespace {
5
5
  private readonly call;
6
6
  constructor(call: Call);
7
- getCurrentlyPlaying<T = unknown>(params?: GetCurrentlyPlayingParams, opts?: RequestOptions): Promise<T>;
8
- getPlaybackQueue<T = unknown>(params?: GetPlaybackQueueParams, opts?: RequestOptions): Promise<T>;
9
- play<T = unknown>(params?: PlayParams, opts?: RequestOptions): Promise<T>;
10
- pause<T = unknown>(params?: PauseParams, opts?: RequestOptions): Promise<T>;
11
- next<T = unknown>(params?: NextParams, opts?: RequestOptions): Promise<T>;
12
- previous<T = unknown>(params?: PreviousParams, opts?: RequestOptions): Promise<T>;
13
- seek<T = unknown>(params: SeekParams, opts?: RequestOptions): Promise<T>;
14
- playFile<T = unknown>(params: PlayFileParams, opts?: RequestOptions): Promise<T>;
15
- playDirectory<T = unknown>(params: PlayDirectoryParams, opts?: RequestOptions): Promise<T>;
16
- addItemsToQueue<T = unknown>(params: AddItemsToQueueParams, opts?: RequestOptions): Promise<T>;
17
- addDirectoryToQueue<T = unknown>(params: AddDirectoryToQueueParams, opts?: RequestOptions): Promise<T>;
7
+ getCurrentlyPlaying(params?: GetCurrentlyPlayingParams, opts?: RequestOptions): Promise<import("../generated/types.js").PlayerCurrentlyPlayingViewDetailed>;
8
+ getPlaybackQueue(params?: GetPlaybackQueueParams, opts?: RequestOptions): Promise<import("../generated/types.js").PlayerPlaybackQueueViewDetailed>;
9
+ play(params?: PlayParams, opts?: RequestOptions): Promise<void>;
10
+ pause(params?: PauseParams, opts?: RequestOptions): Promise<void>;
11
+ next(params?: NextParams, opts?: RequestOptions): Promise<void>;
12
+ previous(params?: PreviousParams, opts?: RequestOptions): Promise<void>;
13
+ seek(params: SeekParams, opts?: RequestOptions): Promise<void>;
14
+ playFile(params: PlayFileParams, opts?: RequestOptions): Promise<void>;
15
+ playDirectory(params: PlayDirectoryParams, opts?: RequestOptions): Promise<void>;
16
+ addItemsToQueue(params: AddItemsToQueueParams, opts?: RequestOptions): Promise<void>;
17
+ addDirectoryToQueue(params: AddDirectoryToQueueParams, opts?: RequestOptions): Promise<void>;
18
18
  }
19
19
  //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CACN,MAAM,EAAE,cAAc,EACtB,IAAI,CAAC,EAAE,cAAc;IASvB,aAAa,CACX,MAAM,EAAE,mBAAmB,EAC3B,IAAI,CAAC,EAAE,cAAc;IASvB,eAAe,CACb,MAAM,EAAE,qBAAqB,EAC7B,IAAI,CAAC,EAAE,cAAc;IASvB,mBAAmB,CACjB,MAAM,EAAE,yBAAyB,EACjC,IAAI,CAAC,EAAE,cAAc;CAOxB"}
@@ -1,16 +1,16 @@
1
- import type { CreatePlaylistParams, GetPlaylistParams, GetPlaylistsParams, InsertDirectoryParams, InsertFilesParams, RemovePlaylistParams, RemoveTrackParams, StartPlaylistParams } from "../generated/types";
2
- import type { RequestOptions } from "../types";
3
- import type { Call } from "./_helpers";
1
+ import type { CreatePlaylistParams, GetPlaylistParams, GetPlaylistsParams, InsertDirectoryParams, InsertFilesParams, RemovePlaylistParams, RemoveTrackParams, StartPlaylistParams } from "../generated/types.js";
2
+ import type { RequestOptions } from "../types.js";
3
+ import type { Call } from "./_helpers.js";
4
4
  export declare class PlaylistNamespace {
5
5
  private readonly call;
6
6
  constructor(call: Call);
7
- getPlaylists<T = unknown>(params?: GetPlaylistsParams, opts?: RequestOptions): Promise<T>;
8
- getPlaylist<T = unknown>(params: GetPlaylistParams, opts?: RequestOptions): Promise<T>;
9
- createPlaylist<T = unknown>(params: CreatePlaylistParams, opts?: RequestOptions): Promise<T>;
10
- removePlaylist<T = unknown>(params: RemovePlaylistParams, opts?: RequestOptions): Promise<T>;
11
- startPlaylist<T = unknown>(params: StartPlaylistParams, opts?: RequestOptions): Promise<T>;
12
- insertDirectory<T = unknown>(params: InsertDirectoryParams, opts?: RequestOptions): Promise<T>;
13
- insertFiles<T = unknown>(params: InsertFilesParams, opts?: RequestOptions): Promise<T>;
14
- removeTrack<T = unknown>(params: RemoveTrackParams, opts?: RequestOptions): Promise<T>;
7
+ getPlaylists(params?: GetPlaylistsParams, opts?: RequestOptions): Promise<import("../generated/types.js").GetPlaylistsOutput>;
8
+ getPlaylist(params: GetPlaylistParams, opts?: RequestOptions): Promise<import("../generated/types.js").PlaylistViewDetailed>;
9
+ createPlaylist(params: CreatePlaylistParams, opts?: RequestOptions): Promise<void>;
10
+ removePlaylist(params: RemovePlaylistParams, opts?: RequestOptions): Promise<void>;
11
+ startPlaylist(params: StartPlaylistParams, opts?: RequestOptions): Promise<void>;
12
+ insertDirectory(params: InsertDirectoryParams, opts?: RequestOptions): Promise<void>;
13
+ insertFiles(params: InsertFilesParams, opts?: RequestOptions): Promise<void>;
14
+ removeTrack(params: RemoveTrackParams, opts?: RequestOptions): Promise<void>;
15
15
  }
16
16
  //# sourceMappingURL=playlist.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"playlist.d.ts","sourceRoot":"","sources":["../../src/namespaces/playlist.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,oBAAoB,EACpB,iBAAiB,EACjB,kBAAkB,EAClB,qBAAqB,EACrB,iBAAiB,EACjB,oBAAoB,EACpB,iBAAiB,EACjB,mBAAmB,EACpB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC/C,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAEvC,qBAAa,iBAAiB;IAChB,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAAJ,IAAI,EAAE,IAAI;IAEvC,YAAY,CAAC,CAAC,GAAG,OAAO,EACtB,MAAM,GAAE,kBAAuB,EAC/B,IAAI,CAAC,EAAE,cAAc;IAQvB,WAAW,CAAC,CAAC,GAAG,OAAO,EAAE,MAAM,EAAE,iBAAiB,EAAE,IAAI,CAAC,EAAE,cAAc;IAOzE,cAAc,CAAC,CAAC,GAAG,OAAO,EACxB,MAAM,EAAE,oBAAoB,EAC5B,IAAI,CAAC,EAAE,cAAc;IASvB,cAAc,CAAC,CAAC,GAAG,OAAO,EAAE,MAAM,EAAE,oBAAoB,EAAE,IAAI,CAAC,EAAE,cAAc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Ac;IASvB,WAAW,CACT,MAAM,EAAE,iBAAiB,EACzB,IAAI,CAAC,EAAE,cAAc;IASvB,WAAW,CACT,MAAM,EAAE,iBAAiB,EACzB,IAAI,CAAC,EAAE,cAAc;CAOxB"}
@@ -1,12 +1,12 @@
1
- import type { CreateScrobbleInput, GetScrobbleParams, GetScrobblesParams } from "../generated/types";
2
- import type { RequestOptions } from "../types";
3
- import type { Call } from "./_helpers";
1
+ import type { CreateScrobbleInput, GetScrobbleParams, GetScrobblesParams } from "../generated/types.js";
2
+ import type { RequestOptions } from "../types.js";
3
+ import type { Call } from "./_helpers.js";
4
4
  export type { CreateScrobbleInput, GetScrobblesParams };
5
5
  export declare class ScrobbleNamespace {
6
6
  private readonly call;
7
7
  constructor(call: Call);
8
- createScrobble<T = unknown>(input: CreateScrobbleInput, opts?: RequestOptions): Promise<T>;
9
- getScrobble<T = unknown>(params: GetScrobbleParams, opts?: RequestOptions): Promise<T>;
10
- getScrobbles<T = unknown>(params?: GetScrobblesParams, opts?: RequestOptions): Promise<T>;
8
+ createScrobble(input: CreateScrobbleInput, opts?: RequestOptions): Promise<import("../generated/types.js").ScrobbleViewBasic>;
9
+ getScrobble(params: GetScrobbleParams, opts?: RequestOptions): Promise<import("../generated/types.js").ScrobbleViewDetailed>;
10
+ getScrobbles(params?: GetScrobblesParams, opts?: RequestOptions): Promise<import("../generated/types.js").GetScrobblesOutput>;
11
11
  }
12
12
  //# sourceMappingURL=scrobble.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"scrobble.d.ts","sourceRoot":"","sources":["../../src/namespaces/scrobble.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,mBAAmB,EACnB,iBAAiB,EACjB,kBAAkB,EACnB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC/C,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAEvC,YAAY,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,CAAC;AAExD,qBAAa,iBAAiB;IAChB,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAAJ,IAAI,EAAE,IAAI;IAEvC,cAAc,CAAC,CAAC,GAAG,OAAO,EACxB,KAAK,EAAE,mBAAmB,EAC1B,IAAI,CAAC,EAAE,cAAc;IASvB,WAAW,CAAC,CAAC,GAAG,OAAO,EAAE,MAAM,EAAE,iBAAiB,EAAE,IAAI,CAAC,EAAE,cAAc;IAOzE,YAAY,CAAC,CAAC,GAAG,OAAO,EACtB,MAAM,GAAE,kBAAuB,EAC/B,IAAI,CAAC,EAAE,cAAc;CAOxB"}
1
+ {"version":3,"file":"scrobble.d.ts","sourceRoot":"","sources":["../../src/namespaces/scrobble.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,mBAAmB,EACnB,iBAAiB,EACjB,kBAAkB,EACnB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAE1C,YAAY,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,CAAC;AAExD,qBAAa,iBAAiB;IAChB,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAAJ,IAAI,EAAE,IAAI;IAEvC,cAAc,CACZ,KAAK,EAAE,mBAAmB,EAC1B,IAAI,CAAC,EAAE,cAAc;IASvB,WAAW,CAAC,MAAM,EAAE,iBAAiB,EAAE,IAAI,CAAC,EAAE,cAAc;IAO5D,YAAY,CACV,MAAM,GAAE,kBAAuB,EAC/B,IAAI,CAAC,EAAE,cAAc;CAOxB"}
@@ -1,17 +1,17 @@
1
- import type { CreateShoutInput, GetAlbumShoutsParams, GetArtistShoutsParams, GetProfileShoutsParams, GetShoutRepliesParams, GetTrackShoutsParams, RemoveShoutParams, ReplyShoutInput, ReportShoutInput } from "../generated/types";
2
- import type { RequestOptions } from "../types";
3
- import type { Call } from "./_helpers";
1
+ import type { CreateShoutInput, GetAlbumShoutsParams, GetArtistShoutsParams, GetProfileShoutsParams, GetShoutRepliesParams, GetTrackShoutsParams, RemoveShoutParams, ReplyShoutInput, ReportShoutInput } from "../generated/types.js";
2
+ import type { RequestOptions } from "../types.js";
3
+ import type { Call } from "./_helpers.js";
4
4
  export declare class ShoutNamespace {
5
5
  private readonly call;
6
6
  constructor(call: Call);
7
- createShout<T = unknown>(input?: CreateShoutInput, opts?: RequestOptions): Promise<T>;
8
- replyShout<T = unknown>(input: ReplyShoutInput, opts?: RequestOptions): Promise<T>;
9
- reportShout<T = unknown>(input: ReportShoutInput, opts?: RequestOptions): Promise<T>;
10
- removeShout<T = unknown>(params: RemoveShoutParams, opts?: RequestOptions): Promise<T>;
11
- getShoutReplies<T = unknown>(params: GetShoutRepliesParams, opts?: RequestOptions): Promise<T>;
12
- getProfileShouts<T = unknown>(params: GetProfileShoutsParams, opts?: RequestOptions): Promise<T>;
13
- getTrackShouts<T = unknown>(params: GetTrackShoutsParams, opts?: RequestOptions): Promise<T>;
14
- getArtistShouts<T = unknown>(params: GetArtistShoutsParams, opts?: RequestOptions): Promise<T>;
15
- getAlbumShouts<T = unknown>(params: GetAlbumShoutsParams, opts?: RequestOptions): Promise<T>;
7
+ createShout(input?: CreateShoutInput, opts?: RequestOptions): Promise<import("../generated/types.js").ShoutView>;
8
+ replyShout(input: ReplyShoutInput, opts?: RequestOptions): Promise<import("../generated/types.js").ShoutView>;
9
+ reportShout(input: ReportShoutInput, opts?: RequestOptions): Promise<import("../generated/types.js").ShoutView>;
10
+ removeShout(params: RemoveShoutParams, opts?: RequestOptions): Promise<import("../generated/types.js").ShoutView>;
11
+ getShoutReplies(params: GetShoutRepliesParams, opts?: RequestOptions): Promise<import("../generated/types.js").GetShoutRepliesOutput>;
12
+ getProfileShouts(params: GetProfileShoutsParams, opts?: RequestOptions): Promise<import("../generated/types.js").GetProfileShoutsOutput>;
13
+ getTrackShouts(params: GetTrackShoutsParams, opts?: RequestOptions): Promise<import("../generated/types.js").GetTrackShoutsOutput>;
14
+ getArtistShouts(params: GetArtistShoutsParams, opts?: RequestOptions): Promise<import("../generated/types.js").GetArtistShoutsOutput>;
15
+ getAlbumShouts(params: GetAlbumShoutsParams, opts?: RequestOptions): Promise<import("../generated/types.js").GetAlbumShoutsOutput>;
16
16
  }
17
17
  //# sourceMappingURL=shout.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"shout.d.ts","sourceRoot":"","sources":["../../src/namespaces/shout.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,gBAAgB,EAChB,oBAAoB,EACpB,qBAAqB,EACrB,sBAAsB,EACtB,qBAAqB,EACrB,oBAAoB,EACpB,iBAAiB,EACjB,eAAe,EACf,gBAAgB,EACjB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC/C,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAEvC,qBAAa,cAAc;IACb,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAAJ,IAAI,EAAE,IAAI;IAEvC,WAAW,CAAC,CAAC,GAAG,OAAO,EACrB,KAAK,GAAE,gBAAqB,EAC5B,IAAI,CAAC,EAAE,cAAc;IASvB,UAAU,CAAC,CAAC,GAAG,OAAO,EACpB,KAAK,EAAE,eAAe,EACtB,IAAI,CAAC,EAAE,cAAc;IASvB,WAAW,CAAC,CAAC,GAAG,OAAO,EACrB,KAAK,EAAE,gBAAgB,EACvB,IAAI,CAAC,EAAE,cAAc;IASvB,WAAW,CAAC,CAAC,GAAG,OAAO,EAAE,MAAM,EAAE,iBAAiB,EAAE,IAAI,CAAC,EAAE,cAAc;IAQzE,eAAe,CAAC,CAAC,GAAG,OAAO,EAAE,MAAM,EAAE,qBAAqB,EAAE,IAAI,CAAC,EAAE,cAAc;IAOjF,gBAAgB,CAAC,CAAC,GAAG,OAAO,EAC1B,MAAM,EAAE,sBAAsB,EAC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AE,cAAc;IAQvB,eAAe,CAAC,MAAM,EAAE,qBAAqB,EAAE,IAAI,CAAC,EAAE,cAAc;IAOpE,cAAc,CAAC,MAAM,EAAE,oBAAoB,EAAE,IAAI,CAAC,EAAE,cAAc;CAMnE"}
@@ -1,14 +1,14 @@
1
- import type { CreateSongInput, GetSongParams, GetSongRecentListenersParams, GetSongsParams, MatchSongParams } from "../generated/types";
2
- import type { RequestOptions } from "../types";
3
- import type { Call } from "./_helpers";
1
+ import type { CreateSongInput, GetSongParams, GetSongRecentListenersParams, GetSongsParams, MatchSongParams } from "../generated/types.js";
2
+ import type { RequestOptions } from "../types.js";
3
+ import type { Call } from "./_helpers.js";
4
4
  export type { CreateSongInput, GetSongParams, GetSongRecentListenersParams, GetSongsParams, MatchSongParams, };
5
5
  export declare class SongNamespace {
6
6
  private readonly call;
7
7
  constructor(call: Call);
8
- getSong<T = unknown>(params: GetSongParams, opts?: RequestOptions): Promise<T>;
9
- getSongs<T = unknown>(params?: GetSongsParams, opts?: RequestOptions): Promise<T>;
10
- getSongRecentListeners<T = unknown>(params: GetSongRecentListenersParams, opts?: RequestOptions): Promise<T>;
11
- matchSong<T = unknown>(params: MatchSongParams, opts?: RequestOptions): Promise<T>;
12
- createSong<T = unknown>(input: CreateSongInput, opts?: RequestOptions): Promise<T>;
8
+ getSong(params: GetSongParams, opts?: RequestOptions): Promise<import("../generated/types.js").SongViewDetailed>;
9
+ getSongs(params?: GetSongsParams, opts?: RequestOptions): Promise<import("../generated/types.js").GetSongsOutput>;
10
+ getSongRecentListeners(params: GetSongRecentListenersParams, opts?: RequestOptions): Promise<import("../generated/types.js").GetSongRecentListenersOutput>;
11
+ matchSong(params: MatchSongParams, opts?: RequestOptions): Promise<import("../generated/types.js").SongViewDetailed>;
12
+ createSong(input: CreateSongInput, opts?: RequestOptions): Promise<import("../generated/types.js").SongViewDetailed>;
13
13
  }
14
14
  //# sourceMappingURL=song.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"song.d.ts","sourceRoot":"","sources":["../../src/namespaces/song.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,eAAe,EACf,aAAa,EACb,4BAA4B,EAC5B,cAAc,EACd,eAAe,EAChB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC/C,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAEvC,YAAY,EACV,eAAe,EACf,aAAa,EACb,4BAA4B,EAC5B,cAAc,EACd,eAAe,GAChB,CAAC;AAEF,qBAAa,aAAa;IACZ,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAAJ,IAAI,EAAE,IAAI;IAEvC,OAAO,CAAC,CAAC,GAAG,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,IAAI,CAAC,EAAE,cAAc;IAOjE,QAAQ,CAAC,CAAC,GAAG,OAAO,EAAE,MAAM,GAAE,cAAmB,EAAE,IAAI,CAAC,EAAE,cAAc;IAOxE,sBAAsB,CAAC,CAAC,GAAG,OAAO,EAChC,MAAM,EAAE,4BAA4B,EACpC,IAAI,CAAC,EAAE,cAAc;IAQvB,SAAS,CAAC,CAAC,GAAG,OAAO,EAAE,MAAM,EAAE,eAAe,EAAE,IAAI,CAAC,EAAE,cAAc;IAOrE,UAAU,CAAC,CAAC,GAAG,OAAO,EAAE,KAAK,EAAE,eAAe,EAAE,IAAI,CAAC,EAAE,cAAc;CAOtE"}
1
+ {"version":3,"file":"song.d.ts","sourceRoot":"","sources":["../../src/namespaces/song.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,eAAe,EACf,aAAa,EACb,4BAA4B,EAC5B,cAAc,EACd,eAAe,EAChB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAE1C,YAAY,EACV,eAAe,EACf,aAAa,EACb,4BAA4B,EAC5B,cAAc,EACd,eAAe,GAChB,CAAC;AAEF,qBAAa,aAAa;IACZ,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAAJ,IAAI,EAAE,IAAI;IAEvC,OAAO,CAAC,MAAM,EAAE,aAAa,EAAE,IAAI,CAAC,EAAE,cAAc;IAOpD,QAAQ,CAAC,MAAM,GAAE,cAAmB,EAAE,IAAI,CAAC,EAAE,cAAc;IAO3D,sBAAsB,CACpB,MAAM,EAAE,4BAA4B,EACpC,IAAI,CAAC,EAAE,cAAc;IAQvB,SAAS,CAAC,MAAM,EAAE,eAAe,EAAE,IAAI,CAAC,EAAE,cAAc;IAOxD,UAAU,CAAC,KAAK,EAAE,eAAe,EAAE,IAAI,CAAC,EAAE,cAAc;CAOzD"}
@@ -1,14 +1,14 @@
1
- import type { GetCurrentlyPlayingParams, SeekParams } from "../generated/types";
2
- import type { RequestOptions } from "../types";
3
- import type { Call } from "./_helpers";
1
+ import type { GetCurrentlyPlayingParams, SeekParams } from "../generated/types.js";
2
+ import type { RequestOptions } from "../types.js";
3
+ import type { Call } from "./_helpers.js";
4
4
  export declare class SpotifyNamespace {
5
5
  private readonly call;
6
6
  constructor(call: Call);
7
- getCurrentlyPlaying<T = unknown>(params?: GetCurrentlyPlayingParams, opts?: RequestOptions): Promise<T>;
8
- play<T = unknown>(opts?: RequestOptions): Promise<T>;
9
- pause<T = unknown>(opts?: RequestOptions): Promise<T>;
10
- next<T = unknown>(opts?: RequestOptions): Promise<T>;
11
- previous<T = unknown>(opts?: RequestOptions): Promise<T>;
12
- seek<T = unknown>(params: SeekParams, opts?: RequestOptions): Promise<T>;
7
+ getCurrentlyPlaying(params?: GetCurrentlyPlayingParams, opts?: RequestOptions): Promise<import("../generated/types.js").PlayerCurrentlyPlayingViewDetailed>;
8
+ play(opts?: RequestOptions): Promise<void>;
9
+ pause(opts?: RequestOptions): Promise<void>;
10
+ next(opts?: RequestOptions): Promise<void>;
11
+ previous(opts?: RequestOptions): Promise<void>;
12
+ seek(params: SeekParams, opts?: RequestOptions): Promise<void>;
13
13
  }
14
14
  //# sourceMappingURL=spotify.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"spotify.d.ts","sourceRoot":"","sources":["../../src/namespaces/spotify.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,yBAAyB,EACzB,UAAU,EACX,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC/C,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAEvC,qBAAa,gBAAgB;IACf,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAAJ,IAAI,EAAE,IAAI;IAEvC,mBAAmB,CAAC,CAAC,GAAG,OAAO,EAC7B,MAAM,GAAE,yBAA8B,EACtC,IAAI,CAAC,EAAE,cAAc;IAQvB,IAAI,CAAC,CAAC,GAAG,OAAO,EAAE,IAAI,CAAC,EAAE,cAAc;IAOvC,KAAK,CAAC,CAAC,GAAG,OAAO,EAAE,IAAI,CAAC,EAAE,cAAc;IAOxC,IAAI,CAAC,CAAC,GAAG,OAAO,EAAE,IAAI,CAAC,EAAE,cAAc;IAOvC,QAAQ,CAAC,CAAC,GAAG,OAAO,EAAE,IAAI,CAAC,EAAE,cAAc;IAO3C,IAAI,CAAC,CAAC,GAAG,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,IAAI,CAAC,EAAE,cAAc;CAO5D"}
1
+ {"version":3,"file":"spotify.d.ts","sourceRoot":"","sources":["../../src/namespaces/spotify.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,yBAAyB,EACzB,UAAU,EACX,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAE1C,qBAAa,gBAAgB;IACf,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAAJ,IAAI,EAAE,IAAI;IAEvC,mBAAmB,CACjB,MAAM,GAAE,yBAA8B,EACtC,IAAI,CAAC,EAAE,cAAc;IAQvB,IAAI,CAAC,IAAI,CAAC,EAAE,cAAc;IAO1B,KAAK,CAAC,IAAI,CAAC,EAAE,cAAc;IAO3B,IAAI,CAAC,IAAI,CAAC,EAAE,cAAc;IAO1B,QAAQ,CAAC,IAAI,CAAC,EAAE,cAAc;IAO9B,IAAI,CAAC,MAAM,EAAE,UAAU,EAAE,IAAI,CAAC,EAAE,cAAc;CAO/C"}
@@ -1,10 +1,10 @@
1
- import type { GetStatsParams, GetWrappedParams } from "../generated/types";
2
- import type { RequestOptions } from "../types";
3
- import type { Call } from "./_helpers";
1
+ import type { GetStatsParams, GetWrappedParams } from "../generated/types.js";
2
+ import type { RequestOptions } from "../types.js";
3
+ import type { Call } from "./_helpers.js";
4
4
  export declare class StatsNamespace {
5
5
  private readonly call;
6
6
  constructor(call: Call);
7
- getStats<T = unknown>(params: GetStatsParams, opts?: RequestOptions): Promise<T>;
8
- getWrapped<T = unknown>(params: GetWrappedParams, opts?: RequestOptions): Promise<T>;
7
+ getStats(params: GetStatsParams, opts?: RequestOptions): Promise<import("../generated/types.js").StatsView>;
8
+ getWrapped(params: GetWrappedParams, opts?: RequestOptions): Promise<import("../generated/types.js").StatsWrappedView>;
9
9
  }
10
10
  //# sourceMappingURL=stats.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"stats.d.ts","sourceRoot":"","sources":["../../src/namespaces/stats.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EACd,gBAAgB,EACjB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC/C,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAEvC,qBAAa,cAAc;IACb,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAAJ,IAAI,EAAE,IAAI;IAEvC,QAAQ,CAAC,CAAC,GAAG,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,IAAI,CAAC,EAAE,cAAc;IAOnE,UAAU,CAAC,CAAC,GAAG,OAAO,EACpB,MAAM,EAAE,gBAAgB,EACxB,IAAI,CAAC,EAAE,cAAc;CAOxB"}
1
+ {"version":3,"file":"stats.d.ts","sourceRoot":"","sources":["../../src/namespaces/stats.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EACd,gBAAgB,EACjB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAE1C,qBAAa,cAAc;IACb,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAAJ,IAAI,EAAE,IAAI;IAEvC,QAAQ,CAAC,MAAM,EAAE,cAAc,EAAE,IAAI,CAAC,EAAE,cAAc;IAOtD,UAAU,CACR,MAAM,EAAE,gBAAgB,EACxB,IAAI,CAAC,EAAE,cAAc;CAOxB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rocksky/sdk",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "description": "TypeScript SDK for the Rocksky XRPC API",
5
5
  "license": "MIT",
6
6
  "repository": {