diff options
author | Florian Dold <florian.dold@gmail.com> | 2019-12-13 13:36:35 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2019-12-13 13:36:35 +0100 |
commit | e018e073a4666c9521c0a802caa704d5ae5089b7 (patch) | |
tree | d98de982bbf5512793069fd104b02080d89058d9 | |
parent | b4bb9e92adffdc25cca2b49550ed41d96df19802 (diff) |
refresh history
-rw-r--r-- | src/types/history.ts | 11 |
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; } /** |