@telnyx/ai-agent-lib 0.3.1-beta.1 → 0.3.1-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +6 -0
- package/dist/index.js +609 -598
- package/package.json +3 -3
package/dist/client.d.ts
CHANGED
|
@@ -20,6 +20,12 @@ export type TelnyxAIAgentConstructorParams = {
|
|
|
20
20
|
* the AI agent via `sendConversationMessage()`.
|
|
21
21
|
*/
|
|
22
22
|
chatMode?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Region for the WebRTC connection. When set, the WebSocket host is
|
|
25
|
+
* modified to route through the specified region (e.g., `"us-east-1"`
|
|
26
|
+
* turns `rtc.telnyx.com` into `us-east-1.rtc.telnyx.com`).
|
|
27
|
+
*/
|
|
28
|
+
region?: string;
|
|
23
29
|
};
|
|
24
30
|
export declare class TelnyxAIAgent extends EventEmitter<AIAgentEvents> {
|
|
25
31
|
private telnyxRTC;
|