@cookiemunch/sdk 0.23.0 → 0.24.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/CHANGELOG.md +6 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/types.d.ts +11 -0
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -6,6 +6,15 @@
|
|
|
6
6
|
export interface Identity {
|
|
7
7
|
orgId: string;
|
|
8
8
|
orgName?: string | null;
|
|
9
|
+
/** The one thing to fix first: the first of `rights.warningDetails` (no mail provider leads). Absent when nothing needs fixing. */
|
|
10
|
+
attention?: {
|
|
11
|
+
code: string;
|
|
12
|
+
message: string;
|
|
13
|
+
fix: string;
|
|
14
|
+
requiredScopes?: string[];
|
|
15
|
+
cbids?: string[];
|
|
16
|
+
system?: string;
|
|
17
|
+
};
|
|
9
18
|
/** The EFFECTIVE plan — the one every feature gate and limit uses. */
|
|
10
19
|
plan: string;
|
|
11
20
|
/**
|
|
@@ -145,6 +154,8 @@ export interface IntegrationHealthReport {
|
|
|
145
154
|
notChecked: number;
|
|
146
155
|
waived: number;
|
|
147
156
|
};
|
|
157
|
+
/** The finding to fix first, also `checks[0]`: a missing mail provider leads, then the first error, then the first warning. */
|
|
158
|
+
top?: HealthRow;
|
|
148
159
|
checks: HealthRow[];
|
|
149
160
|
}
|
|
150
161
|
/** PUT /v1/integration-health/waivers. */
|