UNPKG

bankson-js-mb

Version:

Bankson.fi Node client, Mad Booster fork

11 lines 574 B
import BaseSubClient from '../baseSubClient.js'; import type { BaseResponse, PaginationOptions, WebhookResponse } from '../types.js'; type WebhookOptions = PaginationOptions; type WebhookData = Pick<WebhookResponse, 'description' | 'url' | 'test' | 'production'>; export default class Webhooks extends BaseSubClient { fetchV2(opts: WebhookOptions): Promise<BaseResponse<WebhookResponse>>; createV2(data: WebhookData): Promise<WebhookResponse>; updateV2(id: string, data: WebhookData): Promise<WebhookResponse>; } export {}; //# sourceMappingURL=webhooks.d.ts.map