@@ -57,21 +57,6 @@ export interface GetBulkTracksRequest {
57
57
id ?: Array < string > ;
58
58
}
59
59
60
- export interface GetFeelingLuckyTracksRequest {
61
- /**
62
- * The user ID of the user making the request
63
- */
64
- userId ?: string ;
65
- /**
66
- * Number of tracks to fetch
67
- */
68
- limit ?: number ;
69
- /**
70
- * Boolean to include user info with tracks
71
- */
72
- withUsers ?: boolean ;
73
- }
74
-
75
60
export interface GetMostLovedTracksRequest {
76
61
/**
77
62
* The user ID of the user making the request
@@ -436,34 +421,6 @@ export class TracksApi extends runtime.BaseAPI {
436
421
} ) as Promise < NonNullable < FullTrackResponse [ "data" ] > > ;
437
422
}
438
423
439
- /**
440
- * Gets random tracks found on the \"Feeling Lucky\" smart playlist
441
- */
442
- async getFeelingLuckyTracks ( requestParameters : GetFeelingLuckyTracksRequest = { } ) : Promise < NonNullable < FullTracksResponse [ "data" ] > > {
443
- const queryParameters : any = { } ;
444
-
445
- if ( requestParameters . userId !== undefined ) {
446
- queryParameters [ 'user_id' ] = requestParameters . userId ;
447
- }
448
-
449
- if ( requestParameters . limit !== undefined ) {
450
- queryParameters [ 'limit' ] = requestParameters . limit ;
451
- }
452
-
453
- if ( requestParameters . withUsers !== undefined ) {
454
- queryParameters [ 'with_users' ] = requestParameters . withUsers ;
455
- }
456
-
457
- const headerParameters : runtime . HTTPHeaders = { } ;
458
-
459
- return this . request ( {
460
- path : `/tracks/feeling_lucky` ,
461
- method : 'GET' ,
462
- headers : headerParameters ,
463
- query : queryParameters ,
464
- } ) as Promise < NonNullable < FullTracksResponse [ "data" ] > > ;
465
- }
466
-
467
424
/**
468
425
* Gets the tracks found on the \"Most Loved\" smart playlist
469
426
*/
0 commit comments