@retab/node 1.0.73 → 1.0.75
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 +41 -5
- package/dist/api/documents/client.d.ts.map +1 -1
- package/dist/api/documents/client.js +48 -5
- package/dist/generated_types.d.ts +250 -94
- package/dist/generated_types.d.ts.map +1 -1
- package/dist/generated_types.js +36 -11
- package/dist/types.d.ts +47 -3
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +4 -0
- package/package.json +1 -1
|
@@ -2045,7 +2045,7 @@ export declare const ZExtractionSettings: z.ZodLazy<z.ZodObject<{
|
|
|
2045
2045
|
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">]>>>>;
|
|
2046
2046
|
image_resolution_dpi: z.ZodDefault<z.ZodNumber>;
|
|
2047
2047
|
n_consensus: z.ZodDefault<z.ZodNumber>;
|
|
2048
|
-
|
|
2048
|
+
chunking_keys: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
2049
2049
|
web_search: z.ZodDefault<z.ZodBoolean>;
|
|
2050
2050
|
} & {
|
|
2051
2051
|
json_schema: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
@@ -2057,7 +2057,7 @@ export declare const ZExtractionSettings: z.ZodLazy<z.ZodObject<{
|
|
|
2057
2057
|
image_resolution_dpi: number;
|
|
2058
2058
|
n_consensus: number;
|
|
2059
2059
|
web_search: boolean;
|
|
2060
|
-
|
|
2060
|
+
chunking_keys?: Record<string, string> | null | undefined;
|
|
2061
2061
|
}, {
|
|
2062
2062
|
json_schema: Record<string, any>;
|
|
2063
2063
|
model?: string | undefined;
|
|
@@ -2065,7 +2065,7 @@ export declare const ZExtractionSettings: z.ZodLazy<z.ZodObject<{
|
|
|
2065
2065
|
reasoning_effort?: "low" | "high" | "none" | "minimal" | "medium" | "xhigh" | null | undefined;
|
|
2066
2066
|
image_resolution_dpi?: number | undefined;
|
|
2067
2067
|
n_consensus?: number | undefined;
|
|
2068
|
-
|
|
2068
|
+
chunking_keys?: Record<string, string> | null | undefined;
|
|
2069
2069
|
web_search?: boolean | undefined;
|
|
2070
2070
|
}>>;
|
|
2071
2071
|
export type ExtractionSettings = z.infer<typeof ZExtractionSettings>;
|
|
@@ -2075,7 +2075,7 @@ export declare const ZInferenceSettings: z.ZodLazy<z.ZodObject<{
|
|
|
2075
2075
|
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">]>>>>;
|
|
2076
2076
|
image_resolution_dpi: z.ZodDefault<z.ZodNumber>;
|
|
2077
2077
|
n_consensus: z.ZodDefault<z.ZodNumber>;
|
|
2078
|
-
|
|
2078
|
+
chunking_keys: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
2079
2079
|
web_search: z.ZodDefault<z.ZodBoolean>;
|
|
2080
2080
|
}, "strip", z.ZodTypeAny, {
|
|
2081
2081
|
model: string;
|
|
@@ -2084,14 +2084,14 @@ export declare const ZInferenceSettings: z.ZodLazy<z.ZodObject<{
|
|
|
2084
2084
|
image_resolution_dpi: number;
|
|
2085
2085
|
n_consensus: number;
|
|
2086
2086
|
web_search: boolean;
|
|
2087
|
-
|
|
2087
|
+
chunking_keys?: Record<string, string> | null | undefined;
|
|
2088
2088
|
}, {
|
|
2089
2089
|
model?: string | undefined;
|
|
2090
2090
|
temperature?: number | undefined;
|
|
2091
2091
|
reasoning_effort?: "low" | "high" | "none" | "minimal" | "medium" | "xhigh" | null | undefined;
|
|
2092
2092
|
image_resolution_dpi?: number | undefined;
|
|
2093
2093
|
n_consensus?: number | undefined;
|
|
2094
|
-
|
|
2094
|
+
chunking_keys?: Record<string, string> | null | undefined;
|
|
2095
2095
|
web_search?: boolean | undefined;
|
|
2096
2096
|
}>>;
|
|
2097
2097
|
export type InferenceSettings = z.infer<typeof ZInferenceSettings>;
|
|
@@ -2284,7 +2284,7 @@ export declare const ZPatchProjectRequest: z.ZodLazy<z.ZodObject<{
|
|
|
2284
2284
|
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">]>>>>;
|
|
2285
2285
|
image_resolution_dpi: z.ZodDefault<z.ZodNumber>;
|
|
2286
2286
|
n_consensus: z.ZodDefault<z.ZodNumber>;
|
|
2287
|
-
|
|
2287
|
+
chunking_keys: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
2288
2288
|
web_search: z.ZodDefault<z.ZodBoolean>;
|
|
2289
2289
|
}, "strip", z.ZodTypeAny, {
|
|
2290
2290
|
model: string;
|
|
@@ -2293,14 +2293,14 @@ export declare const ZPatchProjectRequest: z.ZodLazy<z.ZodObject<{
|
|
|
2293
2293
|
image_resolution_dpi: number;
|
|
2294
2294
|
n_consensus: number;
|
|
2295
2295
|
web_search: boolean;
|
|
2296
|
-
|
|
2296
|
+
chunking_keys?: Record<string, string> | null | undefined;
|
|
2297
2297
|
}, {
|
|
2298
2298
|
model?: string | undefined;
|
|
2299
2299
|
temperature?: number | undefined;
|
|
2300
2300
|
reasoning_effort?: "low" | "high" | "none" | "minimal" | "medium" | "xhigh" | null | undefined;
|
|
2301
2301
|
image_resolution_dpi?: number | undefined;
|
|
2302
2302
|
n_consensus?: number | undefined;
|
|
2303
|
-
|
|
2303
|
+
chunking_keys?: Record<string, string> | null | undefined;
|
|
2304
2304
|
web_search?: boolean | undefined;
|
|
2305
2305
|
}>>>;
|
|
2306
2306
|
json_schema: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
@@ -2342,7 +2342,7 @@ export declare const ZPatchProjectRequest: z.ZodLazy<z.ZodObject<{
|
|
|
2342
2342
|
image_resolution_dpi: number;
|
|
2343
2343
|
n_consensus: number;
|
|
2344
2344
|
web_search: boolean;
|
|
2345
|
-
|
|
2345
|
+
chunking_keys?: Record<string, string> | null | undefined;
|
|
2346
2346
|
};
|
|
2347
2347
|
human_in_the_loop_criteria: {
|
|
2348
2348
|
path: string;
|
|
@@ -2371,7 +2371,7 @@ export declare const ZPatchProjectRequest: z.ZodLazy<z.ZodObject<{
|
|
|
2371
2371
|
reasoning_effort?: "low" | "high" | "none" | "minimal" | "medium" | "xhigh" | null | undefined;
|
|
2372
2372
|
image_resolution_dpi?: number | undefined;
|
|
2373
2373
|
n_consensus?: number | undefined;
|
|
2374
|
-
|
|
2374
|
+
chunking_keys?: Record<string, string> | null | undefined;
|
|
2375
2375
|
web_search?: boolean | undefined;
|
|
2376
2376
|
} | undefined;
|
|
2377
2377
|
origin?: string | undefined;
|
|
@@ -2383,7 +2383,7 @@ export declare const ZPatchProjectRequest: z.ZodLazy<z.ZodObject<{
|
|
|
2383
2383
|
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">]>>>>;
|
|
2384
2384
|
image_resolution_dpi: z.ZodDefault<z.ZodNumber>;
|
|
2385
2385
|
n_consensus: z.ZodDefault<z.ZodNumber>;
|
|
2386
|
-
|
|
2386
|
+
chunking_keys: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
2387
2387
|
web_search: z.ZodDefault<z.ZodBoolean>;
|
|
2388
2388
|
}, "strip", z.ZodTypeAny, {
|
|
2389
2389
|
model: string;
|
|
@@ -2392,14 +2392,14 @@ export declare const ZPatchProjectRequest: z.ZodLazy<z.ZodObject<{
|
|
|
2392
2392
|
image_resolution_dpi: number;
|
|
2393
2393
|
n_consensus: number;
|
|
2394
2394
|
web_search: boolean;
|
|
2395
|
-
|
|
2395
|
+
chunking_keys?: Record<string, string> | null | undefined;
|
|
2396
2396
|
}, {
|
|
2397
2397
|
model?: string | undefined;
|
|
2398
2398
|
temperature?: number | undefined;
|
|
2399
2399
|
reasoning_effort?: "low" | "high" | "none" | "minimal" | "medium" | "xhigh" | null | undefined;
|
|
2400
2400
|
image_resolution_dpi?: number | undefined;
|
|
2401
2401
|
n_consensus?: number | undefined;
|
|
2402
|
-
|
|
2402
|
+
chunking_keys?: Record<string, string> | null | undefined;
|
|
2403
2403
|
web_search?: boolean | undefined;
|
|
2404
2404
|
}>>>;
|
|
2405
2405
|
json_schema: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
@@ -2439,7 +2439,7 @@ export declare const ZPatchProjectRequest: z.ZodLazy<z.ZodObject<{
|
|
|
2439
2439
|
image_resolution_dpi: number;
|
|
2440
2440
|
n_consensus: number;
|
|
2441
2441
|
web_search: boolean;
|
|
2442
|
-
|
|
2442
|
+
chunking_keys?: Record<string, string> | null | undefined;
|
|
2443
2443
|
};
|
|
2444
2444
|
human_in_the_loop_criteria: {
|
|
2445
2445
|
path: string;
|
|
@@ -2467,7 +2467,7 @@ export declare const ZPatchProjectRequest: z.ZodLazy<z.ZodObject<{
|
|
|
2467
2467
|
reasoning_effort?: "low" | "high" | "none" | "minimal" | "medium" | "xhigh" | null | undefined;
|
|
2468
2468
|
image_resolution_dpi?: number | undefined;
|
|
2469
2469
|
n_consensus?: number | undefined;
|
|
2470
|
-
|
|
2470
|
+
chunking_keys?: Record<string, string> | null | undefined;
|
|
2471
2471
|
web_search?: boolean | undefined;
|
|
2472
2472
|
} | undefined;
|
|
2473
2473
|
}>>>>;
|
|
@@ -2505,7 +2505,7 @@ export declare const ZPatchProjectRequest: z.ZodLazy<z.ZodObject<{
|
|
|
2505
2505
|
image_resolution_dpi: number;
|
|
2506
2506
|
n_consensus: number;
|
|
2507
2507
|
web_search: boolean;
|
|
2508
|
-
|
|
2508
|
+
chunking_keys?: Record<string, string> | null | undefined;
|
|
2509
2509
|
};
|
|
2510
2510
|
human_in_the_loop_criteria: {
|
|
2511
2511
|
path: string;
|
|
@@ -2527,7 +2527,7 @@ export declare const ZPatchProjectRequest: z.ZodLazy<z.ZodObject<{
|
|
|
2527
2527
|
image_resolution_dpi: number;
|
|
2528
2528
|
n_consensus: number;
|
|
2529
2529
|
web_search: boolean;
|
|
2530
|
-
|
|
2530
|
+
chunking_keys?: Record<string, string> | null | undefined;
|
|
2531
2531
|
};
|
|
2532
2532
|
human_in_the_loop_criteria: {
|
|
2533
2533
|
path: string;
|
|
@@ -2564,7 +2564,7 @@ export declare const ZPatchProjectRequest: z.ZodLazy<z.ZodObject<{
|
|
|
2564
2564
|
reasoning_effort?: "low" | "high" | "none" | "minimal" | "medium" | "xhigh" | null | undefined;
|
|
2565
2565
|
image_resolution_dpi?: number | undefined;
|
|
2566
2566
|
n_consensus?: number | undefined;
|
|
2567
|
-
|
|
2567
|
+
chunking_keys?: Record<string, string> | null | undefined;
|
|
2568
2568
|
web_search?: boolean | undefined;
|
|
2569
2569
|
} | undefined;
|
|
2570
2570
|
origin?: string | undefined;
|
|
@@ -2586,7 +2586,7 @@ export declare const ZPatchProjectRequest: z.ZodLazy<z.ZodObject<{
|
|
|
2586
2586
|
reasoning_effort?: "low" | "high" | "none" | "minimal" | "medium" | "xhigh" | null | undefined;
|
|
2587
2587
|
image_resolution_dpi?: number | undefined;
|
|
2588
2588
|
n_consensus?: number | undefined;
|
|
2589
|
-
|
|
2589
|
+
chunking_keys?: Record<string, string> | null | undefined;
|
|
2590
2590
|
web_search?: boolean | undefined;
|
|
2591
2591
|
} | undefined;
|
|
2592
2592
|
} | null | undefined;
|
|
@@ -2604,7 +2604,7 @@ export declare const ZProject: z.ZodLazy<z.ZodObject<{
|
|
|
2604
2604
|
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">]>>>>;
|
|
2605
2605
|
image_resolution_dpi: z.ZodDefault<z.ZodNumber>;
|
|
2606
2606
|
n_consensus: z.ZodDefault<z.ZodNumber>;
|
|
2607
|
-
|
|
2607
|
+
chunking_keys: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
2608
2608
|
web_search: z.ZodDefault<z.ZodBoolean>;
|
|
2609
2609
|
}, "strip", z.ZodTypeAny, {
|
|
2610
2610
|
model: string;
|
|
@@ -2613,14 +2613,14 @@ export declare const ZProject: z.ZodLazy<z.ZodObject<{
|
|
|
2613
2613
|
image_resolution_dpi: number;
|
|
2614
2614
|
n_consensus: number;
|
|
2615
2615
|
web_search: boolean;
|
|
2616
|
-
|
|
2616
|
+
chunking_keys?: Record<string, string> | null | undefined;
|
|
2617
2617
|
}, {
|
|
2618
2618
|
model?: string | undefined;
|
|
2619
2619
|
temperature?: number | undefined;
|
|
2620
2620
|
reasoning_effort?: "low" | "high" | "none" | "minimal" | "medium" | "xhigh" | null | undefined;
|
|
2621
2621
|
image_resolution_dpi?: number | undefined;
|
|
2622
2622
|
n_consensus?: number | undefined;
|
|
2623
|
-
|
|
2623
|
+
chunking_keys?: Record<string, string> | null | undefined;
|
|
2624
2624
|
web_search?: boolean | undefined;
|
|
2625
2625
|
}>>>;
|
|
2626
2626
|
json_schema: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
@@ -2662,7 +2662,7 @@ export declare const ZProject: z.ZodLazy<z.ZodObject<{
|
|
|
2662
2662
|
image_resolution_dpi: number;
|
|
2663
2663
|
n_consensus: number;
|
|
2664
2664
|
web_search: boolean;
|
|
2665
|
-
|
|
2665
|
+
chunking_keys?: Record<string, string> | null | undefined;
|
|
2666
2666
|
};
|
|
2667
2667
|
human_in_the_loop_criteria: {
|
|
2668
2668
|
path: string;
|
|
@@ -2691,7 +2691,7 @@ export declare const ZProject: z.ZodLazy<z.ZodObject<{
|
|
|
2691
2691
|
reasoning_effort?: "low" | "high" | "none" | "minimal" | "medium" | "xhigh" | null | undefined;
|
|
2692
2692
|
image_resolution_dpi?: number | undefined;
|
|
2693
2693
|
n_consensus?: number | undefined;
|
|
2694
|
-
|
|
2694
|
+
chunking_keys?: Record<string, string> | null | undefined;
|
|
2695
2695
|
web_search?: boolean | undefined;
|
|
2696
2696
|
} | undefined;
|
|
2697
2697
|
origin?: string | undefined;
|
|
@@ -2703,7 +2703,7 @@ export declare const ZProject: z.ZodLazy<z.ZodObject<{
|
|
|
2703
2703
|
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">]>>>>;
|
|
2704
2704
|
image_resolution_dpi: z.ZodDefault<z.ZodNumber>;
|
|
2705
2705
|
n_consensus: z.ZodDefault<z.ZodNumber>;
|
|
2706
|
-
|
|
2706
|
+
chunking_keys: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
2707
2707
|
web_search: z.ZodDefault<z.ZodBoolean>;
|
|
2708
2708
|
}, "strip", z.ZodTypeAny, {
|
|
2709
2709
|
model: string;
|
|
@@ -2712,14 +2712,14 @@ export declare const ZProject: z.ZodLazy<z.ZodObject<{
|
|
|
2712
2712
|
image_resolution_dpi: number;
|
|
2713
2713
|
n_consensus: number;
|
|
2714
2714
|
web_search: boolean;
|
|
2715
|
-
|
|
2715
|
+
chunking_keys?: Record<string, string> | null | undefined;
|
|
2716
2716
|
}, {
|
|
2717
2717
|
model?: string | undefined;
|
|
2718
2718
|
temperature?: number | undefined;
|
|
2719
2719
|
reasoning_effort?: "low" | "high" | "none" | "minimal" | "medium" | "xhigh" | null | undefined;
|
|
2720
2720
|
image_resolution_dpi?: number | undefined;
|
|
2721
2721
|
n_consensus?: number | undefined;
|
|
2722
|
-
|
|
2722
|
+
chunking_keys?: Record<string, string> | null | undefined;
|
|
2723
2723
|
web_search?: boolean | undefined;
|
|
2724
2724
|
}>>>;
|
|
2725
2725
|
json_schema: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
@@ -2759,7 +2759,7 @@ export declare const ZProject: z.ZodLazy<z.ZodObject<{
|
|
|
2759
2759
|
image_resolution_dpi: number;
|
|
2760
2760
|
n_consensus: number;
|
|
2761
2761
|
web_search: boolean;
|
|
2762
|
-
|
|
2762
|
+
chunking_keys?: Record<string, string> | null | undefined;
|
|
2763
2763
|
};
|
|
2764
2764
|
human_in_the_loop_criteria: {
|
|
2765
2765
|
path: string;
|
|
@@ -2787,7 +2787,7 @@ export declare const ZProject: z.ZodLazy<z.ZodObject<{
|
|
|
2787
2787
|
reasoning_effort?: "low" | "high" | "none" | "minimal" | "medium" | "xhigh" | null | undefined;
|
|
2788
2788
|
image_resolution_dpi?: number | undefined;
|
|
2789
2789
|
n_consensus?: number | undefined;
|
|
2790
|
-
|
|
2790
|
+
chunking_keys?: Record<string, string> | null | undefined;
|
|
2791
2791
|
web_search?: boolean | undefined;
|
|
2792
2792
|
} | undefined;
|
|
2793
2793
|
}>>;
|
|
@@ -2806,7 +2806,7 @@ export declare const ZProject: z.ZodLazy<z.ZodObject<{
|
|
|
2806
2806
|
image_resolution_dpi: number;
|
|
2807
2807
|
n_consensus: number;
|
|
2808
2808
|
web_search: boolean;
|
|
2809
|
-
|
|
2809
|
+
chunking_keys?: Record<string, string> | null | undefined;
|
|
2810
2810
|
};
|
|
2811
2811
|
human_in_the_loop_criteria: {
|
|
2812
2812
|
path: string;
|
|
@@ -2828,7 +2828,7 @@ export declare const ZProject: z.ZodLazy<z.ZodObject<{
|
|
|
2828
2828
|
image_resolution_dpi: number;
|
|
2829
2829
|
n_consensus: number;
|
|
2830
2830
|
web_search: boolean;
|
|
2831
|
-
|
|
2831
|
+
chunking_keys?: Record<string, string> | null | undefined;
|
|
2832
2832
|
};
|
|
2833
2833
|
human_in_the_loop_criteria: {
|
|
2834
2834
|
path: string;
|
|
@@ -2862,7 +2862,7 @@ export declare const ZProject: z.ZodLazy<z.ZodObject<{
|
|
|
2862
2862
|
reasoning_effort?: "low" | "high" | "none" | "minimal" | "medium" | "xhigh" | null | undefined;
|
|
2863
2863
|
image_resolution_dpi?: number | undefined;
|
|
2864
2864
|
n_consensus?: number | undefined;
|
|
2865
|
-
|
|
2865
|
+
chunking_keys?: Record<string, string> | null | undefined;
|
|
2866
2866
|
web_search?: boolean | undefined;
|
|
2867
2867
|
} | undefined;
|
|
2868
2868
|
origin?: string | undefined;
|
|
@@ -2884,7 +2884,7 @@ export declare const ZProject: z.ZodLazy<z.ZodObject<{
|
|
|
2884
2884
|
reasoning_effort?: "low" | "high" | "none" | "minimal" | "medium" | "xhigh" | null | undefined;
|
|
2885
2885
|
image_resolution_dpi?: number | undefined;
|
|
2886
2886
|
n_consensus?: number | undefined;
|
|
2887
|
-
|
|
2887
|
+
chunking_keys?: Record<string, string> | null | undefined;
|
|
2888
2888
|
web_search?: boolean | undefined;
|
|
2889
2889
|
} | undefined;
|
|
2890
2890
|
};
|
|
@@ -3122,7 +3122,7 @@ export declare const ZDraftConfig: z.ZodLazy<z.ZodObject<{
|
|
|
3122
3122
|
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">]>>>>;
|
|
3123
3123
|
image_resolution_dpi: z.ZodDefault<z.ZodNumber>;
|
|
3124
3124
|
n_consensus: z.ZodDefault<z.ZodNumber>;
|
|
3125
|
-
|
|
3125
|
+
chunking_keys: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
3126
3126
|
web_search: z.ZodDefault<z.ZodBoolean>;
|
|
3127
3127
|
}, "strip", z.ZodTypeAny, {
|
|
3128
3128
|
model: string;
|
|
@@ -3131,14 +3131,14 @@ export declare const ZDraftConfig: z.ZodLazy<z.ZodObject<{
|
|
|
3131
3131
|
image_resolution_dpi: number;
|
|
3132
3132
|
n_consensus: number;
|
|
3133
3133
|
web_search: boolean;
|
|
3134
|
-
|
|
3134
|
+
chunking_keys?: Record<string, string> | null | undefined;
|
|
3135
3135
|
}, {
|
|
3136
3136
|
model?: string | undefined;
|
|
3137
3137
|
temperature?: number | undefined;
|
|
3138
3138
|
reasoning_effort?: "low" | "high" | "none" | "minimal" | "medium" | "xhigh" | null | undefined;
|
|
3139
3139
|
image_resolution_dpi?: number | undefined;
|
|
3140
3140
|
n_consensus?: number | undefined;
|
|
3141
|
-
|
|
3141
|
+
chunking_keys?: Record<string, string> | null | undefined;
|
|
3142
3142
|
web_search?: boolean | undefined;
|
|
3143
3143
|
}>>>;
|
|
3144
3144
|
json_schema: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
@@ -3178,7 +3178,7 @@ export declare const ZDraftConfig: z.ZodLazy<z.ZodObject<{
|
|
|
3178
3178
|
image_resolution_dpi: number;
|
|
3179
3179
|
n_consensus: number;
|
|
3180
3180
|
web_search: boolean;
|
|
3181
|
-
|
|
3181
|
+
chunking_keys?: Record<string, string> | null | undefined;
|
|
3182
3182
|
};
|
|
3183
3183
|
human_in_the_loop_criteria: {
|
|
3184
3184
|
path: string;
|
|
@@ -3206,7 +3206,7 @@ export declare const ZDraftConfig: z.ZodLazy<z.ZodObject<{
|
|
|
3206
3206
|
reasoning_effort?: "low" | "high" | "none" | "minimal" | "medium" | "xhigh" | null | undefined;
|
|
3207
3207
|
image_resolution_dpi?: number | undefined;
|
|
3208
3208
|
n_consensus?: number | undefined;
|
|
3209
|
-
|
|
3209
|
+
chunking_keys?: Record<string, string> | null | undefined;
|
|
3210
3210
|
web_search?: boolean | undefined;
|
|
3211
3211
|
} | undefined;
|
|
3212
3212
|
}>>;
|
|
@@ -3302,7 +3302,7 @@ export declare const ZPublishedConfig: z.ZodLazy<z.ZodObject<{
|
|
|
3302
3302
|
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">]>>>>;
|
|
3303
3303
|
image_resolution_dpi: z.ZodDefault<z.ZodNumber>;
|
|
3304
3304
|
n_consensus: z.ZodDefault<z.ZodNumber>;
|
|
3305
|
-
|
|
3305
|
+
chunking_keys: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
3306
3306
|
web_search: z.ZodDefault<z.ZodBoolean>;
|
|
3307
3307
|
}, "strip", z.ZodTypeAny, {
|
|
3308
3308
|
model: string;
|
|
@@ -3311,14 +3311,14 @@ export declare const ZPublishedConfig: z.ZodLazy<z.ZodObject<{
|
|
|
3311
3311
|
image_resolution_dpi: number;
|
|
3312
3312
|
n_consensus: number;
|
|
3313
3313
|
web_search: boolean;
|
|
3314
|
-
|
|
3314
|
+
chunking_keys?: Record<string, string> | null | undefined;
|
|
3315
3315
|
}, {
|
|
3316
3316
|
model?: string | undefined;
|
|
3317
3317
|
temperature?: number | undefined;
|
|
3318
3318
|
reasoning_effort?: "low" | "high" | "none" | "minimal" | "medium" | "xhigh" | null | undefined;
|
|
3319
3319
|
image_resolution_dpi?: number | undefined;
|
|
3320
3320
|
n_consensus?: number | undefined;
|
|
3321
|
-
|
|
3321
|
+
chunking_keys?: Record<string, string> | null | undefined;
|
|
3322
3322
|
web_search?: boolean | undefined;
|
|
3323
3323
|
}>>>;
|
|
3324
3324
|
json_schema: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
@@ -3360,7 +3360,7 @@ export declare const ZPublishedConfig: z.ZodLazy<z.ZodObject<{
|
|
|
3360
3360
|
image_resolution_dpi: number;
|
|
3361
3361
|
n_consensus: number;
|
|
3362
3362
|
web_search: boolean;
|
|
3363
|
-
|
|
3363
|
+
chunking_keys?: Record<string, string> | null | undefined;
|
|
3364
3364
|
};
|
|
3365
3365
|
human_in_the_loop_criteria: {
|
|
3366
3366
|
path: string;
|
|
@@ -3389,7 +3389,7 @@ export declare const ZPublishedConfig: z.ZodLazy<z.ZodObject<{
|
|
|
3389
3389
|
reasoning_effort?: "low" | "high" | "none" | "minimal" | "medium" | "xhigh" | null | undefined;
|
|
3390
3390
|
image_resolution_dpi?: number | undefined;
|
|
3391
3391
|
n_consensus?: number | undefined;
|
|
3392
|
-
|
|
3392
|
+
chunking_keys?: Record<string, string> | null | undefined;
|
|
3393
3393
|
web_search?: boolean | undefined;
|
|
3394
3394
|
} | undefined;
|
|
3395
3395
|
origin?: string | undefined;
|
|
@@ -3515,7 +3515,7 @@ export declare const ZStoredProject: z.ZodLazy<z.ZodObject<{
|
|
|
3515
3515
|
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">]>>>>;
|
|
3516
3516
|
image_resolution_dpi: z.ZodDefault<z.ZodNumber>;
|
|
3517
3517
|
n_consensus: z.ZodDefault<z.ZodNumber>;
|
|
3518
|
-
|
|
3518
|
+
chunking_keys: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
3519
3519
|
web_search: z.ZodDefault<z.ZodBoolean>;
|
|
3520
3520
|
}, "strip", z.ZodTypeAny, {
|
|
3521
3521
|
model: string;
|
|
@@ -3524,14 +3524,14 @@ export declare const ZStoredProject: z.ZodLazy<z.ZodObject<{
|
|
|
3524
3524
|
image_resolution_dpi: number;
|
|
3525
3525
|
n_consensus: number;
|
|
3526
3526
|
web_search: boolean;
|
|
3527
|
-
|
|
3527
|
+
chunking_keys?: Record<string, string> | null | undefined;
|
|
3528
3528
|
}, {
|
|
3529
3529
|
model?: string | undefined;
|
|
3530
3530
|
temperature?: number | undefined;
|
|
3531
3531
|
reasoning_effort?: "low" | "high" | "none" | "minimal" | "medium" | "xhigh" | null | undefined;
|
|
3532
3532
|
image_resolution_dpi?: number | undefined;
|
|
3533
3533
|
n_consensus?: number | undefined;
|
|
3534
|
-
|
|
3534
|
+
chunking_keys?: Record<string, string> | null | undefined;
|
|
3535
3535
|
web_search?: boolean | undefined;
|
|
3536
3536
|
}>>>;
|
|
3537
3537
|
json_schema: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
@@ -3573,7 +3573,7 @@ export declare const ZStoredProject: z.ZodLazy<z.ZodObject<{
|
|
|
3573
3573
|
image_resolution_dpi: number;
|
|
3574
3574
|
n_consensus: number;
|
|
3575
3575
|
web_search: boolean;
|
|
3576
|
-
|
|
3576
|
+
chunking_keys?: Record<string, string> | null | undefined;
|
|
3577
3577
|
};
|
|
3578
3578
|
human_in_the_loop_criteria: {
|
|
3579
3579
|
path: string;
|
|
@@ -3602,7 +3602,7 @@ export declare const ZStoredProject: z.ZodLazy<z.ZodObject<{
|
|
|
3602
3602
|
reasoning_effort?: "low" | "high" | "none" | "minimal" | "medium" | "xhigh" | null | undefined;
|
|
3603
3603
|
image_resolution_dpi?: number | undefined;
|
|
3604
3604
|
n_consensus?: number | undefined;
|
|
3605
|
-
|
|
3605
|
+
chunking_keys?: Record<string, string> | null | undefined;
|
|
3606
3606
|
web_search?: boolean | undefined;
|
|
3607
3607
|
} | undefined;
|
|
3608
3608
|
origin?: string | undefined;
|
|
@@ -3614,7 +3614,7 @@ export declare const ZStoredProject: z.ZodLazy<z.ZodObject<{
|
|
|
3614
3614
|
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">]>>>>;
|
|
3615
3615
|
image_resolution_dpi: z.ZodDefault<z.ZodNumber>;
|
|
3616
3616
|
n_consensus: z.ZodDefault<z.ZodNumber>;
|
|
3617
|
-
|
|
3617
|
+
chunking_keys: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
3618
3618
|
web_search: z.ZodDefault<z.ZodBoolean>;
|
|
3619
3619
|
}, "strip", z.ZodTypeAny, {
|
|
3620
3620
|
model: string;
|
|
@@ -3623,14 +3623,14 @@ export declare const ZStoredProject: z.ZodLazy<z.ZodObject<{
|
|
|
3623
3623
|
image_resolution_dpi: number;
|
|
3624
3624
|
n_consensus: number;
|
|
3625
3625
|
web_search: boolean;
|
|
3626
|
-
|
|
3626
|
+
chunking_keys?: Record<string, string> | null | undefined;
|
|
3627
3627
|
}, {
|
|
3628
3628
|
model?: string | undefined;
|
|
3629
3629
|
temperature?: number | undefined;
|
|
3630
3630
|
reasoning_effort?: "low" | "high" | "none" | "minimal" | "medium" | "xhigh" | null | undefined;
|
|
3631
3631
|
image_resolution_dpi?: number | undefined;
|
|
3632
3632
|
n_consensus?: number | undefined;
|
|
3633
|
-
|
|
3633
|
+
chunking_keys?: Record<string, string> | null | undefined;
|
|
3634
3634
|
web_search?: boolean | undefined;
|
|
3635
3635
|
}>>>;
|
|
3636
3636
|
json_schema: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
@@ -3670,7 +3670,7 @@ export declare const ZStoredProject: z.ZodLazy<z.ZodObject<{
|
|
|
3670
3670
|
image_resolution_dpi: number;
|
|
3671
3671
|
n_consensus: number;
|
|
3672
3672
|
web_search: boolean;
|
|
3673
|
-
|
|
3673
|
+
chunking_keys?: Record<string, string> | null | undefined;
|
|
3674
3674
|
};
|
|
3675
3675
|
human_in_the_loop_criteria: {
|
|
3676
3676
|
path: string;
|
|
@@ -3698,7 +3698,7 @@ export declare const ZStoredProject: z.ZodLazy<z.ZodObject<{
|
|
|
3698
3698
|
reasoning_effort?: "low" | "high" | "none" | "minimal" | "medium" | "xhigh" | null | undefined;
|
|
3699
3699
|
image_resolution_dpi?: number | undefined;
|
|
3700
3700
|
n_consensus?: number | undefined;
|
|
3701
|
-
|
|
3701
|
+
chunking_keys?: Record<string, string> | null | undefined;
|
|
3702
3702
|
web_search?: boolean | undefined;
|
|
3703
3703
|
} | undefined;
|
|
3704
3704
|
}>>;
|
|
@@ -3719,7 +3719,7 @@ export declare const ZStoredProject: z.ZodLazy<z.ZodObject<{
|
|
|
3719
3719
|
image_resolution_dpi: number;
|
|
3720
3720
|
n_consensus: number;
|
|
3721
3721
|
web_search: boolean;
|
|
3722
|
-
|
|
3722
|
+
chunking_keys?: Record<string, string> | null | undefined;
|
|
3723
3723
|
};
|
|
3724
3724
|
human_in_the_loop_criteria: {
|
|
3725
3725
|
path: string;
|
|
@@ -3741,7 +3741,7 @@ export declare const ZStoredProject: z.ZodLazy<z.ZodObject<{
|
|
|
3741
3741
|
image_resolution_dpi: number;
|
|
3742
3742
|
n_consensus: number;
|
|
3743
3743
|
web_search: boolean;
|
|
3744
|
-
|
|
3744
|
+
chunking_keys?: Record<string, string> | null | undefined;
|
|
3745
3745
|
};
|
|
3746
3746
|
human_in_the_loop_criteria: {
|
|
3747
3747
|
path: string;
|
|
@@ -3776,7 +3776,7 @@ export declare const ZStoredProject: z.ZodLazy<z.ZodObject<{
|
|
|
3776
3776
|
reasoning_effort?: "low" | "high" | "none" | "minimal" | "medium" | "xhigh" | null | undefined;
|
|
3777
3777
|
image_resolution_dpi?: number | undefined;
|
|
3778
3778
|
n_consensus?: number | undefined;
|
|
3779
|
-
|
|
3779
|
+
chunking_keys?: Record<string, string> | null | undefined;
|
|
3780
3780
|
web_search?: boolean | undefined;
|
|
3781
3781
|
} | undefined;
|
|
3782
3782
|
origin?: string | undefined;
|
|
@@ -3798,7 +3798,7 @@ export declare const ZStoredProject: z.ZodLazy<z.ZodObject<{
|
|
|
3798
3798
|
reasoning_effort?: "low" | "high" | "none" | "minimal" | "medium" | "xhigh" | null | undefined;
|
|
3799
3799
|
image_resolution_dpi?: number | undefined;
|
|
3800
3800
|
n_consensus?: number | undefined;
|
|
3801
|
-
|
|
3801
|
+
chunking_keys?: Record<string, string> | null | undefined;
|
|
3802
3802
|
web_search?: boolean | undefined;
|
|
3803
3803
|
} | undefined;
|
|
3804
3804
|
};
|
|
@@ -11469,7 +11469,7 @@ export declare const ZResponse: z.ZodLazy<z.ZodObject<{
|
|
|
11469
11469
|
type?: "item_reference" | null | undefined;
|
|
11470
11470
|
}>>]>, "many">]>>>;
|
|
11471
11471
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
11472
|
-
model: z.ZodUnion<[z.ZodString, z.ZodUnion<[z.ZodLiteral<"gpt-5.1">, z.ZodLiteral<"gpt-5.1-2025-11-13">, z.ZodLiteral<"gpt-5.1-codex">, z.ZodLiteral<"gpt-5.1-mini">, z.ZodLiteral<"gpt-5.1-chat-latest">, z.ZodLiteral<"gpt-5">, z.ZodLiteral<"gpt-5-mini">, z.ZodLiteral<"gpt-5-nano">, z.ZodLiteral<"gpt-5-2025-08-07">, z.ZodLiteral<"gpt-5-mini-2025-08-07">, z.ZodLiteral<"gpt-5-nano-2025-08-07">, z.ZodLiteral<"gpt-5-chat-latest">, z.ZodLiteral<"gpt-4.1">, z.ZodLiteral<"gpt-4.1-mini">, z.ZodLiteral<"gpt-4.1-nano">, z.ZodLiteral<"gpt-4.1-2025-04-14">, z.ZodLiteral<"gpt-4.1-mini-2025-04-14">, z.ZodLiteral<"gpt-4.1-nano-2025-04-14">, z.ZodLiteral<"o4-mini">, z.ZodLiteral<"o4-mini-2025-04-16">, z.ZodLiteral<"o3">, z.ZodLiteral<"o3-2025-04-16">, z.ZodLiteral<"o3-mini">, z.ZodLiteral<"o3-mini-2025-01-31">, z.ZodLiteral<"o1">, z.ZodLiteral<"o1-2024-12-17">, z.ZodLiteral<"o1-preview">, z.ZodLiteral<"o1-preview-2024-09-12">, z.ZodLiteral<"o1-mini">, z.ZodLiteral<"o1-mini-2024-09-12">, z.ZodLiteral<"gpt-4o">, z.ZodLiteral<"gpt-4o-2024-11-20">, z.ZodLiteral<"gpt-4o-2024-08-06">, z.ZodLiteral<"gpt-4o-2024-05-13">, z.ZodLiteral<"gpt-4o-audio-preview">, z.ZodLiteral<"gpt-4o-audio-preview-2024-10-01">, z.ZodLiteral<"gpt-4o-audio-preview-2024-12-17">, z.ZodLiteral<"gpt-4o-audio-preview-2025-06-03">, z.ZodLiteral<"gpt-4o-mini-audio-preview">, z.ZodLiteral<"gpt-4o-mini-audio-preview-2024-12-17">, z.ZodLiteral<"gpt-4o-search-preview">, z.ZodLiteral<"gpt-4o-mini-search-preview">, z.ZodLiteral<"gpt-4o-search-preview-2025-03-11">, z.ZodLiteral<"gpt-4o-mini-search-preview-2025-03-11">, z.ZodLiteral<"chatgpt-4o-latest">, z.ZodLiteral<"codex-mini-latest">, z.ZodLiteral<"gpt-4o-mini">, z.ZodLiteral<"gpt-4o-mini-2024-07-18">, z.ZodLiteral<"gpt-4-turbo">, z.ZodLiteral<"gpt-4-turbo-2024-04-09">, z.ZodLiteral<"gpt-4-0125-preview">, z.ZodLiteral<"gpt-4-turbo-preview">, z.ZodLiteral<"gpt-4-1106-preview">, z.ZodLiteral<"gpt-4-vision-preview">, z.ZodLiteral<"gpt-4">, z.ZodLiteral<"gpt-4-0314">, z.ZodLiteral<"gpt-4-0613">, z.ZodLiteral<"gpt-4-32k">, z.ZodLiteral<"gpt-4-32k-0314">, z.ZodLiteral<"gpt-4-32k-0613">, z.ZodLiteral<"gpt-3.5-turbo">, z.ZodLiteral<"gpt-3.5-turbo-16k">, z.ZodLiteral<"gpt-3.5-turbo-0301">, z.ZodLiteral<"gpt-3.5-turbo-0613">, z.ZodLiteral<"gpt-3.5-turbo-1106">, z.ZodLiteral<"gpt-3.5-turbo-0125">, z.ZodLiteral<"gpt-3.5-turbo-16k-0613">]>, z.ZodUnion<[z.ZodLiteral<"o1-pro">, z.ZodLiteral<"o1-pro-2025-03-19">, z.ZodLiteral<"o3-pro">, z.ZodLiteral<"o3-pro-2025-06-10">, z.ZodLiteral<"o3-deep-research">, z.ZodLiteral<"o3-deep-research-2025-06-26">, z.ZodLiteral<"o4-mini-deep-research">, z.ZodLiteral<"o4-mini-deep-research-2025-06-26">, z.ZodLiteral<"computer-use-preview">, z.ZodLiteral<"computer-use-preview-2025-03-11">, z.ZodLiteral<"gpt-5-codex">, z.ZodLiteral<"gpt-5-pro">, z.ZodLiteral<"gpt-5-pro-2025-10-06">, z.ZodLiteral<"gpt-5.1-codex-max">]>]>;
|
|
11472
|
+
model: z.ZodUnion<[z.ZodString, z.ZodUnion<[z.ZodLiteral<"gpt-5.2">, z.ZodLiteral<"gpt-5.2-2025-12-11">, z.ZodLiteral<"gpt-5.2-chat-latest">, z.ZodLiteral<"gpt-5.2-pro">, z.ZodLiteral<"gpt-5.2-pro-2025-12-11">, z.ZodLiteral<"gpt-5.1">, z.ZodLiteral<"gpt-5.1-2025-11-13">, z.ZodLiteral<"gpt-5.1-codex">, z.ZodLiteral<"gpt-5.1-mini">, z.ZodLiteral<"gpt-5.1-chat-latest">, z.ZodLiteral<"gpt-5">, z.ZodLiteral<"gpt-5-mini">, z.ZodLiteral<"gpt-5-nano">, z.ZodLiteral<"gpt-5-2025-08-07">, z.ZodLiteral<"gpt-5-mini-2025-08-07">, z.ZodLiteral<"gpt-5-nano-2025-08-07">, z.ZodLiteral<"gpt-5-chat-latest">, z.ZodLiteral<"gpt-4.1">, z.ZodLiteral<"gpt-4.1-mini">, z.ZodLiteral<"gpt-4.1-nano">, z.ZodLiteral<"gpt-4.1-2025-04-14">, z.ZodLiteral<"gpt-4.1-mini-2025-04-14">, z.ZodLiteral<"gpt-4.1-nano-2025-04-14">, z.ZodLiteral<"o4-mini">, z.ZodLiteral<"o4-mini-2025-04-16">, z.ZodLiteral<"o3">, z.ZodLiteral<"o3-2025-04-16">, z.ZodLiteral<"o3-mini">, z.ZodLiteral<"o3-mini-2025-01-31">, z.ZodLiteral<"o1">, z.ZodLiteral<"o1-2024-12-17">, z.ZodLiteral<"o1-preview">, z.ZodLiteral<"o1-preview-2024-09-12">, z.ZodLiteral<"o1-mini">, z.ZodLiteral<"o1-mini-2024-09-12">, z.ZodLiteral<"gpt-4o">, z.ZodLiteral<"gpt-4o-2024-11-20">, z.ZodLiteral<"gpt-4o-2024-08-06">, z.ZodLiteral<"gpt-4o-2024-05-13">, z.ZodLiteral<"gpt-4o-audio-preview">, z.ZodLiteral<"gpt-4o-audio-preview-2024-10-01">, z.ZodLiteral<"gpt-4o-audio-preview-2024-12-17">, z.ZodLiteral<"gpt-4o-audio-preview-2025-06-03">, z.ZodLiteral<"gpt-4o-mini-audio-preview">, z.ZodLiteral<"gpt-4o-mini-audio-preview-2024-12-17">, z.ZodLiteral<"gpt-4o-search-preview">, z.ZodLiteral<"gpt-4o-mini-search-preview">, z.ZodLiteral<"gpt-4o-search-preview-2025-03-11">, z.ZodLiteral<"gpt-4o-mini-search-preview-2025-03-11">, z.ZodLiteral<"chatgpt-4o-latest">, z.ZodLiteral<"codex-mini-latest">, z.ZodLiteral<"gpt-4o-mini">, z.ZodLiteral<"gpt-4o-mini-2024-07-18">, z.ZodLiteral<"gpt-4-turbo">, z.ZodLiteral<"gpt-4-turbo-2024-04-09">, z.ZodLiteral<"gpt-4-0125-preview">, z.ZodLiteral<"gpt-4-turbo-preview">, z.ZodLiteral<"gpt-4-1106-preview">, z.ZodLiteral<"gpt-4-vision-preview">, z.ZodLiteral<"gpt-4">, z.ZodLiteral<"gpt-4-0314">, z.ZodLiteral<"gpt-4-0613">, z.ZodLiteral<"gpt-4-32k">, z.ZodLiteral<"gpt-4-32k-0314">, z.ZodLiteral<"gpt-4-32k-0613">, z.ZodLiteral<"gpt-3.5-turbo">, z.ZodLiteral<"gpt-3.5-turbo-16k">, z.ZodLiteral<"gpt-3.5-turbo-0301">, z.ZodLiteral<"gpt-3.5-turbo-0613">, z.ZodLiteral<"gpt-3.5-turbo-1106">, z.ZodLiteral<"gpt-3.5-turbo-0125">, z.ZodLiteral<"gpt-3.5-turbo-16k-0613">]>, z.ZodUnion<[z.ZodLiteral<"o1-pro">, z.ZodLiteral<"o1-pro-2025-03-19">, z.ZodLiteral<"o3-pro">, z.ZodLiteral<"o3-pro-2025-06-10">, z.ZodLiteral<"o3-deep-research">, z.ZodLiteral<"o3-deep-research-2025-06-26">, z.ZodLiteral<"o4-mini-deep-research">, z.ZodLiteral<"o4-mini-deep-research-2025-06-26">, z.ZodLiteral<"computer-use-preview">, z.ZodLiteral<"computer-use-preview-2025-03-11">, z.ZodLiteral<"gpt-5-codex">, z.ZodLiteral<"gpt-5-pro">, z.ZodLiteral<"gpt-5-pro-2025-10-06">, z.ZodLiteral<"gpt-5.1-codex-max">]>]>;
|
|
11473
11473
|
object: z.ZodLiteral<"response">;
|
|
11474
11474
|
output: z.ZodArray<z.ZodUnion<[z.ZodLazy<z.ZodObject<{
|
|
11475
11475
|
id: z.ZodString;
|
|
@@ -13076,7 +13076,7 @@ export declare const ZResponse: z.ZodLazy<z.ZodObject<{
|
|
|
13076
13076
|
image_url?: string | null | undefined;
|
|
13077
13077
|
file_id?: string | null | undefined;
|
|
13078
13078
|
}>>>>;
|
|
13079
|
-
model: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"gpt-image-1">, z.ZodLiteral<"gpt-image-1-mini">]>>>;
|
|
13079
|
+
model: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodUnion<[z.ZodLiteral<"gpt-image-1">, z.ZodLiteral<"gpt-image-1-mini">]>]>>>;
|
|
13080
13080
|
moderation: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodLiteral<"low">]>>>;
|
|
13081
13081
|
output_compression: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
13082
13082
|
output_format: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"png">, z.ZodLiteral<"webp">, z.ZodLiteral<"jpeg">]>>>;
|
|
@@ -13085,7 +13085,7 @@ export declare const ZResponse: z.ZodLazy<z.ZodObject<{
|
|
|
13085
13085
|
size: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"1024x1024">, z.ZodLiteral<"1024x1536">, z.ZodLiteral<"1536x1024">, z.ZodLiteral<"auto">]>>>;
|
|
13086
13086
|
}, "strip", z.ZodTypeAny, {
|
|
13087
13087
|
type: "image_generation";
|
|
13088
|
-
model?:
|
|
13088
|
+
model?: string | null | undefined;
|
|
13089
13089
|
size?: "auto" | "1024x1024" | "1024x1536" | "1536x1024" | null | undefined;
|
|
13090
13090
|
background?: "auto" | "transparent" | "opaque" | null | undefined;
|
|
13091
13091
|
input_fidelity?: "low" | "high" | null | undefined;
|
|
@@ -13100,7 +13100,7 @@ export declare const ZResponse: z.ZodLazy<z.ZodObject<{
|
|
|
13100
13100
|
quality?: "auto" | "low" | "high" | "medium" | null | undefined;
|
|
13101
13101
|
}, {
|
|
13102
13102
|
type: "image_generation";
|
|
13103
|
-
model?:
|
|
13103
|
+
model?: string | null | undefined;
|
|
13104
13104
|
size?: "auto" | "1024x1024" | "1024x1536" | "1536x1024" | null | undefined;
|
|
13105
13105
|
background?: "auto" | "transparent" | "opaque" | null | undefined;
|
|
13106
13106
|
input_fidelity?: "low" | "high" | null | undefined;
|
|
@@ -13785,7 +13785,7 @@ export declare const ZResponse: z.ZodLazy<z.ZodObject<{
|
|
|
13785
13785
|
};
|
|
13786
13786
|
} | {
|
|
13787
13787
|
type: "image_generation";
|
|
13788
|
-
model?:
|
|
13788
|
+
model?: string | null | undefined;
|
|
13789
13789
|
size?: "auto" | "1024x1024" | "1024x1536" | "1536x1024" | null | undefined;
|
|
13790
13790
|
background?: "auto" | "transparent" | "opaque" | null | undefined;
|
|
13791
13791
|
input_fidelity?: "low" | "high" | null | undefined;
|
|
@@ -14639,7 +14639,7 @@ export declare const ZResponse: z.ZodLazy<z.ZodObject<{
|
|
|
14639
14639
|
};
|
|
14640
14640
|
} | {
|
|
14641
14641
|
type: "image_generation";
|
|
14642
|
-
model?:
|
|
14642
|
+
model?: string | null | undefined;
|
|
14643
14643
|
size?: "auto" | "1024x1024" | "1024x1536" | "1536x1024" | null | undefined;
|
|
14644
14644
|
background?: "auto" | "transparent" | "opaque" | null | undefined;
|
|
14645
14645
|
input_fidelity?: "low" | "high" | null | undefined;
|
|
@@ -16501,6 +16501,17 @@ export declare const ZDocumentTransformResponse: z.ZodLazy<z.ZodObject<{
|
|
|
16501
16501
|
};
|
|
16502
16502
|
}>>;
|
|
16503
16503
|
export type DocumentTransformResponse = z.infer<typeof ZDocumentTransformResponse>;
|
|
16504
|
+
export declare const ZCategory: z.ZodLazy<z.ZodObject<{
|
|
16505
|
+
name: z.ZodString;
|
|
16506
|
+
description: z.ZodString;
|
|
16507
|
+
}, "strip", z.ZodTypeAny, {
|
|
16508
|
+
name: string;
|
|
16509
|
+
description: string;
|
|
16510
|
+
}, {
|
|
16511
|
+
name: string;
|
|
16512
|
+
description: string;
|
|
16513
|
+
}>>;
|
|
16514
|
+
export type Category = z.infer<typeof ZCategory>;
|
|
16504
16515
|
export declare const ZParseRequest: z.ZodLazy<z.ZodObject<{
|
|
16505
16516
|
document: z.ZodLazy<z.ZodObject<{
|
|
16506
16517
|
filename: z.ZodString;
|
|
@@ -16596,6 +16607,92 @@ export declare const ZRetabUsage: z.ZodLazy<z.ZodObject<{
|
|
|
16596
16607
|
credits: number;
|
|
16597
16608
|
}>>;
|
|
16598
16609
|
export type RetabUsage = z.infer<typeof ZRetabUsage>;
|
|
16610
|
+
export declare const ZSplitRequest: z.ZodLazy<z.ZodObject<{
|
|
16611
|
+
document: z.ZodLazy<z.ZodObject<{
|
|
16612
|
+
filename: z.ZodString;
|
|
16613
|
+
url: z.ZodString;
|
|
16614
|
+
}, "strip", z.ZodTypeAny, {
|
|
16615
|
+
filename: string;
|
|
16616
|
+
url: string;
|
|
16617
|
+
}, {
|
|
16618
|
+
filename: string;
|
|
16619
|
+
url: string;
|
|
16620
|
+
}>>;
|
|
16621
|
+
categories: z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
16622
|
+
name: z.ZodString;
|
|
16623
|
+
description: z.ZodString;
|
|
16624
|
+
}, "strip", z.ZodTypeAny, {
|
|
16625
|
+
name: string;
|
|
16626
|
+
description: string;
|
|
16627
|
+
}, {
|
|
16628
|
+
name: string;
|
|
16629
|
+
description: string;
|
|
16630
|
+
}>>, "many">;
|
|
16631
|
+
model: z.ZodDefault<z.ZodString>;
|
|
16632
|
+
}, "strip", z.ZodTypeAny, {
|
|
16633
|
+
model: string;
|
|
16634
|
+
document: {
|
|
16635
|
+
filename: string;
|
|
16636
|
+
url: string;
|
|
16637
|
+
};
|
|
16638
|
+
categories: {
|
|
16639
|
+
name: string;
|
|
16640
|
+
description: string;
|
|
16641
|
+
}[];
|
|
16642
|
+
}, {
|
|
16643
|
+
document: {
|
|
16644
|
+
filename: string;
|
|
16645
|
+
url: string;
|
|
16646
|
+
};
|
|
16647
|
+
categories: {
|
|
16648
|
+
name: string;
|
|
16649
|
+
description: string;
|
|
16650
|
+
}[];
|
|
16651
|
+
model?: string | undefined;
|
|
16652
|
+
}>>;
|
|
16653
|
+
export type SplitRequest = z.infer<typeof ZSplitRequest>;
|
|
16654
|
+
export declare const ZSplitResponse: z.ZodLazy<z.ZodObject<{
|
|
16655
|
+
splits: z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
16656
|
+
name: z.ZodString;
|
|
16657
|
+
start_page: z.ZodNumber;
|
|
16658
|
+
end_page: z.ZodNumber;
|
|
16659
|
+
}, "strip", z.ZodTypeAny, {
|
|
16660
|
+
name: string;
|
|
16661
|
+
start_page: number;
|
|
16662
|
+
end_page: number;
|
|
16663
|
+
}, {
|
|
16664
|
+
name: string;
|
|
16665
|
+
start_page: number;
|
|
16666
|
+
end_page: number;
|
|
16667
|
+
}>>, "many">;
|
|
16668
|
+
}, "strip", z.ZodTypeAny, {
|
|
16669
|
+
splits: {
|
|
16670
|
+
name: string;
|
|
16671
|
+
start_page: number;
|
|
16672
|
+
end_page: number;
|
|
16673
|
+
}[];
|
|
16674
|
+
}, {
|
|
16675
|
+
splits: {
|
|
16676
|
+
name: string;
|
|
16677
|
+
start_page: number;
|
|
16678
|
+
end_page: number;
|
|
16679
|
+
}[];
|
|
16680
|
+
}>>;
|
|
16681
|
+
export type SplitResponse = z.infer<typeof ZSplitResponse>;
|
|
16682
|
+
export declare const ZSplitResult: z.ZodLazy<z.ZodObject<{
|
|
16683
|
+
name: z.ZodString;
|
|
16684
|
+
start_page: z.ZodNumber;
|
|
16685
|
+
end_page: z.ZodNumber;
|
|
16686
|
+
}, "strip", z.ZodTypeAny, {
|
|
16687
|
+
name: string;
|
|
16688
|
+
start_page: number;
|
|
16689
|
+
end_page: number;
|
|
16690
|
+
}, {
|
|
16691
|
+
name: string;
|
|
16692
|
+
start_page: number;
|
|
16693
|
+
end_page: number;
|
|
16694
|
+
}>>;
|
|
16695
|
+
export type SplitResult = z.infer<typeof ZSplitResult>;
|
|
16599
16696
|
export declare const ZBBox: z.ZodLazy<z.ZodObject<{
|
|
16600
16697
|
left: z.ZodNumber;
|
|
16601
16698
|
top: z.ZodNumber;
|
|
@@ -16638,8 +16735,10 @@ export declare const ZBaseFormField: z.ZodLazy<z.ZodObject<{
|
|
|
16638
16735
|
}>>;
|
|
16639
16736
|
description: z.ZodString;
|
|
16640
16737
|
type: z.ZodAny;
|
|
16738
|
+
key: z.ZodString;
|
|
16641
16739
|
}, "strip", z.ZodTypeAny, {
|
|
16642
16740
|
description: string;
|
|
16741
|
+
key: string;
|
|
16643
16742
|
bbox: {
|
|
16644
16743
|
width: number;
|
|
16645
16744
|
height: number;
|
|
@@ -16650,6 +16749,7 @@ export declare const ZBaseFormField: z.ZodLazy<z.ZodObject<{
|
|
|
16650
16749
|
type?: any;
|
|
16651
16750
|
}, {
|
|
16652
16751
|
description: string;
|
|
16752
|
+
key: string;
|
|
16653
16753
|
bbox: {
|
|
16654
16754
|
width: number;
|
|
16655
16755
|
height: number;
|
|
@@ -16661,7 +16761,7 @@ export declare const ZBaseFormField: z.ZodLazy<z.ZodObject<{
|
|
|
16661
16761
|
}>>;
|
|
16662
16762
|
export type BaseFormField = z.infer<typeof ZBaseFormField>;
|
|
16663
16763
|
export declare const ZEditRequest: z.ZodLazy<z.ZodObject<{
|
|
16664
|
-
document: z.ZodLazy<z.ZodObject<{
|
|
16764
|
+
document: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodObject<{
|
|
16665
16765
|
filename: z.ZodString;
|
|
16666
16766
|
url: z.ZodString;
|
|
16667
16767
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -16670,24 +16770,26 @@ export declare const ZEditRequest: z.ZodLazy<z.ZodObject<{
|
|
|
16670
16770
|
}, {
|
|
16671
16771
|
filename: string;
|
|
16672
16772
|
url: string;
|
|
16673
|
-
}
|
|
16773
|
+
}>>>>;
|
|
16674
16774
|
model: z.ZodDefault<z.ZodString>;
|
|
16675
|
-
} & {
|
|
16676
16775
|
filling_instructions: z.ZodString;
|
|
16776
|
+
template_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16677
16777
|
}, "strip", z.ZodTypeAny, {
|
|
16678
16778
|
model: string;
|
|
16679
|
-
document: {
|
|
16680
|
-
filename: string;
|
|
16681
|
-
url: string;
|
|
16682
|
-
};
|
|
16683
16779
|
filling_instructions: string;
|
|
16684
|
-
|
|
16685
|
-
document: {
|
|
16780
|
+
document?: {
|
|
16686
16781
|
filename: string;
|
|
16687
16782
|
url: string;
|
|
16688
|
-
};
|
|
16783
|
+
} | null | undefined;
|
|
16784
|
+
template_id?: string | null | undefined;
|
|
16785
|
+
}, {
|
|
16689
16786
|
filling_instructions: string;
|
|
16690
16787
|
model?: string | undefined;
|
|
16788
|
+
document?: {
|
|
16789
|
+
filename: string;
|
|
16790
|
+
url: string;
|
|
16791
|
+
} | null | undefined;
|
|
16792
|
+
template_id?: string | null | undefined;
|
|
16691
16793
|
}>>;
|
|
16692
16794
|
export type EditRequest = z.infer<typeof ZEditRequest>;
|
|
16693
16795
|
export declare const ZEditResponse: z.ZodLazy<z.ZodObject<{
|
|
@@ -16713,10 +16815,12 @@ export declare const ZEditResponse: z.ZodLazy<z.ZodObject<{
|
|
|
16713
16815
|
}>>;
|
|
16714
16816
|
description: z.ZodString;
|
|
16715
16817
|
type: z.ZodAny;
|
|
16818
|
+
key: z.ZodString;
|
|
16716
16819
|
} & {
|
|
16717
16820
|
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16718
16821
|
}, "strip", z.ZodTypeAny, {
|
|
16719
16822
|
description: string;
|
|
16823
|
+
key: string;
|
|
16720
16824
|
bbox: {
|
|
16721
16825
|
width: number;
|
|
16722
16826
|
height: number;
|
|
@@ -16728,6 +16832,7 @@ export declare const ZEditResponse: z.ZodLazy<z.ZodObject<{
|
|
|
16728
16832
|
value?: string | null | undefined;
|
|
16729
16833
|
}, {
|
|
16730
16834
|
description: string;
|
|
16835
|
+
key: string;
|
|
16731
16836
|
bbox: {
|
|
16732
16837
|
width: number;
|
|
16733
16838
|
height: number;
|
|
@@ -16738,7 +16843,7 @@ export declare const ZEditResponse: z.ZodLazy<z.ZodObject<{
|
|
|
16738
16843
|
type?: any;
|
|
16739
16844
|
value?: string | null | undefined;
|
|
16740
16845
|
}>>, "many">;
|
|
16741
|
-
filled_document: z.
|
|
16846
|
+
filled_document: z.ZodLazy<z.ZodObject<{
|
|
16742
16847
|
filename: z.ZodString;
|
|
16743
16848
|
url: z.ZodString;
|
|
16744
16849
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -16747,10 +16852,11 @@ export declare const ZEditResponse: z.ZodLazy<z.ZodObject<{
|
|
|
16747
16852
|
}, {
|
|
16748
16853
|
filename: string;
|
|
16749
16854
|
url: string;
|
|
16750
|
-
}
|
|
16855
|
+
}>>;
|
|
16751
16856
|
}, "strip", z.ZodTypeAny, {
|
|
16752
16857
|
form_data: {
|
|
16753
16858
|
description: string;
|
|
16859
|
+
key: string;
|
|
16754
16860
|
bbox: {
|
|
16755
16861
|
width: number;
|
|
16756
16862
|
height: number;
|
|
@@ -16761,13 +16867,14 @@ export declare const ZEditResponse: z.ZodLazy<z.ZodObject<{
|
|
|
16761
16867
|
type?: any;
|
|
16762
16868
|
value?: string | null | undefined;
|
|
16763
16869
|
}[];
|
|
16764
|
-
filled_document
|
|
16870
|
+
filled_document: {
|
|
16765
16871
|
filename: string;
|
|
16766
16872
|
url: string;
|
|
16767
|
-
}
|
|
16873
|
+
};
|
|
16768
16874
|
}, {
|
|
16769
16875
|
form_data: {
|
|
16770
16876
|
description: string;
|
|
16877
|
+
key: string;
|
|
16771
16878
|
bbox: {
|
|
16772
16879
|
width: number;
|
|
16773
16880
|
height: number;
|
|
@@ -16778,10 +16885,10 @@ export declare const ZEditResponse: z.ZodLazy<z.ZodObject<{
|
|
|
16778
16885
|
type?: any;
|
|
16779
16886
|
value?: string | null | undefined;
|
|
16780
16887
|
}[];
|
|
16781
|
-
filled_document
|
|
16888
|
+
filled_document: {
|
|
16782
16889
|
filename: string;
|
|
16783
16890
|
url: string;
|
|
16784
|
-
}
|
|
16891
|
+
};
|
|
16785
16892
|
}>>;
|
|
16786
16893
|
export type EditResponse = z.infer<typeof ZEditResponse>;
|
|
16787
16894
|
export declare const ZEnum: z.ZodLazy<z.ZodAny>;
|
|
@@ -16810,10 +16917,12 @@ export declare const ZFilledFormField: z.ZodLazy<z.ZodObject<{
|
|
|
16810
16917
|
}>>;
|
|
16811
16918
|
description: z.ZodString;
|
|
16812
16919
|
type: z.ZodAny;
|
|
16920
|
+
key: z.ZodString;
|
|
16813
16921
|
} & {
|
|
16814
16922
|
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16815
16923
|
}, "strip", z.ZodTypeAny, {
|
|
16816
16924
|
description: string;
|
|
16925
|
+
key: string;
|
|
16817
16926
|
bbox: {
|
|
16818
16927
|
width: number;
|
|
16819
16928
|
height: number;
|
|
@@ -16825,6 +16934,7 @@ export declare const ZFilledFormField: z.ZodLazy<z.ZodObject<{
|
|
|
16825
16934
|
value?: string | null | undefined;
|
|
16826
16935
|
}, {
|
|
16827
16936
|
description: string;
|
|
16937
|
+
key: string;
|
|
16828
16938
|
bbox: {
|
|
16829
16939
|
width: number;
|
|
16830
16940
|
height: number;
|
|
@@ -16858,10 +16968,12 @@ export declare const ZFormField: z.ZodLazy<z.ZodObject<{
|
|
|
16858
16968
|
}>>;
|
|
16859
16969
|
description: z.ZodString;
|
|
16860
16970
|
type: z.ZodAny;
|
|
16971
|
+
key: z.ZodString;
|
|
16861
16972
|
} & {
|
|
16862
16973
|
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16863
16974
|
}, "strip", z.ZodTypeAny, {
|
|
16864
16975
|
description: string;
|
|
16976
|
+
key: string;
|
|
16865
16977
|
bbox: {
|
|
16866
16978
|
width: number;
|
|
16867
16979
|
height: number;
|
|
@@ -16873,6 +16985,7 @@ export declare const ZFormField: z.ZodLazy<z.ZodObject<{
|
|
|
16873
16985
|
value?: string | null | undefined;
|
|
16874
16986
|
}, {
|
|
16875
16987
|
description: string;
|
|
16988
|
+
key: string;
|
|
16876
16989
|
bbox: {
|
|
16877
16990
|
width: number;
|
|
16878
16991
|
height: number;
|
|
@@ -16907,10 +17020,12 @@ export declare const ZFormSchema: z.ZodLazy<z.ZodObject<{
|
|
|
16907
17020
|
}>>;
|
|
16908
17021
|
description: z.ZodString;
|
|
16909
17022
|
type: z.ZodAny;
|
|
17023
|
+
key: z.ZodString;
|
|
16910
17024
|
} & {
|
|
16911
17025
|
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16912
17026
|
}, "strip", z.ZodTypeAny, {
|
|
16913
17027
|
description: string;
|
|
17028
|
+
key: string;
|
|
16914
17029
|
bbox: {
|
|
16915
17030
|
width: number;
|
|
16916
17031
|
height: number;
|
|
@@ -16922,6 +17037,7 @@ export declare const ZFormSchema: z.ZodLazy<z.ZodObject<{
|
|
|
16922
17037
|
value?: string | null | undefined;
|
|
16923
17038
|
}, {
|
|
16924
17039
|
description: string;
|
|
17040
|
+
key: string;
|
|
16925
17041
|
bbox: {
|
|
16926
17042
|
width: number;
|
|
16927
17043
|
height: number;
|
|
@@ -16935,6 +17051,7 @@ export declare const ZFormSchema: z.ZodLazy<z.ZodObject<{
|
|
|
16935
17051
|
}, "strip", z.ZodTypeAny, {
|
|
16936
17052
|
form_fields: {
|
|
16937
17053
|
description: string;
|
|
17054
|
+
key: string;
|
|
16938
17055
|
bbox: {
|
|
16939
17056
|
width: number;
|
|
16940
17057
|
height: number;
|
|
@@ -16948,6 +17065,7 @@ export declare const ZFormSchema: z.ZodLazy<z.ZodObject<{
|
|
|
16948
17065
|
}, {
|
|
16949
17066
|
form_fields: {
|
|
16950
17067
|
description: string;
|
|
17068
|
+
key: string;
|
|
16951
17069
|
bbox: {
|
|
16952
17070
|
width: number;
|
|
16953
17071
|
height: number;
|
|
@@ -16972,18 +17090,21 @@ export declare const ZInferFormSchemaRequest: z.ZodLazy<z.ZodObject<{
|
|
|
16972
17090
|
url: string;
|
|
16973
17091
|
}>>;
|
|
16974
17092
|
model: z.ZodDefault<z.ZodString>;
|
|
17093
|
+
instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16975
17094
|
}, "strip", z.ZodTypeAny, {
|
|
16976
17095
|
model: string;
|
|
16977
17096
|
document: {
|
|
16978
17097
|
filename: string;
|
|
16979
17098
|
url: string;
|
|
16980
17099
|
};
|
|
17100
|
+
instructions?: string | null | undefined;
|
|
16981
17101
|
}, {
|
|
16982
17102
|
document: {
|
|
16983
17103
|
filename: string;
|
|
16984
17104
|
url: string;
|
|
16985
17105
|
};
|
|
16986
17106
|
model?: string | undefined;
|
|
17107
|
+
instructions?: string | null | undefined;
|
|
16987
17108
|
}>>;
|
|
16988
17109
|
export type InferFormSchemaRequest = z.infer<typeof ZInferFormSchemaRequest>;
|
|
16989
17110
|
export declare const ZInferFormSchemaResponse: z.ZodLazy<z.ZodObject<{
|
|
@@ -17010,10 +17131,12 @@ export declare const ZInferFormSchemaResponse: z.ZodLazy<z.ZodObject<{
|
|
|
17010
17131
|
}>>;
|
|
17011
17132
|
description: z.ZodString;
|
|
17012
17133
|
type: z.ZodAny;
|
|
17134
|
+
key: z.ZodString;
|
|
17013
17135
|
} & {
|
|
17014
17136
|
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17015
17137
|
}, "strip", z.ZodTypeAny, {
|
|
17016
17138
|
description: string;
|
|
17139
|
+
key: string;
|
|
17017
17140
|
bbox: {
|
|
17018
17141
|
width: number;
|
|
17019
17142
|
height: number;
|
|
@@ -17025,6 +17148,7 @@ export declare const ZInferFormSchemaResponse: z.ZodLazy<z.ZodObject<{
|
|
|
17025
17148
|
value?: string | null | undefined;
|
|
17026
17149
|
}, {
|
|
17027
17150
|
description: string;
|
|
17151
|
+
key: string;
|
|
17028
17152
|
bbox: {
|
|
17029
17153
|
width: number;
|
|
17030
17154
|
height: number;
|
|
@@ -17038,6 +17162,7 @@ export declare const ZInferFormSchemaResponse: z.ZodLazy<z.ZodObject<{
|
|
|
17038
17162
|
}, "strip", z.ZodTypeAny, {
|
|
17039
17163
|
form_fields: {
|
|
17040
17164
|
description: string;
|
|
17165
|
+
key: string;
|
|
17041
17166
|
bbox: {
|
|
17042
17167
|
width: number;
|
|
17043
17168
|
height: number;
|
|
@@ -17051,6 +17176,7 @@ export declare const ZInferFormSchemaResponse: z.ZodLazy<z.ZodObject<{
|
|
|
17051
17176
|
}, {
|
|
17052
17177
|
form_fields: {
|
|
17053
17178
|
description: string;
|
|
17179
|
+
key: string;
|
|
17054
17180
|
bbox: {
|
|
17055
17181
|
width: number;
|
|
17056
17182
|
height: number;
|
|
@@ -17166,6 +17292,7 @@ export declare const ZInferFormSchemaResponse: z.ZodLazy<z.ZodObject<{
|
|
|
17166
17292
|
form_schema: {
|
|
17167
17293
|
form_fields: {
|
|
17168
17294
|
description: string;
|
|
17295
|
+
key: string;
|
|
17169
17296
|
bbox: {
|
|
17170
17297
|
width: number;
|
|
17171
17298
|
height: number;
|
|
@@ -17203,6 +17330,7 @@ export declare const ZInferFormSchemaResponse: z.ZodLazy<z.ZodObject<{
|
|
|
17203
17330
|
form_schema: {
|
|
17204
17331
|
form_fields: {
|
|
17205
17332
|
description: string;
|
|
17333
|
+
key: string;
|
|
17206
17334
|
bbox: {
|
|
17207
17335
|
width: number;
|
|
17208
17336
|
height: number;
|
|
@@ -17396,6 +17524,34 @@ export declare const ZProcessOCRRequest: z.ZodLazy<z.ZodObject<{
|
|
|
17396
17524
|
};
|
|
17397
17525
|
}>>;
|
|
17398
17526
|
export type ProcessOCRRequest = z.infer<typeof ZProcessOCRRequest>;
|
|
17527
|
+
export declare const ZSplitOutputSchema: z.ZodLazy<z.ZodObject<{
|
|
17528
|
+
splits: z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
17529
|
+
name: z.ZodString;
|
|
17530
|
+
start_page: z.ZodNumber;
|
|
17531
|
+
end_page: z.ZodNumber;
|
|
17532
|
+
}, "strip", z.ZodTypeAny, {
|
|
17533
|
+
name: string;
|
|
17534
|
+
start_page: number;
|
|
17535
|
+
end_page: number;
|
|
17536
|
+
}, {
|
|
17537
|
+
name: string;
|
|
17538
|
+
start_page: number;
|
|
17539
|
+
end_page: number;
|
|
17540
|
+
}>>, "many">;
|
|
17541
|
+
}, "strip", z.ZodTypeAny, {
|
|
17542
|
+
splits: {
|
|
17543
|
+
name: string;
|
|
17544
|
+
start_page: number;
|
|
17545
|
+
end_page: number;
|
|
17546
|
+
}[];
|
|
17547
|
+
}, {
|
|
17548
|
+
splits: {
|
|
17549
|
+
name: string;
|
|
17550
|
+
start_page: number;
|
|
17551
|
+
end_page: number;
|
|
17552
|
+
}[];
|
|
17553
|
+
}>>;
|
|
17554
|
+
export type SplitOutputSchema = z.infer<typeof ZSplitOutputSchema>;
|
|
17399
17555
|
export declare const ZDocumentCreateInputRequest: z.ZodLazy<z.ZodObject<{
|
|
17400
17556
|
document: z.ZodLazy<z.ZodObject<{
|
|
17401
17557
|
filename: z.ZodString;
|
|
@@ -19318,7 +19474,7 @@ export declare const ZDocumentExtractRequest: z.ZodLazy<z.ZodObject<{
|
|
|
19318
19474
|
stream: z.ZodDefault<z.ZodBoolean>;
|
|
19319
19475
|
seed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
19320
19476
|
store: z.ZodDefault<z.ZodBoolean>;
|
|
19321
|
-
|
|
19477
|
+
chunking_keys: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
19322
19478
|
web_search: z.ZodDefault<z.ZodBoolean>;
|
|
19323
19479
|
metadata: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
19324
19480
|
extraction_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -19524,7 +19680,7 @@ export declare const ZDocumentExtractRequest: z.ZodLazy<z.ZodObject<{
|
|
|
19524
19680
|
url: string;
|
|
19525
19681
|
};
|
|
19526
19682
|
store: boolean;
|
|
19527
|
-
|
|
19683
|
+
chunking_keys?: Record<string, string> | null | undefined;
|
|
19528
19684
|
extraction_id?: string | null | undefined;
|
|
19529
19685
|
seed?: number | null | undefined;
|
|
19530
19686
|
additional_messages?: {
|
|
@@ -19575,7 +19731,7 @@ export declare const ZDocumentExtractRequest: z.ZodLazy<z.ZodObject<{
|
|
|
19575
19731
|
reasoning_effort?: "low" | "high" | "none" | "minimal" | "medium" | "xhigh" | null | undefined;
|
|
19576
19732
|
image_resolution_dpi?: number | undefined;
|
|
19577
19733
|
n_consensus?: number | undefined;
|
|
19578
|
-
|
|
19734
|
+
chunking_keys?: Record<string, string> | null | undefined;
|
|
19579
19735
|
web_search?: boolean | undefined;
|
|
19580
19736
|
extraction_id?: string | null | undefined;
|
|
19581
19737
|
seed?: number | null | undefined;
|
|
@@ -25440,7 +25596,7 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
|
|
|
25440
25596
|
type?: "item_reference" | null | undefined;
|
|
25441
25597
|
}>>]>, "many">]>>>;
|
|
25442
25598
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
25443
|
-
model: z.ZodUnion<[z.ZodString, z.ZodUnion<[z.ZodLiteral<"gpt-5.1">, z.ZodLiteral<"gpt-5.1-2025-11-13">, z.ZodLiteral<"gpt-5.1-codex">, z.ZodLiteral<"gpt-5.1-mini">, z.ZodLiteral<"gpt-5.1-chat-latest">, z.ZodLiteral<"gpt-5">, z.ZodLiteral<"gpt-5-mini">, z.ZodLiteral<"gpt-5-nano">, z.ZodLiteral<"gpt-5-2025-08-07">, z.ZodLiteral<"gpt-5-mini-2025-08-07">, z.ZodLiteral<"gpt-5-nano-2025-08-07">, z.ZodLiteral<"gpt-5-chat-latest">, z.ZodLiteral<"gpt-4.1">, z.ZodLiteral<"gpt-4.1-mini">, z.ZodLiteral<"gpt-4.1-nano">, z.ZodLiteral<"gpt-4.1-2025-04-14">, z.ZodLiteral<"gpt-4.1-mini-2025-04-14">, z.ZodLiteral<"gpt-4.1-nano-2025-04-14">, z.ZodLiteral<"o4-mini">, z.ZodLiteral<"o4-mini-2025-04-16">, z.ZodLiteral<"o3">, z.ZodLiteral<"o3-2025-04-16">, z.ZodLiteral<"o3-mini">, z.ZodLiteral<"o3-mini-2025-01-31">, z.ZodLiteral<"o1">, z.ZodLiteral<"o1-2024-12-17">, z.ZodLiteral<"o1-preview">, z.ZodLiteral<"o1-preview-2024-09-12">, z.ZodLiteral<"o1-mini">, z.ZodLiteral<"o1-mini-2024-09-12">, z.ZodLiteral<"gpt-4o">, z.ZodLiteral<"gpt-4o-2024-11-20">, z.ZodLiteral<"gpt-4o-2024-08-06">, z.ZodLiteral<"gpt-4o-2024-05-13">, z.ZodLiteral<"gpt-4o-audio-preview">, z.ZodLiteral<"gpt-4o-audio-preview-2024-10-01">, z.ZodLiteral<"gpt-4o-audio-preview-2024-12-17">, z.ZodLiteral<"gpt-4o-audio-preview-2025-06-03">, z.ZodLiteral<"gpt-4o-mini-audio-preview">, z.ZodLiteral<"gpt-4o-mini-audio-preview-2024-12-17">, z.ZodLiteral<"gpt-4o-search-preview">, z.ZodLiteral<"gpt-4o-mini-search-preview">, z.ZodLiteral<"gpt-4o-search-preview-2025-03-11">, z.ZodLiteral<"gpt-4o-mini-search-preview-2025-03-11">, z.ZodLiteral<"chatgpt-4o-latest">, z.ZodLiteral<"codex-mini-latest">, z.ZodLiteral<"gpt-4o-mini">, z.ZodLiteral<"gpt-4o-mini-2024-07-18">, z.ZodLiteral<"gpt-4-turbo">, z.ZodLiteral<"gpt-4-turbo-2024-04-09">, z.ZodLiteral<"gpt-4-0125-preview">, z.ZodLiteral<"gpt-4-turbo-preview">, z.ZodLiteral<"gpt-4-1106-preview">, z.ZodLiteral<"gpt-4-vision-preview">, z.ZodLiteral<"gpt-4">, z.ZodLiteral<"gpt-4-0314">, z.ZodLiteral<"gpt-4-0613">, z.ZodLiteral<"gpt-4-32k">, z.ZodLiteral<"gpt-4-32k-0314">, z.ZodLiteral<"gpt-4-32k-0613">, z.ZodLiteral<"gpt-3.5-turbo">, z.ZodLiteral<"gpt-3.5-turbo-16k">, z.ZodLiteral<"gpt-3.5-turbo-0301">, z.ZodLiteral<"gpt-3.5-turbo-0613">, z.ZodLiteral<"gpt-3.5-turbo-1106">, z.ZodLiteral<"gpt-3.5-turbo-0125">, z.ZodLiteral<"gpt-3.5-turbo-16k-0613">]>, z.ZodUnion<[z.ZodLiteral<"o1-pro">, z.ZodLiteral<"o1-pro-2025-03-19">, z.ZodLiteral<"o3-pro">, z.ZodLiteral<"o3-pro-2025-06-10">, z.ZodLiteral<"o3-deep-research">, z.ZodLiteral<"o3-deep-research-2025-06-26">, z.ZodLiteral<"o4-mini-deep-research">, z.ZodLiteral<"o4-mini-deep-research-2025-06-26">, z.ZodLiteral<"computer-use-preview">, z.ZodLiteral<"computer-use-preview-2025-03-11">, z.ZodLiteral<"gpt-5-codex">, z.ZodLiteral<"gpt-5-pro">, z.ZodLiteral<"gpt-5-pro-2025-10-06">, z.ZodLiteral<"gpt-5.1-codex-max">]>]>;
|
|
25599
|
+
model: z.ZodUnion<[z.ZodString, z.ZodUnion<[z.ZodLiteral<"gpt-5.2">, z.ZodLiteral<"gpt-5.2-2025-12-11">, z.ZodLiteral<"gpt-5.2-chat-latest">, z.ZodLiteral<"gpt-5.2-pro">, z.ZodLiteral<"gpt-5.2-pro-2025-12-11">, z.ZodLiteral<"gpt-5.1">, z.ZodLiteral<"gpt-5.1-2025-11-13">, z.ZodLiteral<"gpt-5.1-codex">, z.ZodLiteral<"gpt-5.1-mini">, z.ZodLiteral<"gpt-5.1-chat-latest">, z.ZodLiteral<"gpt-5">, z.ZodLiteral<"gpt-5-mini">, z.ZodLiteral<"gpt-5-nano">, z.ZodLiteral<"gpt-5-2025-08-07">, z.ZodLiteral<"gpt-5-mini-2025-08-07">, z.ZodLiteral<"gpt-5-nano-2025-08-07">, z.ZodLiteral<"gpt-5-chat-latest">, z.ZodLiteral<"gpt-4.1">, z.ZodLiteral<"gpt-4.1-mini">, z.ZodLiteral<"gpt-4.1-nano">, z.ZodLiteral<"gpt-4.1-2025-04-14">, z.ZodLiteral<"gpt-4.1-mini-2025-04-14">, z.ZodLiteral<"gpt-4.1-nano-2025-04-14">, z.ZodLiteral<"o4-mini">, z.ZodLiteral<"o4-mini-2025-04-16">, z.ZodLiteral<"o3">, z.ZodLiteral<"o3-2025-04-16">, z.ZodLiteral<"o3-mini">, z.ZodLiteral<"o3-mini-2025-01-31">, z.ZodLiteral<"o1">, z.ZodLiteral<"o1-2024-12-17">, z.ZodLiteral<"o1-preview">, z.ZodLiteral<"o1-preview-2024-09-12">, z.ZodLiteral<"o1-mini">, z.ZodLiteral<"o1-mini-2024-09-12">, z.ZodLiteral<"gpt-4o">, z.ZodLiteral<"gpt-4o-2024-11-20">, z.ZodLiteral<"gpt-4o-2024-08-06">, z.ZodLiteral<"gpt-4o-2024-05-13">, z.ZodLiteral<"gpt-4o-audio-preview">, z.ZodLiteral<"gpt-4o-audio-preview-2024-10-01">, z.ZodLiteral<"gpt-4o-audio-preview-2024-12-17">, z.ZodLiteral<"gpt-4o-audio-preview-2025-06-03">, z.ZodLiteral<"gpt-4o-mini-audio-preview">, z.ZodLiteral<"gpt-4o-mini-audio-preview-2024-12-17">, z.ZodLiteral<"gpt-4o-search-preview">, z.ZodLiteral<"gpt-4o-mini-search-preview">, z.ZodLiteral<"gpt-4o-search-preview-2025-03-11">, z.ZodLiteral<"gpt-4o-mini-search-preview-2025-03-11">, z.ZodLiteral<"chatgpt-4o-latest">, z.ZodLiteral<"codex-mini-latest">, z.ZodLiteral<"gpt-4o-mini">, z.ZodLiteral<"gpt-4o-mini-2024-07-18">, z.ZodLiteral<"gpt-4-turbo">, z.ZodLiteral<"gpt-4-turbo-2024-04-09">, z.ZodLiteral<"gpt-4-0125-preview">, z.ZodLiteral<"gpt-4-turbo-preview">, z.ZodLiteral<"gpt-4-1106-preview">, z.ZodLiteral<"gpt-4-vision-preview">, z.ZodLiteral<"gpt-4">, z.ZodLiteral<"gpt-4-0314">, z.ZodLiteral<"gpt-4-0613">, z.ZodLiteral<"gpt-4-32k">, z.ZodLiteral<"gpt-4-32k-0314">, z.ZodLiteral<"gpt-4-32k-0613">, z.ZodLiteral<"gpt-3.5-turbo">, z.ZodLiteral<"gpt-3.5-turbo-16k">, z.ZodLiteral<"gpt-3.5-turbo-0301">, z.ZodLiteral<"gpt-3.5-turbo-0613">, z.ZodLiteral<"gpt-3.5-turbo-1106">, z.ZodLiteral<"gpt-3.5-turbo-0125">, z.ZodLiteral<"gpt-3.5-turbo-16k-0613">]>, z.ZodUnion<[z.ZodLiteral<"o1-pro">, z.ZodLiteral<"o1-pro-2025-03-19">, z.ZodLiteral<"o3-pro">, z.ZodLiteral<"o3-pro-2025-06-10">, z.ZodLiteral<"o3-deep-research">, z.ZodLiteral<"o3-deep-research-2025-06-26">, z.ZodLiteral<"o4-mini-deep-research">, z.ZodLiteral<"o4-mini-deep-research-2025-06-26">, z.ZodLiteral<"computer-use-preview">, z.ZodLiteral<"computer-use-preview-2025-03-11">, z.ZodLiteral<"gpt-5-codex">, z.ZodLiteral<"gpt-5-pro">, z.ZodLiteral<"gpt-5-pro-2025-10-06">, z.ZodLiteral<"gpt-5.1-codex-max">]>]>;
|
|
25444
25600
|
object: z.ZodLiteral<"response">;
|
|
25445
25601
|
output: z.ZodArray<z.ZodUnion<[z.ZodLazy<z.ZodObject<{
|
|
25446
25602
|
id: z.ZodString;
|
|
@@ -27047,7 +27203,7 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
|
|
|
27047
27203
|
image_url?: string | null | undefined;
|
|
27048
27204
|
file_id?: string | null | undefined;
|
|
27049
27205
|
}>>>>;
|
|
27050
|
-
model: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"gpt-image-1">, z.ZodLiteral<"gpt-image-1-mini">]>>>;
|
|
27206
|
+
model: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodUnion<[z.ZodLiteral<"gpt-image-1">, z.ZodLiteral<"gpt-image-1-mini">]>]>>>;
|
|
27051
27207
|
moderation: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodLiteral<"low">]>>>;
|
|
27052
27208
|
output_compression: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
27053
27209
|
output_format: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"png">, z.ZodLiteral<"webp">, z.ZodLiteral<"jpeg">]>>>;
|
|
@@ -27056,7 +27212,7 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
|
|
|
27056
27212
|
size: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"1024x1024">, z.ZodLiteral<"1024x1536">, z.ZodLiteral<"1536x1024">, z.ZodLiteral<"auto">]>>>;
|
|
27057
27213
|
}, "strip", z.ZodTypeAny, {
|
|
27058
27214
|
type: "image_generation";
|
|
27059
|
-
model?:
|
|
27215
|
+
model?: string | null | undefined;
|
|
27060
27216
|
size?: "auto" | "1024x1024" | "1024x1536" | "1536x1024" | null | undefined;
|
|
27061
27217
|
background?: "auto" | "transparent" | "opaque" | null | undefined;
|
|
27062
27218
|
input_fidelity?: "low" | "high" | null | undefined;
|
|
@@ -27071,7 +27227,7 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
|
|
|
27071
27227
|
quality?: "auto" | "low" | "high" | "medium" | null | undefined;
|
|
27072
27228
|
}, {
|
|
27073
27229
|
type: "image_generation";
|
|
27074
|
-
model?:
|
|
27230
|
+
model?: string | null | undefined;
|
|
27075
27231
|
size?: "auto" | "1024x1024" | "1024x1536" | "1536x1024" | null | undefined;
|
|
27076
27232
|
background?: "auto" | "transparent" | "opaque" | null | undefined;
|
|
27077
27233
|
input_fidelity?: "low" | "high" | null | undefined;
|
|
@@ -27756,7 +27912,7 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
|
|
|
27756
27912
|
};
|
|
27757
27913
|
} | {
|
|
27758
27914
|
type: "image_generation";
|
|
27759
|
-
model?:
|
|
27915
|
+
model?: string | null | undefined;
|
|
27760
27916
|
size?: "auto" | "1024x1024" | "1024x1536" | "1536x1024" | null | undefined;
|
|
27761
27917
|
background?: "auto" | "transparent" | "opaque" | null | undefined;
|
|
27762
27918
|
input_fidelity?: "low" | "high" | null | undefined;
|
|
@@ -28610,7 +28766,7 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
|
|
|
28610
28766
|
};
|
|
28611
28767
|
} | {
|
|
28612
28768
|
type: "image_generation";
|
|
28613
|
-
model?:
|
|
28769
|
+
model?: string | null | undefined;
|
|
28614
28770
|
size?: "auto" | "1024x1024" | "1024x1536" | "1536x1024" | null | undefined;
|
|
28615
28771
|
background?: "auto" | "transparent" | "opaque" | null | undefined;
|
|
28616
28772
|
input_fidelity?: "low" | "high" | null | undefined;
|
|
@@ -30221,7 +30377,7 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
|
|
|
30221
30377
|
};
|
|
30222
30378
|
} | {
|
|
30223
30379
|
type: "image_generation";
|
|
30224
|
-
model?:
|
|
30380
|
+
model?: string | null | undefined;
|
|
30225
30381
|
size?: "auto" | "1024x1024" | "1024x1536" | "1536x1024" | null | undefined;
|
|
30226
30382
|
background?: "auto" | "transparent" | "opaque" | null | undefined;
|
|
30227
30383
|
input_fidelity?: "low" | "high" | null | undefined;
|
|
@@ -31829,7 +31985,7 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
|
|
|
31829
31985
|
};
|
|
31830
31986
|
} | {
|
|
31831
31987
|
type: "image_generation";
|
|
31832
|
-
model?:
|
|
31988
|
+
model?: string | null | undefined;
|
|
31833
31989
|
size?: "auto" | "1024x1024" | "1024x1536" | "1536x1024" | null | undefined;
|
|
31834
31990
|
background?: "auto" | "transparent" | "opaque" | null | undefined;
|
|
31835
31991
|
input_fidelity?: "low" | "high" | null | undefined;
|
|
@@ -40349,7 +40505,7 @@ export declare const ZImageGeneration: z.ZodLazy<z.ZodObject<{
|
|
|
40349
40505
|
image_url?: string | null | undefined;
|
|
40350
40506
|
file_id?: string | null | undefined;
|
|
40351
40507
|
}>>>>;
|
|
40352
|
-
model: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"gpt-image-1">, z.ZodLiteral<"gpt-image-1-mini">]>>>;
|
|
40508
|
+
model: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodUnion<[z.ZodLiteral<"gpt-image-1">, z.ZodLiteral<"gpt-image-1-mini">]>]>>>;
|
|
40353
40509
|
moderation: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodLiteral<"low">]>>>;
|
|
40354
40510
|
output_compression: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
40355
40511
|
output_format: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"png">, z.ZodLiteral<"webp">, z.ZodLiteral<"jpeg">]>>>;
|
|
@@ -40358,7 +40514,7 @@ export declare const ZImageGeneration: z.ZodLazy<z.ZodObject<{
|
|
|
40358
40514
|
size: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"1024x1024">, z.ZodLiteral<"1024x1536">, z.ZodLiteral<"1536x1024">, z.ZodLiteral<"auto">]>>>;
|
|
40359
40515
|
}, "strip", z.ZodTypeAny, {
|
|
40360
40516
|
type: "image_generation";
|
|
40361
|
-
model?:
|
|
40517
|
+
model?: string | null | undefined;
|
|
40362
40518
|
size?: "auto" | "1024x1024" | "1024x1536" | "1536x1024" | null | undefined;
|
|
40363
40519
|
background?: "auto" | "transparent" | "opaque" | null | undefined;
|
|
40364
40520
|
input_fidelity?: "low" | "high" | null | undefined;
|
|
@@ -40373,7 +40529,7 @@ export declare const ZImageGeneration: z.ZodLazy<z.ZodObject<{
|
|
|
40373
40529
|
quality?: "auto" | "low" | "high" | "medium" | null | undefined;
|
|
40374
40530
|
}, {
|
|
40375
40531
|
type: "image_generation";
|
|
40376
|
-
model?:
|
|
40532
|
+
model?: string | null | undefined;
|
|
40377
40533
|
size?: "auto" | "1024x1024" | "1024x1536" | "1536x1024" | null | undefined;
|
|
40378
40534
|
background?: "auto" | "transparent" | "opaque" | null | undefined;
|
|
40379
40535
|
input_fidelity?: "low" | "high" | null | undefined;
|