Commit Graph
2 Commits
Author SHA1 Message Date
nutcas3 8e30626252 feat: Add TypeScript SDK with fetch-based HTTP client and comprehensive Telecom Platform API integration
- Add package.json with @telecom-platform/sdk 1.0.0, TypeScript 6.0.3, ESLint 10.2.0, Jest 30.3.0
- Add SDKConfig singleton with 30s timeout, 3 retries, 1s retry delay defaults and WebSocket URL support
- Add HttpClient with fetch API, exponential backoff retry logic, Bearer token authentication, timeout handling
- Add subscriber management: getSubscriber, listSubscribers with pagination/status
2026-04-17 17:54:35 +03:00
nutcas3 1a092dca40 feat: Add TypeScript SDK WebSocket client with real-time subscriber usage and alerts support
- Add WebSocketClient class with connect/disconnect lifecycle management and reconnection logic with exponential backoff
- Add event handler system with on/off methods for message type subscription
- Add subscribeToUsage/unsubscribeFromUsage methods for real-time subscriber usage updates by IMSI
- Add subscribeToAlerts/unsubscribeFromAlerts methods for platform-wide alert notifications
- Add send method
2026-04-17 17:41:20 +03:00