diff options
author | Sebastian <sebasjm@gmail.com> | 2024-05-20 15:51:36 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2024-05-20 15:51:36 -0300 |
commit | ee42582de202ecc485cc0e153810f25ecb9055d8 (patch) | |
tree | 6467a919136f6fe55af6efaf422fcd270cb7b394 /packages/taler-util/src | |
parent | abafae8a1bf5b8b22b09438eac1d2292b6f836f2 (diff) | |
download | wallet-core-ee42582de202ecc485cc0e153810f25ecb9055d8.tar.xz |
fix #8855
Diffstat (limited to 'packages/taler-util/src')
-rw-r--r-- | packages/taler-util/src/wallet-types.ts | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/packages/taler-util/src/wallet-types.ts b/packages/taler-util/src/wallet-types.ts index 77c531f39..dd8eb29a2 100644 --- a/packages/taler-util/src/wallet-types.ts +++ b/packages/taler-util/src/wallet-types.ts @@ -48,6 +48,7 @@ import { } from "./codec.js"; import { CurrencySpecification, + TalerMerchantApi, TemplateParams, WithdrawalOperationStatus, canonicalizeBaseUrl, @@ -1851,9 +1852,9 @@ export interface PrepareBankIntegratedWithdrawalRequest { export const codecForPrepareBankIntegratedWithdrawalRequest = (): Codec<PrepareBankIntegratedWithdrawalRequest> => buildCodecForObject<PrepareBankIntegratedWithdrawalRequest>() - .property("talerWithdrawUri", codecForString()) - .property("selectedExchange", codecOptional(codecForString())) - .build("PrepareBankIntegratedWithdrawalRequest"); + .property("talerWithdrawUri", codecForString()) + .property("selectedExchange", codecOptional(codecForString())) + .build("PrepareBankIntegratedWithdrawalRequest"); export interface PrepareBankIntegratedWithdrawalResponse { transactionId?: string; @@ -2043,6 +2044,10 @@ export interface CheckPayTemplateRequest { talerPayTemplateUri: string; } +export type CheckPayTemplateReponse = TalerMerchantApi.WalletTemplateDetails & { + supportedCurrencies: string[]; +} + export const codecForCheckPayTemplateRequest = (): Codec<CheckPayTemplateRequest> => buildCodecForObject<CheckPayTemplateRequest>() |