@hebo-ai/gateway 0.11.3 → 0.11.5

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.
@@ -8,21 +8,21 @@ export declare const ConversationItemSchema: z.ZodIntersection<z.ZodObject<{
8
8
  created_at: z.ZodNumber;
9
9
  }, z.core.$loose>, z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion<[z.ZodObject<{
10
10
  type: z.ZodLiteral<"message">;
11
- id: z.ZodOptional<z.ZodString>;
12
- status: z.ZodOptional<z.ZodEnum<{
11
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
13
13
  in_progress: "in_progress";
14
14
  completed: "completed";
15
15
  incomplete: "incomplete";
16
- }>>;
17
- extra_content: z.ZodOptional<z.ZodType<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown, z.core.$ZodTypeInternals<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown>>>;
18
- cache_control: z.ZodOptional<z.ZodObject<{
16
+ }>>>;
17
+ extra_content: z.ZodOptional<z.ZodNullable<z.ZodType<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown, z.core.$ZodTypeInternals<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown>>>>;
18
+ cache_control: z.ZodOptional<z.ZodNullable<z.ZodObject<{
19
19
  type: z.ZodLiteral<"ephemeral">;
20
20
  ttl: z.ZodOptional<z.ZodEnum<{
21
21
  "5m": "5m";
22
22
  "1h": "1h";
23
23
  "24h": "24h";
24
24
  }>>;
25
- }, z.core.$strip>>;
25
+ }, z.core.$strip>>>;
26
26
  role: z.ZodLiteral<"user">;
27
27
  content: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
28
28
  type: z.ZodLiteral<"input_text">;
@@ -30,39 +30,39 @@ export declare const ConversationItemSchema: z.ZodIntersection<z.ZodObject<{
30
30
  }, z.core.$strip>, z.ZodObject<{
31
31
  type: z.ZodLiteral<"input_image">;
32
32
  image_url: z.ZodString;
33
- file_id: z.ZodOptional<z.ZodString>;
34
- detail: z.ZodOptional<z.ZodEnum<{
33
+ file_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ detail: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
35
35
  low: "low";
36
36
  high: "high";
37
37
  auto: "auto";
38
- }>>;
38
+ }>>>;
39
39
  }, z.core.$strip>, z.ZodObject<{
40
40
  type: z.ZodLiteral<"input_image">;
41
41
  file_id: z.ZodString;
42
- image_url: z.ZodOptional<z.ZodString>;
43
- detail: z.ZodOptional<z.ZodEnum<{
42
+ image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43
+ detail: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
44
44
  low: "low";
45
45
  high: "high";
46
46
  auto: "auto";
47
- }>>;
47
+ }>>>;
48
48
  }, z.core.$strip>, z.ZodObject<{
49
49
  type: z.ZodLiteral<"input_file">;
50
50
  file_data: z.ZodString;
51
- file_id: z.ZodOptional<z.ZodString>;
52
- file_url: z.ZodOptional<z.ZodString>;
53
- filename: z.ZodOptional<z.ZodString>;
51
+ file_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52
+ file_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
53
+ filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
54
54
  }, z.core.$strip>, z.ZodObject<{
55
55
  type: z.ZodLiteral<"input_file">;
56
56
  file_id: z.ZodString;
57
- file_data: z.ZodOptional<z.ZodString>;
58
- file_url: z.ZodOptional<z.ZodString>;
59
- filename: z.ZodOptional<z.ZodString>;
57
+ file_data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
58
+ file_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
+ filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
60
60
  }, z.core.$strip>, z.ZodObject<{
61
61
  type: z.ZodLiteral<"input_file">;
62
62
  file_url: z.ZodString;
63
- file_data: z.ZodOptional<z.ZodString>;
64
- file_id: z.ZodOptional<z.ZodString>;
65
- filename: z.ZodOptional<z.ZodString>;
63
+ file_data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
64
+ file_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
65
+ filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
66
66
  }, z.core.$strip>, z.ZodObject<{
67
67
  type: z.ZodLiteral<"input_audio">;
68
68
  input_audio: z.ZodObject<{
@@ -81,55 +81,55 @@ export declare const ConversationItemSchema: z.ZodIntersection<z.ZodObject<{
81
81
  webm: "webm";
82
82
  }>;
83
83
  }, z.core.$strip>;
84
- cache_control: z.ZodOptional<z.ZodObject<{
84
+ cache_control: z.ZodOptional<z.ZodNullable<z.ZodObject<{
85
85
  type: z.ZodLiteral<"ephemeral">;
86
86
  ttl: z.ZodOptional<z.ZodEnum<{
87
87
  "5m": "5m";
88
88
  "1h": "1h";
89
89
  "24h": "24h";
90
90
  }>>;
91
- }, z.core.$strip>>;
91
+ }, z.core.$strip>>>;
92
92
  }, z.core.$strip>]>>]>;
93
93
  }, z.core.$strip>, z.ZodObject<{
94
94
  type: z.ZodLiteral<"message">;
95
- id: z.ZodOptional<z.ZodString>;
96
- status: z.ZodOptional<z.ZodEnum<{
95
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
96
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
97
97
  in_progress: "in_progress";
98
98
  completed: "completed";
99
99
  incomplete: "incomplete";
100
- }>>;
101
- extra_content: z.ZodOptional<z.ZodType<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown, z.core.$ZodTypeInternals<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown>>>;
102
- cache_control: z.ZodOptional<z.ZodObject<{
100
+ }>>>;
101
+ extra_content: z.ZodOptional<z.ZodNullable<z.ZodType<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown, z.core.$ZodTypeInternals<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown>>>>;
102
+ cache_control: z.ZodOptional<z.ZodNullable<z.ZodObject<{
103
103
  type: z.ZodLiteral<"ephemeral">;
104
104
  ttl: z.ZodOptional<z.ZodEnum<{
105
105
  "5m": "5m";
106
106
  "1h": "1h";
107
107
  "24h": "24h";
108
108
  }>>;
109
- }, z.core.$strip>>;
109
+ }, z.core.$strip>>>;
110
110
  role: z.ZodLiteral<"assistant">;
111
111
  content: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodObject<{
112
112
  type: z.ZodLiteral<"output_text">;
113
113
  text: z.ZodString;
114
- annotations: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
114
+ annotations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
115
115
  }, z.core.$strip>>]>;
116
116
  }, z.core.$strip>, z.ZodObject<{
117
117
  type: z.ZodLiteral<"message">;
118
- id: z.ZodOptional<z.ZodString>;
119
- status: z.ZodOptional<z.ZodEnum<{
118
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
119
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
120
120
  in_progress: "in_progress";
121
121
  completed: "completed";
122
122
  incomplete: "incomplete";
123
- }>>;
124
- extra_content: z.ZodOptional<z.ZodType<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown, z.core.$ZodTypeInternals<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown>>>;
125
- cache_control: z.ZodOptional<z.ZodObject<{
123
+ }>>>;
124
+ extra_content: z.ZodOptional<z.ZodNullable<z.ZodType<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown, z.core.$ZodTypeInternals<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown>>>>;
125
+ cache_control: z.ZodOptional<z.ZodNullable<z.ZodObject<{
126
126
  type: z.ZodLiteral<"ephemeral">;
127
127
  ttl: z.ZodOptional<z.ZodEnum<{
128
128
  "5m": "5m";
129
129
  "1h": "1h";
130
130
  "24h": "24h";
131
131
  }>>;
132
- }, z.core.$strip>>;
132
+ }, z.core.$strip>>>;
133
133
  role: z.ZodLiteral<"system">;
134
134
  content: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
135
135
  type: z.ZodLiteral<"input_text">;
@@ -137,39 +137,39 @@ export declare const ConversationItemSchema: z.ZodIntersection<z.ZodObject<{
137
137
  }, z.core.$strip>, z.ZodObject<{
138
138
  type: z.ZodLiteral<"input_image">;
139
139
  image_url: z.ZodString;
140
- file_id: z.ZodOptional<z.ZodString>;
141
- detail: z.ZodOptional<z.ZodEnum<{
140
+ file_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
141
+ detail: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
142
142
  low: "low";
143
143
  high: "high";
144
144
  auto: "auto";
145
- }>>;
145
+ }>>>;
146
146
  }, z.core.$strip>, z.ZodObject<{
147
147
  type: z.ZodLiteral<"input_image">;
148
148
  file_id: z.ZodString;
149
- image_url: z.ZodOptional<z.ZodString>;
150
- detail: z.ZodOptional<z.ZodEnum<{
149
+ image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
150
+ detail: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
151
151
  low: "low";
152
152
  high: "high";
153
153
  auto: "auto";
154
- }>>;
154
+ }>>>;
155
155
  }, z.core.$strip>, z.ZodObject<{
156
156
  type: z.ZodLiteral<"input_file">;
157
157
  file_data: z.ZodString;
158
- file_id: z.ZodOptional<z.ZodString>;
159
- file_url: z.ZodOptional<z.ZodString>;
160
- filename: z.ZodOptional<z.ZodString>;
158
+ file_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
159
+ file_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
160
+ filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
161
161
  }, z.core.$strip>, z.ZodObject<{
162
162
  type: z.ZodLiteral<"input_file">;
163
163
  file_id: z.ZodString;
164
- file_data: z.ZodOptional<z.ZodString>;
165
- file_url: z.ZodOptional<z.ZodString>;
166
- filename: z.ZodOptional<z.ZodString>;
164
+ file_data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
165
+ file_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
166
+ filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
167
167
  }, z.core.$strip>, z.ZodObject<{
168
168
  type: z.ZodLiteral<"input_file">;
169
169
  file_url: z.ZodString;
170
- file_data: z.ZodOptional<z.ZodString>;
171
- file_id: z.ZodOptional<z.ZodString>;
172
- filename: z.ZodOptional<z.ZodString>;
170
+ file_data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
171
+ file_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
172
+ filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
173
173
  }, z.core.$strip>, z.ZodObject<{
174
174
  type: z.ZodLiteral<"input_audio">;
175
175
  input_audio: z.ZodObject<{
@@ -188,32 +188,32 @@ export declare const ConversationItemSchema: z.ZodIntersection<z.ZodObject<{
188
188
  webm: "webm";
189
189
  }>;
190
190
  }, z.core.$strip>;
191
- cache_control: z.ZodOptional<z.ZodObject<{
191
+ cache_control: z.ZodOptional<z.ZodNullable<z.ZodObject<{
192
192
  type: z.ZodLiteral<"ephemeral">;
193
193
  ttl: z.ZodOptional<z.ZodEnum<{
194
194
  "5m": "5m";
195
195
  "1h": "1h";
196
196
  "24h": "24h";
197
197
  }>>;
198
- }, z.core.$strip>>;
198
+ }, z.core.$strip>>>;
199
199
  }, z.core.$strip>]>>]>;
200
200
  }, z.core.$strip>, z.ZodObject<{
201
201
  type: z.ZodLiteral<"message">;
202
- id: z.ZodOptional<z.ZodString>;
203
- status: z.ZodOptional<z.ZodEnum<{
202
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
203
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
204
204
  in_progress: "in_progress";
205
205
  completed: "completed";
206
206
  incomplete: "incomplete";
207
- }>>;
208
- extra_content: z.ZodOptional<z.ZodType<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown, z.core.$ZodTypeInternals<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown>>>;
209
- cache_control: z.ZodOptional<z.ZodObject<{
207
+ }>>>;
208
+ extra_content: z.ZodOptional<z.ZodNullable<z.ZodType<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown, z.core.$ZodTypeInternals<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown>>>>;
209
+ cache_control: z.ZodOptional<z.ZodNullable<z.ZodObject<{
210
210
  type: z.ZodLiteral<"ephemeral">;
211
211
  ttl: z.ZodOptional<z.ZodEnum<{
212
212
  "5m": "5m";
213
213
  "1h": "1h";
214
214
  "24h": "24h";
215
215
  }>>;
216
- }, z.core.$strip>>;
216
+ }, z.core.$strip>>>;
217
217
  role: z.ZodLiteral<"developer">;
