@retab/node 1.0.68 → 1.0.70

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.
@@ -2042,57 +2042,57 @@ export type PaginatedList = z.infer<typeof ZPaginatedList>;
2042
2042
  export declare const ZExtractionSettings: z.ZodLazy<z.ZodObject<{
2043
2043
  model: z.ZodDefault<z.ZodString>;
2044
2044
  temperature: z.ZodDefault<z.ZodNumber>;
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">]>>>>;
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
- modality: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"image">, z.ZodLiteral<"native">]>>;
2049
2048
  parallel_ocr_keys: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
2049
+ web_search: z.ZodDefault<z.ZodBoolean>;
2050
2050
  } & {
2051
2051
  json_schema: z.ZodRecord<z.ZodString, z.ZodAny>;
2052
2052
  }, "strip", z.ZodTypeAny, {
2053
2053
  json_schema: Record<string, any>;
2054
2054
  model: string;
2055
2055
  temperature: number;
2056
- reasoning_effort: "low" | "high" | "none" | "minimal" | "medium" | null;
2056
+ reasoning_effort: "low" | "high" | "none" | "minimal" | "medium" | "xhigh" | null;
2057
2057
  image_resolution_dpi: number;
2058
2058
  n_consensus: number;
2059
- modality: "text" | "image" | "native";
2059
+ web_search: boolean;
2060
2060
  parallel_ocr_keys?: Record<string, string> | null | undefined;
2061
2061
  }, {
2062
2062
  json_schema: Record<string, any>;
2063
2063
  model?: string | undefined;
2064
2064
  temperature?: number | undefined;
2065
- reasoning_effort?: "low" | "high" | "none" | "minimal" | "medium" | null | undefined;
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
- modality?: "text" | "image" | "native" | undefined;
2069
2068
  parallel_ocr_keys?: Record<string, string> | null | undefined;
2069
+ web_search?: boolean | undefined;
2070
2070
  }>>;
2071
2071
  export type ExtractionSettings = z.infer<typeof ZExtractionSettings>;
2072
2072
  export declare const ZInferenceSettings: z.ZodLazy<z.ZodObject<{
2073
2073
  model: z.ZodDefault<z.ZodString>;
2074
2074
  temperature: z.ZodDefault<z.ZodNumber>;
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">]>>>>;
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
- modality: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"image">, z.ZodLiteral<"native">]>>;
2079
2078
  parallel_ocr_keys: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
2079
+ web_search: z.ZodDefault<z.ZodBoolean>;
2080
2080
  }, "strip", z.ZodTypeAny, {
2081
2081
  model: string;
2082
2082
  temperature: number;
2083
- reasoning_effort: "low" | "high" | "none" | "minimal" | "medium" | null;
2083
+ reasoning_effort: "low" | "high" | "none" | "minimal" | "medium" | "xhigh" | null;
2084
2084
  image_resolution_dpi: number;
2085
2085
  n_consensus: number;
2086
- modality: "text" | "image" | "native";
2086
+ web_search: boolean;
2087
2087
  parallel_ocr_keys?: Record<string, string> | null | undefined;
2088
2088
  }, {
2089
2089
  model?: string | undefined;
2090
2090
  temperature?: number | undefined;
2091
- reasoning_effort?: "low" | "high" | "none" | "minimal" | "medium" | null | undefined;
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
- modality?: "text" | "image" | "native" | undefined;
2095
2094
  parallel_ocr_keys?: Record<string, string> | null | undefined;
2095
+ web_search?: boolean | undefined;
2096
2096
  }>>;
2097
2097
  export type InferenceSettings = z.infer<typeof ZInferenceSettings>;
