@retab/node 0.0.55 → 1.0.57
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/generated_types.d.ts +384 -50
- package/dist/generated_types.d.ts.map +1 -1
- package/dist/generated_types.js +9 -5
- package/dist/types.d.ts +74 -12
- package/dist/types.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -1935,7 +1935,7 @@ export declare const ZFinetunedModel: z.ZodLazy<z.ZodObject<{
|
|
|
1935
1935
|
finetuning_props: z.ZodLazy<z.ZodObject<{
|
|
1936
1936
|
model: z.ZodDefault<z.ZodString>;
|
|
1937
1937
|
temperature: z.ZodDefault<z.ZodNumber>;
|
|
1938
|
-
modality: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"image">, z.ZodLiteral<"native">, z.ZodLiteral<"image+text"
|
|
1938
|
+
modality: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"image">, z.ZodLiteral<"native">, z.ZodLiteral<"image+text">]>>;
|
|
1939
1939
|
reasoning_effort: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"minimal">, z.ZodLiteral<"low">, z.ZodLiteral<"medium">, z.ZodLiteral<"high">]>>>>;
|
|
1940
1940
|
image_resolution_dpi: z.ZodDefault<z.ZodNumber>;
|
|
1941
1941
|
browser_canvas: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"A3">, z.ZodLiteral<"A4">, z.ZodLiteral<"A5">]>>;
|
|
@@ -1943,7 +1943,7 @@ export declare const ZFinetunedModel: z.ZodLazy<z.ZodObject<{
|
|
|
1943
1943
|
}, "strip", z.ZodTypeAny, {
|
|
1944
1944
|
model: string;
|
|
1945
1945
|
temperature: number;
|
|
1946
|
-
modality: "text" | "image" | "native" | "image+text"
|
|
1946
|
+
modality: "text" | "image" | "native" | "image+text";
|
|
1947
1947
|
reasoning_effort: "low" | "high" | "minimal" | "medium" | null;
|
|
1948
1948
|
image_resolution_dpi: number;
|
|
1949
1949
|
browser_canvas: "A3" | "A4" | "A5";
|
|
@@ -1951,7 +1951,7 @@ export declare const ZFinetunedModel: z.ZodLazy<z.ZodObject<{
|
|
|
1951
1951
|
}, {
|
|
1952
1952
|
model?: string | undefined;
|
|
1953
1953
|
temperature?: number | undefined;
|
|
1954
|
-
modality?: "text" | "image" | "native" | "image+text" |
|
|
1954
|
+
modality?: "text" | "image" | "native" | "image+text" | undefined;
|
|
1955
1955
|
reasoning_effort?: "low" | "high" | "minimal" | "medium" | null | undefined;
|
|
1956
1956
|
image_resolution_dpi?: number | undefined;
|
|
1957
1957
|
browser_canvas?: "A3" | "A4" | "A5" | undefined;
|
|
@@ -1968,7 +1968,7 @@ export declare const ZFinetunedModel: z.ZodLazy<z.ZodObject<{
|
|
|
1968
1968
|
finetuning_props: {
|
|
1969
1969
|
model: string;
|
|
1970
1970
|
temperature: number;
|
|
1971
|
-
modality: "text" | "image" | "native" | "image+text"
|
|
1971
|
+
modality: "text" | "image" | "native" | "image+text";
|
|
1972
1972
|
reasoning_effort: "low" | "high" | "minimal" | "medium" | null;
|
|
1973
1973
|
image_resolution_dpi: number;
|
|
1974
1974
|
browser_canvas: "A3" | "A4" | "A5";
|
|
@@ -1984,7 +1984,7 @@ export declare const ZFinetunedModel: z.ZodLazy<z.ZodObject<{
|
|
|
1984
1984
|
finetuning_props: {
|
|
1985
1985
|
model?: string | undefined;
|
|
1986
1986
|
temperature?: number | undefined;
|
|
1987
|
-
modality?: "text" | "image" | "native" | "image+text" |
|
|
1987
|
+
modality?: "text" | "image" | "native" | "image+text" | undefined;
|
|
1988
1988
|
reasoning_effort?: "low" | "high" | "minimal" | "medium" | null | undefined;
|
|
1989
1989
|
image_resolution_dpi?: number | undefined;
|
|
1990
1990
|
browser_canvas?: "A3" | "A4" | "A5" | undefined;
|
|
@@ -1998,7 +1998,7 @@ export type FinetunedModel = z.infer<typeof ZFinetunedModel>;
|
|
|
1998
1998
|
export declare const ZInferenceSettings: z.ZodLazy<z.ZodObject<{
|
|
1999
1999
|
model: z.ZodDefault<z.ZodString>;
|
|
2000
2000
|
temperature: z.ZodDefault<z.ZodNumber>;
|
|
2001
|
-
modality: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"image">, z.ZodLiteral<"native">, z.ZodLiteral<"image+text"
|
|
2001
|
+
modality: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"image">, z.ZodLiteral<"native">, z.ZodLiteral<"image+text">]>>;
|
|
2002
2002
|
reasoning_effort: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"minimal">, z.ZodLiteral<"low">, z.ZodLiteral<"medium">, z.ZodLiteral<"high">]>>>>;
|
|
2003
2003
|
image_resolution_dpi: z.ZodDefault<z.ZodNumber>;
|
|
2004
2004
|
browser_canvas: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"A3">, z.ZodLiteral<"A4">, z.ZodLiteral<"A5">]>>;
|
|
@@ -2006,7 +2006,7 @@ export declare const ZInferenceSettings: z.ZodLazy<z.ZodObject<{
|
|
|
2006
2006
|
}, "strip", z.ZodTypeAny, {
|
|
2007
2007
|
model: string;
|
|
2008
2008
|
temperature: number;
|
|
2009
|
-
modality: "text" | "image" | "native" | "image+text"
|
|
2009
|
+
modality: "text" | "image" | "native" | "image+text";
|
|
2010
2010
|
reasoning_effort: "low" | "high" | "minimal" | "medium" | null;
|
|
2011
2011
|
image_resolution_dpi: number;
|
|
2012
2012
|
browser_canvas: "A3" | "A4" | "A5";
|
|
@@ -2014,7 +2014,7 @@ export declare const ZInferenceSettings: z.ZodLazy<z.ZodObject<{
|
|
|
2014
2014
|
}, {
|
|
2015
2015
|
model?: string | undefined;
|
|
2016
2016
|
temperature?: number | undefined;
|
|
2017
|
-
modality?: "text" | "image" | "native" | "image+text" |
|
|
2017
|
+
modality?: "text" | "image" | "native" | "image+text" | undefined;
|
|
2018
2018
|
reasoning_effort?: "low" | "high" | "minimal" | "medium" | null | undefined;
|
|
2019
2019
|
image_resolution_dpi?: number | undefined;
|
|
2020
2020
|
browser_canvas?: "A3" | "A4" | "A5" | undefined;
|
|
@@ -2500,7 +2500,7 @@ export declare const ZBaseIteration: z.ZodLazy<z.ZodObject<{
|
|
|
2500
2500
|
inference_settings: z.ZodLazy<z.ZodObject<{
|
|
2501
2501
|
model: z.ZodDefault<z.ZodString>;
|
|
2502
2502
|
temperature: z.ZodDefault<z.ZodNumber>;
|
|
2503
|
-
modality: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"image">, z.ZodLiteral<"native">, z.ZodLiteral<"image+text"
|
|
2503
|
+
modality: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"image">, z.ZodLiteral<"native">, z.ZodLiteral<"image+text">]>>;
|
|
2504
2504
|
reasoning_effort: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"minimal">, z.ZodLiteral<"low">, z.ZodLiteral<"medium">, z.ZodLiteral<"high">]>>>>;
|
|
2505
2505
|
image_resolution_dpi: z.ZodDefault<z.ZodNumber>;
|
|
2506
2506
|
browser_canvas: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"A3">, z.ZodLiteral<"A4">, z.ZodLiteral<"A5">]>>;
|
|
@@ -2508,7 +2508,7 @@ export declare const ZBaseIteration: z.ZodLazy<z.ZodObject<{
|
|
|
2508
2508
|
}, "strip", z.ZodTypeAny, {
|
|
2509
2509
|
model: string;
|
|
2510
2510
|
temperature: number;
|
|
2511
|
-
modality: "text" | "image" | "native" | "image+text"
|
|
2511
|
+
modality: "text" | "image" | "native" | "image+text";
|
|
2512
2512
|
reasoning_effort: "low" | "high" | "minimal" | "medium" | null;
|
|
2513
2513
|
image_resolution_dpi: number;
|
|
2514
2514
|
browser_canvas: "A3" | "A4" | "A5";
|
|
@@ -2516,7 +2516,7 @@ export declare const ZBaseIteration: z.ZodLazy<z.ZodObject<{
|
|
|
2516
2516
|
}, {
|
|
2517
2517
|
model?: string | undefined;
|
|
2518
2518
|
temperature?: number | undefined;
|
|
2519
|
-
modality?: "text" | "image" | "native" | "image+text" |
|
|
2519
|
+
modality?: "text" | "image" | "native" | "image+text" | undefined;
|
|
2520
2520
|
reasoning_effort?: "low" | "high" | "minimal" | "medium" | null | undefined;
|
|
2521
2521
|
image_resolution_dpi?: number | undefined;
|
|
2522
2522
|
browser_canvas?: "A3" | "A4" | "A5" | undefined;
|
|
@@ -2531,7 +2531,7 @@ export declare const ZBaseIteration: z.ZodLazy<z.ZodObject<{
|
|
|
2531
2531
|
inference_settings: {
|
|
2532
2532
|
model: string;
|
|
2533
2533
|
temperature: number;
|
|
2534
|
-
modality: "text" | "image" | "native" | "image+text"
|
|
2534
|
+
modality: "text" | "image" | "native" | "image+text";
|
|
2535
2535
|
reasoning_effort: "low" | "high" | "minimal" | "medium" | null;
|
|
2536
2536
|
image_resolution_dpi: number;
|
|
2537
2537
|
browser_canvas: "A3" | "A4" | "A5";
|
|
@@ -2545,7 +2545,7 @@ export declare const ZBaseIteration: z.ZodLazy<z.ZodObject<{
|
|
|
2545
2545
|
inference_settings: {
|
|
2546
2546
|
model?: string | undefined;
|
|
2547
2547
|
temperature?: number | undefined;
|
|
2548
|
-
modality?: "text" | "image" | "native" | "image+text" |
|
|
2548
|
+
modality?: "text" | "image" | "native" | "image+text" | undefined;
|
|
2549
2549
|
reasoning_effort?: "low" | "high" | "minimal" | "medium" | null | undefined;
|
|
2550
2550
|
image_resolution_dpi?: number | undefined;
|
|
2551
2551
|
browser_canvas?: "A3" | "A4" | "A5" | undefined;
|
|
@@ -2558,7 +2558,7 @@ export declare const ZCreateIterationRequest: z.ZodLazy<z.ZodObject<{
|
|
|
2558
2558
|
inference_settings: z.ZodLazy<z.ZodObject<{
|
|
2559
2559
|
model: z.ZodDefault<z.ZodString>;
|
|
2560
2560
|
temperature: z.ZodDefault<z.ZodNumber>;
|
|
2561
|
-
modality: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"image">, z.ZodLiteral<"native">, z.ZodLiteral<"image+text"
|
|
2561
|
+
modality: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"image">, z.ZodLiteral<"native">, z.ZodLiteral<"image+text">]>>;
|
|
2562
2562
|
reasoning_effort: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"minimal">, z.ZodLiteral<"low">, z.ZodLiteral<"medium">, z.ZodLiteral<"high">]>>>>;
|
|
2563
2563
|
image_resolution_dpi: z.ZodDefault<z.ZodNumber>;
|
|
2564
2564
|
browser_canvas: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"A3">, z.ZodLiteral<"A4">, z.ZodLiteral<"A5">]>>;
|
|
@@ -2566,7 +2566,7 @@ export declare const ZCreateIterationRequest: z.ZodLazy<z.ZodObject<{
|
|
|
2566
2566
|
}, "strip", z.ZodTypeAny, {
|
|
2567
2567
|
model: string;
|
|
2568
2568
|
temperature: number;
|
|
2569
|
-
modality: "text" | "image" | "native" | "image+text"
|
|
2569
|
+
modality: "text" | "image" | "native" | "image+text";
|
|
2570
2570
|
reasoning_effort: "low" | "high" | "minimal" | "medium" | null;
|
|
2571
2571
|
image_resolution_dpi: number;
|
|
2572
2572
|
browser_canvas: "A3" | "A4" | "A5";
|
|
@@ -2574,7 +2574,7 @@ export declare const ZCreateIterationRequest: z.ZodLazy<z.ZodObject<{
|
|
|
2574
2574
|
}, {
|
|
2575
2575
|
model?: string | undefined;
|
|
2576
2576
|
temperature?: number | undefined;
|
|
2577
|
-
modality?: "text" | "image" | "native" | "image+text" |
|
|
2577
|
+
modality?: "text" | "image" | "native" | "image+text" | undefined;
|
|
2578
2578
|
reasoning_effort?: "low" | "high" | "minimal" | "medium" | null | undefined;
|
|
2579
2579
|
image_resolution_dpi?: number | undefined;
|
|
2580
2580
|
browser_canvas?: "A3" | "A4" | "A5" | undefined;
|
|
@@ -2586,7 +2586,7 @@ export declare const ZCreateIterationRequest: z.ZodLazy<z.ZodObject<{
|
|
|
2586
2586
|
inference_settings: {
|
|
2587
2587
|
model: string;
|
|
2588
2588
|
temperature: number;
|
|
2589
|
-
modality: "text" | "image" | "native" | "image+text"
|
|
2589
|
+
modality: "text" | "image" | "native" | "image+text";
|
|
2590
2590
|
reasoning_effort: "low" | "high" | "minimal" | "medium" | null;
|
|
2591
2591
|
image_resolution_dpi: number;
|
|
2592
2592
|
browser_canvas: "A3" | "A4" | "A5";
|
|
@@ -2598,7 +2598,7 @@ export declare const ZCreateIterationRequest: z.ZodLazy<z.ZodObject<{
|
|
|
2598
2598
|
inference_settings: {
|
|
2599
2599
|
model?: string | undefined;
|
|
2600
2600
|
temperature?: number | undefined;
|
|
2601
|
-
modality?: "text" | "image" | "native" | "image+text" |
|
|
2601
|
+
modality?: "text" | "image" | "native" | "image+text" | undefined;
|
|
2602
2602
|
reasoning_effort?: "low" | "high" | "minimal" | "medium" | null | undefined;
|
|
2603
2603
|
image_resolution_dpi?: number | undefined;
|
|
2604
2604
|
browser_canvas?: "A3" | "A4" | "A5" | undefined;
|
|
@@ -2637,7 +2637,7 @@ export declare const ZIteration: z.ZodLazy<z.ZodObject<{
|
|
|
2637
2637
|
inference_settings: z.ZodLazy<z.ZodObject<{
|
|
2638
2638
|
model: z.ZodDefault<z.ZodString>;
|
|
2639
2639
|
temperature: z.ZodDefault<z.ZodNumber>;
|
|
2640
|
-
modality: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"image">, z.ZodLiteral<"native">, z.ZodLiteral<"image+text"
|
|
2640
|
+
modality: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"image">, z.ZodLiteral<"native">, z.ZodLiteral<"image+text">]>>;
|
|
2641
2641
|
reasoning_effort: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"minimal">, z.ZodLiteral<"low">, z.ZodLiteral<"medium">, z.ZodLiteral<"high">]>>>>;
|
|
2642
2642
|
image_resolution_dpi: z.ZodDefault<z.ZodNumber>;
|
|
2643
2643
|
browser_canvas: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"A3">, z.ZodLiteral<"A4">, z.ZodLiteral<"A5">]>>;
|
|
@@ -2645,7 +2645,7 @@ export declare const ZIteration: z.ZodLazy<z.ZodObject<{
|
|
|
2645
2645
|
}, "strip", z.ZodTypeAny, {
|
|
2646
2646
|
model: string;
|
|
2647
2647
|
temperature: number;
|
|
2648
|
-
modality: "text" | "image" | "native" | "image+text"
|
|
2648
|
+
modality: "text" | "image" | "native" | "image+text";
|
|
2649
2649
|
reasoning_effort: "low" | "high" | "minimal" | "medium" | null;
|
|
2650
2650
|
image_resolution_dpi: number;
|
|
2651
2651
|
browser_canvas: "A3" | "A4" | "A5";
|
|
@@ -2653,7 +2653,7 @@ export declare const ZIteration: z.ZodLazy<z.ZodObject<{
|
|
|
2653
2653
|
}, {
|
|
2654
2654
|
model?: string | undefined;
|
|
2655
2655
|
temperature?: number | undefined;
|
|
2656
|
-
modality?: "text" | "image" | "native" | "image+text" |
|
|
2656
|
+
modality?: "text" | "image" | "native" | "image+text" | undefined;
|
|
2657
2657
|
reasoning_effort?: "low" | "high" | "minimal" | "medium" | null | undefined;
|
|
2658
2658
|
image_resolution_dpi?: number | undefined;
|
|
2659
2659
|
browser_canvas?: "A3" | "A4" | "A5" | undefined;
|
|
@@ -2738,7 +2738,7 @@ export declare const ZIteration: z.ZodLazy<z.ZodObject<{
|
|
|
2738
2738
|
inference_settings: {
|
|
2739
2739
|
model: string;
|
|
2740
2740
|
temperature: number;
|
|
2741
|
-
modality: "text" | "image" | "native" | "image+text"
|
|
2741
|
+
modality: "text" | "image" | "native" | "image+text";
|
|
2742
2742
|
reasoning_effort: "low" | "high" | "minimal" | "medium" | null;
|
|
2743
2743
|
image_resolution_dpi: number;
|
|
2744
2744
|
browser_canvas: "A3" | "A4" | "A5";
|
|
@@ -2767,7 +2767,7 @@ export declare const ZIteration: z.ZodLazy<z.ZodObject<{
|
|
|
2767
2767
|
inference_settings: {
|
|
2768
2768
|
model?: string | undefined;
|
|
2769
2769
|
temperature?: number | undefined;
|
|
2770
|
-
modality?: "text" | "image" | "native" | "image+text" |
|
|
2770
|
+
modality?: "text" | "image" | "native" | "image+text" | undefined;
|
|
2771
2771
|
reasoning_effort?: "low" | "high" | "minimal" | "medium" | null | undefined;
|
|
2772
2772
|
image_resolution_dpi?: number | undefined;
|
|
2773
2773
|
browser_canvas?: "A3" | "A4" | "A5" | undefined;
|
|
@@ -2850,7 +2850,7 @@ export declare const ZPatchIterationRequest: z.ZodLazy<z.ZodObject<{
|
|
|
2850
2850
|
inference_settings: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodObject<{
|
|
2851
2851
|
model: z.ZodDefault<z.ZodString>;
|
|
2852
2852
|
temperature: z.ZodDefault<z.ZodNumber>;
|
|
2853
|
-
modality: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"image">, z.ZodLiteral<"native">, z.ZodLiteral<"image+text"
|
|
2853
|
+
modality: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"image">, z.ZodLiteral<"native">, z.ZodLiteral<"image+text">]>>;
|
|
2854
2854
|
reasoning_effort: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"minimal">, z.ZodLiteral<"low">, z.ZodLiteral<"medium">, z.ZodLiteral<"high">]>>>>;
|
|
2855
2855
|
image_resolution_dpi: z.ZodDefault<z.ZodNumber>;
|
|
2856
2856
|
browser_canvas: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"A3">, z.ZodLiteral<"A4">, z.ZodLiteral<"A5">]>>;
|
|
@@ -2858,7 +2858,7 @@ export declare const ZPatchIterationRequest: z.ZodLazy<z.ZodObject<{
|
|
|
2858
2858
|
}, "strip", z.ZodTypeAny, {
|
|
2859
2859
|
model: string;
|
|
2860
2860
|
temperature: number;
|
|
2861
|
-
modality: "text" | "image" | "native" | "image+text"
|
|
2861
|
+
modality: "text" | "image" | "native" | "image+text";
|
|
2862
2862
|
reasoning_effort: "low" | "high" | "minimal" | "medium" | null;
|
|
2863
2863
|
image_resolution_dpi: number;
|
|
2864
2864
|
browser_canvas: "A3" | "A4" | "A5";
|
|
@@ -2866,7 +2866,7 @@ export declare const ZPatchIterationRequest: z.ZodLazy<z.ZodObject<{
|
|
|
2866
2866
|
}, {
|
|
2867
2867
|
model?: string | undefined;
|
|
2868
2868
|
temperature?: number | undefined;
|
|
2869
|
-
modality?: "text" | "image" | "native" | "image+text" |
|
|
2869
|
+
modality?: "text" | "image" | "native" | "image+text" | undefined;
|
|
2870
2870
|
reasoning_effort?: "low" | "high" | "minimal" | "medium" | null | undefined;
|
|
2871
2871
|
image_resolution_dpi?: number | undefined;
|
|
2872
2872
|
browser_canvas?: "A3" | "A4" | "A5" | undefined;
|
|
@@ -2879,7 +2879,7 @@ export declare const ZPatchIterationRequest: z.ZodLazy<z.ZodObject<{
|
|
|
2879
2879
|
inference_settings?: {
|
|
2880
2880
|
model: string;
|
|
2881
2881
|
temperature: number;
|
|
2882
|
-
modality: "text" | "image" | "native" | "image+text"
|
|
2882
|
+
modality: "text" | "image" | "native" | "image+text";
|
|
2883
2883
|
reasoning_effort: "low" | "high" | "minimal" | "medium" | null;
|
|
2884
2884
|
image_resolution_dpi: number;
|
|
2885
2885
|
browser_canvas: "A3" | "A4" | "A5";
|
|
@@ -2891,7 +2891,7 @@ export declare const ZPatchIterationRequest: z.ZodLazy<z.ZodObject<{
|
|
|
2891
2891
|
inference_settings?: {
|
|
2892
2892
|
model?: string | undefined;
|
|
2893
2893
|
temperature?: number | undefined;
|
|
2894
|
-
modality?: "text" | "image" | "native" | "image+text" |
|
|
2894
|
+
modality?: "text" | "image" | "native" | "image+text" | undefined;
|
|
2895
2895
|
reasoning_effort?: "low" | "high" | "minimal" | "medium" | null | undefined;
|
|
2896
2896
|
image_resolution_dpi?: number | undefined;
|
|
2897
2897
|
browser_canvas?: "A3" | "A4" | "A5" | undefined;
|
|
@@ -2987,12 +2987,51 @@ export declare const ZCreateProjectDocumentRequest: z.ZodLazy<z.ZodObject<{
|
|
|
2987
2987
|
currency?: string | undefined;
|
|
2988
2988
|
} | null | undefined;
|
|
2989
2989
|
}>>>>;
|
|
2990
|
+
playground_extraction: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2991
|
+
playground_extraction_metadata: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodObject<{
|
|
2992
|
+
extraction_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2993
|
+
likelihoods: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
2994
|
+
field_locations: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
2995
|
+
agentic_field_locations: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
2996
|
+
consensus_details: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">>>;
|
|
2997
|
+
api_cost: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodObject<{
|
|
2998
|
+
value: z.ZodNumber;
|
|
2999
|
+
currency: z.ZodDefault<z.ZodString>;
|
|
3000
|
+
}, "strip", z.ZodTypeAny, {
|
|
3001
|
+
value: number;
|
|
3002
|
+
currency: string;
|
|
3003
|
+
}, {
|
|
3004
|
+
value: number;
|
|
3005
|
+
currency?: string | undefined;
|
|
3006
|
+
}>>>>;
|
|
3007
|
+
}, "strip", z.ZodTypeAny, {
|
|
3008
|
+
extraction_id?: string | null | undefined;
|
|
3009
|
+
likelihoods?: Record<string, any> | null | undefined;
|
|
3010
|
+
field_locations?: Record<string, any> | null | undefined;
|
|
3011
|
+
agentic_field_locations?: Record<string, any> | null | undefined;
|
|
3012
|
+
consensus_details?: Record<string, any>[] | null | undefined;
|
|
3013
|
+
api_cost?: {
|
|
3014
|
+
value: number;
|
|
3015
|
+
currency: string;
|
|
3016
|
+
} | null | undefined;
|
|
3017
|
+
}, {
|
|
3018
|
+
extraction_id?: string | null | undefined;
|
|
3019
|
+
likelihoods?: Record<string, any> | null | undefined;
|
|
3020
|
+
field_locations?: Record<string, any> | null | undefined;
|
|
3021
|
+
agentic_field_locations?: Record<string, any> | null | undefined;
|
|
3022
|
+
consensus_details?: Record<string, any>[] | null | undefined;
|
|
3023
|
+
api_cost?: {
|
|
3024
|
+
value: number;
|
|
3025
|
+
currency?: string | undefined;
|
|
3026
|
+
} | null | undefined;
|
|
3027
|
+
}>>>>;
|
|
2990
3028
|
}, "strip", z.ZodTypeAny, {
|
|
2991
3029
|
mime_data: {
|
|
2992
3030
|
filename: string;
|
|
2993
3031
|
url: string;
|
|
2994
3032
|
};
|
|
2995
3033
|
annotation: Record<string, any>;
|
|
3034
|
+
playground_extraction: Record<string, any>;
|
|
2996
3035
|
annotation_metadata?: {
|
|
2997
3036
|
extraction_id?: string | null | undefined;
|
|
2998
3037
|
likelihoods?: Record<string, any> | null | undefined;
|
|
@@ -3004,6 +3043,17 @@ export declare const ZCreateProjectDocumentRequest: z.ZodLazy<z.ZodObject<{
|
|
|
3004
3043
|
currency: string;
|
|
3005
3044
|
} | null | undefined;
|
|
3006
3045
|
} | null | undefined;
|
|
3046
|
+
playground_extraction_metadata?: {
|
|
3047
|
+
extraction_id?: string | null | undefined;
|
|
3048
|
+
likelihoods?: Record<string, any> | null | undefined;
|
|
3049
|
+
field_locations?: Record<string, any> | null | undefined;
|
|
3050
|
+
agentic_field_locations?: Record<string, any> | null | undefined;
|
|
3051
|
+
consensus_details?: Record<string, any>[] | null | undefined;
|
|
3052
|
+
api_cost?: {
|
|
3053
|
+
value: number;
|
|
3054
|
+
currency: string;
|
|
3055
|
+
} | null | undefined;
|
|
3056
|
+
} | null | undefined;
|
|
3007
3057
|
}, {
|
|
3008
3058
|
mime_data: {
|
|
3009
3059
|
filename: string;
|
|
@@ -3021,6 +3071,18 @@ export declare const ZCreateProjectDocumentRequest: z.ZodLazy<z.ZodObject<{
|
|
|
3021
3071
|
currency?: string | undefined;
|
|
3022
3072
|
} | null | undefined;
|
|
3023
3073
|
} | null | undefined;
|
|
3074
|
+
playground_extraction?: Record<string, any> | undefined;
|
|
3075
|
+
playground_extraction_metadata?: {
|
|
3076
|
+
extraction_id?: string | null | undefined;
|
|
3077
|
+
likelihoods?: Record<string, any> | null | undefined;
|
|
3078
|
+
field_locations?: Record<string, any> | null | undefined;
|
|
3079
|
+
agentic_field_locations?: Record<string, any> | null | undefined;
|
|
3080
|
+
consensus_details?: Record<string, any>[] | null | undefined;
|
|
3081
|
+
api_cost?: {
|
|
3082
|
+
value: number;
|
|
3083
|
+
currency?: string | undefined;
|
|
3084
|
+
} | null | undefined;
|
|
3085
|
+
} | null | undefined;
|
|
3024
3086
|
}>>;
|
|
3025
3087
|
export type CreateProjectDocumentRequest = z.infer<typeof ZCreateProjectDocumentRequest>;
|
|
3026
3088
|
export declare const ZDocumentItem: z.ZodLazy<z.ZodObject<{
|
|
@@ -3073,12 +3135,51 @@ export declare const ZDocumentItem: z.ZodLazy<z.ZodObject<{
|
|
|
3073
3135
|
currency?: string | undefined;
|
|
3074
3136
|
} | null | undefined;
|
|
3075
3137
|
}>>>>;
|
|
3138
|
+
playground_extraction: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
3139
|
+
playground_extraction_metadata: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodObject<{
|
|
3140
|
+
extraction_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3141
|
+
likelihoods: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
3142
|
+
field_locations: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
3143
|
+
agentic_field_locations: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
3144
|
+
consensus_details: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">>>;
|
|
3145
|
+
api_cost: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodObject<{
|
|
3146
|
+
value: z.ZodNumber;
|
|
3147
|
+
currency: z.ZodDefault<z.ZodString>;
|
|
3148
|
+
}, "strip", z.ZodTypeAny, {
|
|
3149
|
+
value: number;
|
|
3150
|
+
currency: string;
|
|
3151
|
+
}, {
|
|
3152
|
+
value: number;
|
|
3153
|
+
currency?: string | undefined;
|
|
3154
|
+
}>>>>;
|
|
3155
|
+
}, "strip", z.ZodTypeAny, {
|
|
3156
|
+
extraction_id?: string | null | undefined;
|
|
3157
|
+
likelihoods?: Record<string, any> | null | undefined;
|
|
3158
|
+
field_locations?: Record<string, any> | null | undefined;
|
|
3159
|
+
agentic_field_locations?: Record<string, any> | null | undefined;
|
|
3160
|
+
consensus_details?: Record<string, any>[] | null | undefined;
|
|
3161
|
+
api_cost?: {
|
|
3162
|
+
value: number;
|
|
3163
|
+
currency: string;
|
|
3164
|
+
} | null | undefined;
|
|
3165
|
+
}, {
|
|
3166
|
+
extraction_id?: string | null | undefined;
|
|
3167
|
+
likelihoods?: Record<string, any> | null | undefined;
|
|
3168
|
+
field_locations?: Record<string, any> | null | undefined;
|
|
3169
|
+
agentic_field_locations?: Record<string, any> | null | undefined;
|
|
3170
|
+
consensus_details?: Record<string, any>[] | null | undefined;
|
|
3171
|
+
api_cost?: {
|
|
3172
|
+
value: number;
|
|
3173
|
+
currency?: string | undefined;
|
|
3174
|
+
} | null | undefined;
|
|
3175
|
+
}>>>>;
|
|
3076
3176
|
}, "strip", z.ZodTypeAny, {
|
|
3077
3177
|
mime_data: {
|
|
3078
3178
|
filename: string;
|
|
3079
3179
|
url: string;
|
|
3080
3180
|
};
|
|
3081
3181
|
annotation: Record<string, any>;
|
|
3182
|
+
playground_extraction: Record<string, any>;
|
|
3082
3183
|
annotation_metadata?: {
|
|
3083
3184
|
extraction_id?: string | null | undefined;
|
|
3084
3185
|
likelihoods?: Record<string, any> | null | undefined;
|
|
@@ -3090,6 +3191,17 @@ export declare const ZDocumentItem: z.ZodLazy<z.ZodObject<{
|
|
|
3090
3191
|
currency: string;
|
|
3091
3192
|
} | null | undefined;
|
|
3092
3193
|
} | null | undefined;
|
|
3194
|
+
playground_extraction_metadata?: {
|
|
3195
|
+
extraction_id?: string | null | undefined;
|
|
3196
|
+
likelihoods?: Record<string, any> | null | undefined;
|
|
3197
|
+
field_locations?: Record<string, any> | null | undefined;
|
|
3198
|
+
agentic_field_locations?: Record<string, any> | null | undefined;
|
|
3199
|
+
consensus_details?: Record<string, any>[] | null | undefined;
|
|
3200
|
+
api_cost?: {
|
|
3201
|
+
value: number;
|
|
3202
|
+
currency: string;
|
|
3203
|
+
} | null | undefined;
|
|
3204
|
+
} | null | undefined;
|
|
3093
3205
|
}, {
|
|
3094
3206
|
mime_data: {
|
|
3095
3207
|
filename: string;
|
|
@@ -3107,6 +3219,18 @@ export declare const ZDocumentItem: z.ZodLazy<z.ZodObject<{
|
|
|
3107
3219
|
currency?: string | undefined;
|
|
3108
3220
|
} | null | undefined;
|
|
3109
3221
|
} | null | undefined;
|
|
3222
|
+
playground_extraction?: Record<string, any> | undefined;
|
|
3223
|
+
playground_extraction_metadata?: {
|
|
3224
|
+
extraction_id?: string | null | undefined;
|
|
3225
|
+
likelihoods?: Record<string, any> | null | undefined;
|
|
3226
|
+
field_locations?: Record<string, any> | null | undefined;
|
|
3227
|
+
agentic_field_locations?: Record<string, any> | null | undefined;
|
|
3228
|
+
consensus_details?: Record<string, any>[] | null | undefined;
|
|
3229
|
+
api_cost?: {
|
|
3230
|
+
value: number;
|
|
3231
|
+
currency?: string | undefined;
|
|
3232
|
+
} | null | undefined;
|
|
3233
|
+
} | null | undefined;
|
|
3110
3234
|
}>>;
|
|
3111
3235
|
export type DocumentItem = z.infer<typeof ZDocumentItem>;
|
|
3112
3236
|
export declare const ZPatchProjectDocumentRequest: z.ZodLazy<z.ZodObject<{
|
|
@@ -3149,6 +3273,44 @@ export declare const ZPatchProjectDocumentRequest: z.ZodLazy<z.ZodObject<{
|
|
|
3149
3273
|
} | null | undefined;
|
|
3150
3274
|
}>>>>;
|
|
3151
3275
|
ocr_file_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3276
|
+
playground_extraction: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
3277
|
+
playground_extraction_metadata: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodObject<{
|
|
3278
|
+
extraction_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3279
|
+
likelihoods: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
3280
|
+
field_locations: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
3281
|
+
agentic_field_locations: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
3282
|
+
consensus_details: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">>>;
|
|
3283
|
+
api_cost: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodObject<{
|
|
3284
|
+
value: z.ZodNumber;
|
|
3285
|
+
currency: z.ZodDefault<z.ZodString>;
|
|
3286
|
+
}, "strip", z.ZodTypeAny, {
|
|
3287
|
+
value: number;
|
|
3288
|
+
currency: string;
|
|
3289
|
+
}, {
|
|
3290
|
+
value: number;
|
|
3291
|
+
currency?: string | undefined;
|
|
3292
|
+
}>>>>;
|
|
3293
|
+
}, "strip", z.ZodTypeAny, {
|
|
3294
|
+
extraction_id?: string | null | undefined;
|
|
3295
|
+
likelihoods?: Record<string, any> | null | undefined;
|
|
3296
|
+
field_locations?: Record<string, any> | null | undefined;
|
|
3297
|
+
agentic_field_locations?: Record<string, any> | null | undefined;
|
|
3298
|
+
consensus_details?: Record<string, any>[] | null | undefined;
|
|
3299
|
+
api_cost?: {
|
|
3300
|
+
value: number;
|
|
3301
|
+
currency: string;
|
|
3302
|
+
} | null | undefined;
|
|
3303
|
+
}, {
|
|
3304
|
+
extraction_id?: string | null | undefined;
|
|
3305
|
+
likelihoods?: Record<string, any> | null | undefined;
|
|
3306
|
+
field_locations?: Record<string, any> | null | undefined;
|
|
3307
|
+
agentic_field_locations?: Record<string, any> | null | undefined;
|
|
3308
|
+
consensus_details?: Record<string, any>[] | null | undefined;
|
|
3309
|
+
api_cost?: {
|
|
3310
|
+
value: number;
|
|
3311
|
+
currency?: string | undefined;
|
|
3312
|
+
} | null | undefined;
|
|
3313
|
+
}>>>>;
|
|
3152
3314
|
}, "strip", z.ZodTypeAny, {
|
|
3153
3315
|
annotation?: Record<string, any> | null | undefined;
|
|
3154
3316
|
annotation_metadata?: {
|
|
@@ -3162,6 +3324,18 @@ export declare const ZPatchProjectDocumentRequest: z.ZodLazy<z.ZodObject<{
|
|
|
3162
3324
|
currency: string;
|
|
3163
3325
|
} | null | undefined;
|
|
3164
3326
|
} | null | undefined;
|
|
3327
|
+
playground_extraction?: Record<string, any> | null | undefined;
|
|
3328
|
+
playground_extraction_metadata?: {
|
|
3329
|
+
extraction_id?: string | null | undefined;
|
|
3330
|
+
likelihoods?: Record<string, any> | null | undefined;
|
|
3331
|
+
field_locations?: Record<string, any> | null | undefined;
|
|
3332
|
+
agentic_field_locations?: Record<string, any> | null | undefined;
|
|
3333
|
+
consensus_details?: Record<string, any>[] | null | undefined;
|
|
3334
|
+
api_cost?: {
|
|
3335
|
+
value: number;
|
|
3336
|
+
currency: string;
|
|
3337
|
+
} | null | undefined;
|
|
3338
|
+
} | null | undefined;
|
|
3165
3339
|
ocr_file_id?: string | null | undefined;
|
|
3166
3340
|
}, {
|
|
3167
3341
|
annotation?: Record<string, any> | null | undefined;
|
|
@@ -3176,6 +3350,18 @@ export declare const ZPatchProjectDocumentRequest: z.ZodLazy<z.ZodObject<{
|
|
|
3176
3350
|
currency?: string | undefined;
|
|
3177
3351
|
} | null | undefined;
|
|
3178
3352
|
} | null | undefined;
|
|
3353
|
+
playground_extraction?: Record<string, any> | null | undefined;
|
|
3354
|
+
playground_extraction_metadata?: {
|
|
3355
|
+
extraction_id?: string | null | undefined;
|
|
3356
|
+
likelihoods?: Record<string, any> | null | undefined;
|
|
3357
|
+
field_locations?: Record<string, any> | null | undefined;
|
|
3358
|
+
agentic_field_locations?: Record<string, any> | null | undefined;
|
|
3359
|
+
consensus_details?: Record<string, any>[] | null | undefined;
|
|
3360
|
+
api_cost?: {
|
|
3361
|
+
value: number;
|
|
3362
|
+
currency?: string | undefined;
|
|
3363
|
+
} | null | undefined;
|
|
3364
|
+
} | null | undefined;
|
|
3179
3365
|
ocr_file_id?: string | null | undefined;
|
|
3180
3366
|
}>>;
|
|
3181
3367
|
export type PatchProjectDocumentRequest = z.infer<typeof ZPatchProjectDocumentRequest>;
|
|
@@ -3229,6 +3415,44 @@ export declare const ZProjectDocument: z.ZodLazy<z.ZodObject<{
|
|
|
3229
3415
|
currency?: string | undefined;
|
|
3230
3416
|
} | null | undefined;
|
|
3231
3417
|
}>>>>;
|
|
3418
|
+
playground_extraction: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
3419
|
+
playground_extraction_metadata: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodObject<{
|
|
3420
|
+
extraction_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3421
|
+
likelihoods: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
3422
|
+
field_locations: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
3423
|
+
agentic_field_locations: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
3424
|
+
consensus_details: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">>>;
|
|
3425
|
+
api_cost: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodObject<{
|
|
3426
|
+
value: z.ZodNumber;
|
|
3427
|
+
currency: z.ZodDefault<z.ZodString>;
|
|
3428
|
+
}, "strip", z.ZodTypeAny, {
|
|
3429
|
+
value: number;
|
|
3430
|
+
currency: string;
|
|
3431
|
+
}, {
|
|
3432
|
+
value: number;
|
|
3433
|
+
currency?: string | undefined;
|
|
3434
|
+
}>>>>;
|
|
3435
|
+
}, "strip", z.ZodTypeAny, {
|
|
3436
|
+
extraction_id?: string | null | undefined;
|
|
3437
|
+
likelihoods?: Record<string, any> | null | undefined;
|
|
3438
|
+
field_locations?: Record<string, any> | null | undefined;
|
|
3439
|
+
agentic_field_locations?: Record<string, any> | null | undefined;
|
|
3440
|
+
consensus_details?: Record<string, any>[] | null | undefined;
|
|
3441
|
+
api_cost?: {
|
|
3442
|
+
value: number;
|
|
3443
|
+
currency: string;
|
|
3444
|
+
} | null | undefined;
|
|
3445
|
+
}, {
|
|
3446
|
+
extraction_id?: string | null | undefined;
|
|
3447
|
+
likelihoods?: Record<string, any> | null | undefined;
|
|
3448
|
+
field_locations?: Record<string, any> | null | undefined;
|
|
3449
|
+
agentic_field_locations?: Record<string, any> | null | undefined;
|
|
3450
|
+
consensus_details?: Record<string, any>[] | null | undefined;
|
|
3451
|
+
api_cost?: {
|
|
3452
|
+
value: number;
|
|
3453
|
+
currency?: string | undefined;
|
|
3454
|
+
} | null | undefined;
|
|
3455
|
+
}>>>>;
|
|
3232
3456
|
} & {
|
|
3233
3457
|
id: z.ZodString;
|
|
3234
3458
|
ocr_file_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -3239,6 +3463,7 @@ export declare const ZProjectDocument: z.ZodLazy<z.ZodObject<{
|
|
|
3239
3463
|
url: string;
|
|
3240
3464
|
};
|
|
3241
3465
|
annotation: Record<string, any>;
|
|
3466
|
+
playground_extraction: Record<string, any>;
|
|
3242
3467
|
annotation_metadata?: {
|
|
3243
3468
|
extraction_id?: string | null | undefined;
|
|
3244
3469
|
likelihoods?: Record<string, any> | null | undefined;
|
|
@@ -3250,6 +3475,17 @@ export declare const ZProjectDocument: z.ZodLazy<z.ZodObject<{
|
|
|
3250
3475
|
currency: string;
|
|
3251
3476
|
} | null | undefined;
|
|
3252
3477
|
} | null | undefined;
|
|
3478
|
+
playground_extraction_metadata?: {
|
|
3479
|
+
extraction_id?: string | null | undefined;
|
|
3480
|
+
likelihoods?: Record<string, any> | null | undefined;
|
|
3481
|
+
field_locations?: Record<string, any> | null | undefined;
|
|
3482
|
+
agentic_field_locations?: Record<string, any> | null | undefined;
|
|
3483
|
+
consensus_details?: Record<string, any>[] | null | undefined;
|
|
3484
|
+
api_cost?: {
|
|
3485
|
+
value: number;
|
|
3486
|
+
currency: string;
|
|
3487
|
+
} | null | undefined;
|
|
3488
|
+
} | null | undefined;
|
|
3253
3489
|
ocr_file_id?: string | null | undefined;
|
|
3254
3490
|
}, {
|
|
3255
3491
|
id: string;
|
|
@@ -3269,6 +3505,18 @@ export declare const ZProjectDocument: z.ZodLazy<z.ZodObject<{
|
|
|
3269
3505
|
currency?: string | undefined;
|
|
3270
3506
|
} | null | undefined;
|
|
3271
3507
|
} | null | undefined;
|
|
3508
|
+
playground_extraction?: Record<string, any> | undefined;
|
|
3509
|
+
playground_extraction_metadata?: {
|
|
3510
|
+
extraction_id?: string | null | undefined;
|
|
3511
|
+
likelihoods?: Record<string, any> | null | undefined;
|
|
3512
|
+
field_locations?: Record<string, any> | null | undefined;
|
|
3513
|
+
agentic_field_locations?: Record<string, any> | null | undefined;
|
|
3514
|
+
consensus_details?: Record<string, any>[] | null | undefined;
|
|
3515
|
+
api_cost?: {
|
|
3516
|
+
value: number;
|
|
3517
|
+
currency?: string | undefined;
|
|
3518
|
+
} | null | undefined;
|
|
3519
|
+
} | null | undefined;
|
|
3272
3520
|
ocr_file_id?: string | null | undefined;
|
|
3273
3521
|
}>>;
|
|
3274
3522
|
export type ProjectDocument = z.infer<typeof ZProjectDocument>;
|
|
@@ -3367,6 +3615,44 @@ export declare const ZProject: z.ZodLazy<z.ZodObject<{
|
|
|
3367
3615
|
currency?: string | undefined;
|
|
3368
3616
|
} | null | undefined;
|
|
3369
3617
|
}>>>>;
|
|
3618
|
+
playground_extraction: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
3619
|
+
playground_extraction_metadata: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodObject<{
|
|
3620
|
+
extraction_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3621
|
+
likelihoods: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
3622
|
+
field_locations: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
3623
|
+
agentic_field_locations: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
3624
|
+
consensus_details: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>, "many">>>;
|
|
3625
|
+
api_cost: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodObject<{
|
|
3626
|
+
value: z.ZodNumber;
|
|
3627
|
+
currency: z.ZodDefault<z.ZodString>;
|
|
3628
|
+
}, "strip", z.ZodTypeAny, {
|
|
3629
|
+
value: number;
|
|
3630
|
+
currency: string;
|
|
3631
|
+
}, {
|
|
3632
|
+
value: number;
|
|
3633
|
+
currency?: string | undefined;
|
|
3634
|
+
}>>>>;
|
|
3635
|
+
}, "strip", z.ZodTypeAny, {
|
|
3636
|
+
extraction_id?: string | null | undefined;
|
|
3637
|
+
likelihoods?: Record<string, any> | null | undefined;
|
|
3638
|
+
field_locations?: Record<string, any> | null | undefined;
|
|
3639
|
+
agentic_field_locations?: Record<string, any> | null | undefined;
|
|
3640
|
+
consensus_details?: Record<string, any>[] | null | undefined;
|
|
3641
|
+
api_cost?: {
|
|
3642
|
+
value: number;
|
|
3643
|
+
currency: string;
|
|
3644
|
+
} | null | undefined;
|
|
3645
|
+
}, {
|
|
3646
|
+
extraction_id?: string | null | undefined;
|
|
3647
|
+
likelihoods?: Record<string, any> | null | undefined;
|
|
3648
|
+
field_locations?: Record<string, any> | null | undefined;
|
|
3649
|
+
agentic_field_locations?: Record<string, any> | null | undefined;
|
|
3650
|
+
consensus_details?: Record<string, any>[] | null | undefined;
|
|
3651
|
+
api_cost?: {
|
|
3652
|
+
value: number;
|
|
3653
|
+
currency?: string | undefined;
|
|
3654
|
+
} | null | undefined;
|
|
3655
|
+
}>>>>;
|
|
3370
3656
|
} & {
|
|
3371
3657
|
id: z.ZodString;
|
|
3372
3658
|
ocr_file_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -3377,6 +3663,7 @@ export declare const ZProject: z.ZodLazy<z.ZodObject<{
|
|
|
3377
3663
|
url: string;
|
|
3378
3664
|
};
|
|
3379
3665
|
annotation: Record<string, any>;
|
|
3666
|
+
playground_extraction: Record<string, any>;
|
|
3380
3667
|
annotation_metadata?: {
|
|
3381
3668
|
extraction_id?: string | null | undefined;
|
|
3382
3669
|
likelihoods?: Record<string, any> | null | undefined;
|
|
@@ -3388,6 +3675,17 @@ export declare const ZProject: z.ZodLazy<z.ZodObject<{
|
|
|
3388
3675
|
currency: string;
|
|
3389
3676
|
} | null | undefined;
|
|
3390
3677
|
} | null | undefined;
|
|
3678
|
+
playground_extraction_metadata?: {
|
|
3679
|
+
extraction_id?: string | null | undefined;
|
|
3680
|
+
likelihoods?: Record<string, any> | null | undefined;
|
|
3681
|
+
field_locations?: Record<string, any> | null | undefined;
|
|
3682
|
+
agentic_field_locations?: Record<string, any> | null | undefined;
|
|
3683
|
+
consensus_details?: Record<string, any>[] | null | undefined;
|
|
3684
|
+
api_cost?: {
|
|
3685
|
+
value: number;
|
|
3686
|
+
currency: string;
|
|
3687
|
+
} | null | undefined;
|
|
3688
|
+
} | null | undefined;
|
|
3391
3689
|
ocr_file_id?: string | null | undefined;
|
|
3392
3690
|
}, {
|
|
3393
3691
|
id: string;
|
|
@@ -3407,6 +3705,18 @@ export declare const ZProject: z.ZodLazy<z.ZodObject<{
|
|
|
3407
3705
|
currency?: string | undefined;
|
|
3408
3706
|
} | null | undefined;
|
|
3409
3707
|
} | null | undefined;
|
|
3708
|
+
playground_extraction?: Record<string, any> | undefined;
|
|
3709
|
+
playground_extraction_metadata?: {
|
|
3710
|
+
extraction_id?: string | null | undefined;
|
|
3711
|
+
likelihoods?: Record<string, any> | null | undefined;
|
|
3712
|
+
field_locations?: Record<string, any> | null | undefined;
|
|
3713
|
+
agentic_field_locations?: Record<string, any> | null | undefined;
|
|
3714
|
+
consensus_details?: Record<string, any>[] | null | undefined;
|
|
3715
|
+
api_cost?: {
|
|
3716
|
+
value: number;
|
|
3717
|
+
currency?: string | undefined;
|
|
3718
|
+
} | null | undefined;
|
|
3719
|
+
} | null | undefined;
|
|
3410
3720
|
ocr_file_id?: string | null | undefined;
|
|
3411
3721
|
}>>, "many">>;
|
|
3412
3722
|
iterations: z.ZodDefault<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
@@ -3415,7 +3725,7 @@ export declare const ZProject: z.ZodLazy<z.ZodObject<{
|
|
|
3415
3725
|
inference_settings: z.ZodLazy<z.ZodObject<{
|
|
3416
3726
|
model: z.ZodDefault<z.ZodString>;
|
|
3417
3727
|
temperature: z.ZodDefault<z.ZodNumber>;
|
|
3418
|
-
modality: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"image">, z.ZodLiteral<"native">, z.ZodLiteral<"image+text"
|
|
3728
|
+
modality: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"image">, z.ZodLiteral<"native">, z.ZodLiteral<"image+text">]>>;
|
|
3419
3729
|
reasoning_effort: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"minimal">, z.ZodLiteral<"low">, z.ZodLiteral<"medium">, z.ZodLiteral<"high">]>>>>;
|
|
3420
3730
|
image_resolution_dpi: z.ZodDefault<z.ZodNumber>;
|
|
3421
3731
|
browser_canvas: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"A3">, z.ZodLiteral<"A4">, z.ZodLiteral<"A5">]>>;
|
|
@@ -3423,7 +3733,7 @@ export declare const ZProject: z.ZodLazy<z.ZodObject<{
|
|
|
3423
3733
|
}, "strip", z.ZodTypeAny, {
|
|
3424
3734
|
model: string;
|
|
3425
3735
|
temperature: number;
|
|
3426
|
-
modality: "text" | "image" | "native" | "image+text"
|
|
3736
|
+
modality: "text" | "image" | "native" | "image+text";
|
|
3427
3737
|
reasoning_effort: "low" | "high" | "minimal" | "medium" | null;
|
|
3428
3738
|
image_resolution_dpi: number;
|
|
3429
3739
|
browser_canvas: "A3" | "A4" | "A5";
|
|
@@ -3431,7 +3741,7 @@ export declare const ZProject: z.ZodLazy<z.ZodObject<{
|
|
|
3431
3741
|
}, {
|
|
3432
3742
|
model?: string | undefined;
|
|
3433
3743
|
temperature?: number | undefined;
|
|
3434
|
-
modality?: "text" | "image" | "native" | "image+text" |
|
|
3744
|
+
modality?: "text" | "image" | "native" | "image+text" | undefined;
|
|
3435
3745
|
reasoning_effort?: "low" | "high" | "minimal" | "medium" | null | undefined;
|
|
3436
3746
|
image_resolution_dpi?: number | undefined;
|
|
3437
3747
|
browser_canvas?: "A3" | "A4" | "A5" | undefined;
|
|
@@ -3516,7 +3826,7 @@ export declare const ZProject: z.ZodLazy<z.ZodObject<{
|
|
|
3516
3826
|
inference_settings: {
|
|
3517
3827
|
model: string;
|
|
3518
3828
|
temperature: number;
|
|
3519
|
-
modality: "text" | "image" | "native" | "image+text"
|
|
3829
|
+
modality: "text" | "image" | "native" | "image+text";
|
|
3520
3830
|
reasoning_effort: "low" | "high" | "minimal" | "medium" | null;
|
|
3521
3831
|
image_resolution_dpi: number;
|
|
3522
3832
|
browser_canvas: "A3" | "A4" | "A5";
|
|
@@ -3545,7 +3855,7 @@ export declare const ZProject: z.ZodLazy<z.ZodObject<{
|
|
|
3545
3855
|
inference_settings: {
|
|
3546
3856
|
model?: string | undefined;
|
|
3547
3857
|
temperature?: number | undefined;
|
|
3548
|
-
modality?: "text" | "image" | "native" | "image+text" |
|
|
3858
|
+
modality?: "text" | "image" | "native" | "image+text" | undefined;
|
|
3549
3859
|
reasoning_effort?: "low" | "high" | "minimal" | "medium" | null | undefined;
|
|
3550
3860
|
image_resolution_dpi?: number | undefined;
|
|
3551
3861
|
browser_canvas?: "A3" | "A4" | "A5" | undefined;
|
|
@@ -3580,6 +3890,7 @@ export declare const ZProject: z.ZodLazy<z.ZodObject<{
|
|
|
3580
3890
|
url: string;
|
|
3581
3891
|
};
|
|
3582
3892
|
annotation: Record<string, any>;
|
|
3893
|
+
playground_extraction: Record<string, any>;
|
|
3583
3894
|
annotation_metadata?: {
|
|
3584
3895
|
extraction_id?: string | null | undefined;
|
|
3585
3896
|
likelihoods?: Record<string, any> | null | undefined;
|
|
@@ -3591,6 +3902,17 @@ export declare const ZProject: z.ZodLazy<z.ZodObject<{
|
|
|
3591
3902
|
currency: string;
|
|
3592
3903
|
} | null | undefined;
|
|
3593
3904
|
} | null | undefined;
|
|
3905
|
+
playground_extraction_metadata?: {
|
|
3906
|
+
extraction_id?: string | null | undefined;
|
|
3907
|
+
likelihoods?: Record<string, any> | null | undefined;
|
|
3908
|
+
field_locations?: Record<string, any> | null | undefined;
|
|
3909
|
+
agentic_field_locations?: Record<string, any> | null | undefined;
|
|
3910
|
+
consensus_details?: Record<string, any>[] | null | undefined;
|
|
3911
|
+
api_cost?: {
|
|
3912
|
+
value: number;
|
|
3913
|
+
currency: string;
|
|
3914
|
+
} | null | undefined;
|
|
3915
|
+
} | null | undefined;
|
|
3594
3916
|
ocr_file_id?: string | null | undefined;
|
|
3595
3917
|
}[];
|
|
3596
3918
|
iterations: {
|
|
@@ -3600,7 +3922,7 @@ export declare const ZProject: z.ZodLazy<z.ZodObject<{
|
|
|
3600
3922
|
inference_settings: {
|
|
3601
3923
|
model: string;
|
|
3602
3924
|
temperature: number;
|
|
3603
|
-
modality: "text" | "image" | "native" | "image+text"
|
|
3925
|
+
modality: "text" | "image" | "native" | "image+text";
|
|
3604
3926
|
reasoning_effort: "low" | "high" | "minimal" | "medium" | null;
|
|
3605
3927
|
image_resolution_dpi: number;
|
|
3606
3928
|
browser_canvas: "A3" | "A4" | "A5";
|
|
@@ -3646,6 +3968,18 @@ export declare const ZProject: z.ZodLazy<z.ZodObject<{
|
|
|
3646
3968
|
currency?: string | undefined;
|
|
3647
3969
|
} | null | undefined;
|
|
3648
3970
|
} | null | undefined;
|
|
3971
|
+
playground_extraction?: Record<string, any> | undefined;
|
|
3972
|
+
playground_extraction_metadata?: {
|
|
3973
|
+
extraction_id?: string | null | undefined;
|
|
3974
|
+
likelihoods?: Record<string, any> | null | undefined;
|
|
3975
|
+
field_locations?: Record<string, any> | null | undefined;
|
|
3976
|
+
agentic_field_locations?: Record<string, any> | null | undefined;
|
|
3977
|
+
consensus_details?: Record<string, any>[] | null | undefined;
|
|
3978
|
+
api_cost?: {
|
|
3979
|
+
value: number;
|
|
3980
|
+
currency?: string | undefined;
|
|
3981
|
+
} | null | undefined;
|
|
3982
|
+
} | null | undefined;
|
|
3649
3983
|
ocr_file_id?: string | null | undefined;
|
|
3650
3984
|
}[] | undefined;
|
|
3651
3985
|
iterations?: {
|
|
@@ -3655,7 +3989,7 @@ export declare const ZProject: z.ZodLazy<z.ZodObject<{
|
|
|
3655
3989
|
inference_settings: {
|
|
3656
3990
|
model?: string | undefined;
|
|
3657
3991
|
temperature?: number | undefined;
|
|
3658
|
-
modality?: "text" | "image" | "native" | "image+text" |
|
|
3992
|
+
modality?: "text" | "image" | "native" | "image+text" | undefined;
|
|
3659
3993
|
reasoning_effort?: "low" | "high" | "minimal" | "medium" | null | undefined;
|
|
3660
3994
|
image_resolution_dpi?: number | undefined;
|
|
3661
3995
|
browser_canvas?: "A3" | "A4" | "A5" | undefined;
|
|
@@ -3702,7 +4036,7 @@ export declare const ZGenerateSchemaRequest: z.ZodLazy<z.ZodObject<{
|
|
|
3702
4036
|
model: z.ZodDefault<z.ZodString>;
|
|
3703
4037
|
temperature: z.ZodDefault<z.ZodNumber>;
|
|
3704
4038
|
reasoning_effort: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"minimal">, z.ZodLiteral<"low">, z.ZodLiteral<"medium">, z.ZodLiteral<"high">]>>>>;
|
|
3705
|
-
modality: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"image">, z.ZodLiteral<"native">, z.ZodLiteral<"image+text"
|
|
4039
|
+
modality: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"image">, z.ZodLiteral<"native">, z.ZodLiteral<"image+text">]>>;
|
|
3706
4040
|
instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3707
4041
|
image_resolution_dpi: z.ZodDefault<z.ZodNumber>;
|
|
3708
4042
|
browser_canvas: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"A3">, z.ZodLiteral<"A4">, z.ZodLiteral<"A5">]>>;
|
|
@@ -3711,7 +4045,7 @@ export declare const ZGenerateSchemaRequest: z.ZodLazy<z.ZodObject<{
|
|
|
3711
4045
|
stream: boolean;
|
|
3712
4046
|
model: string;
|
|
3713
4047
|
temperature: number;
|
|
3714
|
-
modality: "text" | "image" | "native" | "image+text"
|
|
4048
|
+
modality: "text" | "image" | "native" | "image+text";
|
|
3715
4049
|
reasoning_effort: "low" | "high" | "minimal" | "medium" | null;
|
|
3716
4050
|
image_resolution_dpi: number;
|
|
3717
4051
|
browser_canvas: "A3" | "A4" | "A5";
|
|
@@ -3728,7 +4062,7 @@ export declare const ZGenerateSchemaRequest: z.ZodLazy<z.ZodObject<{
|
|
|
3728
4062
|
stream?: boolean | undefined;
|
|
3729
4063
|
model?: string | undefined;
|
|
3730
4064
|
temperature?: number | undefined;
|
|
3731
|
-
modality?: "text" | "image" | "native" | "image+text" |
|
|
4065
|
+
modality?: "text" | "image" | "native" | "image+text" | undefined;
|
|
3732
4066
|
reasoning_effort?: "low" | "high" | "minimal" | "medium" | null | undefined;
|
|
3733
4067
|
image_resolution_dpi?: number | undefined;
|
|
3734
4068
|
browser_canvas?: "A3" | "A4" | "A5" | undefined;
|
|
@@ -4105,7 +4439,7 @@ export declare const ZDocumentCreateInputRequest: z.ZodLazy<z.ZodObject<{
|
|
|
4105
4439
|
filename: string;
|
|
4106
4440
|
url: string;
|
|
4107
4441
|
}>>;
|
|
4108
|
-
modality: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"image">, z.ZodLiteral<"native">, z.ZodLiteral<"image+text"
|
|
4442
|
+
modality: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"image">, z.ZodLiteral<"native">, z.ZodLiteral<"image+text">]>>;
|
|
4109
4443
|
image_resolution_dpi: z.ZodDefault<z.ZodNumber>;
|
|
4110
4444
|
browser_canvas: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"A3">, z.ZodLiteral<"A4">, z.ZodLiteral<"A5">]>>;
|
|
4111
4445
|
model: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"gpt-4o">, z.ZodLiteral<"gpt-4o-mini">, z.ZodLiteral<"chatgpt-4o-latest">, z.ZodLiteral<"gpt-5">, z.ZodLiteral<"gpt-5-2025-08-07">, z.ZodLiteral<"gpt-5-mini">, z.ZodLiteral<"gpt-5-mini-2025-08-07">, z.ZodLiteral<"gpt-5-nano">, z.ZodLiteral<"gpt-5-nano-2025-08-07">, z.ZodLiteral<"gpt-4.1">, z.ZodLiteral<"gpt-4.1-mini">, z.ZodLiteral<"gpt-4.1-mini-2025-04-14">, z.ZodLiteral<"gpt-4.1-2025-04-14">, z.ZodLiteral<"gpt-4.1-nano">, z.ZodLiteral<"gpt-4.1-nano-2025-04-14">, 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-mini-2024-07-18">, z.ZodLiteral<"o1">, z.ZodLiteral<"o1-2024-12-17">, z.ZodLiteral<"o3">, z.ZodLiteral<"o3-2025-04-16">, z.ZodLiteral<"o4-mini">, z.ZodLiteral<"o4-mini-2025-04-16">, z.ZodLiteral<"gpt-4o-audio-preview-2024-12-17">, z.ZodLiteral<"gpt-4o-audio-preview-2024-10-01">, z.ZodLiteral<"gpt-4o-realtime-preview-2024-12-17">, z.ZodLiteral<"gpt-4o-realtime-preview-2024-10-01">, z.ZodLiteral<"gpt-4o-mini-audio-preview-2024-12-17">, z.ZodLiteral<"gpt-4o-mini-realtime-preview-2024-12-17">, z.ZodLiteral<"claude-3-5-sonnet-latest">, z.ZodLiteral<"claude-3-5-sonnet-20241022">, z.ZodLiteral<"claude-3-opus-20240229">, z.ZodLiteral<"claude-3-sonnet-20240229">, z.ZodLiteral<"claude-3-haiku-20240307">, z.ZodLiteral<"claude-opus-4.1">, z.ZodLiteral<"claude-opus-4">, z.ZodLiteral<"claude-sonnet-4">, z.ZodLiteral<"claude-sonnet-4-20250514">, z.ZodLiteral<"grok-3">, z.ZodLiteral<"grok-3-mini">, z.ZodLiteral<"gemini-2.5-pro">, z.ZodLiteral<"gemini-2.5-flash">, z.ZodLiteral<"gemini-2.5-pro-preview-06-05">, z.ZodLiteral<"gemini-2.5-pro-preview-05-06">, z.ZodLiteral<"gemini-2.5-pro-preview-03-25">, z.ZodLiteral<"gemini-2.5-flash-preview-05-20">, z.ZodLiteral<"gemini-2.5-flash-preview-04-17">, z.ZodLiteral<"gemini-2.5-flash-lite">, z.ZodLiteral<"gemini-2.5-pro-exp-03-25">, z.ZodLiteral<"gemini-2.0-flash-lite">, z.ZodLiteral<"gemini-2.0-flash">, z.ZodLiteral<"auto-large">, z.ZodLiteral<"auto-small">, z.ZodLiteral<"auto-micro">, z.ZodLiteral<"human">]>>;
|
|
@@ -4114,7 +4448,7 @@ export declare const ZDocumentCreateInputRequest: z.ZodLazy<z.ZodObject<{
|
|
|
4114
4448
|
}, "strip", z.ZodTypeAny, {
|
|
4115
4449
|
json_schema: Record<string, any>;
|
|
4116
4450
|
model: "gpt-5-mini" | "gpt-4o" | "gpt-4o-mini" | "chatgpt-4o-latest" | "gpt-5" | "gpt-5-2025-08-07" | "gpt-5-mini-2025-08-07" | "gpt-5-nano" | "gpt-5-nano-2025-08-07" | "gpt-4.1" | "gpt-4.1-mini" | "gpt-4.1-mini-2025-04-14" | "gpt-4.1-2025-04-14" | "gpt-4.1-nano" | "gpt-4.1-nano-2025-04-14" | "gpt-4o-2024-11-20" | "gpt-4o-2024-08-06" | "gpt-4o-2024-05-13" | "gpt-4o-mini-2024-07-18" | "o1" | "o1-2024-12-17" | "o3" | "o3-2025-04-16" | "o4-mini" | "o4-mini-2025-04-16" | "gpt-4o-audio-preview-2024-12-17" | "gpt-4o-audio-preview-2024-10-01" | "gpt-4o-realtime-preview-2024-12-17" | "gpt-4o-realtime-preview-2024-10-01" | "gpt-4o-mini-audio-preview-2024-12-17" | "gpt-4o-mini-realtime-preview-2024-12-17" | "claude-3-5-sonnet-latest" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-opus-4.1" | "claude-opus-4" | "claude-sonnet-4" | "claude-sonnet-4-20250514" | "grok-3" | "grok-3-mini" | "gemini-2.5-pro" | "gemini-2.5-flash" | "gemini-2.5-pro-preview-06-05" | "gemini-2.5-pro-preview-05-06" | "gemini-2.5-pro-preview-03-25" | "gemini-2.5-flash-preview-05-20" | "gemini-2.5-flash-preview-04-17" | "gemini-2.5-flash-lite" | "gemini-2.5-pro-exp-03-25" | "gemini-2.0-flash-lite" | "gemini-2.0-flash" | "auto-large" | "auto-small" | "auto-micro" | "human";
|
|
4117
|
-
modality: "text" | "image" | "native" | "image+text"
|
|
4451
|
+
modality: "text" | "image" | "native" | "image+text";
|
|
4118
4452
|
image_resolution_dpi: number;
|
|
4119
4453
|
browser_canvas: "A3" | "A4" | "A5";
|
|
4120
4454
|
document: {
|
|
@@ -4128,7 +4462,7 @@ export declare const ZDocumentCreateInputRequest: z.ZodLazy<z.ZodObject<{
|
|
|
4128
4462
|
url: string;
|
|
4129
4463
|
};
|
|
4130
4464
|
model?: "gpt-5-mini" | "gpt-4o" | "gpt-4o-mini" | "chatgpt-4o-latest" | "gpt-5" | "gpt-5-2025-08-07" | "gpt-5-mini-2025-08-07" | "gpt-5-nano" | "gpt-5-nano-2025-08-07" | "gpt-4.1" | "gpt-4.1-mini" | "gpt-4.1-mini-2025-04-14" | "gpt-4.1-2025-04-14" | "gpt-4.1-nano" | "gpt-4.1-nano-2025-04-14" | "gpt-4o-2024-11-20" | "gpt-4o-2024-08-06" | "gpt-4o-2024-05-13" | "gpt-4o-mini-2024-07-18" | "o1" | "o1-2024-12-17" | "o3" | "o3-2025-04-16" | "o4-mini" | "o4-mini-2025-04-16" | "gpt-4o-audio-preview-2024-12-17" | "gpt-4o-audio-preview-2024-10-01" | "gpt-4o-realtime-preview-2024-12-17" | "gpt-4o-realtime-preview-2024-10-01" | "gpt-4o-mini-audio-preview-2024-12-17" | "gpt-4o-mini-realtime-preview-2024-12-17" | "claude-3-5-sonnet-latest" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-opus-4.1" | "claude-opus-4" | "claude-sonnet-4" | "claude-sonnet-4-20250514" | "grok-3" | "grok-3-mini" | "gemini-2.5-pro" | "gemini-2.5-flash" | "gemini-2.5-pro-preview-06-05" | "gemini-2.5-pro-preview-05-06" | "gemini-2.5-pro-preview-03-25" | "gemini-2.5-flash-preview-05-20" | "gemini-2.5-flash-preview-04-17" | "gemini-2.5-flash-lite" | "gemini-2.5-pro-exp-03-25" | "gemini-2.0-flash-lite" | "gemini-2.0-flash" | "auto-large" | "auto-small" | "auto-micro" | "human" | undefined;
|
|
4131
|
-
modality?: "text" | "image" | "native" | "image+text" |
|
|
4465
|
+
modality?: "text" | "image" | "native" | "image+text" | undefined;
|
|
4132
4466
|
image_resolution_dpi?: number | undefined;
|
|
4133
4467
|
browser_canvas?: "A3" | "A4" | "A5" | undefined;
|
|
4134
4468
|
}>>;
|
|
@@ -4144,13 +4478,13 @@ export declare const ZDocumentCreateMessageRequest: z.ZodLazy<z.ZodObject<{
|
|
|
4144
4478
|
filename: string;
|
|
4145
4479
|
url: string;
|
|
4146
4480
|
}>>;
|
|
4147
|
-
modality: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"image">, z.ZodLiteral<"native">, z.ZodLiteral<"image+text"
|
|
4481
|
+
modality: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"image">, z.ZodLiteral<"native">, z.ZodLiteral<"image+text">]>>;
|
|
4148
4482
|
image_resolution_dpi: z.ZodDefault<z.ZodNumber>;
|
|
4149
4483
|
browser_canvas: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"A3">, z.ZodLiteral<"A4">, z.ZodLiteral<"A5">]>>;
|
|
4150
4484
|
model: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"gpt-4o">, z.ZodLiteral<"gpt-4o-mini">, z.ZodLiteral<"chatgpt-4o-latest">, z.ZodLiteral<"gpt-5">, z.ZodLiteral<"gpt-5-2025-08-07">, z.ZodLiteral<"gpt-5-mini">, z.ZodLiteral<"gpt-5-mini-2025-08-07">, z.ZodLiteral<"gpt-5-nano">, z.ZodLiteral<"gpt-5-nano-2025-08-07">, z.ZodLiteral<"gpt-4.1">, z.ZodLiteral<"gpt-4.1-mini">, z.ZodLiteral<"gpt-4.1-mini-2025-04-14">, z.ZodLiteral<"gpt-4.1-2025-04-14">, z.ZodLiteral<"gpt-4.1-nano">, z.ZodLiteral<"gpt-4.1-nano-2025-04-14">, 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-mini-2024-07-18">, z.ZodLiteral<"o1">, z.ZodLiteral<"o1-2024-12-17">, z.ZodLiteral<"o3">, z.ZodLiteral<"o3-2025-04-16">, z.ZodLiteral<"o4-mini">, z.ZodLiteral<"o4-mini-2025-04-16">, z.ZodLiteral<"gpt-4o-audio-preview-2024-12-17">, z.ZodLiteral<"gpt-4o-audio-preview-2024-10-01">, z.ZodLiteral<"gpt-4o-realtime-preview-2024-12-17">, z.ZodLiteral<"gpt-4o-realtime-preview-2024-10-01">, z.ZodLiteral<"gpt-4o-mini-audio-preview-2024-12-17">, z.ZodLiteral<"gpt-4o-mini-realtime-preview-2024-12-17">, z.ZodLiteral<"claude-3-5-sonnet-latest">, z.ZodLiteral<"claude-3-5-sonnet-20241022">, z.ZodLiteral<"claude-3-opus-20240229">, z.ZodLiteral<"claude-3-sonnet-20240229">, z.ZodLiteral<"claude-3-haiku-20240307">, z.ZodLiteral<"claude-opus-4.1">, z.ZodLiteral<"claude-opus-4">, z.ZodLiteral<"claude-sonnet-4">, z.ZodLiteral<"claude-sonnet-4-20250514">, z.ZodLiteral<"grok-3">, z.ZodLiteral<"grok-3-mini">, z.ZodLiteral<"gemini-2.5-pro">, z.ZodLiteral<"gemini-2.5-flash">, z.ZodLiteral<"gemini-2.5-pro-preview-06-05">, z.ZodLiteral<"gemini-2.5-pro-preview-05-06">, z.ZodLiteral<"gemini-2.5-pro-preview-03-25">, z.ZodLiteral<"gemini-2.5-flash-preview-05-20">, z.ZodLiteral<"gemini-2.5-flash-preview-04-17">, z.ZodLiteral<"gemini-2.5-flash-lite">, z.ZodLiteral<"gemini-2.5-pro-exp-03-25">, z.ZodLiteral<"gemini-2.0-flash-lite">, z.ZodLiteral<"gemini-2.0-flash">, z.ZodLiteral<"auto-large">, z.ZodLiteral<"auto-small">, z.ZodLiteral<"auto-micro">, z.ZodLiteral<"human">]>>;
|
|
4151
4485
|
}, "strip", z.ZodTypeAny, {
|
|
4152
4486
|
model: "gpt-5-mini" | "gpt-4o" | "gpt-4o-mini" | "chatgpt-4o-latest" | "gpt-5" | "gpt-5-2025-08-07" | "gpt-5-mini-2025-08-07" | "gpt-5-nano" | "gpt-5-nano-2025-08-07" | "gpt-4.1" | "gpt-4.1-mini" | "gpt-4.1-mini-2025-04-14" | "gpt-4.1-2025-04-14" | "gpt-4.1-nano" | "gpt-4.1-nano-2025-04-14" | "gpt-4o-2024-11-20" | "gpt-4o-2024-08-06" | "gpt-4o-2024-05-13" | "gpt-4o-mini-2024-07-18" | "o1" | "o1-2024-12-17" | "o3" | "o3-2025-04-16" | "o4-mini" | "o4-mini-2025-04-16" | "gpt-4o-audio-preview-2024-12-17" | "gpt-4o-audio-preview-2024-10-01" | "gpt-4o-realtime-preview-2024-12-17" | "gpt-4o-realtime-preview-2024-10-01" | "gpt-4o-mini-audio-preview-2024-12-17" | "gpt-4o-mini-realtime-preview-2024-12-17" | "claude-3-5-sonnet-latest" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-opus-4.1" | "claude-opus-4" | "claude-sonnet-4" | "claude-sonnet-4-20250514" | "grok-3" | "grok-3-mini" | "gemini-2.5-pro" | "gemini-2.5-flash" | "gemini-2.5-pro-preview-06-05" | "gemini-2.5-pro-preview-05-06" | "gemini-2.5-pro-preview-03-25" | "gemini-2.5-flash-preview-05-20" | "gemini-2.5-flash-preview-04-17" | "gemini-2.5-flash-lite" | "gemini-2.5-pro-exp-03-25" | "gemini-2.0-flash-lite" | "gemini-2.0-flash" | "auto-large" | "auto-small" | "auto-micro" | "human";
|
|
4153
|
-
modality: "text" | "image" | "native" | "image+text"
|
|
4487
|
+
modality: "text" | "image" | "native" | "image+text";
|
|
4154
4488
|
image_resolution_dpi: number;
|
|
4155
4489
|
browser_canvas: "A3" | "A4" | "A5";
|
|
4156
4490
|
document: {
|
|
@@ -4163,7 +4497,7 @@ export declare const ZDocumentCreateMessageRequest: z.ZodLazy<z.ZodObject<{
|
|
|
4163
4497
|
url: string;
|
|
4164
4498
|
};
|
|
4165
4499
|
model?: "gpt-5-mini" | "gpt-4o" | "gpt-4o-mini" | "chatgpt-4o-latest" | "gpt-5" | "gpt-5-2025-08-07" | "gpt-5-mini-2025-08-07" | "gpt-5-nano" | "gpt-5-nano-2025-08-07" | "gpt-4.1" | "gpt-4.1-mini" | "gpt-4.1-mini-2025-04-14" | "gpt-4.1-2025-04-14" | "gpt-4.1-nano" | "gpt-4.1-nano-2025-04-14" | "gpt-4o-2024-11-20" | "gpt-4o-2024-08-06" | "gpt-4o-2024-05-13" | "gpt-4o-mini-2024-07-18" | "o1" | "o1-2024-12-17" | "o3" | "o3-2025-04-16" | "o4-mini" | "o4-mini-2025-04-16" | "gpt-4o-audio-preview-2024-12-17" | "gpt-4o-audio-preview-2024-10-01" | "gpt-4o-realtime-preview-2024-12-17" | "gpt-4o-realtime-preview-2024-10-01" | "gpt-4o-mini-audio-preview-2024-12-17" | "gpt-4o-mini-realtime-preview-2024-12-17" | "claude-3-5-sonnet-latest" | "claude-3-5-sonnet-20241022" | "claude-3-opus-20240229" | "claude-3-sonnet-20240229" | "claude-3-haiku-20240307" | "claude-opus-4.1" | "claude-opus-4" | "claude-sonnet-4" | "claude-sonnet-4-20250514" | "grok-3" | "grok-3-mini" | "gemini-2.5-pro" | "gemini-2.5-flash" | "gemini-2.5-pro-preview-06-05" | "gemini-2.5-pro-preview-05-06" | "gemini-2.5-pro-preview-03-25" | "gemini-2.5-flash-preview-05-20" | "gemini-2.5-flash-preview-04-17" | "gemini-2.5-flash-lite" | "gemini-2.5-pro-exp-03-25" | "gemini-2.0-flash-lite" | "gemini-2.0-flash" | "auto-large" | "auto-small" | "auto-micro" | "human" | undefined;
|
|
4166
|
-
modality?: "text" | "image" | "native" | "image+text" |
|
|
4500
|
+
modality?: "text" | "image" | "native" | "image+text" | undefined;
|
|
4167
4501
|
image_resolution_dpi?: number | undefined;
|
|
4168
4502
|
browser_canvas?: "A3" | "A4" | "A5" | undefined;
|
|
4169
4503
|
}>>;
|
|
@@ -4312,7 +4646,7 @@ export declare const ZDocumentMessage: z.ZodLazy<z.ZodObject<{
|
|
|
4312
4646
|
})[];
|
|
4313
4647
|
}>>, "many">;
|
|
4314
4648
|
created: z.ZodNumber;
|
|
4315
|
-
modality: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"image">, z.ZodLiteral<"native">, z.ZodLiteral<"image+text"
|
|
4649
|
+
modality: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"image">, z.ZodLiteral<"native">, z.ZodLiteral<"image+text">]>>;
|
|
4316
4650
|
}, "strip", z.ZodTypeAny, {
|
|
4317
4651
|
object: "document_message";
|
|
4318
4652
|
id: string;
|
|
@@ -4342,7 +4676,7 @@ export declare const ZDocumentMessage: z.ZodLazy<z.ZodObject<{
|
|
|
4342
4676
|
};
|
|
4343
4677
|
})[];
|
|
4344
4678
|
}[];
|
|
4345
|
-
modality: "text" | "image" | "native" | "image+text"
|
|
4679
|
+
modality: "text" | "image" | "native" | "image+text";
|
|
4346
4680
|
created: number;
|
|
4347
4681
|
}, {
|
|
4348
4682
|
id: string;
|
|
@@ -4374,7 +4708,7 @@ export declare const ZDocumentMessage: z.ZodLazy<z.ZodObject<{
|
|
|
4374
4708
|
}[];
|
|
4375
4709
|
created: number;
|
|
4376
4710
|
object?: "document_message" | undefined;
|
|
4377
|
-
modality?: "text" | "image" | "native" | "image+text" |
|
|
4711
|
+
modality?: "text" | "image" | "native" | "image+text" | undefined;
|
|
4378
4712
|
}>>;
|
|
4379
4713
|
export type DocumentMessage = z.infer<typeof ZDocumentMessage>;
|
|
4380
4714
|
export declare const ZTokenCount: z.ZodLazy<z.ZodObject<{
|
|
@@ -6160,7 +6494,7 @@ export declare const ZDocumentExtractRequest: z.ZodLazy<z.ZodObject<{
|
|
|
6160
6494
|
filename: string;
|
|
6161
6495
|
url: string;
|
|
6162
6496
|
}>>, "many">>;
|
|
6163
|
-
modality: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"image">, z.ZodLiteral<"native">, z.ZodLiteral<"image+text"
|
|
6497
|
+
modality: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"image">, z.ZodLiteral<"native">, z.ZodLiteral<"image+text">]>>;
|
|
6164
6498
|
image_resolution_dpi: z.ZodDefault<z.ZodNumber>;
|
|
6165
6499
|
browser_canvas: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"A3">, z.ZodLiteral<"A4">, z.ZodLiteral<"A5">]>>;
|
|
6166
6500
|
model: z.ZodString;
|
|
@@ -6177,7 +6511,7 @@ export declare const ZDocumentExtractRequest: z.ZodLazy<z.ZodObject<{
|
|
|
6177
6511
|
json_schema: Record<string, any>;
|
|
6178
6512
|
model: string;
|
|
6179
6513
|
temperature: number;
|
|
6180
|
-
modality: "text" | "image" | "native" | "image+text"
|
|
6514
|
+
modality: "text" | "image" | "native" | "image+text";
|
|
6181
6515
|
reasoning_effort: "low" | "high" | "minimal" | "medium" | null;
|
|
6182
6516
|
image_resolution_dpi: number;
|
|
6183
6517
|
browser_canvas: "A3" | "A4" | "A5";
|
|
@@ -6202,7 +6536,7 @@ export declare const ZDocumentExtractRequest: z.ZodLazy<z.ZodObject<{
|
|
|
6202
6536
|
};
|
|
6203
6537
|
stream?: boolean | undefined;
|
|
6204
6538
|
temperature?: number | undefined;
|
|
6205
|
-
modality?: "text" | "image" | "native" | "image+text" |
|
|
6539
|
+
modality?: "text" | "image" | "native" | "image+text" | undefined;
|
|
6206
6540
|
reasoning_effort?: "low" | "high" | "minimal" | "medium" | null | undefined;
|
|
6207
6541
|
image_resolution_dpi?: number | undefined;
|
|
6208
6542
|
browser_canvas?: "A3" | "A4" | "A5" | undefined;
|