@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/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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docmana/sdk",
3
- "version": "0.43.0",
3
+ "version": "0.45.0",
4
4
  "description": "Official Docmana SDK — run document-analysis flows with a single call.",
5
5
  "license": "MIT",
6
6
  "type": "module",