aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2019-12-13 13:36:35 +0100
committerFlorian Dold <florian.dold@gmail.com>2019-12-13 13:36:35 +0100
commite018e073a4666c9521c0a802caa704d5ae5089b7 (patch)
treed98de982bbf5512793069fd104b02080d89058d9
parentb4bb9e92adffdc25cca2b49550ed41d96df19802 (diff)
refresh history
-rw-r--r--src/types/history.ts11
1 files changed, 7 insertions, 4 deletions
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;
}
/**