diff options
author | Florian Dold <florian@dold.me> | 2023-09-06 11:44:07 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-09-06 11:44:07 +0200 |
commit | 324d9f871c356f48f64c170a793024139ae2694d (patch) | |
tree | 41c169b113ca1357b0e3dc07a79266f23931c203 /packages/taler-util/src/merchant-api-types.ts | |
parent | 9a1a3b350d4147243dbe2ecfcdcb846c0f3c6dcb (diff) | |
download | wallet-core-324d9f871c356f48f64c170a793024139ae2694d.tar.xz |
move merchant API client to taler-util
Diffstat (limited to 'packages/taler-util/src/merchant-api-types.ts')
-rw-r--r-- | packages/taler-util/src/merchant-api-types.ts | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/packages/taler-util/src/merchant-api-types.ts b/packages/taler-util/src/merchant-api-types.ts index ce30aa054..9933b93dc 100644 --- a/packages/taler-util/src/merchant-api-types.ts +++ b/packages/taler-util/src/merchant-api-types.ts @@ -47,7 +47,7 @@ import { WireAccount, codecForWireAccount, codecForList, - HashCodeString, + FacadeCredentials, } from "@gnu-taler/taler-util"; export interface MerchantPostOrderRequest { @@ -401,21 +401,3 @@ export interface AccountAddDetails { // To really delete credentials, set them to the type: "none". credit_facade_credentials?: FacadeCredentials; } - -export type FacadeCredentials = - | NoFacadeCredentials - | BasicAuthFacadeCredentials; - -export interface NoFacadeCredentials { - type: "none"; -} - -export interface BasicAuthFacadeCredentials { - type: "basic"; - - // Username to use to authenticate - username: string; - - // Password to use to authenticate - password: string; -} |