@docmana/sdk 0.38.0 → 0.40.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/reviews.d.ts CHANGED
@@ -147,9 +147,15 @@ export interface ReviewFinding {
147
147
  itemIds: string[];
148
148
  source?: "model" | "rule";
149
149
  }
150
+ export interface ReviewReviewerIdentity {
151
+ firstName?: string;
152
+ lastName?: string;
153
+ email?: string;
154
+ }
150
155
  export interface ReviewDecision {
151
156
  decision: "continue" | "exclude" | "rerun" | "reject";
152
- reviewer: string;
157
+ /** Server-authenticated reviewer; the string form supports older deployments. */
158
+ reviewer?: ReviewReviewerIdentity | string;
153
159
  version: number;
154
160
  /** Current items or upstream context fields/classifications, never downstream/status items. */
155
161
  corrections?: Array<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docmana/sdk",
3
- "version": "0.38.0",
3
+ "version": "0.40.0",
4
4
  "description": "Official Docmana SDK — run document-analysis flows with a single call.",
5
5
  "license": "MIT",
6
6
  "type": "module",