feature: Degraded Operations Visibility
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
public record DischargeSummaryInfo(
|
||||
string Status,
|
||||
DateTimeOffset? DischargedAt,
|
||||
string? ContentType,
|
||||
string? FileName);
|
||||
|
||||
public record DischargeSummaryContent(Stream Stream, string ContentType, string FileName);
|
||||
@@ -0,0 +1,4 @@
|
||||
public record GatewayDetailResponse(
|
||||
GatewayFleetItem Gateway,
|
||||
IReadOnlyList<ClinicalSyncHistoryItem> RecentBatches,
|
||||
int PendingConflictCount);
|
||||
@@ -0,0 +1 @@
|
||||
public record GatewayFleetFilter(string? Status, Guid? SiteId);
|
||||
@@ -0,0 +1,11 @@
|
||||
public record GatewayFleetItem(
|
||||
Guid Id,
|
||||
string GatewayCode,
|
||||
string Department,
|
||||
string SiteCode,
|
||||
string SiteName,
|
||||
string Status,
|
||||
int ReportedBufferDepth,
|
||||
DateTimeOffset? LastHeartbeatAt,
|
||||
DateTimeOffset? LastSyncAt,
|
||||
double? MinutesSinceHeartbeat);
|
||||
@@ -0,0 +1,7 @@
|
||||
public record SiteGatewaySummaryResponse(
|
||||
Guid SiteId,
|
||||
int TotalGateways,
|
||||
int Online,
|
||||
int Degraded,
|
||||
int Offline,
|
||||
int TotalBufferedEvents);
|
||||
@@ -0,0 +1,8 @@
|
||||
public record ClinicalUserResponse(
|
||||
Guid Id,
|
||||
string Username,
|
||||
string DisplayName,
|
||||
string Role,
|
||||
bool IsActive,
|
||||
DateTimeOffset CreatedAt,
|
||||
DateTimeOffset? LastLoginAt);
|
||||
@@ -0,0 +1,5 @@
|
||||
public record CreateUserRequest(
|
||||
string Username,
|
||||
string Password,
|
||||
string DisplayName,
|
||||
string Role);
|
||||
@@ -0,0 +1,4 @@
|
||||
public record UpdateUserRequest(
|
||||
string? DisplayName,
|
||||
string? Role,
|
||||
bool? IsActive);
|
||||
Reference in New Issue
Block a user