diff --git a/packages/taler-util/src/transactionsTypes.ts b/packages/taler-util/src/transactionsTypes.ts index f7383f902..645f0120b 100644 --- a/packages/taler-util/src/transactionsTypes.ts +++ b/packages/taler-util/src/transactionsTypes.ts @@ -344,6 +344,11 @@ export interface TransactionTip extends TransactionCommon { // Raw amount of the tip, without extra fees that apply amountRaw: AmountString; + /** + * More information about the merchant + */ + // merchant: MerchantInfo; + // Amount will be (or was) added to the wallet's balance after fees and refreshing amountEffective: AmountString; diff --git a/packages/taler-util/src/walletTypes.ts b/packages/taler-util/src/walletTypes.ts index 245b5654e..9f7ba417a 100644 --- a/packages/taler-util/src/walletTypes.ts +++ b/packages/taler-util/src/walletTypes.ts @@ -854,6 +854,15 @@ export const codecForAbortProposalRequest = (): Codec => .property("proposalId", codecForString()) .build("AbortProposalRequest"); +interface GetContractTermsDetailsRequest { + proposalId: string; +} + +export const codecForGetContractTermsDetails = (): Codec => + buildCodecForObject() + .property("proposalId", codecForString()) + .build("GetContractTermsDetails"); + export interface PreparePayRequest { talerPayUri: string; }