@trii/types 2.10.793 → 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;
@@ -67,6 +67,7 @@ export interface PersonalInboxItem {
67
67
  lastMessageId: ID | null;
68
68
  wallRootCommentId: ID | null;
69
69
  lastActivityAt: string;
70
+ finalizedOnWebChat?: string | null;
70
71
  createdAt: string;
71
72
  pinned: boolean;
72
73
  requiresAction: boolean;
@@ -27,6 +27,7 @@ export interface UserProfile_Agent {
27
27
  inactivityTime: Number;
28
28
  }
29
29
  export interface UserProfile_Contacts {
30
+ dashboard: boolean;
30
31
  /**
31
32
  * Indicates if the user has access to the contacts functionality from the header. If set to true, the user can search and access contacts directly from the header section of the application.
32
33
  */
@@ -56,6 +57,7 @@ export interface UserProfile_Conversations {
56
57
  editConfig: boolean;
57
58
  }
58
59
  export interface UserProfile_Tickets {
60
+ searchFromHeader: boolean;
59
61
  /**
60
62
  * Indicates if the user has access to the tickets functionality
61
63
  */
@@ -66,15 +68,27 @@ export interface UserProfile_Tickets {
66
68
  isAdmin: boolean;
67
69
  }
68
70
  export interface UserProfile_Marketing {
71
+ dashboard: boolean;
72
+ editConfig: boolean;
69
73
  enabled: boolean;
70
74
  }
71
75
  export interface UserProfile_Docs {
72
76
  enabled: boolean;
73
77
  }
74
78
  export interface UserProfile_Service {
79
+ dashboard: boolean;
80
+ editConfig: boolean;
75
81
  enabled: boolean;
76
82
  }
77
83
  export interface UserProfile_DebtCollection {
84
+ dashboard: boolean;
85
+ assignDebts: boolean;
86
+ autoAssignDebt: boolean;
87
+ importDebts: boolean;
88
+ chargeDebtsManually: boolean;
89
+ addPayments: boolean;
90
+ deletePayments: boolean;
91
+ editConfig: boolean;
78
92
  enabled: boolean;
79
93
  }
80
94
  export interface UserProfile {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trii/types",
3
- "version": "2.10.793",
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",