@retab/node 1.0.59 → 1.0.64

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.
@@ -3034,16 +3034,34 @@ export declare const ZBaseProject: z.ZodLazy<z.ZodObject<{
3034
3034
  name: z.ZodDefault<z.ZodString>;
3035
3035
  json_schema: z.ZodRecord<z.ZodString, z.ZodAny>;
3036
3036
  updated_at: z.ZodString;
3037
+ sheets_integration: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodObject<{
3038
+ sheet_id: z.ZodString;
3039
+ spreadsheet_id: z.ZodString;
3040
+ }, "strip", z.ZodTypeAny, {
3041
+ sheet_id: string;
3042
+ spreadsheet_id: string;
3043
+ }, {
3044
+ sheet_id: string;
3045
+ spreadsheet_id: string;
3046
+ }>>>>;
3037
3047
  }, "strip", z.ZodTypeAny, {
3038
3048
  id: string;
3039
3049
  json_schema: Record<string, any>;
3040
3050
  name: string;
3041
3051
  updated_at: string;
3052
+ sheets_integration?: {
3053
+ sheet_id: string;
3054
+ spreadsheet_id: string;
3055
+ } | null | undefined;
3042
3056
  }, {
3043
3057
  id: string;
3044
3058
  json_schema: Record<string, any>;
3045
3059
  updated_at: string;
3046
3060
  name?: string | undefined;
3061
+ sheets_integration?: {
3062
+ sheet_id: string;
3063
+ spreadsheet_id: string;
3064
+ } | null | undefined;
3047
3065
  }>>;
3048
3066
  export type BaseProject = z.infer<typeof ZBaseProject>;
3049
3067
  export declare const ZCreateProjectRequest: z.ZodLazy<z.ZodObject<{
@@ -3060,12 +3078,30 @@ export type CreateProjectRequest = z.infer<typeof ZCreateProjectRequest>;
3060
3078
  export declare const ZPatchProjectRequest: z.ZodLazy<z.ZodObject<{
3061
3079
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3062
3080
  json_schema: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
3081
+ sheets_integration: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodObject<{
3082
+ sheet_id: z.ZodString;
3083
+ spreadsheet_id: z.ZodString;
3084
+ }, "strip", z.ZodTypeAny, {
3085
+ sheet_id: string;
3086
+ spreadsheet_id: string;
3087
+ }, {
3088
+ sheet_id: string;
3089
+ spreadsheet_id: string;
3090
+ }>>>>;
3063
3091
  }, "strip", z.ZodTypeAny, {
3064
3092
  json_schema?: Record<string, any> | null | undefined;
3065
3093
  name?: string | null | undefined;
3094
+ sheets_integration?: {
3095
+ sheet_id: string;
3096
+ spreadsheet_id: string;
3097
+ } | null | undefined;
3066
3098
  }, {
3067
3099
  json_schema?: Record<string, any> | null | undefined;
3068
3100
  name?: string | null | undefined;
3101
+ sheets_integration?: {
3102
+ sheet_id: string;
3103
+ spreadsheet_id: string;
3104
+ } | null | undefined;
3069
3105
  }>>;
3070
3106
  export type PatchProjectRequest = z.infer<typeof ZPatchProjectRequest>;
3071
3107
  export declare const ZProject: z.ZodLazy<z.ZodObject<{
@@ -3073,6 +3109,16 @@ export declare const ZProject: z.ZodLazy<z.ZodObject<{
3073
3109
  name: z.ZodDefault<z.ZodString>;
3074
3110
  json_schema: z.ZodRecord<z.ZodString, z.ZodAny>;
3075
3111
  updated_at: z.ZodString;
3112
+ sheets_integration: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodObject<{
3113
+ sheet_id: z.ZodString;
3114
+ spreadsheet_id: z.ZodString;
3115
+ }, "strip", z.ZodTypeAny, {
3116
+ sheet_id: string;
3117
+ spreadsheet_id: string;
3118
+ }, {
3119
+ sheet_id: string;
3120
+ spreadsheet_id: string;
3121
+ }>>>>;
3076
3122
  } & {
3077
3123
  documents: z.ZodArray<z.ZodLazy<z.ZodObject<{
3078
3124
  mime_data: z.ZodLazy<z.ZodObject<{
@@ -3414,6 +3460,10 @@ export declare const ZProject: z.ZodLazy<z.ZodObject<{
3414
3460
  };
3415
3461
  } | null | undefined;
3416
3462
  }[];
3463
+ sheets_integration?: {
3464
+ sheet_id: string;
3465
+ spreadsheet_id: string;
3466
+ } | null | undefined;
3417
3467
  }, {
3418
3468
  id: string;
3419
3469
  json_schema: Record<string, any>;
@@ -3478,6 +3528,10 @@ export declare const ZProject: z.ZodLazy<z.ZodObject<{
3478
3528
  } | null | undefined;
3479
3529
  }[];
3480
3530
  name?: string | undefined;
3531
+ sheets_integration?: {
3532
+ sheet_id: string;
3533
+ spreadsheet_id: string;
3534
+ } | null | undefined;
3481
3535
  }>>;
3482
3536
  export type Project = z.infer<typeof ZProject>;
3483
3537
  export declare const ZModelAddIterationFromJsonlRequest: z.ZodLazy<z.ZodObject<{
@@ -3488,6 +3542,17 @@ export declare const ZModelAddIterationFromJsonlRequest: z.ZodLazy<z.ZodObject<{
3488
3542
  jsonl_gcs_path: string;
3489
3543
  }>>;
3490
3544
  export type ModelAddIterationFromJsonlRequest = z.infer<typeof ZModelAddIterationFromJsonlRequest>;
3545
+ export declare const ZSheetsIntegration: z.ZodLazy<z.ZodObject<{
3546
+ sheet_id: z.ZodString;
3547
+ spreadsheet_id: z.ZodString;
3548
+ }, "strip", z.ZodTypeAny, {
3549
+ sheet_id: string;
3550
+ spreadsheet_id: string;
3551
+ }, {
3552
+ sheet_id: string;
3553
+ spreadsheet_id: string;
3554
+ }>>;
3555
+ export type SheetsIntegration = z.infer<typeof ZSheetsIntegration>;
3491
3556
  export declare const ZGenerateSchemaRequest: z.ZodLazy<z.ZodObject<{
3492
3557
  documents: z.ZodArray<z.ZodLazy<z.ZodObject<{
3493
3558
  filename: z.ZodString;
@@ -6415,6 +6480,30 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
6415
6480
  file_data: string;
6416
6481
  file_url: string;
6417
6482
  file_id?: string | null | undefined;
6483
+ }>>, z.ZodLazy<z.ZodObject<{
6484
+ input_audio: z.ZodLazy<z.ZodObject<{
6485
+ data: z.ZodString;
6486
+ format: z.ZodUnion<[z.ZodLiteral<"wav">, z.ZodLiteral<"mp3">]>;
6487
+ }, "strip", z.ZodTypeAny, {
6488
+ data: string;
6489
+ format: "wav" | "mp3";
6490
+ }, {
6491
+ data: string;
6492
+ format: "wav" | "mp3";
6493
+ }>>;
6494
+ type: z.ZodLiteral<"input_audio">;
6495
+ }, "strip", z.ZodTypeAny, {
6496
+ type: "input_audio";
6497
+ input_audio: {
6498
+ data: string;
6499
+ format: "wav" | "mp3";
6500
+ };
6501
+ }, {
6502
+ type: "input_audio";
6503
+ input_audio: {
6504
+ data: string;
6505
+ format: "wav" | "mp3";
6506
+ };
6418
6507
  }>>]>, "many">]>;
6419
6508
  role: z.ZodUnion<[z.ZodLiteral<"user">, z.ZodLiteral<"assistant">, z.ZodLiteral<"system">, z.ZodLiteral<"developer">]>;
6420
6509
  type: z.ZodLiteral<"message">;
@@ -6435,6 +6524,12 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
6435
6524
  file_data: string;
6436
6525
  file_url: string;
6437
6526
  file_id?: string | null | undefined;
6527
+ } | {
6528
+ type: "input_audio";
6529
+ input_audio: {
6530
+ data: string;
6531
+ format: "wav" | "mp3";
6532
+ };
6438
6533
  })[];
