@docmana/sdk 0.43.0 → 0.44.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/README.md +7 -0
- package/dist/cli.mjs.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/reviews.d.ts +7 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.44.0 - 2026-11-19
|
|
4
|
+
|
|
5
|
+
- Add optional `ReviewDecision.pageReassignments` to move physical pages into
|
|
6
|
+
new typed documents through the native versioned review decision. The request
|
|
7
|
+
preserves organization scope and is sent once without automatic retry.
|
|
8
|
+
|
|
3
9
|
## 0.43.0 - 2026-11-18
|
|
4
10
|
|
|
5
11
|
- Add `authoring.renameDocumentType` and its public request/result types. It
|
package/README.md
CHANGED
|
@@ -578,6 +578,13 @@ evidence or to a tool name and zero-based call index. Tool-only values have
|
|
|
578
578
|
empty page evidence. Older Consumer versions can omit `tools`, and an extraction
|
|
579
579
|
can omit `grounding` entirely.
|
|
580
580
|
|
|
581
|
+
`reviews.decide()` accepts optional `pageReassignments`, for example
|
|
582
|
+
`[{ docKey: "receipt", page: 2, documentType: "payment_proof", group: "payment" }]`.
|
|
583
|
+
Pages are one-based and each moved page has one target type. The optional group
|
|
584
|
+
joins moved pages into the same new document. The native API validates the
|
|
585
|
+
document, physical page, target type and review version. Deploy Consumer support
|
|
586
|
+
before using this additive field; decisions are never retried automatically.
|
|
587
|
+
|
|
581
588
|
During human review, `reviews.document(executionId, docKey, "locations", options)`
|
|
582
589
|
returns a `Response` whose JSON body has type `ReviewLocationsResponse`. The
|
|
583
590
|
locations are keyed by review item ID and use one-based pages of the **reviewed
|