@useago/sdk 1.13.3 → 1.14.0
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/CHANGELOG.md +6 -0
- package/dist/angular.cjs +1 -1
- package/dist/angular.d.cts +7 -0
- package/dist/angular.d.ts +7 -0
- package/dist/angular.js +1 -1
- package/dist/{createConversationSession-DrmOaZdO.js → createConversationSession-CybQdMpK.js} +1 -1
- package/dist/{createConversationSession-Digvn0GQ.cjs → createConversationSession-jwSXhTLe.cjs} +1 -1
- package/dist/{createFormCollector-D_5SDuk9.cjs → createFormCollector-B_hSKcLd.cjs} +1 -1
- package/dist/{createFormCollector-D6_N8wYq.js → createFormCollector-DJjms78E.js} +1 -1
- package/dist/devtools.d.cts +7 -0
- package/dist/devtools.d.ts +7 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +7 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +6 -6
- package/dist/react.cjs +4 -4
- package/dist/react.d.cts +8 -1
- package/dist/react.d.ts +8 -1
- package/dist/react.js +901 -912
- package/dist/speechToText-BB25_zVM.cjs +7 -0
- package/dist/speechToText-BLvTis4S.js +1496 -0
- package/dist/testing.d.cts +7 -0
- package/dist/testing.d.ts +7 -0
- package/dist/{types-D1ZrqVhr.js → types-C39MJUE3.js} +284 -259
- package/dist/{types-DNr6XEwI.cjs → types-PGXnhAmQ.cjs} +7 -7
- package/dist/vue.cjs +1 -1
- package/dist/vue.d.cts +7 -0
- package/dist/vue.d.ts +7 -0
- package/dist/vue.js +1 -1
- package/dist/widget.cjs +5 -6
- package/dist/widget.d.cts +12 -4
- package/dist/widget.d.ts +12 -4
- package/dist/widget.js +1868 -1841
- package/llms-full.txt +23 -3
- package/package.json +1 -1
- package/dist/speechToText-BV7qxqPF.js +0 -704
- package/dist/speechToText-ZciRyyJE.cjs +0 -1
package/dist/testing.d.cts
CHANGED
|
@@ -245,6 +245,8 @@ declare class AgoClient {
|
|
|
245
245
|
* Show the returned text as a draft; call `sendMessage` when the user sends it.
|
|
246
246
|
*/
|
|
247
247
|
transcribeAudio(file: File, options?: TranscribeAudioOptions): Promise<AudioTranscription>;
|
|
248
|
+
/** The requested language, before UI fallback. */
|
|
249
|
+
getLanguage(): string | null;
|
|
248
250
|
/**
|
|
249
251
|
* The tenant's SDK configuration (`GET /api/sdk/v1/config`): per-permission
|
|
250
252
|
* agents, the ticket form the agent's `ago_ticketing` tool opens, and the
|
|
@@ -620,6 +622,9 @@ declare class AgoClient {
|
|
|
620
622
|
* SDK Events
|
|
621
623
|
*/
|
|
622
624
|
declare interface AgoClientEvents {
|
|
625
|
+
"config:changed": {
|
|
626
|
+
language: string | null;
|
|
627
|
+
};
|
|
623
628
|
/**
|
|
624
629
|
* The client-side context changed: a context entry or dynamic provider was
|
|
625
630
|
* added/removed, or a stateful helper (e.g. `createFormCollector`) updated its
|
|
@@ -1989,6 +1994,7 @@ declare interface SubmitToolCallResult {
|
|
|
1989
1994
|
|
|
1990
1995
|
/** A custom field of a ticket form. */
|
|
1991
1996
|
declare interface TicketField {
|
|
1997
|
+
prefillAliases?: string[];
|
|
1992
1998
|
id: string;
|
|
1993
1999
|
/** The key the ticketing backend expects; used as the submit key when set. */
|
|
1994
2000
|
externalId?: string;
|
|
@@ -2035,6 +2041,7 @@ declare interface TicketFieldOption {
|
|
|
2035
2041
|
|
|
2036
2042
|
/** The ticket form an agent's `ago_ticketing` tool opens in the conversation. */
|
|
2037
2043
|
declare interface TicketForm {
|
|
2044
|
+
embedDescription?: string;
|
|
2038
2045
|
id: string;
|
|
2039
2046
|
name?: string;
|
|
2040
2047
|
/** `"form"` renders the SDK's own fields; `"embed"` hosts third-party HTML. */
|
package/dist/testing.d.ts
CHANGED
|
@@ -245,6 +245,8 @@ declare class AgoClient {
|
|
|
245
245
|
* Show the returned text as a draft; call `sendMessage` when the user sends it.
|
|
246
246
|
*/
|
|
247
247
|
transcribeAudio(file: File, options?: TranscribeAudioOptions): Promise<AudioTranscription>;
|
|
248
|
+
/** The requested language, before UI fallback. */
|
|
249
|
+
getLanguage(): string | null;
|
|
248
250
|
/**
|
|
249
251
|
* The tenant's SDK configuration (`GET /api/sdk/v1/config`): per-permission
|
|
250
252
|
* agents, the ticket form the agent's `ago_ticketing` tool opens, and the
|
|
@@ -620,6 +622,9 @@ declare class AgoClient {
|
|
|
620
622
|
* SDK Events
|
|
621
623
|
*/
|
|
622
624
|
declare interface AgoClientEvents {
|
|
625
|
+
"config:changed": {
|
|
626
|
+
language: string | null;
|
|
627
|
+
};
|
|
623
628
|
/**
|
|
624
629
|
* The client-side context changed: a context entry or dynamic provider was
|
|
625
630
|
* added/removed, or a stateful helper (e.g. `createFormCollector`) updated its
|
|
@@ -1989,6 +1994,7 @@ declare interface SubmitToolCallResult {
|
|
|
1989
1994
|
|
|
1990
1995
|
/** A custom field of a ticket form. */
|
|
1991
1996
|
declare interface TicketField {
|
|
1997
|
+
prefillAliases?: string[];
|
|
1992
1998
|
id: string;
|
|
1993
1999
|
/** The key the ticketing backend expects; used as the submit key when set. */
|
|
1994
2000
|
externalId?: string;
|
|
@@ -2035,6 +2041,7 @@ declare interface TicketFieldOption {
|
|
|
2035
2041
|
|
|
2036
2042
|
/** The ticket form an agent's `ago_ticketing` tool opens in the conversation. */
|
|
2037
2043
|
declare interface TicketForm {
|
|
2044
|
+
embedDescription?: string;
|
|
2038
2045
|
id: string;
|
|
2039
2046
|
name?: string;
|
|
2040
2047
|
/** `"form"` renders the SDK's own fields; `"embed"` hosts third-party HTML. */
|