@cookiemunch/sdk 0.24.0 → 0.26.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/types.d.ts CHANGED
@@ -138,6 +138,17 @@ export interface HealthRow {
138
138
  by: string;
139
139
  until: number | null;
140
140
  };
141
+ /** `check:subject`, unique in a report: one check run for two connections is two rows with two keys. */
142
+ key: string;
143
+ /** Failing rows: why, in one sentence (the same as `detail`). */
144
+ reason?: string;
145
+ /** Failing rows: who has to act. `you`, `cookiemunch` (send us the `ref`), or a vendor id. */
146
+ fixedBy?: 'you' | 'cookiemunch' | (string & {});
147
+ /** The record the row is about: a connection or a scan. */
148
+ ref?: {
149
+ type: 'executor' | 'scan';
150
+ id: string;
151
+ };
141
152
  lastCheckedAt: number;
142
153
  }
143
154
  export interface IntegrationHealthReport {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cookiemunch/sdk",
3
- "version": "0.24.0",
3
+ "version": "0.26.0",
4
4
  "description": "Typed REST client for the Cookie Munch Developer API (/v1)",
5
5
  "license": "MIT",
6
6
  "type": "module",