diff options
author | Florian Dold <florian@dold.me> | 2022-08-25 18:34:25 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2022-08-25 18:34:25 +0200 |
commit | 499e003ff8bfcb75a20619c65c4a03a73cb7a850 (patch) | |
tree | e08a9d8b5a069fdfd1d1625c98975592f547bd42 /packages/taler-util | |
parent | 22bc73ac4be09e52be0339780018f6440fdca94c (diff) | |
download | wallet-core-499e003ff8bfcb75a20619c65c4a03a73cb7a850.tar.xz |
specify bank access API separately in tests
Diffstat (limited to 'packages/taler-util')
-rw-r--r-- | packages/taler-util/src/walletTypes.ts | 7 |
1 files changed, 7 insertions, 0 deletions
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<TestPayArgs> => export interface IntegrationTestArgs { exchangeBaseUrl: string; bankBaseUrl: string; + bankAccessApiBaseUrl: string; merchantBaseUrl: string; merchantAuthToken?: string; amountToWithdraw: string; @@ -851,6 +852,7 @@ export const codecForIntegrationTestArgs = (): Codec<IntegrationTestArgs> => .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 { |