6439
6534
  }, {
6440
6535
  type: "message";
@@ -6453,6 +6548,12 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
6453
6548
  file_data: string;
6454
6549
  file_url: string;
6455
6550
  file_id?: string | null | undefined;
6551
+ } | {
6552
+ type: "input_audio";
6553
+ input_audio: {
6554
+ data: string;
6555
+ format: "wav" | "mp3";
6556
+ };
6456
6557
  })[];
6457
6558
  }>>, z.ZodLazy<z.ZodObject<{
6458
6559
  content: z.ZodArray<z.ZodUnion<[z.ZodLazy<z.ZodObject<{
@@ -6497,6 +6598,30 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
6497
6598
  file_data: string;
6498
6599
  file_url: string;
6499
6600
  file_id?: string | null | undefined;
6601
+ }>>, z.ZodLazy<z.ZodObject<{
6602
+ input_audio: z.ZodLazy<z.ZodObject<{
6603
+ data: z.ZodString;
6604
+ format: z.ZodUnion<[z.ZodLiteral<"wav">, z.ZodLiteral<"mp3">]>;
6605
+ }, "strip", z.ZodTypeAny, {
6606
+ data: string;
6607
+ format: "wav" | "mp3";
6608
+ }, {
6609
+ data: string;
6610
+ format: "wav" | "mp3";
6611
+ }>>;
6612
+ type: z.ZodLiteral<"input_audio">;
6613
+ }, "strip", z.ZodTypeAny, {
6614
+ type: "input_audio";
6615
+ input_audio: {
6616
+ data: string;
6617
+ format: "wav" | "mp3";
6618
+ };
6619
+ }, {
6620
+ type: "input_audio";
6621
+ input_audio: {
6622
+ data: string;
6623
+ format: "wav" | "mp3";
6624
+ };
6500
6625
  }>>]>, "many">;
6501
6626
  role: z.ZodUnion<[z.ZodLiteral<"user">, z.ZodLiteral<"system">, z.ZodLiteral<"developer">]>;
6502
6627
  status: z.ZodUnion<[z.ZodLiteral<"in_progress">, z.ZodLiteral<"completed">, z.ZodLiteral<"incomplete">]>;
@@ -6519,6 +6644,12 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
6519
6644
  file_data: string;
6520
6645
  file_url: string;
6521
6646
  file_id?: string | null | undefined;
6647
+ } | {
6648
+ type: "input_audio";
6649
+ input_audio: {
6650
+ data: string;
6651
+ format: "wav" | "mp3";
6652
+ };
6522
6653
  })[];
6523
6654
  }, {
6524
6655
  type: "message";
@@ -6538,6 +6669,12 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
6538
6669
  file_data: string;
6539
6670
  file_url: string;
6540
6671
  file_id?: string | null | undefined;
6672
+ } | {
6673
+ type: "input_audio";
6674
+ input_audio: {
6675
+ data: string;
6676
+ format: "wav" | "mp3";
6677
+ };
6541
6678
  })[];
6542
6679
  }>>, z.ZodLazy<z.ZodObject<{
6543
6680
  id: z.ZodString;
@@ -9770,6 +9907,30 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
9770
9907
  file_data?: string | null | undefined;
9771
9908
  file_id?: string | null | undefined;
9772
9909
  file_url?: string | null | undefined;
9910
+ }>>, z.ZodLazy<z.ZodObject<{
9911
+ input_audio: z.ZodLazy<z.ZodObject<{
9912
+ data: z.ZodString;
9913
+ format: z.ZodUnion<[z.ZodLiteral<"mp3">, z.ZodLiteral<"wav">]>;
9914
+ }, "strip", z.ZodTypeAny, {
9915
+ data: string;
9916
+ format: "wav" | "mp3";
9917
+ }, {
9918
+ data: string;
9919
+ format: "wav" | "mp3";
9920
+ }>>;
9921
+ type: z.ZodLiteral<"input_audio">;
9922
+ }, "strip", z.ZodTypeAny, {
9923
+ type: "input_audio";
9924
+ input_audio: {
9925
+ data: string;
9926
+ format: "wav" | "mp3";
9927
+ };
9928
+ }, {
9929
+ type: "input_audio";
9930
+ input_audio: {
9931
+ data: string;
9932
+ format: "wav" | "mp3";
9933
+ };
9773
9934
  }>>]>, "many">]>;
9774
9935
  role: z.ZodUnion<[z.ZodLiteral<"user">, z.ZodLiteral<"assistant">, z.ZodLiteral<"system">, z.ZodLiteral<"developer">]>;
9775
9936
  type: z.ZodOptional<z.ZodNullable<z.ZodLiteral<"message">>>;
@@ -9789,6 +9950,12 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
9789
9950
  file_data?: string | null | undefined;
9790
9951
  file_id?: string | null | undefined;
9791
9952
  file_url?: string | null | undefined;
9953
+ } | {
9954
+ type: "input_audio";
9955
+ input_audio: {
9956
+ data: string;
9957
+ format: "wav" | "mp3";
9958
+ };
9792
9959
  })[];
9793
9960
  type?: "message" | null | undefined;
9794
9961
  }, {
@@ -9807,6 +9974,12 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
9807
9974
  file_data?: string | null | undefined;
9808
9975
  file_id?: string | null | undefined;
9809
9976
  file_url?: string | null | undefined;
9977
+ } | {
9978
+ type: "input_audio";
9979
+ input_audio: {
9980
+ data: string;
9981
+ format: "wav" | "mp3";
9982
+ };
9810
9983
  })[];
9811
9984
  type?: "message" | null | undefined;
9812
9985
  }>>, z.ZodLazy<z.ZodObject<{
@@ -9852,6 +10025,30 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
9852
10025
  file_data?: string | null | undefined;
9853
10026
  file_id?: string | null | undefined;
9854
10027
  file_url?: string | null | undefined;
10028
+ }>>, z.ZodLazy<z.ZodObject<{
10029
+ input_audio: z.ZodLazy<z.ZodObject<{
10030
+ data: z.ZodString;
10031
+ format: z.ZodUnion<[z.ZodLiteral<"mp3">, z.ZodLiteral<"wav">]>;
10032
+ }, "strip", z.ZodTypeAny, {
10033
+ data: string;
10034
+ format: "wav" | "mp3";
10035
+ }, {
10036
+ data: string;
10037
+ format: "wav" | "mp3";
10038
+ }>>;
10039
+ type: z.ZodLiteral<"input_audio">;
10040
+ }, "strip", z.ZodTypeAny, {
10041
+ type: "input_audio";
10042
+ input_audio: {
10043
+ data: string;
10044
+ format: "wav" | "mp3";
10045
+ };
10046
+ }, {
10047
+ type: "input_audio";
10048
+ input_audio: {
10049
+ data: string;
10050
+ format: "wav" | "mp3";
10051
+ };
9855
10052
  }>>]>, "many">;
9856
10053
  role: z.ZodUnion<[z.ZodLiteral<"user">, z.ZodLiteral<"system">, z.ZodLiteral<"developer">]>;
9857
10054
  status: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"in_progress">, z.ZodLiteral<"completed">, z.ZodLiteral<"incomplete">]>>>;