2098
2098
  export declare const ZDistancesResult: z.ZodLazy<z.ZodObject<{
@@ -2281,27 +2281,27 @@ export declare const ZPatchProjectRequest: z.ZodLazy<z.ZodObject<{
2281
2281
  inference_settings: z.ZodDefault<z.ZodLazy<z.ZodObject<{
2282
2282
  model: z.ZodDefault<z.ZodString>;
2283
2283
  temperature: z.ZodDefault<z.ZodNumber>;
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">]>>>>;
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
- modality: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"image">, z.ZodLiteral<"native">]>>;
2288
2287
  parallel_ocr_keys: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
2288
+ web_search: z.ZodDefault<z.ZodBoolean>;
2289
2289
  }, "strip", z.ZodTypeAny, {
2290
2290
  model: string;
2291
2291
  temperature: number;
2292
- reasoning_effort: "low" | "high" | "none" | "minimal" | "medium" | null;
2292
+ reasoning_effort: "low" | "high" | "none" | "minimal" | "medium" | "xhigh" | null;
2293
2293
  image_resolution_dpi: number;
2294
2294
  n_consensus: number;
2295
- modality: "text" | "image" | "native";
2295
+ web_search: boolean;
2296
2296
  parallel_ocr_keys?: Record<string, string> | null | undefined;
2297
2297
  }, {
2298
2298
  model?: string | undefined;
2299
2299
  temperature?: number | undefined;
2300
- reasoning_effort?: "low" | "high" | "none" | "minimal" | "medium" | null | undefined;
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
- modality?: "text" | "image" | "native" | undefined;
2304
2303
  parallel_ocr_keys?: Record<string, string> | null | undefined;
2304
+ web_search?: boolean | undefined;
2305
2305
  }>>>;
2306
2306
  json_schema: z.ZodRecord<z.ZodString, z.ZodAny>;
2307
2307
  human_in_the_loop_criteria: z.ZodArray<z.ZodLazy<z.ZodObject<{
@@ -2338,10 +2338,10 @@ export declare const ZPatchProjectRequest: z.ZodLazy<z.ZodObject<{
2338
2338
  inference_settings: {
2339
2339
  model: string;
2340
2340
  temperature: number;
2341
- reasoning_effort: "low" | "high" | "none" | "minimal" | "medium" | null;
2341
+ reasoning_effort: "low" | "high" | "none" | "minimal" | "medium" | "xhigh" | null;
2342
2342
  image_resolution_dpi: number;
2343
2343
  n_consensus: number;
2344
- modality: "text" | "image" | "native";
2344
+ web_search: boolean;
2345
2345
  parallel_ocr_keys?: Record<string, string> | null | undefined;
2346
2346
  };
2347
2347
  human_in_the_loop_criteria: {
@@ -2368,11 +2368,11 @@ export declare const ZPatchProjectRequest: z.ZodLazy<z.ZodObject<{
2368
2368
  inference_settings?: {
2369
2369
  model?: string | undefined;
2370
2370
  temperature?: number | undefined;
2371
- reasoning_effort?: "low" | "high" | "none" | "minimal" | "medium" | null | undefined;
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
- modality?: "text" | "image" | "native" | undefined;
2375
2374
  parallel_ocr_keys?: Record<string, string> | null | undefined;
2375
+ web_search?: boolean | undefined;
2376
2376
  } | undefined;
2377
2377
  origin?: string | undefined;
2378
2378
  }>>>>;
@@ -2380,27 +2380,27 @@ export declare const ZPatchProjectRequest: z.ZodLazy<z.ZodObject<{
2380
2380
  inference_settings: z.ZodDefault<z.ZodLazy<z.ZodObject<{
2381
2381
  model: z.ZodDefault<z.ZodString>;
2382
2382
  temperature: z.ZodDefault<z.ZodNumber>;
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">]>>>>;
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
- modality: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"image">, z.ZodLiteral<"native">]>>;
2387
2386
  parallel_ocr_keys: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
2387
+ web_search: z.ZodDefault<z.ZodBoolean>;
2388
2388
  }, "strip", z.ZodTypeAny, {
2389
2389
  model: string;
2390
2390
  temperature: number;
2391
- reasoning_effort: "low" | "high" | "none" | "minimal" | "medium" | null;
2391
+ reasoning_effort: "low" | "high" | "none" | "minimal" | "medium" | "xhigh" | null;
2392
2392
  image_resolution_dpi: number;
2393
2393
  n_consensus: number;
2394
- modality: "text" | "image" | "native";
2394
+ web_search: boolean;
2395
2395
  parallel_ocr_keys?: Record<string, string> | null | undefined;
2396
2396
  }, {
2397
2397
  model?: string | undefined;
2398
2398
  temperature?: number | undefined;
2399
- reasoning_effort?: "low" | "high" | "none" | "minimal" | "medium" | null | undefined;
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
- modality?: "text" | "image" | "native" | undefined;
2403
2402
  parallel_ocr_keys?: Record<string, string> | null | undefined;
2403
+ web_search?: boolean | undefined;
2404
2404
  }>>>;
2405
2405
  json_schema: z.ZodRecord<z.ZodString, z.ZodAny>;
2406
2406
  human_in_the_loop_criteria: z.ZodArray<z.ZodLazy<z.ZodObject<{
@@ -2435,10 +2435,10 @@ export declare const ZPatchProjectRequest: z.ZodLazy<z.ZodObject<{
2435
2435
  inference_settings: {
2436
2436
  model: string;
2437
2437
  temperature: number;
2438
- reasoning_effort: "low" | "high" | "none" | "minimal" | "medium" | null;
2438
+ reasoning_effort: "low" | "high" | "none" | "minimal" | "medium" | "xhigh" | null;
2439
2439
  image_resolution_dpi: number;
2440
2440
  n_consensus: number;
2441
- modality: "text" | "image" | "native";
2441
+ web_search: boolean;
2442
2442
  parallel_ocr_keys?: Record<string, string> | null | undefined;
2443
2443
  };
2444
2444
  human_in_the_loop_criteria: {
@@ -2464,11 +2464,11 @@ export declare const ZPatchProjectRequest: z.ZodLazy<z.ZodObject<{
2464
2464
  inference_settings?: {
2465
2465
  model?: string | undefined;
2466
2466
  temperature?: number | undefined;
2467
- reasoning_effort?: "low" | "high" | "none" | "minimal" | "medium" | null | undefined;
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
- modality?: "text" | "image" | "native" | undefined;
2471
2470
  parallel_ocr_keys?: Record<string, string> | null | undefined;
2471
+ web_search?: boolean | undefined;
2472
2472
  } | undefined;
2473
2473
  }>>>>;
2474
2474
  is_published: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
@@ -2501,10 +2501,10 @@ export declare const ZPatchProjectRequest: z.ZodLazy<z.ZodObject<{
2501
2501
  inference_settings: {
2502
2502
  model: string;
2503
2503
  temperature: number;
2504
- reasoning_effort: "low" | "high" | "none" | "minimal" | "medium" | null;
2504
+ reasoning_effort: "low" | "high" | "none" | "minimal" | "medium" | "xhigh" | null;
2505
2505
  image_resolution_dpi: number;
2506
2506
  n_consensus: number;
2507
- modality: "text" | "image" | "native";
2507
+ web_search: boolean;
2508
2508
  parallel_ocr_keys?: Record<string, string> | null | undefined;
2509
2509
  };
2510
2510
  human_in_the_loop_criteria: {
@@ -2523,10 +2523,10 @@ export declare const ZPatchProjectRequest: z.ZodLazy<z.ZodObject<{
2523
2523
  inference_settings: {
2524
2524
  model: string;
2525
2525
  temperature: number;
2526
- reasoning_effort: "low" | "high" | "none" | "minimal" | "medium" | null;
2526
+ reasoning_effort: "low" | "high" | "none" | "minimal" | "medium" | "xhigh" | null;
2527
2527
  image_resolution_dpi: number;
2528
2528
  n_consensus: number;
2529
- modality: "text" | "image" | "native";
2529
+ web_search: boolean;
2530
2530
  parallel_ocr_keys?: Record<string, string> | null | undefined;
2531
2531
  };
2532
2532
  human_in_the_loop_criteria: {
@@ -2561,11 +2561,11 @@ export declare const ZPatchProjectRequest: z.ZodLazy<z.ZodObject<{
2561
2561
  inference_settings?: {
2562
2562
  model?: string | undefined;
2563
2563
  temperature?: number | undefined;
2564
- reasoning_effort?: "low" | "high" | "none" | "minimal" | "medium" | null | undefined;
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
- modality?: "text" | "image" | "native" | undefined;
2568
2567
  parallel_ocr_keys?: Record<string, string> | null | undefined;
2568
+ web_search?: boolean | undefined;
2569
2569
  } | undefined;
2570
2570
  origin?: string | undefined;
2571
2571
  } | null | undefined;
@@ -2583,11 +2583,11 @@ export declare const ZPatchProjectRequest: z.ZodLazy<z.ZodObject<{
2583
2583
  inference_settings?: {
2584
2584
  model?: string | undefined;
2585
2585
  temperature?: number | undefined;
2586
- reasoning_effort?: "low" | "high" | "none" | "minimal" | "medium" | null | undefined;
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
- modality?: "text" | "image" | "native" | undefined;
2590
2589
  parallel_ocr_keys?: Record<string, string> | null | undefined;
2590
+ web_search?: boolean | undefined;
2591
2591
  } | undefined;
2592
2592
  } | null | undefined;
2593
2593
  is_published?: boolean | null | undefined;
@@ -2601,27 +2601,27 @@ export declare const ZProject: z.ZodLazy<z.ZodObject<{
2601
2601
  inference_settings: z.ZodDefault<z.ZodLazy<z.ZodObject<{
2602
2602
  model: z.ZodDefault<z.ZodString>;
2603
2603
  temperature: z.ZodDefault<z.ZodNumber>;
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">]>>>>;
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
- modality: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"image">, z.ZodLiteral<"native">]>>;
2608
2607
  parallel_ocr_keys: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
2608
+ web_search: z.ZodDefault<z.ZodBoolean>;
2609
2609
  }, "strip", z.ZodTypeAny, {
2610
2610
  model: string;
2611
2611
  temperature: number;
2612
- reasoning_effort: "low" | "high" | "none" | "minimal" | "medium" | null;
2612
+ reasoning_effort: "low" | "high" | "none" | "minimal" | "medium" | "xhigh" | null;
2613
2613
  image_resolution_dpi: number;
2614
2614
  n_consensus: number;
2615
- modality: "text" | "image" | "native";
2615
+ web_search: boolean;
2616
2616
  parallel_ocr_keys?: Record<string, string> | null | undefined;
2617
2617
  }, {
2618
2618
  model?: string | undefined;
2619
2619
  temperature?: number | undefined;
2620
- reasoning_effort?: "low" | "high" | "none" | "minimal" | "medium" | null | undefined;
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
- modality?: "text" | "image" | "native" | undefined;
2624
2623
  parallel_ocr_keys?: Record<string, string> | null | undefined;
2624
+ web_search?: boolean | undefined;
2625
2625
  }>>>;
2626
2626
  json_schema: z.ZodRecord<z.ZodString, z.ZodAny>;
2627
2627
  human_in_the_loop_criteria: z.ZodArray<z.ZodLazy<z.ZodObject<{
@@ -2658,10 +2658,10 @@ export declare const ZProject: z.ZodLazy<z.ZodObject<{
2658
2658
  inference_settings: {
2659
2659
  model: string;
2660
2660
  temperature: number;
2661
- reasoning_effort: "low" | "high" | "none" | "minimal" | "medium" | null;
2661
+ reasoning_effort: "low" | "high" | "none" | "minimal" | "medium" | "xhigh" | null;
2662
2662
  image_resolution_dpi: number;
2663
2663
  n_consensus: number;
2664
- modality: "text" | "image" | "native";
2664
+ web_search: boolean;
2665
2665
  parallel_ocr_keys?: Record<string, string> | null | undefined;
2666
2666
  };
2667
2667
  human_in_the_loop_criteria: {
@@ -2688,11 +2688,11 @@ export declare const ZProject: z.ZodLazy<z.ZodObject<{
2688
2688
  inference_settings?: {
2689
2689
  model?: string | undefined;
2690
2690
  temperature?: number | undefined;
2691
- reasoning_effort?: "low" | "high" | "none" | "minimal" | "medium" | null | undefined;
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
- modality?: "text" | "image" | "native" | undefined;
2695
2694
  parallel_ocr_keys?: Record<string, string> | null | undefined;
2695
+ web_search?: boolean | undefined;
2696
2696
  } | undefined;
2697
2697
  origin?: string | undefined;
2698
2698
  }>>;
@@ -2700,27 +2700,27 @@ export declare const ZProject: z.ZodLazy<z.ZodObject<{
2700
2700
  inference_settings: z.ZodDefault<z.ZodLazy<z.ZodObject<{
2701
2701
  model: z.ZodDefault<z.ZodString>;
2702
2702
  temperature: z.ZodDefault<z.ZodNumber>;
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">]>>>>;
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
- modality: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"image">, z.ZodLiteral<"native">]>>;
2707
2706
  parallel_ocr_keys: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
2707
+ web_search: z.ZodDefault<z.ZodBoolean>;
2708
2708
  }, "strip", z.ZodTypeAny, {
2709
2709
  model: string;
2710
2710
  temperature: number;
2711
- reasoning_effort: "low" | "high" | "none" | "minimal" | "medium" | null;
2711
+ reasoning_effort: "low" | "high" | "none" | "minimal" | "medium" | "xhigh" | null;
2712
2712
  image_resolution_dpi: number;
2713
2713
  n_consensus: number;
2714
- modality: "text" | "image" | "native";
2714
+ web_search: boolean;
2715
2715
  parallel_ocr_keys?: Record<string, string> | null | undefined;
2716
2716
  }, {
2717
2717
  model?: string | undefined;
2718
2718
  temperature?: number | undefined;
2719
- reasoning_effort?: "low" | "high" | "none" | "minimal" | "medium" | null | undefined;
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
- modality?: "text" | "image" | "native" | undefined;
2723
2722
  parallel_ocr_keys?: Record<string, string> | null | undefined;
2723
+ web_search?: boolean | undefined;
2724
2724
  }>>>;
2725
2725
  json_schema: z.ZodRecord<z.ZodString, z.ZodAny>;
2726
2726
  human_in_the_loop_criteria: z.ZodArray<z.ZodLazy<z.ZodObject<{
@@ -2755,10 +2755,10 @@ export declare const ZProject: z.ZodLazy<z.ZodObject<{
2755
2755
  inference_settings: {
2756
2756
  model: string;
2757
2757
  temperature: number;
2758
- reasoning_effort: "low" | "high" | "none" | "minimal" | "medium" | null;
2758
+ reasoning_effort: "low" | "high" | "none" | "minimal" | "medium" | "xhigh" | null;
2759
2759
  image_resolution_dpi: number;
2760
2760
  n_consensus: number;
2761
- modality: "text" | "image" | "native";
2761
+ web_search: boolean;
2762
2762
  parallel_ocr_keys?: Record<string, string> | null | undefined;
2763
2763
  };
2764
2764
  human_in_the_loop_criteria: {
@@ -2784,11 +2784,11 @@ export declare const ZProject: z.ZodLazy<z.ZodObject<{
2784
2784
  inference_settings?: {
2785
2785
  model?: string | undefined;
2786
2786
  temperature?: number | undefined;
2787
- reasoning_effort?: "low" | "high" | "none" | "minimal" | "medium" | null | undefined;
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
- modality?: "text" | "image" | "native" | undefined;
2791
2790
  parallel_ocr_keys?: Record<string, string> | null | undefined;
2791
+ web_search?: boolean | undefined;
2792
2792
  } | undefined;
2793
2793
  }>>;
2794
2794
  is_published: z.ZodDefault<z.ZodBoolean>;
@@ -2802,10 +2802,10 @@ export declare const ZProject: z.ZodLazy<z.ZodObject<{
2802
2802
  inference_settings: {
2803
2803
  model: string;
2804
2804
  temperature: number;
2805
- reasoning_effort: "low" | "high" | "none" | "minimal" | "medium" | null;
2805
+ reasoning_effort: "low" | "high" | "none" | "minimal" | "medium" | "xhigh" | null;
2806
2806
  image_resolution_dpi: number;
2807
2807
  n_consensus: number;
2808
- modality: "text" | "image" | "native";
2808
+ web_search: boolean;
2809
2809
  parallel_ocr_keys?: Record<string, string> | null | undefined;
2810
2810
  };
2811
2811
  human_in_the_loop_criteria: {
@@ -2824,10 +2824,10 @@ export declare const ZProject: z.ZodLazy<z.ZodObject<{
2824
2824
  inference_settings: {
2825
2825
  model: string;
2826
2826
  temperature: number;
2827
- reasoning_effort: "low" | "high" | "none" | "minimal" | "medium" | null;
2827
+ reasoning_effort: "low" | "high" | "none" | "minimal" | "medium" | "xhigh" | null;
2828
2828
  image_resolution_dpi: number;
2829
2829
  n_consensus: number;
2830
- modality: "text" | "image" | "native";
2830
+ web_search: boolean;
2831
2831
  parallel_ocr_keys?: Record<string, string> | null | undefined;
2832
2832
  };
2833
2833
  human_in_the_loop_criteria: {
@@ -2859,11 +2859,11 @@ export declare const ZProject: z.ZodLazy<z.ZodObject<{
2859
2859
  inference_settings?: {
2860
2860
  model?: string | undefined;
2861
2861
  temperature?: number | undefined;
2862
- reasoning_effort?: "low" | "high" | "none" | "minimal" | "medium" | null | undefined;
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
- modality?: "text" | "image" | "native" | undefined;
2866
2865
  parallel_ocr_keys?: Record<string, string> | null | undefined;
2866
+ web_search?: boolean | undefined;
2867
2867
  } | undefined;
2868
2868
  origin?: string | undefined;
2869
2869
  };
@@ -2881,11 +2881,11 @@ export declare const ZProject: z.ZodLazy<z.ZodObject<{
2881
2881
  inference_settings?: {
2882
2882
  model?: string | undefined;
2883
2883
  temperature?: number | undefined;
2884
- reasoning_effort?: "low" | "high" | "none" | "minimal" | "medium" | null | undefined;
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
- modality?: "text" | "image" | "native" | undefined;
2888
2887
  parallel_ocr_keys?: Record<string, string> | null | undefined;
2888
+ web_search?: boolean | undefined;
2889
2889
  } | undefined;
2890
2890
  };
2891
2891
  name?: string | undefined;
@@ -3119,27 +3119,27 @@ export declare const ZDraftConfig: z.ZodLazy<z.ZodObject<{
3119
3119
  inference_settings: z.ZodDefault<z.ZodLazy<z.ZodObject<{
3120
3120
  model: z.ZodDefault<z.ZodString>;
3121
3121
  temperature: z.ZodDefault<z.ZodNumber>;
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">]>>>>;
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
- modality: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"image">, z.ZodLiteral<"native">]>>;
3126
3125
  parallel_ocr_keys: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
3126
+ web_search: z.ZodDefault<z.ZodBoolean>;
3127
3127
  }, "strip", z.ZodTypeAny, {
3128
3128
  model: string;
3129
3129
  temperature: number;
3130
- reasoning_effort: "low" | "high" | "none" | "minimal" | "medium" | null;
3130
+ reasoning_effort: "low" | "high" | "none" | "minimal" | "medium" | "xhigh" | null;
3131
3131
  image_resolution_dpi: number;
3132
3132
  n_consensus: number;
3133
- modality: "text" | "image" | "native";
3133
+ web_search: boolean;
3134
3134
  parallel_ocr_keys?: Record<string, string> | null | undefined;
3135
3135
  }, {
3136
3136
  model?: string | undefined;
3137
3137
  temperature?: number | undefined;
3138
- reasoning_effort?: "low" | "high" | "none" | "minimal" | "medium" | null | undefined;
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
- modality?: "text" | "image" | "native" | undefined;
3142
3141
  parallel_ocr_keys?: Record<string, string> | null | undefined;
3142
+ web_search?: boolean | undefined;
3143
3143
  }>>>;
3144
3144
  json_schema: z.ZodRecord<z.ZodString, z.ZodAny>;
3145
3145
  human_in_the_loop_criteria: z.ZodArray<z.ZodLazy<z.ZodObject<{
@@ -3174,10 +3174,10 @@ export declare const ZDraftConfig: z.ZodLazy<z.ZodObject<{
3174
3174
  inference_settings: {
3175
3175
  model: string;
3176
3176
  temperature: number;
3177
- reasoning_effort: "low" | "high" | "none" | "minimal" | "medium" | null;
3177
+ reasoning_effort: "low" | "high" | "none" | "minimal" | "medium" | "xhigh" | null;
3178
3178
  image_resolution_dpi: number;
3179
3179
  n_consensus: number;
3180
- modality: "text" | "image" | "native";
3180
+ web_search: boolean;
3181
3181
  parallel_ocr_keys?: Record<string, string> | null | undefined;
3182
3182
  };
3183
3183
  human_in_the_loop_criteria: {
@@ -3203,11 +3203,11 @@ export declare const ZDraftConfig: z.ZodLazy<z.ZodObject<{
3203
3203
  inference_settings?: {
3204
3204
  model?: string | undefined;
3205
3205
  temperature?: number | undefined;
3206
- reasoning_effort?: "low" | "high" | "none" | "minimal" | "medium" | null | undefined;
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
- modality?: "text" | "image" | "native" | undefined;
3210
3209
  parallel_ocr_keys?: Record<string, string> | null | undefined;
3210
+ web_search?: boolean | undefined;
3211
3211
  } | undefined;
3212
3212
  }>>;
3213
3213
  export type DraftConfig = z.infer<typeof ZDraftConfig>;
@@ -3299,27 +3299,27 @@ export declare const ZPublishedConfig: z.ZodLazy<z.ZodObject<{
3299
3299
  inference_settings: z.ZodDefault<z.ZodLazy<z.ZodObject<{
3300
3300
  model: z.ZodDefault<z.ZodString>;
3301
3301
  temperature: z.ZodDefault<z.ZodNumber>;
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">]>>>>;
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
- modality: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"image">, z.ZodLiteral<"native">]>>;
3306
3305
  parallel_ocr_keys: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
3306
+ web_search: z.ZodDefault<z.ZodBoolean>;
3307
3307
  }, "strip", z.ZodTypeAny, {
3308
3308
  model: string;
3309
3309
  temperature: number;
3310
- reasoning_effort: "low" | "high" | "none" | "minimal" | "medium" | null;
3310
+ reasoning_effort: "low" | "high" | "none" | "minimal" | "medium" | "xhigh" | null;
3311
3311
  image_resolution_dpi: number;
3312
3312
  n_consensus: number;
3313
- modality: "text" | "image" | "native";
3313
+ web_search: boolean;
3314
3314
  parallel_ocr_keys?: Record<string, string> | null | undefined;
3315
3315
  }, {
3316
3316
  model?: string | undefined;
3317
3317
  temperature?: number | undefined;
3318
- reasoning_effort?: "low" | "high" | "none" | "minimal" | "medium" | null | undefined;
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
- modality?: "text" | "image" | "native" | undefined;
3322
3321
  parallel_ocr_keys?: Record<string, string> | null | undefined;
3322
+ web_search?: boolean | undefined;
3323
3323
  }>>>;
3324
3324
  json_schema: z.ZodRecord<z.ZodString, z.ZodAny>;
3325
3325
  human_in_the_loop_criteria: z.ZodArray<z.ZodLazy<z.ZodObject<{
@@ -3356,10 +3356,10 @@ export declare const ZPublishedConfig: z.ZodLazy<z.ZodObject<{
3356
3356
  inference_settings: {
3357
3357
  model: string;
3358
3358
  temperature: number;
3359
- reasoning_effort: "low" | "high" | "none" | "minimal" | "medium" | null;
3359
+ reasoning_effort: "low" | "high" | "none" | "minimal" | "medium" | "xhigh" | null;
3360
3360
  image_resolution_dpi: number;
3361
3361
  n_consensus: number;
3362
- modality: "text" | "image" | "native";
3362
+ web_search: boolean;
3363
3363
  parallel_ocr_keys?: Record<string, string> | null | undefined;
3364
3364
  };
3365
3365
  human_in_the_loop_criteria: {
@@ -3386,11 +3386,11 @@ export declare const ZPublishedConfig: z.ZodLazy<z.ZodObject<{
3386
3386
  inference_settings?: {
3387
3387
  model?: string | undefined;
3388
3388
  temperature?: number | undefined;
3389
- reasoning_effort?: "low" | "high" | "none" | "minimal" | "medium" | null | undefined;
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
- modality?: "text" | "image" | "native" | undefined;
3393
3392
  parallel_ocr_keys?: Record<string, string> | null | undefined;
3393
+ web_search?: boolean | undefined;
3394
3394
  } | undefined;
3395
3395
  origin?: string | undefined;
3396
3396
  }>>;
@@ -3512,27 +3512,27 @@ export declare const ZStoredProject: z.ZodLazy<z.ZodObject<{
3512
3512
  inference_settings: z.ZodDefault<z.ZodLazy<z.ZodObject<{
3513
3513
  model: z.ZodDefault<z.ZodString>;
3514
3514
  temperature: z.ZodDefault<z.ZodNumber>;
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">]>>>>;
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
- modality: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"image">, z.ZodLiteral<"native">]>>;
3519
3518
  parallel_ocr_keys: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
3519
+ web_search: z.ZodDefault<z.ZodBoolean>;
3520
3520
  }, "strip", z.ZodTypeAny, {
3521
3521
  model: string;
3522
3522
  temperature: number;
3523
- reasoning_effort: "low" | "high" | "none" | "minimal" | "medium" | null;
3523
+ reasoning_effort: "low" | "high" | "none" | "minimal" | "medium" | "xhigh" | null;
3524
3524
  image_resolution_dpi: number;
3525
3525
  n_consensus: number;
3526
- modality: "text" | "image" | "native";
3526
+ web_search: boolean;
3527
3527
  parallel_ocr_keys?: Record<string, string> | null | undefined;
3528
3528
  }, {
3529
3529
  model?: string | undefined;
3530
3530
  temperature?: number | undefined;
3531
- reasoning_effort?: "low" | "high" | "none" | "minimal" | "medium" | null | undefined;
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
- modality?: "text" | "image" | "native" | undefined;
3535
3534
  parallel_ocr_keys?: Record<string, string> | null | undefined;
3535
+ web_search?: boolean | undefined;
3536
3536
  }>>>;
3537
3537
  json_schema: z.ZodRecord<z.ZodString, z.ZodAny>;
3538
3538
  human_in_the_loop_criteria: z.ZodArray<z.ZodLazy<z.ZodObject<{
@@ -3569,10 +3569,10 @@ export declare const ZStoredProject: z.ZodLazy<z.ZodObject<{
3569
3569
  inference_settings: {
3570
3570
  model: string;
3571
3571
  temperature: number;
3572
- reasoning_effort: "low" | "high" | "none" | "minimal" | "medium" | null;
3572
+ reasoning_effort: "low" | "high" | "none" | "minimal" | "medium" | "xhigh" | null;
3573
3573
  image_resolution_dpi: number;
3574
3574
  n_consensus: number;
3575
- modality: "text" | "image" | "native";
3575
+ web_search: boolean;
3576
3576
  parallel_ocr_keys?: Record<string, string> | null | undefined;
3577
3577
  };
3578
3578
  human_in_the_loop_criteria: {
@@ -3599,11 +3599,11 @@ export declare const ZStoredProject: z.ZodLazy<z.ZodObject<{
3599
3599
  inference_settings?: {
3600
3600
  model?: string | undefined;
3601
3601
  temperature?: number | undefined;
3602
- reasoning_effort?: "low" | "high" | "none" | "minimal" | "medium" | null | undefined;
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
- modality?: "text" | "image" | "native" | undefined;
3606
3605
  parallel_ocr_keys?: Record<string, string> | null | undefined;
3606
+ web_search?: boolean | undefined;
3607
3607
  } | undefined;
3608
3608
  origin?: string | undefined;
3609
3609
  }>>;
@@ -3611,27 +3611,27 @@ export declare const ZStoredProject: z.ZodLazy<z.ZodObject<{
3611
3611
  inference_settings: z.ZodDefault<z.ZodLazy<z.ZodObject<{
3612
3612
  model: z.ZodDefault<z.ZodString>;
3613
3613
  temperature: z.ZodDefault<z.ZodNumber>;
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">]>>>>;
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
- modality: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"image">, z.ZodLiteral<"native">]>>;
3618
3617
  parallel_ocr_keys: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
3618
+ web_search: z.ZodDefault<z.ZodBoolean>;
3619
3619
  }, "strip", z.ZodTypeAny, {
3620
3620
  model: string;
3621
3621
  temperature: number;
3622
- reasoning_effort: "low" | "high" | "none" | "minimal" | "medium" | null;
3622
+ reasoning_effort: "low" | "high" | "none" | "minimal" | "medium" | "xhigh" | null;
3623
3623
  image_resolution_dpi: number;
3624
3624
  n_consensus: number;
3625
- modality: "text" | "image" | "native";
3625
+ web_search: boolean;
3626
3626
  parallel_ocr_keys?: Record<string, string> | null | undefined;
3627
3627
  }, {
3628
3628
  model?: string | undefined;
3629
3629
  temperature?: number | undefined;
3630
- reasoning_effort?: "low" | "high" | "none" | "minimal" | "medium" | null | undefined;
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
- modality?: "text" | "image" | "native" | undefined;
3634
3633
  parallel_ocr_keys?: Record<string, string> | null | undefined;
3634
+ web_search?: boolean | undefined;
3635
3635
  }>>>;
3636
3636
  json_schema: z.ZodRecord<z.ZodString, z.ZodAny>;
3637
3637
  human_in_the_loop_criteria: z.ZodArray<z.ZodLazy<z.ZodObject<{
@@ -3666,10 +3666,10 @@ export declare const ZStoredProject: z.ZodLazy<z.ZodObject<{
3666
3666
  inference_settings: {
3667
3667
  model: string;
3668
3668
  temperature: number;
3669
- reasoning_effort: "low" | "high" | "none" | "minimal" | "medium" | null;
3669
+ reasoning_effort: "low" | "high" | "none" | "minimal" | "medium" | "xhigh" | null;
3670
3670
  image_resolution_dpi: number;
3671
3671
  n_consensus: number;
3672
- modality: "text" | "image" | "native";
3672
+ web_search: boolean;
3673
3673
  parallel_ocr_keys?: Record<string, string> | null | undefined;
3674
3674
  };
3675
3675
  human_in_the_loop_criteria: {
@@ -3695,11 +3695,11 @@ export declare const ZStoredProject: z.ZodLazy<z.ZodObject<{
3695
3695
  inference_settings?: {
3696
3696
  model?: string | undefined;
3697
3697
  temperature?: number | undefined;
3698
- reasoning_effort?: "low" | "high" | "none" | "minimal" | "medium" | null | undefined;
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
- modality?: "text" | "image" | "native" | undefined;
3702
3701
  parallel_ocr_keys?: Record<string, string> | null | undefined;
3702
+ web_search?: boolean | undefined;
3703
3703
  } | undefined;
3704
3704
  }>>;
3705
3705
  is_published: z.ZodDefault<z.ZodBoolean>;
@@ -3715,10 +3715,10 @@ export declare const ZStoredProject: z.ZodLazy<z.ZodObject<{
3715
3715
  inference_settings: {
3716
3716
  model: string;
3717
3717
  temperature: number;
3718
- reasoning_effort: "low" | "high" | "none" | "minimal" | "medium" | null;
3718
+ reasoning_effort: "low" | "high" | "none" | "minimal" | "medium" | "xhigh" | null;
3719
3719
  image_resolution_dpi: number;
3720
3720
  n_consensus: number;
3721
- modality: "text" | "image" | "native";
3721
+ web_search: boolean;
3722
3722
  parallel_ocr_keys?: Record<string, string> | null | undefined;
3723
3723
  };
3724
3724
  human_in_the_loop_criteria: {
@@ -3737,10 +3737,10 @@ export declare const ZStoredProject: z.ZodLazy<z.ZodObject<{
3737
3737
  inference_settings: {
3738
3738
  model: string;
3739
3739
  temperature: number;
3740
- reasoning_effort: "low" | "high" | "none" | "minimal" | "medium" | null;
3740
+ reasoning_effort: "low" | "high" | "none" | "minimal" | "medium" | "xhigh" | null;
3741
3741
  image_resolution_dpi: number;
3742
3742
  n_consensus: number;
3743
- modality: "text" | "image" | "native";
3743
+ web_search: boolean;
3744
3744
  parallel_ocr_keys?: Record<string, string> | null | undefined;
3745
3745
  };
3746
3746
  human_in_the_loop_criteria: {
@@ -3773,11 +3773,11 @@ export declare const ZStoredProject: z.ZodLazy<z.ZodObject<{
3773
3773
  inference_settings?: {
3774
3774
  model?: string | undefined;
3775
3775
  temperature?: number | undefined;
3776
- reasoning_effort?: "low" | "high" | "none" | "minimal" | "medium" | null | undefined;
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
- modality?: "text" | "image" | "native" | undefined;
3780
3779
  parallel_ocr_keys?: Record<string, string> | null | undefined;
3780
+ web_search?: boolean | undefined;
3781
3781
  } | undefined;
3782
3782
  origin?: string | undefined;
3783
3783
  };
@@ -3795,11 +3795,11 @@ export declare const ZStoredProject: z.ZodLazy<z.ZodObject<{
3795
3795
  inference_settings?: {
3796
3796
  model?: string | undefined;
3797
3797
  temperature?: number | undefined;
3798
- reasoning_effort?: "low" | "high" | "none" | "minimal" | "medium" | null | undefined;
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
- modality?: "text" | "image" | "native" | undefined;
3802
3801
  parallel_ocr_keys?: Record<string, string> | null | undefined;
3802
+ web_search?: boolean | undefined;
3803
3803
  } | undefined;
3804
3804
  };
3805
3805
  organization_id: string;
@@ -3821,7 +3821,7 @@ export declare const ZGenerateSchemaRequest: z.ZodLazy<z.ZodObject<{
3821
3821
  }>>, "many">;
3822
3822
  model: z.ZodDefault<z.ZodString>;
3823
3823
  temperature: z.ZodDefault<z.ZodNumber>;
3824
- 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">]>>>>;
3824
+ 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">]>>>>;
3825
3825
  instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3826
3826
  image_resolution_dpi: z.ZodDefault<z.ZodNumber>;
3827
3827
  stream: z.ZodDefault<z.ZodBoolean>;
@@ -3829,7 +3829,7 @@ export declare const ZGenerateSchemaRequest: z.ZodLazy<z.ZodObject<{
3829
3829
  stream: boolean;
3830
3830
  model: string;
3831
3831
  temperature: number;
3832
- reasoning_effort: "low" | "high" | "none" | "minimal" | "medium" | null;
3832
+ reasoning_effort: "low" | "high" | "none" | "minimal" | "medium" | "xhigh" | null;
3833
3833
  image_resolution_dpi: number;
3834
3834
  documents: {
3835
3835
  filename: string;
@@ -3844,7 +3844,7 @@ export declare const ZGenerateSchemaRequest: z.ZodLazy<z.ZodObject<{
3844
3844
  stream?: boolean | undefined;
3845
3845
  model?: string | undefined;
3846
3846
  temperature?: number | undefined;
3847
- reasoning_effort?: "low" | "high" | "none" | "minimal" | "medium" | null | undefined;
3847
+ reasoning_effort?: "low" | "high" | "none" | "minimal" | "medium" | "xhigh" | null | undefined;
3848
3848
  image_resolution_dpi?: number | undefined;
3849
3849
  instructions?: string | null | undefined;
3850
3850
  }>>;
@@ -10890,6 +10890,18 @@ export declare const ZResponse: z.ZodLazy<z.ZodObject<{
10890
10890
  text: string;
10891
10891
  }[] | null | undefined;
10892
10892
  encrypted_content?: string | null | undefined;
10893
+ }>>, z.ZodLazy<z.ZodObject<{
10894
+ encrypted_content: z.ZodString;
10895
+ type: z.ZodLiteral<"compaction">;
10896
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10897
+ }, "strip", z.ZodTypeAny, {
10898
+ type: "compaction";
10899
+ encrypted_content: string;
10900
+ id?: string | null | undefined;
10901
+ }, {
10902
+ type: "compaction";
10903
+ encrypted_content: string;
10904
+ id?: string | null | undefined;
10893
10905
  }>>, z.ZodLazy<z.ZodObject<{
10894
10906
  id: z.ZodString;
10895
10907
  result: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -11457,7 +11469,7 @@ export declare const ZResponse: z.ZodLazy<z.ZodObject<{
11457
11469
  type?: "item_reference" | null | undefined;
11458
11470
  }>>]>, "many">]>>>;
11459
11471
  metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
11460
- 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">]>]>;
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">]>]>;
11461
11473
  object: z.ZodLiteral<"response">;
11462
11474
  output: z.ZodArray<z.ZodUnion<[z.ZodLazy<z.ZodObject<{
11463
11475
  id: z.ZodString;
@@ -12175,6 +12187,21 @@ export declare const ZResponse: z.ZodLazy<z.ZodObject<{
12175
12187
  text: string;
12176
12188
  }[] | null | undefined;
12177
12189
  encrypted_content?: string | null | undefined;
12190
+ }>>, z.ZodLazy<z.ZodObject<{
12191
+ id: z.ZodString;
12192
+ encrypted_content: z.ZodString;
12193
+ type: z.ZodLiteral<"compaction">;
12194
+ created_by: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12195
+ }, "strip", z.ZodTypeAny, {
12196
+ type: "compaction";
12197
+ id: string;
12198
+ encrypted_content: string;
12199
+ created_by?: string | null | undefined;
12200
+ }, {
12201
+ type: "compaction";
12202
+ id: string;
12203
+ encrypted_content: string;
12204
+ created_by?: string | null | undefined;
12178
12205
  }>>, z.ZodLazy<z.ZodObject<{
12179
12206
  id: z.ZodString;
12180
12207
  result: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -13290,16 +13317,16 @@ export declare const ZResponse: z.ZodLazy<z.ZodObject<{
13290
13317
  prompt_cache_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13291
13318
  prompt_cache_retention: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"in-memory">, z.ZodLiteral<"24h">]>>>;
13292
13319
  reasoning: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodObject<{
13293
- effort: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"none">, z.ZodLiteral<"minimal">, z.ZodLiteral<"low">, z.ZodLiteral<"medium">, z.ZodLiteral<"high">]>>>;
13320
+ effort: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"none">, z.ZodLiteral<"minimal">, z.ZodLiteral<"low">, z.ZodLiteral<"medium">, z.ZodLiteral<"high">, z.ZodLiteral<"xhigh">]>>>;
13294
13321
  generate_summary: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodLiteral<"concise">, z.ZodLiteral<"detailed">]>>>;
13295
13322
  summary: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodLiteral<"concise">, z.ZodLiteral<"detailed">]>>>;
13296
13323
  }, "strip", z.ZodTypeAny, {
13297
13324
  summary?: "auto" | "concise" | "detailed" | null | undefined;
13298
- effort?: "low" | "high" | "none" | "minimal" | "medium" | null | undefined;
13325
+ effort?: "low" | "high" | "none" | "minimal" | "medium" | "xhigh" | null | undefined;
13299
13326
  generate_summary?: "auto" | "concise" | "detailed" | null | undefined;
13300
13327
  }, {
13301
13328
  summary?: "auto" | "concise" | "detailed" | null | undefined;
13302
- effort?: "low" | "high" | "none" | "minimal" | "medium" | null | undefined;
13329
+ effort?: "low" | "high" | "none" | "minimal" | "medium" | "xhigh" | null | undefined;
13303
13330
  generate_summary?: "auto" | "concise" | "detailed" | null | undefined;
13304
13331
  }>>>>;
13305
13332
  safety_identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -13573,6 +13600,11 @@ export declare const ZResponse: z.ZodLazy<z.ZodObject<{
13573
13600
  input: string;
13574
13601
  call_id: string;
13575
13602
  id?: string | null | undefined;
13603
+ } | {
13604
+ type: "compaction";
13605
+ id: string;
13606
+ encrypted_content: string;
13607
+ created_by?: string | null | undefined;
13576
13608
  } | {
13577
13609
  type: "image_generation_call";
13578
13610
  status: "in_progress" | "completed" | "failed" | "generating";
@@ -14048,6 +14080,10 @@ export declare const ZResponse: z.ZodLazy<z.ZodObject<{
14048
14080
  text: string;
14049
14081
  }[] | null | undefined;
14050
14082
  encrypted_content?: string | null | undefined;
14083
+ } | {
14084
+ type: "compaction";
14085
+ encrypted_content: string;
14086
+ id?: string | null | undefined;
14051
14087
  } | {
14052
14088
  type: "image_generation_call";
14053
14089
  status: "in_progress" | "completed" | "failed" | "generating";
@@ -14207,7 +14243,7 @@ export declare const ZResponse: z.ZodLazy<z.ZodObject<{
14207
14243
  top_logprobs?: number | null | undefined;
14208
14244
  reasoning?: {
14209
14245
  summary?: "auto" | "concise" | "detailed" | null | undefined;
14210
- effort?: "low" | "high" | "none" | "minimal" | "medium" | null | undefined;
14246
+ effort?: "low" | "high" | "none" | "minimal" | "medium" | "xhigh" | null | undefined;
14211
14247
  generate_summary?: "auto" | "concise" | "detailed" | null | undefined;
14212
14248
  } | null | undefined;
14213
14249
  background?: boolean | null | undefined;
@@ -14418,6 +14454,11 @@ export declare const ZResponse: z.ZodLazy<z.ZodObject<{
14418
14454
  input: string;
14419
14455
  call_id: string;
14420
14456
  id?: string | null | undefined;
14457
+ } | {
14458
+ type: "compaction";
14459
+ id: string;
14460
+ encrypted_content: string;
14461
+ created_by?: string | null | undefined;
14421
14462
  } | {
14422
14463
  type: "image_generation_call";
14423
14464
  status: "in_progress" | "completed" | "failed" | "generating";
@@ -14893,6 +14934,10 @@ export declare const ZResponse: z.ZodLazy<z.ZodObject<{
14893
14934
  text: string;
14894
14935
  }[] | null | undefined;
14895
14936
  encrypted_content?: string | null | undefined;
14937
+ } | {
14938
+ type: "compaction";
14939
+ encrypted_content: string;
14940
+ id?: string | null | undefined;
14896
14941
  } | {
14897
14942
  type: "image_generation_call";
14898
14943
  status: "in_progress" | "completed" | "failed" | "generating";
@@ -15052,7 +15097,7 @@ export declare const ZResponse: z.ZodLazy<z.ZodObject<{
15052
15097
  top_logprobs?: number | null | undefined;
15053
15098
  reasoning?: {
15054
15099
  summary?: "auto" | "concise" | "detailed" | null | undefined;
15055
- effort?: "low" | "high" | "none" | "minimal" | "medium" | null | undefined;
15100
+ effort?: "low" | "high" | "none" | "minimal" | "medium" | "xhigh" | null | undefined;
15056
15101
  generate_summary?: "auto" | "concise" | "detailed" | null | undefined;
15057
15102
  } | null | undefined;
15058
15103
  background?: boolean | null | undefined;
@@ -16551,6 +16596,932 @@ export declare const ZRetabUsage: z.ZodLazy<z.ZodObject<{
16551
16596
  credits: number;
16552
16597
  }>>;
16553
16598
  export type RetabUsage = z.infer<typeof ZRetabUsage>;
16599
+ export declare const ZBBox: z.ZodLazy<z.ZodObject<{
16600
+ left: z.ZodNumber;
16601
+ top: z.ZodNumber;
16602
+ width: z.ZodNumber;
16603
+ height: z.ZodNumber;
16604
+ page: z.ZodNumber;
16605
+ }, "strip", z.ZodTypeAny, {
16606
+ width: number;
16607
+ height: number;
16608
+ left: number;
16609
+ top: number;
16610
+ page: number;
16611
+ }, {
16612
+ width: number;
16613
+ height: number;
16614
+ left: number;
16615
+ top: number;
16616
+ page: number;
16617
+ }>>;
16618
+ export type BBox = z.infer<typeof ZBBox>;
16619
+ export declare const ZBaseFormField: z.ZodLazy<z.ZodObject<{
16620
+ bbox: z.ZodLazy<z.ZodObject<{
16621
+ left: z.ZodNumber;
16622
+ top: z.ZodNumber;
16623
+ width: z.ZodNumber;
16624
+ height: z.ZodNumber;
16625
+ page: z.ZodNumber;
16626
+ }, "strip", z.ZodTypeAny, {
16627
+ width: number;
16628
+ height: number;
16629
+ left: number;
16630
+ top: number;
16631
+ page: number;
16632
+ }, {
16633
+ width: number;
16634
+ height: number;
16635
+ left: number;
16636
+ top: number;
16637
+ page: number;
16638
+ }>>;
16639
+ description: z.ZodString;
16640
+ type: z.ZodAny;
16641
+ }, "strip", z.ZodTypeAny, {
16642
+ description: string;
16643
+ bbox: {
16644
+ width: number;
16645
+ height: number;
16646
+ left: number;
16647
+ top: number;
16648
+ page: number;
16649
+ };
16650
+ type?: any;
16651
+ }, {
16652
+ description: string;
16653
+ bbox: {
16654
+ width: number;
16655
+ height: number;
16656
+ left: number;
16657
+ top: number;
16658
+ page: number;
16659
+ };
16660
+ type?: any;
16661
+ }>>;
16662
+ export type BaseFormField = z.infer<typeof ZBaseFormField>;
16663
+ export declare const ZEditRequest: z.ZodLazy<z.ZodObject<{
16664
+ document: z.ZodLazy<z.ZodObject<{
16665
+ filename: z.ZodString;
16666
+ url: z.ZodString;
16667
+ }, "strip", z.ZodTypeAny, {
16668
+ filename: string;
16669
+ url: string;
16670
+ }, {
16671
+ filename: string;
16672
+ url: string;
16673
+ }>>;
16674
+ model: z.ZodDefault<z.ZodString>;
16675
+ } & {
16676
+ filling_instructions: z.ZodString;
16677
+ }, "strip", z.ZodTypeAny, {
16678
+ model: string;
16679
+ document: {
16680
+ filename: string;
16681
+ url: string;
16682
+ };
16683
+ filling_instructions: string;
16684
+ }, {
16685
+ document: {
16686
+ filename: string;
16687
+ url: string;
16688
+ };
16689
+ filling_instructions: string;
16690
+ model?: string | undefined;
16691
+ }>>;
16692
+ export type EditRequest = z.infer<typeof ZEditRequest>;
16693
+ export declare const ZEditResponse: z.ZodLazy<z.ZodObject<{
16694
+ ocr_result: z.ZodLazy<z.ZodObject<{
16695
+ elements: z.ZodArray<z.ZodLazy<z.ZodObject<{
16696
+ text: z.ZodString;
16697
+ bbox: z.ZodLazy<z.ZodObject<{
16698
+ left: z.ZodNumber;
16699
+ top: z.ZodNumber;
16700
+ width: z.ZodNumber;
16701
+ height: z.ZodNumber;
16702
+ page: z.ZodNumber;
16703
+ }, "strip", z.ZodTypeAny, {
16704
+ width: number;
16705
+ height: number;
16706
+ left: number;
16707
+ top: number;
16708
+ page: number;
16709
+ }, {
16710
+ width: number;
16711
+ height: number;
16712
+ left: number;
16713
+ top: number;
16714
+ page: number;
16715
+ }>>;
16716
+ element_type: z.ZodString;
16717
+ }, "strip", z.ZodTypeAny, {
16718
+ text: string;
16719
+ bbox: {
16720
+ width: number;
16721
+ height: number;
16722
+ left: number;
16723
+ top: number;
16724
+ page: number;
16725
+ };
16726
+ element_type: string;
16727
+ }, {
16728
+ text: string;
16729
+ bbox: {
16730
+ width: number;
16731
+ height: number;
16732
+ left: number;
16733
+ top: number;
16734
+ page: number;
16735
+ };
16736
+ element_type: string;
16737
+ }>>, "many">;
16738
+ formatted_text: z.ZodString;
16739
+ annotated_pdf: z.ZodLazy<z.ZodObject<{
16740
+ filename: z.ZodString;
16741
+ url: z.ZodString;
16742
+ }, "strip", z.ZodTypeAny, {
16743
+ filename: string;
16744
+ url: string;
16745
+ }, {
16746
+ filename: string;
16747
+ url: string;
16748
+ }>>;
16749
+ }, "strip", z.ZodTypeAny, {
16750
+ elements: {
16751
+ text: string;
16752
+ bbox: {
16753
+ width: number;
16754
+ height: number;
16755
+ left: number;
16756
+ top: number;
16757
+ page: number;
16758
+ };
16759
+ element_type: string;
16760
+ }[];
16761
+ formatted_text: string;
16762
+ annotated_pdf: {
16763
+ filename: string;
16764
+ url: string;
16765
+ };
16766
+ }, {
16767
+ elements: {
16768
+ text: string;
16769
+ bbox: {
16770
+ width: number;
16771
+ height: number;
16772
+ left: number;
16773
+ top: number;
16774
+ page: number;
16775
+ };
16776
+ element_type: string;
16777
+ }[];
16778
+ formatted_text: string;
16779
+ annotated_pdf: {
16780
+ filename: string;
16781
+ url: string;
16782
+ };
16783
+ }>>;
16784
+ form_data: z.ZodArray<z.ZodLazy<z.ZodObject<{
16785
+ bbox: z.ZodLazy<z.ZodObject<{
16786
+ left: z.ZodNumber;
16787
+ top: z.ZodNumber;
16788
+ width: z.ZodNumber;
16789
+ height: z.ZodNumber;
16790
+ page: z.ZodNumber;
16791
+ }, "strip", z.ZodTypeAny, {
16792
+ width: number;
16793
+ height: number;
16794
+ left: number;
16795
+ top: number;
16796
+ page: number;
16797
+ }, {
16798
+ width: number;
16799
+ height: number;
16800
+ left: number;
16801
+ top: number;
16802
+ page: number;
16803
+ }>>;
16804
+ description: z.ZodString;
16805
+ type: z.ZodAny;
16806
+ } & {
16807
+ value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16808
+ }, "strip", z.ZodTypeAny, {
16809
+ description: string;
16810
+ bbox: {
16811
+ width: number;
16812
+ height: number;
16813
+ left: number;
16814
+ top: number;
16815
+ page: number;
16816
+ };
16817
+ type?: any;
16818
+ value?: string | null | undefined;
16819
+ }, {
16820
+ description: string;
16821
+ bbox: {
16822
+ width: number;
16823
+ height: number;
16824
+ left: number;
16825
+ top: number;
16826
+ page: number;
16827
+ };
16828
+ type?: any;
16829
+ value?: string | null | undefined;
16830
+ }>>, "many">;
16831
+ filled_pdf: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodObject<{
16832
+ filename: z.ZodString;
16833
+ url: z.ZodString;
16834
+ }, "strip", z.ZodTypeAny, {
16835
+ filename: string;
16836
+ url: string;
16837
+ }, {
16838
+ filename: string;
16839
+ url: string;
16840
+ }>>>>;
16841
+ }, "strip", z.ZodTypeAny, {
16842
+ form_data: {
16843
+ description: string;
16844
+ bbox: {
16845
+ width: number;
16846
+ height: number;
16847
+ left: number;
16848
+ top: number;
16849
+ page: number;
16850
+ };
16851
+ type?: any;
16852
+ value?: string | null | undefined;
16853
+ }[];
16854
+ ocr_result: {
16855
+ elements: {
16856
+ text: string;
16857
+ bbox: {
16858
+ width: number;
16859
+ height: number;
16860
+ left: number;
16861
+ top: number;
16862
+ page: number;
16863
+ };
16864
+ element_type: string;
16865
+ }[];
16866
+ formatted_text: string;
16867
+ annotated_pdf: {
16868
+ filename: string;
16869
+ url: string;
16870
+ };
16871
+ };
16872
+ filled_pdf?: {
16873
+ filename: string;
16874
+ url: string;
16875
+ } | null | undefined;
16876
+ }, {
16877
+ form_data: {
16878
+ description: string;
16879
+ bbox: {
16880
+ width: number;
16881
+ height: number;
16882
+ left: number;
16883
+ top: number;
16884
+ page: number;
16885
+ };
16886
+ type?: any;
16887
+ value?: string | null | undefined;
16888
+ }[];
16889
+ ocr_result: {
16890
+ elements: {
16891
+ text: string;
16892
+ bbox: {
16893
+ width: number;
16894
+ height: number;
16895
+ left: number;
16896
+ top: number;
16897
+ page: number;
16898
+ };
16899
+ element_type: string;
16900
+ }[];
16901
+ formatted_text: string;
16902
+ annotated_pdf: {
16903
+ filename: string;
16904
+ url: string;
16905
+ };
16906
+ };
16907
+ filled_pdf?: {
16908
+ filename: string;
16909
+ url: string;
16910
+ } | null | undefined;
16911
+ }>>;
16912
+ export type EditResponse = z.infer<typeof ZEditResponse>;
16913
+ export declare const ZEnum: z.ZodLazy<z.ZodAny>;
16914
+ export type Enum = z.infer<typeof ZEnum>;
16915
+ export declare const ZFieldType: z.ZodLazy<z.ZodAny>;
16916
+ export type FieldType = z.infer<typeof ZFieldType>;
16917
+ export declare const ZFilledFormField: z.ZodLazy<z.ZodObject<{
16918
+ bbox: z.ZodLazy<z.ZodObject<{
16919
+ left: z.ZodNumber;
16920
+ top: z.ZodNumber;
16921
+ width: z.ZodNumber;
16922
+ height: z.ZodNumber;
16923
+ page: z.ZodNumber;
16924
+ }, "strip", z.ZodTypeAny, {
16925
+ width: number;
16926
+ height: number;
16927
+ left: number;
16928
+ top: number;
16929
+ page: number;
16930
+ }, {
16931
+ width: number;
16932
+ height: number;
16933
+ left: number;
16934
+ top: number;
16935
+ page: number;
16936
+ }>>;
16937
+ description: z.ZodString;
16938
+ type: z.ZodAny;
16939
+ } & {
16940
+ value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16941
+ }, "strip", z.ZodTypeAny, {
16942
+ description: string;
16943
+ bbox: {
16944
+ width: number;
16945
+ height: number;
16946
+ left: number;
16947
+ top: number;
16948
+ page: number;
16949
+ };
16950
+ type?: any;
16951
+ value?: string | null | undefined;
16952
+ }, {
16953
+ description: string;
16954
+ bbox: {
16955
+ width: number;
16956
+ height: number;
16957
+ left: number;
16958
+ top: number;
16959
+ page: number;
16960
+ };
16961
+ type?: any;
16962
+ value?: string | null | undefined;
16963
+ }>>;
16964
+ export type FilledFormField = z.infer<typeof ZFilledFormField>;
16965
+ export declare const ZFormField: z.ZodLazy<z.ZodObject<{
16966
+ bbox: z.ZodLazy<z.ZodObject<{
16967
+ left: z.ZodNumber;
16968
+ top: z.ZodNumber;
16969
+ width: z.ZodNumber;
16970
+ height: z.ZodNumber;
16971
+ page: z.ZodNumber;
16972
+ }, "strip", z.ZodTypeAny, {
16973
+ width: number;
16974
+ height: number;
16975
+ left: number;
16976
+ top: number;
16977
+ page: number;
16978
+ }, {
16979
+ width: number;
16980
+ height: number;
16981
+ left: number;
16982
+ top: number;
16983
+ page: number;
16984
+ }>>;
16985
+ description: z.ZodString;
16986
+ type: z.ZodAny;
16987
+ } & {
16988
+ value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16989
+ }, "strip", z.ZodTypeAny, {
16990
+ description: string;
16991
+ bbox: {
16992
+ width: number;
16993
+ height: number;
16994
+ left: number;
16995
+ top: number;
16996
+ page: number;
16997
+ };
16998
+ type?: any;
16999
+ value?: string | null | undefined;
17000
+ }, {
17001
+ description: string;
17002
+ bbox: {
17003
+ width: number;
17004
+ height: number;
17005
+ left: number;
17006
+ top: number;
17007
+ page: number;
17008
+ };
17009
+ type?: any;
17010
+ value?: string | null | undefined;
17011
+ }>>;
17012
+ export type FormField = z.infer<typeof ZFormField>;
17013
+ export declare const ZFormSchema: z.ZodLazy<z.ZodObject<{
17014
+ form_fields: z.ZodArray<z.ZodLazy<z.ZodObject<{
17015
+ bbox: z.ZodLazy<z.ZodObject<{
17016
+ left: z.ZodNumber;
17017
+ top: z.ZodNumber;
17018
+ width: z.ZodNumber;
17019
+ height: z.ZodNumber;
17020
+ page: z.ZodNumber;
17021
+ }, "strip", z.ZodTypeAny, {
17022
+ width: number;
17023
+ height: number;
17024
+ left: number;
17025
+ top: number;
17026
+ page: number;
17027
+ }, {
17028
+ width: number;
17029
+ height: number;
17030
+ left: number;
17031
+ top: number;
17032
+ page: number;
17033
+ }>>;
17034
+ description: z.ZodString;
17035
+ type: z.ZodAny;
17036
+ } & {
17037
+ value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17038
+ }, "strip", z.ZodTypeAny, {
17039
+ description: string;
17040
+ bbox: {
17041
+ width: number;
17042
+ height: number;
17043
+ left: number;
17044
+ top: number;
17045
+ page: number;
17046
+ };
17047
+ type?: any;
17048
+ value?: string | null | undefined;
17049
+ }, {
17050
+ description: string;
17051
+ bbox: {
17052
+ width: number;
17053
+ height: number;
17054
+ left: number;
17055
+ top: number;
17056
+ page: number;
17057
+ };
17058
+ type?: any;
17059
+ value?: string | null | undefined;
17060
+ }>>, "many">;
17061
+ }, "strip", z.ZodTypeAny, {
17062
+ form_fields: {
17063
+ description: string;
17064
+ bbox: {
17065
+ width: number;
17066
+ height: number;
17067
+ left: number;
17068
+ top: number;
17069
+ page: number;
17070
+ };
17071
+ type?: any;
17072
+ value?: string | null | undefined;
17073
+ }[];
17074
+ }, {
17075
+ form_fields: {
17076
+ description: string;
17077
+ bbox: {
17078
+ width: number;
17079
+ height: number;
17080
+ left: number;
17081
+ top: number;
17082
+ page: number;
17083
+ };
17084
+ type?: any;
17085
+ value?: string | null | undefined;
17086
+ }[];
17087
+ }>>;
17088
+ export type FormSchema = z.infer<typeof ZFormSchema>;
17089
+ export declare const ZInferFormSchemaRequest: z.ZodLazy<z.ZodObject<{
17090
+ document: z.ZodLazy<z.ZodObject<{
17091
+ filename: z.ZodString;
17092
+ url: z.ZodString;
17093
+ }, "strip", z.ZodTypeAny, {
17094
+ filename: string;
17095
+ url: string;
17096
+ }, {
17097
+ filename: string;
17098
+ url: string;
17099
+ }>>;
17100
+ model: z.ZodDefault<z.ZodString>;
17101
+ }, "strip", z.ZodTypeAny, {
17102
+ model: string;
17103
+ document: {
17104
+ filename: string;
17105
+ url: string;
17106
+ };
17107
+ }, {
17108
+ document: {
17109
+ filename: string;
17110
+ url: string;
17111
+ };
17112
+ model?: string | undefined;
17113
+ }>>;
17114
+ export type InferFormSchemaRequest = z.infer<typeof ZInferFormSchemaRequest>;
17115
+ export declare const ZInferFormSchemaResponse: z.ZodLazy<z.ZodObject<{
17116
+ form_schema: z.ZodLazy<z.ZodObject<{
17117
+ form_fields: z.ZodArray<z.ZodLazy<z.ZodObject<{
17118
+ bbox: z.ZodLazy<z.ZodObject<{
17119
+ left: z.ZodNumber;
17120
+ top: z.ZodNumber;
17121
+ width: z.ZodNumber;
17122
+ height: z.ZodNumber;
17123
+ page: z.ZodNumber;
17124
+ }, "strip", z.ZodTypeAny, {
17125
+ width: number;
17126
+ height: number;
17127
+ left: number;
17128
+ top: number;
17129
+ page: number;
17130
+ }, {
17131
+ width: number;
17132
+ height: number;
17133
+ left: number;
17134
+ top: number;
17135
+ page: number;
17136
+ }>>;
17137
+ description: z.ZodString;
17138
+ type: z.ZodAny;
17139
+ } & {
17140
+ value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17141
+ }, "strip", z.ZodTypeAny, {
17142
+ description: string;
17143
+ bbox: {
17144
+ width: number;
17145
+ height: number;
17146
+ left: number;
17147
+ top: number;
17148
+ page: number;
17149
+ };
17150
+ type?: any;
17151
+ value?: string | null | undefined;
17152
+ }, {
17153
+ description: string;
17154
+ bbox: {
17155
+ width: number;
17156
+ height: number;
17157
+ left: number;
17158
+ top: number;
17159
+ page: number;
17160
+ };
17161
+ type?: any;
17162
+ value?: string | null | undefined;
17163
+ }>>, "many">;
17164
+ }, "strip", z.ZodTypeAny, {
17165
+ form_fields: {
17166
+ description: string;
17167
+ bbox: {
17168
+ width: number;
17169
+ height: number;
17170
+ left: number;
17171
+ top: number;
17172
+ page: number;
17173
+ };
17174
+ type?: any;
17175
+ value?: string | null | undefined;
17176
+ }[];
17177
+ }, {
17178
+ form_fields: {
17179
+ description: string;
17180
+ bbox: {
17181
+ width: number;
17182
+ height: number;
17183
+ left: number;
17184
+ top: number;
17185
+ page: number;
17186
+ };
17187
+ type?: any;
17188
+ value?: string | null | undefined;
17189
+ }[];
17190
+ }>>;
17191
+ ocr_result: z.ZodLazy<z.ZodObject<{
17192
+ elements: z.ZodArray<z.ZodLazy<z.ZodObject<{
17193
+ text: z.ZodString;
17194
+ bbox: z.ZodLazy<z.ZodObject<{
17195
+ left: z.ZodNumber;
17196
+ top: z.ZodNumber;
17197
+ width: z.ZodNumber;
17198
+ height: z.ZodNumber;
17199
+ page: z.ZodNumber;
17200
+ }, "strip", z.ZodTypeAny, {
17201
+ width: number;
17202
+ height: number;
17203
+ left: number;
17204
+ top: number;
17205
+ page: number;
17206
+ }, {
17207
+ width: number;
17208
+ height: number;
17209
+ left: number;
17210
+ top: number;
17211
+ page: number;
17212
+ }>>;
17213
+ element_type: z.ZodString;
17214
+ }, "strip", z.ZodTypeAny, {
17215
+ text: string;
17216
+ bbox: {
17217
+ width: number;
17218
+ height: number;
17219
+ left: number;
17220
+ top: number;
17221
+ page: number;
17222
+ };
17223
+ element_type: string;
17224
+ }, {
17225
+ text: string;
17226
+ bbox: {
17227
+ width: number;
17228
+ height: number;
17229
+ left: number;
17230
+ top: number;
17231
+ page: number;
17232
+ };
17233
+ element_type: string;
17234
+ }>>, "many">;
17235
+ formatted_text: z.ZodString;
17236
+ annotated_pdf: z.ZodLazy<z.ZodObject<{
17237
+ filename: z.ZodString;
17238
+ url: z.ZodString;
17239
+ }, "strip", z.ZodTypeAny, {
17240
+ filename: string;
17241
+ url: string;
17242
+ }, {
17243
+ filename: string;
17244
+ url: string;
17245
+ }>>;
17246
+ }, "strip", z.ZodTypeAny, {
17247
+ elements: {
17248
+ text: string;
17249
+ bbox: {
17250
+ width: number;
17251
+ height: number;
17252
+ left: number;
17253
+ top: number;
17254
+ page: number;
17255
+ };
17256
+ element_type: string;
17257
+ }[];
17258
+ formatted_text: string;
17259
+ annotated_pdf: {
17260
+ filename: string;
17261
+ url: string;
17262
+ };
17263
+ }, {
17264
+ elements: {
17265
+ text: string;
17266
+ bbox: {
17267
+ width: number;
17268
+ height: number;
17269
+ left: number;
17270
+ top: number;
17271
+ page: number;
17272
+ };
17273
+ element_type: string;
17274
+ }[];
17275
+ formatted_text: string;
17276
+ annotated_pdf: {
17277
+ filename: string;
17278
+ url: string;
17279
+ };
17280
+ }>>;
17281
+ form_fields_pdf: z.ZodLazy<z.ZodObject<{
17282
+ filename: z.ZodString;
17283
+ url: z.ZodString;
17284
+ }, "strip", z.ZodTypeAny, {
17285
+ filename: string;
17286
+ url: string;
17287
+ }, {
17288
+ filename: string;
17289
+ url: string;
17290
+ }>>;
17291
+ }, "strip", z.ZodTypeAny, {
17292
+ ocr_result: {
17293
+ elements: {
17294
+ text: string;
17295
+ bbox: {
17296
+ width: number;
17297
+ height: number;
17298
+ left: number;
17299
+ top: number;
17300
+ page: number;
17301
+ };
17302
+ element_type: string;
17303
+ }[];
17304
+ formatted_text: string;
17305
+ annotated_pdf: {
17306
+ filename: string;
17307
+ url: string;
17308
+ };
17309
+ };
17310
+ form_schema: {
17311
+ form_fields: {
17312
+ description: string;
17313
+ bbox: {
17314
+ width: number;
17315
+ height: number;
17316
+ left: number;
17317
+ top: number;
17318
+ page: number;
17319
+ };
17320
+ type?: any;
17321
+ value?: string | null | undefined;
17322
+ }[];
17323
+ };
17324
+ form_fields_pdf: {
17325
+ filename: string;
17326
+ url: string;
17327
+ };
17328
+ }, {
17329
+ ocr_result: {
17330
+ elements: {
17331
+ text: string;
17332
+ bbox: {
17333
+ width: number;
17334
+ height: number;
17335
+ left: number;
17336
+ top: number;
17337
+ page: number;
17338
+ };
17339
+ element_type: string;
17340
+ }[];
17341
+ formatted_text: string;
17342
+ annotated_pdf: {
17343
+ filename: string;
17344
+ url: string;
17345
+ };
17346
+ };
17347
+ form_schema: {
17348
+ form_fields: {
17349
+ description: string;
17350
+ bbox: {
17351
+ width: number;
17352
+ height: number;
17353
+ left: number;
17354
+ top: number;
17355
+ page: number;
17356
+ };
17357
+ type?: any;
17358
+ value?: string | null | undefined;
17359
+ }[];
17360
+ };
17361
+ form_fields_pdf: {
17362
+ filename: string;
17363
+ url: string;
17364
+ };
17365
+ }>>;
17366
+ export type InferFormSchemaResponse = z.infer<typeof ZInferFormSchemaResponse>;
17367
+ export declare const ZOCRResult: z.ZodLazy<z.ZodObject<{
17368
+ elements: z.ZodArray<z.ZodLazy<z.ZodObject<{
17369
+ text: z.ZodString;
17370
+ bbox: z.ZodLazy<z.ZodObject<{
17371
+ left: z.ZodNumber;
17372
+ top: z.ZodNumber;
17373
+ width: z.ZodNumber;
17374
+ height: z.ZodNumber;
17375
+ page: z.ZodNumber;
17376
+ }, "strip", z.ZodTypeAny, {
17377
+ width: number;
17378
+ height: number;
17379
+ left: number;
17380
+ top: number;
17381
+ page: number;
17382
+ }, {
17383
+ width: number;
17384
+ height: number;
17385
+ left: number;
17386
+ top: number;
17387
+ page: number;
17388
+ }>>;
17389
+ element_type: z.ZodString;
17390
+ }, "strip", z.ZodTypeAny, {
17391
+ text: string;
17392
+ bbox: {
17393
+ width: number;
17394
+ height: number;
17395
+ left: number;
17396
+ top: number;
17397
+ page: number;
17398
+ };
17399
+ element_type: string;
17400
+ }, {
17401
+ text: string;
17402
+ bbox: {
17403
+ width: number;
17404
+ height: number;
17405
+ left: number;
17406
+ top: number;
17407
+ page: number;
17408
+ };
17409
+ element_type: string;
17410
+ }>>, "many">;
17411
+ formatted_text: z.ZodString;
17412
+ annotated_pdf: z.ZodLazy<z.ZodObject<{
17413
+ filename: z.ZodString;
17414
+ url: z.ZodString;
17415
+ }, "strip", z.ZodTypeAny, {
17416
+ filename: string;
17417
+ url: string;
17418
+ }, {
17419
+ filename: string;
17420
+ url: string;
17421
+ }>>;
17422
+ }, "strip", z.ZodTypeAny, {
17423
+ elements: {
17424
+ text: string;
17425
+ bbox: {
17426
+ width: number;
17427
+ height: number;
17428
+ left: number;
17429
+ top: number;
17430
+ page: number;
17431
+ };
17432
+ element_type: string;
17433
+ }[];
17434
+ formatted_text: string;
17435
+ annotated_pdf: {
17436
+ filename: string;
17437
+ url: string;
17438
+ };
17439
+ }, {
17440
+ elements: {
17441
+ text: string;
17442
+ bbox: {
17443
+ width: number;
17444
+ height: number;
17445
+ left: number;
17446
+ top: number;
17447
+ page: number;
17448
+ };
17449
+ element_type: string;
17450
+ }[];
17451
+ formatted_text: string;
17452
+ annotated_pdf: {
17453
+ filename: string;
17454
+ url: string;
17455
+ };
17456
+ }>>;
17457
+ export type OCRResult = z.infer<typeof ZOCRResult>;
17458
+ export declare const ZOCRTextElement: z.ZodLazy<z.ZodObject<{
17459
+ text: z.ZodString;
17460
+ bbox: z.ZodLazy<z.ZodObject<{
17461
+ left: z.ZodNumber;
17462
+ top: z.ZodNumber;
17463
+ width: z.ZodNumber;
17464
+ height: z.ZodNumber;
17465
+ page: z.ZodNumber;
17466
+ }, "strip", z.ZodTypeAny, {
17467
+ width: number;
17468
+ height: number;
17469
+ left: number;
17470
+ top: number;
17471
+ page: number;
17472
+ }, {
17473
+ width: number;
17474
+ height: number;
17475
+ left: number;
17476
+ top: number;
17477
+ page: number;
17478
+ }>>;
17479
+ element_type: z.ZodString;
17480
+ }, "strip", z.ZodTypeAny, {
17481
+ text: string;
17482
+ bbox: {
17483
+ width: number;
17484
+ height: number;
17485
+ left: number;
17486
+ top: number;
17487
+ page: number;
17488
+ };
17489
+ element_type: string;
17490
+ }, {
17491
+ text: string;
17492
+ bbox: {
17493
+ width: number;
17494
+ height: number;
17495
+ left: number;
17496
+ top: number;
17497
+ page: number;
17498
+ };
17499
+ element_type: string;
17500
+ }>>;
17501
+ export type OCRTextElement = z.infer<typeof ZOCRTextElement>;
17502
+ export declare const ZProcessOCRRequest: z.ZodLazy<z.ZodObject<{
17503
+ document: z.ZodLazy<z.ZodObject<{
17504
+ filename: z.ZodString;
17505
+ url: z.ZodString;
17506
+ }, "strip", z.ZodTypeAny, {
17507
+ filename: string;
17508
+ url: string;
17509
+ }, {
17510
+ filename: string;
17511
+ url: string;
17512
+ }>>;
17513
+ }, "strip", z.ZodTypeAny, {
17514
+ document: {
17515
+ filename: string;
17516
+ url: string;
17517
+ };
17518
+ }, {
17519
+ document: {
17520
+ filename: string;
17521
+ url: string;
17522
+ };
17523
+ }>>;
17524
+ export type ProcessOCRRequest = z.infer<typeof ZProcessOCRRequest>;
16554
17525
  export declare const ZDocumentCreateInputRequest: z.ZodLazy<z.ZodObject<{
16555
17526
  document: z.ZodLazy<z.ZodObject<{
16556
17527
  filename: z.ZodString;
@@ -18442,15 +19413,15 @@ export type ChoiceDelta = z.infer<typeof ZChoiceDelta>;
18442
19413
  export declare const ZConsensusModel: z.ZodLazy<z.ZodObject<{
18443
19414
  model: z.ZodString;
18444
19415
  temperature: z.ZodDefault<z.ZodNumber>;
18445
- 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">]>>>>;
19416
+ 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">]>>>>;
18446
19417
  }, "strip", z.ZodTypeAny, {
18447
19418
  model: string;
18448
19419
  temperature: number;
18449
- reasoning_effort: "low" | "high" | "none" | "minimal" | "medium" | null;
19420
+ reasoning_effort: "low" | "high" | "none" | "minimal" | "medium" | "xhigh" | null;
18450
19421
  }, {
18451
19422
  model: string;
18452
19423
  temperature?: number | undefined;
18453
- reasoning_effort?: "low" | "high" | "none" | "minimal" | "medium" | null | undefined;
19424
+ reasoning_effort?: "low" | "high" | "none" | "minimal" | "medium" | "xhigh" | null | undefined;
18454
19425
  }>>;
18455
19426
  export type ConsensusModel = z.infer<typeof ZConsensusModel>;
18456
19427
  export declare const ZDocumentExtractRequest: z.ZodLazy<z.ZodObject<{
@@ -18468,25 +19439,212 @@ export declare const ZDocumentExtractRequest: z.ZodLazy<z.ZodObject<{
18468
19439
  model: z.ZodString;
18469
19440
  json_schema: z.ZodRecord<z.ZodString, z.ZodAny>;
18470
19441
  temperature: z.ZodDefault<z.ZodNumber>;
18471
- 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">]>>>>;
19442
+ 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">]>>>>;
18472
19443
  n_consensus: z.ZodDefault<z.ZodNumber>;
18473
19444
  stream: z.ZodDefault<z.ZodBoolean>;
18474
19445
  seed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18475
19446
  store: z.ZodDefault<z.ZodBoolean>;
18476
- modality: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"image">, z.ZodLiteral<"native">]>>;
18477
19447
  parallel_ocr_keys: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
19448
+ web_search: z.ZodDefault<z.ZodBoolean>;
18478
19449
  metadata: z.ZodRecord<z.ZodString, z.ZodString>;
18479
19450
  extraction_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19451
+ additional_messages: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodLazy<z.ZodObject<{
19452
+ role: z.ZodUnion<[z.ZodLiteral<"user">, z.ZodLiteral<"system">, z.ZodLiteral<"assistant">, z.ZodLiteral<"developer">, z.ZodLiteral<"tool">]>;
19453
+ content: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnion<[z.ZodLazy<z.ZodObject<{
19454
+ text: z.ZodString;
19455
+ type: z.ZodLiteral<"text">;
19456
+ }, "strip", z.ZodTypeAny, {
19457
+ type: "text";
19458
+ text: string;
19459
+ }, {
19460
+ type: "text";
19461
+ text: string;
19462
+ }>>, z.ZodLazy<z.ZodObject<{
19463
+ image_url: z.ZodLazy<z.ZodObject<{
19464
+ url: z.ZodString;
19465
+ detail: z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodLiteral<"low">, z.ZodLiteral<"high">]>;
19466
+ }, "strip", z.ZodTypeAny, {
19467
+ url: string;
19468
+ detail: "auto" | "low" | "high";
19469
+ }, {
19470
+ url: string;
19471
+ detail: "auto" | "low" | "high";
19472
+ }>>;
19473
+ type: z.ZodLiteral<"image_url">;
19474
+ }, "strip", z.ZodTypeAny, {
19475
+ type: "image_url";
19476
+ image_url: {
19477
+ url: string;
19478
+ detail: "auto" | "low" | "high";
19479
+ };
19480
+ }, {
19481
+ type: "image_url";
19482
+ image_url: {
19483
+ url: string;
19484
+ detail: "auto" | "low" | "high";
19485
+ };
19486
+ }>>, z.ZodLazy<z.ZodObject<{
19487
+ input_audio: z.ZodLazy<z.ZodObject<{
19488
+ data: z.ZodString;
19489
+ format: z.ZodUnion<[z.ZodLiteral<"wav">, z.ZodLiteral<"mp3">]>;
19490
+ }, "strip", z.ZodTypeAny, {
19491
+ data: string;
19492
+ format: "wav" | "mp3";
19493
+ }, {
19494
+ data: string;
19495
+ format: "wav" | "mp3";
19496
+ }>>;
19497
+ type: z.ZodLiteral<"input_audio">;
19498
+ }, "strip", z.ZodTypeAny, {
19499
+ type: "input_audio";
19500
+ input_audio: {
19501
+ data: string;
19502
+ format: "wav" | "mp3";
19503
+ };
19504
+ }, {
19505
+ type: "input_audio";
19506
+ input_audio: {
19507
+ data: string;
19508
+ format: "wav" | "mp3";
19509
+ };
19510
+ }>>, z.ZodLazy<z.ZodObject<{
19511
+ file: z.ZodLazy<z.ZodObject<{
19512
+ file_data: z.ZodString;
19513
+ file_id: z.ZodString;
19514
+ filename: z.ZodString;
19515
+ }, "strip", z.ZodTypeAny, {
19516
+ filename: string;
19517
+ file_data: string;
19518
+ file_id: string;
19519
+ }, {
19520
+ filename: string;
19521
+ file_data: string;
19522
+ file_id: string;
19523
+ }>>;
19524
+ type: z.ZodLiteral<"file">;
19525
+ }, "strip", z.ZodTypeAny, {
19526
+ type: "file";
19527
+ file: {
19528
+ filename: string;
19529
+ file_data: string;
19530
+ file_id: string;
19531
+ };
19532
+ }, {
19533
+ type: "file";
19534
+ file: {
19535
+ filename: string;
19536
+ file_data: string;
19537
+ file_id: string;
19538
+ };
19539
+ }>>]>, "many">]>>>;
19540
+ tool_call_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19541
+ tool_calls: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodLazy<z.ZodObject<{
19542
+ id: z.ZodString;
19543
+ function: z.ZodLazy<z.ZodObject<{
19544
+ arguments: z.ZodString;
19545
+ name: z.ZodString;
19546
+ }, "strip", z.ZodTypeAny, {
19547
+ arguments: string;
19548
+ name: string;
19549
+ }, {
19550
+ arguments: string;
19551
+ name: string;
19552
+ }>>;
19553
+ type: z.ZodLiteral<"function">;
19554
+ }, "strip", z.ZodTypeAny, {
19555
+ function: {
19556
+ arguments: string;
19557
+ name: string;
19558
+ };
19559
+ type: "function";
19560
+ id: string;
19561
+ }, {
19562
+ function: {
19563
+ arguments: string;
19564
+ name: string;
19565
+ };
19566
+ type: "function";
19567
+ id: string;
19568
+ }>>, "many">>>;
19569
+ }, "strip", z.ZodTypeAny, {
19570
+ role: "user" | "system" | "assistant" | "developer" | "tool";
19571
+ content?: string | ({
19572
+ type: "text";
19573
+ text: string;
19574
+ } | {
19575
+ type: "image_url";
19576
+ image_url: {
19577
+ url: string;
19578
+ detail: "auto" | "low" | "high";
19579
+ };
19580
+ } | {
19581
+ type: "input_audio";
19582
+ input_audio: {
19583
+ data: string;
19584
+ format: "wav" | "mp3";
19585
+ };
19586
+ } | {
19587
+ type: "file";
19588
+ file: {
19589
+ filename: string;
19590
+ file_data: string;
19591
+ file_id: string;
19592
+ };
19593
+ })[] | null | undefined;
19594
+ tool_call_id?: string | null | undefined;
19595
+ tool_calls?: {
19596
+ function: {
19597
+ arguments: string;
19598
+ name: string;
19599
+ };
19600
+ type: "function";
19601
+ id: string;
19602
+ }[] | null | undefined;
19603
+ }, {
19604
+ role: "user" | "system" | "assistant" | "developer" | "tool";
19605
+ content?: string | ({
19606
+ type: "text";
19607
+ text: string;
19608
+ } | {
19609
+ type: "image_url";
19610
+ image_url: {
19611
+ url: string;
19612
+ detail: "auto" | "low" | "high";
19613
+ };
19614
+ } | {
19615
+ type: "input_audio";
19616
+ input_audio: {
19617
+ data: string;
19618
+ format: "wav" | "mp3";
19619
+ };
19620
+ } | {
19621
+ type: "file";
19622
+ file: {
19623
+ filename: string;
19624
+ file_data: string;
19625
+ file_id: string;
19626
+ };
19627
+ })[] | null | undefined;
19628
+ tool_call_id?: string | null | undefined;
19629
+ tool_calls?: {
19630
+ function: {
19631
+ arguments: string;
19632
+ name: string;
19633
+ };
19634
+ type: "function";
19635
+ id: string;
19636
+ }[] | null | undefined;
19637
+ }>>, "many">>>;
18480
19638
  }, "strip", z.ZodTypeAny, {
18481
19639
  stream: boolean;
18482
19640
  metadata: Record<string, string>;
18483
19641
  json_schema: Record<string, any>;
18484
19642
  model: string;
18485
19643
  temperature: number;
18486
- reasoning_effort: "low" | "high" | "none" | "minimal" | "medium" | null;
19644
+ reasoning_effort: "low" | "high" | "none" | "minimal" | "medium" | "xhigh" | null;
18487
19645
  image_resolution_dpi: number;
18488
19646
  n_consensus: number;
18489
- modality: "text" | "image" | "native";
19647
+ web_search: boolean;
18490
19648
  document: {
18491
19649
  filename: string;
18492
19650
  url: string;
@@ -18495,6 +19653,41 @@ export declare const ZDocumentExtractRequest: z.ZodLazy<z.ZodObject<{
18495
19653
  parallel_ocr_keys?: Record<string, string> | null | undefined;
18496
19654
  extraction_id?: string | null | undefined;
18497
19655
  seed?: number | null | undefined;
19656
+ additional_messages?: {
19657
+ role: "user" | "system" | "assistant" | "developer" | "tool";
19658
+ content?: string | ({
19659
+ type: "text";
19660
+ text: string;
19661
+ } | {
19662
+ type: "image_url";
19663
+ image_url: {
19664
+ url: string;
19665
+ detail: "auto" | "low" | "high";
19666
+ };
19667
+ } | {
19668
+ type: "input_audio";
19669
+ input_audio: {
19670
+ data: string;
19671
+ format: "wav" | "mp3";
19672
+ };
19673
+ } | {
19674
+ type: "file";
19675
+ file: {
19676
+ filename: string;
19677
+ file_data: string;
19678
+ file_id: string;
19679
+ };
19680
+ })[] | null | undefined;
19681
+ tool_call_id?: string | null | undefined;
19682
+ tool_calls?: {
19683
+ function: {
19684
+ arguments: string;
19685
+ name: string;
19686
+ };
19687
+ type: "function";
19688
+ id: string;
19689
+ }[] | null | undefined;
19690
+ }[] | null | undefined;
18498
19691
  }, {
18499
19692
  metadata: Record<string, string>;
18500
19693
  json_schema: Record<string, any>;
@@ -18505,14 +19698,49 @@ export declare const ZDocumentExtractRequest: z.ZodLazy<z.ZodObject<{
18505
19698
  };
18506
19699
  stream?: boolean | undefined;
18507
19700
  temperature?: number | undefined;
18508
- reasoning_effort?: "low" | "high" | "none" | "minimal" | "medium" | null | undefined;
19701
+ reasoning_effort?: "low" | "high" | "none" | "minimal" | "medium" | "xhigh" | null | undefined;
18509
19702
  image_resolution_dpi?: number | undefined;
18510
19703
  n_consensus?: number | undefined;
18511
- modality?: "text" | "image" | "native" | undefined;
18512
19704
  parallel_ocr_keys?: Record<string, string> | null | undefined;
19705
+ web_search?: boolean | undefined;
18513
19706
  extraction_id?: string | null | undefined;
18514
19707
  seed?: number | null | undefined;
18515
19708
  store?: boolean | undefined;
19709
+ additional_messages?: {
19710
+ role: "user" | "system" | "assistant" | "developer" | "tool";
19711
+ content?: string | ({
19712
+ type: "text";
19713
+ text: string;
19714
+ } | {
19715
+ type: "image_url";
19716
+ image_url: {
19717
+ url: string;
19718
+ detail: "auto" | "low" | "high";
19719
+ };
19720
+ } | {
19721
+ type: "input_audio";
19722
+ input_audio: {
19723
+ data: string;
19724
+ format: "wav" | "mp3";
19725
+ };
19726
+ } | {
19727
+ type: "file";
19728
+ file: {
19729
+ filename: string;
19730
+ file_data: string;
19731
+ file_id: string;
19732
+ };
19733
+ })[] | null | undefined;
19734
+ tool_call_id?: string | null | undefined;
19735
+ tool_calls?: {
19736
+ function: {
19737
+ arguments: string;
19738
+ name: string;
19739
+ };
19740
+ type: "function";
19741
+ id: string;
19742
+ }[] | null | undefined;
19743
+ }[] | null | undefined;
18516
19744
  }>>;
18517
19745
  export type DocumentExtractRequest = z.infer<typeof ZDocumentExtractRequest>;
18518
19746
  export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
@@ -20132,6 +21360,18 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
20132
21360
  text: string;
20133
21361
  }[];
20134
21362
  encrypted_content?: string | null | undefined;
21363
+ }>>, z.ZodLazy<z.ZodObject<{
21364
+ encrypted_content: z.ZodString;
21365
+ type: z.ZodLiteral<"compaction">;
21366
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21367
+ }, "strip", z.ZodTypeAny, {
21368
+ type: "compaction";
21369
+ encrypted_content: string;
21370
+ id?: string | null | undefined;
21371
+ }, {
21372
+ type: "compaction";
21373
+ encrypted_content: string;
21374
+ id?: string | null | undefined;
20135
21375
  }>>, z.ZodLazy<z.ZodObject<{
20136
21376
  id: z.ZodString;
20137
21377
  result: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -23747,6 +24987,18 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
23747
24987
  text: string;
23748
24988
  }[] | null | undefined;
23749
24989
  encrypted_content?: string | null | undefined;
24990
+ }>>, z.ZodLazy<z.ZodObject<{
24991
+ encrypted_content: z.ZodString;
24992
+ type: z.ZodLiteral<"compaction">;
24993
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24994
+ }, "strip", z.ZodTypeAny, {
24995
+ type: "compaction";
24996
+ encrypted_content: string;
24997
+ id?: string | null | undefined;
24998
+ }, {
24999
+ type: "compaction";
25000
+ encrypted_content: string;
25001
+ id?: string | null | undefined;
23750
25002
  }>>, z.ZodLazy<z.ZodObject<{
23751
25003
  id: z.ZodString;
23752
25004
  result: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -24314,7 +25566,7 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
24314
25566
  type?: "item_reference" | null | undefined;
24315
25567
  }>>]>, "many">]>>>;
24316
25568
  metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
24317
- 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">]>]>;
25569
+ 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">]>]>;
24318
25570
  object: z.ZodLiteral<"response">;
24319
25571
  output: z.ZodArray<z.ZodUnion<[z.ZodLazy<z.ZodObject<{
24320
25572
  id: z.ZodString;
@@ -25032,6 +26284,21 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
25032
26284
  text: string;
25033
26285
  }[] | null | undefined;
25034
26286
  encrypted_content?: string | null | undefined;
26287
+ }>>, z.ZodLazy<z.ZodObject<{
26288
+ id: z.ZodString;
26289
+ encrypted_content: z.ZodString;
26290
+ type: z.ZodLiteral<"compaction">;
26291
+ created_by: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26292
+ }, "strip", z.ZodTypeAny, {
26293
+ type: "compaction";
26294
+ id: string;
26295
+ encrypted_content: string;
26296
+ created_by?: string | null | undefined;
26297
+ }, {
26298
+ type: "compaction";
26299
+ id: string;
26300
+ encrypted_content: string;
26301
+ created_by?: string | null | undefined;
25035
26302
  }>>, z.ZodLazy<z.ZodObject<{
25036
26303
  id: z.ZodString;
25037
26304
  result: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -26147,16 +27414,16 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
26147
27414
  prompt_cache_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26148
27415
  prompt_cache_retention: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"in-memory">, z.ZodLiteral<"24h">]>>>;
26149
27416
  reasoning: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodObject<{
26150
- effort: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"none">, z.ZodLiteral<"minimal">, z.ZodLiteral<"low">, z.ZodLiteral<"medium">, z.ZodLiteral<"high">]>>>;
27417
+ effort: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"none">, z.ZodLiteral<"minimal">, z.ZodLiteral<"low">, z.ZodLiteral<"medium">, z.ZodLiteral<"high">, z.ZodLiteral<"xhigh">]>>>;
26151
27418
  generate_summary: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodLiteral<"concise">, z.ZodLiteral<"detailed">]>>>;
26152
27419
  summary: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodLiteral<"concise">, z.ZodLiteral<"detailed">]>>>;
26153
27420
  }, "strip", z.ZodTypeAny, {
26154
27421
  summary?: "auto" | "concise" | "detailed" | null | undefined;
26155
- effort?: "low" | "high" | "none" | "minimal" | "medium" | null | undefined;
27422
+ effort?: "low" | "high" | "none" | "minimal" | "medium" | "xhigh" | null | undefined;
26156
27423
  generate_summary?: "auto" | "concise" | "detailed" | null | undefined;
26157
27424
  }, {
26158
27425
  summary?: "auto" | "concise" | "detailed" | null | undefined;
26159
- effort?: "low" | "high" | "none" | "minimal" | "medium" | null | undefined;
27426
+ effort?: "low" | "high" | "none" | "minimal" | "medium" | "xhigh" | null | undefined;
26160
27427
  generate_summary?: "auto" | "concise" | "detailed" | null | undefined;
26161
27428
  }>>>>;
26162
27429
  safety_identifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -26430,6 +27697,11 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
26430
27697
  input: string;
26431
27698
  call_id: string;
26432
27699
  id?: string | null | undefined;
27700
+ } | {
27701
+ type: "compaction";
27702
+ id: string;
27703
+ encrypted_content: string;
27704
+ created_by?: string | null | undefined;
26433
27705
  } | {
26434
27706
  type: "image_generation_call";
26435
27707
  status: "in_progress" | "completed" | "failed" | "generating";
@@ -26905,6 +28177,10 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
26905
28177
  text: string;
26906
28178
  }[] | null | undefined;
26907
28179
  encrypted_content?: string | null | undefined;
28180
+ } | {
28181
+ type: "compaction";
28182
+ encrypted_content: string;
28183
+ id?: string | null | undefined;
26908
28184
  } | {
26909
28185
  type: "image_generation_call";
26910
28186
  status: "in_progress" | "completed" | "failed" | "generating";
@@ -27064,7 +28340,7 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
27064
28340
  top_logprobs?: number | null | undefined;
27065
28341
  reasoning?: {
27066
28342
  summary?: "auto" | "concise" | "detailed" | null | undefined;
27067
- effort?: "low" | "high" | "none" | "minimal" | "medium" | null | undefined;
28343
+ effort?: "low" | "high" | "none" | "minimal" | "medium" | "xhigh" | null | undefined;
27068
28344
  generate_summary?: "auto" | "concise" | "detailed" | null | undefined;
27069
28345
  } | null | undefined;
27070
28346
  background?: boolean | null | undefined;
@@ -27275,6 +28551,11 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
27275
28551
  input: string;
27276
28552
  call_id: string;
27277
28553
  id?: string | null | undefined;
28554
+ } | {
28555
+ type: "compaction";
28556
+ id: string;
28557
+ encrypted_content: string;
28558
+ created_by?: string | null | undefined;
27278
28559
  } | {
27279
28560
  type: "image_generation_call";
27280
28561
  status: "in_progress" | "completed" | "failed" | "generating";
@@ -27750,6 +29031,10 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
27750
29031
  text: string;
27751
29032
  }[] | null | undefined;
27752
29033
  encrypted_content?: string | null | undefined;
29034
+ } | {
29035
+ type: "compaction";
29036
+ encrypted_content: string;
29037
+ id?: string | null | undefined;
27753
29038
  } | {
27754
29039
  type: "image_generation_call";
27755
29040
  status: "in_progress" | "completed" | "failed" | "generating";
@@ -27909,7 +29194,7 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
27909
29194
  top_logprobs?: number | null | undefined;
27910
29195
  reasoning?: {
27911
29196
  summary?: "auto" | "concise" | "detailed" | null | undefined;
27912
- effort?: "low" | "high" | "none" | "minimal" | "medium" | null | undefined;
29197
+ effort?: "low" | "high" | "none" | "minimal" | "medium" | "xhigh" | null | undefined;
27913
29198
  generate_summary?: "auto" | "concise" | "detailed" | null | undefined;
27914
29199
  } | null | undefined;
27915
29200
  background?: boolean | null | undefined;
@@ -28300,6 +29585,10 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
28300
29585
  text: string;
28301
29586
  }[];
28302
29587
  encrypted_content?: string | null | undefined;
29588
+ } | {
29589
+ type: "compaction";
29590
+ encrypted_content: string;
29591
+ id?: string | null | undefined;
28303
29592
  } | {
28304
29593
  type: "image_generation_call";
28305
29594
  status: "in_progress" | "completed" | "failed" | "generating";
@@ -28873,6 +30162,11 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
28873
30162
  input: string;
28874
30163
  call_id: string;
28875
30164
  id?: string | null | undefined;
30165
+ } | {
30166
+ type: "compaction";
30167
+ id: string;
30168
+ encrypted_content: string;
30169
+ created_by?: string | null | undefined;
28876
30170
  } | {
28877
30171
  type: "image_generation_call";
28878
30172
  status: "in_progress" | "completed" | "failed" | "generating";
@@ -29348,6 +30642,10 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
29348
30642
  text: string;
29349
30643
  }[] | null | undefined;
29350
30644
  encrypted_content?: string | null | undefined;
30645
+ } | {
30646
+ type: "compaction";
30647
+ encrypted_content: string;
30648
+ id?: string | null | undefined;
29351
30649
  } | {
29352
30650
  type: "image_generation_call";
29353
30651
  status: "in_progress" | "completed" | "failed" | "generating";
@@ -29507,7 +30805,7 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
29507
30805
  top_logprobs?: number | null | undefined;
29508
30806
  reasoning?: {
29509
30807
  summary?: "auto" | "concise" | "detailed" | null | undefined;
29510
- effort?: "low" | "high" | "none" | "minimal" | "medium" | null | undefined;
30808
+ effort?: "low" | "high" | "none" | "minimal" | "medium" | "xhigh" | null | undefined;
29511
30809
  generate_summary?: "auto" | "concise" | "detailed" | null | undefined;
29512
30810
  } | null | undefined;
29513
30811
  background?: boolean | null | undefined;
@@ -29895,6 +31193,10 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
29895
31193
  text: string;
29896
31194
  }[];
29897
31195
  encrypted_content?: string | null | undefined;
31196
+ } | {
31197
+ type: "compaction";
31198
+ encrypted_content: string;
31199
+ id?: string | null | undefined;
29898
31200
  } | {
29899
31201
  type: "image_generation_call";
29900
31202
  status: "in_progress" | "completed" | "failed" | "generating";
@@ -30468,6 +31770,11 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
30468
31770
  input: string;
30469
31771
  call_id: string;
30470
31772
  id?: string | null | undefined;
31773
+ } | {
31774
+ type: "compaction";
31775
+ id: string;
31776
+ encrypted_content: string;
31777
+ created_by?: string | null | undefined;
30471
31778
  } | {
30472
31779
  type: "image_generation_call";
30473
31780
  status: "in_progress" | "completed" | "failed" | "generating";
@@ -30943,6 +32250,10 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
30943
32250
  text: string;
30944
32251
  }[] | null | undefined;
30945
32252
  encrypted_content?: string | null | undefined;
32253
+ } | {
32254
+ type: "compaction";
32255
+ encrypted_content: string;
32256
+ id?: string | null | undefined;
30946
32257
  } | {
30947
32258
  type: "image_generation_call";
30948
32259
  status: "in_progress" | "completed" | "failed" | "generating";
@@ -31102,7 +32413,7 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
31102
32413
  top_logprobs?: number | null | undefined;
31103
32414
  reasoning?: {
31104
32415
  summary?: "auto" | "concise" | "detailed" | null | undefined;
31105
- effort?: "low" | "high" | "none" | "minimal" | "medium" | null | undefined;
32416
+ effort?: "low" | "high" | "none" | "minimal" | "medium" | "xhigh" | null | undefined;
31106
32417
  generate_summary?: "auto" | "concise" | "detailed" | null | undefined;
31107
32418
  } | null | undefined;
31108
32419
  background?: boolean | null | undefined;
@@ -37693,6 +39004,20 @@ export declare const ZResponseReasoningItem: z.ZodLazy<z.ZodObject<{
37693
39004
  encrypted_content?: string | null | undefined;
37694
39005
  }>>;
37695
39006
  export type ResponseReasoningItem = z.infer<typeof ZResponseReasoningItem>;
39007
+ export declare const ZResponseCompactionItemParam: z.ZodLazy<z.ZodObject<{
39008
+ encrypted_content: z.ZodString;
39009
+ type: z.ZodLiteral<"compaction">;
39010
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39011
+ }, "strip", z.ZodTypeAny, {
39012
+ type: "compaction";
39013
+ encrypted_content: string;
39014
+ id?: string | null | undefined;
39015
+ }, {
39016
+ type: "compaction";
39017
+ encrypted_content: string;
39018
+ id?: string | null | undefined;
39019
+ }>>;
39020
+ export type ResponseCompactionItemParam = z.infer<typeof ZResponseCompactionItemParam>;
37696
39021
  export declare const ZImageGenerationCall: z.ZodLazy<z.ZodObject<{
37697
39022
  id: z.ZodString;
37698
39023
  result: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -38288,6 +39613,23 @@ export declare const ZItemReference: z.ZodLazy<z.ZodObject<{
38288
39613
  type?: "item_reference" | null | undefined;
38289
39614
  }>>;
38290
39615
  export type ItemReference = z.infer<typeof ZItemReference>;
39616
+ export declare const ZResponseCompactionItem: z.ZodLazy<z.ZodObject<{
39617
+ id: z.ZodString;
39618
+ encrypted_content: z.ZodString;
39619
+ type: z.ZodLiteral<"compaction">;
39620
+ created_by: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39621
+ }, "strip", z.ZodTypeAny, {
39622
+ type: "compaction";
39623
+ id: string;
39624
+ encrypted_content: string;
39625
+ created_by?: string | null | undefined;
39626
+ }, {
39627
+ type: "compaction";
39628
+ id: string;
39629
+ encrypted_content: string;
39630
+ created_by?: string | null | undefined;
39631
+ }>>;
39632
+ export type ResponseCompactionItem = z.infer<typeof ZResponseCompactionItem>;
38291
39633
  export declare const ZResponseOutputItemImageGenerationCall: z.ZodLazy<z.ZodObject<{
38292
39634
  id: z.ZodString;
38293
39635
  result: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -39380,16 +40722,16 @@ export declare const ZResponsePrompt: z.ZodLazy<z.ZodObject<{
39380
40722
  }>>;
39381
40723
  export type ResponsePrompt = z.infer<typeof ZResponsePrompt>;
39382
40724
  export declare const ZReasoning: z.ZodLazy<z.ZodObject<{
39383
- effort: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"none">, z.ZodLiteral<"minimal">, z.ZodLiteral<"low">, z.ZodLiteral<"medium">, z.ZodLiteral<"high">]>>>;
40725
+ effort: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"none">, z.ZodLiteral<"minimal">, z.ZodLiteral<"low">, z.ZodLiteral<"medium">, z.ZodLiteral<"high">, z.ZodLiteral<"xhigh">]>>>;
39384
40726
  generate_summary: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodLiteral<"concise">, z.ZodLiteral<"detailed">]>>>;
39385
40727
  summary: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodLiteral<"concise">, z.ZodLiteral<"detailed">]>>>;
39386
40728
  }, "strip", z.ZodTypeAny, {
39387
40729
  summary?: "auto" | "concise" | "detailed" | null | undefined;
39388
- effort?: "low" | "high" | "none" | "minimal" | "medium" | null | undefined;
40730
+ effort?: "low" | "high" | "none" | "minimal" | "medium" | "xhigh" | null | undefined;
39389
40731
  generate_summary?: "auto" | "concise" | "detailed" | null | undefined;
39390
40732
  }, {
39391
40733
  summary?: "auto" | "concise" | "detailed" | null | undefined;
39392
- effort?: "low" | "high" | "none" | "minimal" | "medium" | null | undefined;
40734
+ effort?: "low" | "high" | "none" | "minimal" | "medium" | "xhigh" | null | undefined;
39393
40735
  generate_summary?: "auto" | "concise" | "detailed" | null | undefined;
39394
40736
  }>>;
39395
40737
  export type Reasoning = z.infer<typeof ZReasoning>;
@@ -41591,6 +42933,20 @@ export declare const ZResponseReasoningItemParam: z.ZodLazy<z.ZodObject<{
41591
42933
  encrypted_content?: string | null | undefined;
41592
42934
  }>>;
41593
42935
  export type ResponseReasoningItemParam = z.infer<typeof ZResponseReasoningItemParam>;
42936
+ export declare const ZResponseCompactionItemParamParam: z.ZodLazy<z.ZodObject<{
42937
+ encrypted_content: z.ZodString;
42938
+ type: z.ZodLiteral<"compaction">;
42939
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42940
+ }, "strip", z.ZodTypeAny, {
42941
+ type: "compaction";
42942
+ encrypted_content: string;
42943
+ id?: string | null | undefined;
42944
+ }, {
42945
+ type: "compaction";
42946
+ encrypted_content: string;
42947
+ id?: string | null | undefined;
42948
+ }>>;
42949
+ export type ResponseCompactionItemParamParam = z.infer<typeof ZResponseCompactionItemParamParam>;
41594
42950
  export declare const ZResponseInputParamImageGenerationCall: z.ZodLazy<z.ZodObject<{
41595
42951
  id: z.ZodString;
41596
42952
  result: z.ZodOptional<z.ZodNullable<z.ZodString>>;