diff options
author | Florian Dold <florian@dold.me> | 2023-04-04 15:25:29 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-04-04 15:26:14 +0200 |
commit | 07d8498abc6aa21ab7c8e7146a04b4b731504c3d (patch) | |
tree | 029fdde522f60569254a23a91a86e152f450c92a /packages/taler-util/src | |
parent | cefec08ce7ef5d1fce0398d54b651c3a0762c788 (diff) |
wallet-core: implement runIntegrationTestV2
Diffstat (limited to 'packages/taler-util/src')
-rw-r--r-- | packages/taler-util/src/wallet-types.ts | 15 |
1 files changed, 15 insertions, 0 deletions
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<IntegrationTestArgs> => .property("bankAccessApiBaseUrl", codecOptional(codecForAmountString())) .build("IntegrationTestArgs"); +export interface IntegrationTestV2Args { + exchangeBaseUrl: string; + bankAccessApiBaseUrl: string; + merchantBaseUrl: string; + merchantAuthToken?: string; +} + +export const codecForIntegrationTestV2Args = (): Codec<IntegrationTestV2Args> => + buildCodecForObject<IntegrationTestV2Args>() + .property("exchangeBaseUrl", codecForString()) + .property("merchantBaseUrl", codecForString()) + .property("merchantAuthToken", codecOptional(codecForString())) + .property("bankAccessApiBaseUrl", codecForAmountString()) + .build("IntegrationTestV2Args"); + export interface AddExchangeRequest { exchangeBaseUrl: string; forceUpdate?: boolean; |