@lomi./sdk
Version:
Official TypeScript SDK for the lomi. API
30 lines • 882 B
TypeScript
/**
* WebhooksService
* AUTO-GENERATED - Do not edit manually
*
* Webhook configuration - receive real-time event notifications
*/
import type { Database } from '../types.js';
type WebhooksRow = Database['public']['Tables']['webhooks']['Row'];
type WebhooksUpdate = Database['public']['Tables']['webhooks']['Update'];
export declare class WebhooksService {
/**
* List webhooks
* Webhook configuration - receive real-time event notifications
*/
static list(options?: {
limit?: number;
offset?: number;
[key: string]: any;
}): Promise<WebhooksRow[]>;
/**
* Get a single webhook
*/
static get(id: string): Promise<WebhooksRow>;
/**
* Update an existing webhook
*/
static update(id: string, data: WebhooksUpdate): Promise<WebhooksRow>;
}
export {};
//# sourceMappingURL=WebhooksService.d.ts.map