aboutsummaryrefslogtreecommitdiff
path: root/src/types/pending.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-04-27 21:11:20 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-04-27 21:11:20 +0530
commit5be0708a10874be939e63ca82082cd665165823c (patch)
treed67531e204513905ffe90b7874baead3afe50305 /src/types/pending.ts
parente404f5e6d3001906c11b82a532db518720caebfd (diff)
downloadwallet-core-5be0708a10874be939e63ca82082cd665165823c.tar.xz
adopt new merchant refund API
Diffstat (limited to 'src/types/pending.ts')
-rw-r--r--src/types/pending.ts16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/types/pending.ts b/src/types/pending.ts
index 4ff82f55e..f949b7c16 100644
--- a/src/types/pending.ts
+++ b/src/types/pending.ts
@@ -35,7 +35,6 @@ export const enum PendingOperationType {
Refresh = "refresh",
Reserve = "reserve",
Recoup = "recoup",
- RefundApply = "refund-apply",
RefundQuery = "refund-query",
TipChoice = "tip-choice",
TipPickup = "tip-pickup",
@@ -53,7 +52,6 @@ export type PendingOperationInfo = PendingOperationInfoCommon &
| PendingProposalChoiceOperation
| PendingProposalDownloadOperation
| PendingRefreshOperation
- | PendingRefundApplyOperation
| PendingRefundQueryOperation
| PendingReserveOperation
| PendingTipChoiceOperation
@@ -188,20 +186,6 @@ export interface PendingRefundQueryOperation {
lastError: OperationError | undefined;
}
-/**
- * The wallet is processing refunds that it received from a merchant.
- * During this operation, the wallet checks the refund permissions and sends
- * them to the exchange to obtain a refund on a coin.
- */
-export interface PendingRefundApplyOperation {
- type: PendingOperationType.RefundApply;
- proposalId: string;
- retryInfo: RetryInfo;
- lastError: OperationError | undefined;
- numRefundsPending: number;
- numRefundsDone: number;
-}
-
export interface PendingRecoupOperation {
type: PendingOperationType.Recoup;
recoupGroupId: string;