@cascateer/sterio 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. package/.env +0 -0
  2. package/.github/workflows/publish.yml +11 -0
  3. package/.vscode/settings.json +4 -0
  4. package/build/routes.ts +413 -0
  5. package/build/swagger.json +775 -0
  6. package/openapitools.json +14 -0
  7. package/package.json +56 -0
  8. package/src/Spotify.service.ts +202 -0
  9. package/src/Sterio.service.ts +208 -0
  10. package/src/Youtube.service.ts +112 -0
  11. package/src/YoutubeMusic.service.ts +52 -0
  12. package/src/api/.openapi-generator/FILES +29 -0
  13. package/src/api/.openapi-generator/VERSION +1 -0
  14. package/src/api/.openapi-generator-ignore +23 -0
  15. package/src/api/apis/DefaultApi.ts +154 -0
  16. package/src/api/apis/index.ts +1 -0
  17. package/src/api/index.ts +4 -0
  18. package/src/api/models/GetYoutubeMusicAlbums200ResponseInner.ts +29 -0
  19. package/src/api/models/PartialSterioAlbumResourcesFull.ts +39 -0
  20. package/src/api/models/SpotifyApiAlbumObjectSimplified.ts +152 -0
  21. package/src/api/models/SpotifyApiArtistObjectSimplified.ts +68 -0
  22. package/src/api/models/SpotifyApiExternalUrlObject.ts +25 -0
  23. package/src/api/models/SpotifyApiImageObject.ts +38 -0
  24. package/src/api/models/SpotifyApiRestrictionsObject.ts +24 -0
  25. package/src/api/models/SterioAlbum.ts +39 -0
  26. package/src/api/models/SterioAlbumResource.ts +29 -0
  27. package/src/api/models/SterioAlbumResourcesTable.ts +34 -0
  28. package/src/api/models/SterioAlbumSongs.ts +38 -0
  29. package/src/api/models/SterioAlbumSongsVideoIdsInner.ts +34 -0
  30. package/src/api/models/YoutubePlaylist.ts +38 -0
  31. package/src/api/models/YoutubeV3Schema36PlaylistItem.ts +59 -0
  32. package/src/api/models/YoutubeV3Schema36PlaylistItemContentDetails.ts +49 -0
  33. package/src/api/models/YoutubeV3Schema36PlaylistItemSnippet.ts +89 -0
  34. package/src/api/models/YoutubeV3Schema36PlaylistItemStatus.ts +26 -0
  35. package/src/api/models/YoutubeV3Schema36ResourceId.ts +44 -0
  36. package/src/api/models/YoutubeV3Schema36Thumbnail.ts +38 -0
  37. package/src/api/models/YoutubeV3Schema36ThumbnailDetails.ts +49 -0
  38. package/src/api/models/index.ts +20 -0
  39. package/src/api/runtime.ts +193 -0
  40. package/src/api/servers.ts +45 -0
  41. package/src/api/tsconfig.json +22 -0
  42. package/src/app.ts +58 -0
  43. package/src/config.ts +6 -0
  44. package/src/controller.ts +148 -0
  45. package/src/lib.ts +112 -0
  46. package/src/main.ts +225 -0
  47. package/src/tables.ts +178 -0
  48. package/src/types.ts +113 -0
  49. package/src/views/spotify/auth-callback.ejs +22 -0
  50. package/tables/document-files/82745273-7eda-4169-8b4a-998d2de00ac2.json +5208 -0
  51. package/tables/spotify-albums/5bff8eba-bd2b-4485-8136-1f89da5db6d7.json +1 -0
  52. package/tables/sterio-albums/81d5b327-68b1-4fef-8e40-491c792e8951.json +1 -0
  53. package/tables/stream-files/f6697f37-7320-41df-aa50-b70264fa1bbf.json +3788 -0
  54. package/tables/youtube-music-albums/55fd9bb8-46ba-4d0e-9376-f2f2cbb1aa38.json +1 -0
  55. package/tables/youtube-playlists/e3153ab8-8e1f-491e-995e-3142d07f4ecc.json +1 -0
  56. package/tables/youtube-videos/9067172e-4803-48f1-8b8e-4b942f3ca228.json +1 -0
  57. package/tsconfig.json +16 -0
  58. package/tsoa.json +14 -0
