@keystrokehq/spotify 0.0.9 → 0.0.15
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/dist/_official/index.d.mts +3 -7
- package/dist/_official/index.mjs +1 -1
- package/dist/albums.d.mts +9 -18
- package/dist/albums.mjs +1 -1
- package/dist/artists.d.mts +11 -22
- package/dist/artists.mjs +1 -1
- package/dist/audio-analysis.d.mts +3 -6
- package/dist/audio-analysis.mjs +1 -1
- package/dist/audio-features.d.mts +5 -10
- package/dist/audio-features.mjs +1 -1
- package/dist/audiobooks.d.mts +7 -14
- package/dist/audiobooks.mjs +1 -1
- package/dist/browse.d.mts +3 -6
- package/dist/browse.mjs +1 -1
- package/dist/categories.d.mts +7 -14
- package/dist/categories.mjs +1 -1
- package/dist/chapters.d.mts +5 -10
- package/dist/chapters.mjs +1 -1
- package/dist/client.d.mts +230 -230
- package/dist/connection.d.mts +1 -1
- package/dist/connection.mjs +1 -1
- package/dist/episodes.d.mts +5 -10
- package/dist/episodes.mjs +1 -1
- package/dist/factory-DMprpzS1.mjs +8 -0
- package/dist/follow.d.mts +9 -18
- package/dist/follow.mjs +1 -1
- package/dist/genres.d.mts +3 -6
- package/dist/genres.mjs +1 -1
- package/dist/integration-B5oEi2sg.d.mts +27 -0
- package/dist/integration-D9ABjTOP.mjs +51 -0
- package/dist/library.d.mts +41 -82
- package/dist/library.mjs +1 -1
- package/dist/markets.d.mts +3 -6
- package/dist/markets.mjs +1 -1
- package/dist/me.d.mts +7 -14
- package/dist/me.mjs +1 -1
- package/dist/player.d.mts +33 -64
- package/dist/player.mjs +1 -1
- package/dist/playlists.d.mts +29 -58
- package/dist/playlists.mjs +1 -1
- package/dist/recommendations.d.mts +3 -6
- package/dist/recommendations.mjs +1 -1
- package/dist/schemas.d.mts +1 -1
- package/dist/search.d.mts +4 -7
- package/dist/search.mjs +1 -1
- package/dist/shows.d.mts +7 -14
- package/dist/shows.mjs +1 -1
- package/dist/tracks.d.mts +5 -10
- package/dist/tracks.mjs +1 -1
- package/dist/triggers.d.mts +3 -2
- package/dist/triggers.mjs +7 -56
- package/dist/users.d.mts +3 -6
- package/dist/users.mjs +1 -1
- package/package.json +5 -5
- package/dist/factory-C9W7aXmR.mjs +0 -7
- package/dist/integration-CrkQTg9q.mjs +0 -170
- package/dist/integration-DXXNe4_j.d.mts +0 -40
|
@@ -1,16 +1,12 @@
|
|
|
1
|
-
import { i as spotifyOfficialIntegration, r as spotifyBundle } from "../integration-
|
|
2
|
-
import { CredentialSet } from "@keystrokehq/core";
|
|
1
|
+
import { i as spotifyOfficialIntegration, r as spotifyBundle } from "../integration-B5oEi2sg.mjs";
|
|
3
2
|
import { z } from "zod";
|
|
4
|
-
import
|
|
3
|
+
import { CredentialSet } from "@keystrokehq/core";
|
|
5
4
|
|
|
6
5
|
//#region src/_official/provider-app.d.ts
|
|
7
6
|
declare const spotifyAppCredentialSet: CredentialSet<"keystroke:spotify-app", z.ZodObject<{
|
|
8
7
|
clientId: z.ZodString;
|
|
9
8
|
clientSecret: z.ZodString;
|
|
10
|
-
}, z.core.$strip
|
|
11
|
-
clientId: z.ZodString;
|
|
12
|
-
clientSecret: z.ZodString;
|
|
13
|
-
}, z.core.$strip>>[] | undefined>;
|
|
9
|
+
}, z.core.$strip>>;
|
|
14
10
|
declare const spotifyOfficialProviderSeed: {
|
|
15
11
|
readonly provider: "spotify";
|
|
16
12
|
readonly appRef: "spotify-platform";
|
package/dist/_official/index.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as spotifyOfficialProviderSeed, i as spotifyAppCredentialSet, n as spotifyBundle, r as spotifyOfficialIntegration } from "../integration-
|
|
1
|
+
import { a as spotifyOfficialProviderSeed, i as spotifyAppCredentialSet, n as spotifyBundle, r as spotifyOfficialIntegration } from "../integration-D9ABjTOP.mjs";
|
|
2
2
|
|
|
3
3
|
export { spotifyAppCredentialSet, spotifyBundle, spotifyOfficialIntegration, spotifyOfficialProviderSeed };
|
package/dist/albums.d.mts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
2
1
|
import { z } from "zod";
|
|
3
|
-
import * as
|
|
2
|
+
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
4
3
|
|
|
5
4
|
//#region src/albums.d.ts
|
|
6
5
|
declare const getAlbum: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
@@ -53,11 +52,9 @@ declare const getAlbum: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
53
52
|
restrictions: z.ZodOptional<z.ZodObject<{
|
|
54
53
|
reason: z.ZodString;
|
|
55
54
|
}, z.core.$strip>>;
|
|
56
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
57
|
-
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
58
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
55
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
59
56
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
60
|
-
}, z.core.$strip>>
|
|
57
|
+
}, z.core.$strip>>], undefined>;
|
|
61
58
|
declare const getAlbumTracks: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
62
59
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
63
60
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
@@ -145,11 +142,9 @@ declare const getAlbumTracks: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
145
142
|
offset: z.ZodNumber;
|
|
146
143
|
previousPageToken: z.ZodOptional<z.ZodString>;
|
|
147
144
|
total: z.ZodOptional<z.ZodNumber>;
|
|
148
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
145
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
149
146
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
150
|
-
}, z.core.$strip
|
|
151
|
-
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
152
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
147
|
+
}, z.core.$strip>>], undefined>;
|
|
153
148
|
declare const getSeveralAlbums: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
154
149
|
ids: z.ZodArray<z.ZodString>;
|
|
155
150
|
market: z.ZodOptional<z.ZodString>;
|
|
@@ -202,11 +197,9 @@ declare const getSeveralAlbums: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
202
197
|
reason: z.ZodString;
|
|
203
198
|
}, z.core.$strip>>;
|
|
204
199
|
}, z.core.$strip>>;
|
|
205
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
206
|
-
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
207
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
200
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
208
201
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
209
|
-
}, z.core.$strip>>
|
|
202
|
+
}, z.core.$strip>>], undefined>;
|
|
210
203
|
declare const getNewReleases: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
211
204
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
212
205
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
@@ -256,10 +249,8 @@ declare const getNewReleases: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
256
249
|
offset: z.ZodNumber;
|
|
257
250
|
previousPageToken: z.ZodOptional<z.ZodString>;
|
|
258
251
|
total: z.ZodOptional<z.ZodNumber>;
|
|
259
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
260
|
-
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
261
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
252
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
262
253
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
263
|
-
}, z.core.$strip>>
|
|
254
|
+
}, z.core.$strip>>], undefined>;
|
|
264
255
|
//#endregion
|
|
265
256
|
export { getAlbum, getAlbumTracks, getNewReleases, getSeveralAlbums };
|
package/dist/albums.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { spotifyAlbumPageSchema, spotifyAlbumSchema, spotifyIdSchema, spotifyMarketSchema, spotifyTrackPageSchema } from "./schemas.mjs";
|
|
2
2
|
import { createSpotifyClient } from "./client.mjs";
|
|
3
|
-
import { t as spotifyOperation } from "./factory-
|
|
3
|
+
import { t as spotifyOperation } from "./factory-DMprpzS1.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/albums.ts
|
package/dist/artists.d.mts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
2
1
|
import { z } from "zod";
|
|
3
|
-
import * as
|
|
2
|
+
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
4
3
|
|
|
5
4
|
//#region src/artists.d.ts
|
|
6
5
|
declare const getArtist: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
@@ -25,11 +24,9 @@ declare const getArtist: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
25
24
|
width: z.ZodNullable<z.ZodNumber>;
|
|
26
25
|
}, z.core.$strip>>>;
|
|
27
26
|
popularity: z.ZodOptional<z.ZodNumber>;
|
|
28
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
27
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
29
28
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
30
|
-
}, z.core.$strip
|
|
31
|
-
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
32
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
29
|
+
}, z.core.$strip>>], undefined>;
|
|
33
30
|
declare const getArtistAlbums: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
34
31
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
35
32
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
@@ -86,11 +83,9 @@ declare const getArtistAlbums: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
86
83
|
offset: z.ZodNumber;
|
|
87
84
|
previousPageToken: z.ZodOptional<z.ZodString>;
|
|
88
85
|
total: z.ZodOptional<z.ZodNumber>;
|
|
89
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
90
|
-
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
91
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
86
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
92
87
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
93
|
-
}, z.core.$strip>>
|
|
88
|
+
}, z.core.$strip>>], undefined>;
|
|
94
89
|
declare const getArtistTopTracks: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
95
90
|
id: z.ZodString;
|
|
96
91
|
market: z.ZodString;
|
|
@@ -170,11 +165,9 @@ declare const getArtistTopTracks: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
170
165
|
type: z.ZodLiteral<"track">;
|
|
171
166
|
uri: z.ZodOptional<z.ZodString>;
|
|
172
167
|
}, z.core.$strip>>;
|
|
173
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
168
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
174
169
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
175
|
-
}, z.core.$strip
|
|
176
|
-
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
177
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
170
|
+
}, z.core.$strip>>], undefined>;
|
|
178
171
|
declare const getArtistRelatedArtists: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
179
172
|
id: z.ZodString;
|
|
180
173
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -199,11 +192,9 @@ declare const getArtistRelatedArtists: _keystrokehq_core0.Operation<z.ZodObject<
|
|
|
199
192
|
}, z.core.$strip>>>;
|
|
200
193
|
popularity: z.ZodOptional<z.ZodNumber>;
|
|
201
194
|
}, z.core.$strip>>;
|
|
202
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
203
|
-
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
204
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
195
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
205
196
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
206
|
-
}, z.core.$strip>>
|
|
197
|
+
}, z.core.$strip>>], undefined>;
|
|
207
198
|
declare const getSeveralArtists: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
208
199
|
ids: z.ZodArray<z.ZodString>;
|
|
209
200
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -228,10 +219,8 @@ declare const getSeveralArtists: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
228
219
|
}, z.core.$strip>>>;
|
|
229
220
|
popularity: z.ZodOptional<z.ZodNumber>;
|
|
230
221
|
}, z.core.$strip>>;
|
|
231
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
232
|
-
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
233
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
222
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
234
223
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
235
|
-
}, z.core.$strip>>
|
|
224
|
+
}, z.core.$strip>>], undefined>;
|
|
236
225
|
//#endregion
|
|
237
226
|
export { getArtist, getArtistAlbums, getArtistRelatedArtists, getArtistTopTracks, getSeveralArtists };
|
package/dist/artists.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { spotifyAlbumPageSchema, spotifyArtistSchema, spotifyIdSchema, spotifyMarketSchema, spotifyTrackSchema } from "./schemas.mjs";
|
|
2
2
|
import { createSpotifyClient } from "./client.mjs";
|
|
3
|
-
import { t as spotifyOperation } from "./factory-
|
|
3
|
+
import { t as spotifyOperation } from "./factory-DMprpzS1.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/artists.ts
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
2
1
|
import { z } from "zod";
|
|
3
|
-
import * as
|
|
2
|
+
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
4
3
|
|
|
5
4
|
//#region src/audio-analysis.d.ts
|
|
6
5
|
declare const getAudioAnalysis: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
@@ -82,10 +81,8 @@ declare const getAudioAnalysis: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
82
81
|
rhythmstring: z.ZodOptional<z.ZodString>;
|
|
83
82
|
rhythmVersion: z.ZodOptional<z.ZodNumber>;
|
|
84
83
|
}, z.core.$strip>>;
|
|
85
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
86
|
-
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
87
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
84
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
88
85
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
89
|
-
}, z.core.$strip>>
|
|
86
|
+
}, z.core.$strip>>], undefined>;
|
|
90
87
|
//#endregion
|
|
91
88
|
export { getAudioAnalysis };
|
package/dist/audio-analysis.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { spotifyAudioAnalysisSchema, spotifyIdSchema } from "./schemas.mjs";
|
|
2
2
|
import { createSpotifyClient } from "./client.mjs";
|
|
3
|
-
import { t as spotifyOperation } from "./factory-
|
|
3
|
+
import { t as spotifyOperation } from "./factory-DMprpzS1.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/audio-analysis.ts
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
2
1
|
import { z } from "zod";
|
|
3
|
-
import * as
|
|
2
|
+
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
4
3
|
|
|
5
4
|
//#region src/audio-features.d.ts
|
|
6
5
|
declare const getAudioFeatures: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
@@ -24,11 +23,9 @@ declare const getAudioFeatures: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
24
23
|
type: z.ZodLiteral<"audio_features">;
|
|
25
24
|
uri: z.ZodOptional<z.ZodString>;
|
|
26
25
|
valence: z.ZodNumber;
|
|
27
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
26
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
28
27
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
29
|
-
}, z.core.$strip
|
|
30
|
-
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
31
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
28
|
+
}, z.core.$strip>>], undefined>;
|
|
32
29
|
declare const getSeveralAudioFeatures: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
33
30
|
ids: z.ZodArray<z.ZodString>;
|
|
34
31
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -52,10 +49,8 @@ declare const getSeveralAudioFeatures: _keystrokehq_core0.Operation<z.ZodObject<
|
|
|
52
49
|
uri: z.ZodOptional<z.ZodString>;
|
|
53
50
|
valence: z.ZodNumber;
|
|
54
51
|
}, z.core.$strip>>>;
|
|
55
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
56
|
-
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
57
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
52
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
58
53
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
59
|
-
}, z.core.$strip>>
|
|
54
|
+
}, z.core.$strip>>], undefined>;
|
|
60
55
|
//#endregion
|
|
61
56
|
export { getAudioFeatures, getSeveralAudioFeatures };
|
package/dist/audio-features.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { spotifyAudioFeaturesSchema, spotifyIdSchema } from "./schemas.mjs";
|
|
2
2
|
import { createSpotifyClient } from "./client.mjs";
|
|
3
|
-
import { t as spotifyOperation } from "./factory-
|
|
3
|
+
import { t as spotifyOperation } from "./factory-DMprpzS1.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/audio-features.ts
|
package/dist/audiobooks.d.mts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
2
1
|
import { z } from "zod";
|
|
3
|
-
import * as
|
|
2
|
+
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
4
3
|
|
|
5
4
|
//#region src/audiobooks.d.ts
|
|
6
5
|
declare const getAudiobook: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
@@ -38,11 +37,9 @@ declare const getAudiobook: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
38
37
|
totalChapters: z.ZodOptional<z.ZodNumber>;
|
|
39
38
|
type: z.ZodLiteral<"audiobook">;
|
|
40
39
|
uri: z.ZodOptional<z.ZodString>;
|
|
41
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
42
|
-
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
43
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
40
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
44
41
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
45
|
-
}, z.core.$strip>>
|
|
42
|
+
}, z.core.$strip>>], undefined>;
|
|
46
43
|
declare const getSeveralAudiobooks: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
47
44
|
ids: z.ZodArray<z.ZodString>;
|
|
48
45
|
market: z.ZodOptional<z.ZodString>;
|
|
@@ -80,11 +77,9 @@ declare const getSeveralAudiobooks: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
80
77
|
type: z.ZodLiteral<"audiobook">;
|
|
81
78
|
uri: z.ZodOptional<z.ZodString>;
|
|
82
79
|
}, z.core.$strip>>;
|
|
83
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
80
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
84
81
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
85
|
-
}, z.core.$strip
|
|
86
|
-
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
87
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
82
|
+
}, z.core.$strip>>], undefined>;
|
|
88
83
|
declare const getAudiobookChapters: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
89
84
|
id: z.ZodString;
|
|
90
85
|
market: z.ZodOptional<z.ZodString>;
|
|
@@ -167,10 +162,8 @@ declare const getAudiobookChapters: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
167
162
|
offset: z.ZodNumber;
|
|
168
163
|
previousPageToken: z.ZodOptional<z.ZodString>;
|
|
169
164
|
total: z.ZodOptional<z.ZodNumber>;
|
|
170
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
171
|
-
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
172
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
165
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
173
166
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
174
|
-
}, z.core.$strip>>
|
|
167
|
+
}, z.core.$strip>>], undefined>;
|
|
175
168
|
//#endregion
|
|
176
169
|
export { getAudiobook, getAudiobookChapters, getSeveralAudiobooks };
|
package/dist/audiobooks.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { spotifyAudiobookSchema, spotifyChapterPageSchema, spotifyIdSchema, spotifyMarketSchema } from "./schemas.mjs";
|
|
2
2
|
import { createSpotifyClient } from "./client.mjs";
|
|
3
|
-
import { t as spotifyOperation } from "./factory-
|
|
3
|
+
import { t as spotifyOperation } from "./factory-DMprpzS1.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/audiobooks.ts
|
package/dist/browse.d.mts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
2
1
|
import { z } from "zod";
|
|
3
|
-
import * as
|
|
2
|
+
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
4
3
|
|
|
5
4
|
//#region src/browse.d.ts
|
|
6
5
|
declare const getFeaturedPlaylists: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
@@ -65,10 +64,8 @@ declare const getFeaturedPlaylists: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
65
64
|
offset: z.ZodNumber;
|
|
66
65
|
previousPageToken: z.ZodOptional<z.ZodString>;
|
|
67
66
|
total: z.ZodOptional<z.ZodNumber>;
|
|
68
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
69
|
-
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
70
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
67
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
71
68
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
72
|
-
}, z.core.$strip>>
|
|
69
|
+
}, z.core.$strip>>], undefined>;
|
|
73
70
|
//#endregion
|
|
74
71
|
export { getFeaturedPlaylists };
|
package/dist/browse.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { spotifyMarketSchema, spotifyPlaylistPageSchema, spotifyTimestampSchema } from "./schemas.mjs";
|
|
2
2
|
import { createSpotifyClient } from "./client.mjs";
|
|
3
|
-
import { t as spotifyOperation } from "./factory-
|
|
3
|
+
import { t as spotifyOperation } from "./factory-DMprpzS1.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/browse.ts
|
package/dist/categories.d.mts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
2
1
|
import { z } from "zod";
|
|
3
|
-
import * as
|
|
2
|
+
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
4
3
|
|
|
5
4
|
//#region src/categories.d.ts
|
|
6
5
|
declare const getBrowseCategories: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
@@ -25,11 +24,9 @@ declare const getBrowseCategories: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
25
24
|
offset: z.ZodNumber;
|
|
26
25
|
previousPageToken: z.ZodOptional<z.ZodString>;
|
|
27
26
|
total: z.ZodOptional<z.ZodNumber>;
|
|
28
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
29
|
-
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
30
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
27
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
31
28
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
32
|
-
}, z.core.$strip>>
|
|
29
|
+
}, z.core.$strip>>], undefined>;
|
|
33
30
|
declare const getBrowseCategory: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
34
31
|
id: z.ZodString;
|
|
35
32
|
country: z.ZodOptional<z.ZodString>;
|
|
@@ -43,11 +40,9 @@ declare const getBrowseCategory: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
43
40
|
}, z.core.$strip>>;
|
|
44
41
|
id: z.ZodString;
|
|
45
42
|
name: z.ZodString;
|
|
46
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
43
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
47
44
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
48
|
-
}, z.core.$strip
|
|
49
|
-
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
50
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
45
|
+
}, z.core.$strip>>], undefined>;
|
|
51
46
|
declare const getCategoryPlaylists: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
52
47
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
53
48
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
@@ -109,10 +104,8 @@ declare const getCategoryPlaylists: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
109
104
|
offset: z.ZodNumber;
|
|
110
105
|
previousPageToken: z.ZodOptional<z.ZodString>;
|
|
111
106
|
total: z.ZodOptional<z.ZodNumber>;
|
|
112
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
113
|
-
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
114
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
107
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
115
108
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
116
|
-
}, z.core.$strip>>
|
|
109
|
+
}, z.core.$strip>>], undefined>;
|
|
117
110
|
//#endregion
|
|
118
111
|
export { getBrowseCategories, getBrowseCategory, getCategoryPlaylists };
|
package/dist/categories.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { spotifyCategoryPageSchema, spotifyCategorySchema, spotifyMarketSchema, spotifyPlaylistPageSchema } from "./schemas.mjs";
|
|
2
2
|
import { createSpotifyClient } from "./client.mjs";
|
|
3
|
-
import { t as spotifyOperation } from "./factory-
|
|
3
|
+
import { t as spotifyOperation } from "./factory-DMprpzS1.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/categories.ts
|
package/dist/chapters.d.mts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
2
1
|
import { z } from "zod";
|
|
3
|
-
import * as
|
|
2
|
+
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
4
3
|
|
|
5
4
|
//#region src/chapters.d.ts
|
|
6
5
|
declare const getChapter: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
@@ -75,11 +74,9 @@ declare const getChapter: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
75
74
|
}, z.core.$strip>>;
|
|
76
75
|
type: z.ZodLiteral<"chapter">;
|
|
77
76
|
uri: z.ZodOptional<z.ZodString>;
|
|
78
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
77
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
79
78
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
80
|
-
}, z.core.$strip
|
|
81
|
-
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
82
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
79
|
+
}, z.core.$strip>>], undefined>;
|
|
83
80
|
declare const getSeveralChapters: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
84
81
|
ids: z.ZodArray<z.ZodString>;
|
|
85
82
|
market: z.ZodOptional<z.ZodString>;
|
|
@@ -154,10 +151,8 @@ declare const getSeveralChapters: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
154
151
|
type: z.ZodLiteral<"chapter">;
|
|
155
152
|
uri: z.ZodOptional<z.ZodString>;
|
|
156
153
|
}, z.core.$strip>>;
|
|
157
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
158
|
-
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
159
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
154
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
160
155
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
161
|
-
}, z.core.$strip>>
|
|
156
|
+
}, z.core.$strip>>], undefined>;
|
|
162
157
|
//#endregion
|
|
163
158
|
export { getChapter, getSeveralChapters };
|
package/dist/chapters.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { spotifyChapterSchema, spotifyIdSchema, spotifyMarketSchema } from "./schemas.mjs";
|
|
2
2
|
import { createSpotifyClient } from "./client.mjs";
|
|
3
|
-
import { t as spotifyOperation } from "./factory-
|
|
3
|
+
import { t as spotifyOperation } from "./factory-DMprpzS1.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/chapters.ts
|