diff options
author | Florian Dold <florian@dold.me> | 2023-02-11 14:24:29 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-02-11 14:24:29 +0100 |
commit | 04ab9f37801f6a42b85581cc79667239d3fc79e5 (patch) | |
tree | 7f5841f5a872a6374251137b75a17d00a258740e /packages/taler-util/src/taler-types.ts | |
parent | a9073a67971e56dc58e8633d10c5e0c7c3920c8a (diff) | |
download | wallet-core-04ab9f37801f6a42b85581cc79667239d3fc79e5.tar.xz |
wallet-core,harness: implement pay templating
Diffstat (limited to 'packages/taler-util/src/taler-types.ts')
-rw-r--r-- | packages/taler-util/src/taler-types.ts | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/packages/taler-util/src/taler-types.ts b/packages/taler-util/src/taler-types.ts index bb15f0494..6e7df2c04 100644 --- a/packages/taler-util/src/taler-types.ts +++ b/packages/taler-util/src/taler-types.ts @@ -1481,10 +1481,11 @@ export const codecForWithdrawResponse = (): Codec<ExchangeWithdrawResponse> => .property("ev_sig", codecForBlindedDenominationSignature()) .build("WithdrawResponse"); -export const codecForWithdrawBatchResponse = (): Codec<ExchangeWithdrawBatchResponse> => - buildCodecForObject<ExchangeWithdrawBatchResponse>() - .property("ev_sigs", codecForList(codecForWithdrawResponse())) - .build("WithdrawBatchResponse"); +export const codecForWithdrawBatchResponse = + (): Codec<ExchangeWithdrawBatchResponse> => + buildCodecForObject<ExchangeWithdrawBatchResponse>() + .property("ev_sigs", codecForList(codecForWithdrawResponse())) + .build("WithdrawBatchResponse"); export const codecForMerchantPayResponse = (): Codec<MerchantPayResponse> => buildCodecForObject<MerchantPayResponse>() @@ -1757,7 +1758,6 @@ export interface ExchangeBatchWithdrawRequest { planchets: ExchangeWithdrawRequest[]; } - export interface ExchangeRefreshRevealRequest { new_denoms_h: HashCodeString[]; coin_evs: CoinEnvelope[]; @@ -2113,3 +2113,8 @@ export const codecForWalletKycUuid = (): Codec<WalletKycUuid> => .property("requirement_row", codecForNumber()) .property("h_payto", codecForString()) .build("WalletKycUuid"); + +export interface MerchantUsingTemplateDetails { + summary?: string; + amount?: AmountString; +} |