refresh history

This commit is contained in:
Florian Dold 2019-12-13 13:36:35 +01:00
parent b4bb9e92ad
commit e018e073a4
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B

View File

@ -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;
}
/**