218
218
  content: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
219
219
  type: z.ZodLiteral<"input_text">;
@@ -221,39 +221,39 @@ export declare const ConversationItemSchema: z.ZodIntersection<z.ZodObject<{
221
221
  }, z.core.$strip>, z.ZodObject<{
222
222
  type: z.ZodLiteral<"input_image">;
223
223
  image_url: z.ZodString;
224
- file_id: z.ZodOptional<z.ZodString>;
225
- detail: z.ZodOptional<z.ZodEnum<{
224
+ file_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
225
+ detail: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
226
226
  low: "low";
227
227
  high: "high";
228
228
  auto: "auto";
229
- }>>;
229
+ }>>>;
230
230
  }, z.core.$strip>, z.ZodObject<{
231
231
  type: z.ZodLiteral<"input_image">;
232
232
  file_id: z.ZodString;
233
- image_url: z.ZodOptional<z.ZodString>;
234
- detail: z.ZodOptional<z.ZodEnum<{
233
+ image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
234
+ detail: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
235
235
  low: "low";
236
236
  high: "high";
237
237
  auto: "auto";
238
- }>>;
238
+ }>>>;
239
239
  }, z.core.$strip>, z.ZodObject<{
240
240
  type: z.ZodLiteral<"input_file">;
241
241
  file_data: z.ZodString;
242
- file_id: z.ZodOptional<z.ZodString>;
243
- file_url: z.ZodOptional<z.ZodString>;
244
- filename: z.ZodOptional<z.ZodString>;
242
+ file_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
243
+ file_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
244
+ filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
245
245
  }, z.core.$strip>, z.ZodObject<{
246
246
  type: z.ZodLiteral<"input_file">;
247
247
  file_id: z.ZodString;
248
- file_data: z.ZodOptional<z.ZodString>;
249
- file_url: z.ZodOptional<z.ZodString>;
250
- filename: z.ZodOptional<z.ZodString>;
248
+ file_data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
249
+ file_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
250
+ filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
251
251
  }, z.core.$strip>, z.ZodObject<{
252
252
  type: z.ZodLiteral<"input_file">;
253
253
  file_url: z.ZodString;
254
- file_data: z.ZodOptional<z.ZodString>;
255
- file_id: z.ZodOptional<z.ZodString>;
256
- filename: z.ZodOptional<z.ZodString>;
254
+ file_data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
255
+ file_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
256
+ filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
257
257
  }, z.core.$strip>, z.ZodObject<{
258
258
  type: z.ZodLiteral<"input_audio">;
259
259
  input_audio: z.ZodObject<{
@@ -272,38 +272,38 @@ export declare const ConversationItemSchema: z.ZodIntersection<z.ZodObject<{
272
272
  webm: "webm";
273
273
  }>;
274
274
  }, z.core.$strip>;
275
- cache_control: z.ZodOptional<z.ZodObject<{
275
+ cache_control: z.ZodOptional<z.ZodNullable<z.ZodObject<{
276
276
  type: z.ZodLiteral<"ephemeral">;
277
277
  ttl: z.ZodOptional<z.ZodEnum<{
278
278
  "5m": "5m";
279
279
  "1h": "1h";
280
280
  "24h": "24h";
281
281
  }>>;
282
- }, z.core.$strip>>;
282
+ }, z.core.$strip>>>;
283
283
  }, z.core.$strip>]>>]>;
284
284
  }, z.core.$strip>], "role">, z.ZodObject<{
285
285
  type: z.ZodLiteral<"function_call">;
286
- id: z.ZodOptional<z.ZodString>;
286
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
287
287
  call_id: z.ZodString;
288
288
  name: z.ZodString;
289
289
  arguments: z.ZodString;
290
- status: z.ZodOptional<z.ZodEnum<{
290
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
291
291
  in_progress: "in_progress";
292
292
  completed: "completed";
293
293
  incomplete: "incomplete";
294
- }>>;
295
- extra_content: z.ZodOptional<z.ZodType<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown, z.core.$ZodTypeInternals<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown>>>;
296
- cache_control: z.ZodOptional<z.ZodObject<{
294
+ }>>>;
295
+ extra_content: z.ZodOptional<z.ZodNullable<z.ZodType<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown, z.core.$ZodTypeInternals<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown>>>>;
296
+ cache_control: z.ZodOptional<z.ZodNullable<z.ZodObject<{
297
297
  type: z.ZodLiteral<"ephemeral">;
298
298
  ttl: z.ZodOptional<z.ZodEnum<{
299
299
  "5m": "5m";
300
300
  "1h": "1h";
301
301
  "24h": "24h";
302
302
  }>>;
303
- }, z.core.$strip>>;
303
+ }, z.core.$strip>>>;
304
304
  }, z.core.$strip>, z.ZodObject<{
305
305
  type: z.ZodLiteral<"function_call_output">;
306
- id: z.ZodOptional<z.ZodString>;
306
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
307
307
  call_id: z.ZodString;
308
308
  output: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
309
309
  type: z.ZodLiteral<"input_text">;
@@ -311,39 +311,39 @@ export declare const ConversationItemSchema: z.ZodIntersection<z.ZodObject<{
311
311
  }, z.core.$strip>, z.ZodObject<{
312
312
  type: z.ZodLiteral<"input_image">;
313
313
  image_url: z.ZodString;
314
- file_id: z.ZodOptional<z.ZodString>;
315
- detail: z.ZodOptional<z.ZodEnum<{
314
+ file_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
315
+ detail: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
316
316
  low: "low";
317
317
  high: "high";
318
318
  auto: "auto";
319
- }>>;
319
+ }>>>;
320
320
  }, z.core.$strip>, z.ZodObject<{
321
321
  type: z.ZodLiteral<"input_image">;
322
322
  file_id: z.ZodString;
323
- image_url: z.ZodOptional<z.ZodString>;
324
- detail: z.ZodOptional<z.ZodEnum<{
323
+ image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
324
+ detail: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
325
325
  low: "low";
326
326
  high: "high";
327
327
  auto: "auto";
328
- }>>;
328
+ }>>>;
329
329
  }, z.core.$strip>, z.ZodObject<{
330
330
  type: z.ZodLiteral<"input_file">;
331
331
  file_data: z.ZodString;
332
- file_id: z.ZodOptional<z.ZodString>;
333
- file_url: z.ZodOptional<z.ZodString>;
334
- filename: z.ZodOptional<z.ZodString>;
332
+ file_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
333
+ file_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
334
+ filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
335
335
  }, z.core.$strip>, z.ZodObject<{
336
336
  type: z.ZodLiteral<"input_file">;
337
337
  file_id: z.ZodString;
338
- file_data: z.ZodOptional<z.ZodString>;
339
- file_url: z.ZodOptional<z.ZodString>;
340
- filename: z.ZodOptional<z.ZodString>;
338
+ file_data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
339
+ file_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
340
+ filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
341
341
  }, z.core.$strip>, z.ZodObject<{
342
342
  type: z.ZodLiteral<"input_file">;
343
343
  file_url: z.ZodString;
344
- file_data: z.ZodOptional<z.ZodString>;
345
- file_id: z.ZodOptional<z.ZodString>;
346
- filename: z.ZodOptional<z.ZodString>;
344
+ file_data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
345
+ file_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
346
+ filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
347
347
  }, z.core.$strip>, z.ZodObject<{
348
348
  type: z.ZodLiteral<"input_audio">;
349
349
  input_audio: z.ZodObject<{
@@ -362,48 +362,48 @@ export declare const ConversationItemSchema: z.ZodIntersection<z.ZodObject<{
362
362
  webm: "webm";
363
363
  }>;
364
364
  }, z.core.$strip>;
365
- cache_control: z.ZodOptional<z.ZodObject<{
365
+ cache_control: z.ZodOptional<z.ZodNullable<z.ZodObject<{
366
366
  type: z.ZodLiteral<"ephemeral">;
367
367
  ttl: z.ZodOptional<z.ZodEnum<{
368
368
  "5m": "5m";
369
369
  "1h": "1h";
370
370
  "24h": "24h";
371
371
  }>>;
372
- }, z.core.$strip>>;
372
+ }, z.core.$strip>>>;
373
373
  }, z.core.$strip>]>>]>;
374
- status: z.ZodOptional<z.ZodEnum<{
374
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
375
375
  in_progress: "in_progress";
376
376
  completed: "completed";
377
377
  incomplete: "incomplete";
378
- }>>;
379
- extra_content: z.ZodOptional<z.ZodType<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown, z.core.$ZodTypeInternals<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown>>>;
380
- cache_control: z.ZodOptional<z.ZodObject<{
378
+ }>>>;
379
+ extra_content: z.ZodOptional<z.ZodNullable<z.ZodType<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown, z.core.$ZodTypeInternals<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown>>>>;
380
+ cache_control: z.ZodOptional<z.ZodNullable<z.ZodObject<{
381
381
  type: z.ZodLiteral<"ephemeral">;
382
382
  ttl: z.ZodOptional<z.ZodEnum<{
383
383
  "5m": "5m";
384
384
  "1h": "1h";
385
385
  "24h": "24h";
386
386
  }>>;
387
- }, z.core.$strip>>;
387
+ }, z.core.$strip>>>;
388
388
  }, z.core.$strip>, z.ZodObject<{
389
389
  type: z.ZodLiteral<"reasoning">;
390
- id: z.ZodOptional<z.ZodString>;
390
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
391
391
  summary: z.ZodArray<z.ZodObject<{
392
392
  type: z.ZodLiteral<"summary_text">;
393
393
  text: z.ZodString;
394
394
  }, z.core.$strip>>;
395
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{
395
+ content: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
396
396
  type: z.ZodLiteral<"reasoning_text">;
397
397
  text: z.ZodString;
398
- }, z.core.$strip>>>;
399
- encrypted_content: z.ZodOptional<z.ZodString>;
400
- status: z.ZodOptional<z.ZodEnum<{
398
+ }, z.core.$strip>>>>;
399
+ encrypted_content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
400
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
401
401
  in_progress: "in_progress";
402
402
  completed: "completed";
403
403
  incomplete: "incomplete";
404
- }>>;
405
- extra_content: z.ZodOptional<z.ZodType<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown, z.core.$ZodTypeInternals<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown>>>;
406
- signature: z.ZodOptional<z.ZodString>;
404
+ }>>>;
405
+ extra_content: z.ZodOptional<z.ZodNullable<z.ZodType<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown, z.core.$ZodTypeInternals<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown>>>>;
406
+ signature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
407
407
  }, z.core.$strip>], "type">>;
408
408
  export type ConversationItem = z.infer<typeof ConversationItemSchema>;
