From 603efbd073a2a9aa56f801fe57d13f060821b05d Mon Sep 17 00:00:00 2001 From: Sebastian Date: Wed, 8 Feb 2023 17:39:39 -0300 Subject: use request api from web-util --- packages/merchant-backoffice-ui/src/declaration.d.ts | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) (limited to 'packages/merchant-backoffice-ui/src/declaration.d.ts') diff --git a/packages/merchant-backoffice-ui/src/declaration.d.ts b/packages/merchant-backoffice-ui/src/declaration.d.ts index 32e6b44ea..e65835bfd 100644 --- a/packages/merchant-backoffice-ui/src/declaration.d.ts +++ b/packages/merchant-backoffice-ui/src/declaration.d.ts @@ -1355,14 +1355,13 @@ export namespace MerchantBackend { interface UsingTemplateResponse { // After enter the request. The user will be pay with a taler URL. - order_id: string, - token: string, + order_id: string; + token: string; } } namespace Webhooks { interface WebhookAddDetails { - // Webhook ID to use. webhook_id: string; @@ -1380,10 +1379,8 @@ export namespace MerchantBackend { // Body template by the webhook body_template?: string; - } interface WebhookPatchDetails { - // The event of the webhook: why the webhook is used. event_type: string; @@ -1398,25 +1395,19 @@ export namespace MerchantBackend { // Body template by the webhook body_template?: string; - } interface WebhookSummaryResponse { - // List of webhooks that are present in our backend. webhooks: WebhookEntry[]; - } interface WebhookEntry { - // Webhook identifier, as found in the webhook. webhook_id: string; // The event of the webhook: why the webhook is used. event_type: string; - } interface WebhookDetails { - // The event of the webhook: why the webhook is used. event_type: string; @@ -1431,9 +1422,7 @@ export namespace MerchantBackend { // Body template by the webhook body_template?: string; - } - } interface ContractTerms { -- cgit v1.2.3