@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.
@@ -38,6 +38,10 @@ export type AddEmailRecipientsResponse = {
38
38
  * AddMessageConfig
39
39
  */
40
40
  export type AddMessageConfig = {
41
+ /**
42
+ * Scope
43
+ */
44
+ scope?: 'conversation' | 'turn';
41
45
  /**
42
46
  * Text
43
47
  */
@@ -163,6 +167,12 @@ export type AgentConfig = {
163
167
  */
164
168
  channel?: 'voice' | 'video' | 'text';
165
169
  conversation?: ConversationSpec;
170
+ /**
171
+ * Elapsed Time
172
+ *
173
+ * Start every user message the model reads with the time since the session began, e.g. [12:34]. Not available on realtime models.
174
+ */
175
+ elapsed_time?: boolean;
166
176
  /**
167
177
  * Faqs
168
178
  *
@@ -293,6 +303,12 @@ export type AgentOverride = {
293
303
  */
294
304
  channel?: 'voice' | 'video' | 'text' | null;
295
305
  conversation?: ConversationSpecOverride | null;
306
+ /**
307
+ * Elapsed Time
308
+ *
309
+ * Start every user message the model reads with the time since the session began, e.g. [12:34]. Not available on realtime models.
310
+ */
311
+ elapsed_time?: boolean | null;
296
312
  /**
297
313
  * Faqs
298
314
  *
@@ -2133,6 +2149,10 @@ export type ConversationItemResponse = {
2133
2149
  * Direction
2134
2150
  */
2135
2151
  direction: 'inbound' | 'outbound' | 'internal';
2152
+ /**
2153
+ * Elapsed
2154
+ */
2155
+ elapsed: string | null;
2136
2156
  /**
2137
2157
  * Id
2138
2158
  */
@@ -2163,6 +2183,10 @@ export type ConversationItemResponse = {
2163
2183
  * Role
2164
2184
  */
2165
2185
  role: 'developer' | 'system' | 'user' | 'assistant' | 'tool' | null;
2186
+ /**
2187
+ * Scope
2188
+ */
2189
+ scope: 'conversation' | 'turn';
2166
2190
  /**
2167
2191
  * Session Id
2168
2192
  */
@@ -5458,6 +5482,10 @@ export type ItemCreatedEvent = {
5458
5482
  * Direction
5459
5483
  */
5460
5484
  direction: 'inbound' | 'outbound' | 'internal';
5485
+ /**
5486
+ * Elapsed
5487
+ */
5488
+ elapsed: string | null;
5461
5489
  /**
5462
5490
  * Event
5463
5491
  */
@@ -5492,6 +5520,10 @@ export type ItemCreatedEvent = {
5492
5520
  * Role
5493
5521
  */
5494
5522
  role: 'developer' | 'system' | 'user' | 'assistant' | 'tool' | null;
5523
+ /**
5524
+ * Scope
5525
+ */
5526
+ scope: 'conversation' | 'turn';
5495
5527
  /**
5496
5528
  * Session Id
5497
5529
  */