409
409
  export declare const ConversationSchema: z.ZodObject<{
@@ -425,21 +425,21 @@ export type ConversationDeleted = z.infer<typeof ConversationDeletedSchema>;
425
425
  export declare const ConversationCreateParamsSchema: z.ZodObject<{
426
426
  items: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion<[z.ZodObject<{
427
427
  type: z.ZodLiteral<"message">;
428
- id: z.ZodOptional<z.ZodString>;
429
- status: z.ZodOptional<z.ZodEnum<{
428
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
429
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
430
430
  in_progress: "in_progress";
431
431
  completed: "completed";
432
432
  incomplete: "incomplete";
433
- }>>;
434
- extra_content: z.ZodOptional<z.ZodType<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown, z.core.$ZodTypeInternals<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown>>>;
435
- cache_control: z.ZodOptional<z.ZodObject<{
433
+ }>>>;
434
+ extra_content: z.ZodOptional<z.ZodNullable<z.ZodType<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown, z.core.$ZodTypeInternals<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown>>>>;
435
+ cache_control: z.ZodOptional<z.ZodNullable<z.ZodObject<{
436
436
  type: z.ZodLiteral<"ephemeral">;
437
437
  ttl: z.ZodOptional<z.ZodEnum<{
438
438
  "5m": "5m";
439
439
  "1h": "1h";
440
440
  "24h": "24h";
441
441
  }>>;
442
- }, z.core.$strip>>;
442
+ }, z.core.$strip>>>;
443
443
  role: z.ZodLiteral<"user">;
444
444
  content: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
445
445
  type: z.ZodLiteral<"input_text">;
@@ -447,39 +447,39 @@ export declare const ConversationCreateParamsSchema: z.ZodObject<{
447
447
  }, z.core.$strip>, z.ZodObject<{
448
448
  type: z.ZodLiteral<"input_image">;
449
449
  image_url: z.ZodString;
450
- file_id: z.ZodOptional<z.ZodString>;
451
- detail: z.ZodOptional<z.ZodEnum<{
450
+ file_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
451
+ detail: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
452
452
  low: "low";
453
453
  high: "high";
454
454
  auto: "auto";
455
- }>>;
455
+ }>>>;
456
456
  }, z.core.$strip>, z.ZodObject<{
457
457
  type: z.ZodLiteral<"input_image">;
458
458
  file_id: z.ZodString;
459
- image_url: z.ZodOptional<z.ZodString>;
460
- detail: z.ZodOptional<z.ZodEnum<{
459
+ image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
460
+ detail: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
461
461
  low: "low";
462
462
  high: "high";
463
463
  auto: "auto";
464
- }>>;
464
+ }>>>;
465
465
  }, z.core.$strip>, z.ZodObject<{
466
466
  type: z.ZodLiteral<"input_file">;
467
467
  file_data: z.ZodString;
468
- file_id: z.ZodOptional<z.ZodString>;
469
- file_url: z.ZodOptional<z.ZodString>;
470
- filename: z.ZodOptional<z.ZodString>;
468
+ file_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
469
+ file_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
470
+ filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
471
471
  }, z.core.$strip>, z.ZodObject<{
472
472
  type: z.ZodLiteral<"input_file">;
473
473
  file_id: z.ZodString;
474
- file_data: z.ZodOptional<z.ZodString>;
475
- file_url: z.ZodOptional<z.ZodString>;
476
- filename: z.ZodOptional<z.ZodString>;
474
+ file_data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
475
+ file_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
476
+ filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
477
477
  }, z.core.$strip>, z.ZodObject<{
478
478
  type: z.ZodLiteral<"input_file">;
479
479
  file_url: z.ZodString;
480
- file_data: z.ZodOptional<z.ZodString>;
481
- file_id: z.ZodOptional<z.ZodString>;
482
- filename: z.ZodOptional<z.ZodString>;
480
+ file_data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
481
+ file_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
482
+ filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
483
483
  }, z.core.$strip>, z.ZodObject<{
484
484
  type: z.ZodLiteral<"input_audio">;
485
485
  input_audio: z.ZodObject<{
@@ -498,55 +498,55 @@ export declare const ConversationCreateParamsSchema: z.ZodObject<{
498
498
  webm: "webm";
499
499
  }>;
500
500
  }, z.core.$strip>;
501
- cache_control: z.ZodOptional<z.ZodObject<{
501
+ cache_control: z.ZodOptional<z.ZodNullable<z.ZodObject<{
502
502
  type: z.ZodLiteral<"ephemeral">;
503
503
  ttl: z.ZodOptional<z.ZodEnum<{
504
504
  "5m": "5m";
505
505
  "1h": "1h";
506
506
  "24h": "24h";
507
507
  }>>;
508
- }, z.core.$strip>>;
508
+ }, z.core.$strip>>>;
509
509
  }, z.core.$strip>]>>]>;
510
510
  }, z.core.$strip>, z.ZodObject<{
511
511
  type: z.ZodLiteral<"message">;
512
- id: z.ZodOptional<z.ZodString>;
513
- status: z.ZodOptional<z.ZodEnum<{
512
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
513
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
514
514
  in_progress: "in_progress";
515
515
  completed: "completed";
516
516
  incomplete: "incomplete";
517
- }>>;
518
- extra_content: z.ZodOptional<z.ZodType<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown, z.core.$ZodTypeInternals<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown>>>;
519
- cache_control: z.ZodOptional<z.ZodObject<{
517
+ }>>>;
518
+ extra_content: z.ZodOptional<z.ZodNullable<z.ZodType<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown, z.core.$ZodTypeInternals<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown>>>>;
519
+ cache_control: z.ZodOptional<z.ZodNullable<z.ZodObject<{
520
520
  type: z.ZodLiteral<"ephemeral">;
521
521
  ttl: z.ZodOptional<z.ZodEnum<{
522
522
  "5m": "5m";
523
523
  "1h": "1h";
524
524
  "24h": "24h";
525
525
  }>>;
526
- }, z.core.$strip>>;
526
+ }, z.core.$strip>>>;
527
527
  role: z.ZodLiteral<"assistant">;
528
528
  content: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodObject<{
529
529
  type: z.ZodLiteral<"output_text">;
530
530
  text: z.ZodString;
531
- annotations: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
531
+ annotations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
532
532
  }, z.core.$strip>>]>;
533
533
  }, z.core.$strip>, z.ZodObject<{
534
534
  type: z.ZodLiteral<"message">;
535
- id: z.ZodOptional<z.ZodString>;
536
- status: z.ZodOptional<z.ZodEnum<{
535
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
536
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
537
537
  in_progress: "in_progress";
538
538
  completed: "completed";
539
539
  incomplete: "incomplete";
540
- }>>;
541
- extra_content: z.ZodOptional<z.ZodType<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown, z.core.$ZodTypeInternals<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown>>>;
542
- cache_control: z.ZodOptional<z.ZodObject<{
540
+ }>>>;
541
+ extra_content: z.ZodOptional<z.ZodNullable<z.ZodType<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown, z.core.$ZodTypeInternals<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown>>>>;
542
+ cache_control: z.ZodOptional<z.ZodNullable<z.ZodObject<{
543
543
  type: z.ZodLiteral<"ephemeral">;
544
544
  ttl: z.ZodOptional<z.ZodEnum<{
545
545
  "5m": "5m";
546
546
  "1h": "1h";
547
547
  "24h": "24h";
548
548
  }>>;
549
- }, z.core.$strip>>;
549
+ }, z.core.$strip>>>;
550
550
  role: z.ZodLiteral<"system">;
551
551
  content: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
552
552
  type: z.ZodLiteral<"input_text">;
@@ -554,39 +554,39 @@ export declare const ConversationCreateParamsSchema: z.ZodObject<{
554
554
  }, z.core.$strip>, z.ZodObject<{
555
555
  type: z.ZodLiteral<"input_image">;
556
556
  image_url: z.ZodString;
557
- file_id: z.ZodOptional<z.ZodString>;
558
- detail: z.ZodOptional<z.ZodEnum<{
557
+ file_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
558
+ detail: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
559
559
  low: "low";
560
560
  high: "high";
561
561
  auto: "auto";
562
- }>>;
562
+ }>>>;
563
563
  }, z.core.$strip>, z.ZodObject<{
564
564
  type: z.ZodLiteral<"input_image">;
565
565
  file_id: z.ZodString;
566
- image_url: z.ZodOptional<z.ZodString>;
567
- detail: z.ZodOptional<z.ZodEnum<{
566
+ image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
567
+ detail: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
568
568
  low: "low";
569
569
  high: "high";
570
570
  auto: "auto";
571
- }>>;
571
+ }>>>;
572
572
  }, z.core.$strip>, z.ZodObject<{
573
573
  type: z.ZodLiteral<"input_file">;
574
574
  file_data: z.ZodString;
575
- file_id: z.ZodOptional<z.ZodString>;
576
- file_url: z.ZodOptional<z.ZodString>;
577
- filename: z.ZodOptional<z.ZodString>;
575
+ file_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
576
+ file_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
577
+ filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
578
578
  }, z.core.$strip>, z.ZodObject<{
579
579
  type: z.ZodLiteral<"input_file">;
580
580
  file_id: z.ZodString;
581
- file_data: z.ZodOptional<z.ZodString>;
582
- file_url: z.ZodOptional<z.ZodString>;
583
- filename: z.ZodOptional<z.ZodString>;
581
+ file_data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
582
+ file_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
583
+ filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
584
584
  }, z.core.$strip>, z.ZodObject<{
585
585
  type: z.ZodLiteral<"input_file">;
586
586
  file_url: z.ZodString;
587
- file_data: z.ZodOptional<z.ZodString>;
588
- file_id: z.ZodOptional<z.ZodString>;
589
- filename: z.ZodOptional<z.ZodString>;
587
+ file_data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
588
+ file_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
589
+ filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
590
590
  }, z.core.$strip>, z.ZodObject<{
591
591
  type: z.ZodLiteral<"input_audio">;
592
592
  input_audio: z.ZodObject<{
@@ -605,32 +605,32 @@ export declare const ConversationCreateParamsSchema: z.ZodObject<{
605
605
  webm: "webm";
606
606
  }>;
607
607
  }, z.core.$strip>;
608
- cache_control: z.ZodOptional<z.ZodObject<{
608
+ cache_control: z.ZodOptional<z.ZodNullable<z.ZodObject<{
609
609
  type: z.ZodLiteral<"ephemeral">;
610
610
  ttl: z.ZodOptional<z.ZodEnum<{
611
611
  "5m": "5m";
612
612
  "1h": "1h";
613
613
  "24h": "24h";
614
614
  }>>;
615
- }, z.core.$strip>>;
615
+ }, z.core.$strip>>>;
616
616
  }, z.core.$strip>]>>]>;
617
617
  }, z.core.$strip>, z.ZodObject<{
618
618
  type: z.ZodLiteral<"message">;
619
- id: z.ZodOptional<z.ZodString>;
620
- status: z.ZodOptional<z.ZodEnum<{
619
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
620
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
621
621
  in_progress: "in_progress";
622
622
  completed: "completed";
623
623
  incomplete: "incomplete";
624
- }>>;
625
- extra_content: z.ZodOptional<z.ZodType<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown, z.core.$ZodTypeInternals<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown>>>;
626
- cache_control: z.ZodOptional<z.ZodObject<{
624
+ }>>>;
625
+ extra_content: z.ZodOptional<z.ZodNullable<z.ZodType<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown, z.core.$ZodTypeInternals<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown>>>>;
626
+ cache_control: z.ZodOptional<z.ZodNullable<z.ZodObject<{
627
627
  type: z.ZodLiteral<"ephemeral">;
628
628
  ttl: z.ZodOptional<z.ZodEnum<{
629
629
  "5m": "5m";
630
630
  "1h": "1h";
631
631
  "24h": "24h";
632
632
  }>>;
633
- }, z.core.$strip>>;
633
+ }, z.core.$strip>>>;
634
634
  role: z.ZodLiteral<"developer">;
635
635
  content: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
