@trii/types 2.10.790 → 2.10.791

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.
@@ -1,5 +1,7 @@
1
1
  export type QueueType = 'Conversation' | 'Message' | 'MessageStatus' | 'MessageAckStatus' | 'Post' | 'PostComment' | 'PostReaction' | 'PostCommentReaction' | 'PostResponse' | 'Reaction' | 'ChannelML' | 'Template' | 'Email' | 'ProfilePic' | 'ChannelState' | 'WhatsAppQualityUpdate' | 'WhatsAppAccountUpdate' | 'WhatsAppCapabilityUpdate' | 'WhatsAppCapabilityUpdate' | 'WhatsAppPairCode' | 'SubscribeChannel' | 'UnsubscribeChannel' | 'ChannelHealth';
2
2
  export type QueueAction = 'add' | 'remove' | 'edited' | 'react' | 'unreact' | 'Reject' | 'Bounce' | 'Complaint';
3
+ /** Impacto de una actualización sobre la pertenencia a la bandeja. */
4
+ export type InboxImpact = 'content' | 'membership';
3
5
  export type EventQueue = {
4
6
  /** Identificador estable generado una sola vez por el productor y conservado al
5
7
  * persistir, publicar y reintentar el mismo hecho; permite deduplicar.
@@ -14,6 +16,14 @@ export type EventQueue = {
14
16
  occurredAt?: Date | null;
15
17
  type: QueueType;
16
18
  action: QueueAction;
19
+ /**
20
+ * content: no cambia la pertenencia; permite actualizar una conversación cargada
21
+ * si el evento contiene los datos necesarios.
22
+ * membership: puede cambiar la pertenencia y requiere reconciliación con /resolve.
23
+ * Ausente/null o desconocido: conservar la reconciliación existente.
24
+ * Lo informa el productor según la operación; no garantiza que el cliente esté al día.
25
+ */
26
+ inboxImpact?: InboxImpact | null;
17
27
  channelRef: string;
18
28
  data: any;
19
29
  param1: any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trii/types",
3
- "version": "2.10.790",
3
+ "version": "2.10.791",
4
4
  "description": "Types definitions for Trii projects - ",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",