@docmana/sdk 0.39.0 → 0.40.1

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,19 @@ 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
+ /**
158
+ * Reviewer from the server's authenticated session. The object and omission
159
+ * require Consumer Edge DOC-2577 and Document API DOC-2623. Use a string on
160
+ * older deployments.
161
+ */
162
+ reviewer?: ReviewReviewerIdentity | string;
153
163
  version: number;
154
164
  /** Current items or upstream context fields/classifications, never downstream/status items. */
155
165
  corrections?: Array<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docmana/sdk",
3
- "version": "0.39.0",
3
+ "version": "0.40.1",
4
4
  "description": "Official Docmana SDK — run document-analysis flows with a single call.",
5
5
  "license": "MIT",
6
6
  "type": "module",