aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}
/**