diff options
author | Florian Dold <florian@dold.me> | 2021-06-14 11:45:05 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2021-06-14 11:45:19 +0200 |
commit | cc795f350a8827b97b792e09a031f950e84e426a (patch) | |
tree | 937ca8e363a3c07c1cb9ddce9033a5f360b3801e /packages/taler-util | |
parent | 6e11b69cf5beb25fec1dfdff281877a76bf195a4 (diff) | |
download | wallet-core-cc795f350a8827b97b792e09a031f950e84e426a.tar.xz |
store ToS acceptance timestamp, remove unused backup attributes
Diffstat (limited to 'packages/taler-util')
-rw-r--r-- | packages/taler-util/src/backupTypes.ts | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/packages/taler-util/src/backupTypes.ts b/packages/taler-util/src/backupTypes.ts index dc344ee23..97fbcebcc 100644 --- a/packages/taler-util/src/backupTypes.ts +++ b/packages/taler-util/src/backupTypes.ts @@ -807,12 +807,6 @@ export interface BackupPurchase { refunds: BackupRefundItem[]; /** - * Is the purchase considered defunct (either during payment - * or during abort if abort_status is set). - */ - defunct?: boolean; - - /** * Abort status of the payment. */ abort_status?: "abort-refund" | "abort-finished"; @@ -1006,8 +1000,6 @@ export interface BackupReserve { * Groups of withdrawal operations for this reserve. Typically just one. */ withdrawal_groups: BackupWithdrawalGroup[]; - - defective?: boolean; } /** @@ -1179,12 +1171,12 @@ export interface BackupExchangeDetails { /** * ETag for last terms of service download. */ - tos_etag_last: string | undefined; + tos_accepted_etag: string | undefined; /** - * ETag for last terms of service download. + * Timestamp when the ToS has been accepted. */ - tos_etag_accepted: string | undefined; + tos_accepted_timestamp: Timestamp | undefined; } export enum BackupProposalStatus { |