UNPKG

@tixae-labs/web-sdk

Version:

Javascript Web SDK for doing WebRTC AI Voice Calls with TIXAE Agents.

24 lines (23 loc) 470 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const routeHandlers = { get: { agentData: { path: '/api/v2/agent/data', handler: () => { console.log('agentData'); } } }, post: {}, put: {}, delete: {} }; class Router { routes; constructor() { this.routes = routeHandlers; } } const router = new Router(); router.routes.get.agentData;