636
636
  type: z.ZodLiteral<"input_text">;
@@ -638,39 +638,39 @@ export declare const ConversationCreateParamsSchema: z.ZodObject<{
638
638
  }, z.core.$strip>, z.ZodObject<{
639
639
  type: z.ZodLiteral<"input_image">;
640
640
  image_url: z.ZodString;
641
- file_id: z.ZodOptional<z.ZodString>;
642
- detail: z.ZodOptional<z.ZodEnum<{
641
+ file_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
642
+ detail: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
643
643
  low: "low";
644
644
  high: "high";
645
645
  auto: "auto";
646
- }>>;
646
+ }>>>;
647
647
  }, z.core.$strip>, z.ZodObject<{
648
648
  type: z.ZodLiteral<"input_image">;
649
649
  file_id: z.ZodString;
650
- image_url: z.ZodOptional<z.ZodString>;
651
- detail: z.ZodOptional<z.ZodEnum<{
650
+ image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
651
+ detail: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
652
652
  low: "low";
653
653
  high: "high";
654
654
  auto: "auto";
655
- }>>;
655
+ }>>>;
656
656
  }, z.core.$strip>, z.ZodObject<{
657
657
  type: z.ZodLiteral<"input_file">;
658
658
  file_data: z.ZodString;
659
- file_id: z.ZodOptional<z.ZodString>;
660
- file_url: z.ZodOptional<z.ZodString>;
661
- filename: z.ZodOptional<z.ZodString>;
659
+ file_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
660
+ file_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
661
+ filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
662
662
  }, z.core.$strip>, z.ZodObject<{
663
663
  type: z.ZodLiteral<"input_file">;
664
664
  file_id: z.ZodString;
665
- file_data: z.ZodOptional<z.ZodString>;
666
- file_url: z.ZodOptional<z.ZodString>;
667
- filename: z.ZodOptional<z.ZodString>;
665
+ file_data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
666
+ file_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
667
+ filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
668
668
  }, z.core.$strip>, z.ZodObject<{
669
669
  type: z.ZodLiteral<"input_file">;
670
670
  file_url: z.ZodString;
671
- file_data: z.ZodOptional<z.ZodString>;
672
- file_id: z.ZodOptional<z.ZodString>;
673
- filename: z.ZodOptional<z.ZodString>;
671
+ file_data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
672
+ file_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
673
+ filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
674
674
  }, z.core.$strip>, z.ZodObject<{
675
675
  type: z.ZodLiteral<"input_audio">;
676
676
  input_audio: z.ZodObject<{
@@ -689,38 +689,38 @@ export declare const ConversationCreateParamsSchema: z.ZodObject<{
689
689
  webm: "webm";
690
690
  }>;
691
691
  }, z.core.$strip>;
692
- cache_control: z.ZodOptional<z.ZodObject<{
692
+ cache_control: z.ZodOptional<z.ZodNullable<z.ZodObject<{
693
693
  type: z.ZodLiteral<"ephemeral">;
694
694
  ttl: z.ZodOptional<z.ZodEnum<{
695
695
  "5m": "5m";
696
696
  "1h": "1h";
697
697
  "24h": "24h";
698
698
  }>>;
699
- }, z.core.$strip>>;
699
+ }, z.core.$strip>>>;
700
700
  }, z.core.$strip>]>>]>;
701
701
  }, z.core.$strip>], "role">, z.ZodObject<{
702
702
  type: z.ZodLiteral<"function_call">;
703
- id: z.ZodOptional<z.ZodString>;
703
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
704
704
  call_id: z.ZodString;
705
705
  name: z.ZodString;
706
706
  arguments: z.ZodString;
707
- status: z.ZodOptional<z.ZodEnum<{
707
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
708
708
  in_progress: "in_progress";
709
709
  completed: "completed";
710
710
  incomplete: "incomplete";
711
- }>>;
712
- extra_content: z.ZodOptional<z.ZodType<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown, z.core.$ZodTypeInternals<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown>>>;
713
- cache_control: z.ZodOptional<z.ZodObject<{
711
+ }>>>;
712
+ extra_content: z.ZodOptional<z.ZodNullable<z.ZodType<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown, z.core.$ZodTypeInternals<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown>>>>;
713
+ cache_control: z.ZodOptional<z.ZodNullable<z.ZodObject<{
714
714
  type: z.ZodLiteral<"ephemeral">;
715
715
  ttl: z.ZodOptional<z.ZodEnum<{
716
716
  "5m": "5m";
717
717
  "1h": "1h";
718
718
  "24h": "24h";
719
719
  }>>;
720
- }, z.core.$strip>>;
720
+ }, z.core.$strip>>>;
721
721
  }, z.core.$strip>, z.ZodObject<{
722
722
  type: z.ZodLiteral<"function_call_output">;
723
- id: z.ZodOptional<z.ZodString>;
723
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
724
724
  call_id: z.ZodString;
725
725
  output: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
726
726
  type: z.ZodLiteral<"input_text">;
@@ -728,39 +728,39 @@ export declare const ConversationCreateParamsSchema: z.ZodObject<{
728
728
  }, z.core.$strip>, z.ZodObject<{
729
729
  type: z.ZodLiteral<"input_image">;
730
730
  image_url: z.ZodString;
731
- file_id: z.ZodOptional<z.ZodString>;
732
- detail: z.ZodOptional<z.ZodEnum<{
731
+ file_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
732
+ detail: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
733
733
  low: "low";
734
734
  high: "high";
735
735
  auto: "auto";
736
- }>>;
736
+ }>>>;
737
737
  }, z.core.$strip>, z.ZodObject<{
738
738
  type: z.ZodLiteral<"input_image">;
739
739
  file_id: z.ZodString;
740
- image_url: z.ZodOptional<z.ZodString>;
741
- detail: z.ZodOptional<z.ZodEnum<{
740
+ image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
741
+ detail: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
742
742
  low: "low";
743
743
  high: "high";
744
744
  auto: "auto";
745
- }>>;
745
+ }>>>;
746
746
  }, z.core.$strip>, z.ZodObject<{
747
747
  type: z.ZodLiteral<"input_file">;
748
748
  file_data: z.ZodString;
749
- file_id: z.ZodOptional<z.ZodString>;
750
- file_url: z.ZodOptional<z.ZodString>;
751
- filename: z.ZodOptional<z.ZodString>;
749
+ file_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
750
+ file_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
751
+ filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
752
752
  }, z.core.$strip>, z.ZodObject<{
753
753
  type: z.ZodLiteral<"input_file">;
754
754
  file_id: z.ZodString;
755
- file_data: z.ZodOptional<z.ZodString>;
756
- file_url: z.ZodOptional<z.ZodString>;
757
- filename: z.ZodOptional<z.ZodString>;
755
+ file_data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
756
+ file_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
757
+ filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
758
758
  }, z.core.$strip>, z.ZodObject<{
759
759
  type: z.ZodLiteral<"input_file">;
760
760
  file_url: z.ZodString;
761
- file_data: z.ZodOptional<z.ZodString>;
762
- file_id: z.ZodOptional<z.ZodString>;
763
- filename: z.ZodOptional<z.ZodString>;
761
+ file_data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
762
+ file_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
763
+ filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
764
764
  }, z.core.$strip>, z.ZodObject<{
765
765
  type: z.ZodLiteral<"input_audio">;
766
766
  input_audio: z.ZodObject<{
@@ -779,48 +779,48 @@ export declare const ConversationCreateParamsSchema: z.ZodObject<{
779
779
  webm: "webm";
780
780
  }>;
781
781
  }, z.core.$strip>;
782
- cache_control: z.ZodOptional<z.ZodObject<{
782
+ cache_control: z.ZodOptional<z.ZodNullable<z.ZodObject<{
783
783
  type: z.ZodLiteral<"ephemeral">;
784
784
  ttl: z.ZodOptional<z.ZodEnum<{
785
785
  "5m": "5m";
786
786
  "1h": "1h";
787
787
  "24h": "24h";
788
788
  }>>;
789
- }, z.core.$strip>>;
789
+ }, z.core.$strip>>>;
790
790
  }, z.core.$strip>]>>]>;
791
- status: z.ZodOptional<z.ZodEnum<{
791
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
792
792
  in_progress: "in_progress";
793
793
  completed: "completed";
794
794
  incomplete: "incomplete";
795
- }>>;
796
- extra_content: z.ZodOptional<z.ZodType<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown, z.core.$ZodTypeInternals<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown>>>;
797
- cache_control: z.ZodOptional<z.ZodObject<{
795
+ }>>>;
796
+ extra_content: z.ZodOptional<z.ZodNullable<z.ZodType<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown, z.core.$ZodTypeInternals<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown>>>>;
797
+ cache_control: z.ZodOptional<z.ZodNullable<z.ZodObject<{
798
798
  type: z.ZodLiteral<"ephemeral">;
799
799
  ttl: z.ZodOptional<z.ZodEnum<{
800
800
  "5m": "5m";
801
801
  "1h": "1h";
802
802
  "24h": "24h";
803
803
  }>>;
804
- }, z.core.$strip>>;
804
+ }, z.core.$strip>>>;
805
805
  }, z.core.$strip>, z.ZodObject<{
806
806
  type: z.ZodLiteral<"reasoning">;
807
- id: z.ZodOptional<z.ZodString>;
807
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
808
808
  summary: z.ZodArray<z.ZodObject<{
809
809
  type: z.ZodLiteral<"summary_text">;
810
810
  text: z.ZodString;
811
811
  }, z.core.$strip>>;
812
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{
812
+ content: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
813
813
  type: z.ZodLiteral<"reasoning_text">;
814
814
  text: z.ZodString;
815
- }, z.core.$strip>>>;
816
- encrypted_content: z.ZodOptional<z.ZodString>;
817
- status: z.ZodOptional<z.ZodEnum<{
815
+ }, z.core.$strip>>>>;
816
+ encrypted_content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
817
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
818
818
  in_progress: "in_progress";
819
819
  completed: "completed";
820
820
  incomplete: "incomplete";
821
- }>>;
822
- extra_content: z.ZodOptional<z.ZodType<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown, z.core.$ZodTypeInternals<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown>>>;
823
- signature: z.ZodOptional<z.ZodString>;
821
+ }>>>;
822
+ extra_content: z.ZodOptional<z.ZodNullable<z.ZodType<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown, z.core.$ZodTypeInternals<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown>>>>;
823
+ signature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
824
824
  }, z.core.$strip>], "type">>>;
825
825
  metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>>;
826
826
  }, z.core.$strip>;