@@ -9872,6 +10069,12 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
9872
10069
  file_data?: string | null | undefined;
9873
10070
  file_id?: string | null | undefined;
9874
10071
  file_url?: string | null | undefined;
10072
+ } | {
10073
+ type: "input_audio";
10074
+ input_audio: {
10075
+ data: string;
10076
+ format: "wav" | "mp3";
10077
+ };
9875
10078
  })[];
9876
10079
  type?: "message" | null | undefined;
9877
10080
  status?: "in_progress" | "completed" | "incomplete" | null | undefined;
@@ -9891,6 +10094,12 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
9891
10094
  file_data?: string | null | undefined;
9892
10095
  file_id?: string | null | undefined;
9893
10096
  file_url?: string | null | undefined;
10097
+ } | {
10098
+ type: "input_audio";
10099
+ input_audio: {
10100
+ data: string;
10101
+ format: "wav" | "mp3";
10102
+ };
9894
10103
  })[];
9895
10104
  type?: "message" | null | undefined;
9896
10105
  status?: "in_progress" | "completed" | "incomplete" | null | undefined;
@@ -13022,6 +13231,12 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
13022
13231
  file_data?: string | null | undefined;
13023
13232
  file_id?: string | null | undefined;
13024
13233
  file_url?: string | null | undefined;
13234
+ } | {
13235
+ type: "input_audio";
13236
+ input_audio: {
13237
+ data: string;
13238
+ format: "wav" | "mp3";
13239
+ };
13025
13240
  })[];
13026
13241
  type?: "message" | null | undefined;
13027
13242
  } | {
@@ -13040,6 +13255,12 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
13040
13255
  file_data?: string | null | undefined;
13041
13256
  file_id?: string | null | undefined;
13042
13257
  file_url?: string | null | undefined;
13258
+ } | {
13259
+ type: "input_audio";
13260
+ input_audio: {
13261
+ data: string;
13262
+ format: "wav" | "mp3";
13263
+ };
13043
13264
  })[];
13044
13265
  type?: "message" | null | undefined;
13045
13266
  status?: "in_progress" | "completed" | "incomplete" | null | undefined;
@@ -13720,6 +13941,12 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
13720
13941
  file_data?: string | null | undefined;
13721
13942
  file_id?: string | null | undefined;
13722
13943
  file_url?: string | null | undefined;
13944
+ } | {
13945
+ type: "input_audio";
13946
+ input_audio: {
13947
+ data: string;
13948
+ format: "wav" | "mp3";
13949
+ };
13723
13950
  })[];
13724
13951
  type?: "message" | null | undefined;
13725
13952
  } | {
@@ -13738,6 +13965,12 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
13738
13965
  file_data?: string | null | undefined;
13739
13966
  file_id?: string | null | undefined;
13740
13967
  file_url?: string | null | undefined;
13968
+ } | {
13969
+ type: "input_audio";
13970
+ input_audio: {
13971
+ data: string;
13972
+ format: "wav" | "mp3";
13973
+ };
13741
13974
  })[];
13742
13975
  type?: "message" | null | undefined;
13743
13976
  status?: "in_progress" | "completed" | "incomplete" | null | undefined;
@@ -14183,6 +14416,12 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
14183
14416
  file_data: string;
14184
14417
  file_url: string;
14185
14418
  file_id?: string | null | undefined;
14419
+ } | {
14420
+ type: "input_audio";
14421
+ input_audio: {
14422
+ data: string;
14423
+ format: "wav" | "mp3";
14424
+ };
14186
14425
  })[];
14187
14426
  } | {
14188
14427
  type: "message";
@@ -14202,6 +14441,12 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
14202
14441
  file_data: string;
14203
14442
  file_url: string;
14204
14443
  file_id?: string | null | undefined;
14444
+ } | {
14445
+ type: "input_audio";
14446
+ input_audio: {
14447
+ data: string;
14448
+ format: "wav" | "mp3";
14449
+ };
14205
14450
  })[];
14206
14451
  } | {
14207
14452
  type: "message";
@@ -15098,6 +15343,12 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
15098
15343
  file_data?: string | null | undefined;
15099
15344
  file_id?: string | null | undefined;
15100
15345
  file_url?: string | null | undefined;
15346
+ } | {
15347
+ type: "input_audio";
15348
+ input_audio: {
15349
+ data: string;
15350
+ format: "wav" | "mp3";
15351
+ };
15101
15352
  })[];
15102
15353
  type?: "message" | null | undefined;
15103
15354
  } | {
@@ -15116,6 +15367,12 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
15116
15367
  file_data?: string | null | undefined;
15117
15368
  file_id?: string | null | undefined;
15118
15369
  file_url?: string | null | undefined;
15370
+ } | {
15371
+ type: "input_audio";
15372
+ input_audio: {
15373
+ data: string;
15374
+ format: "wav" | "mp3";
15375
+ };
15119
15376
  })[];
15120
15377
  type?: "message" | null | undefined;
15121
15378
  status?: "in_progress" | "completed" | "incomplete" | null | undefined;
@@ -15558,6 +15815,12 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
15558
15815
  file_data: string;
15559
15816
  file_url: string;
15560
15817
  file_id?: string | null | undefined;
15818
+ } | {
15819
+ type: "input_audio";
15820
+ input_audio: {
15821
+ data: string;
15822
+ format: "wav" | "mp3";
15823
+ };
15561
15824
  })[];
15562
15825
  } | {
15563
15826
  type: "message";
@@ -15577,6 +15840,12 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
15577
15840
  file_data: string;
15578
15841
  file_url: string;
15579
15842
  file_id?: string | null | undefined;
15843
+ } | {
15844
+ type: "input_audio";
15845
+ input_audio: {
15846
+ data: string;
15847
+ format: "wav" | "mp3";
15848
+ };
15580
15849
  })[];
15581
15850
  } | {
15582
15851
  type: "message";
@@ -16473,6 +16742,12 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
16473
16742
  file_data?: string | null | undefined;
16474
16743
  file_id?: string | null | undefined;
16475
16744
  file_url?: string | null | undefined;
16745
+ } | {
16746
+ type: "input_audio";
16747
+ input_audio: {
16748
+ data: string;
16749
+ format: "wav" | "mp3";
16750
+ };
16476
16751
  })[];
16477
16752
  type?: "message" | null | undefined;
16478
16753
  } | {
@@ -16491,6 +16766,12 @@ export declare const ZLogExtractionRequest: z.ZodLazy<z.ZodObject<{
16491
16766
  file_data?: string | null | undefined;
16492
16767
  file_id?: string | null | undefined;
16493
16768
  file_url?: string | null | undefined;
16769
+ } | {
16770
+ type: "input_audio";
16771
+ input_audio: {
16772
+ data: string;
16773
+ format: "wav" | "mp3";
16774
+ };
16494
16775
  })[];
16495
16776
  type?: "message" | null | undefined;
16496
16777
  status?: "in_progress" | "completed" | "incomplete" | null | undefined;
@@ -18096,6 +18377,30 @@ export declare const ZResponse: z.ZodLazy<z.ZodObject<{
18096
18377
  file_data?: string | null | undefined;
18097
18378
  file_id?: string | null | undefined;
18098
18379
  file_url?: string | null | undefined;
18380
+ }>>, z.ZodLazy<z.ZodObject<{
18381
+ input_audio: z.ZodLazy<z.ZodObject<{
18382
+ data: z.ZodString;
18383
+ format: z.ZodUnion<[z.ZodLiteral<"mp3">, z.ZodLiteral<"wav">]>;
18384
+ }, "strip", z.ZodTypeAny, {
18385
+ data: string;
18386
+ format: "wav" | "mp3";
18387
+ }, {
18388
+ data: string;
18389
+ format: "wav" | "mp3";
18390
+ }>>;
18391
+ type: z.ZodLiteral<"input_audio">;
18392
+ }, "strip", z.ZodTypeAny, {
18393
+ type: "input_audio";
18394
+ input_audio: {
18395
+ data: string;
18396
+ format: "wav" | "mp3";
18397
+ };
18398
+ }, {
18399
+ type: "input_audio";
18400
+ input_audio: {
18401
+ data: string;
18402
+ format: "wav" | "mp3";
18403
+ };
18099
18404
  }>>]>, "many">]>;
