From 8c8ac0a74436c73253dc0ad66431dfd2e5a048ed Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sun, 7 Jul 2013 00:48:26 -0400 Subject: [PATCH] updated nuget --- MediaBrowser.Model/ApiClient/IApiClient.cs | 44 ++++++++++++++++++++-- Nuget/MediaBrowser.Common.Internal.nuspec | 4 +- Nuget/MediaBrowser.Common.nuspec | 2 +- Nuget/MediaBrowser.Server.Core.nuspec | 4 +- 4 files changed, 46 insertions(+), 8 deletions(-) diff --git a/MediaBrowser.Model/ApiClient/IApiClient.cs b/MediaBrowser.Model/ApiClient/IApiClient.cs index 0212c3b625..06e4dd234d 100644 --- a/MediaBrowser.Model/ApiClient/IApiClient.cs +++ b/MediaBrowser.Model/ApiClient/IApiClient.cs @@ -2,6 +2,7 @@ using MediaBrowser.Model.Dto; using MediaBrowser.Model.Entities; using MediaBrowser.Model.Globalization; +using MediaBrowser.Model.Notifications; using MediaBrowser.Model.Plugins; using MediaBrowser.Model.Querying; using MediaBrowser.Model.Serialization; @@ -17,6 +18,43 @@ namespace MediaBrowser.Model.ApiClient { public interface IApiClient : IDisposable { + /// + /// Marks the notifications read. + /// + /// The user id. + /// The notification id list. + /// if set to true [is read]. + /// Task. + Task MarkNotificationsRead(string userId, IEnumerable notificationIdList, bool isRead); + + /// + /// Updates the notification. + /// + /// The notification. + /// Task. + Task UpdateNotification(Notification notification); + + /// + /// Adds the notification. + /// + /// The notification. + /// Task{Notification}. + Task AddNotification(Notification notification); + + /// + /// Gets the notifications summary. + /// + /// The user id. + /// Task{NotificationsSummary}. + Task GetNotificationsSummary(string userId); + + /// + /// Gets the notfiications async. + /// + /// The query. + /// Task{NotificationResult}. + Task GetNotfiicationsAsync(NotificationQuery query); + /// /// Gets an image stream based on a url /// @@ -69,7 +107,7 @@ namespace MediaBrowser.Model.ApiClient /// The user id. /// Task{ItemCounts}. Task GetItemCountsAsync(string userId); - + /// /// Queries for items /// @@ -105,7 +143,7 @@ namespace MediaBrowser.Model.ApiClient /// The query. /// Task{ItemsResult}. Task GetSimilarGamesAsync(SimilarItemsQuery query); - + /// /// Gets the people async. /// @@ -136,7 +174,7 @@ namespace MediaBrowser.Model.ApiClient /// The query. /// Task{ItemsResult}. Task GetNextUpAsync(NextUpQuery query); - + /// /// Gets a genre /// diff --git a/Nuget/MediaBrowser.Common.Internal.nuspec b/Nuget/MediaBrowser.Common.Internal.nuspec index 6aaac39525..259f53da87 100644 --- a/Nuget/MediaBrowser.Common.Internal.nuspec +++ b/Nuget/MediaBrowser.Common.Internal.nuspec @@ -2,7 +2,7 @@ MediaBrowser.Common.Internal - 3.0.137 + 3.0.138 MediaBrowser.Common.Internal Luke ebr,Luke,scottisafool @@ -12,7 +12,7 @@ Contains common components shared by Media Browser Theater and Media Browser Server. Not intended for plugin developer consumption. Copyright © Media Browser 2013 - + diff --git a/Nuget/MediaBrowser.Common.nuspec b/Nuget/MediaBrowser.Common.nuspec index 06a878e5a8..eb513c0e5e 100644 --- a/Nuget/MediaBrowser.Common.nuspec +++ b/Nuget/MediaBrowser.Common.nuspec @@ -2,7 +2,7 @@ MediaBrowser.Common - 3.0.137 + 3.0.138 MediaBrowser.Common Media Browser Team ebr,Luke,scottisafool diff --git a/Nuget/MediaBrowser.Server.Core.nuspec b/Nuget/MediaBrowser.Server.Core.nuspec index 61f9e99607..a1388fda08 100644 --- a/Nuget/MediaBrowser.Server.Core.nuspec +++ b/Nuget/MediaBrowser.Server.Core.nuspec @@ -2,7 +2,7 @@ MediaBrowser.Server.Core - 3.0.137 + 3.0.138 Media Browser.Server.Core Media Browser Team ebr,Luke,scottisafool @@ -12,7 +12,7 @@ Contains core components required to build plugins for Media Browser Server. Copyright © Media Browser 2013 - +