mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-03-04 18:06:08 +01:00
* Add webhook delivery status indicator As discussed in: https://github.com/btcpayserver/btcpayserver/discussions/2616 * Add relative delivery time to tooltips
18 lines
553 B
C#
18 lines
553 B
C#
#nullable enable
|
|
using System;
|
|
|
|
namespace BTCPayServer.Models.StoreViewModels
|
|
{
|
|
public class WebhooksViewModel
|
|
{
|
|
public class WebhookViewModel
|
|
{
|
|
public string Id { get; set; }
|
|
public string Url { get; set; }
|
|
public bool LastDeliverySuccessful { get; set; } = true;
|
|
public DateTimeOffset? LastDeliveryTimeStamp { get; set; } = null;
|
|
public string? LastDeliveryErrorMessage { get; set; } = null;
|
|
}
|
|
public WebhookViewModel[] Webhooks { get; set; }
|
|
}
|
|
}
|