18100
18405
  role: z.ZodUnion<[z.ZodLiteral<"user">, z.ZodLiteral<"assistant">, z.ZodLiteral<"system">, z.ZodLiteral<"developer">]>;
18101
18406
  type: z.ZodOptional<z.ZodNullable<z.ZodLiteral<"message">>>;
@@ -18115,6 +18420,12 @@ export declare const ZResponse: z.ZodLazy<z.ZodObject<{
18115
18420
  file_data?: string | null | undefined;
18116
18421
  file_id?: string | null | undefined;
18117
18422
  file_url?: string | null | undefined;
18423
+ } | {
18424
+ type: "input_audio";
18425
+ input_audio: {
18426
+ data: string;
18427
+ format: "wav" | "mp3";
18428
+ };
18118
18429
  })[];
18119
18430
  type?: "message" | null | undefined;
18120
18431
  }, {
@@ -18133,6 +18444,12 @@ export declare const ZResponse: z.ZodLazy<z.ZodObject<{
18133
18444
  file_data?: string | null | undefined;
18134
18445
  file_id?: string | null | undefined;
18135
18446
  file_url?: string | null | undefined;
18447
+ } | {
18448
+ type: "input_audio";
18449
+ input_audio: {
18450
+ data: string;
18451
+ format: "wav" | "mp3";
18452
+ };
18136
18453
  })[];
18137
18454
  type?: "message" | null | undefined;
18138
18455
  }>>, z.ZodLazy<z.ZodObject<{
@@ -18178,6 +18495,30 @@ export declare const ZResponse: z.ZodLazy<z.ZodObject<{
18178
18495
  file_data?: string | null | undefined;
18179
18496
  file_id?: string | null | undefined;
18180
18497
  file_url?: string | null | undefined;
18498
+ }>>, z.ZodLazy<z.ZodObject<{
18499
+ input_audio: z.ZodLazy<z.ZodObject<{
18500
+ data: z.ZodString;
18501
+ format: z.ZodUnion<[z.ZodLiteral<"mp3">, z.ZodLiteral<"wav">]>;
18502
+ }, "strip", z.ZodTypeAny, {
18503
+ data: string;
18504
+ format: "wav" | "mp3";
18505
+ }, {
18506
+ data: string;
18507
+ format: "wav" | "mp3";
18508
+ }>>;
18509
+ type: z.ZodLiteral<"input_audio">;
18510
+ }, "strip", z.ZodTypeAny, {
18511
+ type: "input_audio";
18512
+ input_audio: {
18513
+ data: string;
18514
+ format: "wav" | "mp3";
18515
+ };
18516
+ }, {
18517
+ type: "input_audio";
18518
+ input_audio: {
18519
+ data: string;
18520
+ format: "wav" | "mp3";
18521
+ };
18181
18522
  }>>]>, "many">;
18182
18523
  role: z.ZodUnion<[z.ZodLiteral<"user">, z.ZodLiteral<"system">, z.ZodLiteral<"developer">]>;
18183
18524
  status: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"in_progress">, z.ZodLiteral<"completed">, z.ZodLiteral<"incomplete">]>>>;
@@ -18198,6 +18539,12 @@ export declare const ZResponse: z.ZodLazy<z.ZodObject<{
18198
18539
  file_data?: string | null | undefined;
18199
18540
  file_id?: string | null | undefined;
18200
18541
  file_url?: string | null | undefined;
18542
+ } | {
18543
+ type: "input_audio";
18544
+ input_audio: {
18545
+ data: string;
18546
+ format: "wav" | "mp3";
18547
+ };
18201
18548
  })[];
18202
18549
  type?: "message" | null | undefined;
18203
18550
  status?: "in_progress" | "completed" | "incomplete" | null | undefined;
@@ -18217,6 +18564,12 @@ export declare const ZResponse: z.ZodLazy<z.ZodObject<{
18217
18564
  file_data?: string | null | undefined;
18218
18565
  file_id?: string | null | undefined;
18219
18566
  file_url?: string | null | undefined;
18567
+ } | {
18568
+ type: "input_audio";
18569
+ input_audio: {
18570
+ data: string;
18571
+ format: "wav" | "mp3";
18572
+ };
18220
18573
  })[];
18221
18574
  type?: "message" | null | undefined;
18222
18575
  status?: "in_progress" | "completed" | "incomplete" | null | undefined;
@@ -21348,6 +21701,12 @@ export declare const ZResponse: z.ZodLazy<z.ZodObject<{
21348
21701
  file_data?: string | null | undefined;
21349
21702
  file_id?: string | null | undefined;
21350
21703
  file_url?: string | null | undefined;
21704
+ } | {
21705
+ type: "input_audio";
21706
+ input_audio: {
21707
+ data: string;
21708
+ format: "wav" | "mp3";
21709
+ };
21351
21710
  })[];
21352
21711
  type?: "message" | null | undefined;
21353
21712
  } | {
@@ -21366,6 +21725,12 @@ export declare const ZResponse: z.ZodLazy<z.ZodObject<{
21366
21725
  file_data?: string | null | undefined;
21367
21726
  file_id?: string | null | undefined;
21368
21727
  file_url?: string | null | undefined;
21728
+ } | {
21729
+ type: "input_audio";
21730
+ input_audio: {
21731
+ data: string;
21732
+ format: "wav" | "mp3";
21733
+ };
21369
21734
  })[];
21370
21735
  type?: "message" | null | undefined;
21371
21736
  status?: "in_progress" | "completed" | "incomplete" | null | undefined;
@@ -22046,6 +22411,12 @@ export declare const ZResponse: z.ZodLazy<z.ZodObject<{
22046
22411
  file_data?: string | null | undefined;
22047
22412
  file_id?: string | null | undefined;
22048
22413
  file_url?: string | null | undefined;
22414
+ } | {
22415
+ type: "input_audio";
22416
+ input_audio: {
22417
+ data: string;
22418
+ format: "wav" | "mp3";
22419
+ };
22049
22420
  })[];
22050
22421
  type?: "message" | null | undefined;
22051
22422
  } | {
@@ -22064,6 +22435,12 @@ export declare const ZResponse: z.ZodLazy<z.ZodObject<{
22064
22435
  file_data?: string | null | undefined;
22065
22436
  file_id?: string | null | undefined;
22066
22437
  file_url?: string | null | undefined;
22438
+ } | {
22439
+ type: "input_audio";
22440
+ input_audio: {
22441
+ data: string;
22442
+ format: "wav" | "mp3";
22443
+ };
22067
22444
  })[];
22068
22445
  type?: "message" | null | undefined;
22069
22446
  status?: "in_progress" | "completed" | "incomplete" | null | undefined;
