@@ -1131,11 +1131,11 @@ class Account extends BaseExtend {
1131
1131
* @returns {AxiosResponse<CollectionWithCursor<FavoritesData>> } Contains the data:
1132
1132
* ```typescript
1133
1133
* {
1134
- * "collection": [{
1135
- * "media_id": "awWEFyPu",
1136
- * "created_at": 1532425425
1137
- * }],
1138
- * "cursor": "https://services.inplayer.com/v2/accounts/media/favorites?cursor=Ksm34SUn3j23j3"
1134
+ * "collection": [{
1135
+ * "media_id": "awWEFyPu",
1136
+ * "created_at": 1532425425
1137
+ * }],
1138
+ * "cursor": "https://services.inplayer.com/v2/accounts/media/favorites?cursor=Ksm34SUn3j23j3"
1139
1139
* }
1140
1140
* ```
1141
1141
*/
@@ -1163,9 +1163,9 @@ class Account extends BaseExtend {
1163
1163
* @returns {AxiosResponse<FavoritesData> } Contains the data:
1164
1164
* ```typescript
1165
1165
* {
1166
- * "media_id": "awWEFyPu",
1167
- * "created_at": 1532425425
1168
- * }
1166
+ * "media_id": "awWEFyPu",
1167
+ * "created_at": 1532425425
1168
+ * }
1169
1169
* ```
1170
1170
*/
1171
1171
async getFavorite ( mediaId : string ) : Promise < AxiosResponse < FavoritesData > > {
@@ -1190,9 +1190,9 @@ class Account extends BaseExtend {
1190
1190
* @returns {AxiosResponse<FavoritesData> } Contains the data:
1191
1191
* ```typescript
1192
1192
* {
1193
- * "media_id": "awWEFyPu",
1194
- * "created_at": 1532425425
1195
- * }
1193
+ * "media_id": "awWEFyPu",
1194
+ * "created_at": 1532425425
1195
+ * }
1196
1196
* ```
1197
1197
*/
1198
1198
async addToFavorites ( mediaId : string ) : Promise < AxiosResponse < FavoritesData > > {
@@ -1221,9 +1221,9 @@ class Account extends BaseExtend {
1221
1221
* @returns {AxiosResponse<CommonResponse> } Contains the data:
1222
1222
* ```typescript
1223
1223
* {
1224
- * "message": "Media item has been successfully removed from favorites.",
1225
- * "code": 200
1226
- * }
1224
+ * "message": "Media item has been successfully removed from favorites.",
1225
+ * "code": 200
1226
+ * }
1227
1227
* ```
1228
1228
*/
1229
1229
async deleteFromFavorites (
@@ -1242,7 +1242,8 @@ class Account extends BaseExtend {
1242
1242
/**
1243
1243
* Returns the viewer's watchlist history
1244
1244
* @method getWatchHistory
1245
- * @param {string } filter the filter can be one of all, watched or currently_watching. The default is: currently_watching
1245
+ * @param {string } filter the filter can be one of all, watched or currently_watching.
1246
+ * The default is: currently_watching
1246
1247
* @param {string } cursor the url for the next page of the results
1247
1248
* @async
1248
1249
* @example
@@ -1252,13 +1253,13 @@ class Account extends BaseExtend {
1252
1253
* @returns {CollectionWithCursor<WatchlistHistoryData> } Contains the data:
1253
1254
* ```typescript
1254
1255
* {
1255
- * "collection": [{
1256
- * "media_id": "awWEFyPu",
1256
+ * "collection": [{
1257
+ * "media_id": "awWEFyPu",
1257
1258
* "progress": 0.8577555,
1258
- * "created_at": 1532425425,
1259
+ * "created_at": 1532425425,
1259
1260
* "updated_at": 1532425425
1260
- * }],
1261
- * "cursor": "https://services.inplayer.com/v2/accounts/media/watchlist-history?cursor=Ksm34SUn3j23j3 "
1261
+ * }],
1262
+ * "cursor": "https://services.inplayer.com/v2/accounts/media/watchlist-history?cursor=Ksm34S "
1262
1263
* }
1263
1264
* ```
1264
1265
*/
@@ -1292,11 +1293,11 @@ class Account extends BaseExtend {
1292
1293
* @returns {AxiosResponse<WatchlistHistoryData> } Contains the data:
1293
1294
* ```typescript
1294
1295
* {
1295
- * "media_id": "awWEFyPu",
1296
+ * "media_id": "awWEFyPu",
1296
1297
* "progress": 0.4848484444,
1297
- * "created_at": 1532425425,
1298
+ * "created_at": 1532425425,
1298
1299
* "updated_at": 1532425425
1299
- * }
1300
+ * }
1300
1301
* ```
1301
1302
*/
1302
1303
async getWatchHistoryForItem (
@@ -1324,11 +1325,11 @@ class Account extends BaseExtend {
1324
1325
* @returns {AxiosResponse<WatchlistHistoryData> } Contains the data:
1325
1326
* ```typescript
1326
1327
* {
1327
- * "media_id": "awWEFyPu",
1328
+ * "media_id": "awWEFyPu",
1328
1329
* "progress": 0.3434444,
1329
- * "created_at": 1532425425,
1330
+ * "created_at": 1532425425,
1330
1331
* "updated_at": 1532434467
1331
- * }
1332
+ * }
1332
1333
* ```
1333
1334
*/
1334
1335
async updateWatchHistory (
@@ -1360,9 +1361,9 @@ class Account extends BaseExtend {
1360
1361
* @returns {AxiosResponse<CommonResponse> } Contains the data:
1361
1362
* ```typescript
1362
1363
* {
1363
- * "message": "Media item has been successfully removed from the list.",
1364
- * "code": 200
1365
- * }
1364
+ * "message": "Media item has been successfully removed from the list.",
1365
+ * "code": 200
1366
+ * }
1366
1367
* ```
1367
1368
*/
1368
1369
async deleteWatchHistoryForItem (
0 commit comments