@keystrokehq/spotify 0.0.8 → 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 +2 -6
- package/dist/_official/index.mjs +1 -1
- package/dist/albums.d.mts +4 -13
- package/dist/albums.mjs +1 -1
- package/dist/artists.d.mts +5 -16
- package/dist/artists.mjs +1 -1
- package/dist/audio-analysis.d.mts +1 -4
- package/dist/audio-analysis.mjs +1 -1
- package/dist/audio-features.d.mts +2 -7
- package/dist/audio-features.mjs +1 -1
- package/dist/audiobooks.d.mts +3 -10
- package/dist/audiobooks.mjs +1 -1
- package/dist/browse.d.mts +1 -4
- package/dist/browse.mjs +1 -1
- package/dist/categories.d.mts +3 -10
- package/dist/categories.mjs +1 -1
- package/dist/chapters.d.mts +2 -7
- package/dist/chapters.mjs +1 -1
- package/dist/client.d.mts +1 -1
- package/dist/connection.d.mts +1 -1
- package/dist/connection.mjs +1 -1
- package/dist/episodes.d.mts +2 -7
- package/dist/episodes.mjs +1 -1
- package/dist/{factory-C3uQLYXY.mjs → factory-DMprpzS1.mjs} +1 -1
- package/dist/follow.d.mts +4 -13
- package/dist/follow.mjs +1 -1
- package/dist/genres.d.mts +1 -4
- package/dist/genres.mjs +1 -1
- package/dist/{integration-Dzf1u4u-.d.mts → integration-B5oEi2sg.d.mts} +2 -16
- package/dist/{integration-BK1PIn1V.mjs → integration-D9ABjTOP.mjs} +3 -30
- package/dist/library.d.mts +20 -61
- package/dist/library.mjs +1 -1
- package/dist/markets.d.mts +1 -4
- package/dist/markets.mjs +1 -1
- package/dist/me.d.mts +3 -10
- package/dist/me.mjs +1 -1
- package/dist/player.d.mts +15 -46
- package/dist/player.mjs +1 -1
- package/dist/playlists.d.mts +14 -43
- package/dist/playlists.mjs +1 -1
- package/dist/recommendations.d.mts +1 -4
- package/dist/recommendations.mjs +1 -1
- package/dist/search.d.mts +1 -4
- package/dist/search.mjs +1 -1
- package/dist/shows.d.mts +3 -10
- package/dist/shows.mjs +1 -1
- package/dist/tracks.d.mts +2 -7
- package/dist/tracks.mjs +1 -1
- package/dist/triggers.d.mts +1 -1
- package/dist/triggers.mjs +1 -1
- package/dist/users.d.mts +1 -4
- package/dist/users.mjs +1 -1
- package/package.json +4 -4
|
@@ -1,16 +1,12 @@
|
|
|
1
|
-
import { i as spotifyOfficialIntegration, r as spotifyBundle } from "../integration-
|
|
1
|
+
import { i as spotifyOfficialIntegration, r as spotifyBundle } from "../integration-B5oEi2sg.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
import { CredentialSet } from "@keystrokehq/core";
|
|
4
|
-
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
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
1
|
import { z } from "zod";
|
|
2
2
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
3
|
-
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
4
3
|
|
|
5
4
|
//#region src/albums.d.ts
|
|
6
5
|
declare const getAlbum: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
@@ -55,9 +54,7 @@ declare const getAlbum: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
55
54
|
}, z.core.$strip>>;
|
|
56
55
|
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
57
56
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
58
|
-
}, z.core.$strip
|
|
59
|
-
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
60
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
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>;
|
|
@@ -147,9 +144,7 @@ declare const getAlbumTracks: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
147
144
|
total: z.ZodOptional<z.ZodNumber>;
|
|
148
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>;
|
|
@@ -204,9 +199,7 @@ declare const getSeveralAlbums: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
204
199
|
}, z.core.$strip>>;
|
|
205
200
|
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
206
201
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
207
|
-
}, z.core.$strip
|
|
208
|
-
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
209
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
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>;
|
|
@@ -258,8 +251,6 @@ declare const getNewReleases: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
258
251
|
total: z.ZodOptional<z.ZodNumber>;
|
|
259
252
|
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
260
253
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
261
|
-
}, z.core.$strip
|
|
262
|
-
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
263
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
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
1
|
import { z } from "zod";
|
|
2
2
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
3
|
-
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
4
3
|
|
|
5
4
|
//#region src/artists.d.ts
|
|
6
5
|
declare const getArtist: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
@@ -27,9 +26,7 @@ declare const getArtist: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
27
26
|
popularity: z.ZodOptional<z.ZodNumber>;
|
|
28
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>;
|
|
@@ -88,9 +85,7 @@ declare const getArtistAlbums: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
88
85
|
total: z.ZodOptional<z.ZodNumber>;
|
|
89
86
|
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
90
87
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
91
|
-
}, z.core.$strip
|
|
92
|
-
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
93
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
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;
|
|
@@ -172,9 +167,7 @@ declare const getArtistTopTracks: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
172
167
|
}, z.core.$strip>>;
|
|
173
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<{
|
|
@@ -201,9 +194,7 @@ declare const getArtistRelatedArtists: _keystrokehq_core0.Operation<z.ZodObject<
|
|
|
201
194
|
}, z.core.$strip>>;
|
|
202
195
|
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
203
196
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
204
|
-
}, z.core.$strip
|
|
205
|
-
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
206
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
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<{
|
|
@@ -230,8 +221,6 @@ declare const getSeveralArtists: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
230
221
|
}, z.core.$strip>>;
|
|
231
222
|
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
232
223
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
233
|
-
}, z.core.$strip
|
|
234
|
-
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
235
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
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
1
|
import { z } from "zod";
|
|
2
2
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
3
|
-
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
4
3
|
|
|
5
4
|
//#region src/audio-analysis.d.ts
|
|
6
5
|
declare const getAudioAnalysis: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
@@ -84,8 +83,6 @@ declare const getAudioAnalysis: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
84
83
|
}, z.core.$strip>>;
|
|
85
84
|
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
86
85
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
87
|
-
}, z.core.$strip
|
|
88
|
-
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
89
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
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
1
|
import { z } from "zod";
|
|
2
2
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
3
|
-
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
4
3
|
|
|
5
4
|
//#region src/audio-features.d.ts
|
|
6
5
|
declare const getAudioFeatures: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
@@ -26,9 +25,7 @@ declare const getAudioFeatures: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
26
25
|
valence: z.ZodNumber;
|
|
27
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<{
|
|
@@ -54,8 +51,6 @@ declare const getSeveralAudioFeatures: _keystrokehq_core0.Operation<z.ZodObject<
|
|
|
54
51
|
}, z.core.$strip>>>;
|
|
55
52
|
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
56
53
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
57
|
-
}, z.core.$strip
|
|
58
|
-
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
59
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
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
1
|
import { z } from "zod";
|
|
2
2
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
3
|
-
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
4
3
|
|
|
5
4
|
//#region src/audiobooks.d.ts
|
|
6
5
|
declare const getAudiobook: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
@@ -40,9 +39,7 @@ declare const getAudiobook: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
40
39
|
uri: z.ZodOptional<z.ZodString>;
|
|
41
40
|
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
42
41
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
43
|
-
}, z.core.$strip
|
|
44
|
-
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
45
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
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>;
|
|
@@ -82,9 +79,7 @@ declare const getSeveralAudiobooks: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
82
79
|
}, z.core.$strip>>;
|
|
83
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>;
|
|
@@ -169,8 +164,6 @@ declare const getAudiobookChapters: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
169
164
|
total: z.ZodOptional<z.ZodNumber>;
|
|
170
165
|
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
171
166
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
172
|
-
}, z.core.$strip
|
|
173
|
-
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
174
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
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
1
|
import { z } from "zod";
|
|
2
2
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
3
|
-
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
4
3
|
|
|
5
4
|
//#region src/browse.d.ts
|
|
6
5
|
declare const getFeaturedPlaylists: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
@@ -67,8 +66,6 @@ declare const getFeaturedPlaylists: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
67
66
|
total: z.ZodOptional<z.ZodNumber>;
|
|
68
67
|
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
69
68
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
70
|
-
}, z.core.$strip
|
|
71
|
-
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
72
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
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
1
|
import { z } from "zod";
|
|
2
2
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
3
|
-
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
4
3
|
|
|
5
4
|
//#region src/categories.d.ts
|
|
6
5
|
declare const getBrowseCategories: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
@@ -27,9 +26,7 @@ declare const getBrowseCategories: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
27
26
|
total: z.ZodOptional<z.ZodNumber>;
|
|
28
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 getBrowseCategory: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
34
31
|
id: z.ZodString;
|
|
35
32
|
country: z.ZodOptional<z.ZodString>;
|
|
@@ -45,9 +42,7 @@ declare const getBrowseCategory: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
45
42
|
name: z.ZodString;
|
|
46
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>;
|
|
@@ -111,8 +106,6 @@ declare const getCategoryPlaylists: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
111
106
|
total: z.ZodOptional<z.ZodNumber>;
|
|
112
107
|
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
113
108
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
114
|
-
}, z.core.$strip
|
|
115
|
-
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
116
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
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
1
|
import { z } from "zod";
|
|
2
2
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
3
|
-
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
4
3
|
|
|
5
4
|
//#region src/chapters.d.ts
|
|
6
5
|
declare const getChapter: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
@@ -77,9 +76,7 @@ declare const getChapter: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
77
76
|
uri: z.ZodOptional<z.ZodString>;
|
|
78
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>;
|
|
@@ -156,8 +153,6 @@ declare const getSeveralChapters: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
156
153
|
}, z.core.$strip>>;
|
|
157
154
|
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
158
155
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
159
|
-
}, z.core.$strip
|
|
160
|
-
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
161
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
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
|
package/dist/client.d.mts
CHANGED
package/dist/connection.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as spotifyOfficialIntegration, n as spotify, t as SpotifyCredentials } from "./integration-
|
|
1
|
+
import { i as spotifyOfficialIntegration, n as spotify, t as SpotifyCredentials } from "./integration-B5oEi2sg.mjs";
|
|
2
2
|
export { type SpotifyCredentials, spotify, spotifyOfficialIntegration };
|
package/dist/connection.mjs
CHANGED
package/dist/episodes.d.mts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
3
|
-
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
4
3
|
|
|
5
4
|
//#region src/episodes.d.ts
|
|
6
5
|
declare const getEpisode: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
@@ -70,9 +69,7 @@ declare const getEpisode: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
70
69
|
uri: z.ZodOptional<z.ZodString>;
|
|
71
70
|
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
72
71
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
73
|
-
}, z.core.$strip
|
|
74
|
-
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
75
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
72
|
+
}, z.core.$strip>>], undefined>;
|
|
76
73
|
declare const getSeveralEpisodes: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
77
74
|
ids: z.ZodArray<z.ZodString>;
|
|
78
75
|
market: z.ZodOptional<z.ZodString>;
|
|
@@ -142,8 +139,6 @@ declare const getSeveralEpisodes: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
142
139
|
}, z.core.$strip>>;
|
|
143
140
|
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
144
141
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
145
|
-
}, z.core.$strip
|
|
146
|
-
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
147
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
142
|
+
}, z.core.$strip>>], undefined>;
|
|
148
143
|
//#endregion
|
|
149
144
|
export { getEpisode, getSeveralEpisodes };
|
package/dist/episodes.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { spotifyEpisodeSchema, 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/episodes.ts
|
package/dist/follow.d.mts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
3
|
-
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
4
3
|
|
|
5
4
|
//#region src/follow.d.ts
|
|
6
5
|
declare const getFollowedArtists: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
@@ -39,9 +38,7 @@ declare const getFollowedArtists: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
39
38
|
}, z.core.$strip>>;
|
|
40
39
|
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
41
40
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
42
|
-
}, z.core.$strip
|
|
43
|
-
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
44
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
41
|
+
}, z.core.$strip>>], undefined>;
|
|
45
42
|
declare const followArtistsOrUsers: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
46
43
|
type: z.ZodEnum<{
|
|
47
44
|
artist: "artist";
|
|
@@ -52,9 +49,7 @@ declare const followArtistsOrUsers: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
52
49
|
success: z.ZodLiteral<true>;
|
|
53
50
|
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
54
51
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
55
|
-
}, z.core.$strip
|
|
56
|
-
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
57
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
52
|
+
}, z.core.$strip>>], undefined>;
|
|
58
53
|
declare const unfollowArtistsOrUsers: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
59
54
|
type: z.ZodEnum<{
|
|
60
55
|
artist: "artist";
|
|
@@ -65,9 +60,7 @@ declare const unfollowArtistsOrUsers: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
65
60
|
success: z.ZodLiteral<true>;
|
|
66
61
|
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
67
62
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
68
|
-
}, z.core.$strip
|
|
69
|
-
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
70
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
63
|
+
}, z.core.$strip>>], undefined>;
|
|
71
64
|
declare const checkFollowingArtistsOrUsers: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
72
65
|
type: z.ZodEnum<{
|
|
73
66
|
artist: "artist";
|
|
@@ -76,8 +69,6 @@ declare const checkFollowingArtistsOrUsers: _keystrokehq_core0.Operation<z.ZodOb
|
|
|
76
69
|
ids: z.ZodArray<z.ZodString>;
|
|
77
70
|
}, z.core.$strip>, z.ZodArray<z.ZodBoolean>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
78
71
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
79
|
-
}, z.core.$strip
|
|
80
|
-
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
81
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
72
|
+
}, z.core.$strip>>], undefined>;
|
|
82
73
|
//#endregion
|
|
83
74
|
export { checkFollowingArtistsOrUsers, followArtistsOrUsers, getFollowedArtists, unfollowArtistsOrUsers };
|
package/dist/follow.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createSpotifyCursorPageSchema, spotifyArtistSchema, spotifyBooleanListSchema, spotifyIdSchema, spotifyMutationSuccessSchema } 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/follow.ts
|
package/dist/genres.d.mts
CHANGED
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
3
|
-
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
4
3
|
|
|
5
4
|
//#region src/genres.d.ts
|
|
6
5
|
declare const getAvailableGenreSeeds: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
|
|
7
6
|
genres: z.ZodArray<z.ZodString>;
|
|
8
7
|
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
9
8
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
10
|
-
}, z.core.$strip
|
|
11
|
-
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
12
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
9
|
+
}, z.core.$strip>>], undefined>;
|
|
13
10
|
//#endregion
|
|
14
11
|
export { getAvailableGenreSeeds };
|
package/dist/genres.mjs
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import * as _keystrokehq_integration_authoring_official0 from "@keystrokehq/integration-authoring/official";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
4
|
-
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
5
4
|
import { InferCredentialSetAuth } from "@keystrokehq/core/credential-set";
|
|
6
5
|
|
|
7
6
|
//#region src/integration.d.ts
|
|
@@ -9,33 +8,20 @@ declare const spotifyOfficialIntegration: {
|
|
|
9
8
|
id: "spotify";
|
|
10
9
|
name: string;
|
|
11
10
|
description: string;
|
|
11
|
+
credentialType: "oauth";
|
|
12
12
|
proxy: {
|
|
13
13
|
hosts: string[];
|
|
14
14
|
};
|
|
15
15
|
auth: z.ZodObject<{
|
|
16
16
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
17
17
|
}, z.core.$strip>;
|
|
18
|
-
connections: {
|
|
19
|
-
id: string;
|
|
20
|
-
kind: "oauth";
|
|
21
|
-
tokenType: "refreshable";
|
|
22
|
-
authUrl: string;
|
|
23
|
-
tokenUrl: string;
|
|
24
|
-
revokeUrl: null;
|
|
25
|
-
scopes: ("user-read-private" | "user-read-email" | "user-read-recently-played" | "user-top-read" | "user-library-read" | "user-library-modify" | "playlist-read-private" | "playlist-read-collaborative" | "playlist-modify-private" | "playlist-modify-public" | "user-read-currently-playing" | "user-modify-playback-state" | "user-read-playback-state" | "user-follow-read" | "user-follow-modify" | "user-read-playback-position" | "ugc-image-upload")[];
|
|
26
|
-
vault: {
|
|
27
|
-
accessToken: "SPOTIFY_ACCESS_TOKEN";
|
|
28
|
-
};
|
|
29
|
-
}[];
|
|
30
18
|
};
|
|
31
19
|
declare const spotifyBundle: _keystrokehq_integration_authoring_official0.OfficialIntegrationBundle<"spotify", z.ZodObject<{
|
|
32
20
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
33
21
|
}, z.core.$strip>>;
|
|
34
22
|
declare const spotify: _keystrokehq_core0.CredentialSet<"keystroke:spotify", z.ZodObject<{
|
|
35
23
|
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
36
|
-
}, z.core.$strip
|
|
37
|
-
SPOTIFY_ACCESS_TOKEN: z.ZodString;
|
|
38
|
-
}, z.core.$strip>>[] | undefined>;
|
|
24
|
+
}, z.core.$strip>>;
|
|
39
25
|
type SpotifyCredentials = InferCredentialSetAuth<typeof spotify>;
|
|
40
26
|
//#endregion
|
|
41
27
|
export { spotifyOfficialIntegration as i, spotify as n, spotifyBundle as r, SpotifyCredentials as t };
|
|
@@ -5,6 +5,7 @@ import { CredentialSet } from "@keystrokehq/core";
|
|
|
5
5
|
//#region src/_official/provider-app.ts
|
|
6
6
|
const spotifyAppCredentialSet = new CredentialSet({
|
|
7
7
|
id: officialCredentialSetId("spotify-app"),
|
|
8
|
+
credentialType: "manual",
|
|
8
9
|
exposure: "platform-only",
|
|
9
10
|
name: "Spotify App",
|
|
10
11
|
auth: z.object({
|
|
@@ -32,41 +33,13 @@ const spotifyOfficialProviderSeed = {
|
|
|
32
33
|
//#endregion
|
|
33
34
|
//#region src/integration.ts
|
|
34
35
|
const spotifyAuthSchema = z.object({ SPOTIFY_ACCESS_TOKEN: z.string().min(1) });
|
|
35
|
-
const spotifyScopes = [
|
|
36
|
-
"user-read-private",
|
|
37
|
-
"user-read-email",
|
|
38
|
-
"user-read-recently-played",
|
|
39
|
-
"user-top-read",
|
|
40
|
-
"user-library-read",
|
|
41
|
-
"user-library-modify",
|
|
42
|
-
"playlist-read-private",
|
|
43
|
-
"playlist-read-collaborative",
|
|
44
|
-
"playlist-modify-private",
|
|
45
|
-
"playlist-modify-public",
|
|
46
|
-
"user-read-currently-playing",
|
|
47
|
-
"user-modify-playback-state",
|
|
48
|
-
"user-read-playback-state",
|
|
49
|
-
"user-follow-read",
|
|
50
|
-
"user-follow-modify",
|
|
51
|
-
"user-read-playback-position",
|
|
52
|
-
"ugc-image-upload"
|
|
53
|
-
];
|
|
54
36
|
const spotifyOfficialIntegration = {
|
|
55
37
|
id: "spotify",
|
|
56
38
|
name: "Spotify",
|
|
57
39
|
description: "Spotify playback, catalog, playlists, library, and polling triggers for Keystroke workflows",
|
|
40
|
+
credentialType: "oauth",
|
|
58
41
|
proxy: { hosts: ["api.spotify.com", "accounts.spotify.com"] },
|
|
59
|
-
auth: spotifyAuthSchema
|
|
60
|
-
connections: [{
|
|
61
|
-
id: "oauth",
|
|
62
|
-
kind: "oauth",
|
|
63
|
-
tokenType: "refreshable",
|
|
64
|
-
authUrl: "https://accounts.spotify.com/authorize",
|
|
65
|
-
tokenUrl: "https://accounts.spotify.com/api/token",
|
|
66
|
-
revokeUrl: null,
|
|
67
|
-
scopes: [...spotifyScopes],
|
|
68
|
-
vault: { accessToken: "SPOTIFY_ACCESS_TOKEN" }
|
|
69
|
-
}]
|
|
42
|
+
auth: spotifyAuthSchema
|
|
70
43
|
};
|
|
71
44
|
const spotifyBundle = defineOfficialIntegration({
|
|
72
45
|
...spotifyOfficialIntegration,
|