@retab/node 1.0.69 → 1.0.71
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/api/documents/client.d.ts +16 -1
- package/dist/api/documents/client.d.ts.map +1 -1
- package/dist/api/documents/client.js +24 -1
- package/dist/generated_types.d.ts +1244 -145
- package/dist/generated_types.d.ts.map +1 -1
- package/dist/generated_types.js +81 -12
- package/dist/types.d.ts +9 -9
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -54,12 +54,12 @@ export declare const ZDocumentExtractRequest: z.ZodObject<{
|
|
|
54
54
|
image_resolution_dpi: z.ZodDefault<z.ZodNumber>;
|
|
55
55
|
model: z.ZodString;
|
|
56
56
|
temperature: z.ZodDefault<z.ZodNumber>;
|
|
57
|
-
reasoning_effort: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"none">, z.ZodLiteral<"minimal">, z.ZodLiteral<"low">, z.ZodLiteral<"medium">, z.ZodLiteral<"high">]>>>>;
|
|
57
|
+
reasoning_effort: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"none">, z.ZodLiteral<"minimal">, z.ZodLiteral<"low">, z.ZodLiteral<"medium">, z.ZodLiteral<"high">, z.ZodLiteral<"xhigh">]>>>>;
|
|
58
58
|
n_consensus: z.ZodDefault<z.ZodNumber>;
|
|
59
59
|
seed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
60
60
|
store: z.ZodDefault<z.ZodBoolean>;
|
|
61
|
-
modality: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"image">, z.ZodLiteral<"native">]>>;
|
|
62
61
|
parallel_ocr_keys: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
62
|
+
web_search: z.ZodDefault<z.ZodBoolean>;
|
|
63
63
|
extraction_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
64
64
|
additional_messages: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
65
65
|
role: z.ZodUnion<[z.ZodLiteral<"user">, z.ZodLiteral<"system">, z.ZodLiteral<"assistant">, z.ZodLiteral<"developer">, z.ZodLiteral<"tool">]>;
|
|
@@ -253,10 +253,10 @@ export declare const ZDocumentExtractRequest: z.ZodObject<{
|
|
|
253
253
|
json_schema: Record<string, any>;
|
|
254
254
|
model: string;
|
|
255
255
|
temperature: number;
|
|
256
|
-
reasoning_effort: "low" | "high" | "none" | "minimal" | "medium" | null;
|
|
256
|
+
reasoning_effort: "low" | "high" | "none" | "minimal" | "medium" | "xhigh" | null;
|
|
257
257
|
image_resolution_dpi: number;
|
|
258
258
|
n_consensus: number;
|
|
259
|
-
|
|
259
|
+
web_search: boolean;
|
|
260
260
|
store: boolean;
|
|
261
261
|
parallel_ocr_keys?: Record<string, string> | null | undefined;
|
|
262
262
|
extraction_id?: string | null | undefined;
|
|
@@ -306,11 +306,11 @@ export declare const ZDocumentExtractRequest: z.ZodObject<{
|
|
|
306
306
|
};
|
|
307
307
|
metadata?: Record<string, string> | undefined;
|
|
308
308
|
temperature?: number | undefined;
|
|
309
|
-
reasoning_effort?: "low" | "high" | "none" | "minimal" | "medium" | null | undefined;
|
|
309
|
+
reasoning_effort?: "low" | "high" | "none" | "minimal" | "medium" | "xhigh" | null | undefined;
|
|
310
310
|
image_resolution_dpi?: number | undefined;
|
|
311
311
|
n_consensus?: number | undefined;
|
|
312
|
-
modality?: "text" | "image" | "native" | undefined;
|
|
313
312
|
parallel_ocr_keys?: Record<string, string> | null | undefined;
|
|
313
|
+
web_search?: boolean | undefined;
|
|
314
314
|
extraction_id?: string | null | undefined;
|
|
315
315
|
seed?: number | null | undefined;
|
|
316
316
|
store?: boolean | undefined;
|
|
@@ -460,7 +460,7 @@ export declare const ZGenerateSchemaRequest: z.ZodObject<{
|
|
|
460
460
|
}>, "many">;
|
|
461
461
|
model: z.ZodDefault<z.ZodString>;
|
|
462
462
|
temperature: z.ZodDefault<z.ZodNumber>;
|
|
463
|
-
reasoning_effort: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"none">, z.ZodLiteral<"minimal">, z.ZodLiteral<"low">, z.ZodLiteral<"medium">, z.ZodLiteral<"high">]>>>>;
|
|
463
|
+
reasoning_effort: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"none">, z.ZodLiteral<"minimal">, z.ZodLiteral<"low">, z.ZodLiteral<"medium">, z.ZodLiteral<"high">, z.ZodLiteral<"xhigh">]>>>>;
|
|
464
464
|
instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
465
465
|
image_resolution_dpi: z.ZodDefault<z.ZodNumber>;
|
|
466
466
|
stream: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -468,7 +468,7 @@ export declare const ZGenerateSchemaRequest: z.ZodObject<{
|
|
|
468
468
|
stream: boolean;
|
|
469
469
|
model: string;
|
|
470
470
|
temperature: number;
|
|
471
|
-
reasoning_effort: "low" | "high" | "none" | "minimal" | "medium" | null;
|
|
471
|
+
reasoning_effort: "low" | "high" | "none" | "minimal" | "medium" | "xhigh" | null;
|
|
472
472
|
image_resolution_dpi: number;
|
|
473
473
|
documents: any[];
|
|
474
474
|
instructions?: string | null | undefined;
|
|
@@ -480,7 +480,7 @@ export declare const ZGenerateSchemaRequest: z.ZodObject<{
|
|
|
480
480
|
stream?: boolean | undefined;
|
|
481
481
|
model?: string | undefined;
|
|
482
482
|
temperature?: number | undefined;
|
|
483
|
-
reasoning_effort?: "low" | "high" | "none" | "minimal" | "medium" | null | undefined;
|
|
483
|
+
reasoning_effort?: "low" | "high" | "none" | "minimal" | "medium" | "xhigh" | null | undefined;
|
|
484
484
|
image_resolution_dpi?: number | undefined;
|
|
485
485
|
instructions?: string | null | undefined;
|
|
486
486
|
}>;
|