UNPKG

watchtower-node-sdk

Version:

A TypeScript Node.js SDK for the Watchtower API, providing API key management, connection string generation, and more

20 lines (18 loc) 606 B
export interface ConnectionStringRequest { organization_apikey: string; app_apikey: string; tenant_apikey?: string; expires_in?: number; // Duration in seconds, 0 means no expiration } export interface ConnectionStringResponse { connection_string: string; expires_at?: number; // Unix timestamp when the connection string expires } export interface ParsedConnectionString { organization_apikey: string; app_apikey: string; tenant_apikey?: string; is_valid: boolean; app_name?: string; expires_at?: number; // Unix timestamp when the connection string expires }