From e018e073a4666c9521c0a802caa704d5ae5089b7 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Fri, 13 Dec 2019 13:36:35 +0100 Subject: refresh history --- src/types/history.ts | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/types/history.ts b/src/types/history.ts index 08c499870..06b863005 100644 --- a/src/types/history.ts +++ b/src/types/history.ts @@ -611,10 +611,12 @@ export const enum RefreshReason { Pay = "pay", Refund = "refund", AbortPay = "abort-pay", + Recoup = "recoup", + BackupRestored = "backup-restored", } /** - * Event to indicate that a refresh operation completed. + * Event to indicate that a group of refresh sessions has completed. */ export interface HistoryRefreshedEvent { /** @@ -629,14 +631,15 @@ export interface HistoryRefreshedEvent { amountRefreshed: string; /** - * Why was the refresh done? + * Why was the refreshing done? */ refreshReason: RefreshReason; /** - * Refresh session ID, to find out more details. + * Identifier for a refresh group, contains one or + * more refresh session IDs. */ - refreshSessionId: string; + refreshGroupId: string; } /** -- cgit v1.2.3