commit e018e073a4666c9521c0a802caa704d5ae5089b7
parent b4bb9e92adffdc25cca2b49550ed41d96df19802
Author: Florian Dold <florian.dold@gmail.com>
Date: Fri, 13 Dec 2019 13:36:35 +0100
refresh history
Diffstat:
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git 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;
}
/**