From 5b88e4d8d0177e9317357b5ab0708dff2985c241 Mon Sep 17 00:00:00 2001 From: Shaed Parkar Date: Tue, 28 Jan 2025 18:03:40 +0000 Subject: [PATCH] VIH-9762 update eventhub client --- VideoWeb/VideoWeb.EventHub/Hub/IEventHubClient.cs | 1 + .../VideoWeb.EventHub/Models/UpdatedAllocationDto.cs | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 VideoWeb/VideoWeb.EventHub/Models/UpdatedAllocationDto.cs diff --git a/VideoWeb/VideoWeb.EventHub/Hub/IEventHubClient.cs b/VideoWeb/VideoWeb.EventHub/Hub/IEventHubClient.cs index b31cac0920..a11983ee2c 100644 --- a/VideoWeb/VideoWeb.EventHub/Hub/IEventHubClient.cs +++ b/VideoWeb/VideoWeb.EventHub/Hub/IEventHubClient.cs @@ -46,6 +46,7 @@ public interface IEventHubClient Task HearingLayoutChanged(Guid conferenceId, Guid changedById, HearingLayout newLayout, HearingLayout oldLayout); Task NewConferenceAddedMessage(Guid conferenceId); Task AllocationHearings(string csoUserName, List hearings); + Task AllocationsUpdated(List updatedAllocationDtos); Task EndpointsUpdated(Guid conferenceId, UpdateEndpointsDto endpoints); Task HearingCancelledMessage(Guid conferenceId); Task HearingDetailsUpdatedMessage(ConferenceResponse conference); diff --git a/VideoWeb/VideoWeb.EventHub/Models/UpdatedAllocationDto.cs b/VideoWeb/VideoWeb.EventHub/Models/UpdatedAllocationDto.cs new file mode 100644 index 0000000000..5e125b9929 --- /dev/null +++ b/VideoWeb/VideoWeb.EventHub/Models/UpdatedAllocationDto.cs @@ -0,0 +1,10 @@ +using System; + +namespace VideoWeb.EventHub.Models; + +public record UpdatedAllocationDto( + Guid ConferenceId, + DateTime ScheduledDateTime, + string CaseName, + string JudgeDisplayName); +