aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/wallet-api-types.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2024-07-05 14:51:21 +0200
committerFlorian Dold <florian@dold.me>2024-07-05 14:51:21 +0200
commit843aefc42b0b02c6e8858adc794447956f45875a (patch)
tree247ef886923965efe7f33939613981568f3d5ba1 /packages/taler-wallet-core/src/wallet-api-types.ts
parent2365276434728c249b4a06130fb6235f506b891b (diff)
downloadwallet-core-843aefc42b0b02c6e8858adc794447956f45875a.tar.xz
wallet-core: handlers refactoring
Diffstat (limited to 'packages/taler-wallet-core/src/wallet-api-types.ts')
-rw-r--r--packages/taler-wallet-core/src/wallet-api-types.ts9
1 files changed, 6 insertions, 3 deletions
diff --git a/packages/taler-wallet-core/src/wallet-api-types.ts b/packages/taler-wallet-core/src/wallet-api-types.ts
index 12abb6469..aa68c6e2a 100644
--- a/packages/taler-wallet-core/src/wallet-api-types.ts
+++ b/packages/taler-wallet-core/src/wallet-api-types.ts
@@ -29,6 +29,8 @@ import {
AcceptExchangeTosRequest,
AcceptManualWithdrawalRequest,
AcceptManualWithdrawalResult,
+ AcceptPeerPullPaymentResponse,
+ AcceptPeerPushPaymentResponse,
AcceptWithdrawalResponse,
AddExchangeRequest,
AddGlobalCurrencyAuditorRequest,
@@ -133,6 +135,7 @@ import {
TestPayResult,
TestingGetDenomStatsRequest,
TestingGetDenomStatsResponse,
+ TestingGetReserveHistoryRequest,
TestingSetTimetravelRequest,
TestingWaitTransactionRequest,
Transaction,
@@ -944,7 +947,7 @@ export type PreparePeerPushCreditOp = {
export type ConfirmPeerPushCreditOp = {
op: WalletApiOperation.ConfirmPeerPushCredit;
request: ConfirmPeerPushCreditRequest;
- response: EmptyObject;
+ response: AcceptPeerPushPaymentResponse;
};
/**
@@ -980,7 +983,7 @@ export type PreparePeerPullDebitOp = {
export type ConfirmPeerPullDebitOp = {
op: WalletApiOperation.ConfirmPeerPullDebit;
request: ConfirmPeerPullDebitRequest;
- response: EmptyObject;
+ response: AcceptPeerPullPaymentResponse;
};
// group: Data Validation
@@ -1205,7 +1208,7 @@ export type TestingPingOp = {
export type TestingGetReserveHistoryOp = {
op: WalletApiOperation.TestingGetReserveHistory;
- request: EmptyObject;
+ request: TestingGetReserveHistoryRequest;
response: any;
};