@ziggs-ai/contracts 0.30.0 → 0.30.2

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.
package/dist/chat.d.ts CHANGED
@@ -142,6 +142,22 @@ export interface ChatReadDto {
142
142
  * Attached by the list read; absent on reads that do not resolve it.
143
143
  */
144
144
  unreadCount?: number;
145
+ /**
146
+ * Shared files the files panel would list for this reader. Zero is a room
147
+ * with nothing shared. On the chat list only.
148
+ */
149
+ sharedFileCount?: number;
150
+ /** Newest link among those files. Null when there are none. */
151
+ sharedFilesChangedAt?: string | null;
152
+ /**
153
+ * Newest join or leave on this room. Null when nobody has held it.
154
+ * The agreement's own `updatedAt` is the work side of the same comparison.
155
+ */
156
+ peopleChangedAt?: string | null;
157
+ /** When this reader last opened each header panel. Null until they do. */
158
+ filesOpenedAt?: string | null;
159
+ peopleOpenedAt?: string | null;
160
+ workOpenedAt?: string | null;
145
161
  }
146
162
  /**
147
163
  * The sender of a message as the wire carries it.
@@ -55,6 +55,7 @@ export type AgreementApproval = {
55
55
  status: "pending" | "self-consent" | "approved" | "rejected";
56
56
  respondedAt: string | null;
57
57
  respondedBy?: string | null;
58
+ heldReason?: string | null;
58
59
  };
59
60
  export type AgreementApprovalAction = {
60
61
  state: "available" | "needs_decision" | "unavailable";
@@ -94,6 +95,7 @@ export type AgreementRead = {
94
95
  status: "draft" | "open" | "active" | "fulfilled" | "cancelled" | "refunded";
95
96
  engagementKind: "hire" | "service" | "link" | "membership";
96
97
  formedBy: "principal" | "agent";
98
+ formationVerdict?: string | null;
97
99
  orgId: string | null;
98
100
  userOutcomeSatisfaction: "positive" | "negative" | null;
99
101
  approvals: Array<AgreementApproval>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ziggs-ai/contracts",
3
- "version": "0.30.0",
3
+ "version": "0.30.2",
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",