From c3f47e8f5866838b8c58ad8762d636a2b3ec2217 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Sat, 31 Aug 2019 12:00:04 +0200 Subject: api simplication --- src/webex/wxApi.ts | 28 ---------------------------- 1 file changed, 28 deletions(-) (limited to 'src/webex/wxApi.ts') diff --git a/src/webex/wxApi.ts b/src/webex/wxApi.ts index fd01aed3f..d2e8c94f1 100644 --- a/src/webex/wxApi.ts +++ b/src/webex/wxApi.ts @@ -215,13 +215,6 @@ export function payback(coinPub: string): Promise { return callBackend("payback-coin", { coinPub }); } -/** - * Get a proposal stored in the wallet by its proposal id. - */ -export function getProposal(proposalId: number): Promise { - return callBackend("get-proposal", { proposalId }); -} - /** * Check if payment is possible or already done. */ @@ -257,13 +250,6 @@ export function confirmReserve(reservePub: string): Promise { return callBackend("confirm-reserve", { reservePub }); } -/** - * Query for a payment by fulfillment URL. - */ -export function queryPaymentByFulfillmentUrl(url: string): Promise { - return callBackend("query-payment", { url }); -} - /** * Check upgrade information */ @@ -336,14 +322,6 @@ export function getPurchase(contractTermsHash: string): Promise return callBackend("get-purchase", { contractTermsHash }); } -/** - * Get the refund fees for a refund permission, including - * subsequent refresh and unrefreshable coins. - */ -export function getFullRefundFees(args: { refundPermissions: MerchantRefundPermission[] }): Promise { - return callBackend("get-full-refund-fees", { refundPermissions: args.refundPermissions }); -} - /** * Get the status of processing a tip. @@ -367,12 +345,6 @@ export function clearNotification(): Promise { return callBackend("clear-notification", { }); } -/** - * Trigger taler payment processing (for payment, tipping and refunds). - */ -export function talerPay(msg: any): Promise { - return callBackend("taler-pay", msg); -} /** * Download a contract. -- cgit v1.2.3