@@ -832,21 +832,21 @@ export type ConversationUpdateBody = z.infer<typeof ConversationUpdateBodySchema
832
832
  export declare const ConversationItemsAddBodySchema: z.ZodObject<{
833
833
  items: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion<[z.ZodObject<{
834
834
  type: z.ZodLiteral<"message">;
835
- id: z.ZodOptional<z.ZodString>;
836
- status: z.ZodOptional<z.ZodEnum<{
835
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
836
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
837
837
  in_progress: "in_progress";
838
838
  completed: "completed";
839
839
  incomplete: "incomplete";
840
- }>>;
841
- extra_content: z.ZodOptional<z.ZodType<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown, z.core.$ZodTypeInternals<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown>>>;
842
- cache_control: z.ZodOptional<z.ZodObject<{
840
+ }>>>;
841
+ extra_content: z.ZodOptional<z.ZodNullable<z.ZodType<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown, z.core.$ZodTypeInternals<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown>>>>;
842
+ cache_control: z.ZodOptional<z.ZodNullable<z.ZodObject<{
843
843
  type: z.ZodLiteral<"ephemeral">;
844
844
  ttl: z.ZodOptional<z.ZodEnum<{
845
845
  "5m": "5m";
846
846
  "1h": "1h";
847
847
  "24h": "24h";
848
848
  }>>;
849
- }, z.core.$strip>>;
849
+ }, z.core.$strip>>>;
850
850
  role: z.ZodLiteral<"user">;
851
851
  content: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
852
852
  type: z.ZodLiteral<"input_text">;
@@ -854,39 +854,39 @@ export declare const ConversationItemsAddBodySchema: z.ZodObject<{
854
854
  }, z.core.$strip>, z.ZodObject<{
855
855
  type: z.ZodLiteral<"input_image">;
856
856
  image_url: z.ZodString;
857
- file_id: z.ZodOptional<z.ZodString>;
858
- detail: z.ZodOptional<z.ZodEnum<{
857
+ file_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
858
+ detail: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
859
859
  low: "low";
860
860
  high: "high";
861
861
  auto: "auto";
862
- }>>;
862
+ }>>>;
863
863
  }, z.core.$strip>, z.ZodObject<{
864
864
  type: z.ZodLiteral<"input_image">;
865
865
  file_id: z.ZodString;
866
- image_url: z.ZodOptional<z.ZodString>;
867
- detail: z.ZodOptional<z.ZodEnum<{
866
+ image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
867
+ detail: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
868
868
  low: "low";
869
869
  high: "high";
870
870
  auto: "auto";
871
- }>>;
871
+ }>>>;
872
872
  }, z.core.$strip>, z.ZodObject<{
873
873
  type: z.ZodLiteral<"input_file">;
874
874
  file_data: z.ZodString;
875
- file_id: z.ZodOptional<z.ZodString>;
876
- file_url: z.ZodOptional<z.ZodString>;
877
- filename: z.ZodOptional<z.ZodString>;
875
+ file_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
876
+ file_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
877
+ filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
878
878
  }, z.core.$strip>, z.ZodObject<{
879
879
  type: z.ZodLiteral<"input_file">;
880
880
  file_id: z.ZodString;
881
- file_data: z.ZodOptional<z.ZodString>;
882
- file_url: z.ZodOptional<z.ZodString>;
883
- filename: z.ZodOptional<z.ZodString>;
881
+ file_data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
882
+ file_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
883
+ filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
884
884
  }, z.core.$strip>, z.ZodObject<{
885
885
  type: z.ZodLiteral<"input_file">;
886
886
  file_url: z.ZodString;
887
- file_data: z.ZodOptional<z.ZodString>;
888
- file_id: z.ZodOptional<z.ZodString>;
889
- filename: z.ZodOptional<z.ZodString>;
887
+ file_data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
888
+ file_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
889
+ filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
890
890
  }, z.core.$strip>, z.ZodObject<{
891
891
  type: z.ZodLiteral<"input_audio">;
892
892
  input_audio: z.ZodObject<{
@@ -905,55 +905,55 @@ export declare const ConversationItemsAddBodySchema: z.ZodObject<{
905
905
  webm: "webm";
906
906
  }>;
907
907
  }, z.core.$strip>;
908
- cache_control: z.ZodOptional<z.ZodObject<{
908
+ cache_control: z.ZodOptional<z.ZodNullable<z.ZodObject<{
909
909
  type: z.ZodLiteral<"ephemeral">;
910
910
  ttl: z.ZodOptional<z.ZodEnum<{
911
911
  "5m": "5m";
912
912
  "1h": "1h";
913
913
  "24h": "24h";
914
914
  }>>;
915
- }, z.core.$strip>>;
915
+ }, z.core.$strip>>>;
916
916
  }, z.core.$strip>]>>]>;
917
917
  }, z.core.$strip>, z.ZodObject<{
918
918
  type: z.ZodLiteral<"message">;
919
- id: z.ZodOptional<z.ZodString>;
920
- status: z.ZodOptional<z.ZodEnum<{
919
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
920
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
921
921
  in_progress: "in_progress";
922
922
  completed: "completed";
923
923
  incomplete: "incomplete";
924
- }>>;
925
- extra_content: z.ZodOptional<z.ZodType<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown, z.core.$ZodTypeInternals<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown>>>;
926
- cache_control: z.ZodOptional<z.ZodObject<{
924
+ }>>>;
925
+ extra_content: z.ZodOptional<z.ZodNullable<z.ZodType<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown, z.core.$ZodTypeInternals<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown>>>>;
926
+ cache_control: z.ZodOptional<z.ZodNullable<z.ZodObject<{
927
927
  type: z.ZodLiteral<"ephemeral">;
928
928
  ttl: z.ZodOptional<z.ZodEnum<{
929
929
  "5m": "5m";
930
930
  "1h": "1h";
931
931
  "24h": "24h";
932
932
  }>>;
933
- }, z.core.$strip>>;
933
+ }, z.core.$strip>>>;
934
934
  role: z.ZodLiteral<"assistant">;
935
935
  content: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodObject<{
936
936
  type: z.ZodLiteral<"output_text">;
937
937
  text: z.ZodString;
938
- annotations: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
938
+ annotations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
939
939
  }, z.core.$strip>>]>;
940
940
  }, z.core.$strip>, z.ZodObject<{
941
941
  type: z.ZodLiteral<"message">;
942
- id: z.ZodOptional<z.ZodString>;
943
- status: z.ZodOptional<z.ZodEnum<{
942
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
943
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
944
944
  in_progress: "in_progress";
945
945
  completed: "completed";
946
946
  incomplete: "incomplete";
947
- }>>;
948
- extra_content: z.ZodOptional<z.ZodType<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown, z.core.$ZodTypeInternals<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown>>>;
949
- cache_control: z.ZodOptional<z.ZodObject<{
947
+ }>>>;
948
+ extra_content: z.ZodOptional<z.ZodNullable<z.ZodType<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown, z.core.$ZodTypeInternals<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown>>>>;
949
+ cache_control: z.ZodOptional<z.ZodNullable<z.ZodObject<{
950
950
  type: z.ZodLiteral<"ephemeral">;
951
951
  ttl: z.ZodOptional<z.ZodEnum<{
952
952
  "5m": "5m";
953
953
  "1h": "1h";
954
954
  "24h": "24h";
955
955
  }>>;
956
- }, z.core.$strip>>;
956
+ }, z.core.$strip>>>;
957
957
  role: z.ZodLiteral<"system">;
958
958
  content: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
959
959
  type: z.ZodLiteral<"input_text">;
@@ -961,39 +961,39 @@ export declare const ConversationItemsAddBodySchema: z.ZodObject<{
961
961
  }, z.core.$strip>, z.ZodObject<{
962
962
  type: z.ZodLiteral<"input_image">;
963
963
  image_url: z.ZodString;
964
- file_id: z.ZodOptional<z.ZodString>;
965
- detail: z.ZodOptional<z.ZodEnum<{
964
+ file_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
965
+ detail: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
966
966
  low: "low";
967
967
  high: "high";
968
968
  auto: "auto";
969
- }>>;
969
+ }>>>;
970
970
  }, z.core.$strip>, z.ZodObject<{
971
971
  type: z.ZodLiteral<"input_image">;
972
972
  file_id: z.ZodString;
973
- image_url: z.ZodOptional<z.ZodString>;
974
- detail: z.ZodOptional<z.ZodEnum<{
973
+ image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
974
+ detail: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
975
975
  low: "low";
976
976
  high: "high";
977
977
  auto: "auto";
978
- }>>;
978
+ }>>>;
979
979
  }, z.core.$strip>, z.ZodObject<{
980
980
  type: z.ZodLiteral<"input_file">;
981
981
  file_data: z.ZodString;
982
- file_id: z.ZodOptional<z.ZodString>;
983
- file_url: z.ZodOptional<z.ZodString>;
984
- filename: z.ZodOptional<z.ZodString>;
982
+ file_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
983
+ file_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
984
+ filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
985
985
  }, z.core.$strip>, z.ZodObject<{
986
986
  type: z.ZodLiteral<"input_file">;
987
987
  file_id: z.ZodString;
988
- file_data: z.ZodOptional<z.ZodString>;
989
- file_url: z.ZodOptional<z.ZodString>;
990
- filename: z.ZodOptional<z.ZodString>;
988
+ file_data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
989
+ file_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
990
+ filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
991
991
  }, z.core.$strip>, z.ZodObject<{
992
992
  type: z.ZodLiteral<"input_file">;
993
993
  file_url: z.ZodString;
994
- file_data: z.ZodOptional<z.ZodString>;
995
- file_id: z.ZodOptional<z.ZodString>;
996
- filename: z.ZodOptional<z.ZodString>;
994
+ file_data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
995
+ file_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
996
+ filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
997
997
  }, z.core.$strip>, z.ZodObject<{
998
998
  type: z.ZodLiteral<"input_audio">;
999
999
  input_audio: z.ZodObject<{
@@ -1012,32 +1012,32 @@ export declare const ConversationItemsAddBodySchema: z.ZodObject<{
1012
1012
  webm: "webm";
1013
1013
  }>;
1014
1014
  }, z.core.$strip>;
1015
- cache_control: z.ZodOptional<z.ZodObject<{
1015
+ cache_control: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1016
1016
  type: z.ZodLiteral<"ephemeral">;
1017
1017
  ttl: z.ZodOptional<z.ZodEnum<{
1018
1018
  "5m": "5m";
1019
1019
  "1h": "1h";
1020
1020
  "24h": "24h";
1021
1021
  }>>;
1022
- }, z.core.$strip>>;
1022
+ }, z.core.$strip>>>;
1023
1023
  }, z.core.$strip>]>>]>;
1024
1024
  }, z.core.$strip>, z.ZodObject<{
1025
1025
  type: z.ZodLiteral<"message">;
1026
- id: z.ZodOptional<z.ZodString>;
1027
- status: z.ZodOptional<z.ZodEnum<{
1026
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1027
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1028
1028
  in_progress: "in_progress";
1029
1029
  completed: "completed";
1030
1030
  incomplete: "incomplete";
1031
- }>>;
1032
- extra_content: z.ZodOptional<z.ZodType<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown, z.core.$ZodTypeInternals<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown>>>;
1033
- cache_control: z.ZodOptional<z.ZodObject<{
1031
+ }>>>;
1032
+ extra_content: z.ZodOptional<z.ZodNullable<z.ZodType<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown, z.core.$ZodTypeInternals<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown>>>>;
1033
+ cache_control: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1034
1034
  type: z.ZodLiteral<"ephemeral">;
1035
1035
  ttl: z.ZodOptional<z.ZodEnum<{
1036
1036
  "5m": "5m";
1037
1037
  "1h": "1h";
1038
1038
  "24h": "24h";
1039
1039
  }>>;
1040
- }, z.core.$strip>>;
1040
+ }, z.core.$strip>>>;
1041
1041
  role: z.ZodLiteral<"developer">;
1042
1042
  content: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1043
1043
  type: z.ZodLiteral<"input_text">;
