From 499e003ff8bfcb75a20619c65c4a03a73cb7a850 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Thu, 25 Aug 2022 18:34:25 +0200 Subject: specify bank access API separately in tests --- packages/taler-util/src/walletTypes.ts | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'packages/taler-util/src/walletTypes.ts') diff --git a/packages/taler-util/src/walletTypes.ts b/packages/taler-util/src/walletTypes.ts index 6d3837a62..b34eb0d04 100644 --- a/packages/taler-util/src/walletTypes.ts +++ b/packages/taler-util/src/walletTypes.ts @@ -837,6 +837,7 @@ export const codecForTestPayArgs = (): Codec => export interface IntegrationTestArgs { exchangeBaseUrl: string; bankBaseUrl: string; + bankAccessApiBaseUrl: string; merchantBaseUrl: string; merchantAuthToken?: string; amountToWithdraw: string; @@ -851,6 +852,7 @@ export const codecForIntegrationTestArgs = (): Codec => .property("merchantAuthToken", codecOptional(codecForString())) .property("amountToSpend", codecForAmountString()) .property("amountToWithdraw", codecForAmountString()) + .property("bankAccessApiBaseUrl", codecForAmountString()) .build("IntegrationTestArgs"); export interface AddExchangeRequest { @@ -1065,6 +1067,10 @@ export interface CoreApiResponseError { export interface WithdrawTestBalanceRequest { amount: string; bankBaseUrl: string; + /** + * Bank access API base URL. Defaults to the bankBaseUrl. + */ + bankAccessApiBaseUrl: string; exchangeBaseUrl: string; forcedDenomSel?: ForcedDenomSel; } @@ -1141,6 +1147,7 @@ export const codecForWithdrawTestBalance = .property("bankBaseUrl", codecForString()) .property("exchangeBaseUrl", codecForString()) .property("forcedDenomSel", codecForAny()) + .property("bankAccessApiBaseUrl", codecForString()) .build("WithdrawTestBalanceRequest"); export interface ApplyRefundResponse { -- cgit v1.2.3