@@ -24843,6 +25220,30 @@ export declare const ZUiResponse: z.ZodLazy<z.ZodObject<{
24843
25220
  file_data?: string | null | undefined;
24844
25221
  file_id?: string | null | undefined;
24845
25222
  file_url?: string | null | undefined;
25223
+ }>>, z.ZodLazy<z.ZodObject<{
25224
+ input_audio: z.ZodLazy<z.ZodObject<{
25225
+ data: z.ZodString;
25226
+ format: z.ZodUnion<[z.ZodLiteral<"mp3">, z.ZodLiteral<"wav">]>;
25227
+ }, "strip", z.ZodTypeAny, {
25228
+ data: string;
25229
+ format: "wav" | "mp3";
25230
+ }, {
25231
+ data: string;
25232
+ format: "wav" | "mp3";
25233
+ }>>;
25234
+ type: z.ZodLiteral<"input_audio">;
25235
+ }, "strip", z.ZodTypeAny, {
25236
+ type: "input_audio";
25237
+ input_audio: {
25238
+ data: string;
25239
+ format: "wav" | "mp3";
25240
+ };
25241
+ }, {
25242
+ type: "input_audio";
25243
+ input_audio: {
25244
+ data: string;
25245
+ format: "wav" | "mp3";
25246
+ };
24846
25247
  }>>]>, "many">]>;
24847
25248
  role: z.ZodUnion<[z.ZodLiteral<"user">, z.ZodLiteral<"assistant">, z.ZodLiteral<"system">, z.ZodLiteral<"developer">]>;
24848
25249
  type: z.ZodOptional<z.ZodNullable<z.ZodLiteral<"message">>>;
@@ -24862,6 +25263,12 @@ export declare const ZUiResponse: z.ZodLazy<z.ZodObject<{
24862
25263
  file_data?: string | null | undefined;
24863
25264
  file_id?: string | null | undefined;
24864
25265
  file_url?: string | null | undefined;
25266
+ } | {
25267
+ type: "input_audio";
25268
+ input_audio: {
25269
+ data: string;
25270
+ format: "wav" | "mp3";
25271
+ };
24865
25272
  })[];
24866
25273
  type?: "message" | null | undefined;
24867
25274
  }, {
@@ -24880,6 +25287,12 @@ export declare const ZUiResponse: z.ZodLazy<z.ZodObject<{
24880
25287
  file_data?: string | null | undefined;
24881
25288
  file_id?: string | null | undefined;
24882
25289
  file_url?: string | null | undefined;
25290
+ } | {
25291
+ type: "input_audio";
25292
+ input_audio: {
25293
+ data: string;
25294
+ format: "wav" | "mp3";
25295
+ };
24883
25296
  })[];
24884
25297
  type?: "message" | null | undefined;
24885
25298
  }>>, z.ZodLazy<z.ZodObject<{
@@ -24925,6 +25338,30 @@ export declare const ZUiResponse: z.ZodLazy<z.ZodObject<{
24925
25338
  file_data?: string | null | undefined;
24926
25339
  file_id?: string | null | undefined;
24927
25340
  file_url?: string | null | undefined;
25341
+ }>>, z.ZodLazy<z.ZodObject<{
25342
+ input_audio: z.ZodLazy<z.ZodObject<{
25343
+ data: z.ZodString;
25344
+ format: z.ZodUnion<[z.ZodLiteral<"mp3">, z.ZodLiteral<"wav">]>;
25345
+ }, "strip", z.ZodTypeAny, {
25346
+ data: string;
25347
+ format: "wav" | "mp3";
25348
+ }, {
25349
+ data: string;
25350
+ format: "wav" | "mp3";
25351
+ }>>;
25352
+ type: z.ZodLiteral<"input_audio">;
25353
+ }, "strip", z.ZodTypeAny, {
25354
+ type: "input_audio";
25355
+ input_audio: {
25356
+ data: string;
25357
+ format: "wav" | "mp3";
25358
+ };
25359
+ }, {
25360
+ type: "input_audio";
25361
+ input_audio: {
25362
+ data: string;
25363
+ format: "wav" | "mp3";
25364
+ };
24928
25365
  }>>]>, "many">;
24929
25366
  role: z.ZodUnion<[z.ZodLiteral<"user">, z.ZodLiteral<"system">, z.ZodLiteral<"developer">]>;
24930
25367
  status: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"in_progress">, z.ZodLiteral<"completed">, z.ZodLiteral<"incomplete">]>>>;
@@ -24945,6 +25382,12 @@ export declare const ZUiResponse: z.ZodLazy<z.ZodObject<{
24945
25382
  file_data?: string | null | undefined;
24946
25383
  file_id?: string | null | undefined;
24947
25384
  file_url?: string | null | undefined;
25385
+ } | {
25386
+ type: "input_audio";
25387
+ input_audio: {
25388
+ data: string;
25389
+ format: "wav" | "mp3";
25390
+ };
24948
25391
  })[];
24949
25392
  type?: "message" | null | undefined;
24950
25393
  status?: "in_progress" | "completed" | "incomplete" | null | undefined;
@@ -24964,6 +25407,12 @@ export declare const ZUiResponse: z.ZodLazy<z.ZodObject<{
24964
25407
  file_data?: string | null | undefined;
24965
25408
  file_id?: string | null | undefined;
24966
25409
  file_url?: string | null | undefined;
25410
+ } | {
25411
+ type: "input_audio";
25412
+ input_audio: {
25413
+ data: string;
25414
+ format: "wav" | "mp3";
25415
+ };
24967
25416
  })[];
24968
25417
  type?: "message" | null | undefined;
24969
25418
  status?: "in_progress" | "completed" | "incomplete" | null | undefined;
@@ -28116,6 +28565,12 @@ export declare const ZUiResponse: z.ZodLazy<z.ZodObject<{
28116
28565
  file_data?: string | null | undefined;
28117
28566
  file_id?: string | null | undefined;
28118
28567
  file_url?: string | null | undefined;
28568
+ } | {
28569
+ type: "input_audio";
28570
+ input_audio: {
28571
+ data: string;
28572
+ format: "wav" | "mp3";
28573
+ };
28119
28574
  })[];
28120
28575
  type?: "message" | null | undefined;
28121
28576
  } | {
@@ -28134,6 +28589,12 @@ export declare const ZUiResponse: z.ZodLazy<z.ZodObject<{
28134
28589
  file_data?: string | null | undefined;
28135
28590
  file_id?: string | null | undefined;
28136
28591
  file_url?: string | null | undefined;
28592
+ } | {
28593
+ type: "input_audio";
28594
+ input_audio: {
28595
+ data: string;
28596
+ format: "wav" | "mp3";
28597
+ };
28137
28598
  })[];
28138
28599
  type?: "message" | null | undefined;
28139
28600
  status?: "in_progress" | "completed" | "incomplete" | null | undefined;
@@ -28824,6 +29285,12 @@ export declare const ZUiResponse: z.ZodLazy<z.ZodObject<{
28824
29285
  file_data?: string | null | undefined;
28825
29286
  file_id?: string | null | undefined;
28826
29287
  file_url?: string | null | undefined;
29288
+ } | {
29289
+ type: "input_audio";
29290
+ input_audio: {
29291
+ data: string;
29292
+ format: "wav" | "mp3";
29293
+ };
28827
29294
  })[];
28828
29295
  type?: "message" | null | undefined;
28829
29296
  } | {
@@ -28842,6 +29309,12 @@ export declare const ZUiResponse: z.ZodLazy<z.ZodObject<{
28842
29309
  file_data?: string | null | undefined;
28843
29310
  file_id?: string | null | undefined;
28844
29311
  file_url?: string | null | undefined;
29312
+ } | {
29313
+ type: "input_audio";
29314
+ input_audio: {
29315
+ data: string;
29316
+ format: "wav" | "mp3";
29317
+ };
28845
29318
  })[];
28846
29319
  type?: "message" | null | undefined;
28847
29320
  status?: "in_progress" | "completed" | "incomplete" | null | undefined;
