@ziggs-ai/contracts 0.7.6 → 0.7.7

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.
@@ -6,10 +6,21 @@ export type DailyUsageView = {
6
6
  messagesToday: number;
7
7
  dailyLimit: number;
8
8
  };
9
+ export type MessageDestination = {
10
+ id: string;
11
+ type: string;
12
+ };
13
+ export type MessageDelivery = {
14
+ accepted: boolean;
15
+ to: MessageDestination;
16
+ broadcast: boolean;
17
+ wakesAgent: boolean;
18
+ };
9
19
  export type SendChatMessageResult = {
10
20
  success: boolean;
11
21
  message: string;
12
22
  messageId: string;
13
23
  chatId: string;
24
+ delivery: MessageDelivery;
14
25
  usage?: DailyUsageView;
15
26
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ziggs-ai/contracts",
3
- "version": "0.7.6",
3
+ "version": "0.7.7",
4
4
  "description": "Wire contracts for the Ziggs API — response shapes, error body, and socket events, shared by every client.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",