@trii/types 2.10.791 → 2.10.792

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,7 +1,5 @@
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';
5
3
  export type EventQueue = {
6
4
  /** Identificador estable generado una sola vez por el productor y conservado al
7
5
  * persistir, publicar y reintentar el mismo hecho; permite deduplicar.
@@ -16,16 +14,15 @@ export type EventQueue = {
16
14
  occurredAt?: Date | null;
17
15
  type: QueueType;
18
16
  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;
27
17
  channelRef: string;
28
18
  data: any;
19
+ /**
20
+ * Argumentos posicionales del evento Socket.IO, en orden. Si se informa,
21
+ * reemplaza a data al emitir; ausente/null conserva data como único argumento.
22
+ * Un array vacío indica cero argumentos. Para enviar un array como único
23
+ * argumento, incluirlo como un elemento de args. Se permiten elementos null.
24
+ */
25
+ args?: unknown[] | null;
29
26
  param1: any;
30
27
  spaceId: string;
31
28
  userId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trii/types",
3
- "version": "2.10.791",
3
+ "version": "2.10.792",
4
4
  "description": "Types definitions for Trii projects - ",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",