summaryrefslogtreecommitdiff
path: root/packages/taler-util/src/walletTypes.ts
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2022-05-04 16:11:12 -0300
committerSebastian <sebasjm@gmail.com>2022-05-04 16:26:53 -0300
commit4491118494c332c9ce0a0c4533804744d63701f2 (patch)
tree883cef2f190321bf07d0d1b53f5842e9c9c6ddbd /packages/taler-util/src/walletTypes.ts
parentf16d2e52d51b931d18abd9d87568be681339350f (diff)
downloadwallet-core-4491118494c332c9ce0a0c4533804744d63701f2.tar.gz
wallet-core-4491118494c332c9ce0a0c4533804744d63701f2.tar.bz2
wallet-core-4491118494c332c9ce0a0c4533804744d63701f2.zip
add restricted option to manual withdraw
Diffstat (limited to 'packages/taler-util/src/walletTypes.ts')
-rw-r--r--packages/taler-util/src/walletTypes.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/taler-util/src/walletTypes.ts b/packages/taler-util/src/walletTypes.ts
index d8696377a..a8946fbbb 100644
--- a/packages/taler-util/src/walletTypes.ts
+++ b/packages/taler-util/src/walletTypes.ts
@@ -738,6 +738,7 @@ export const codecForGetExchangeTosRequest = (): Codec<GetExchangeTosRequest> =>
export interface AcceptManualWithdrawalRequest {
exchangeBaseUrl: string;
amount: string;
+ restrictAge?: number,
}
export const codecForAcceptManualWithdrawalRequet =
@@ -745,6 +746,7 @@ export const codecForAcceptManualWithdrawalRequet =
buildCodecForObject<AcceptManualWithdrawalRequest>()
.property("exchangeBaseUrl", codecForString())
.property("amount", codecForString())
+ .property("restrictAge", codecOptional(codecForNumber()))
.build("AcceptManualWithdrawalRequest");
export interface GetWithdrawalDetailsForAmountRequest {