@ziggs-ai/contracts 0.18.0 → 0.20.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.
@@ -103,6 +103,7 @@ export type AgreementRead = {
103
103
  userReports: Array<AgreementUserReport>;
104
104
  activationFailure: AgreementActivationFailure | null;
105
105
  providerPinned: boolean;
106
+ publishedService?: boolean;
106
107
  claimSeats: AgreementClaimSeats | null;
107
108
  listingPausedAt?: string | null;
108
109
  metadata: Record<string, unknown>;
@@ -117,6 +118,7 @@ export type AgreementRead = {
117
118
  };
118
119
  access?: "read" | "write";
119
120
  temporal?: "from-now" | "from-start";
121
+ resumeAgreementId?: string;
120
122
  durationHours?: number;
121
123
  reason?: string;
122
124
  expiresAt?: string | null;
@@ -137,5 +139,6 @@ export type AgreementGetResponse = {
137
139
  agreement: AgreementRead;
138
140
  };
139
141
  export type AgreementListResponse = {
142
+ providerAgentId?: string;
140
143
  agreements: Array<AgreementRead>;
141
144
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ziggs-ai/contracts",
3
- "version": "0.18.0",
3
+ "version": "0.20.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",