UNPKG

sjursen-digital-watchtower

Version:

A TypeScript Node.js SDK for Watchtower, an Intelligence as a Service (IaaS) platform that uses Google's Gemini AI model to transform traditional logging into an active intelligence system with predictive analytics and automated decision-making capabiliti

11 lines (10 loc) 593 B
import { AxiosInstance, AxiosRequestConfig } from 'axios'; export declare abstract class BaseEndpoint { protected client: AxiosInstance; protected basePath: string; constructor(client: AxiosInstance, basePath: string); protected get<T = any>(path: string, config?: AxiosRequestConfig): Promise<T>; protected post<T = any>(path: string, data?: any, config?: AxiosRequestConfig): Promise<T>; protected put<T = any>(path: string, data?: any, config?: AxiosRequestConfig): Promise<T>; protected delete<T = any>(path: string, config?: AxiosRequestConfig): Promise<T>; }