From 67dd0eb06e04466ca01a03955ff8f75d40429c79 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Tue, 12 May 2020 15:44:48 +0530 Subject: new transactions API: purchases and refunds --- src/types/dbTypes.ts | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/types/dbTypes.ts') diff --git a/src/types/dbTypes.ts b/src/types/dbTypes.ts index 07c59d4d3..eae39fff3 100644 --- a/src/types/dbTypes.ts +++ b/src/types/dbTypes.ts @@ -43,6 +43,7 @@ import { ReserveRecoupTransaction, } from "./ReserveTransaction"; import { Timestamp, Duration, getTimestampNow } from "../util/time"; +import { PayCoinSelection } from "../operations/pay"; export enum ReserveRecordStatus { /** @@ -1133,6 +1134,7 @@ export const enum RefundReason { } export interface RefundGroupInfo { + refundGroupId: string; timestampQueried: Timestamp; reason: RefundReason; } @@ -1222,6 +1224,8 @@ export interface PurchaseRecord { */ payReq: PayReq; + payCoinSelection: PayCoinSelection; + /** * Timestamp of the first time that sending a payment to the merchant * for this purchase was successful. -- cgit v1.2.3