aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2022-10-16 22:58:53 +0200
committerFlorian Dold <florian@dold.me>2022-10-16 22:58:53 +0200
commitea1aff81df642000a1c458a91fc8aee239d3bd3a (patch)
treeb581857ac99a1863fd3bbd2ec810f1f15fece6af /packages/taler-wallet-core
parentb52b074a8dd119347307f1face35c1c60eb94c44 (diff)
downloadwallet-core-ea1aff81df642000a1c458a91fc8aee239d3bd3a.tar.xz
wallet-cli: tweaks to withdrawal CLI
Diffstat (limited to 'packages/taler-wallet-core')
-rw-r--r--packages/taler-wallet-core/src/wallet-api-types.ts8
1 files changed, 8 insertions, 0 deletions
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;