@@ -1045,39 +1045,39 @@ export declare const ConversationItemsAddBodySchema: z.ZodObject<{
1045
1045
  }, z.core.$strip>, z.ZodObject<{
1046
1046
  type: z.ZodLiteral<"input_image">;
1047
1047
  image_url: z.ZodString;
1048
- file_id: z.ZodOptional<z.ZodString>;
1049
- detail: z.ZodOptional<z.ZodEnum<{
1048
+ file_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1049
+ detail: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1050
1050
  low: "low";
1051
1051
  high: "high";
1052
1052
  auto: "auto";
1053
- }>>;
1053
+ }>>>;
1054
1054
  }, z.core.$strip>, z.ZodObject<{
1055
1055
  type: z.ZodLiteral<"input_image">;
1056
1056
  file_id: z.ZodString;
1057
- image_url: z.ZodOptional<z.ZodString>;
1058
- detail: z.ZodOptional<z.ZodEnum<{
1057
+ image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1058
+ detail: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1059
1059
  low: "low";
1060
1060
  high: "high";
1061
1061
  auto: "auto";
1062
- }>>;
1062
+ }>>>;
1063
1063
  }, z.core.$strip>, z.ZodObject<{
1064
1064
  type: z.ZodLiteral<"input_file">;
1065
1065
  file_data: z.ZodString;
1066
- file_id: z.ZodOptional<z.ZodString>;
1067
- file_url: z.ZodOptional<z.ZodString>;
1068
- filename: z.ZodOptional<z.ZodString>;
1066
+ file_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1067
+ file_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1068
+ filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1069
1069
  }, z.core.$strip>, z.ZodObject<{
1070
1070
  type: z.ZodLiteral<"input_file">;
1071
1071
  file_id: z.ZodString;
1072
- file_data: z.ZodOptional<z.ZodString>;
1073
- file_url: z.ZodOptional<z.ZodString>;
1074
- filename: z.ZodOptional<z.ZodString>;
1072
+ file_data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1073
+ file_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1074
+ filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1075
1075
  }, z.core.$strip>, z.ZodObject<{
1076
1076
  type: z.ZodLiteral<"input_file">;
1077
1077
  file_url: z.ZodString;
1078
- file_data: z.ZodOptional<z.ZodString>;
1079
- file_id: z.ZodOptional<z.ZodString>;
1080
- filename: z.ZodOptional<z.ZodString>;
1078
+ file_data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1079
+ file_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1080
+ filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1081
1081
  }, z.core.$strip>, z.ZodObject<{
1082
1082
  type: z.ZodLiteral<"input_audio">;
1083
1083
  input_audio: z.ZodObject<{
@@ -1096,38 +1096,38 @@ export declare const ConversationItemsAddBodySchema: z.ZodObject<{
1096
1096
  webm: "webm";
1097
1097
  }>;
1098
1098
  }, z.core.$strip>;
1099
- cache_control: z.ZodOptional<z.ZodObject<{
1099
+ cache_control: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1100
1100
  type: z.ZodLiteral<"ephemeral">;
1101
1101
  ttl: z.ZodOptional<z.ZodEnum<{
1102
1102
  "5m": "5m";
1103
1103
  "1h": "1h";
1104
1104
  "24h": "24h";
1105
1105
  }>>;
1106
- }, z.core.$strip>>;
1106
+ }, z.core.$strip>>>;
1107
1107
  }, z.core.$strip>]>>]>;
1108
1108
  }, z.core.$strip>], "role">, z.ZodObject<{
1109
1109
  type: z.ZodLiteral<"function_call">;
1110
- id: z.ZodOptional<z.ZodString>;
1110
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1111
1111
  call_id: z.ZodString;
1112
1112
  name: z.ZodString;
1113
1113
  arguments: z.ZodString;
1114
- status: z.ZodOptional<z.ZodEnum<{
1114
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1115
1115
  in_progress: "in_progress";
1116
1116
  completed: "completed";
1117
1117
  incomplete: "incomplete";
1118
- }>>;
1119
- extra_content: z.ZodOptional<z.ZodType<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown, z.core.$ZodTypeInternals<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown>>>;
1120
- cache_control: z.ZodOptional<z.ZodObject<{
1118
+ }>>>;
1119
+ extra_content: z.ZodOptional<z.ZodNullable<z.ZodType<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown, z.core.$ZodTypeInternals<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown>>>>;
1120
+ cache_control: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1121
1121
  type: z.ZodLiteral<"ephemeral">;
1122
1122
  ttl: z.ZodOptional<z.ZodEnum<{
1123
1123
  "5m": "5m";
1124
1124
  "1h": "1h";
1125
1125
  "24h": "24h";
1126
1126
  }>>;
1127
- }, z.core.$strip>>;
1127
+ }, z.core.$strip>>>;
1128
1128
  }, z.core.$strip>, z.ZodObject<{
1129
1129
  type: z.ZodLiteral<"function_call_output">;
1130
- id: z.ZodOptional<z.ZodString>;
1130
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1131
1131
  call_id: z.ZodString;
1132
1132
  output: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1133
1133
  type: z.ZodLiteral<"input_text">;
@@ -1135,39 +1135,39 @@ export declare const ConversationItemsAddBodySchema: z.ZodObject<{
1135
1135
  }, z.core.$strip>, z.ZodObject<{
1136
1136
  type: z.ZodLiteral<"input_image">;
1137
1137
  image_url: z.ZodString;
1138
- file_id: z.ZodOptional<z.ZodString>;
1139
- detail: z.ZodOptional<z.ZodEnum<{
1138
+ file_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1139
+ detail: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1140
1140
  low: "low";
1141
1141
  high: "high";
1142
1142
  auto: "auto";
1143
- }>>;
1143
+ }>>>;
1144
1144
  }, z.core.$strip>, z.ZodObject<{
1145
1145
  type: z.ZodLiteral<"input_image">;
1146
1146
  file_id: z.ZodString;
1147
- image_url: z.ZodOptional<z.ZodString>;
1148
- detail: z.ZodOptional<z.ZodEnum<{
1147
+ image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1148
+ detail: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1149
1149
  low: "low";
1150
1150
  high: "high";
1151
1151
  auto: "auto";
1152
- }>>;
1152
+ }>>>;
1153
1153
  }, z.core.$strip>, z.ZodObject<{
1154
1154
  type: z.ZodLiteral<"input_file">;
1155
1155
  file_data: z.ZodString;
1156
- file_id: z.ZodOptional<z.ZodString>;
1157
- file_url: z.ZodOptional<z.ZodString>;
1158
- filename: z.ZodOptional<z.ZodString>;
1156
+ file_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1157
+ file_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1158
+ filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1159
1159
  }, z.core.$strip>, z.ZodObject<{
1160
1160
  type: z.ZodLiteral<"input_file">;
1161
1161
  file_id: z.ZodString;
1162
- file_data: z.ZodOptional<z.ZodString>;
1163
- file_url: z.ZodOptional<z.ZodString>;
1164
- filename: z.ZodOptional<z.ZodString>;
1162
+ file_data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1163
+ file_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1164
+ filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1165
1165
  }, z.core.$strip>, z.ZodObject<{
1166
1166
  type: z.ZodLiteral<"input_file">;
1167
1167
  file_url: z.ZodString;
1168
- file_data: z.ZodOptional<z.ZodString>;
1169
- file_id: z.ZodOptional<z.ZodString>;
1170
- filename: z.ZodOptional<z.ZodString>;
1168
+ file_data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1169
+ file_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1170
+ filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1171
1171
  }, z.core.$strip>, z.ZodObject<{
1172
1172
  type: z.ZodLiteral<"input_audio">;
1173
1173
  input_audio: z.ZodObject<{
@@ -1186,48 +1186,48 @@ export declare const ConversationItemsAddBodySchema: z.ZodObject<{
1186
1186
  webm: "webm";
1187
1187
  }>;
1188
1188
  }, z.core.$strip>;
1189
- cache_control: z.ZodOptional<z.ZodObject<{
1189
+ cache_control: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1190
1190
  type: z.ZodLiteral<"ephemeral">;
1191
1191
  ttl: z.ZodOptional<z.ZodEnum<{
1192
1192
  "5m": "5m";
1193
1193
  "1h": "1h";
1194
1194
  "24h": "24h";
1195
1195
  }>>;
1196
- }, z.core.$strip>>;
1196
+ }, z.core.$strip>>>;
1197
1197
  }, z.core.$strip>]>>]>;
1198
- status: z.ZodOptional<z.ZodEnum<{
1198
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1199
1199
  in_progress: "in_progress";
1200
1200
  completed: "completed";
1201
1201
  incomplete: "incomplete";
1202
- }>>;
1203
- extra_content: z.ZodOptional<z.ZodType<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown, z.core.$ZodTypeInternals<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown>>>;
1204
- cache_control: z.ZodOptional<z.ZodObject<{
1202
+ }>>>;
1203
+ extra_content: z.ZodOptional<z.ZodNullable<z.ZodType<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown, z.core.$ZodTypeInternals<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown>>>>;
1204
+ cache_control: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1205
1205
  type: z.ZodLiteral<"ephemeral">;
1206
1206
  ttl: z.ZodOptional<z.ZodEnum<{
1207
1207
  "5m": "5m";
1208
1208
  "1h": "1h";
1209
1209
  "24h": "24h";
1210
1210
  }>>;
1211
- }, z.core.$strip>>;
1211
+ }, z.core.$strip>>>;
1212
1212
  }, z.core.$strip>, z.ZodObject<{
1213
1213
  type: z.ZodLiteral<"reasoning">;
1214
- id: z.ZodOptional<z.ZodString>;
1214
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1215
1215
  summary: z.ZodArray<z.ZodObject<{
1216
1216
  type: z.ZodLiteral<"summary_text">;
1217
1217
  text: z.ZodString;
1218
1218
  }, z.core.$strip>>;
1219
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{
1219
+ content: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
1220
1220
  type: z.ZodLiteral<"reasoning_text">;
1221
1221
  text: z.ZodString;
1222
- }, z.core.$strip>>>;
1223
- encrypted_content: z.ZodOptional<z.ZodString>;
1224
- status: z.ZodOptional<z.ZodEnum<{
1222
+ }, z.core.$strip>>>>;
1223
+ encrypted_content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1224
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1225
1225
  in_progress: "in_progress";
1226
1226
  completed: "completed";
1227
1227
  incomplete: "incomplete";
1228
- }>>;
1229
- extra_content: z.ZodOptional<z.ZodType<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown, z.core.$ZodTypeInternals<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown>>>;
1230
- signature: z.ZodOptional<z.ZodString>;
1228
+ }>>>;
1229
+ extra_content: z.ZodOptional<z.ZodNullable<z.ZodType<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown, z.core.$ZodTypeInternals<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown>>>>;
1230
+ signature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1231
1231
  }, z.core.$strip>], "type">>;
1232
1232
  }, z.core.$strip>;
1233
1233
  export type ConversationItemsAddBody = z.infer<typeof ConversationItemsAddBodySchema>;
