@squidcloud/client 1.0.346 → 1.0.347

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.
@@ -1,3 +1,7 @@
1
+ /**
2
+ * The extraction method to use for processing documents.
3
+ */
4
+ export type DocumentExtractionMethod = 'mistral_ocr' | 'legacy';
1
5
  /**
2
6
  * Options for customizing how data is extracted from a document.
3
7
  */
@@ -14,6 +18,10 @@ export interface ExtractDataFromDocumentOptions {
14
18
  * Specific page indexes to extract from the document (0-based). If omitted, all pages are extracted.
15
19
  */
16
20
  pageIndexes?: number[];
21
+ /**
22
+ * The preferred method for extracting data from the document.
23
+ */
24
+ preferredExtractionMethod?: DocumentExtractionMethod;
17
25
  }
18
26
  /**
19
27
  * Request payload for extracting data from a document via URL.
@@ -1 +1,2 @@
1
+ export declare const KOTLIN_CONTROLLERS: string[];
1
2
  export declare function getApplicationUrl(regionPrefix: string, appId: string, path: string): string;
@@ -2,4 +2,4 @@
2
2
  * The current version of the SquidCloud client package.
3
3
  * @category Platform
4
4
  */
5
- export declare const SQUIDCLOUD_CLIENT_PACKAGE_VERSION = "1.0.346";
5
+ export declare const SQUIDCLOUD_CLIENT_PACKAGE_VERSION = "1.0.347";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@squidcloud/client",
3
- "version": "1.0.346",
3
+ "version": "1.0.347",
4
4
  "description": "A typescript implementation of the Squid client",
5
5
  "main": "dist/cjs/index.js",
6
6
  "types": "dist/typescript-client/src/index.d.ts",
@@ -44,7 +44,7 @@
44
44
  },
45
45
  "optionalDependencies": {
46
46
  "bufferutil": "^4.0.8",
47
- "utf-8-validate": "^6.0.4"
47
+ "utf-8-validate": "^6.0.5"
48
48
  },
49
49
  "peerDependencies": {
50
50
  "rxjs": ">=7.5.7 <8.0.0"