From 07d8498abc6aa21ab7c8e7146a04b4b731504c3d Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Tue, 4 Apr 2023 15:25:29 +0200 Subject: wallet-core: implement runIntegrationTestV2 --- packages/taler-util/src/wallet-types.ts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'packages/taler-util/src') diff --git a/packages/taler-util/src/wallet-types.ts b/packages/taler-util/src/wallet-types.ts index 940251366..a761c5cff 100644 --- a/packages/taler-util/src/wallet-types.ts +++ b/packages/taler-util/src/wallet-types.ts @@ -1247,6 +1247,21 @@ export const codecForIntegrationTestArgs = (): Codec => .property("bankAccessApiBaseUrl", codecOptional(codecForAmountString())) .build("IntegrationTestArgs"); +export interface IntegrationTestV2Args { + exchangeBaseUrl: string; + bankAccessApiBaseUrl: string; + merchantBaseUrl: string; + merchantAuthToken?: string; +} + +export const codecForIntegrationTestV2Args = (): Codec => + buildCodecForObject() + .property("exchangeBaseUrl", codecForString()) + .property("merchantBaseUrl", codecForString()) + .property("merchantAuthToken", codecOptional(codecForString())) + .property("bankAccessApiBaseUrl", codecForAmountString()) + .build("IntegrationTestV2Args"); + export interface AddExchangeRequest { exchangeBaseUrl: string; forceUpdate?: boolean; -- cgit v1.2.3