@ziggs-ai/contracts 0.7.4 → 0.7.6

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.
@@ -86,6 +86,7 @@ export type AgreementRead = {
86
86
  orgId: string | null;
87
87
  userOutcomeSatisfaction: "positive" | "negative" | null;
88
88
  approvals: Array<AgreementApproval>;
89
+ pendingApprovalPartyId?: string | null;
89
90
  userReports: Array<AgreementUserReport>;
90
91
  activationFailure: AgreementActivationFailure | null;
91
92
  providerPinned: boolean;
package/dist/inbox.d.ts CHANGED
@@ -44,6 +44,8 @@ export interface DecisionRef {
44
44
  amountCents: number | null;
45
45
  /** Present where the object expires on its own, e.g. a spend approval. */
46
46
  expiresAt: string | null;
47
+ /** Signed-in review page. Following it does not approve or mark anything seen. */
48
+ reviewUrl?: string;
47
49
  decideVia: DecideVia;
48
50
  }
49
51
  /**
@@ -118,6 +120,17 @@ export interface InboxDeliveryRef {
118
120
  scopeId: string;
119
121
  remedy: string;
120
122
  } | null;
123
+ /**
124
+ * ZIG-1840 — the ack token covering this row and everything before it in
125
+ * this window. Absent on older servers, and on rows pinned into the envelope
126
+ * out of order (they must not move the mark — ZIG-1742).
127
+ *
128
+ * The envelope's `ackTo` covers the whole window, so a reader that acks only
129
+ * at the end of a pass holds the watermark for the entire pass. That is long
130
+ * enough for the stand-in's takeover window to elapse mid-work. Acking with
131
+ * this row's token instead ends the pass's exposure at each step.
132
+ */
133
+ ackTo?: string | null;
121
134
  /** Assigned host first returned this row. Peek does not stamp it. */
122
135
  firstReadAt?: string | null;
123
136
  /** Assignee next wrote in the same chat. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ziggs-ai/contracts",
3
- "version": "0.7.4",
3
+ "version": "0.7.6",
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",