@keystrokehq/spotify 0.0.1 → 0.0.4
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 +2 -2
- package/dist/_official/index.mjs +1 -1
- package/dist/albums.d.mts +4 -4
- package/dist/albums.mjs +1 -1
- package/dist/artists.d.mts +5 -5
- package/dist/artists.mjs +1 -1
- package/dist/audio-analysis.d.mts +1 -1
- package/dist/audio-analysis.mjs +1 -1
- package/dist/audio-features.d.mts +2 -2
- package/dist/audio-features.mjs +1 -1
- package/dist/audiobooks.d.mts +3 -3
- package/dist/audiobooks.mjs +1 -1
- package/dist/browse.d.mts +1 -1
- package/dist/browse.mjs +1 -1
- package/dist/categories.d.mts +3 -3
- package/dist/categories.mjs +1 -1
- package/dist/chapters.d.mts +2 -2
- 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 +2 -2
- package/dist/episodes.mjs +1 -1
- package/dist/events.d.mts +2 -2
- package/dist/{factory-tZba6Hij.mjs → factory-CunabgAr.mjs} +1 -1
- package/dist/follow.d.mts +4 -4
- package/dist/follow.mjs +1 -1
- package/dist/genres.d.mts +1 -1
- package/dist/genres.mjs +1 -1
- package/dist/{integration-ykoImsCq.mjs → integration-C5PGWTYs.mjs} +2 -2
- package/dist/{integration-DQ5Egd4f.d.mts → integration-Dzf1u4u-.d.mts} +1 -1
- package/dist/library.d.mts +20 -20
- package/dist/library.mjs +1 -1
- package/dist/markets.d.mts +1 -1
- package/dist/markets.mjs +1 -1
- package/dist/me.d.mts +3 -3
- package/dist/me.mjs +1 -1
- package/dist/player.d.mts +17 -17
- package/dist/player.mjs +1 -1
- package/dist/playlists.d.mts +14 -14
- package/dist/playlists.mjs +1 -1
- package/dist/recommendations.d.mts +1 -1
- package/dist/recommendations.mjs +1 -1
- package/dist/schemas.d.mts +1 -1
- package/dist/search.d.mts +4 -4
- package/dist/search.mjs +1 -1
- package/dist/shows.d.mts +3 -3
- package/dist/shows.mjs +1 -1
- package/dist/tracks.d.mts +2 -2
- package/dist/tracks.mjs +1 -1
- package/dist/triggers.d.mts +3 -3
- package/dist/triggers.mjs +31 -46
- package/dist/users.d.mts +1 -1
- package/dist/users.mjs +1 -1
- package/package.json +18 -19
package/dist/library.d.mts
CHANGED
|
@@ -65,7 +65,7 @@ declare const listSavedAlbums: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
65
65
|
offset: z.ZodNumber;
|
|
66
66
|
previousPageToken: z.ZodOptional<z.ZodString>;
|
|
67
67
|
total: z.ZodOptional<z.ZodNumber>;
|
|
68
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
68
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
69
69
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
70
70
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
71
71
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
@@ -74,7 +74,7 @@ declare const saveAlbums: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
74
74
|
ids: z.ZodArray<z.ZodString>;
|
|
75
75
|
}, z.core.$strip>, z.ZodObject<{
|
|
76
76
|
success: z.ZodLiteral<true>;
|
|
77
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
77
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
78
78
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
79
79
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
80
80
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
@@ -83,14 +83,14 @@ declare const removeSavedAlbums: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
83
83
|
ids: z.ZodArray<z.ZodString>;
|
|
84
84
|
}, z.core.$strip>, z.ZodObject<{
|
|
85
85
|
success: z.ZodLiteral<true>;
|
|
86
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
86
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
87
87
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
88
88
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
89
89
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
90
90
|
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
91
91
|
declare const checkSavedAlbums: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
92
92
|
ids: z.ZodArray<z.ZodString>;
|
|
93
|
-
}, z.core.$strip>, z.ZodArray<z.ZodBoolean>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
93
|
+
}, z.core.$strip>, z.ZodArray<z.ZodBoolean>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
94
94
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
95
95
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
96
96
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
@@ -184,7 +184,7 @@ declare const listSavedTracks: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
184
184
|
offset: z.ZodNumber;
|
|
185
185
|
previousPageToken: z.ZodOptional<z.ZodString>;
|
|
186
186
|
total: z.ZodOptional<z.ZodNumber>;
|
|
187
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
187
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
188
188
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
189
189
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
190
190
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
@@ -193,7 +193,7 @@ declare const saveTracks: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
193
193
|
ids: z.ZodArray<z.ZodString>;
|
|
194
194
|
}, z.core.$strip>, z.ZodObject<{
|
|
195
195
|
success: z.ZodLiteral<true>;
|
|
196
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
196
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
197
197
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
198
198
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
199
199
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
@@ -202,14 +202,14 @@ declare const removeSavedTracks: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
202
202
|
ids: z.ZodArray<z.ZodString>;
|
|
203
203
|
}, z.core.$strip>, z.ZodObject<{
|
|
204
204
|
success: z.ZodLiteral<true>;
|
|
205
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
205
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
206
206
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
207
207
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
208
208
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
209
209
|
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
210
210
|
declare const checkSavedTracks: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
211
211
|
ids: z.ZodArray<z.ZodString>;
|
|
212
|
-
}, z.core.$strip>, z.ZodArray<z.ZodBoolean>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
212
|
+
}, z.core.$strip>, z.ZodArray<z.ZodBoolean>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
213
213
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
214
214
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
215
215
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
@@ -255,7 +255,7 @@ declare const listSavedShows: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
255
255
|
offset: z.ZodNumber;
|
|
256
256
|
previousPageToken: z.ZodOptional<z.ZodString>;
|
|
257
257
|
total: z.ZodOptional<z.ZodNumber>;
|
|
258
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
258
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
259
259
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
260
260
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
261
261
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
@@ -264,7 +264,7 @@ declare const saveShows: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
264
264
|
ids: z.ZodArray<z.ZodString>;
|
|
265
265
|
}, z.core.$strip>, z.ZodObject<{
|
|
266
266
|
success: z.ZodLiteral<true>;
|
|
267
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
267
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
268
268
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
269
269
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
270
270
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
@@ -273,14 +273,14 @@ declare const removeSavedShows: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
273
273
|
ids: z.ZodArray<z.ZodString>;
|
|
274
274
|
}, z.core.$strip>, z.ZodObject<{
|
|
275
275
|
success: z.ZodLiteral<true>;
|
|
276
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
276
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
277
277
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
278
278
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
279
279
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
280
280
|
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
281
281
|
declare const checkSavedShows: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
282
282
|
ids: z.ZodArray<z.ZodString>;
|
|
283
|
-
}, z.core.$strip>, z.ZodArray<z.ZodBoolean>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
283
|
+
}, z.core.$strip>, z.ZodArray<z.ZodBoolean>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
284
284
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
285
285
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
286
286
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
@@ -362,7 +362,7 @@ declare const listSavedEpisodes: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
362
362
|
offset: z.ZodNumber;
|
|
363
363
|
previousPageToken: z.ZodOptional<z.ZodString>;
|
|
364
364
|
total: z.ZodOptional<z.ZodNumber>;
|
|
365
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
365
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
366
366
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
367
367
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
368
368
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
@@ -371,7 +371,7 @@ declare const saveEpisodes: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
371
371
|
ids: z.ZodArray<z.ZodString>;
|
|
372
372
|
}, z.core.$strip>, z.ZodObject<{
|
|
373
373
|
success: z.ZodLiteral<true>;
|
|
374
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
374
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
375
375
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
376
376
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
377
377
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
@@ -380,14 +380,14 @@ declare const removeSavedEpisodes: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
380
380
|
ids: z.ZodArray<z.ZodString>;
|
|
381
381
|
}, z.core.$strip>, z.ZodObject<{
|
|
382
382
|
success: z.ZodLiteral<true>;
|
|
383
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
383
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
384
384
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
385
385
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
386
386
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
387
387
|
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
388
388
|
declare const checkSavedEpisodes: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
389
389
|
ids: z.ZodArray<z.ZodString>;
|
|
390
|
-
}, z.core.$strip>, z.ZodArray<z.ZodBoolean>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
390
|
+
}, z.core.$strip>, z.ZodArray<z.ZodBoolean>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
391
391
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
392
392
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
393
393
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
@@ -438,7 +438,7 @@ declare const listSavedAudiobooks: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
438
438
|
offset: z.ZodNumber;
|
|
439
439
|
previousPageToken: z.ZodOptional<z.ZodString>;
|
|
440
440
|
total: z.ZodOptional<z.ZodNumber>;
|
|
441
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
441
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
442
442
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
443
443
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
444
444
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
@@ -447,7 +447,7 @@ declare const saveAudiobooks: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
447
447
|
ids: z.ZodArray<z.ZodString>;
|
|
448
448
|
}, z.core.$strip>, z.ZodObject<{
|
|
449
449
|
success: z.ZodLiteral<true>;
|
|
450
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
450
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
451
451
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
452
452
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
453
453
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
@@ -456,14 +456,14 @@ declare const removeSavedAudiobooks: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
456
456
|
ids: z.ZodArray<z.ZodString>;
|
|
457
457
|
}, z.core.$strip>, z.ZodObject<{
|
|
458
458
|
success: z.ZodLiteral<true>;
|
|
459
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
459
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
460
460
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
461
461
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
462
462
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
463
463
|
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
464
464
|
declare const checkSavedAudiobooks: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
465
465
|
ids: z.ZodArray<z.ZodString>;
|
|
466
|
-
}, z.core.$strip>, z.ZodArray<z.ZodBoolean>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
466
|
+
}, z.core.$strip>, z.ZodArray<z.ZodBoolean>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
467
467
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
468
468
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
469
469
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
package/dist/library.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { spotifyBooleanListSchema, spotifyIdSchema, spotifyMarketSchema, spotifyMutationSuccessSchema, spotifySavedAlbumPageSchema, spotifySavedAudiobookPageSchema, spotifySavedEpisodePageSchema, spotifySavedShowPageSchema, spotifySavedTrackPageSchema } from "./schemas.mjs";
|
|
2
2
|
import { createSpotifyClient } from "./client.mjs";
|
|
3
|
-
import { t as spotifyOperation } from "./factory-
|
|
3
|
+
import { t as spotifyOperation } from "./factory-CunabgAr.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/library.ts
|
package/dist/markets.d.mts
CHANGED
|
@@ -5,7 +5,7 @@ import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential
|
|
|
5
5
|
//#region src/markets.d.ts
|
|
6
6
|
declare const getAvailableMarkets: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
|
|
7
7
|
markets: z.ZodArray<z.ZodString>;
|
|
8
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
8
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
9
9
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
10
10
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
11
11
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
package/dist/markets.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { 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-CunabgAr.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/markets.ts
|
package/dist/me.d.mts
CHANGED
|
@@ -24,7 +24,7 @@ declare const getMe: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$strip>
|
|
|
24
24
|
height: z.ZodNullable<z.ZodNumber>;
|
|
25
25
|
width: z.ZodNullable<z.ZodNumber>;
|
|
26
26
|
}, z.core.$strip>>>;
|
|
27
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
27
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
28
28
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
29
29
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
30
30
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
@@ -65,7 +65,7 @@ declare const getMyTopArtists: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
65
65
|
offset: z.ZodNumber;
|
|
66
66
|
previousPageToken: z.ZodOptional<z.ZodString>;
|
|
67
67
|
total: z.ZodOptional<z.ZodNumber>;
|
|
68
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
68
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
69
69
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
70
70
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
71
71
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
@@ -160,7 +160,7 @@ declare const getMyTopTracks: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
160
160
|
offset: z.ZodNumber;
|
|
161
161
|
previousPageToken: z.ZodOptional<z.ZodString>;
|
|
162
162
|
total: z.ZodOptional<z.ZodNumber>;
|
|
163
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
163
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
164
164
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
165
165
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
166
166
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
package/dist/me.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { spotifyArtistPageSchema, spotifyTrackPageSchema, spotifyUserSchema } from "./schemas.mjs";
|
|
2
2
|
import { createSpotifyClient } from "./client.mjs";
|
|
3
|
-
import { t as spotifyOperation } from "./factory-
|
|
3
|
+
import { t as spotifyOperation } from "./factory-CunabgAr.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/me.ts
|
package/dist/player.d.mts
CHANGED
|
@@ -171,13 +171,13 @@ declare const getPlaybackState: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
171
171
|
shuffleState: z.ZodBoolean;
|
|
172
172
|
timestamp: z.ZodNumber;
|
|
173
173
|
currentlyPlayingType: z.ZodOptional<z.ZodEnum<{
|
|
174
|
-
unknown: "unknown";
|
|
175
174
|
track: "track";
|
|
175
|
+
unknown: "unknown";
|
|
176
176
|
episode: "episode";
|
|
177
177
|
ad: "ad";
|
|
178
178
|
}>>;
|
|
179
179
|
actions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
180
|
-
}, z.core.$strip>>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
180
|
+
}, z.core.$strip>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
181
181
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
182
182
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
183
183
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
@@ -187,7 +187,7 @@ declare const transferPlayback: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
187
187
|
play: z.ZodOptional<z.ZodBoolean>;
|
|
188
188
|
}, z.core.$strip>, z.ZodObject<{
|
|
189
189
|
success: z.ZodLiteral<true>;
|
|
190
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
190
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
191
191
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
192
192
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
193
193
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
@@ -203,7 +203,7 @@ declare const getAvailableDevices: _keystrokehq_core0.Operation<z.ZodObject<{},
|
|
|
203
203
|
volumePercent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
204
204
|
supportsVolume: z.ZodOptional<z.ZodBoolean>;
|
|
205
205
|
}, z.core.$strip>>;
|
|
206
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
206
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
207
207
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
208
208
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
209
209
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
@@ -380,13 +380,13 @@ declare const getCurrentlyPlaying: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
380
380
|
shuffleState: z.ZodBoolean;
|
|
381
381
|
timestamp: z.ZodNumber;
|
|
382
382
|
currentlyPlayingType: z.ZodOptional<z.ZodEnum<{
|
|
383
|
-
unknown: "unknown";
|
|
384
383
|
track: "track";
|
|
384
|
+
unknown: "unknown";
|
|
385
385
|
episode: "episode";
|
|
386
386
|
ad: "ad";
|
|
387
387
|
}>>;
|
|
388
388
|
actions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
389
|
-
}, z.core.$strip>>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
389
|
+
}, z.core.$strip>>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
390
390
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
391
391
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
392
392
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
@@ -402,7 +402,7 @@ declare const startOrResumePlayback: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
402
402
|
positionMs: z.ZodOptional<z.ZodNumber>;
|
|
403
403
|
}, z.core.$strip>, z.ZodObject<{
|
|
404
404
|
success: z.ZodLiteral<true>;
|
|
405
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
405
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
406
406
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
407
407
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
408
408
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
@@ -411,7 +411,7 @@ declare const pausePlayback: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
411
411
|
deviceId: z.ZodOptional<z.ZodString>;
|
|
412
412
|
}, z.core.$strip>, z.ZodObject<{
|
|
413
413
|
success: z.ZodLiteral<true>;
|
|
414
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
414
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
415
415
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
416
416
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
417
417
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
@@ -420,7 +420,7 @@ declare const skipToNext: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
420
420
|
deviceId: z.ZodOptional<z.ZodString>;
|
|
421
421
|
}, z.core.$strip>, z.ZodObject<{
|
|
422
422
|
success: z.ZodLiteral<true>;
|
|
423
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
423
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
424
424
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
425
425
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
426
426
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
@@ -429,7 +429,7 @@ declare const skipToPrevious: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
429
429
|
deviceId: z.ZodOptional<z.ZodString>;
|
|
430
430
|
}, z.core.$strip>, z.ZodObject<{
|
|
431
431
|
success: z.ZodLiteral<true>;
|
|
432
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
432
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
433
433
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
434
434
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
435
435
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
@@ -439,7 +439,7 @@ declare const seekToPosition: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
439
439
|
positionMs: z.ZodNumber;
|
|
440
440
|
}, z.core.$strip>, z.ZodObject<{
|
|
441
441
|
success: z.ZodLiteral<true>;
|
|
442
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
442
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
443
443
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
444
444
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
445
445
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
@@ -453,7 +453,7 @@ declare const setRepeatMode: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
453
453
|
}>;
|
|
454
454
|
}, z.core.$strip>, z.ZodObject<{
|
|
455
455
|
success: z.ZodLiteral<true>;
|
|
456
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
456
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
457
457
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
458
458
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
459
459
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
@@ -463,7 +463,7 @@ declare const setPlaybackVolume: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
463
463
|
volumePercent: z.ZodNumber;
|
|
464
464
|
}, z.core.$strip>, z.ZodObject<{
|
|
465
465
|
success: z.ZodLiteral<true>;
|
|
466
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
466
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
467
467
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
468
468
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
469
469
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
@@ -473,7 +473,7 @@ declare const setShuffleMode: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
473
473
|
state: z.ZodBoolean;
|
|
474
474
|
}, z.core.$strip>, z.ZodObject<{
|
|
475
475
|
success: z.ZodLiteral<true>;
|
|
476
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
476
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
477
477
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
478
478
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
479
479
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
@@ -578,7 +578,7 @@ declare const getRecentlyPlayed: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
578
578
|
after: z.ZodOptional<z.ZodString>;
|
|
579
579
|
before: z.ZodOptional<z.ZodString>;
|
|
580
580
|
}, z.core.$strip>>;
|
|
581
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
581
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
582
582
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
583
583
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
584
584
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
@@ -588,7 +588,7 @@ declare const addToQueue: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
588
588
|
uri: z.ZodString;
|
|
589
589
|
}, z.core.$strip>, z.ZodObject<{
|
|
590
590
|
success: z.ZodLiteral<true>;
|
|
591
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
591
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
592
592
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
593
593
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
594
594
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
@@ -868,7 +868,7 @@ declare const getQueue: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$str
|
|
|
868
868
|
type: z.ZodLiteral<"episode">;
|
|
869
869
|
uri: z.ZodOptional<z.ZodString>;
|
|
870
870
|
}, z.core.$strip>], "type">>;
|
|
871
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
871
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
872
872
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
873
873
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
874
874
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
package/dist/player.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { spotifyDeviceSchema, spotifyIdSchema, spotifyMarketSchema, spotifyMutationSuccessSchema, spotifyPlaybackStateSchema, spotifyQueueSchema, spotifyRecentlyPlayedPageSchema, spotifyUriSchema } from "./schemas.mjs";
|
|
2
2
|
import { createSpotifyClient } from "./client.mjs";
|
|
3
|
-
import { t as spotifyOperation } from "./factory-
|
|
3
|
+
import { t as spotifyOperation } from "./factory-CunabgAr.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/player.ts
|
package/dist/playlists.d.mts
CHANGED
|
@@ -56,7 +56,7 @@ declare const createPlaylist: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
56
56
|
}, z.core.$strip>>;
|
|
57
57
|
type: z.ZodLiteral<"playlist">;
|
|
58
58
|
uri: z.ZodOptional<z.ZodString>;
|
|
59
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
59
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
60
60
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
61
61
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
62
62
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
@@ -117,7 +117,7 @@ declare const getPlaylist: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
117
117
|
}, z.core.$strip>>;
|
|
118
118
|
type: z.ZodLiteral<"playlist">;
|
|
119
119
|
uri: z.ZodOptional<z.ZodString>;
|
|
120
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
120
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
121
121
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
122
122
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
123
123
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
@@ -130,7 +130,7 @@ declare const updatePlaylistDetails: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
130
130
|
description: z.ZodOptional<z.ZodString>;
|
|
131
131
|
}, z.core.$strip>, z.ZodObject<{
|
|
132
132
|
success: z.ZodLiteral<true>;
|
|
133
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
133
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
134
134
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
135
135
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
136
136
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
@@ -315,7 +315,7 @@ declare const getPlaylistItems: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
315
315
|
offset: z.ZodNumber;
|
|
316
316
|
previousPageToken: z.ZodOptional<z.ZodString>;
|
|
317
317
|
total: z.ZodOptional<z.ZodNumber>;
|
|
318
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
318
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
319
319
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
320
320
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
321
321
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
@@ -328,7 +328,7 @@ declare const getPlaylistCoverImage: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
328
328
|
height: z.ZodNullable<z.ZodNumber>;
|
|
329
329
|
width: z.ZodNullable<z.ZodNumber>;
|
|
330
330
|
}, z.core.$strip>>;
|
|
331
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
331
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
332
332
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
333
333
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
334
334
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
@@ -339,7 +339,7 @@ declare const addItemsToPlaylist: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
339
339
|
position: z.ZodOptional<z.ZodNumber>;
|
|
340
340
|
}, z.core.$strip>, z.ZodObject<{
|
|
341
341
|
snapshotId: z.ZodString;
|
|
342
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
342
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
343
343
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
344
344
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
345
345
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
@@ -357,7 +357,7 @@ declare const reorderOrReplacePlaylistItems: _keystrokehq_core0.Operation<z.ZodD
|
|
|
357
357
|
uris: z.ZodArray<z.ZodString>;
|
|
358
358
|
}, z.core.$strip>], "mode">, z.ZodObject<{
|
|
359
359
|
snapshotId: z.ZodString;
|
|
360
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
360
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
361
361
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
362
362
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
363
363
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
@@ -371,7 +371,7 @@ declare const removeItemsFromPlaylist: _keystrokehq_core0.Operation<z.ZodObject<
|
|
|
371
371
|
snapshotId: z.ZodOptional<z.ZodString>;
|
|
372
372
|
}, z.core.$strip>, z.ZodObject<{
|
|
373
373
|
snapshotId: z.ZodString;
|
|
374
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
374
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
375
375
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
376
376
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
377
377
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
@@ -435,7 +435,7 @@ declare const listMyPlaylists: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
435
435
|
offset: z.ZodNumber;
|
|
436
436
|
previousPageToken: z.ZodOptional<z.ZodString>;
|
|
437
437
|
total: z.ZodOptional<z.ZodNumber>;
|
|
438
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
438
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
439
439
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
440
440
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
441
441
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
@@ -500,7 +500,7 @@ declare const listUserPlaylists: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
500
500
|
offset: z.ZodNumber;
|
|
501
501
|
previousPageToken: z.ZodOptional<z.ZodString>;
|
|
502
502
|
total: z.ZodOptional<z.ZodNumber>;
|
|
503
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
503
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
504
504
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
505
505
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
506
506
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
@@ -510,7 +510,7 @@ declare const followPlaylist: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
510
510
|
public: z.ZodOptional<z.ZodBoolean>;
|
|
511
511
|
}, z.core.$strip>, z.ZodObject<{
|
|
512
512
|
success: z.ZodLiteral<true>;
|
|
513
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
513
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
514
514
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
515
515
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
516
516
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
@@ -519,7 +519,7 @@ declare const unfollowPlaylist: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
519
519
|
playlistId: z.ZodString;
|
|
520
520
|
}, z.core.$strip>, z.ZodObject<{
|
|
521
521
|
success: z.ZodLiteral<true>;
|
|
522
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
522
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
523
523
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
524
524
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
525
525
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
@@ -527,7 +527,7 @@ declare const unfollowPlaylist: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
527
527
|
declare const checkUsersFollowPlaylist: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
528
528
|
playlistId: z.ZodString;
|
|
529
529
|
userIds: z.ZodArray<z.ZodString>;
|
|
530
|
-
}, z.core.$strip>, z.ZodArray<z.ZodBoolean>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
530
|
+
}, z.core.$strip>, z.ZodArray<z.ZodBoolean>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
531
531
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
532
532
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
533
533
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
@@ -537,7 +537,7 @@ declare const uploadPlaylistCoverImage: _keystrokehq_core0.Operation<z.ZodObject
|
|
|
537
537
|
imageBase64: z.ZodString;
|
|
538
538
|
}, z.core.$strip>, z.ZodObject<{
|
|
539
539
|
success: z.ZodLiteral<true>;
|
|
540
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
540
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
541
541
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
542
542
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
543
543
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
package/dist/playlists.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { spotifyBooleanListSchema, spotifyIdSchema, spotifyMarketSchema, spotifyMutationSuccessSchema, spotifyPlaylistImageSchema, spotifyPlaylistItemPageSchema, spotifyPlaylistPageSchema, spotifyPlaylistSchema, spotifySnapshotResponseSchema, spotifyUriSchema } from "./schemas.mjs";
|
|
2
2
|
import { createSpotifyClient } from "./client.mjs";
|
|
3
|
-
import { t as spotifyOperation } from "./factory-
|
|
3
|
+
import { t as spotifyOperation } from "./factory-CunabgAr.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/playlists.ts
|
|
@@ -135,7 +135,7 @@ declare const getRecommendations: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
135
135
|
type: z.ZodLiteral<"track">;
|
|
136
136
|
uri: z.ZodOptional<z.ZodString>;
|
|
137
137
|
}, z.core.$strip>>;
|
|
138
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
138
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
139
139
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
140
140
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
141
141
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
package/dist/recommendations.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { spotifyIdSchema, spotifyMarketSchema, spotifyRecommendationsSchema } from "./schemas.mjs";
|
|
2
2
|
import { createSpotifyClient } from "./client.mjs";
|
|
3
|
-
import { t as spotifyOperation } from "./factory-
|
|
3
|
+
import { t as spotifyOperation } from "./factory-CunabgAr.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/recommendations.ts
|
package/dist/schemas.d.mts
CHANGED
|
@@ -1041,8 +1041,8 @@ declare const spotifyPlaybackStateSchema: z.ZodObject<{
|
|
|
1041
1041
|
shuffleState: z.ZodBoolean;
|
|
1042
1042
|
timestamp: z.ZodNumber;
|
|
1043
1043
|
currentlyPlayingType: z.ZodOptional<z.ZodEnum<{
|
|
1044
|
-
unknown: "unknown";
|
|
1045
1044
|
track: "track";
|
|
1045
|
+
unknown: "unknown";
|
|
1046
1046
|
episode: "episode";
|
|
1047
1047
|
ad: "ad";
|
|
1048
1048
|
}>>;
|
package/dist/search.d.mts
CHANGED
|
@@ -6,13 +6,13 @@ import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential
|
|
|
6
6
|
declare const search: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
7
7
|
query: z.ZodString;
|
|
8
8
|
types: z.ZodArray<z.ZodEnum<{
|
|
9
|
-
show: "show";
|
|
10
9
|
artist: "artist";
|
|
11
10
|
track: "track";
|
|
12
|
-
episode: "episode";
|
|
13
11
|
album: "album";
|
|
14
|
-
|
|
12
|
+
show: "show";
|
|
13
|
+
episode: "episode";
|
|
15
14
|
audiobook: "audiobook";
|
|
15
|
+
playlist: "playlist";
|
|
16
16
|
}>>;
|
|
17
17
|
market: z.ZodOptional<z.ZodString>;
|
|
18
18
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
@@ -380,7 +380,7 @@ declare const search: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
380
380
|
previousPageToken: z.ZodOptional<z.ZodString>;
|
|
381
381
|
total: z.ZodOptional<z.ZodNumber>;
|
|
382
382
|
}, z.core.$strip>>;
|
|
383
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
383
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
384
384
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
385
385
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
386
386
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
package/dist/search.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { spotifyMarketSchema, spotifySearchResultSchema } from "./schemas.mjs";
|
|
2
2
|
import { createSpotifyClient } from "./client.mjs";
|
|
3
|
-
import { t as spotifyOperation } from "./factory-
|
|
3
|
+
import { t as spotifyOperation } from "./factory-CunabgAr.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/search.ts
|
package/dist/shows.d.mts
CHANGED
|
@@ -33,7 +33,7 @@ declare const getShow: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
33
33
|
uri: z.ZodOptional<z.ZodString>;
|
|
34
34
|
htmlDescription: z.ZodOptional<z.ZodString>;
|
|
35
35
|
isExternallyHosted: z.ZodOptional<z.ZodBoolean>;
|
|
36
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
36
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
37
37
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
38
38
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
39
39
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
@@ -70,7 +70,7 @@ declare const getSeveralShows: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
70
70
|
htmlDescription: z.ZodOptional<z.ZodString>;
|
|
71
71
|
isExternallyHosted: z.ZodOptional<z.ZodBoolean>;
|
|
72
72
|
}, z.core.$strip>>;
|
|
73
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
73
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
74
74
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
75
75
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
76
76
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
@@ -150,7 +150,7 @@ declare const getShowEpisodes: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
150
150
|
offset: z.ZodNumber;
|
|
151
151
|
previousPageToken: z.ZodOptional<z.ZodString>;
|
|
152
152
|
total: z.ZodOptional<z.ZodNumber>;
|
|
153
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"spotify", z.ZodObject<{
|
|
153
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
154
154
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
155
155
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
156
156
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
package/dist/shows.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { spotifyEpisodePageSchema, spotifyIdSchema, spotifyMarketSchema, spotifyShowSchema } from "./schemas.mjs";
|
|
2
2
|
import { createSpotifyClient } from "./client.mjs";
|
|
3
|
-
import { t as spotifyOperation } from "./factory-
|
|
3
|
+
import { t as spotifyOperation } from "./factory-CunabgAr.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/shows.ts
|