@telnyx/ai-chat-widget 4.1.1 → 4.1.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/index.d.ts CHANGED
@@ -11,10 +11,11 @@ declare type BaseProps = {
11
11
  */
12
12
  endpoint?: 'flow' | 'aida';
13
13
  /**
14
- * The base URL for AIDA (Heavy thinking mode)
15
- * @required
14
+ * The base URL for AIDA (Heavy thinking mode).
15
+ * Optional — if omitted, defaults to the internal AIDA endpoint.
16
+ * When only flowAPIUrl is provided, the widget runs in flow-only mode.
16
17
  */
17
- chatAPIUrl: string;
18
+ chatAPIUrl?: string;
18
19
  /**
19
20
  * The base URL for Flow (Instant mode). If not provided, uses chatAPIUrl.
20
21
  */