@docmana/sdk 0.43.0 → 0.45.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 +10 -0
- package/README.md +10 -0
- package/dist/api/fraud-detection.d.ts +2 -2
- package/dist/cli.mjs +7 -1
- package/dist/cli.mjs.map +1 -1
- package/dist/client.d.ts +4 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +7 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -1
- package/dist/index.mjs.map +1 -1
- package/dist/reviews.d.ts +7 -0
- package/dist/types.d.ts +4 -0
- package/package.json +1 -1
package/dist/reviews.d.ts
CHANGED
|
@@ -167,6 +167,13 @@ export interface ReviewDecision {
|
|
|
167
167
|
value: unknown;
|
|
168
168
|
reason?: string;
|
|
169
169
|
}>;
|
|
170
|
+
/** Move a physical page to a new document; Document API validates page and type. */
|
|
171
|
+
pageReassignments?: Array<{
|
|
172
|
+
docKey: string;
|
|
173
|
+
page: number;
|
|
174
|
+
documentType: string;
|
|
175
|
+
group?: string;
|
|
176
|
+
}>;
|
|
170
177
|
/** Confirmations are limited to the current node's items. */
|
|
171
178
|
confirmations?: string[];
|
|
172
179
|
durationSeconds?: number;
|
package/dist/types.d.ts
CHANGED
|
@@ -90,6 +90,10 @@ export interface FraudDetectionFileParams extends FraudDetectionBaseParams {
|
|
|
90
90
|
filename?: never;
|
|
91
91
|
}
|
|
92
92
|
export type FraudDetectionParams = FraudDetectionUrlParams | FraudDetectionFileParams;
|
|
93
|
+
export type FraudDetectionAsyncParams = FraudDetectionParams & {
|
|
94
|
+
/** Receives a terminal FraudDetectionResult by HTTP POST. */
|
|
95
|
+
callbackUrl?: string;
|
|
96
|
+
};
|
|
93
97
|
export interface FraudDetectionAsyncOptions {
|
|
94
98
|
signal?: AbortSignal;
|
|
95
99
|
}
|