@@ -30368,6 +30841,30 @@ export declare const ZEasyInputMessageParam: z.ZodLazy<z.ZodObject<{
30368
30841
  file_data: string;
30369
30842
  file_url: string;
30370
30843
  file_id?: string | null | undefined;
30844
+ }>>, z.ZodLazy<z.ZodObject<{
30845
+ input_audio: z.ZodLazy<z.ZodObject<{
30846
+ data: z.ZodString;
30847
+ format: z.ZodUnion<[z.ZodLiteral<"wav">, z.ZodLiteral<"mp3">]>;
30848
+ }, "strip", z.ZodTypeAny, {
30849
+ data: string;
30850
+ format: "wav" | "mp3";
30851
+ }, {
30852
+ data: string;
30853
+ format: "wav" | "mp3";
30854
+ }>>;
30855
+ type: z.ZodLiteral<"input_audio">;
30856
+ }, "strip", z.ZodTypeAny, {
30857
+ type: "input_audio";
30858
+ input_audio: {
30859
+ data: string;
30860
+ format: "wav" | "mp3";
30861
+ };
30862
+ }, {
30863
+ type: "input_audio";
30864
+ input_audio: {
30865
+ data: string;
30866
+ format: "wav" | "mp3";
30867
+ };
30371
30868
  }>>]>, "many">]>;
30372
30869
  role: z.ZodUnion<[z.ZodLiteral<"user">, z.ZodLiteral<"assistant">, z.ZodLiteral<"system">, z.ZodLiteral<"developer">]>;
30373
30870
  type: z.ZodLiteral<"message">;
@@ -30388,6 +30885,12 @@ export declare const ZEasyInputMessageParam: z.ZodLazy<z.ZodObject<{
30388
30885
  file_data: string;
30389
30886
  file_url: string;
30390
30887
  file_id?: string | null | undefined;
30888
+ } | {
30889
+ type: "input_audio";
30890
+ input_audio: {
30891
+ data: string;
30892
+ format: "wav" | "mp3";
30893
+ };
30391
30894
  })[];
30392
30895
  }, {
30393
30896
  type: "message";
@@ -30406,6 +30909,12 @@ export declare const ZEasyInputMessageParam: z.ZodLazy<z.ZodObject<{
30406
30909
  file_data: string;
30407
30910
  file_url: string;
30408
30911
  file_id?: string | null | undefined;
30912
+ } | {
30913
+ type: "input_audio";
30914
+ input_audio: {
30915
+ data: string;
30916
+ format: "wav" | "mp3";
30917
+ };
30409
30918
  })[];
30410
30919
  }>>;
30411
30920
  export type EasyInputMessageParam = z.infer<typeof ZEasyInputMessageParam>;
@@ -30452,6 +30961,30 @@ export declare const ZMessage: z.ZodLazy<z.ZodObject<{
30452
30961
  file_data: string;
30453
30962
  file_url: string;
30454
30963
  file_id?: string | null | undefined;
30964
+ }>>, z.ZodLazy<z.ZodObject<{
30965
+ input_audio: z.ZodLazy<z.ZodObject<{
30966
+ data: z.ZodString;
30967
+ format: z.ZodUnion<[z.ZodLiteral<"wav">, z.ZodLiteral<"mp3">]>;
30968
+ }, "strip", z.ZodTypeAny, {
30969
+ data: string;
30970
+ format: "wav" | "mp3";
30971
+ }, {
30972
+ data: string;
30973
+ format: "wav" | "mp3";
30974
+ }>>;
30975
+ type: z.ZodLiteral<"input_audio">;
30976
+ }, "strip", z.ZodTypeAny, {
30977
+ type: "input_audio";
30978
+ input_audio: {
30979
+ data: string;
30980
+ format: "wav" | "mp3";
30981
+ };
30982
+ }, {
30983
+ type: "input_audio";
30984
+ input_audio: {
30985
+ data: string;
30986
+ format: "wav" | "mp3";
30987
+ };
30455
30988
  }>>]>, "many">;
30456
30989
  role: z.ZodUnion<[z.ZodLiteral<"user">, z.ZodLiteral<"system">, z.ZodLiteral<"developer">]>;
30457
30990
  status: z.ZodUnion<[z.ZodLiteral<"in_progress">, z.ZodLiteral<"completed">, z.ZodLiteral<"incomplete">]>;
@@ -30474,6 +31007,12 @@ export declare const ZMessage: z.ZodLazy<z.ZodObject<{
30474
31007
  file_data: string;
30475
31008
  file_url: string;
30476
31009
  file_id?: string | null | undefined;
31010
+ } | {
31011
+ type: "input_audio";
31012
+ input_audio: {
31013
+ data: string;
31014
+ format: "wav" | "mp3";
31015
+ };
30477
31016
  })[];
30478
31017
  }, {
30479
31018
  type: "message";
@@ -30493,6 +31032,12 @@ export declare const ZMessage: z.ZodLazy<z.ZodObject<{
30493
31032
  file_data: string;
30494
31033
  file_url: string;
30495
31034
  file_id?: string | null | undefined;
31035
+ } | {
31036
+ type: "input_audio";
31037
+ input_audio: {
31038
+ data: string;
31039
+ format: "wav" | "mp3";
31040
+ };
30496
31041
  })[];
30497
31042
  }>>;
30498
31043
  export type Message = z.infer<typeof ZMessage>;
@@ -31714,6 +32259,30 @@ export declare const ZEasyInputMessage: z.ZodLazy<z.ZodObject<{
31714
32259
  file_data?: string | null | undefined;
31715
32260
  file_id?: string | null | undefined;
31716
32261
  file_url?: string | null | undefined;
32262
+ }>>, z.ZodLazy<z.ZodObject<{
32263
+ input_audio: z.ZodLazy<z.ZodObject<{
32264
+ data: z.ZodString;
32265
+ format: z.ZodUnion<[z.ZodLiteral<"mp3">, z.ZodLiteral<"wav">]>;
32266
+ }, "strip", z.ZodTypeAny, {
32267
+ data: string;
32268
+ format: "wav" | "mp3";
32269
+ }, {
32270
+ data: string;
32271
+ format: "wav" | "mp3";
32272
+ }>>;
32273
+ type: z.ZodLiteral<"input_audio">;
32274
+ }, "strip", z.ZodTypeAny, {
32275
+ type: "input_audio";
32276
+ input_audio: {
32277
+ data: string;
32278
+ format: "wav" | "mp3";
32279
+ };
32280
+ }, {
32281
+ type: "input_audio";
32282
+ input_audio: {
32283
+ data: string;
32284
+ format: "wav" | "mp3";
32285
+ };
31717
32286
  }>>]>, "many">]>;
31718
32287
  role: z.ZodUnion<[z.ZodLiteral<"user">, z.ZodLiteral<"assistant">, z.ZodLiteral<"system">, z.ZodLiteral<"developer">]>;
31719
32288
  type: z.ZodOptional<z.ZodNullable<z.ZodLiteral<"message">>>;
@@ -31733,6 +32302,12 @@ export declare const ZEasyInputMessage: z.ZodLazy<z.ZodObject<{
31733
32302
  file_data?: string | null | undefined;
31734
32303
  file_id?: string | null | undefined;
31735
32304
  file_url?: string | null | undefined;
32305
+ } | {
32306
+ type: "input_audio";
32307
+ input_audio: {
32308
+ data: string;
32309
+ format: "wav" | "mp3";
32310
+ };
31736
32311
  })[];
31737
32312
  type?: "message" | null | undefined;
31738
32313
  }, {
@@ -31751,6 +32326,12 @@ export declare const ZEasyInputMessage: z.ZodLazy<z.ZodObject<{
31751
32326
  file_data?: string | null | undefined;
31752
32327
  file_id?: string | null | undefined;
31753
32328
  file_url?: string | null | undefined;
32329
+ } | {
32330
+ type: "input_audio";
32331
+ input_audio: {
32332
+ data: string;
32333
+ format: "wav" | "mp3";
32334
+ };
31754
32335
  })[];
