diff options
author | Florian Dold <florian@dold.me> | 2021-10-14 11:36:43 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2021-10-14 11:36:43 +0200 |
commit | c53264869451ccbfbaf1976e01df8c7636163068 (patch) | |
tree | a6f4359d4fcd558ee443991111404bc095642e5b /packages/taler-wallet-core/src/wallet-api-types.ts | |
parent | 6f4c0a6fb244b8e42b6d91edd3c5901ae39f2202 (diff) | |
download | wallet-core-c53264869451ccbfbaf1976e01df8c7636163068.tar.xz |
implement fakebank withdrawal
Diffstat (limited to 'packages/taler-wallet-core/src/wallet-api-types.ts')
-rw-r--r-- | packages/taler-wallet-core/src/wallet-api-types.ts | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/packages/taler-wallet-core/src/wallet-api-types.ts b/packages/taler-wallet-core/src/wallet-api-types.ts index 75121ed38..c5bf2c8c0 100644 --- a/packages/taler-wallet-core/src/wallet-api-types.ts +++ b/packages/taler-wallet-core/src/wallet-api-types.ts @@ -63,10 +63,14 @@ import { TransactionsResponse, WalletBackupContentV1, WalletCurrencyInfo, + WithdrawFakebankRequest, WithdrawTestBalanceRequest, WithdrawUriInfoResponse, } from "@gnu-taler/taler-util"; -import { AddBackupProviderRequest, BackupInfo } from "./operations/backup/index.js"; +import { + AddBackupProviderRequest, + BackupInfo, +} from "./operations/backup/index.js"; import { PendingOperationsResponse } from "./pending-types.js"; export enum WalletApiOperation { @@ -110,9 +114,14 @@ export enum WalletApiOperation { CreateDepositGroup = "createDepositGroup", SetWalletDeviceId = "setWalletDeviceId", ExportBackupPlain = "exportBackupPlain", + WithdrawFakebank = "withdrawFakebank", } export type WalletOperations = { + [WalletApiOperation.WithdrawFakebank]: { + request: WithdrawFakebankRequest; + response: {}; + }; [WalletApiOperation.PreparePayForUri]: { request: PreparePayRequest; response: PreparePayResult; @@ -256,7 +265,7 @@ export type WalletOperations = { [WalletApiOperation.TestPay]: { request: TestPayArgs; response: {}; - } + }; }; export type RequestType< |