1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-20 21:54:58 -04:00

New: 'On Import Complete' notification when all episodes in a release are imported

Closes #363
This commit is contained in:
Mark McDowall
2024-06-25 06:25:33 -07:00
committed by Mark McDowall
parent 1d06e40acb
commit a83b521766
49 changed files with 597 additions and 35 deletions
@@ -0,0 +1,18 @@
using System.Collections.Generic;
namespace NzbDrone.Core.Notifications.Webhook
{
public class WebhookImportCompletePayload : WebhookPayload
{
public WebhookSeries Series { get; set; }
public List<WebhookEpisode> Episodes { get; set; }
public List<WebhookEpisodeFile> EpisodeFiles { get; set; }
public string DownloadClient { get; set; }
public string DownloadClientType { get; set; }
public string DownloadId { get; set; }
public WebhookGrabbedRelease Release { get; set; }
public int FileCount => EpisodeFiles.Count;
public string SourcePath { get; set; }
public string DestinationPath { get; set; }
}
}