@retab/node 1.0.82 → 1.0.84

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.
@@ -11239,6 +11239,7 @@ export declare const ZResponse: z.ZodLazy<z.ZodObject<{
11239
11239
  action: z.ZodUnion<[z.ZodLazy<z.ZodObject<{
11240
11240
  query: z.ZodString;
11241
11241
  type: z.ZodLiteral<"search">;
11242
+ queries: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
11242
11243
  sources: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodLazy<z.ZodObject<{
11243
11244
  type: z.ZodLiteral<"url">;
11244
11245
  url: z.ZodString;
@@ -11252,6 +11253,7 @@ export declare const ZResponse: z.ZodLazy<z.ZodObject<{
11252
11253
  }, "strip", z.ZodTypeAny, {
11253
11254
  type: "search";
11254
11255
  query: string;
11256
+ queries?: string[] | null | undefined;
11255
11257
  sources?: {
11256
11258
  type: "url";
11257
11259
  url: string;
@@ -11259,6 +11261,7 @@ export declare const ZResponse: z.ZodLazy<z.ZodObject<{
11259
11261
  }, {
11260
11262
  type: "search";
11261
11263
  query: string;
11264
+ queries?: string[] | null | undefined;
11262
11265
  sources?: {
11263
11266
  type: "url";
11264
11267
  url: string;
@@ -11294,6 +11297,7 @@ export declare const ZResponse: z.ZodLazy<z.ZodObject<{
11294
11297
  action: {
11295
11298
  type: "search";
11296
11299
  query: string;
11300
+ queries?: string[] | null | undefined;
11297
11301
  sources?: {
11298
11302
  type: "url";
11299
11303
  url: string;
@@ -11313,6 +11317,7 @@ export declare const ZResponse: z.ZodLazy<z.ZodObject<{
11313
11317
  action: {
11314
11318
  type: "search";
11315
11319
  query: string;
11320
+ queries?: string[] | null | undefined;
11316
11321
  sources?: {
11317
11322
  type: "url";
11318
11323
  url: string;
@@ -12423,6 +12428,7 @@ export declare const ZResponse: z.ZodLazy<z.ZodObject<{
12423
12428
  action: z.ZodUnion<[z.ZodLazy<z.ZodObject<{
12424
12429
  query: z.ZodString;
12425
12430
  type: z.ZodLiteral<"search">;
12431
+ queries: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
12426
12432
  sources: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodLazy<z.ZodObject<{
12427
12433
  type: z.ZodLiteral<"url">;
12428
12434
  url: z.ZodString;
@@ -12436,6 +12442,7 @@ export declare const ZResponse: z.ZodLazy<z.ZodObject<{
12436
12442
  }, "strip", z.ZodTypeAny, {
12437
12443
  type: "search";
12438
12444
  query: string;
12445
+ queries?: string[] | null | undefined;
12439
12446
  sources?: {
12440
12447
  type: "url";
12441
12448
  url: string;
@@ -12443,6 +12450,7 @@ export declare const ZResponse: z.ZodLazy<z.ZodObject<{
12443
12450
  }, {
12444
12451
  type: "search";
12445
12452
  query: string;
12453
+ queries?: string[] | null | undefined;
12446
12454
  sources?: {
12447
12455
  type: "url";
12448
12456
  url: string;
@@ -12478,6 +12486,7 @@ export declare const ZResponse: z.ZodLazy<z.ZodObject<{
12478
12486
  action: {
12479
12487
  type: "search";
12480
12488
  query: string;
12489
+ queries?: string[] | null | undefined;
12481
12490
  sources?: {
12482
12491
  type: "url";
12483
12492
  url: string;
@@ -12497,6 +12506,7 @@ export declare const ZResponse: z.ZodLazy<z.ZodObject<{
12497
12506
  action: {
12498
12507
  type: "search";
12499
12508
  query: string;
12509
+ queries?: string[] | null | undefined;
12500
12510
  sources?: {
12501
12511
  type: "url";
12502
12512
  url: string;
@@ -13816,6 +13826,7 @@ export declare const ZResponse: z.ZodLazy<z.ZodObject<{
13816
13826
  }>>]>, "many">;
13817
13827
  top_p: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
13818
13828
  background: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
13829
+ completed_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
13819
13830
  conversation: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodObject<{
13820
13831
  id: z.ZodString;
13821
13832
  }, "strip", z.ZodTypeAny, {
@@ -14143,6 +14154,7 @@ export declare const ZResponse: z.ZodLazy<z.ZodObject<{
14143
14154
  action: {
14144
14155
  type: "search";
14145
14156
  query: string;
14157
+ queries?: string[] | null | undefined;
14146
14158
  sources?: {
14147
14159
  type: "url";
14148
14160
  url: string;
@@ -14465,6 +14477,7 @@ export declare const ZResponse: z.ZodLazy<z.ZodObject<{
14465
14477
  code: "server_error" | "rate_limit_exceeded" | "invalid_prompt" | "vector_store_timeout" | "invalid_image" | "invalid_image_format" | "invalid_base64_image" | "invalid_image_url" | "image_too_large" | "image_too_small" | "image_parse_error" | "image_content_policy_violation" | "invalid_image_mode" | "image_file_too_large" | "unsupported_image_media_type" | "empty_image_file" | "failed_to_download_image" | "image_file_not_found";
14466
14478
  message: string;
14467
14479
  } | null | undefined;
14480
+ completed_at?: number | null | undefined;
14468
14481
  instructions?: string | ({
14469
14482
  role: "user" | "system" | "assistant" | "developer";
14470
14483
  content: string | ({
@@ -14627,6 +14640,7 @@ export declare const ZResponse: z.ZodLazy<z.ZodObject<{
14627
14640
  action: {
14628
14641
  type: "search";
14629
14642
  query: string;
14643
+ queries?: string[] | null | undefined;
14630
14644
  sources?: {
14631
14645
  type: "url";
14632
14646
  url: string;
@@ -14997,6 +15011,7 @@ export declare const ZResponse: z.ZodLazy<z.ZodObject<{
14997
15011
  action: {
14998
15012
  type: "search";
14999
15013
  query: string;
15014
+ queries?: string[] | null | undefined;
15000
15015
  sources?: {
15001
15016
  type: "url";
15002
15017
  url: string;
@@ -15319,6 +15334,7 @@ export declare const ZResponse: z.ZodLazy<z.ZodObject<{
15319
15334
  code: "server_error" | "rate_limit_exceeded" | "invalid_prompt" | "vector_store_timeout" | "invalid_image" | "invalid_image_format" | "invalid_base64_image" | "invalid_image_url" | "image_too_large" | "image_too_small" | "image_parse_error" | "image_content_policy_violation" | "invalid_image_mode" | "image_file_too_large" | "unsupported_image_media_type" | "empty_image_file" | "failed_to_download_image" | "image_file_not_found";
15320
15335
  message: string;
15321
15336
  } | null | undefined;
15337
+ completed_at?: number | null | undefined;
15322
15338
  instructions?: string | ({
15323
15339
  role: "user" | "system" | "assistant" | "developer";
15324
15340
  content: string | ({
@@ -15481,6 +15497,7 @@ export declare const ZResponse: z.ZodLazy<z.ZodObject<{
15481
15497
  action: {
15482
15498
  type: "search";
15483
15499
  query: string;
15500
+ queries?: string[] | null | undefined;
15484
15501
  sources?: {
15485
15502
  type: "url";
15486
15503
  url: string;
@@ -17283,13 +17300,13 @@ export declare const ZFillTemplateRequest: z.ZodLazy<z.ZodObject<{
17283
17300
  model: z.ZodDefault<z.ZodString>;
17284
17301
  instructions: z.ZodString;
17285
17302
  template_id: z.ZodString;
17286
- config: z.ZodDefault<z.ZodOptional<z.ZodLazy<z.ZodObject<{
17303
+ config: z.ZodLazy<z.ZodObject<{
17287
17304
  color: z.ZodDefault<z.ZodString>;
17288
17305
  }, "strip", z.ZodTypeAny, {
17289
17306
  color: string;
17290
17307
  }, {
17291
17308
  color?: string | undefined;
17292
- }>>>>;
17309
+ }>>;
17293
17310
  }, "strip", z.ZodTypeAny, {
17294
17311
  model: string;
17295
17312
  instructions: string;
@@ -17300,10 +17317,10 @@ export declare const ZFillTemplateRequest: z.ZodLazy<z.ZodObject<{
17300
17317
  }, {
17301
17318
  instructions: string;
17302
17319
  template_id: string;
17303
- model?: string | undefined;
17304
- config?: {
17320
+ config: {
17305
17321
  color?: string | undefined;
17306
- } | undefined;
17322
+ };
17323
+ model?: string | undefined;
17307
17324
  }>>;
17308
17325
  export type FillTemplateRequest = z.infer<typeof ZFillTemplateRequest>;
17309
17326
  export declare const ZUpdateEditTemplateRequest: z.ZodLazy<z.ZodObject<{
@@ -17498,12 +17515,15 @@ export type DocumentTransformResponse = z.infer<typeof ZDocumentTransformRespons
17498
17515
  export declare const ZCategory: z.ZodLazy<z.ZodObject<{
17499
17516
  name: z.ZodString;
17500
17517
  description: z.ZodString;
17518
+ partition_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17501
17519
  }, "strip", z.ZodTypeAny, {
17502
17520
  name: string;
17503
17521
  description: string;
17522
+ partition_key?: string | null | undefined;
17504
17523
  }, {
17505
17524
  name: string;
17506
17525
  description: string;
17526
+ partition_key?: string | null | undefined;
17507
17527
  }>>;
17508
17528
  export type Category = z.infer<typeof ZCategory>;
17509
17529
  export declare const ZClassifyOutputSchema: z.ZodLazy<z.ZodObject<{
@@ -17531,14 +17551,18 @@ export declare const ZClassifyRequest: z.ZodLazy<z.ZodObject<{
17531
17551
  categories: z.ZodArray<z.ZodLazy<z.ZodObject<{
17532
17552
  name: z.ZodString;
17533
17553
  description: z.ZodString;
17554
+ partition_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17534
17555
  }, "strip", z.ZodTypeAny, {
17535
17556
  name: string;
17536
17557
  description: string;
17558
+ partition_key?: string | null | undefined;
17537
17559
  }, {
17538
17560
  name: string;
17539
17561
  description: string;
17562
+ partition_key?: string | null | undefined;
17540
17563
  }>>, "many">;
17541
17564
  model: z.ZodDefault<z.ZodString>;
17565
+ first_n_pages: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17542
17566
  }, "strip", z.ZodTypeAny, {
17543
17567
  model: string;
17544
17568
  document: {
@@ -17548,7 +17572,9 @@ export declare const ZClassifyRequest: z.ZodLazy<z.ZodObject<{
17548
17572
  categories: {
17549
17573
  name: string;
17550
17574
  description: string;
17575
+ partition_key?: string | null | undefined;
17551
17576
  }[];
17577
+ first_n_pages?: number | null | undefined;
17552
17578
  }, {
17553
17579
  document: {
17554
17580
  filename: string;
@@ -17557,8 +17583,10 @@ export declare const ZClassifyRequest: z.ZodLazy<z.ZodObject<{
17557
17583
  categories: {
17558
17584
  name: string;
17559
17585
  description: string;
17586
+ partition_key?: string | null | undefined;
17560
17587
  }[];
17561
17588
  model?: string | undefined;
17589
+ first_n_pages?: number | null | undefined;
17562
17590
  }>>;
17563
17591
  export type ClassifyRequest = z.infer<typeof ZClassifyRequest>;
17564
17592
  export declare const ZClassifyResponse: z.ZodLazy<z.ZodObject<{
@@ -17704,12 +17732,15 @@ export declare const ZSplitRequest: z.ZodLazy<z.ZodObject<{
17704
17732
  categories: z.ZodArray<z.ZodLazy<z.ZodObject<{
17705
17733
  name: z.ZodString;
17706
17734
  description: z.ZodString;
17735
+ partition_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17707
17736
  }, "strip", z.ZodTypeAny, {
17708
17737
  name: string;
17709
17738
  description: string;
17739
+ partition_key?: string | null | undefined;
17710
17740
  }, {
17711
17741
  name: string;
17712
17742
  description: string;
17743
+ partition_key?: string | null | undefined;
17713
17744
  }>>, "many">;
17714
17745
  model: z.ZodDefault<z.ZodString>;
17715
17746
  }, "strip", z.ZodTypeAny, {
@@ -17721,6 +17752,7 @@ export declare const ZSplitRequest: z.ZodLazy<z.ZodObject<{
17721
17752
  categories: {
17722
17753
  name: string;
17723
17754
  description: string;
17755
+ partition_key?: string | null | undefined;
17724
17756
  }[];
17725
17757
  }, {
17726
17758
  document: {
@@ -17730,6 +17762,7 @@ export declare const ZSplitRequest: z.ZodLazy<z.ZodObject<{
17730
17762
  categories: {
17731
17763
  name: string;
17732
17764
  description: string;
17765
+ partition_key?: string | null | undefined;
17733
17766
  }[];
17734
17767
  model?: string | undefined;
17735
17768
  }>>;
@@ -17737,43 +17770,103 @@ export type SplitRequest = z.infer<typeof ZSplitRequest>;
17737
17770
  export declare const ZSplitResponse: z.ZodLazy<z.ZodObject<{
17738
17771
  splits: z.ZodArray<z.ZodLazy<z.ZodObject<{
17739
17772
  name: z.ZodString;
17740
- start_page: z.ZodNumber;
17741
- end_page: z.ZodNumber;
17773
+ pages: z.ZodArray<z.ZodNumber, "many">;
17774
+ partitions: z.ZodArray<z.ZodLazy<z.ZodObject<{
17775
+ key: z.ZodString;
17776
+ pages: z.ZodArray<z.ZodNumber, "many">;
17777
+ first_page_y_start: z.ZodDefault<z.ZodNumber>;
17778
+ last_page_y_end: z.ZodDefault<z.ZodNumber>;
17779
+ }, "strip", z.ZodTypeAny, {
17780
+ pages: number[];
17781
+ key: string;
17782
+ first_page_y_start: number;
17783
+ last_page_y_end: number;
17784
+ }, {
17785
+ pages: number[];
17786
+ key: string;
17787
+ first_page_y_start?: number | undefined;
17788
+ last_page_y_end?: number | undefined;
17789
+ }>>, "many">;
17742
17790
  }, "strip", z.ZodTypeAny, {
17791
+ pages: number[];
17743
17792
  name: string;
17744
- start_page: number;
17745
- end_page: number;
17793
+ partitions: {
17794
+ pages: number[];
17795
+ key: string;
17796
+ first_page_y_start: number;
17797
+ last_page_y_end: number;
17798
+ }[];
17746
17799
  }, {
17800
+ pages: number[];
17747
17801
  name: string;
17748
- start_page: number;
17749
- end_page: number;
17802
+ partitions: {
17803
+ pages: number[];
17804
+ key: string;
17805
+ first_page_y_start?: number | undefined;
17806
+ last_page_y_end?: number | undefined;
17807
+ }[];
17750
17808
  }>>, "many">;
17751
17809
  }, "strip", z.ZodTypeAny, {
17752
17810
  splits: {
17811
+ pages: number[];
17753
17812
  name: string;
17754
- start_page: number;
17755
- end_page: number;
17813
+ partitions: {
17814
+ pages: number[];
17815
+ key: string;
17816
+ first_page_y_start: number;
17817
+ last_page_y_end: number;
17818
+ }[];
17756
17819
  }[];
17757
17820
  }, {
17758
17821
  splits: {
17822
+ pages: number[];
17759
17823
  name: string;
17760
- start_page: number;
17761
- end_page: number;
17824
+ partitions: {
17825
+ pages: number[];
17826
+ key: string;
17827
+ first_page_y_start?: number | undefined;
17828
+ last_page_y_end?: number | undefined;
17829
+ }[];
17762
17830
  }[];
17763
17831
  }>>;
17764
17832
  export type SplitResponse = z.infer<typeof ZSplitResponse>;
17765
17833
  export declare const ZSplitResult: z.ZodLazy<z.ZodObject<{
17766
17834
  name: z.ZodString;
17767
- start_page: z.ZodNumber;
17768
- end_page: z.ZodNumber;
17835
+ pages: z.ZodArray<z.ZodNumber, "many">;
17836
+ partitions: z.ZodArray<z.ZodLazy<z.ZodObject<{
17837
+ key: z.ZodString;
17838
+ pages: z.ZodArray<z.ZodNumber, "many">;
17839
+ first_page_y_start: z.ZodDefault<z.ZodNumber>;
17840
+ last_page_y_end: z.ZodDefault<z.ZodNumber>;
17841
+ }, "strip", z.ZodTypeAny, {
17842
+ pages: number[];
17843
+ key: string;
17844
+ first_page_y_start: number;
17845
+ last_page_y_end: number;
17846
+ }, {
17847
+ pages: number[];
17848
+ key: string;
17849
+ first_page_y_start?: number | undefined;
17850
+ last_page_y_end?: number | undefined;
17851
+ }>>, "many">;
17769
17852
  }, "strip", z.ZodTypeAny, {
17853
+ pages: number[];
17770
17854
  name: string;
17771
- start_page: number;
17772
- end_page: number;
17855
+ partitions: {
17856
+ pages: number[];
17857
+ key: string;
17858
+ first_page_y_start: number;
17859
+ last_page_y_end: number;
17860
+ }[];
17773
17861
  }, {
17862
+ pages: number[];
17774
17863
  name: string;
17775
- start_page: number;
17776
- end_page: number;
17864
+ partitions: {
17865
+ pages: number[];
17866
+ key: string;
17867
+ first_page_y_start?: number | undefined;
17868
+ last_page_y_end?: number | undefined;
17869
+ }[];
17777
17870
  }>>;
17778
17871
  export type SplitResult = z.infer<typeof ZSplitResult>;
17779
17872
  export declare const ZBBox: z.ZodLazy<z.ZodObject<{
@@ -17857,13 +17950,13 @@ export declare const ZEditRequest: z.ZodLazy<z.ZodObject<{
17857
17950
  model: z.ZodDefault<z.ZodString>;
17858
17951
  instructions: z.ZodString;
17859
17952
  template_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17860
- config: z.ZodDefault<z.ZodOptional<z.ZodLazy<z.ZodObject<{
17953
+ config: z.ZodLazy<z.ZodObject<{
17861
17954
  color: z.ZodDefault<z.ZodString>;
17862
17955
  }, "strip", z.ZodTypeAny, {
17863
17956
  color: string;
17864
17957
  }, {
17865
17958
  color?: string | undefined;
17866
- }>>>>;
17959
+ }>>;
17867
17960
  }, "strip", z.ZodTypeAny, {
17868
17961
  model: string;
17869
17962
  instructions: string;
@@ -17877,15 +17970,15 @@ export declare const ZEditRequest: z.ZodLazy<z.ZodObject<{
17877
17970
  template_id?: string | null | undefined;
17878
17971
  }, {
17879
17972
  instructions: string;
17973
+ config: {
17974
+ color?: string | undefined;
17975
+ };
17880
17976
  model?: string | undefined;
17881
17977
  document?: {
17882
17978
  filename: string;
17883
17979
  url: string;
17884
17980
  } | null | undefined;
17885
17981
  template_id?: string | null | undefined;
17886
- config?: {
17887
- color?: string | undefined;
17888
- } | undefined;
17889
17982
  }>>;
17890
17983
  export type EditRequest = z.infer<typeof ZEditRequest>;
17891
17984
  export declare const ZEditResponse: z.ZodLazy<z.ZodObject<{
@@ -18392,6 +18485,37 @@ export declare const ZProcessOCRRequest: z.ZodLazy<z.ZodObject<{
18392
18485
  };
18393
18486
  }>>;
18394
18487
  export type ProcessOCRRequest = z.infer<typeof ZProcessOCRRequest>;
18488
+ export declare const ZPartition: z.ZodLazy<z.ZodObject<{
18489
+ key: z.ZodString;
18490
+ pages: z.ZodArray<z.ZodNumber, "many">;
18491
+ first_page_y_start: z.ZodDefault<z.ZodNumber>;
18492
+ last_page_y_end: z.ZodDefault<z.ZodNumber>;
18493
+ }, "strip", z.ZodTypeAny, {
18494
+ pages: number[];
18495
+ key: string;
18496
+ first_page_y_start: number;
18497
+ last_page_y_end: number;
18498
+ }, {
18499
+ pages: number[];
18500
+ key: string;
18501
+ first_page_y_start?: number | undefined;
18502
+ last_page_y_end?: number | undefined;
18503
+ }>>;
18504
+ export type Partition = z.infer<typeof ZPartition>;
18505
+ export declare const ZSplitOutputItem: z.ZodLazy<z.ZodObject<{
18506
+ name: z.ZodString;
18507
+ start_page: z.ZodNumber;
18508
+ end_page: z.ZodNumber;
18509
+ }, "strip", z.ZodTypeAny, {
18510
+ name: string;
18511
+ start_page: number;
18512
+ end_page: number;
18513
+ }, {
18514
+ name: string;
18515
+ start_page: number;
18516
+ end_page: number;
18517
+ }>>;
18518
+ export type SplitOutputItem = z.infer<typeof ZSplitOutputItem>;
18395
18519
  export declare const ZSplitOutputSchema: z.ZodLazy<z.ZodObject<{
18396
18520
  splits: z.ZodArray<z.ZodLazy<z.ZodObject<{
18397
18521
  name: z.ZodString;
@@ -22012,6 +22136,7 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
22012
22136
  action: z.ZodUnion<[z.ZodLazy<z.ZodObject<{
22013
22137
  query: z.ZodString;
22014
22138
  type: z.ZodLiteral<"search">;
22139
+ queries: z.ZodArray<z.ZodString, "many">;
22015
22140
  sources: z.ZodArray<z.ZodLazy<z.ZodObject<{
22016
22141
  type: z.ZodLiteral<"url">;
22017
22142
  url: z.ZodString;
@@ -22024,6 +22149,7 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
22024
22149
  }>>, "many">;
22025
22150
  }, "strip", z.ZodTypeAny, {
22026
22151
  type: "search";
22152
+ queries: string[];
22027
22153
  query: string;
22028
22154
  sources: {
22029
22155
  type: "url";
@@ -22031,6 +22157,7 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
22031
22157
  }[];
22032
22158
  }, {
22033
22159
  type: "search";
22160
+ queries: string[];
22034
22161
  query: string;
22035
22162
  sources: {
22036
22163
  type: "url";
@@ -22066,6 +22193,7 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
22066
22193
  id: string;
22067
22194
  action: {
22068
22195
  type: "search";
22196
+ queries: string[];
22069
22197
  query: string;
22070
22198
  sources: {
22071
22199
  type: "url";
@@ -22085,6 +22213,7 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
22085
22213
  id: string;
22086
22214
  action: {
22087
22215
  type: "search";
22216
+ queries: string[];
22088
22217
  query: string;
22089
22218
  sources: {
22090
22219
  type: "url";
@@ -25639,6 +25768,7 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
25639
25768
  action: z.ZodUnion<[z.ZodLazy<z.ZodObject<{
25640
25769
  query: z.ZodString;
25641
25770
  type: z.ZodLiteral<"search">;
25771
+ queries: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
25642
25772
  sources: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodLazy<z.ZodObject<{
25643
25773
  type: z.ZodLiteral<"url">;
25644
25774
  url: z.ZodString;
@@ -25652,6 +25782,7 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
25652
25782
  }, "strip", z.ZodTypeAny, {
25653
25783
  type: "search";
25654
25784
  query: string;
25785
+ queries?: string[] | null | undefined;
25655
25786
  sources?: {
25656
25787
  type: "url";
25657
25788
  url: string;
@@ -25659,6 +25790,7 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
25659
25790
  }, {
25660
25791
  type: "search";
25661
25792
  query: string;
25793
+ queries?: string[] | null | undefined;
25662
25794
  sources?: {
25663
25795
  type: "url";
25664
25796
  url: string;
@@ -25694,6 +25826,7 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
25694
25826
  action: {
25695
25827
  type: "search";
25696
25828
  query: string;
25829
+ queries?: string[] | null | undefined;
25697
25830
  sources?: {
25698
25831
  type: "url";
25699
25832
  url: string;
@@ -25713,6 +25846,7 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
25713
25846
  action: {
25714
25847
  type: "search";
25715
25848
  query: string;
25849
+ queries?: string[] | null | undefined;
25716
25850
  sources?: {
25717
25851
  type: "url";
25718
25852
  url: string;
@@ -26823,6 +26957,7 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
26823
26957
  action: z.ZodUnion<[z.ZodLazy<z.ZodObject<{
26824
26958
  query: z.ZodString;
26825
26959
  type: z.ZodLiteral<"search">;
26960
+ queries: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
26826
26961
  sources: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodLazy<z.ZodObject<{
26827
26962
  type: z.ZodLiteral<"url">;
26828
26963
  url: z.ZodString;
@@ -26836,6 +26971,7 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
26836
26971
  }, "strip", z.ZodTypeAny, {
26837
26972
  type: "search";
26838
26973
  query: string;
26974
+ queries?: string[] | null | undefined;
26839
26975
  sources?: {
26840
26976
  type: "url";
26841
26977
  url: string;
@@ -26843,6 +26979,7 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
26843
26979
  }, {
26844
26980
  type: "search";
26845
26981
  query: string;
26982
+ queries?: string[] | null | undefined;
26846
26983
  sources?: {
26847
26984
  type: "url";
26848
26985
  url: string;
@@ -26878,6 +27015,7 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
26878
27015
  action: {
26879
27016
  type: "search";
26880
27017
  query: string;
27018
+ queries?: string[] | null | undefined;
26881
27019
  sources?: {
26882
27020
  type: "url";
26883
27021
  url: string;
@@ -26897,6 +27035,7 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
26897
27035
  action: {
26898
27036
  type: "search";
26899
27037
  query: string;
27038
+ queries?: string[] | null | undefined;
26900
27039
  sources?: {
26901
27040
  type: "url";
26902
27041
  url: string;
@@ -28216,6 +28355,7 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
28216
28355
  }>>]>, "many">;
28217
28356
  top_p: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
28218
28357
  background: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
28358
+ completed_at: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
28219
28359
  conversation: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodObject<{
28220
28360
  id: z.ZodString;
28221
28361
  }, "strip", z.ZodTypeAny, {
@@ -28543,6 +28683,7 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
28543
28683
  action: {
28544
28684
  type: "search";
28545
28685
  query: string;
28686
+ queries?: string[] | null | undefined;
28546
28687
  sources?: {
28547
28688
  type: "url";
28548
28689
  url: string;
@@ -28865,6 +29006,7 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
28865
29006
  code: "server_error" | "rate_limit_exceeded" | "invalid_prompt" | "vector_store_timeout" | "invalid_image" | "invalid_image_format" | "invalid_base64_image" | "invalid_image_url" | "image_too_large" | "image_too_small" | "image_parse_error" | "image_content_policy_violation" | "invalid_image_mode" | "image_file_too_large" | "unsupported_image_media_type" | "empty_image_file" | "failed_to_download_image" | "image_file_not_found";
28866
29007
  message: string;
28867
29008
  } | null | undefined;
29009
+ completed_at?: number | null | undefined;
28868
29010
  instructions?: string | ({
28869
29011
  role: "user" | "system" | "assistant" | "developer";
28870
29012
  content: string | ({
@@ -29027,6 +29169,7 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
29027
29169
  action: {
29028
29170
  type: "search";
29029
29171
  query: string;
29172
+ queries?: string[] | null | undefined;
29030
29173
  sources?: {
29031
29174
  type: "url";
29032
29175
  url: string;
@@ -29397,6 +29540,7 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
29397
29540
  action: {
29398
29541
  type: "search";
29399
29542
  query: string;
29543
+ queries?: string[] | null | undefined;
29400
29544
  sources?: {
29401
29545
  type: "url";
29402
29546
  url: string;
@@ -29719,6 +29863,7 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
29719
29863
  code: "server_error" | "rate_limit_exceeded" | "invalid_prompt" | "vector_store_timeout" | "invalid_image" | "invalid_image_format" | "invalid_base64_image" | "invalid_image_url" | "image_too_large" | "image_too_small" | "image_parse_error" | "image_content_policy_violation" | "invalid_image_mode" | "image_file_too_large" | "unsupported_image_media_type" | "empty_image_file" | "failed_to_download_image" | "image_file_not_found";
29720
29864
  message: string;
29721
29865
  } | null | undefined;
29866
+ completed_at?: number | null | undefined;
29722
29867
  instructions?: string | ({
29723
29868
  role: "user" | "system" | "assistant" | "developer";
29724
29869
  content: string | ({
@@ -29881,6 +30026,7 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
29881
30026
  action: {
29882
30027
  type: "search";
29883
30028
  query: string;
30029
+ queries?: string[] | null | undefined;
29884
30030
  sources?: {
29885
30031
  type: "url";
29886
30032
  url: string;
@@ -30430,6 +30576,7 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
30430
30576
  id: string;
30431
30577
  action: {
30432
30578
  type: "search";
30579
+ queries: string[];
30433
30580
  query: string;
30434
30581
  sources: {
30435
30582
  type: "url";
@@ -31008,6 +31155,7 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
31008
31155
  action: {
31009
31156
  type: "search";
31010
31157
  query: string;
31158
+ queries?: string[] | null | undefined;
31011
31159
  sources?: {
31012
31160
  type: "url";
31013
31161
  url: string;
@@ -31330,6 +31478,7 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
31330
31478
  code: "server_error" | "rate_limit_exceeded" | "invalid_prompt" | "vector_store_timeout" | "invalid_image" | "invalid_image_format" | "invalid_base64_image" | "invalid_image_url" | "image_too_large" | "image_too_small" | "image_parse_error" | "image_content_policy_violation" | "invalid_image_mode" | "image_file_too_large" | "unsupported_image_media_type" | "empty_image_file" | "failed_to_download_image" | "image_file_not_found";
31331
31479
  message: string;
31332
31480
  } | null | undefined;
31481
+ completed_at?: number | null | undefined;
31333
31482
  instructions?: string | ({
31334
31483
  role: "user" | "system" | "assistant" | "developer";
31335
31484
  content: string | ({
@@ -31492,6 +31641,7 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
31492
31641
  action: {
31493
31642
  type: "search";
31494
31643
  query: string;
31644
+ queries?: string[] | null | undefined;
31495
31645
  sources?: {
31496
31646
  type: "url";
31497
31647
  url: string;
@@ -32038,6 +32188,7 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
32038
32188
  id: string;
32039
32189
  action: {
32040
32190
  type: "search";
32191
+ queries: string[];
32041
32192
  query: string;
32042
32193
  sources: {
32043
32194
  type: "url";
@@ -32616,6 +32767,7 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
32616
32767
  action: {
32617
32768
  type: "search";
32618
32769
  query: string;
32770
+ queries?: string[] | null | undefined;
32619
32771
  sources?: {
32620
32772
  type: "url";
32621
32773
  url: string;
@@ -32938,6 +33090,7 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
32938
33090
  code: "server_error" | "rate_limit_exceeded" | "invalid_prompt" | "vector_store_timeout" | "invalid_image" | "invalid_image_format" | "invalid_base64_image" | "invalid_image_url" | "image_too_large" | "image_too_small" | "image_parse_error" | "image_content_policy_violation" | "invalid_image_mode" | "image_file_too_large" | "unsupported_image_media_type" | "empty_image_file" | "failed_to_download_image" | "image_file_not_found";
32939
33091
  message: string;
32940
33092
  } | null | undefined;
33093
+ completed_at?: number | null | undefined;
32941
33094
  instructions?: string | ({
32942
33095
  role: "user" | "system" | "assistant" | "developer";
32943
33096
  content: string | ({
@@ -33100,6 +33253,7 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
33100
33253
  action: {
33101
33254
  type: "search";
33102
33255
  query: string;
33256
+ queries?: string[] | null | undefined;
33103
33257
  sources?: {
33104
33258
  type: "url";
33105
33259
  url: string;
@@ -39663,6 +39817,7 @@ export declare const ZResponseFunctionWebSearch: z.ZodLazy<z.ZodObject<{
39663
39817
  action: z.ZodUnion<[z.ZodLazy<z.ZodObject<{
39664
39818
  query: z.ZodString;
39665
39819
  type: z.ZodLiteral<"search">;
39820
+ queries: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
39666
39821
  sources: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodLazy<z.ZodObject<{
39667
39822
  type: z.ZodLiteral<"url">;
39668
39823
  url: z.ZodString;
@@ -39676,6 +39831,7 @@ export declare const ZResponseFunctionWebSearch: z.ZodLazy<z.ZodObject<{
39676
39831
  }, "strip", z.ZodTypeAny, {
39677
39832
  type: "search";
39678
39833
  query: string;
39834
+ queries?: string[] | null | undefined;
39679
39835
  sources?: {
39680
39836
  type: "url";
39681
39837
  url: string;
@@ -39683,6 +39839,7 @@ export declare const ZResponseFunctionWebSearch: z.ZodLazy<z.ZodObject<{
39683
39839
  }, {
39684
39840
  type: "search";
39685
39841
  query: string;
39842
+ queries?: string[] | null | undefined;
39686
39843
  sources?: {
39687
39844
  type: "url";
39688
39845
  url: string;
@@ -39718,6 +39875,7 @@ export declare const ZResponseFunctionWebSearch: z.ZodLazy<z.ZodObject<{
39718
39875
  action: {
39719
39876
  type: "search";
39720
39877
  query: string;
39878
+ queries?: string[] | null | undefined;
39721
39879
  sources?: {
39722
39880
  type: "url";
39723
39881
  url: string;
@@ -39737,6 +39895,7 @@ export declare const ZResponseFunctionWebSearch: z.ZodLazy<z.ZodObject<{
39737
39895
  action: {
39738
39896
  type: "search";
39739
39897
  query: string;
39898
+ queries?: string[] | null | undefined;
39740
39899
  sources?: {
39741
39900
  type: "url";
39742
39901
  url: string;
@@ -43592,6 +43751,7 @@ export declare const ZResponseFunctionWebSearchParam: z.ZodLazy<z.ZodObject<{
43592
43751
  action: z.ZodUnion<[z.ZodLazy<z.ZodObject<{
43593
43752
  query: z.ZodString;
43594
43753
  type: z.ZodLiteral<"search">;
43754
+ queries: z.ZodArray<z.ZodString, "many">;
43595
43755
  sources: z.ZodArray<z.ZodLazy<z.ZodObject<{
43596
43756
  type: z.ZodLiteral<"url">;
43597
43757
  url: z.ZodString;
@@ -43604,6 +43764,7 @@ export declare const ZResponseFunctionWebSearchParam: z.ZodLazy<z.ZodObject<{
43604
43764
  }>>, "many">;
43605
43765
  }, "strip", z.ZodTypeAny, {
43606
43766
  type: "search";
43767
+ queries: string[];
43607
43768
  query: string;
43608
43769
  sources: {
43609
43770
  type: "url";
@@ -43611,6 +43772,7 @@ export declare const ZResponseFunctionWebSearchParam: z.ZodLazy<z.ZodObject<{
43611
43772
  }[];
43612
43773
  }, {
43613
43774
  type: "search";
43775
+ queries: string[];
43614
43776
  query: string;
43615
43777
  sources: {
43616
43778
  type: "url";
@@ -43646,6 +43808,7 @@ export declare const ZResponseFunctionWebSearchParam: z.ZodLazy<z.ZodObject<{
43646
43808
  id: string;
43647
43809
  action: {
43648
43810
  type: "search";
43811
+ queries: string[];
43649
43812
  query: string;
43650
43813
  sources: {
43651
43814
  type: "url";
@@ -43665,6 +43828,7 @@ export declare const ZResponseFunctionWebSearchParam: z.ZodLazy<z.ZodObject<{
43665
43828
  id: string;
43666
43829
  action: {
43667
43830
  type: "search";
43831
+ queries: string[];
43668
43832
  query: string;
43669
43833
  sources: {
43670
43834
  type: "url";
@@ -45616,6 +45780,7 @@ export type ComputerCallOutputAcknowledgedSafetyCheck = z.infer<typeof ZComputer
45616
45780
  export declare const ZActionSearch: z.ZodLazy<z.ZodObject<{
45617
45781
  query: z.ZodString;
45618
45782
  type: z.ZodLiteral<"search">;
45783
+ queries: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
45619
45784
  sources: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodLazy<z.ZodObject<{
45620
45785
  type: z.ZodLiteral<"url">;
45621
45786
  url: z.ZodString;
@@ -45629,6 +45794,7 @@ export declare const ZActionSearch: z.ZodLazy<z.ZodObject<{
45629
45794
  }, "strip", z.ZodTypeAny, {
45630
45795
  type: "search";
45631
45796
  query: string;
45797
+ queries?: string[] | null | undefined;
45632
45798
  sources?: {
45633
45799
  type: "url";
45634
45800
  url: string;
@@ -45636,6 +45802,7 @@ export declare const ZActionSearch: z.ZodLazy<z.ZodObject<{
45636
45802
  }, {
45637
45803
  type: "search";
45638
45804
  query: string;
45805
+ queries?: string[] | null | undefined;
45639
45806
  sources?: {
45640
45807
  type: "url";
45641
45808
  url: string;
@@ -47114,6 +47281,7 @@ export type ResponseInputParamComputerCallOutputAcknowledgedSafetyCheck = z.infe
47114
47281
  export declare const ZResponseFunctionWebSearchParamActionSearch: z.ZodLazy<z.ZodObject<{
47115
47282
  query: z.ZodString;
47116
47283
  type: z.ZodLiteral<"search">;
47284
+ queries: z.ZodArray<z.ZodString, "many">;
47117
47285
  sources: z.ZodArray<z.ZodLazy<z.ZodObject<{
47118
47286
  type: z.ZodLiteral<"url">;
47119
47287
  url: z.ZodString;
@@ -47126,6 +47294,7 @@ export declare const ZResponseFunctionWebSearchParamActionSearch: z.ZodLazy<z.Zo
47126
47294
  }>>, "many">;
47127
47295
  }, "strip", z.ZodTypeAny, {
47128
47296
  type: "search";
47297
+ queries: string[];
47129
47298
  query: string;
47130
47299
  sources: {
47131
47300
  type: "url";
@@ -47133,6 +47302,7 @@ export declare const ZResponseFunctionWebSearchParamActionSearch: z.ZodLazy<z.Zo
47133
47302
  }[];
47134
47303
  }, {
47135
47304
  type: "search";
47305
+ queries: string[];
47136
47306
  query: string;
47137
47307
  sources: {
47138
47308
  type: "url";