@trii/types 2.10.794 → 2.10.795

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.
@@ -254,6 +254,8 @@ export interface MessageInfo {
254
254
  */
255
255
  code: string;
256
256
  data: MessageInfoVar;
257
+ /** Evento de origen; ausente en registros anteriores. */
258
+ eventRef?: MessageInfoEventRef;
257
259
  }
258
260
  export interface MessageInfoVar {
259
261
  id?: string;
@@ -267,6 +269,31 @@ export interface MessageInfoVar {
267
269
  reassignedToName?: string;
268
270
  groupName?: string;
269
271
  conversationDetails?: string;
272
+ actor?: MessageInfoActor;
273
+ sourceQueue?: MessageInfoQueue;
274
+ targetQueue?: MessageInfoQueue;
275
+ reason?: MessageInfoReason;
276
+ }
277
+ export interface MessageInfoEventRef {
278
+ /** Por ejemplo: conversation_assignment. */
279
+ type: string;
280
+ id: string;
281
+ }
282
+ export interface MessageInfoActor {
283
+ /** Valores previstos: user, system, bot, flow. */
284
+ type: string;
285
+ id?: string;
286
+ /** Nombre al momento del evento. */
287
+ name?: string;
288
+ }
289
+ export interface MessageInfoQueue {
290
+ id: string;
291
+ /** Nombre al momento del evento. */
292
+ name?: string;
293
+ }
294
+ export interface MessageInfoReason {
295
+ code?: string;
296
+ text?: string;
270
297
  }
271
298
  export interface MessageTicket {
272
299
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trii/types",
3
- "version": "2.10.794",
3
+ "version": "2.10.795",
4
4
  "description": "Types definitions for Trii projects - ",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",