@ziggs-ai/contracts 0.15.0 → 0.17.0

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
@@ -120,6 +120,11 @@ export interface ChatReadDto {
120
120
  addressKind: ChatAddressKind | null;
121
121
  /** Human-readable name so entries can be told apart at a glance. */
122
122
  name: string;
123
+ /**
124
+ * A name the room was given. Null when the room is named from who is in it.
125
+ * When set, `name` is this title. Pair rooms and team channels stay null.
126
+ */
127
+ title: string | null;
123
128
  /** Recency for sorting and triage. Null when the chat has no messages. */
124
129
  updatedAt: string | null;
125
130
  /** Newest-message snippet. Absent when the chat has no messages. */
@@ -22,6 +22,7 @@ export type AgreementTerms = {
22
22
  wakeCeiling?: number | null;
23
23
  conversationAllowance?: number | null;
24
24
  conversationAllowanceScope?: "direct" | "subtree";
25
+ conversationAllowancePeriod?: "total" | "month";
25
26
  interactionMode?: "messages" | "tasks" | "both";
26
27
  };
27
28
  export type AgreementHeld = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ziggs-ai/contracts",
3
- "version": "0.15.0",
3
+ "version": "0.17.0",
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",