@@ -1239,21 +1239,21 @@ export declare const ConversationItemListSchema: z.ZodObject<{
1239
1239
  created_at: z.ZodNumber;
1240
1240
  }, z.core.$loose>, z.ZodDiscriminatedUnion<[z.ZodDiscriminatedUnion<[z.ZodObject<{
1241
1241
  type: z.ZodLiteral<"message">;
1242
- id: z.ZodOptional<z.ZodString>;
1243
- status: z.ZodOptional<z.ZodEnum<{
1242
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1243
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1244
1244
  in_progress: "in_progress";
1245
1245
  completed: "completed";
1246
1246
  incomplete: "incomplete";
1247
- }>>;
1248
- extra_content: z.ZodOptional<z.ZodType<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown, z.core.$ZodTypeInternals<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown>>>;
1249
- cache_control: z.ZodOptional<z.ZodObject<{
1247
+ }>>>;
1248
+ extra_content: z.ZodOptional<z.ZodNullable<z.ZodType<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown, z.core.$ZodTypeInternals<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown>>>>;
1249
+ cache_control: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1250
1250
  type: z.ZodLiteral<"ephemeral">;
1251
1251
  ttl: z.ZodOptional<z.ZodEnum<{
1252
1252
  "5m": "5m";
1253
1253
  "1h": "1h";
1254
1254
  "24h": "24h";
1255
1255
  }>>;
1256
- }, z.core.$strip>>;
1256
+ }, z.core.$strip>>>;
1257
1257
  role: z.ZodLiteral<"user">;
1258
1258
  content: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1259
1259
  type: z.ZodLiteral<"input_text">;
@@ -1261,39 +1261,39 @@ export declare const ConversationItemListSchema: z.ZodObject<{
1261
1261
  }, z.core.$strip>, z.ZodObject<{
1262
1262
  type: z.ZodLiteral<"input_image">;
1263
1263
  image_url: z.ZodString;
1264
- file_id: z.ZodOptional<z.ZodString>;
1265
- detail: z.ZodOptional<z.ZodEnum<{
1264
+ file_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1265
+ detail: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1266
1266
  low: "low";
1267
1267
  high: "high";
1268
1268
  auto: "auto";
1269
- }>>;
1269
+ }>>>;
1270
1270
  }, z.core.$strip>, z.ZodObject<{
1271
1271
  type: z.ZodLiteral<"input_image">;
1272
1272
  file_id: z.ZodString;
1273
- image_url: z.ZodOptional<z.ZodString>;
1274
- detail: z.ZodOptional<z.ZodEnum<{
1273
+ image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1274
+ detail: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1275
1275
  low: "low";
1276
1276
  high: "high";
1277
1277
  auto: "auto";
1278
- }>>;
1278
+ }>>>;
1279
1279
  }, z.core.$strip>, z.ZodObject<{
1280
1280
  type: z.ZodLiteral<"input_file">;
1281
1281
  file_data: z.ZodString;
1282
- file_id: z.ZodOptional<z.ZodString>;
1283
- file_url: z.ZodOptional<z.ZodString>;
1284
- filename: z.ZodOptional<z.ZodString>;
1282
+ file_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1283
+ file_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1284
+ filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1285
1285
  }, z.core.$strip>, z.ZodObject<{
1286
1286
  type: z.ZodLiteral<"input_file">;
1287
1287
  file_id: z.ZodString;
1288
- file_data: z.ZodOptional<z.ZodString>;
1289
- file_url: z.ZodOptional<z.ZodString>;
1290
- filename: z.ZodOptional<z.ZodString>;
1288
+ file_data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1289
+ file_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1290
+ filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1291
1291
  }, z.core.$strip>, z.ZodObject<{
1292
1292
  type: z.ZodLiteral<"input_file">;
1293
1293
  file_url: z.ZodString;
1294
- file_data: z.ZodOptional<z.ZodString>;
1295
- file_id: z.ZodOptional<z.ZodString>;
1296
- filename: z.ZodOptional<z.ZodString>;
1294
+ file_data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1295
+ file_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1296
+ filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1297
1297
  }, z.core.$strip>, z.ZodObject<{
1298
1298
  type: z.ZodLiteral<"input_audio">;
1299
1299
  input_audio: z.ZodObject<{
@@ -1312,55 +1312,55 @@ export declare const ConversationItemListSchema: z.ZodObject<{
1312
1312
  webm: "webm";
1313
1313
  }>;
1314
1314
  }, z.core.$strip>;
1315
- cache_control: z.ZodOptional<z.ZodObject<{
1315
+ cache_control: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1316
1316
  type: z.ZodLiteral<"ephemeral">;
1317
1317
  ttl: z.ZodOptional<z.ZodEnum<{
1318
1318
  "5m": "5m";
1319
1319
  "1h": "1h";
1320
1320
  "24h": "24h";
1321
1321
  }>>;
1322
- }, z.core.$strip>>;
1322
+ }, z.core.$strip>>>;
1323
1323
  }, z.core.$strip>]>>]>;
1324
1324
  }, z.core.$strip>, z.ZodObject<{
1325
1325
  type: z.ZodLiteral<"message">;
1326
- id: z.ZodOptional<z.ZodString>;
1327
- status: z.ZodOptional<z.ZodEnum<{
1326
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1327
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1328
1328
  in_progress: "in_progress";
1329
1329
  completed: "completed";
1330
1330
  incomplete: "incomplete";
1331
- }>>;
1332
- extra_content: z.ZodOptional<z.ZodType<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown, z.core.$ZodTypeInternals<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown>>>;
1333
- cache_control: z.ZodOptional<z.ZodObject<{
1331
+ }>>>;
1332
+ extra_content: z.ZodOptional<z.ZodNullable<z.ZodType<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown, z.core.$ZodTypeInternals<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown>>>>;
1333
+ cache_control: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1334
1334
  type: z.ZodLiteral<"ephemeral">;
1335
1335
  ttl: z.ZodOptional<z.ZodEnum<{
1336
1336
  "5m": "5m";
1337
1337
  "1h": "1h";
1338
1338
  "24h": "24h";
1339
1339
  }>>;
1340
- }, z.core.$strip>>;
1340
+ }, z.core.$strip>>>;
1341
1341
  role: z.ZodLiteral<"assistant">;
1342
1342
  content: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodObject<{
1343
1343
  type: z.ZodLiteral<"output_text">;
1344
1344
  text: z.ZodString;
1345
- annotations: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
1345
+ annotations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
1346
1346
  }, z.core.$strip>>]>;
1347
1347
  }, z.core.$strip>, z.ZodObject<{
1348
1348
  type: z.ZodLiteral<"message">;
1349
- id: z.ZodOptional<z.ZodString>;
1350
- status: z.ZodOptional<z.ZodEnum<{
1349
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1350
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1351
1351
  in_progress: "in_progress";
1352
1352
  completed: "completed";
1353
1353
  incomplete: "incomplete";
1354
- }>>;
1355
- extra_content: z.ZodOptional<z.ZodType<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown, z.core.$ZodTypeInternals<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown>>>;
1356
- cache_control: z.ZodOptional<z.ZodObject<{
1354
+ }>>>;
1355
+ extra_content: z.ZodOptional<z.ZodNullable<z.ZodType<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown, z.core.$ZodTypeInternals<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown>>>>;
1356
+ cache_control: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1357
1357
  type: z.ZodLiteral<"ephemeral">;
1358
1358
  ttl: z.ZodOptional<z.ZodEnum<{
1359
1359
  "5m": "5m";
1360
1360
  "1h": "1h";
1361
1361
  "24h": "24h";
1362
1362
  }>>;
1363
- }, z.core.$strip>>;
1363
+ }, z.core.$strip>>>;
1364
1364
  role: z.ZodLiteral<"system">;
1365
1365
  content: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1366
1366
  type: z.ZodLiteral<"input_text">;
@@ -1368,39 +1368,39 @@ export declare const ConversationItemListSchema: z.ZodObject<{
1368
1368
  }, z.core.$strip>, z.ZodObject<{
1369
1369
  type: z.ZodLiteral<"input_image">;
1370
1370
  image_url: z.ZodString;
1371
- file_id: z.ZodOptional<z.ZodString>;
1372
- detail: z.ZodOptional<z.ZodEnum<{
1371
+ file_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1372
+ detail: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1373
1373
  low: "low";
1374
1374
  high: "high";
1375
1375
  auto: "auto";
1376
- }>>;
1376
+ }>>>;
1377
1377
  }, z.core.$strip>, z.ZodObject<{
1378
1378
  type: z.ZodLiteral<"input_image">;
1379
1379
  file_id: z.ZodString;
1380
- image_url: z.ZodOptional<z.ZodString>;
1381
- detail: z.ZodOptional<z.ZodEnum<{
1380
+ image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1381
+ detail: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1382
1382
  low: "low";
1383
1383
  high: "high";
1384
1384
  auto: "auto";
1385
- }>>;
1385
+ }>>>;
1386
1386
  }, z.core.$strip>, z.ZodObject<{
1387
1387
  type: z.ZodLiteral<"input_file">;
1388
1388
  file_data: z.ZodString;
1389
- file_id: z.ZodOptional<z.ZodString>;
1390
- file_url: z.ZodOptional<z.ZodString>;
1391
- filename: z.ZodOptional<z.ZodString>;
1389
+ file_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1390
+ file_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1391
+ filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1392
1392
  }, z.core.$strip>, z.ZodObject<{
1393
1393
  type: z.ZodLiteral<"input_file">;
1394
1394
  file_id: z.ZodString;
1395
- file_data: z.ZodOptional<z.ZodString>;
1396
- file_url: z.ZodOptional<z.ZodString>;
1397
- filename: z.ZodOptional<z.ZodString>;
1395
+ file_data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1396
+ file_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1397
+ filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1398
1398
  }, z.core.$strip>, z.ZodObject<{
1399
1399
  type: z.ZodLiteral<"input_file">;
1400
1400
  file_url: z.ZodString;
1401
- file_data: z.ZodOptional<z.ZodString>;
1402
- file_id: z.ZodOptional<z.ZodString>;
1403
- filename: z.ZodOptional<z.ZodString>;
1401
+ file_data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1402
+ file_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1403
+ filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1404
1404
  }, z.core.$strip>, z.ZodObject<{
1405
1405
  type: z.ZodLiteral<"input_audio">;
1406
1406
  input_audio: z.ZodObject<{
@@ -1419,32 +1419,32 @@ export declare const ConversationItemListSchema: z.ZodObject<{
1419
1419
  webm: "webm";
1420
1420
  }>;
1421
1421
  }, z.core.$strip>;
1422
- cache_control: z.ZodOptional<z.ZodObject<{
1422
+ cache_control: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1423
1423
  type: z.ZodLiteral<"ephemeral">;
1424
1424
  ttl: z.ZodOptional<z.ZodEnum<{
1425
1425
  "5m": "5m";
1426
1426
  "1h": "1h";
1427
1427
  "24h": "24h";
1428
1428
  }>>;
1429
- }, z.core.$strip>>;
1429
+ }, z.core.$strip>>>;
1430
1430
  }, z.core.$strip>]>>]>;
1431
1431
  }, z.core.$strip>, z.ZodObject<{
1432
1432
  type: z.ZodLiteral<"message">;
1433
- id: z.ZodOptional<z.ZodString>;
1434
- status: z.ZodOptional<z.ZodEnum<{
1433
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1434
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1435
1435
  in_progress: "in_progress";
1436
1436
  completed: "completed";
1437
1437
  incomplete: "incomplete";
1438
- }>>;
1439
- extra_content: z.ZodOptional<z.ZodType<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown, z.core.$ZodTypeInternals<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown>>>;
1440
- cache_control: z.ZodOptional<z.ZodObject<{
1438
+ }>>>;
1439
+ extra_content: z.ZodOptional<z.ZodNullable<z.ZodType<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown, z.core.$ZodTypeInternals<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown>>>>;
1440
+ cache_control: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1441
1441
  type: z.ZodLiteral<"ephemeral">;
1442
1442
  ttl: z.ZodOptional<z.ZodEnum<{
1443
1443
  "5m": "5m";
1444
1444
  "1h": "1h";
1445
1445
  "24h": "24h";
1446
1446
  }>>;
1447
- }, z.core.$strip>>;
1447
+ }, z.core.$strip>>>;
1448
1448
  role: z.ZodLiteral<"developer">;
1449
1449
  content: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1450
1450
  type: z.ZodLiteral<"input_text">;