@@ -0,0 +1,23 @@
1
+ # OpenAPI Generator Ignore
2
+ # Generated by openapi-generator https://github.com/openapitools/openapi-generator
3
+
4
+ # Use this file to prevent files from being overwritten by the generator.
5
+ # The patterns follow closely to .gitignore or .dockerignore.
6
+
7
+ # As an example, the C# client generator defines ApiClient.cs.
8
+ # You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
9
+ #ApiClient.cs
10
+
11
+ # You can match any string of characters against a directory, file or extension with a single asterisk (*):
12
+ #foo/*/qux
13
+ # The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
14
+
15
+ # You can recursively match patterns against a directory, file or extension with a double asterisk (**):
16
+ #foo/**/qux
17
+ # This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
18
+
19
+ # You can also negate patterns with an exclamation (!).
20
+ # For example, you can ignore all files in a docs folder with the file extension .md:
21
+ #docs/*.md
22
+ # Then explicitly reverse the ignore rule for a single file:
23
+ #!docs/README.md
@@ -0,0 +1,154 @@
1
+ // tslint:disable
2
+ /**
3
+ * @cascateer/sterio
4
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+ *
6
+ * The version of the OpenAPI document: 1.0.0
7
+ *
8
+ *
9
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10
+ * https://openapi-generator.tech
11
+ * Do not edit the class manually.
12
+ */
13
+
14
+ import type { Observable } from 'rxjs';
15
+ import type { AjaxResponse } from 'rxjs/ajax';
16
+ import { BaseAPI, throwIfNullOrUndefined, encodeURI } from '../runtime';
17
+ import type { OperationOpts, HttpHeaders, HttpQuery } from '../runtime';
18
+ import type {
19
+ GetYoutubeMusicAlbums200ResponseInner,
20
+ SpotifyApiAlbumObjectSimplified,
21
+ SterioAlbum,
22
+ SterioAlbumResourcesTable,
23
+ YoutubePlaylist,
24
+ } from '../models';
25
+
26
+ export interface GetAlbumRequest {
27
+ id: string;
28
+ }
29
+
30
+ export interface GetAlbumResourcesTableRequest {
31
+ id: string;
32
+ }
33
+
34
+ export interface GetSpotifyAlbumsRequest {
35
+ q: string;
36
+ }
37
+
38
+ export interface GetYoutubeMusicAlbumsRequest {
39
+ q: string;
40
+ }
41
+
42
+ export interface GetYoutubePlaylistsRequest {
43
+ ids: string;
44
+ }
45
+
46
+ export interface UpdateAlbumRequest {
47
+ sterioAlbum: SterioAlbum;
48
+ }
49
+
50
+ /**
51
+ * no description
52
+ */
53
+ export class DefaultApi extends BaseAPI {
54
+
55
+ /**
56
+ */
57
+ getAlbum({ id }: GetAlbumRequest): Observable<SterioAlbum>
58
+ getAlbum({ id }: GetAlbumRequest, opts?: OperationOpts): Observable<AjaxResponse<SterioAlbum>>
59
+ getAlbum({ id }: GetAlbumRequest, opts?: OperationOpts): Observable<SterioAlbum | AjaxResponse<SterioAlbum>> {
60
+ throwIfNullOrUndefined(id, 'id', 'getAlbum');
61
+
62
+ return this.request<SterioAlbum>({
63
+ url: '/sterio/album/{id}'.replace('{id}', encodeURI(id)),
64
+ method: 'GET',
65
+ }, opts?.responseOpts);
66
+ };
67
+
68
+ /**
69
+ */
70
+ getAlbumResourcesTable({ id }: GetAlbumResourcesTableRequest): Observable<SterioAlbumResourcesTable>
71
+ getAlbumResourcesTable({ id }: GetAlbumResourcesTableRequest, opts?: OperationOpts): Observable<AjaxResponse<SterioAlbumResourcesTable>>
72
+ getAlbumResourcesTable({ id }: GetAlbumResourcesTableRequest, opts?: OperationOpts): Observable<SterioAlbumResourcesTable | AjaxResponse<SterioAlbumResourcesTable>> {
73
+ throwIfNullOrUndefined(id, 'id', 'getAlbumResourcesTable');
74
+
75
+ return this.request<SterioAlbumResourcesTable>({
76
+ url: '/sterio/album/{id}/resources/table'.replace('{id}', encodeURI(id)),
77
+ method: 'POST',
78
+ }, opts?.responseOpts);
79
+ };
80
+
81
+ /**
82
+ */
83
+ getSpotifyAlbums({ q }: GetSpotifyAlbumsRequest): Observable<Array<SpotifyApiAlbumObjectSimplified>>
84
+ getSpotifyAlbums({ q }: GetSpotifyAlbumsRequest, opts?: OperationOpts): Observable<AjaxResponse<Array<SpotifyApiAlbumObjectSimplified>>>
85
+ getSpotifyAlbums({ q }: GetSpotifyAlbumsRequest, opts?: OperationOpts): Observable<Array<SpotifyApiAlbumObjectSimplified> | AjaxResponse<Array<SpotifyApiAlbumObjectSimplified>>> {
86
+ throwIfNullOrUndefined(q, 'q', 'getSpotifyAlbums');
87
+
88
+ const query: HttpQuery = { // required parameters are used directly since they are already checked by throwIfNullOrUndefined
89
+ 'q': q,
90
+ };
91
+
92
+ return this.request<Array<SpotifyApiAlbumObjectSimplified>>({
93
+ url: '/sterio/spotify/albums',
94
+ method: 'GET',
95
+ query,
96
+ }, opts?.responseOpts);
97
+ };
98
+
99
+ /**
100
+ */
101
+ getYoutubeMusicAlbums({ q }: GetYoutubeMusicAlbumsRequest): Observable<Array<GetYoutubeMusicAlbums200ResponseInner>>
102
+ getYoutubeMusicAlbums({ q }: GetYoutubeMusicAlbumsRequest, opts?: OperationOpts): Observable<AjaxResponse<Array<GetYoutubeMusicAlbums200ResponseInner>>>
103
+ getYoutubeMusicAlbums({ q }: GetYoutubeMusicAlbumsRequest, opts?: OperationOpts): Observable<Array<GetYoutubeMusicAlbums200ResponseInner> | AjaxResponse<Array<GetYoutubeMusicAlbums200ResponseInner>>> {
104
+ throwIfNullOrUndefined(q, 'q', 'getYoutubeMusicAlbums');
105
+
106
+ const query: HttpQuery = { // required parameters are used directly since they are already checked by throwIfNullOrUndefined
107
+ 'q': q,
108
+ };
109
+
110
+ return this.request<Array<GetYoutubeMusicAlbums200ResponseInner>>({
111
+ url: '/sterio/youtube-music/albums',
112
+ method: 'GET',
113
+ query,
114
+ }, opts?.responseOpts);
115
+ };
116
+
117
+ /**
118
+ */
119
+ getYoutubePlaylists({ ids }: GetYoutubePlaylistsRequest): Observable<Array<YoutubePlaylist>>
120
+ getYoutubePlaylists({ ids }: GetYoutubePlaylistsRequest, opts?: OperationOpts): Observable<AjaxResponse<Array<YoutubePlaylist>>>
121
+ getYoutubePlaylists({ ids }: GetYoutubePlaylistsRequest, opts?: OperationOpts): Observable<Array<YoutubePlaylist> | AjaxResponse<Array<YoutubePlaylist>>> {
122
+ throwIfNullOrUndefined(ids, 'ids', 'getYoutubePlaylists');
123
+
124
+ const query: HttpQuery = { // required parameters are used directly since they are already checked by throwIfNullOrUndefined
125
+ 'ids': ids,
126
+ };
127
+
128
+ return this.request<Array<YoutubePlaylist>>({
129
+ url: '/sterio/youtube/playlists',
130
+ method: 'GET',
131
+ query,
132
+ }, opts?.responseOpts);
133
+ };
134
+
135
+ /**
136
+ */
137
+ updateAlbum({ sterioAlbum }: UpdateAlbumRequest): Observable<any>
138
+ updateAlbum({ sterioAlbum }: UpdateAlbumRequest, opts?: OperationOpts): Observable<AjaxResponse<any>>
139
+ updateAlbum({ sterioAlbum }: UpdateAlbumRequest, opts?: OperationOpts): Observable<any | AjaxResponse<any>> {
140
+ throwIfNullOrUndefined(sterioAlbum, 'sterioAlbum', 'updateAlbum');
141
+
142
+ const headers: HttpHeaders = {
143
+ 'Content-Type': 'application/json',
144
+ };
145
+
146
+ return this.request<any>({
147
+ url: '/sterio/album',
148
+ method: 'PATCH',
149
+ headers,
150
+ body: sterioAlbum,
151
+ }, opts?.responseOpts);
152
+ };
153
+
154
+ }
@@ -0,0 +1 @@
1
+ export * from './DefaultApi';
@@ -0,0 +1,4 @@
1
+ export * from './runtime';
2
+ export * from './servers';
3
+ export * from './apis';
4
+ export * from './models';
@@ -0,0 +1,29 @@
1
+ // tslint:disable
2
+ /**
3
+ * @cascateer/sterio
4
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+ *
6
+ * The version of the OpenAPI document: 1.0.0
7
+ *
8
+ *
9
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10
+ * https://openapi-generator.tech
11
+ * Do not edit the class manually.
12
+ */
13
+
14
+ /**
15
+ * @export
16
+ * @interface GetYoutubeMusicAlbums200ResponseInner
17
+ */
18
+ export interface GetYoutubeMusicAlbums200ResponseInner {
19
+ /**
20
+ * @type {string}
21
+ * @memberof GetYoutubeMusicAlbums200ResponseInner
22
+ */
23
+ text: string;
24
+ /**
25
+ * @type {string}
26
+ * @memberof GetYoutubeMusicAlbums200ResponseInner
27
+ */
28
+ albumId: string;
29
+ }
@@ -0,0 +1,39 @@
1
+ // tslint:disable
2
+ /**
3
+ * @cascateer/sterio
4
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+ *
6
+ * The version of the OpenAPI document: 1.0.0
7
+ *
8
+ *
9
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10
+ * https://openapi-generator.tech
11
+ * Do not edit the class manually.
12
+ */
13
+
14
+ import type {
15
+ SterioAlbumResource,
16
+ } from './';
17
+
18
+ /**
19
+ * Make all properties in T optional
20
+ * @export
21
+ * @interface PartialSterioAlbumResourcesFull
22
+ */
23
+ export interface PartialSterioAlbumResourcesFull {
24
+ /**
25
+ * @type {SterioAlbumResource}
26
+ * @memberof PartialSterioAlbumResourcesFull
27
+ */
28
+ youtubeMusic?: SterioAlbumResource;
29
+ /**
30
+ * @type {SterioAlbumResource}
31
+ * @memberof PartialSterioAlbumResourcesFull
32
+ */
33
+ youtube?: SterioAlbumResource;
34
+ /**
35
+ * @type {SterioAlbumResource}
36
+ * @memberof PartialSterioAlbumResourcesFull
37
+ */
38
+ spotify?: SterioAlbumResource;
39
+ }
@@ -0,0 +1,152 @@
1
+ // tslint:disable
2
+ /**
3
+ * @cascateer/sterio
4
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+ *
6
+ * The version of the OpenAPI document: 1.0.0
7
+ *
8
+ *
9
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10
+ * https://openapi-generator.tech
11
+ * Do not edit the class manually.
12
+ */
13
+
14
+ import type {
15
+ SpotifyApiArtistObjectSimplified,
16
+ SpotifyApiExternalUrlObject,
17
+ SpotifyApiImageObject,
18
+ SpotifyApiRestrictionsObject,
19
+ } from './';
20
+
21
+ /**
22
+ * Simplified Album Object [album object (simplified)](https://developer.spotify.com/web-api/object-model/#album-object-simplified)
23
+ * @export
24
+ * @interface SpotifyApiAlbumObjectSimplified
25
+ */
26
+ export interface SpotifyApiAlbumObjectSimplified {
27
+ /**
28
+ * The object type.
29
+ * @type {string}
30
+ * @memberof SpotifyApiAlbumObjectSimplified
31
+ */
32
+ type: SpotifyApiAlbumObjectSimplifiedTypeEnum;
33
+ /**
34
+ * A link to the Web API endpoint providing full details.
35
+ * @type {string}
36
+ * @memberof SpotifyApiAlbumObjectSimplified
37
+ */
38
+ href: string;
39
+ /**
40
+ * @type {SpotifyApiExternalUrlObject}
41
+ * @memberof SpotifyApiAlbumObjectSimplified
42
+ */
43
+ external_urls: SpotifyApiExternalUrlObject;
44
+ /**
45
+ * The [Spotify URI](https://developer.spotify.com/documentation/web-api/#spotify-uris-and-ids).
46
+ * @type {string}
47
+ * @memberof SpotifyApiAlbumObjectSimplified
48
+ */
49
+ uri: string;
50
+ /**
51
+ * The field is present when getting an artist’s albums. Possible values are “album”, “single”, “compilation”, “appears_on”. Compare to album_type this field represents relationship between the artist and the album.
52
+ * @type {string}
53
+ * @memberof SpotifyApiAlbumObjectSimplified
54
+ */
55
+ album_group?: SpotifyApiAlbumObjectSimplifiedAlbumGroupEnum;
56
+ /**
57
+ * The type of the album: one of “album”, “single”, or “compilation”.
58
+ * @type {string}
59
+ * @memberof SpotifyApiAlbumObjectSimplified
60
+ */
61
+ album_type: SpotifyApiAlbumObjectSimplifiedAlbumTypeEnum;
62
+ /**
63
+ * The artists of the album. Each artist object includes a link in href to more detailed information about the artist.
64
+ * @type {Array<SpotifyApiArtistObjectSimplified>}
65
+ * @memberof SpotifyApiAlbumObjectSimplified
66
+ */
67
+ artists: Array<SpotifyApiArtistObjectSimplified>;
68
+ /**
69
+ * The markets in which the album is available: [ISO 3166-1 alpha-2 country codes](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2). Note that an album is considered available in a market when at least 1 of its tracks is available in that market.
70
+ * @type {Array<string>}
71
+ * @memberof SpotifyApiAlbumObjectSimplified
72
+ */
73
+ available_markets?: Array<string>;
74
+ /**
75
+ * The [Spotify ID](https://developer.spotify.com/documentation/web-api/#spotify-uris-and-ids) for the album.
76
+ * @type {string}
77
+ * @memberof SpotifyApiAlbumObjectSimplified
78
+ */
79
+ id: string;
80
+ /**
81
+ * The cover art for the album in various sizes, widest first.
82
+ * @type {Array<SpotifyApiImageObject>}
83
+ * @memberof SpotifyApiAlbumObjectSimplified
84
+ */
85
+ images: Array<SpotifyApiImageObject>;
86
+ /**
87
+ * The name of the album. In case of an album takedown, the value may be an empty string.
88
+ * @type {string}
89
+ * @memberof SpotifyApiAlbumObjectSimplified
90
+ */
91
+ name: string;
92
+ /**
93
+ * The date the album was first released, for example `1981`. Depending on the precision, it might be shown as `1981-12` or `1981-12-15`.
94
+ * @type {string}
95
+ * @memberof SpotifyApiAlbumObjectSimplified
96
+ */
97
+ release_date: string;
98
+ /**
99
+ * The precision with which release_date value is known: `year`, `month`, or `day`.
100
+ * @type {string}
101
+ * @memberof SpotifyApiAlbumObjectSimplified
102
+ */
103
+ release_date_precision: SpotifyApiAlbumObjectSimplifiedReleaseDatePrecisionEnum;
104
+ /**
105
+ * @type {SpotifyApiRestrictionsObject}
106
+ * @memberof SpotifyApiAlbumObjectSimplified
107
+ */
108
+ restrictions?: SpotifyApiRestrictionsObject;
109
+ /**
110
+ * The number of tracks in the album.
111
+ * @type {number}
112
+ * @memberof SpotifyApiAlbumObjectSimplified
113
+ */
114
+ total_tracks: number;
115
+ }
116
+
117
+ /**
118
+ * @export
119
+ * @enum {string}
120
+ */
121
+ export enum SpotifyApiAlbumObjectSimplifiedTypeEnum {
122
+ Album = 'album'
123
+ }
124
+ /**
125
+ * @export
126
+ * @enum {string}
127
+ */
128
+ export enum SpotifyApiAlbumObjectSimplifiedAlbumGroupEnum {
129
+ Album = 'album',
130
+ Single = 'single',
131
+ Compilation = 'compilation',
132
+ AppearsOn = 'appears_on'
133
+ }
134
+ /**
135
+ * @export
136
+ * @enum {string}
137
+ */
138
+ export enum SpotifyApiAlbumObjectSimplifiedAlbumTypeEnum {
139
+ Album = 'album',
140
+ Single = 'single',
141
+ Compilation = 'compilation'
142
+ }
143
+ /**
144
+ * @export
145
+ * @enum {string}
146
+ */
147
+ export enum SpotifyApiAlbumObjectSimplifiedReleaseDatePrecisionEnum {
148
+ Year = 'year',
149
+ Month = 'month',
150
+ Day = 'day'
151
+ }
152
+
@@ -0,0 +1,68 @@
1
+ // tslint:disable
2
+ /**
3
+ * @cascateer/sterio
4
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+ *
6
+ * The version of the OpenAPI document: 1.0.0
7
+ *
8
+ *
9
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10
+ * https://openapi-generator.tech
11
+ * Do not edit the class manually.
12
+ */
13
+
14
+ import type {
15
+ SpotifyApiExternalUrlObject,
16
+ } from './';
17
+
18
+ /**
19
+ * Simplified Artist Object [artist object (simplified)](https://developer.spotify.com/web-api/object-model/)
20
+ * @export
21
+ * @interface SpotifyApiArtistObjectSimplified
22
+ */
23
+ export interface SpotifyApiArtistObjectSimplified {
24
+ /**
25
+ * The object type.
26
+ * @type {string}
27
+ * @memberof SpotifyApiArtistObjectSimplified
28
+ */
29
+ type: SpotifyApiArtistObjectSimplifiedTypeEnum;
30
+ /**
31
+ * A link to the Web API endpoint providing full details.
32
+ * @type {string}
33
+ * @memberof SpotifyApiArtistObjectSimplified
34
+ */
35
+ href: string;
36
+ /**
37
+ * @type {SpotifyApiExternalUrlObject}
38
+ * @memberof SpotifyApiArtistObjectSimplified
39
+ */
40
+ external_urls: SpotifyApiExternalUrlObject;
41
+ /**
42
+ * The [Spotify URI](https://developer.spotify.com/documentation/web-api/#spotify-uris-and-ids).
43
+ * @type {string}
44
+ * @memberof SpotifyApiArtistObjectSimplified
45
+ */
46
+ uri: string;
47
+ /**
48
+ * The name of the artist.
49
+ * @type {string}
50
+ * @memberof SpotifyApiArtistObjectSimplified
51
+ */
52
+ name: string;
53
+ /**
54
+ * The [Spotify ID](https://developer.spotify.com/documentation/web-api/#spotify-uris-and-ids) for the artist.
55
+ * @type {string}
56
+ * @memberof SpotifyApiArtistObjectSimplified
57
+ */
58
+ id: string;
59
+ }
60
+
61
+ /**
62
+ * @export
63
+ * @enum {string}
64
+ */
65
+ export enum SpotifyApiArtistObjectSimplifiedTypeEnum {
66
+ Artist = 'artist'
67
+ }
68
+
@@ -0,0 +1,25 @@
1
+ // tslint:disable
2
+ /**
3
+ * @cascateer/sterio
4
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+ *
6
+ * The version of the OpenAPI document: 1.0.0
7
+ *
8
+ *
9
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10
+ * https://openapi-generator.tech
11
+ * Do not edit the class manually.
12
+ */
13
+
14
+ /**
15
+ * External Url Object [](https://developer.spotify.com/web-api/object-model/) Note that there might be other types available, it couldn\'t be found in the docs.
16
+ * @export
17
+ * @interface SpotifyApiExternalUrlObject
18
+ */
19
+ export interface SpotifyApiExternalUrlObject {
20
+ /**
21
+ * @type {string}
22
+ * @memberof SpotifyApiExternalUrlObject
23
+ */
24
+ spotify: string;
25
+ }
@@ -0,0 +1,38 @@
1
+ // tslint:disable
2
+ /**
3
+ * @cascateer/sterio
4
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+ *
6
+ * The version of the OpenAPI document: 1.0.0
7
+ *
8
+ *
9
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10
+ * https://openapi-generator.tech
11
+ * Do not edit the class manually.
12
+ */
13
+
14
+ /**
15
+ * Image Object [](https://developer.spotify.com/web-api/object-model/)
16
+ * @export
17
+ * @interface SpotifyApiImageObject
18
+ */
19
+ export interface SpotifyApiImageObject {
20
+ /**
21
+ * The image height in pixels. If unknown: `null` or not returned.
22
+ * @type {number}
23
+ * @memberof SpotifyApiImageObject
24
+ */
25
+ height?: number;
26
+ /**
27
+ * The source URL of the image.
28
+ * @type {string}
29
+ * @memberof SpotifyApiImageObject
30
+ */
31
+ url: string;
32
+ /**
33
+ * The image width in pixels. If unknown: null or not returned.
34
+ * @type {number}
35
+ * @memberof SpotifyApiImageObject
36
+ */
37
+ width?: number;
38
+ }
@@ -0,0 +1,24 @@
1
+ // tslint:disable
2
+ /**
3
+ * @cascateer/sterio
4
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+ *
6
+ * The version of the OpenAPI document: 1.0.0
7
+ *
8
+ *
9
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10
+ * https://openapi-generator.tech
11
+ * Do not edit the class manually.
12
+ */
13
+
14
+ /**
15
+ * @export
16
+ * @interface SpotifyApiRestrictionsObject
17
+ */
18
+ export interface SpotifyApiRestrictionsObject {
19
+ /**
20
+ * @type {string}
21
+ * @memberof SpotifyApiRestrictionsObject
22
+ */
23
+ reason: string;
24
+ }
@@ -0,0 +1,39 @@
1
+ // tslint:disable
2
+ /**
3
+ * @cascateer/sterio
4
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+ *
6
+ * The version of the OpenAPI document: 1.0.0
7
+ *
8
+ *
9
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10
+ * https://openapi-generator.tech
11
+ * Do not edit the class manually.
12
+ */
13
+
14
+ import type {
15
+ PartialSterioAlbumResourcesFull,
16
+ SterioAlbumSongs,
17
+ } from './';
18
+
19
+ /**
20
+ * @export
21
+ * @interface SterioAlbum
22
+ */
23
+ export interface SterioAlbum {
24
+ /**
25
+ * @type {string}
26
+ * @memberof SterioAlbum
27
+ */
28
+ id: string;
29
+ /**
30
+ * @type {PartialSterioAlbumResourcesFull}
31
+ * @memberof SterioAlbum
32
+ */
33
+ resources?: PartialSterioAlbumResourcesFull;
34
+ /**
35
+ * @type {SterioAlbumSongs}
36
+ * @memberof SterioAlbum
37
+ */
38
+ songs?: SterioAlbumSongs;
39
+ }
@@ -0,0 +1,29 @@
1
+ // tslint:disable
2
+ /**
3
+ * @cascateer/sterio
4
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+ *
6
+ * The version of the OpenAPI document: 1.0.0
7
+ *
8
+ *
9
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10
+ * https://openapi-generator.tech
11
+ * Do not edit the class manually.
12
+ */
13
+
14
+ /**
15
+ * @export
16
+ * @interface SterioAlbumResource
17
+ */
18
+ export interface SterioAlbumResource {
19
+ /**
20
+ * @type {string}
21
+ * @memberof SterioAlbumResource
22
+ */
23
+ id: string;
24
+ /**
25
+ * @type {string}
26
+ * @memberof SterioAlbumResource
27
+ */
28
+ iteratee?: string;
29
+ }
@@ -0,0 +1,34 @@
1
+ // tslint:disable
2
+ /**
3
+ * @cascateer/sterio
4
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+ *
6
+ * The version of the OpenAPI document: 1.0.0
7
+ *
8
+ *
9
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10
+ * https://openapi-generator.tech
11
+ * Do not edit the class manually.
12
+ */
13
+
14
+ /**
15
+ * @export
16
+ * @interface SterioAlbumResourcesTable
17
+ */
18
+ export interface SterioAlbumResourcesTable {
19
+ /**
20
+ * @type {Array<string>}
21
+ * @memberof SterioAlbumResourcesTable
22
+ */
23
+ youtubeMusic: Array<string>;
24
+ /**
25
+ * @type {Array<string>}
26
+ * @memberof SterioAlbumResourcesTable
27
+ */
28
+ youtube: Array<string>;
29
+ /**
30
+ * @type {Array<string>}
31
+ * @memberof SterioAlbumResourcesTable
32
+ */
33
+ spotify: Array<string>;
34
+ }