31755
32336
  type?: "message" | null | undefined;
31756
32337
  }>>;
@@ -31798,6 +32379,30 @@ export declare const ZResponseInputItemMessage: z.ZodLazy<z.ZodObject<{
31798
32379
  file_data?: string | null | undefined;
31799
32380
  file_id?: string | null | undefined;
31800
32381
  file_url?: string | null | undefined;
32382
+ }>>, z.ZodLazy<z.ZodObject<{
32383
+ input_audio: z.ZodLazy<z.ZodObject<{
32384
+ data: z.ZodString;
32385
+ format: z.ZodUnion<[z.ZodLiteral<"mp3">, z.ZodLiteral<"wav">]>;
32386
+ }, "strip", z.ZodTypeAny, {
32387
+ data: string;
32388
+ format: "wav" | "mp3";
32389
+ }, {
32390
+ data: string;
32391
+ format: "wav" | "mp3";
32392
+ }>>;
32393
+ type: z.ZodLiteral<"input_audio">;
32394
+ }, "strip", z.ZodTypeAny, {
32395
+ type: "input_audio";
32396
+ input_audio: {
32397
+ data: string;
32398
+ format: "wav" | "mp3";
32399
+ };
32400
+ }, {
32401
+ type: "input_audio";
32402
+ input_audio: {
32403
+ data: string;
32404
+ format: "wav" | "mp3";
32405
+ };
31801
32406
  }>>]>, "many">;
31802
32407
  role: z.ZodUnion<[z.ZodLiteral<"user">, z.ZodLiteral<"system">, z.ZodLiteral<"developer">]>;
31803
32408
  status: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"in_progress">, z.ZodLiteral<"completed">, z.ZodLiteral<"incomplete">]>>>;
@@ -31818,6 +32423,12 @@ export declare const ZResponseInputItemMessage: z.ZodLazy<z.ZodObject<{
31818
32423
  file_data?: string | null | undefined;
31819
32424
  file_id?: string | null | undefined;
31820
32425
  file_url?: string | null | undefined;
32426
+ } | {
32427
+ type: "input_audio";
32428
+ input_audio: {
32429
+ data: string;
32430
+ format: "wav" | "mp3";
32431
+ };
31821
32432
  })[];
31822
32433
  type?: "message" | null | undefined;
31823
32434
  status?: "in_progress" | "completed" | "incomplete" | null | undefined;
@@ -31837,6 +32448,12 @@ export declare const ZResponseInputItemMessage: z.ZodLazy<z.ZodObject<{
31837
32448
  file_data?: string | null | undefined;
31838
32449
  file_id?: string | null | undefined;
31839
32450
  file_url?: string | null | undefined;
32451
+ } | {
32452
+ type: "input_audio";
32453
+ input_audio: {
32454
+ data: string;
32455
+ format: "wav" | "mp3";
32456
+ };
31840
32457
  })[];
31841
32458
  type?: "message" | null | undefined;
31842
32459
  status?: "in_progress" | "completed" | "incomplete" | null | undefined;
@@ -33621,7 +34238,7 @@ export declare const ZCustomTool: z.ZodLazy<z.ZodObject<{
33621
34238
  description?: string | null | undefined;
33622
34239
  }>>;
33623
34240
  export type CustomTool = z.infer<typeof ZCustomTool>;
