From b214934b75418d0d01c9556577d9594f1db5a319 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Tue, 21 Jun 2022 12:40:12 +0200 Subject: wallet-core: P2P push payments (still incomplete) --- packages/taler-wallet-core/src/wallet-api-types.ts | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'packages/taler-wallet-core/src/wallet-api-types.ts') diff --git a/packages/taler-wallet-core/src/wallet-api-types.ts b/packages/taler-wallet-core/src/wallet-api-types.ts index 9acfbf103..5c0882ae0 100644 --- a/packages/taler-wallet-core/src/wallet-api-types.ts +++ b/packages/taler-wallet-core/src/wallet-api-types.ts @@ -46,6 +46,8 @@ import { GetExchangeTosResult, GetWithdrawalDetailsForAmountRequest, GetWithdrawalDetailsForUriRequest, + InitiatePeerPushPaymentRequest, + InitiatePeerPushPaymentResponse, IntegrationTestArgs, ManualWithdrawalDetails, PreparePayRequest, @@ -118,6 +120,9 @@ export enum WalletApiOperation { ExportBackupPlain = "exportBackupPlain", WithdrawFakebank = "withdrawFakebank", ExportDb = "exportDb", + InitiatePeerPushPayment = "initiatePeerPushPayment", + CheckPeerPushPayment = "checkPeerPushPayment", + AcceptPeerPushPayment = "acceptPeerPushPayment", } export type WalletOperations = { @@ -277,6 +282,10 @@ export type WalletOperations = { request: {}; response: any; }; + [WalletApiOperation.InitiatePeerPushPayment]: { + request: InitiatePeerPushPaymentRequest; + response: InitiatePeerPushPaymentResponse; + }; }; export type RequestType< -- cgit v1.2.3