@docmana/sdk 0.40.0 → 0.41.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 +9 -0
- package/README.md +9 -1
- package/dist/cli.mjs +12 -9
- package/dist/cli.mjs.map +1 -1
- package/dist/errors.d.ts +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +12 -9
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +12 -9
- package/dist/index.mjs.map +1 -1
- package/dist/models/docmana-document-result.model.d.ts +6 -0
- package/dist/reviews.d.ts +5 -1
- package/dist/types.d.ts +1 -1
- package/package.json +1 -1
|
@@ -3,10 +3,16 @@ import { DocmanaMetadataExtractionResult } from "./docmana-metadata-extraction-r
|
|
|
3
3
|
import { DocmanaExtractionResult } from "./docmana-extraction-result.model.js";
|
|
4
4
|
import { DocmanaValidationResult } from "./docmana-validation-result.model.js";
|
|
5
5
|
import { DocmanaPreprocessingResult } from "./docmana-preprocessing-result.model.js";
|
|
6
|
+
import type { DocmanaScoreNodeResult } from "./docmana-score-node-result.model.js";
|
|
7
|
+
export interface DocmanaReceivabilityResult extends DocmanaScoreNodeResult {
|
|
8
|
+
scoreAcceptanceThreshold?: number;
|
|
9
|
+
scoreDescription?: string;
|
|
10
|
+
}
|
|
6
11
|
export interface DocmanaDocumentResult {
|
|
7
12
|
status: string;
|
|
8
13
|
preprocessing?: Record<string, DocmanaPreprocessingResult>;
|
|
9
14
|
classifications?: Record<string, DocmanaClassificationResult>;
|
|
15
|
+
receivabilities?: Record<string, DocmanaReceivabilityResult>;
|
|
10
16
|
metadataExtraction?: DocmanaMetadataExtractionResult;
|
|
11
17
|
extractions?: Record<string, DocmanaExtractionResult>;
|
|
12
18
|
validations?: Record<string, DocmanaValidationResult>;
|
package/dist/reviews.d.ts
CHANGED
|
@@ -154,7 +154,11 @@ export interface ReviewReviewerIdentity {
|
|
|
154
154
|
}
|
|
155
155
|
export interface ReviewDecision {
|
|
156
156
|
decision: "continue" | "exclude" | "rerun" | "reject";
|
|
157
|
-
/**
|
|
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
|
+
*/
|
|
158
162
|
reviewer?: ReviewReviewerIdentity | string;
|
|
159
163
|
version: number;
|
|
160
164
|
/** Current items or upstream context fields/classifications, never downstream/status items. */
|
package/dist/types.d.ts
CHANGED
|
@@ -270,7 +270,7 @@ export type { DocmanaExecutionResult } from "./models/docmana-execution-result.m
|
|
|
270
270
|
export type { DocmanaExecutionVerdict } from "./models/docmana-api-execution-result.model.js";
|
|
271
271
|
export type { DocmanaDocumentMapping } from "./models/docmana-document-mapping.model.js";
|
|
272
272
|
export type { DocmanaSourceDocument } from "./models/docmana-source-document.model.js";
|
|
273
|
-
export type { DocmanaDocumentResult } from "./models/docmana-document-result.model.js";
|
|
273
|
+
export type { DocmanaDocumentResult, DocmanaReceivabilityResult, } from "./models/docmana-document-result.model.js";
|
|
274
274
|
export type { DocmanaNodeResult } from "./models/docmana-node-result.model.js";
|
|
275
275
|
export type { DocmanaScoreNodeResult } from "./models/docmana-score-node-result.model.js";
|
|
276
276
|
export type { DocmanaCrossValidationResult } from "./models/docmana-cross-validation-result.model.js";
|