33624
- export declare const ZWebSearchToolWebSearchTool: z.ZodLazy<z.ZodObject<{
34241
+ export declare const ZWebSearchPreviewTool: z.ZodLazy<z.ZodObject<{
33625
34242
  type: z.ZodUnion<[z.ZodLiteral<"web_search_preview">, z.ZodLiteral<"web_search_preview_2025_03_11">]>;
33626
34243
  search_context_size: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"low">, z.ZodLiteral<"medium">, z.ZodLiteral<"high">]>>>;
33627
34244
  user_location: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodObject<{
@@ -33664,7 +34281,7 @@ export declare const ZWebSearchToolWebSearchTool: z.ZodLazy<z.ZodObject<{
33664
34281
  timezone?: string | null | undefined;
33665
34282
  } | null | undefined;
33666
34283
  }>>;
33667
- export type WebSearchToolWebSearchTool = z.infer<typeof ZWebSearchToolWebSearchTool>;
34284
+ export type WebSearchPreviewTool = z.infer<typeof ZWebSearchPreviewTool>;
33668
34285
  export declare const ZConversation: z.ZodLazy<z.ZodObject<{
33669
34286
  id: z.ZodString;
33670
34287
  }, "strip", z.ZodTypeAny, {
@@ -34435,6 +35052,32 @@ export declare const ZResponseInputFileParam: z.ZodLazy<z.ZodObject<{
34435
35052
  file_id?: string | null | undefined;
34436
35053
  }>>;
34437
35054
  export type ResponseInputFileParam = z.infer<typeof ZResponseInputFileParam>;
35055
+ export declare const ZResponseInputAudioParam: z.ZodLazy<z.ZodObject<{
35056
+ input_audio: z.ZodLazy<z.ZodObject<{
35057
+ data: z.ZodString;
35058
+ format: z.ZodUnion<[z.ZodLiteral<"wav">, z.ZodLiteral<"mp3">]>;
35059
+ }, "strip", z.ZodTypeAny, {
35060
+ data: string;
35061
+ format: "wav" | "mp3";
35062
+ }, {
35063
+ data: string;
35064
+ format: "wav" | "mp3";
35065
+ }>>;
35066
+ type: z.ZodLiteral<"input_audio">;
35067
+ }, "strip", z.ZodTypeAny, {
35068
+ type: "input_audio";
35069
+ input_audio: {
35070
+ data: string;
35071
+ format: "wav" | "mp3";
35072
+ };
35073
+ }, {
35074
+ type: "input_audio";
35075
+ input_audio: {
35076
+ data: string;
35077
+ format: "wav" | "mp3";
35078
+ };
35079
+ }>>;
35080
+ export type ResponseInputAudioParam = z.infer<typeof ZResponseInputAudioParam>;
34438
35081
  export declare const ZResponseOutputTextParam: z.ZodLazy<z.ZodObject<{
34439
35082
  annotations: z.ZodArray<z.ZodUnion<[z.ZodLazy<z.ZodObject<{
34440
35083
  file_id: z.ZodString;
@@ -35022,6 +35665,32 @@ export declare const ZResponseInputFile: z.ZodLazy<z.ZodObject<{
35022
35665
  file_url?: string | null | undefined;
35023
35666
  }>>;
35024
35667
  export type ResponseInputFile = z.infer<typeof ZResponseInputFile>;
35668
+ export declare const ZResponseInputAudio: z.ZodLazy<z.ZodObject<{
35669
+ input_audio: z.ZodLazy<z.ZodObject<{
35670
+ data: z.ZodString;
35671
+ format: z.ZodUnion<[z.ZodLiteral<"mp3">, z.ZodLiteral<"wav">]>;
35672
+ }, "strip", z.ZodTypeAny, {
35673
+ data: string;
35674
+ format: "wav" | "mp3";
35675
+ }, {
35676
+ data: string;
35677
+ format: "wav" | "mp3";
35678
+ }>>;
35679
+ type: z.ZodLiteral<"input_audio">;
35680
+ }, "strip", z.ZodTypeAny, {
35681
+ type: "input_audio";
35682
+ input_audio: {
35683
+ data: string;
35684
+ format: "wav" | "mp3";
35685
+ };
35686
+ }, {
35687
+ type: "input_audio";
35688
+ input_audio: {
35689
+ data: string;
35690
+ format: "wav" | "mp3";
35691
+ };
35692
+ }>>;
35693
+ export type ResponseInputAudio = z.infer<typeof ZResponseInputAudio>;
35025
35694
  export declare const ZResponseOutputText: z.ZodLazy<z.ZodObject<{
35026
35695
  annotations: z.ZodArray<z.ZodUnion<[z.ZodLazy<z.ZodObject<{
35027
35696
  file_id: z.ZodString;
@@ -35646,15 +36315,15 @@ export declare const ZRankingOptions: z.ZodLazy<z.ZodObject<{
35646
36315
  score_threshold?: number | null | undefined;
35647
36316
  }>>;
35648
36317
  export type RankingOptions = z.infer<typeof ZRankingOptions>;
35649
- export declare const ZWebSearchToolFilters: z.ZodLazy<z.ZodObject<{
36318
+ export declare const ZFilters: z.ZodLazy<z.ZodObject<{
35650
36319
  allowed_domains: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
35651
36320
  }, "strip", z.ZodTypeAny, {
35652
36321
  allowed_domains?: string[] | null | undefined;
35653
36322
  }, {
35654
36323
  allowed_domains?: string[] | null | undefined;
35655
36324
  }>>;
35656
- export type WebSearchToolFilters = z.infer<typeof ZWebSearchToolFilters>;
35657
- export declare const ZWebSearchToolUserLocation: z.ZodLazy<z.ZodObject<{
36325
+ export type Filters = z.infer<typeof ZFilters>;
36326
+ export declare const ZUserLocation: z.ZodLazy<z.ZodObject<{
35658
36327
  city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35659
36328
  country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35660
36329
  region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -35673,7 +36342,7 @@ export declare const ZWebSearchToolUserLocation: z.ZodLazy<z.ZodObject<{
35673
36342
  region?: string | null | undefined;
35674
36343
  timezone?: string | null | undefined;
35675
36344
  }>>;
35676
- export type WebSearchToolUserLocation = z.infer<typeof ZWebSearchToolUserLocation>;
36345
+ export type UserLocation = z.infer<typeof ZUserLocation>;
35677
36346
  export declare const ZMcpAllowedToolsMcpToolFilter: z.ZodLazy<z.ZodObject<{
35678
36347
  read_only: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
35679
36348
  tool_names: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
@@ -35770,7 +36439,7 @@ export declare const ZGrammar: z.ZodLazy<z.ZodObject<{
35770
36439
  syntax: "regex" | "lark";
35771
36440
  }>>;
35772
36441
  export type Grammar = z.infer<typeof ZGrammar>;
35773
- export declare const ZUserLocation: z.ZodLazy<z.ZodObject<{
36442
+ export declare const ZWebSearchPreviewToolUserLocation: z.ZodLazy<z.ZodObject<{
35774
36443
  type: z.ZodLiteral<"approximate">;
35775
36444
  city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35776
36445
  country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -35789,7 +36458,7 @@ export declare const ZUserLocation: z.ZodLazy<z.ZodObject<{
35789
36458
  region?: string | null | undefined;
35790
36459
  timezone?: string | null | undefined;
35791
36460
  }>>;
35792
- export type UserLocation = z.infer<typeof ZUserLocation>;
36461
+ export type WebSearchPreviewToolUserLocation = z.infer<typeof ZWebSearchPreviewToolUserLocation>;
35793
36462
  export declare const ZResponseFormatText: z.ZodLazy<z.ZodObject<{
35794
36463
  type: z.ZodLiteral<"text">;
35795
36464
  }, "strip", z.ZodTypeAny, {
@@ -36000,6 +36669,17 @@ export declare const ZCustom: z.ZodLazy<z.ZodObject<{
36000
36669
  input: string;
36001
36670
  }>>;
36002
36671
  export type Custom = z.infer<typeof ZCustom>;
36672
+ export declare const ZResponseInputAudioParamInputAudio: z.ZodLazy<z.ZodObject<{
36673
+ data: z.ZodString;
36674
+ format: z.ZodUnion<[z.ZodLiteral<"wav">, z.ZodLiteral<"mp3">]>;
36675
+ }, "strip", z.ZodTypeAny, {
36676
+ data: string;
36677
+ format: "wav" | "mp3";
36678
+ }, {
36679
+ data: string;
36680
+ format: "wav" | "mp3";
36681
+ }>>;
36682
+ export type ResponseInputAudioParamInputAudio = z.infer<typeof ZResponseInputAudioParamInputAudio>;
36003
36683
  export declare const ZAnnotationFileCitation: z.ZodLazy<z.ZodObject<{
36004
36684
  file_id: z.ZodString;
36005
36685
  filename: z.ZodString;
@@ -36133,6 +36813,17 @@ export declare const ZActionSearchSource: z.ZodLazy<z.ZodObject<{
36133
36813
  url: string;
36134
36814
  }>>;
36135
36815
  export type ActionSearchSource = z.infer<typeof ZActionSearchSource>;
36816
+ export declare const ZResponseInputAudioInputAudio: z.ZodLazy<z.ZodObject<{
36817
+ data: z.ZodString;
36818
+ format: z.ZodUnion<[z.ZodLiteral<"mp3">, z.ZodLiteral<"wav">]>;
36819
+ }, "strip", z.ZodTypeAny, {
36820
+ data: string;
36821
+ format: "wav" | "mp3";
36822
+ }, {
36823
+ data: string;
36824
+ format: "wav" | "mp3";
36825
+ }>>;
36826
+ export type ResponseInputAudioInputAudio = z.infer<typeof ZResponseInputAudioInputAudio>;
36136
36827
  export declare const ZResponseOutputTextAnnotationFileCitation: z.ZodLazy<z.ZodObject<{
36137
36828
  file_id: z.ZodString;
36138
36829
  filename: z.ZodString;
@@ -36355,39 +37046,4 @@ export declare const ZResponseOutputTextLogprobTopLogprob: z.ZodLazy<z.ZodObject
36355
37046
  logprob: number;
36356
37047
  }>>;
36357
37048
  export type ResponseOutputTextLogprobTopLogprob = z.infer<typeof ZResponseOutputTextLogprobTopLogprob>;
36358
- export declare const ZPartialSchema: z.ZodLazy<z.ZodObject<{
36359
- object: z.ZodDefault<z.ZodLiteral<"schema">>;
36360
- created_at: z.ZodString;
36361
- json_schema: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>;
36362
- strict: z.ZodDefault<z.ZodBoolean>;
36363
- }, "strip", z.ZodTypeAny, {
36364
- object: "schema";
36365
- strict: boolean;
36366
- json_schema: Record<string, any>;
36367
- created_at: string;
36368
- }, {
36369
- created_at: string;
36370
- object?: "schema" | undefined;
36371
- strict?: boolean | undefined;
36372
- json_schema?: Record<string, any> | undefined;
36373
- }>>;
36374
- export type PartialSchema = z.infer<typeof ZPartialSchema>;
36375
- export declare const ZSchema: z.ZodLazy<z.ZodObject<{
36376
- strict: z.ZodDefault<z.ZodBoolean>;
36377
- } & {
36378
- object: z.ZodDefault<z.ZodLiteral<"schema">>;
36379
- created_at: z.ZodString;
36380
- json_schema: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>;
36381
- }, "strip", z.ZodTypeAny, {
36382
- object: "schema";
36383
- strict: boolean;
36384
- json_schema: Record<string, any>;
36385
- created_at: string;
36386
- }, {
36387
- created_at: string;
36388
- object?: "schema" | undefined;
36389
- strict?: boolean | undefined;
36390
- json_schema?: Record<string, any> | undefined;
36391
- }>>;
36392
- export type Schema = z.infer<typeof ZSchema>;
36393
37049
  //# sourceMappingURL=generated_types.d.ts.map