From 2dd1bbebcaed35308105a8470e1aefb9f6f19900 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Tue, 5 Mar 2024 01:55:21 +0100 Subject: wallet-core: use state instead of yet another flag --- packages/taler-util/src/transactions-types.ts | 28 +++++++++++++-------------- 1 file changed, 13 insertions(+), 15 deletions(-) (limited to 'packages/taler-util/src') diff --git a/packages/taler-util/src/transactions-types.ts b/packages/taler-util/src/transactions-types.ts index 4754603e6..c5d838809 100644 --- a/packages/taler-util/src/transactions-types.ts +++ b/packages/taler-util/src/transactions-types.ts @@ -24,28 +24,25 @@ /** * Imports. */ -import { TalerPreciseTimestamp, TalerProtocolTimestamp } from "./time.js"; -import { - AmountString, - Product, - InternationalizedString, - MerchantInfo, - codecForInternationalizedString, - codecForMerchantInfo, - codecForProduct, - Location, -} from "./taler-types.js"; import { Codec, buildCodecForObject, - codecOptional, - codecForString, - codecForList, codecForAny, codecForBoolean, - codecForEither, codecForConstString, + codecForEither, + codecForList, + codecForString, + codecOptional, } from "./codec.js"; +import { + AmountString, + InternationalizedString, + MerchantInfo, + codecForInternationalizedString, + codecForMerchantInfo, +} from "./taler-types.js"; +import { TalerPreciseTimestamp, TalerProtocolTimestamp } from "./time.js"; import { RefreshReason, ScopeInfo, @@ -148,6 +145,7 @@ export enum TransactionMinorState { Proposed = "proposed", RefundAvailable = "refund-available", AcceptRefund = "accept-refund", + PaidByOther = "paid-by-other", } export enum TransactionAction { -- cgit v1.2.3