From ea1aff81df642000a1c458a91fc8aee239d3bd3a Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Sun, 16 Oct 2022 22:58:53 +0200 Subject: wallet-cli: tweaks to withdrawal CLI --- packages/taler-wallet-core/src/wallet-api-types.ts | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'packages/taler-wallet-core/src') diff --git a/packages/taler-wallet-core/src/wallet-api-types.ts b/packages/taler-wallet-core/src/wallet-api-types.ts index 3841bd8d3..88e66ff9e 100644 --- a/packages/taler-wallet-core/src/wallet-api-types.ts +++ b/packages/taler-wallet-core/src/wallet-api-types.ts @@ -126,6 +126,7 @@ export enum WalletApiOperation { ImportBackupRecovery = "importBackupRecovery", GetBackupInfo = "getBackupInfo", TrackDepositGroup = "trackDepositGroup", + GetVersion = "getVersion", DeleteTransaction = "deleteTransaction", RetryTransaction = "retryTransaction", GetCoins = "getCoins", @@ -160,6 +161,12 @@ export type InitWalletOp = { response: {}; }; +export type GetVersionOp = { + op: WalletApiOperation.GetVersion; + request: {}; + response: {}; +}; + // group: Basic Wallet Information /** @@ -647,6 +654,7 @@ export type ForceRefreshOp = { export type WalletOperations = { [WalletApiOperation.InitWallet]: InitWalletOp; + [WalletApiOperation.GetVersion]: GetVersionOp; [WalletApiOperation.WithdrawFakebank]: WithdrawFakebankOp; [WalletApiOperation.PreparePayForUri]: PreparePayForUriOp; [WalletApiOperation.WithdrawTestkudos]: WithdrawTestkudosOp; -- cgit v1.2.3