@@ -1452,39 +1452,39 @@ export declare const ConversationItemListSchema: z.ZodObject<{
1452
1452
  }, z.core.$strip>, z.ZodObject<{
1453
1453
  type: z.ZodLiteral<"input_image">;
1454
1454
  image_url: z.ZodString;
1455
- file_id: z.ZodOptional<z.ZodString>;
1456
- detail: z.ZodOptional<z.ZodEnum<{
1455
+ file_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1456
+ detail: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1457
1457
  low: "low";
1458
1458
  high: "high";
1459
1459
  auto: "auto";
1460
- }>>;
1460
+ }>>>;
1461
1461
  }, z.core.$strip>, z.ZodObject<{
1462
1462
  type: z.ZodLiteral<"input_image">;
1463
1463
  file_id: z.ZodString;
1464
- image_url: z.ZodOptional<z.ZodString>;
1465
- detail: z.ZodOptional<z.ZodEnum<{
1464
+ image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1465
+ detail: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1466
1466
  low: "low";
1467
1467
  high: "high";
1468
1468
  auto: "auto";
1469
- }>>;
1469
+ }>>>;
1470
1470
  }, z.core.$strip>, z.ZodObject<{
1471
1471
  type: z.ZodLiteral<"input_file">;
1472
1472
  file_data: z.ZodString;
1473
- file_id: z.ZodOptional<z.ZodString>;
1474
- file_url: z.ZodOptional<z.ZodString>;
1475
- filename: z.ZodOptional<z.ZodString>;
1473
+ file_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1474
+ file_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1475
+ filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1476
1476
  }, z.core.$strip>, z.ZodObject<{
1477
1477
  type: z.ZodLiteral<"input_file">;
1478
1478
  file_id: z.ZodString;
1479
- file_data: z.ZodOptional<z.ZodString>;
1480
- file_url: z.ZodOptional<z.ZodString>;
1481
- filename: z.ZodOptional<z.ZodString>;
1479
+ file_data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1480
+ file_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1481
+ filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1482
1482
  }, z.core.$strip>, z.ZodObject<{
1483
1483
  type: z.ZodLiteral<"input_file">;
1484
1484
  file_url: z.ZodString;
1485
- file_data: z.ZodOptional<z.ZodString>;
1486
- file_id: z.ZodOptional<z.ZodString>;
1487
- filename: z.ZodOptional<z.ZodString>;
1485
+ file_data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1486
+ file_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1487
+ filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1488
1488
  }, z.core.$strip>, z.ZodObject<{
1489
1489
  type: z.ZodLiteral<"input_audio">;
1490
1490
  input_audio: z.ZodObject<{
@@ -1503,38 +1503,38 @@ export declare const ConversationItemListSchema: z.ZodObject<{
1503
1503
  webm: "webm";
1504
1504
  }>;
1505
1505
  }, z.core.$strip>;
1506
- cache_control: z.ZodOptional<z.ZodObject<{
1506
+ cache_control: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1507
1507
  type: z.ZodLiteral<"ephemeral">;
1508
1508
  ttl: z.ZodOptional<z.ZodEnum<{
1509
1509
  "5m": "5m";
1510
1510
  "1h": "1h";
1511
1511
  "24h": "24h";
1512
1512
  }>>;
1513
- }, z.core.$strip>>;
1513
+ }, z.core.$strip>>>;
1514
1514
  }, z.core.$strip>]>>]>;
1515
1515
  }, z.core.$strip>], "role">, z.ZodObject<{
1516
1516
  type: z.ZodLiteral<"function_call">;
1517
- id: z.ZodOptional<z.ZodString>;
1517
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1518
1518
  call_id: z.ZodString;
1519
1519
  name: z.ZodString;
1520
1520
  arguments: z.ZodString;
1521
- status: z.ZodOptional<z.ZodEnum<{
1521
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1522
1522
  in_progress: "in_progress";
1523
1523
  completed: "completed";
1524
1524
  incomplete: "incomplete";
1525
- }>>;
1526
- extra_content: z.ZodOptional<z.ZodType<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown, z.core.$ZodTypeInternals<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown>>>;
1527
- cache_control: z.ZodOptional<z.ZodObject<{
1525
+ }>>>;
1526
+ extra_content: z.ZodOptional<z.ZodNullable<z.ZodType<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown, z.core.$ZodTypeInternals<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown>>>>;
1527
+ cache_control: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1528
1528
  type: z.ZodLiteral<"ephemeral">;
1529
1529
  ttl: z.ZodOptional<z.ZodEnum<{
1530
1530
  "5m": "5m";
1531
1531
  "1h": "1h";
1532
1532
  "24h": "24h";
1533
1533
  }>>;
1534
- }, z.core.$strip>>;
1534
+ }, z.core.$strip>>>;
1535
1535
  }, z.core.$strip>, z.ZodObject<{
1536
1536
  type: z.ZodLiteral<"function_call_output">;
1537
- id: z.ZodOptional<z.ZodString>;
1537
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1538
1538
  call_id: z.ZodString;
1539
1539
  output: z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1540
1540
  type: z.ZodLiteral<"input_text">;
@@ -1542,39 +1542,39 @@ export declare const ConversationItemListSchema: z.ZodObject<{
1542
1542
  }, z.core.$strip>, z.ZodObject<{
1543
1543
  type: z.ZodLiteral<"input_image">;
1544
1544
  image_url: z.ZodString;
1545
- file_id: z.ZodOptional<z.ZodString>;
1546
- detail: z.ZodOptional<z.ZodEnum<{
1545
+ file_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1546
+ detail: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1547
1547
  low: "low";
1548
1548
  high: "high";
1549
1549
  auto: "auto";
1550
- }>>;
1550
+ }>>>;
1551
1551
  }, z.core.$strip>, z.ZodObject<{
1552
1552
  type: z.ZodLiteral<"input_image">;
1553
1553
  file_id: z.ZodString;
1554
- image_url: z.ZodOptional<z.ZodString>;
1555
- detail: z.ZodOptional<z.ZodEnum<{
1554
+ image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1555
+ detail: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1556
1556
  low: "low";
1557
1557
  high: "high";
1558
1558
  auto: "auto";
1559
- }>>;
1559
+ }>>>;
1560
1560
  }, z.core.$strip>, z.ZodObject<{
1561
1561
  type: z.ZodLiteral<"input_file">;
1562
1562
  file_data: z.ZodString;
1563
- file_id: z.ZodOptional<z.ZodString>;
1564
- file_url: z.ZodOptional<z.ZodString>;
1565
- filename: z.ZodOptional<z.ZodString>;
1563
+ file_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1564
+ file_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1565
+ filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1566
1566
  }, z.core.$strip>, z.ZodObject<{
1567
1567
  type: z.ZodLiteral<"input_file">;
1568
1568
  file_id: z.ZodString;
1569
- file_data: z.ZodOptional<z.ZodString>;
1570
- file_url: z.ZodOptional<z.ZodString>;
1571
- filename: z.ZodOptional<z.ZodString>;
1569
+ file_data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1570
+ file_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1571
+ filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1572
1572
  }, z.core.$strip>, z.ZodObject<{
1573
1573
  type: z.ZodLiteral<"input_file">;
1574
1574
  file_url: z.ZodString;
1575
- file_data: z.ZodOptional<z.ZodString>;
1576
- file_id: z.ZodOptional<z.ZodString>;
1577
- filename: z.ZodOptional<z.ZodString>;
1575
+ file_data: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1576
+ file_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1577
+ filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1578
1578
  }, z.core.$strip>, z.ZodObject<{
1579
1579
  type: z.ZodLiteral<"input_audio">;
1580
1580
  input_audio: z.ZodObject<{
@@ -1593,48 +1593,48 @@ export declare const ConversationItemListSchema: z.ZodObject<{
1593
1593
  webm: "webm";
1594
1594
  }>;
1595
1595
  }, z.core.$strip>;
1596
- cache_control: z.ZodOptional<z.ZodObject<{
1596
+ cache_control: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1597
1597
  type: z.ZodLiteral<"ephemeral">;
1598
1598
  ttl: z.ZodOptional<z.ZodEnum<{
1599
1599
  "5m": "5m";
1600
1600
  "1h": "1h";
1601
1601
  "24h": "24h";
1602
1602
  }>>;
1603
- }, z.core.$strip>>;
1603
+ }, z.core.$strip>>>;
1604
1604
  }, z.core.$strip>]>>]>;
1605
- status: z.ZodOptional<z.ZodEnum<{
1605
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1606
1606
  in_progress: "in_progress";
1607
1607
  completed: "completed";
1608
1608
  incomplete: "incomplete";
1609
- }>>;
1610
- extra_content: z.ZodOptional<z.ZodType<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown, z.core.$ZodTypeInternals<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown>>>;
1611
- cache_control: z.ZodOptional<z.ZodObject<{
1609
+ }>>>;
1610
+ extra_content: z.ZodOptional<z.ZodNullable<z.ZodType<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown, z.core.$ZodTypeInternals<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown>>>>;
1611
+ cache_control: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1612
1612
  type: z.ZodLiteral<"ephemeral">;
1613
1613
  ttl: z.ZodOptional<z.ZodEnum<{
1614
1614
  "5m": "5m";
1615
1615
  "1h": "1h";
1616
1616
  "24h": "24h";
1617
1617
  }>>;
1618
- }, z.core.$strip>>;
1618
+ }, z.core.$strip>>>;
1619
1619
  }, z.core.$strip>, z.ZodObject<{
1620
1620
  type: z.ZodLiteral<"reasoning">;
1621
- id: z.ZodOptional<z.ZodString>;
1621
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1622
1622
  summary: z.ZodArray<z.ZodObject<{
1623
1623
  type: z.ZodLiteral<"summary_text">;
1624
1624
  text: z.ZodString;
1625
1625
  }, z.core.$strip>>;
1626
- content: z.ZodOptional<z.ZodArray<z.ZodObject<{
1626
+ content: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
1627
1627
  type: z.ZodLiteral<"reasoning_text">;
1628
1628
  text: z.ZodString;
1629
- }, z.core.$strip>>>;
1630
- encrypted_content: z.ZodOptional<z.ZodString>;
1631
- status: z.ZodOptional<z.ZodEnum<{
1629
+ }, z.core.$strip>>>>;
1630
+ encrypted_content: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1631
+ status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1632
1632
  in_progress: "in_progress";
1633
1633
  completed: "completed";
1634
1634
  incomplete: "incomplete";
1635
- }>>;
1636
- extra_content: z.ZodOptional<z.ZodType<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown, z.core.$ZodTypeInternals<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown>>>;
1637
- signature: z.ZodOptional<z.ZodString>;
1635
+ }>>>;
1636
+ extra_content: z.ZodOptional<z.ZodNullable<z.ZodType<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown, z.core.$ZodTypeInternals<import("@ai-sdk/provider").SharedV3ProviderMetadata, unknown>>>>;
1637
+ signature: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1638
1638
  }, z.core.$strip>], "type">>>;
1639
1639
  has_more: z.ZodBoolean;
1640
1640
  first_id: z.ZodOptional<z.ZodString>;
@@ -1663,7 +1663,7 @@ export declare const ConversationItemListParamsSchema: z.ZodObject<{
1663
1663
  }>>;
1664
1664
  }, z.core.$strip>;
1665
1665
  export type ConversationItemListParams = z.infer<typeof ConversationItemListParamsSchema>;
1666
- export declare const ConversationListParamsSchema: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodObject<{
1666
+ export declare const ConversationListParamsSchema: z.ZodPreprocess<z.ZodObject<{
1667
1667
  after: z.ZodOptional<z.ZodString>;
1668
1668
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
1669
1669
  order: z.ZodDefault<z.ZodEnum<{