intopays
Version:
Intopays - Gateway de integração bancária
19 lines (18 loc) • 470 B
TypeScript
import { Webhook } from "../../core/models/Webhook";
import { IntopaysConstructor } from "../../app/Intopays";
export declare class WebhookRemote {
constructor(config: IntopaysConstructor);
create(data: {
endpoint: string;
}): Promise<{
data: Webhook;
}>;
find(data?: {
endpoint?: string | null;
}): Promise<{
data: Array<Webhook>;
}>;
delete(webhookId: number): Promise<{
data: Webhook;
}>;
}