diff options
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>() |