@talqing/sdk 0.10.0 → 0.10.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@talqing/sdk",
3
- "version": "0.10.0",
3
+ "version": "0.10.2",
4
4
  "description": "TypeScript client for the Talqing API — build, publish and operate AI voice, video and text agents.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://talqing.com",
@@ -43,6 +43,10 @@ export type AddEmailRecipientsResponse = {
43
43
  * AddMessageConfig
44
44
  */
45
45
  export type AddMessageConfig = {
46
+ /**
47
+ * Scope
48
+ */
49
+ scope?: 'conversation' | 'turn';
46
50
  /**
47
51
  * Text
48
52
  */
@@ -176,6 +180,12 @@ export type AgentConfig = {
176
180
  */
177
181
  channel?: 'voice' | 'video' | 'text';
178
182
  conversation?: ConversationSpec;
183
+ /**
184
+ * Elapsed Time
185
+ *
186
+ * Start every user message the model reads with the time since the session began, e.g. [12:34]. Not available on realtime models.
187
+ */
188
+ elapsed_time?: boolean;
179
189
  /**
180
190
  * Faqs
181
191
  *
@@ -308,6 +318,12 @@ export type AgentOverride = {
308
318
  */
309
319
  channel?: 'voice' | 'video' | 'text' | null;
310
320
  conversation?: ConversationSpecOverride | null;
321
+ /**
322
+ * Elapsed Time
323
+ *
324
+ * Start every user message the model reads with the time since the session began, e.g. [12:34]. Not available on realtime models.
325
+ */
326
+ elapsed_time?: boolean | null;
311
327
  /**
312
328
  * Faqs
313
329
  *
@@ -2202,6 +2218,10 @@ export type ConversationItemResponse = {
2202
2218
  * Direction
2203
2219
  */
2204
2220
  direction: 'inbound' | 'outbound' | 'internal';
2221
+ /**
2222
+ * Elapsed
2223
+ */
2224
+ elapsed: string | null;
2205
2225
  /**
2206
2226
  * Id
2207
2227
  */
@@ -2232,6 +2252,10 @@ export type ConversationItemResponse = {
2232
2252
  * Role
2233
2253
  */
2234
2254
  role: 'developer' | 'system' | 'user' | 'assistant' | 'tool' | null;
2255
+ /**
2256
+ * Scope
2257
+ */
2258
+ scope: 'conversation' | 'turn';
2235
2259
  /**
2236
2260
  * Session Id
2237
2261
  */
@@ -5629,6 +5653,10 @@ export type ItemCreatedEvent = {
5629
5653
  * Direction
5630
5654
  */
5631
5655
  direction: 'inbound' | 'outbound' | 'internal';
5656
+ /**
5657
+ * Elapsed
5658
+ */
5659
+ elapsed: string | null;
5632
5660
  /**
5633
5661
  * Event
5634
5662
  */
@@ -5663,6 +5691,10 @@ export type ItemCreatedEvent = {
5663
5691
  * Role
5664
5692
  */
5665
5693
  role: 'developer' | 'system' | 'user' | 'assistant' | 'tool' | null;
5694
+ /**
5695
+ * Scope
5696
+ */
5697
+ scope: 'conversation' | 'turn';
5666
5698
  /**
5667
5699
  * Session Id
5668
5700
  */