@corsair-dev/gmail 0.1.1 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -90,364 +90,157 @@ export declare const gmailEndpointSchemas: {
90
90
  q: import("zod").ZodOptional<import("zod").ZodString>;
91
91
  maxResults: import("zod").ZodOptional<import("zod").ZodNumber>;
92
92
  pageToken: import("zod").ZodOptional<import("zod").ZodString>;
93
- labelIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
93
+ labelIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
94
94
  includeSpamTrash: import("zod").ZodOptional<import("zod").ZodBoolean>;
95
- }, "strip", import("zod").ZodTypeAny, {
96
- userId?: string | undefined;
97
- q?: string | undefined;
98
- maxResults?: number | undefined;
99
- pageToken?: string | undefined;
100
- labelIds?: string[] | undefined;
101
- includeSpamTrash?: boolean | undefined;
102
- }, {
103
- userId?: string | undefined;
104
- q?: string | undefined;
105
- maxResults?: number | undefined;
106
- pageToken?: string | undefined;
107
- labelIds?: string[] | undefined;
108
- includeSpamTrash?: boolean | undefined;
109
- }>;
95
+ }, import("zod/v4/core").$strip>;
110
96
  readonly output: import("zod").ZodObject<{
111
97
  messages: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
112
98
  id: import("zod").ZodOptional<import("zod").ZodString>;
113
99
  threadId: import("zod").ZodOptional<import("zod").ZodString>;
114
- labelIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
100
+ labelIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
115
101
  snippet: import("zod").ZodOptional<import("zod").ZodString>;
116
102
  historyId: import("zod").ZodOptional<import("zod").ZodString>;
117
- internalDate: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodDate]>, Date | null, string | number | Date>>>;
103
+ internalDate: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodDate]>, import("zod").ZodTransform<Date | null, string | number | Date>>>>;
118
104
  sizeEstimate: import("zod").ZodOptional<import("zod").ZodNumber>;
119
- payload: import("zod").ZodOptional<import("zod").ZodType<import("./endpoints").MessagePartShape, import("zod").ZodTypeDef, import("./endpoints").MessagePartShape>>;
105
+ payload: import("zod").ZodOptional<import("zod").ZodType<import("./endpoints").MessagePartShape, unknown, import("zod/v4/core").$ZodTypeInternals<import("./endpoints").MessagePartShape, unknown>>>;
120
106
  raw: import("zod").ZodOptional<import("zod").ZodString>;
121
- }, "strip", import("zod").ZodTypeAny, {
122
- labelIds?: string[] | undefined;
123
- id?: string | undefined;
124
- raw?: string | undefined;
125
- threadId?: string | undefined;
126
- snippet?: string | undefined;
127
- historyId?: string | undefined;
128
- internalDate?: Date | null | undefined;
129
- sizeEstimate?: number | undefined;
130
- payload?: import("./endpoints").MessagePartShape | undefined;
131
- }, {
132
- labelIds?: string[] | undefined;
133
- id?: string | undefined;
134
- raw?: string | undefined;
135
- threadId?: string | undefined;
136
- snippet?: string | undefined;
137
- historyId?: string | undefined;
138
- internalDate?: string | number | Date | null | undefined;
139
- sizeEstimate?: number | undefined;
140
- payload?: import("./endpoints").MessagePartShape | undefined;
141
- }>, "many">>;
107
+ }, import("zod/v4/core").$strip>>>;
142
108
  nextPageToken: import("zod").ZodOptional<import("zod").ZodString>;
143
109
  resultSizeEstimate: import("zod").ZodOptional<import("zod").ZodNumber>;
144
- }, "strip", import("zod").ZodTypeAny, {
145
- messages?: {
146
- labelIds?: string[] | undefined;
147
- id?: string | undefined;
148
- raw?: string | undefined;
149
- threadId?: string | undefined;
150
- snippet?: string | undefined;
151
- historyId?: string | undefined;
152
- internalDate?: Date | null | undefined;
153
- sizeEstimate?: number | undefined;
154
- payload?: import("./endpoints").MessagePartShape | undefined;
155
- }[] | undefined;
156
- nextPageToken?: string | undefined;
157
- resultSizeEstimate?: number | undefined;
158
- }, {
159
- messages?: {
160
- labelIds?: string[] | undefined;
161
- id?: string | undefined;
162
- raw?: string | undefined;
163
- threadId?: string | undefined;
164
- snippet?: string | undefined;
165
- historyId?: string | undefined;
166
- internalDate?: string | number | Date | null | undefined;
167
- sizeEstimate?: number | undefined;
168
- payload?: import("./endpoints").MessagePartShape | undefined;
169
- }[] | undefined;
170
- nextPageToken?: string | undefined;
171
- resultSizeEstimate?: number | undefined;
172
- }>;
110
+ }, import("zod/v4/core").$strip>;
173
111
  };
174
112
  readonly 'messages.get': {
175
113
  readonly input: import("zod").ZodObject<{
176
114
  userId: import("zod").ZodOptional<import("zod").ZodString>;
177
115
  id: import("zod").ZodString;
178
- format: import("zod").ZodOptional<import("zod").ZodEnum<["minimal", "full", "raw", "metadata"]>>;
179
- metadataHeaders: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
180
- }, "strip", import("zod").ZodTypeAny, {
181
- id: string;
182
- userId?: string | undefined;
183
- format?: "minimal" | "full" | "raw" | "metadata" | undefined;
184
- metadataHeaders?: string[] | undefined;
185
- }, {
186
- id: string;
187
- userId?: string | undefined;
188
- format?: "minimal" | "full" | "raw" | "metadata" | undefined;
189
- metadataHeaders?: string[] | undefined;
190
- }>;
116
+ format: import("zod").ZodOptional<import("zod").ZodEnum<{
117
+ raw: "raw";
118
+ minimal: "minimal";
119
+ full: "full";
120
+ metadata: "metadata";
121
+ }>>;
122
+ metadataHeaders: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
123
+ }, import("zod/v4/core").$strip>;
191
124
  readonly output: import("zod").ZodObject<{
192
125
  id: import("zod").ZodOptional<import("zod").ZodString>;
193
126
  threadId: import("zod").ZodOptional<import("zod").ZodString>;
194
- labelIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
127
+ labelIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
195
128
  snippet: import("zod").ZodOptional<import("zod").ZodString>;
196
129
  historyId: import("zod").ZodOptional<import("zod").ZodString>;
197
- internalDate: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodDate]>, Date | null, string | number | Date>>>;
130
+ internalDate: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodDate]>, import("zod").ZodTransform<Date | null, string | number | Date>>>>;
198
131
  sizeEstimate: import("zod").ZodOptional<import("zod").ZodNumber>;
199
- payload: import("zod").ZodOptional<import("zod").ZodType<import("./endpoints").MessagePartShape, import("zod").ZodTypeDef, import("./endpoints").MessagePartShape>>;
132
+ payload: import("zod").ZodOptional<import("zod").ZodType<import("./endpoints").MessagePartShape, unknown, import("zod/v4/core").$ZodTypeInternals<import("./endpoints").MessagePartShape, unknown>>>;
200
133
  raw: import("zod").ZodOptional<import("zod").ZodString>;
201
- }, "strip", import("zod").ZodTypeAny, {
202
- labelIds?: string[] | undefined;
203
- id?: string | undefined;
204
- raw?: string | undefined;
205
- threadId?: string | undefined;
206
- snippet?: string | undefined;
207
- historyId?: string | undefined;
208
- internalDate?: Date | null | undefined;
209
- sizeEstimate?: number | undefined;
210
- payload?: import("./endpoints").MessagePartShape | undefined;
211
- }, {
212
- labelIds?: string[] | undefined;
213
- id?: string | undefined;
214
- raw?: string | undefined;
215
- threadId?: string | undefined;
216
- snippet?: string | undefined;
217
- historyId?: string | undefined;
218
- internalDate?: string | number | Date | null | undefined;
219
- sizeEstimate?: number | undefined;
220
- payload?: import("./endpoints").MessagePartShape | undefined;
221
- }>;
134
+ }, import("zod/v4/core").$strip>;
222
135
  };
223
136
  readonly 'messages.send': {
224
137
  readonly input: import("zod").ZodObject<{
225
138
  userId: import("zod").ZodOptional<import("zod").ZodString>;
226
139
  raw: import("zod").ZodString;
227
140
  threadId: import("zod").ZodOptional<import("zod").ZodString>;
228
- }, "strip", import("zod").ZodTypeAny, {
229
- raw: string;
230
- userId?: string | undefined;
231
- threadId?: string | undefined;
232
- }, {
233
- raw: string;
234
- userId?: string | undefined;
235
- threadId?: string | undefined;
236
- }>;
141
+ }, import("zod/v4/core").$strip>;
237
142
  readonly output: import("zod").ZodObject<{
238
143
  id: import("zod").ZodOptional<import("zod").ZodString>;
239
144
  threadId: import("zod").ZodOptional<import("zod").ZodString>;
240
- labelIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
145
+ labelIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
241
146
  snippet: import("zod").ZodOptional<import("zod").ZodString>;
242
147
  historyId: import("zod").ZodOptional<import("zod").ZodString>;
243
- internalDate: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodDate]>, Date | null, string | number | Date>>>;
148
+ internalDate: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodDate]>, import("zod").ZodTransform<Date | null, string | number | Date>>>>;
244
149
  sizeEstimate: import("zod").ZodOptional<import("zod").ZodNumber>;
245
- payload: import("zod").ZodOptional<import("zod").ZodType<import("./endpoints").MessagePartShape, import("zod").ZodTypeDef, import("./endpoints").MessagePartShape>>;
150
+ payload: import("zod").ZodOptional<import("zod").ZodType<import("./endpoints").MessagePartShape, unknown, import("zod/v4/core").$ZodTypeInternals<import("./endpoints").MessagePartShape, unknown>>>;
246
151
  raw: import("zod").ZodOptional<import("zod").ZodString>;
247
- }, "strip", import("zod").ZodTypeAny, {
248
- labelIds?: string[] | undefined;
249
- id?: string | undefined;
250
- raw?: string | undefined;
251
- threadId?: string | undefined;
252
- snippet?: string | undefined;
253
- historyId?: string | undefined;
254
- internalDate?: Date | null | undefined;
255
- sizeEstimate?: number | undefined;
256
- payload?: import("./endpoints").MessagePartShape | undefined;
257
- }, {
258
- labelIds?: string[] | undefined;
259
- id?: string | undefined;
260
- raw?: string | undefined;
261
- threadId?: string | undefined;
262
- snippet?: string | undefined;
263
- historyId?: string | undefined;
264
- internalDate?: string | number | Date | null | undefined;
265
- sizeEstimate?: number | undefined;
266
- payload?: import("./endpoints").MessagePartShape | undefined;
267
- }>;
152
+ }, import("zod/v4/core").$strip>;
268
153
  };
269
154
  readonly 'messages.delete': {
270
155
  readonly input: import("zod").ZodObject<{
271
156
  userId: import("zod").ZodOptional<import("zod").ZodString>;
272
157
  id: import("zod").ZodString;
273
- }, "strip", import("zod").ZodTypeAny, {
274
- id: string;
275
- userId?: string | undefined;
276
- }, {
277
- id: string;
278
- userId?: string | undefined;
279
- }>;
158
+ }, import("zod/v4/core").$strip>;
280
159
  readonly output: import("zod").ZodVoid;
281
160
  };
282
161
  readonly 'messages.modify': {
283
162
  readonly input: import("zod").ZodObject<{
284
163
  userId: import("zod").ZodOptional<import("zod").ZodString>;
285
164
  id: import("zod").ZodString;
286
- addLabelIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
287
- removeLabelIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
288
- }, "strip", import("zod").ZodTypeAny, {
289
- id: string;
290
- userId?: string | undefined;
291
- addLabelIds?: string[] | undefined;
292
- removeLabelIds?: string[] | undefined;
293
- }, {
294
- id: string;
295
- userId?: string | undefined;
296
- addLabelIds?: string[] | undefined;
297
- removeLabelIds?: string[] | undefined;
298
- }>;
165
+ addLabelIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
166
+ removeLabelIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
167
+ }, import("zod/v4/core").$strip>;
299
168
  readonly output: import("zod").ZodObject<{
300
169
  id: import("zod").ZodOptional<import("zod").ZodString>;
301
170
  threadId: import("zod").ZodOptional<import("zod").ZodString>;
302
- labelIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
171
+ labelIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
303
172
  snippet: import("zod").ZodOptional<import("zod").ZodString>;
304
173
  historyId: import("zod").ZodOptional<import("zod").ZodString>;
305
- internalDate: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodDate]>, Date | null, string | number | Date>>>;
174
+ internalDate: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodDate]>, import("zod").ZodTransform<Date | null, string | number | Date>>>>;
306
175
  sizeEstimate: import("zod").ZodOptional<import("zod").ZodNumber>;
307
- payload: import("zod").ZodOptional<import("zod").ZodType<import("./endpoints").MessagePartShape, import("zod").ZodTypeDef, import("./endpoints").MessagePartShape>>;
176
+ payload: import("zod").ZodOptional<import("zod").ZodType<import("./endpoints").MessagePartShape, unknown, import("zod/v4/core").$ZodTypeInternals<import("./endpoints").MessagePartShape, unknown>>>;
308
177
  raw: import("zod").ZodOptional<import("zod").ZodString>;
309
- }, "strip", import("zod").ZodTypeAny, {
310
- labelIds?: string[] | undefined;
311
- id?: string | undefined;
312
- raw?: string | undefined;
313
- threadId?: string | undefined;
314
- snippet?: string | undefined;
315
- historyId?: string | undefined;
316
- internalDate?: Date | null | undefined;
317
- sizeEstimate?: number | undefined;
318
- payload?: import("./endpoints").MessagePartShape | undefined;
319
- }, {
320
- labelIds?: string[] | undefined;
321
- id?: string | undefined;
322
- raw?: string | undefined;
323
- threadId?: string | undefined;
324
- snippet?: string | undefined;
325
- historyId?: string | undefined;
326
- internalDate?: string | number | Date | null | undefined;
327
- sizeEstimate?: number | undefined;
328
- payload?: import("./endpoints").MessagePartShape | undefined;
329
- }>;
178
+ }, import("zod/v4/core").$strip>;
330
179
  };
331
180
  readonly 'messages.batchModify': {
332
181
  readonly input: import("zod").ZodObject<{
333
182
  userId: import("zod").ZodOptional<import("zod").ZodString>;
334
- ids: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
335
- addLabelIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
336
- removeLabelIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
337
- }, "strip", import("zod").ZodTypeAny, {
338
- userId?: string | undefined;
339
- addLabelIds?: string[] | undefined;
340
- removeLabelIds?: string[] | undefined;
341
- ids?: string[] | undefined;
342
- }, {
343
- userId?: string | undefined;
344
- addLabelIds?: string[] | undefined;
345
- removeLabelIds?: string[] | undefined;
346
- ids?: string[] | undefined;
347
- }>;
183
+ ids: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
184
+ addLabelIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
185
+ removeLabelIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
186
+ }, import("zod/v4/core").$strip>;
348
187
  readonly output: import("zod").ZodVoid;
349
188
  };
350
189
  readonly 'messages.trash': {
351
190
  readonly input: import("zod").ZodObject<{
352
191
  userId: import("zod").ZodOptional<import("zod").ZodString>;
353
192
  id: import("zod").ZodString;
354
- }, "strip", import("zod").ZodTypeAny, {
355
- id: string;
356
- userId?: string | undefined;
357
- }, {
358
- id: string;
359
- userId?: string | undefined;
360
- }>;
193
+ }, import("zod/v4/core").$strip>;
361
194
  readonly output: import("zod").ZodObject<{
362
195
  id: import("zod").ZodOptional<import("zod").ZodString>;
363
196
  threadId: import("zod").ZodOptional<import("zod").ZodString>;
364
- labelIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
197
+ labelIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
365
198
  snippet: import("zod").ZodOptional<import("zod").ZodString>;
366
199
  historyId: import("zod").ZodOptional<import("zod").ZodString>;
367
- internalDate: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodDate]>, Date | null, string | number | Date>>>;
200
+ internalDate: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodDate]>, import("zod").ZodTransform<Date | null, string | number | Date>>>>;
368
201
  sizeEstimate: import("zod").ZodOptional<import("zod").ZodNumber>;
369
- payload: import("zod").ZodOptional<import("zod").ZodType<import("./endpoints").MessagePartShape, import("zod").ZodTypeDef, import("./endpoints").MessagePartShape>>;
202
+ payload: import("zod").ZodOptional<import("zod").ZodType<import("./endpoints").MessagePartShape, unknown, import("zod/v4/core").$ZodTypeInternals<import("./endpoints").MessagePartShape, unknown>>>;
370
203
  raw: import("zod").ZodOptional<import("zod").ZodString>;
371
- }, "strip", import("zod").ZodTypeAny, {
372
- labelIds?: string[] | undefined;
373
- id?: string | undefined;
374
- raw?: string | undefined;
375
- threadId?: string | undefined;
376
- snippet?: string | undefined;
377
- historyId?: string | undefined;
378
- internalDate?: Date | null | undefined;
379
- sizeEstimate?: number | undefined;
380
- payload?: import("./endpoints").MessagePartShape | undefined;
381
- }, {
382
- labelIds?: string[] | undefined;
383
- id?: string | undefined;
384
- raw?: string | undefined;
385
- threadId?: string | undefined;
386
- snippet?: string | undefined;
387
- historyId?: string | undefined;
388
- internalDate?: string | number | Date | null | undefined;
389
- sizeEstimate?: number | undefined;
390
- payload?: import("./endpoints").MessagePartShape | undefined;
391
- }>;
204
+ }, import("zod/v4/core").$strip>;
392
205
  };
393
206
  readonly 'messages.untrash': {
394
207
  readonly input: import("zod").ZodObject<{
395
208
  userId: import("zod").ZodOptional<import("zod").ZodString>;
396
209
  id: import("zod").ZodString;
397
- }, "strip", import("zod").ZodTypeAny, {
398
- id: string;
399
- userId?: string | undefined;
400
- }, {
401
- id: string;
402
- userId?: string | undefined;
403
- }>;
210
+ }, import("zod/v4/core").$strip>;
404
211
  readonly output: import("zod").ZodObject<{
405
212
  id: import("zod").ZodOptional<import("zod").ZodString>;
406
213
  threadId: import("zod").ZodOptional<import("zod").ZodString>;
407
- labelIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
214
+ labelIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
408
215
  snippet: import("zod").ZodOptional<import("zod").ZodString>;
409
216
  historyId: import("zod").ZodOptional<import("zod").ZodString>;
410
- internalDate: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodDate]>, Date | null, string | number | Date>>>;
217
+ internalDate: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodDate]>, import("zod").ZodTransform<Date | null, string | number | Date>>>>;
411
218
  sizeEstimate: import("zod").ZodOptional<import("zod").ZodNumber>;
412
- payload: import("zod").ZodOptional<import("zod").ZodType<import("./endpoints").MessagePartShape, import("zod").ZodTypeDef, import("./endpoints").MessagePartShape>>;
219
+ payload: import("zod").ZodOptional<import("zod").ZodType<import("./endpoints").MessagePartShape, unknown, import("zod/v4/core").$ZodTypeInternals<import("./endpoints").MessagePartShape, unknown>>>;
413
220
  raw: import("zod").ZodOptional<import("zod").ZodString>;
414
- }, "strip", import("zod").ZodTypeAny, {
415
- labelIds?: string[] | undefined;
416
- id?: string | undefined;
417
- raw?: string | undefined;
418
- threadId?: string | undefined;
419
- snippet?: string | undefined;
420
- historyId?: string | undefined;
421
- internalDate?: Date | null | undefined;
422
- sizeEstimate?: number | undefined;
423
- payload?: import("./endpoints").MessagePartShape | undefined;
424
- }, {
425
- labelIds?: string[] | undefined;
426
- id?: string | undefined;
427
- raw?: string | undefined;
428
- threadId?: string | undefined;
429
- snippet?: string | undefined;
430
- historyId?: string | undefined;
431
- internalDate?: string | number | Date | null | undefined;
432
- sizeEstimate?: number | undefined;
433
- payload?: import("./endpoints").MessagePartShape | undefined;
434
- }>;
221
+ }, import("zod/v4/core").$strip>;
435
222
  };
436
223
  readonly 'labels.list': {
437
224
  readonly input: import("zod").ZodObject<{
438
225
  userId: import("zod").ZodOptional<import("zod").ZodString>;
439
- }, "strip", import("zod").ZodTypeAny, {
440
- userId?: string | undefined;
441
- }, {
442
- userId?: string | undefined;
443
- }>;
226
+ }, import("zod/v4/core").$strip>;
444
227
  readonly output: import("zod").ZodObject<{
445
228
  labels: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
446
229
  id: import("zod").ZodOptional<import("zod").ZodString>;
447
230
  name: import("zod").ZodOptional<import("zod").ZodString>;
448
- messageListVisibility: import("zod").ZodOptional<import("zod").ZodEnum<["show", "hide"]>>;
449
- labelListVisibility: import("zod").ZodOptional<import("zod").ZodEnum<["labelShow", "labelShowIfUnread", "labelHide"]>>;
450
- type: import("zod").ZodOptional<import("zod").ZodEnum<["system", "user"]>>;
231
+ messageListVisibility: import("zod").ZodOptional<import("zod").ZodEnum<{
232
+ show: "show";
233
+ hide: "hide";
234
+ }>>;
235
+ labelListVisibility: import("zod").ZodOptional<import("zod").ZodEnum<{
236
+ labelShow: "labelShow";
237
+ labelShowIfUnread: "labelShowIfUnread";
238
+ labelHide: "labelHide";
239
+ }>>;
240
+ type: import("zod").ZodOptional<import("zod").ZodEnum<{
241
+ system: "system";
242
+ user: "user";
243
+ }>>;
451
244
  messagesTotal: import("zod").ZodOptional<import("zod").ZodNumber>;
452
245
  messagesUnread: import("zod").ZodOptional<import("zod").ZodNumber>;
453
246
  threadsTotal: import("zod").ZodOptional<import("zod").ZodNumber>;
@@ -455,93 +248,31 @@ export declare const gmailEndpointSchemas: {
455
248
  color: import("zod").ZodOptional<import("zod").ZodObject<{
456
249
  textColor: import("zod").ZodOptional<import("zod").ZodString>;
457
250
  backgroundColor: import("zod").ZodOptional<import("zod").ZodString>;
458
- }, "strip", import("zod").ZodTypeAny, {
459
- textColor?: string | undefined;
460
- backgroundColor?: string | undefined;
461
- }, {
462
- textColor?: string | undefined;
463
- backgroundColor?: string | undefined;
464
- }>>;
465
- }, "strip", import("zod").ZodTypeAny, {
466
- type?: "system" | "user" | undefined;
467
- id?: string | undefined;
468
- name?: string | undefined;
469
- messageListVisibility?: "show" | "hide" | undefined;
470
- labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
471
- color?: {
472
- textColor?: string | undefined;
473
- backgroundColor?: string | undefined;
474
- } | undefined;
475
- messagesTotal?: number | undefined;
476
- messagesUnread?: number | undefined;
477
- threadsTotal?: number | undefined;
478
- threadsUnread?: number | undefined;
479
- }, {
480
- type?: "system" | "user" | undefined;
481
- id?: string | undefined;
482
- name?: string | undefined;
483
- messageListVisibility?: "show" | "hide" | undefined;
484
- labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
485
- color?: {
486
- textColor?: string | undefined;
487
- backgroundColor?: string | undefined;
488
- } | undefined;
489
- messagesTotal?: number | undefined;
490
- messagesUnread?: number | undefined;
491
- threadsTotal?: number | undefined;
492
- threadsUnread?: number | undefined;
493
- }>, "many">>;
494
- }, "strip", import("zod").ZodTypeAny, {
495
- labels?: {
496
- type?: "system" | "user" | undefined;
497
- id?: string | undefined;
498
- name?: string | undefined;
499
- messageListVisibility?: "show" | "hide" | undefined;
500
- labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
501
- color?: {
502
- textColor?: string | undefined;
503
- backgroundColor?: string | undefined;
504
- } | undefined;
505
- messagesTotal?: number | undefined;
506
- messagesUnread?: number | undefined;
507
- threadsTotal?: number | undefined;
508
- threadsUnread?: number | undefined;
509
- }[] | undefined;
510
- }, {
511
- labels?: {
512
- type?: "system" | "user" | undefined;
513
- id?: string | undefined;
514
- name?: string | undefined;
515
- messageListVisibility?: "show" | "hide" | undefined;
516
- labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
517
- color?: {
518
- textColor?: string | undefined;
519
- backgroundColor?: string | undefined;
520
- } | undefined;
521
- messagesTotal?: number | undefined;
522
- messagesUnread?: number | undefined;
523
- threadsTotal?: number | undefined;
524
- threadsUnread?: number | undefined;
525
- }[] | undefined;
526
- }>;
251
+ }, import("zod/v4/core").$strip>>;
252
+ }, import("zod/v4/core").$strip>>>;
253
+ }, import("zod/v4/core").$strip>;
527
254
  };
528
255
  readonly 'labels.get': {
529
256
  readonly input: import("zod").ZodObject<{
530
257
  userId: import("zod").ZodOptional<import("zod").ZodString>;
531
258
  id: import("zod").ZodString;
532
- }, "strip", import("zod").ZodTypeAny, {
533
- id: string;
534
- userId?: string | undefined;
535
- }, {
536
- id: string;
537
- userId?: string | undefined;
538
- }>;
259
+ }, import("zod/v4/core").$strip>;
539
260
  readonly output: import("zod").ZodObject<{
540
261
  id: import("zod").ZodOptional<import("zod").ZodString>;
541
262
  name: import("zod").ZodOptional<import("zod").ZodString>;
542
- messageListVisibility: import("zod").ZodOptional<import("zod").ZodEnum<["show", "hide"]>>;
543
- labelListVisibility: import("zod").ZodOptional<import("zod").ZodEnum<["labelShow", "labelShowIfUnread", "labelHide"]>>;
544
- type: import("zod").ZodOptional<import("zod").ZodEnum<["system", "user"]>>;
263
+ messageListVisibility: import("zod").ZodOptional<import("zod").ZodEnum<{
264
+ show: "show";
265
+ hide: "hide";
266
+ }>>;
267
+ labelListVisibility: import("zod").ZodOptional<import("zod").ZodEnum<{
268
+ labelShow: "labelShow";
269
+ labelShowIfUnread: "labelShowIfUnread";
270
+ labelHide: "labelHide";
271
+ }>>;
272
+ type: import("zod").ZodOptional<import("zod").ZodEnum<{
273
+ system: "system";
274
+ user: "user";
275
+ }>>;
545
276
  messagesTotal: import("zod").ZodOptional<import("zod").ZodNumber>;
546
277
  messagesUnread: import("zod").ZodOptional<import("zod").ZodNumber>;
547
278
  threadsTotal: import("zod").ZodOptional<import("zod").ZodNumber>;
@@ -549,106 +280,45 @@ export declare const gmailEndpointSchemas: {
549
280
  color: import("zod").ZodOptional<import("zod").ZodObject<{
550
281
  textColor: import("zod").ZodOptional<import("zod").ZodString>;
551
282
  backgroundColor: import("zod").ZodOptional<import("zod").ZodString>;
552
- }, "strip", import("zod").ZodTypeAny, {
553
- textColor?: string | undefined;
554
- backgroundColor?: string | undefined;
555
- }, {
556
- textColor?: string | undefined;
557
- backgroundColor?: string | undefined;
558
- }>>;
559
- }, "strip", import("zod").ZodTypeAny, {
560
- type?: "system" | "user" | undefined;
561
- id?: string | undefined;
562
- name?: string | undefined;
563
- messageListVisibility?: "show" | "hide" | undefined;
564
- labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
565
- color?: {
566
- textColor?: string | undefined;
567
- backgroundColor?: string | undefined;
568
- } | undefined;
569
- messagesTotal?: number | undefined;
570
- messagesUnread?: number | undefined;
571
- threadsTotal?: number | undefined;
572
- threadsUnread?: number | undefined;
573
- }, {
574
- type?: "system" | "user" | undefined;
575
- id?: string | undefined;
576
- name?: string | undefined;
577
- messageListVisibility?: "show" | "hide" | undefined;
578
- labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
579
- color?: {
580
- textColor?: string | undefined;
581
- backgroundColor?: string | undefined;
582
- } | undefined;
583
- messagesTotal?: number | undefined;
584
- messagesUnread?: number | undefined;
585
- threadsTotal?: number | undefined;
586
- threadsUnread?: number | undefined;
587
- }>;
283
+ }, import("zod/v4/core").$strip>>;
284
+ }, import("zod/v4/core").$strip>;
588
285
  };
589
286
  readonly 'labels.create': {
590
287
  readonly input: import("zod").ZodObject<{
591
288
  userId: import("zod").ZodOptional<import("zod").ZodString>;
592
289
  label: import("zod").ZodObject<{
593
290
  name: import("zod").ZodOptional<import("zod").ZodString>;
594
- messageListVisibility: import("zod").ZodOptional<import("zod").ZodEnum<["show", "hide"]>>;
595
- labelListVisibility: import("zod").ZodOptional<import("zod").ZodEnum<["labelShow", "labelShowIfUnread", "labelHide"]>>;
291
+ messageListVisibility: import("zod").ZodOptional<import("zod").ZodEnum<{
292
+ show: "show";
293
+ hide: "hide";
294
+ }>>;
295
+ labelListVisibility: import("zod").ZodOptional<import("zod").ZodEnum<{
296
+ labelShow: "labelShow";
297
+ labelShowIfUnread: "labelShowIfUnread";
298
+ labelHide: "labelHide";
299
+ }>>;
596
300
  color: import("zod").ZodOptional<import("zod").ZodObject<{
597
301
  textColor: import("zod").ZodOptional<import("zod").ZodString>;
598
302
  backgroundColor: import("zod").ZodOptional<import("zod").ZodString>;
599
- }, "strip", import("zod").ZodTypeAny, {
600
- textColor?: string | undefined;
601
- backgroundColor?: string | undefined;
602
- }, {
603
- textColor?: string | undefined;
604
- backgroundColor?: string | undefined;
605
- }>>;
606
- }, "strip", import("zod").ZodTypeAny, {
607
- name?: string | undefined;
608
- messageListVisibility?: "show" | "hide" | undefined;
609
- labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
610
- color?: {
611
- textColor?: string | undefined;
612
- backgroundColor?: string | undefined;
613
- } | undefined;
614
- }, {
615
- name?: string | undefined;
616
- messageListVisibility?: "show" | "hide" | undefined;
617
- labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
618
- color?: {
619
- textColor?: string | undefined;
620
- backgroundColor?: string | undefined;
621
- } | undefined;
622
- }>;
623
- }, "strip", import("zod").ZodTypeAny, {
624
- label: {
625
- name?: string | undefined;
626
- messageListVisibility?: "show" | "hide" | undefined;
627
- labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
628
- color?: {
629
- textColor?: string | undefined;
630
- backgroundColor?: string | undefined;
631
- } | undefined;
632
- };
633
- userId?: string | undefined;
634
- }, {
635
- label: {
636
- name?: string | undefined;
637
- messageListVisibility?: "show" | "hide" | undefined;
638
- labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
639
- color?: {
640
- textColor?: string | undefined;
641
- backgroundColor?: string | undefined;
642
- } | undefined;
643
- };
644
- userId?: string | undefined;
645
- }>;
303
+ }, import("zod/v4/core").$strip>>;
304
+ }, import("zod/v4/core").$strip>;
305
+ }, import("zod/v4/core").$strip>;
646
306
  readonly output: import("zod").ZodObject<{
647
307
  id: import("zod").ZodOptional<import("zod").ZodString>;
648
308
  name: import("zod").ZodOptional<import("zod").ZodString>;
649
- messageListVisibility: import("zod").ZodOptional<import("zod").ZodEnum<["show", "hide"]>>;
650
- labelListVisibility: import("zod").ZodOptional<import("zod").ZodEnum<["labelShow", "labelShowIfUnread", "labelHide"]>>;
651
- type: import("zod").ZodOptional<import("zod").ZodEnum<["system", "user"]>>;
309
+ messageListVisibility: import("zod").ZodOptional<import("zod").ZodEnum<{
310
+ show: "show";
311
+ hide: "hide";
312
+ }>>;
313
+ labelListVisibility: import("zod").ZodOptional<import("zod").ZodEnum<{
314
+ labelShow: "labelShow";
315
+ labelShowIfUnread: "labelShowIfUnread";
316
+ labelHide: "labelHide";
317
+ }>>;
318
+ type: import("zod").ZodOptional<import("zod").ZodEnum<{
319
+ system: "system";
320
+ user: "user";
321
+ }>>;
652
322
  messagesTotal: import("zod").ZodOptional<import("zod").ZodNumber>;
653
323
  messagesUnread: import("zod").ZodOptional<import("zod").ZodNumber>;
654
324
  threadsTotal: import("zod").ZodOptional<import("zod").ZodNumber>;
@@ -656,42 +326,8 @@ export declare const gmailEndpointSchemas: {
656
326
  color: import("zod").ZodOptional<import("zod").ZodObject<{
657
327
  textColor: import("zod").ZodOptional<import("zod").ZodString>;
658
328
  backgroundColor: import("zod").ZodOptional<import("zod").ZodString>;
659
- }, "strip", import("zod").ZodTypeAny, {
660
- textColor?: string | undefined;
661
- backgroundColor?: string | undefined;
662
- }, {
663
- textColor?: string | undefined;
664
- backgroundColor?: string | undefined;
665
- }>>;
666
- }, "strip", import("zod").ZodTypeAny, {
667
- type?: "system" | "user" | undefined;
668
- id?: string | undefined;
669
- name?: string | undefined;
670
- messageListVisibility?: "show" | "hide" | undefined;
671
- labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
672
- color?: {
673
- textColor?: string | undefined;
674
- backgroundColor?: string | undefined;
675
- } | undefined;
676
- messagesTotal?: number | undefined;
677
- messagesUnread?: number | undefined;
678
- threadsTotal?: number | undefined;
679
- threadsUnread?: number | undefined;
680
- }, {
681
- type?: "system" | "user" | undefined;
682
- id?: string | undefined;
683
- name?: string | undefined;
684
- messageListVisibility?: "show" | "hide" | undefined;
685
- labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
686
- color?: {
687
- textColor?: string | undefined;
688
- backgroundColor?: string | undefined;
689
- } | undefined;
690
- messagesTotal?: number | undefined;
691
- messagesUnread?: number | undefined;
692
- threadsTotal?: number | undefined;
693
- threadsUnread?: number | undefined;
694
- }>;
329
+ }, import("zod/v4/core").$strip>>;
330
+ }, import("zod/v4/core").$strip>;
695
331
  };
696
332
  readonly 'labels.update': {
697
333
  readonly input: import("zod").ZodObject<{
@@ -699,66 +335,37 @@ export declare const gmailEndpointSchemas: {
699
335
  id: import("zod").ZodString;
700
336
  label: import("zod").ZodObject<{
701
337
  name: import("zod").ZodOptional<import("zod").ZodString>;
702
- messageListVisibility: import("zod").ZodOptional<import("zod").ZodEnum<["show", "hide"]>>;
703
- labelListVisibility: import("zod").ZodOptional<import("zod").ZodEnum<["labelShow", "labelShowIfUnread", "labelHide"]>>;
338
+ messageListVisibility: import("zod").ZodOptional<import("zod").ZodEnum<{
339
+ show: "show";
340
+ hide: "hide";
341
+ }>>;
342
+ labelListVisibility: import("zod").ZodOptional<import("zod").ZodEnum<{
343
+ labelShow: "labelShow";
344
+ labelShowIfUnread: "labelShowIfUnread";
345
+ labelHide: "labelHide";
346
+ }>>;
704
347
  color: import("zod").ZodOptional<import("zod").ZodObject<{
705
348
  textColor: import("zod").ZodOptional<import("zod").ZodString>;
706
349
  backgroundColor: import("zod").ZodOptional<import("zod").ZodString>;
707
- }, "strip", import("zod").ZodTypeAny, {
708
- textColor?: string | undefined;
709
- backgroundColor?: string | undefined;
710
- }, {
711
- textColor?: string | undefined;
712
- backgroundColor?: string | undefined;
713
- }>>;
714
- }, "strip", import("zod").ZodTypeAny, {
715
- name?: string | undefined;
716
- messageListVisibility?: "show" | "hide" | undefined;
717
- labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
718
- color?: {
719
- textColor?: string | undefined;
720
- backgroundColor?: string | undefined;
721
- } | undefined;
722
- }, {
723
- name?: string | undefined;
724
- messageListVisibility?: "show" | "hide" | undefined;
725
- labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
726
- color?: {
727
- textColor?: string | undefined;
728
- backgroundColor?: string | undefined;
729
- } | undefined;
730
- }>;
731
- }, "strip", import("zod").ZodTypeAny, {
732
- id: string;
733
- label: {
734
- name?: string | undefined;
735
- messageListVisibility?: "show" | "hide" | undefined;
736
- labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
737
- color?: {
738
- textColor?: string | undefined;
739
- backgroundColor?: string | undefined;
740
- } | undefined;
741
- };
742
- userId?: string | undefined;
743
- }, {
744
- id: string;
745
- label: {
746
- name?: string | undefined;
747
- messageListVisibility?: "show" | "hide" | undefined;
748
- labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
749
- color?: {
750
- textColor?: string | undefined;
751
- backgroundColor?: string | undefined;
752
- } | undefined;
753
- };
754
- userId?: string | undefined;
755
- }>;
350
+ }, import("zod/v4/core").$strip>>;
351
+ }, import("zod/v4/core").$strip>;
352
+ }, import("zod/v4/core").$strip>;
756
353
  readonly output: import("zod").ZodObject<{
757
354
  id: import("zod").ZodOptional<import("zod").ZodString>;
758
355
  name: import("zod").ZodOptional<import("zod").ZodString>;
759
- messageListVisibility: import("zod").ZodOptional<import("zod").ZodEnum<["show", "hide"]>>;
760
- labelListVisibility: import("zod").ZodOptional<import("zod").ZodEnum<["labelShow", "labelShowIfUnread", "labelHide"]>>;
761
- type: import("zod").ZodOptional<import("zod").ZodEnum<["system", "user"]>>;
356
+ messageListVisibility: import("zod").ZodOptional<import("zod").ZodEnum<{
357
+ show: "show";
358
+ hide: "hide";
359
+ }>>;
360
+ labelListVisibility: import("zod").ZodOptional<import("zod").ZodEnum<{
361
+ labelShow: "labelShow";
362
+ labelShowIfUnread: "labelShowIfUnread";
363
+ labelHide: "labelHide";
364
+ }>>;
365
+ type: import("zod").ZodOptional<import("zod").ZodEnum<{
366
+ system: "system";
367
+ user: "user";
368
+ }>>;
762
369
  messagesTotal: import("zod").ZodOptional<import("zod").ZodNumber>;
763
370
  messagesUnread: import("zod").ZodOptional<import("zod").ZodNumber>;
764
371
  threadsTotal: import("zod").ZodOptional<import("zod").ZodNumber>;
@@ -766,54 +373,14 @@ export declare const gmailEndpointSchemas: {
766
373
  color: import("zod").ZodOptional<import("zod").ZodObject<{
767
374
  textColor: import("zod").ZodOptional<import("zod").ZodString>;
768
375
  backgroundColor: import("zod").ZodOptional<import("zod").ZodString>;
769
- }, "strip", import("zod").ZodTypeAny, {
770
- textColor?: string | undefined;
771
- backgroundColor?: string | undefined;
772
- }, {
773
- textColor?: string | undefined;
774
- backgroundColor?: string | undefined;
775
- }>>;
776
- }, "strip", import("zod").ZodTypeAny, {
777
- type?: "system" | "user" | undefined;
778
- id?: string | undefined;
779
- name?: string | undefined;
780
- messageListVisibility?: "show" | "hide" | undefined;
781
- labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
782
- color?: {
783
- textColor?: string | undefined;
784
- backgroundColor?: string | undefined;
785
- } | undefined;
786
- messagesTotal?: number | undefined;
787
- messagesUnread?: number | undefined;
788
- threadsTotal?: number | undefined;
789
- threadsUnread?: number | undefined;
790
- }, {
791
- type?: "system" | "user" | undefined;
792
- id?: string | undefined;
793
- name?: string | undefined;
794
- messageListVisibility?: "show" | "hide" | undefined;
795
- labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
796
- color?: {
797
- textColor?: string | undefined;
798
- backgroundColor?: string | undefined;
799
- } | undefined;
800
- messagesTotal?: number | undefined;
801
- messagesUnread?: number | undefined;
802
- threadsTotal?: number | undefined;
803
- threadsUnread?: number | undefined;
804
- }>;
376
+ }, import("zod/v4/core").$strip>>;
377
+ }, import("zod/v4/core").$strip>;
805
378
  };
806
379
  readonly 'labels.delete': {
807
380
  readonly input: import("zod").ZodObject<{
808
381
  userId: import("zod").ZodOptional<import("zod").ZodString>;
809
382
  id: import("zod").ZodString;
810
- }, "strip", import("zod").ZodTypeAny, {
811
- id: string;
812
- userId?: string | undefined;
813
- }, {
814
- id: string;
815
- userId?: string | undefined;
816
- }>;
383
+ }, import("zod/v4/core").$strip>;
817
384
  readonly output: import("zod").ZodVoid;
818
385
  };
819
386
  readonly 'drafts.list': {
@@ -822,411 +389,108 @@ export declare const gmailEndpointSchemas: {
822
389
  maxResults: import("zod").ZodOptional<import("zod").ZodNumber>;
823
390
  pageToken: import("zod").ZodOptional<import("zod").ZodString>;
824
391
  q: import("zod").ZodOptional<import("zod").ZodString>;
825
- }, "strip", import("zod").ZodTypeAny, {
826
- userId?: string | undefined;
827
- q?: string | undefined;
828
- maxResults?: number | undefined;
829
- pageToken?: string | undefined;
830
- }, {
831
- userId?: string | undefined;
832
- q?: string | undefined;
833
- maxResults?: number | undefined;
834
- pageToken?: string | undefined;
835
- }>;
392
+ }, import("zod/v4/core").$strip>;
836
393
  readonly output: import("zod").ZodObject<{
837
394
  drafts: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
838
395
  id: import("zod").ZodOptional<import("zod").ZodString>;
839
396
  message: import("zod").ZodOptional<import("zod").ZodObject<{
840
397
  id: import("zod").ZodOptional<import("zod").ZodString>;
841
398
  threadId: import("zod").ZodOptional<import("zod").ZodString>;
842
- labelIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
399
+ labelIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
843
400
  snippet: import("zod").ZodOptional<import("zod").ZodString>;
844
401
  historyId: import("zod").ZodOptional<import("zod").ZodString>;
845
- internalDate: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodDate]>, Date | null, string | number | Date>>>;
402
+ internalDate: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodDate]>, import("zod").ZodTransform<Date | null, string | number | Date>>>>;
846
403
  sizeEstimate: import("zod").ZodOptional<import("zod").ZodNumber>;
847
- payload: import("zod").ZodOptional<import("zod").ZodType<import("./endpoints").MessagePartShape, import("zod").ZodTypeDef, import("./endpoints").MessagePartShape>>;
404
+ payload: import("zod").ZodOptional<import("zod").ZodType<import("./endpoints").MessagePartShape, unknown, import("zod/v4/core").$ZodTypeInternals<import("./endpoints").MessagePartShape, unknown>>>;
848
405
  raw: import("zod").ZodOptional<import("zod").ZodString>;
849
- }, "strip", import("zod").ZodTypeAny, {
850
- labelIds?: string[] | undefined;
851
- id?: string | undefined;
852
- raw?: string | undefined;
853
- threadId?: string | undefined;
854
- snippet?: string | undefined;
855
- historyId?: string | undefined;
856
- internalDate?: Date | null | undefined;
857
- sizeEstimate?: number | undefined;
858
- payload?: import("./endpoints").MessagePartShape | undefined;
859
- }, {
860
- labelIds?: string[] | undefined;
861
- id?: string | undefined;
862
- raw?: string | undefined;
863
- threadId?: string | undefined;
864
- snippet?: string | undefined;
865
- historyId?: string | undefined;
866
- internalDate?: string | number | Date | null | undefined;
867
- sizeEstimate?: number | undefined;
868
- payload?: import("./endpoints").MessagePartShape | undefined;
869
- }>>;
870
- }, "strip", import("zod").ZodTypeAny, {
871
- message?: {
872
- labelIds?: string[] | undefined;
873
- id?: string | undefined;
874
- raw?: string | undefined;
875
- threadId?: string | undefined;
876
- snippet?: string | undefined;
877
- historyId?: string | undefined;
878
- internalDate?: Date | null | undefined;
879
- sizeEstimate?: number | undefined;
880
- payload?: import("./endpoints").MessagePartShape | undefined;
881
- } | undefined;
882
- id?: string | undefined;
883
- }, {
884
- message?: {
885
- labelIds?: string[] | undefined;
886
- id?: string | undefined;
887
- raw?: string | undefined;
888
- threadId?: string | undefined;
889
- snippet?: string | undefined;
890
- historyId?: string | undefined;
891
- internalDate?: string | number | Date | null | undefined;
892
- sizeEstimate?: number | undefined;
893
- payload?: import("./endpoints").MessagePartShape | undefined;
894
- } | undefined;
895
- id?: string | undefined;
896
- }>, "many">>;
406
+ }, import("zod/v4/core").$strip>>;
407
+ }, import("zod/v4/core").$strip>>>;
897
408
  nextPageToken: import("zod").ZodOptional<import("zod").ZodString>;
898
409
  resultSizeEstimate: import("zod").ZodOptional<import("zod").ZodNumber>;
899
- }, "strip", import("zod").ZodTypeAny, {
900
- nextPageToken?: string | undefined;
901
- resultSizeEstimate?: number | undefined;
902
- drafts?: {
903
- message?: {
904
- labelIds?: string[] | undefined;
905
- id?: string | undefined;
906
- raw?: string | undefined;
907
- threadId?: string | undefined;
908
- snippet?: string | undefined;
909
- historyId?: string | undefined;
910
- internalDate?: Date | null | undefined;
911
- sizeEstimate?: number | undefined;
912
- payload?: import("./endpoints").MessagePartShape | undefined;
913
- } | undefined;
914
- id?: string | undefined;
915
- }[] | undefined;
916
- }, {
917
- nextPageToken?: string | undefined;
918
- resultSizeEstimate?: number | undefined;
919
- drafts?: {
920
- message?: {
921
- labelIds?: string[] | undefined;
922
- id?: string | undefined;
923
- raw?: string | undefined;
924
- threadId?: string | undefined;
925
- snippet?: string | undefined;
926
- historyId?: string | undefined;
927
- internalDate?: string | number | Date | null | undefined;
928
- sizeEstimate?: number | undefined;
929
- payload?: import("./endpoints").MessagePartShape | undefined;
930
- } | undefined;
931
- id?: string | undefined;
932
- }[] | undefined;
933
- }>;
410
+ }, import("zod/v4/core").$strip>;
934
411
  };
935
412
  readonly 'drafts.get': {
936
413
  readonly input: import("zod").ZodObject<{
937
414
  userId: import("zod").ZodOptional<import("zod").ZodString>;
938
415
  id: import("zod").ZodString;
939
- format: import("zod").ZodOptional<import("zod").ZodEnum<["minimal", "full", "raw", "metadata"]>>;
940
- }, "strip", import("zod").ZodTypeAny, {
941
- id: string;
942
- userId?: string | undefined;
943
- format?: "minimal" | "full" | "raw" | "metadata" | undefined;
944
- }, {
945
- id: string;
946
- userId?: string | undefined;
947
- format?: "minimal" | "full" | "raw" | "metadata" | undefined;
948
- }>;
416
+ format: import("zod").ZodOptional<import("zod").ZodEnum<{
417
+ raw: "raw";
418
+ minimal: "minimal";
419
+ full: "full";
420
+ metadata: "metadata";
421
+ }>>;
422
+ }, import("zod/v4/core").$strip>;
949
423
  readonly output: import("zod").ZodObject<{
950
424
  id: import("zod").ZodOptional<import("zod").ZodString>;
951
425
  message: import("zod").ZodOptional<import("zod").ZodObject<{
952
426
  id: import("zod").ZodOptional<import("zod").ZodString>;
953
427
  threadId: import("zod").ZodOptional<import("zod").ZodString>;
954
- labelIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
428
+ labelIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
955
429
  snippet: import("zod").ZodOptional<import("zod").ZodString>;
956
430
  historyId: import("zod").ZodOptional<import("zod").ZodString>;
957
- internalDate: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodDate]>, Date | null, string | number | Date>>>;
431
+ internalDate: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodDate]>, import("zod").ZodTransform<Date | null, string | number | Date>>>>;
958
432
  sizeEstimate: import("zod").ZodOptional<import("zod").ZodNumber>;
959
- payload: import("zod").ZodOptional<import("zod").ZodType<import("./endpoints").MessagePartShape, import("zod").ZodTypeDef, import("./endpoints").MessagePartShape>>;
433
+ payload: import("zod").ZodOptional<import("zod").ZodType<import("./endpoints").MessagePartShape, unknown, import("zod/v4/core").$ZodTypeInternals<import("./endpoints").MessagePartShape, unknown>>>;
960
434
  raw: import("zod").ZodOptional<import("zod").ZodString>;
961
- }, "strip", import("zod").ZodTypeAny, {
962
- labelIds?: string[] | undefined;
963
- id?: string | undefined;
964
- raw?: string | undefined;
965
- threadId?: string | undefined;
966
- snippet?: string | undefined;
967
- historyId?: string | undefined;
968
- internalDate?: Date | null | undefined;
969
- sizeEstimate?: number | undefined;
970
- payload?: import("./endpoints").MessagePartShape | undefined;
971
- }, {
972
- labelIds?: string[] | undefined;
973
- id?: string | undefined;
974
- raw?: string | undefined;
975
- threadId?: string | undefined;
976
- snippet?: string | undefined;
977
- historyId?: string | undefined;
978
- internalDate?: string | number | Date | null | undefined;
979
- sizeEstimate?: number | undefined;
980
- payload?: import("./endpoints").MessagePartShape | undefined;
981
- }>>;
982
- }, "strip", import("zod").ZodTypeAny, {
983
- message?: {
984
- labelIds?: string[] | undefined;
985
- id?: string | undefined;
986
- raw?: string | undefined;
987
- threadId?: string | undefined;
988
- snippet?: string | undefined;
989
- historyId?: string | undefined;
990
- internalDate?: Date | null | undefined;
991
- sizeEstimate?: number | undefined;
992
- payload?: import("./endpoints").MessagePartShape | undefined;
993
- } | undefined;
994
- id?: string | undefined;
995
- }, {
996
- message?: {
997
- labelIds?: string[] | undefined;
998
- id?: string | undefined;
999
- raw?: string | undefined;
1000
- threadId?: string | undefined;
1001
- snippet?: string | undefined;
1002
- historyId?: string | undefined;
1003
- internalDate?: string | number | Date | null | undefined;
1004
- sizeEstimate?: number | undefined;
1005
- payload?: import("./endpoints").MessagePartShape | undefined;
1006
- } | undefined;
1007
- id?: string | undefined;
1008
- }>;
435
+ }, import("zod/v4/core").$strip>>;
436
+ }, import("zod/v4/core").$strip>;
1009
437
  };
1010
438
  readonly 'drafts.create': {
1011
439
  readonly input: import("zod").ZodObject<{
1012
440
  userId: import("zod").ZodOptional<import("zod").ZodString>;
1013
- draft: import("zod").ZodObject<{
441
+ draft: import("zod").ZodOptional<import("zod").ZodObject<{
1014
442
  message: import("zod").ZodOptional<import("zod").ZodObject<{
1015
443
  raw: import("zod").ZodOptional<import("zod").ZodString>;
1016
444
  threadId: import("zod").ZodOptional<import("zod").ZodString>;
1017
- }, "strip", import("zod").ZodTypeAny, {
1018
- raw?: string | undefined;
1019
- threadId?: string | undefined;
1020
- }, {
1021
- raw?: string | undefined;
1022
- threadId?: string | undefined;
1023
- }>>;
1024
- }, "strip", import("zod").ZodTypeAny, {
1025
- message?: {
1026
- raw?: string | undefined;
1027
- threadId?: string | undefined;
1028
- } | undefined;
1029
- }, {
1030
- message?: {
1031
- raw?: string | undefined;
1032
- threadId?: string | undefined;
1033
- } | undefined;
1034
- }>;
1035
- }, "strip", import("zod").ZodTypeAny, {
1036
- draft: {
1037
- message?: {
1038
- raw?: string | undefined;
1039
- threadId?: string | undefined;
1040
- } | undefined;
1041
- };
1042
- userId?: string | undefined;
1043
- }, {
1044
- draft: {
1045
- message?: {
1046
- raw?: string | undefined;
1047
- threadId?: string | undefined;
1048
- } | undefined;
1049
- };
1050
- userId?: string | undefined;
1051
- }>;
445
+ }, import("zod/v4/core").$strip>>;
446
+ }, import("zod/v4/core").$strip>>;
447
+ }, import("zod/v4/core").$strip>;
1052
448
  readonly output: import("zod").ZodObject<{
1053
449
  id: import("zod").ZodOptional<import("zod").ZodString>;
1054
450
  message: import("zod").ZodOptional<import("zod").ZodObject<{
1055
451
  id: import("zod").ZodOptional<import("zod").ZodString>;
1056
452
  threadId: import("zod").ZodOptional<import("zod").ZodString>;
1057
- labelIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
453
+ labelIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
1058
454
  snippet: import("zod").ZodOptional<import("zod").ZodString>;
1059
455
  historyId: import("zod").ZodOptional<import("zod").ZodString>;
1060
- internalDate: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodDate]>, Date | null, string | number | Date>>>;
456
+ internalDate: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodDate]>, import("zod").ZodTransform<Date | null, string | number | Date>>>>;
1061
457
  sizeEstimate: import("zod").ZodOptional<import("zod").ZodNumber>;
1062
- payload: import("zod").ZodOptional<import("zod").ZodType<import("./endpoints").MessagePartShape, import("zod").ZodTypeDef, import("./endpoints").MessagePartShape>>;
458
+ payload: import("zod").ZodOptional<import("zod").ZodType<import("./endpoints").MessagePartShape, unknown, import("zod/v4/core").$ZodTypeInternals<import("./endpoints").MessagePartShape, unknown>>>;
1063
459
  raw: import("zod").ZodOptional<import("zod").ZodString>;
1064
- }, "strip", import("zod").ZodTypeAny, {
1065
- labelIds?: string[] | undefined;
1066
- id?: string | undefined;
1067
- raw?: string | undefined;
1068
- threadId?: string | undefined;
1069
- snippet?: string | undefined;
1070
- historyId?: string | undefined;
1071
- internalDate?: Date | null | undefined;
1072
- sizeEstimate?: number | undefined;
1073
- payload?: import("./endpoints").MessagePartShape | undefined;
1074
- }, {
1075
- labelIds?: string[] | undefined;
1076
- id?: string | undefined;
1077
- raw?: string | undefined;
1078
- threadId?: string | undefined;
1079
- snippet?: string | undefined;
1080
- historyId?: string | undefined;
1081
- internalDate?: string | number | Date | null | undefined;
1082
- sizeEstimate?: number | undefined;
1083
- payload?: import("./endpoints").MessagePartShape | undefined;
1084
- }>>;
1085
- }, "strip", import("zod").ZodTypeAny, {
1086
- message?: {
1087
- labelIds?: string[] | undefined;
1088
- id?: string | undefined;
1089
- raw?: string | undefined;
1090
- threadId?: string | undefined;
1091
- snippet?: string | undefined;
1092
- historyId?: string | undefined;
1093
- internalDate?: Date | null | undefined;
1094
- sizeEstimate?: number | undefined;
1095
- payload?: import("./endpoints").MessagePartShape | undefined;
1096
- } | undefined;
1097
- id?: string | undefined;
1098
- }, {
1099
- message?: {
1100
- labelIds?: string[] | undefined;
1101
- id?: string | undefined;
1102
- raw?: string | undefined;
1103
- threadId?: string | undefined;
1104
- snippet?: string | undefined;
1105
- historyId?: string | undefined;
1106
- internalDate?: string | number | Date | null | undefined;
1107
- sizeEstimate?: number | undefined;
1108
- payload?: import("./endpoints").MessagePartShape | undefined;
1109
- } | undefined;
1110
- id?: string | undefined;
1111
- }>;
460
+ }, import("zod/v4/core").$strip>>;
461
+ }, import("zod/v4/core").$strip>;
1112
462
  };
1113
463
  readonly 'drafts.update': {
1114
464
  readonly input: import("zod").ZodObject<{
1115
465
  userId: import("zod").ZodOptional<import("zod").ZodString>;
1116
466
  id: import("zod").ZodString;
1117
- draft: import("zod").ZodObject<{
467
+ draft: import("zod").ZodOptional<import("zod").ZodObject<{
1118
468
  message: import("zod").ZodOptional<import("zod").ZodObject<{
1119
469
  raw: import("zod").ZodOptional<import("zod").ZodString>;
1120
470
  threadId: import("zod").ZodOptional<import("zod").ZodString>;
1121
- }, "strip", import("zod").ZodTypeAny, {
1122
- raw?: string | undefined;
1123
- threadId?: string | undefined;
1124
- }, {
1125
- raw?: string | undefined;
1126
- threadId?: string | undefined;
1127
- }>>;
1128
- }, "strip", import("zod").ZodTypeAny, {
1129
- message?: {
1130
- raw?: string | undefined;
1131
- threadId?: string | undefined;
1132
- } | undefined;
1133
- }, {
1134
- message?: {
1135
- raw?: string | undefined;
1136
- threadId?: string | undefined;
1137
- } | undefined;
1138
- }>;
1139
- }, "strip", import("zod").ZodTypeAny, {
1140
- id: string;
1141
- draft: {
1142
- message?: {
1143
- raw?: string | undefined;
1144
- threadId?: string | undefined;
1145
- } | undefined;
1146
- };
1147
- userId?: string | undefined;
1148
- }, {
1149
- id: string;
1150
- draft: {
1151
- message?: {
1152
- raw?: string | undefined;
1153
- threadId?: string | undefined;
1154
- } | undefined;
1155
- };
1156
- userId?: string | undefined;
1157
- }>;
471
+ }, import("zod/v4/core").$strip>>;
472
+ }, import("zod/v4/core").$strip>>;
473
+ }, import("zod/v4/core").$strip>;
1158
474
  readonly output: import("zod").ZodObject<{
1159
475
  id: import("zod").ZodOptional<import("zod").ZodString>;
1160
476
  message: import("zod").ZodOptional<import("zod").ZodObject<{
1161
477
  id: import("zod").ZodOptional<import("zod").ZodString>;
1162
478
  threadId: import("zod").ZodOptional<import("zod").ZodString>;
1163
- labelIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
479
+ labelIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
1164
480
  snippet: import("zod").ZodOptional<import("zod").ZodString>;
1165
481
  historyId: import("zod").ZodOptional<import("zod").ZodString>;
1166
- internalDate: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodDate]>, Date | null, string | number | Date>>>;
482
+ internalDate: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodDate]>, import("zod").ZodTransform<Date | null, string | number | Date>>>>;
1167
483
  sizeEstimate: import("zod").ZodOptional<import("zod").ZodNumber>;
1168
- payload: import("zod").ZodOptional<import("zod").ZodType<import("./endpoints").MessagePartShape, import("zod").ZodTypeDef, import("./endpoints").MessagePartShape>>;
484
+ payload: import("zod").ZodOptional<import("zod").ZodType<import("./endpoints").MessagePartShape, unknown, import("zod/v4/core").$ZodTypeInternals<import("./endpoints").MessagePartShape, unknown>>>;
1169
485
  raw: import("zod").ZodOptional<import("zod").ZodString>;
1170
- }, "strip", import("zod").ZodTypeAny, {
1171
- labelIds?: string[] | undefined;
1172
- id?: string | undefined;
1173
- raw?: string | undefined;
1174
- threadId?: string | undefined;
1175
- snippet?: string | undefined;
1176
- historyId?: string | undefined;
1177
- internalDate?: Date | null | undefined;
1178
- sizeEstimate?: number | undefined;
1179
- payload?: import("./endpoints").MessagePartShape | undefined;
1180
- }, {
1181
- labelIds?: string[] | undefined;
1182
- id?: string | undefined;
1183
- raw?: string | undefined;
1184
- threadId?: string | undefined;
1185
- snippet?: string | undefined;
1186
- historyId?: string | undefined;
1187
- internalDate?: string | number | Date | null | undefined;
1188
- sizeEstimate?: number | undefined;
1189
- payload?: import("./endpoints").MessagePartShape | undefined;
1190
- }>>;
1191
- }, "strip", import("zod").ZodTypeAny, {
1192
- message?: {
1193
- labelIds?: string[] | undefined;
1194
- id?: string | undefined;
1195
- raw?: string | undefined;
1196
- threadId?: string | undefined;
1197
- snippet?: string | undefined;
1198
- historyId?: string | undefined;
1199
- internalDate?: Date | null | undefined;
1200
- sizeEstimate?: number | undefined;
1201
- payload?: import("./endpoints").MessagePartShape | undefined;
1202
- } | undefined;
1203
- id?: string | undefined;
1204
- }, {
1205
- message?: {
1206
- labelIds?: string[] | undefined;
1207
- id?: string | undefined;
1208
- raw?: string | undefined;
1209
- threadId?: string | undefined;
1210
- snippet?: string | undefined;
1211
- historyId?: string | undefined;
1212
- internalDate?: string | number | Date | null | undefined;
1213
- sizeEstimate?: number | undefined;
1214
- payload?: import("./endpoints").MessagePartShape | undefined;
1215
- } | undefined;
1216
- id?: string | undefined;
1217
- }>;
486
+ }, import("zod/v4/core").$strip>>;
487
+ }, import("zod/v4/core").$strip>;
1218
488
  };
1219
489
  readonly 'drafts.delete': {
1220
490
  readonly input: import("zod").ZodObject<{
1221
491
  userId: import("zod").ZodOptional<import("zod").ZodString>;
1222
492
  id: import("zod").ZodString;
1223
- }, "strip", import("zod").ZodTypeAny, {
1224
- id: string;
1225
- userId?: string | undefined;
1226
- }, {
1227
- id: string;
1228
- userId?: string | undefined;
1229
- }>;
493
+ }, import("zod/v4/core").$strip>;
1230
494
  readonly output: import("zod").ZodVoid;
1231
495
  };
1232
496
  readonly 'drafts.send': {
@@ -1236,59 +500,19 @@ export declare const gmailEndpointSchemas: {
1236
500
  message: import("zod").ZodOptional<import("zod").ZodObject<{
1237
501
  raw: import("zod").ZodOptional<import("zod").ZodString>;
1238
502
  threadId: import("zod").ZodOptional<import("zod").ZodString>;
1239
- }, "strip", import("zod").ZodTypeAny, {
1240
- raw?: string | undefined;
1241
- threadId?: string | undefined;
1242
- }, {
1243
- raw?: string | undefined;
1244
- threadId?: string | undefined;
1245
- }>>;
1246
- }, "strip", import("zod").ZodTypeAny, {
1247
- userId?: string | undefined;
1248
- message?: {
1249
- raw?: string | undefined;
1250
- threadId?: string | undefined;
1251
- } | undefined;
1252
- id?: string | undefined;
1253
- }, {
1254
- userId?: string | undefined;
1255
- message?: {
1256
- raw?: string | undefined;
1257
- threadId?: string | undefined;
1258
- } | undefined;
1259
- id?: string | undefined;
1260
- }>;
503
+ }, import("zod/v4/core").$strip>>;
504
+ }, import("zod/v4/core").$strip>;
1261
505
  readonly output: import("zod").ZodObject<{
1262
506
  id: import("zod").ZodOptional<import("zod").ZodString>;
1263
507
  threadId: import("zod").ZodOptional<import("zod").ZodString>;
1264
- labelIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
508
+ labelIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
1265
509
  snippet: import("zod").ZodOptional<import("zod").ZodString>;
1266
510
  historyId: import("zod").ZodOptional<import("zod").ZodString>;
1267
- internalDate: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodDate]>, Date | null, string | number | Date>>>;
511
+ internalDate: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodDate]>, import("zod").ZodTransform<Date | null, string | number | Date>>>>;
1268
512
  sizeEstimate: import("zod").ZodOptional<import("zod").ZodNumber>;
1269
- payload: import("zod").ZodOptional<import("zod").ZodType<import("./endpoints").MessagePartShape, import("zod").ZodTypeDef, import("./endpoints").MessagePartShape>>;
513
+ payload: import("zod").ZodOptional<import("zod").ZodType<import("./endpoints").MessagePartShape, unknown, import("zod/v4/core").$ZodTypeInternals<import("./endpoints").MessagePartShape, unknown>>>;
1270
514
  raw: import("zod").ZodOptional<import("zod").ZodString>;
1271
- }, "strip", import("zod").ZodTypeAny, {
1272
- labelIds?: string[] | undefined;
1273
- id?: string | undefined;
1274
- raw?: string | undefined;
1275
- threadId?: string | undefined;
1276
- snippet?: string | undefined;
1277
- historyId?: string | undefined;
1278
- internalDate?: Date | null | undefined;
1279
- sizeEstimate?: number | undefined;
1280
- payload?: import("./endpoints").MessagePartShape | undefined;
1281
- }, {
1282
- labelIds?: string[] | undefined;
1283
- id?: string | undefined;
1284
- raw?: string | undefined;
1285
- threadId?: string | undefined;
1286
- snippet?: string | undefined;
1287
- historyId?: string | undefined;
1288
- internalDate?: string | number | Date | null | undefined;
1289
- sizeEstimate?: number | undefined;
1290
- payload?: import("./endpoints").MessagePartShape | undefined;
1291
- }>;
515
+ }, import("zod/v4/core").$strip>;
1292
516
  };
1293
517
  readonly 'threads.list': {
1294
518
  readonly input: import("zod").ZodObject<{
@@ -1296,23 +520,9 @@ export declare const gmailEndpointSchemas: {
1296
520
  q: import("zod").ZodOptional<import("zod").ZodString>;
1297
521
  maxResults: import("zod").ZodOptional<import("zod").ZodNumber>;
1298
522
  pageToken: import("zod").ZodOptional<import("zod").ZodString>;
1299
- labelIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
523
+ labelIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
1300
524
  includeSpamTrash: import("zod").ZodOptional<import("zod").ZodBoolean>;
1301
- }, "strip", import("zod").ZodTypeAny, {
1302
- userId?: string | undefined;
1303
- q?: string | undefined;
1304
- maxResults?: number | undefined;
1305
- pageToken?: string | undefined;
1306
- labelIds?: string[] | undefined;
1307
- includeSpamTrash?: boolean | undefined;
1308
- }, {
1309
- userId?: string | undefined;
1310
- q?: string | undefined;
1311
- maxResults?: number | undefined;
1312
- pageToken?: string | undefined;
1313
- labelIds?: string[] | undefined;
1314
- includeSpamTrash?: boolean | undefined;
1315
- }>;
525
+ }, import("zod/v4/core").$strip>;
1316
526
  readonly output: import("zod").ZodObject<{
1317
527
  threads: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
1318
528
  id: import("zod").ZodOptional<import("zod").ZodString>;
@@ -1321,124 +531,30 @@ export declare const gmailEndpointSchemas: {
1321
531
  messages: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
1322
532
  id: import("zod").ZodOptional<import("zod").ZodString>;
1323
533
  threadId: import("zod").ZodOptional<import("zod").ZodString>;
1324
- labelIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
534
+ labelIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
1325
535
  snippet: import("zod").ZodOptional<import("zod").ZodString>;
1326
536
  historyId: import("zod").ZodOptional<import("zod").ZodString>;
1327
- internalDate: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodDate]>, Date | null, string | number | Date>>>;
537
+ internalDate: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodDate]>, import("zod").ZodTransform<Date | null, string | number | Date>>>>;
1328
538
  sizeEstimate: import("zod").ZodOptional<import("zod").ZodNumber>;
1329
- payload: import("zod").ZodOptional<import("zod").ZodType<import("./endpoints").MessagePartShape, import("zod").ZodTypeDef, import("./endpoints").MessagePartShape>>;
539
+ payload: import("zod").ZodOptional<import("zod").ZodType<import("./endpoints").MessagePartShape, unknown, import("zod/v4/core").$ZodTypeInternals<import("./endpoints").MessagePartShape, unknown>>>;
1330
540
  raw: import("zod").ZodOptional<import("zod").ZodString>;
1331
- }, "strip", import("zod").ZodTypeAny, {
1332
- labelIds?: string[] | undefined;
1333
- id?: string | undefined;
1334
- raw?: string | undefined;
1335
- threadId?: string | undefined;
1336
- snippet?: string | undefined;
1337
- historyId?: string | undefined;
1338
- internalDate?: Date | null | undefined;
1339
- sizeEstimate?: number | undefined;
1340
- payload?: import("./endpoints").MessagePartShape | undefined;
1341
- }, {
1342
- labelIds?: string[] | undefined;
1343
- id?: string | undefined;
1344
- raw?: string | undefined;
1345
- threadId?: string | undefined;
1346
- snippet?: string | undefined;
1347
- historyId?: string | undefined;
1348
- internalDate?: string | number | Date | null | undefined;
1349
- sizeEstimate?: number | undefined;
1350
- payload?: import("./endpoints").MessagePartShape | undefined;
1351
- }>, "many">>;
1352
- }, "strip", import("zod").ZodTypeAny, {
1353
- id?: string | undefined;
1354
- snippet?: string | undefined;
1355
- historyId?: string | undefined;
1356
- messages?: {
1357
- labelIds?: string[] | undefined;
1358
- id?: string | undefined;
1359
- raw?: string | undefined;
1360
- threadId?: string | undefined;
1361
- snippet?: string | undefined;
1362
- historyId?: string | undefined;
1363
- internalDate?: Date | null | undefined;
1364
- sizeEstimate?: number | undefined;
1365
- payload?: import("./endpoints").MessagePartShape | undefined;
1366
- }[] | undefined;
1367
- }, {
1368
- id?: string | undefined;
1369
- snippet?: string | undefined;
1370
- historyId?: string | undefined;
1371
- messages?: {
1372
- labelIds?: string[] | undefined;
1373
- id?: string | undefined;
1374
- raw?: string | undefined;
1375
- threadId?: string | undefined;
1376
- snippet?: string | undefined;
1377
- historyId?: string | undefined;
1378
- internalDate?: string | number | Date | null | undefined;
1379
- sizeEstimate?: number | undefined;
1380
- payload?: import("./endpoints").MessagePartShape | undefined;
1381
- }[] | undefined;
1382
- }>, "many">>;
541
+ }, import("zod/v4/core").$strip>>>;
542
+ }, import("zod/v4/core").$strip>>>;
1383
543
  nextPageToken: import("zod").ZodOptional<import("zod").ZodString>;
1384
544
  resultSizeEstimate: import("zod").ZodOptional<import("zod").ZodNumber>;
1385
- }, "strip", import("zod").ZodTypeAny, {
1386
- nextPageToken?: string | undefined;
1387
- resultSizeEstimate?: number | undefined;
1388
- threads?: {
1389
- id?: string | undefined;
1390
- snippet?: string | undefined;
1391
- historyId?: string | undefined;
1392
- messages?: {
1393
- labelIds?: string[] | undefined;
1394
- id?: string | undefined;
1395
- raw?: string | undefined;
1396
- threadId?: string | undefined;
1397
- snippet?: string | undefined;
1398
- historyId?: string | undefined;
1399
- internalDate?: Date | null | undefined;
1400
- sizeEstimate?: number | undefined;
1401
- payload?: import("./endpoints").MessagePartShape | undefined;
1402
- }[] | undefined;
1403
- }[] | undefined;
1404
- }, {
1405
- nextPageToken?: string | undefined;
1406
- resultSizeEstimate?: number | undefined;
1407
- threads?: {
1408
- id?: string | undefined;
1409
- snippet?: string | undefined;
1410
- historyId?: string | undefined;
1411
- messages?: {
1412
- labelIds?: string[] | undefined;
1413
- id?: string | undefined;
1414
- raw?: string | undefined;
1415
- threadId?: string | undefined;
1416
- snippet?: string | undefined;
1417
- historyId?: string | undefined;
1418
- internalDate?: string | number | Date | null | undefined;
1419
- sizeEstimate?: number | undefined;
1420
- payload?: import("./endpoints").MessagePartShape | undefined;
1421
- }[] | undefined;
1422
- }[] | undefined;
1423
- }>;
545
+ }, import("zod/v4/core").$strip>;
1424
546
  };
1425
547
  readonly 'threads.get': {
1426
548
  readonly input: import("zod").ZodObject<{
1427
549
  userId: import("zod").ZodOptional<import("zod").ZodString>;
1428
550
  id: import("zod").ZodString;
1429
- format: import("zod").ZodOptional<import("zod").ZodEnum<["minimal", "full", "metadata"]>>;
1430
- metadataHeaders: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
1431
- }, "strip", import("zod").ZodTypeAny, {
1432
- id: string;
1433
- userId?: string | undefined;
1434
- format?: "minimal" | "full" | "metadata" | undefined;
1435
- metadataHeaders?: string[] | undefined;
1436
- }, {
1437
- id: string;
1438
- userId?: string | undefined;
1439
- format?: "minimal" | "full" | "metadata" | undefined;
1440
- metadataHeaders?: string[] | undefined;
1441
- }>;
551
+ format: import("zod").ZodOptional<import("zod").ZodEnum<{
552
+ minimal: "minimal";
553
+ full: "full";
554
+ metadata: "metadata";
555
+ }>>;
556
+ metadataHeaders: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
557
+ }, import("zod/v4/core").$strip>;
1442
558
  readonly output: import("zod").ZodObject<{
1443
559
  id: import("zod").ZodOptional<import("zod").ZodString>;
1444
560
  snippet: import("zod").ZodOptional<import("zod").ZodString>;
@@ -1446,83 +562,23 @@ export declare const gmailEndpointSchemas: {
1446
562
  messages: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
1447
563
  id: import("zod").ZodOptional<import("zod").ZodString>;
1448
564
  threadId: import("zod").ZodOptional<import("zod").ZodString>;
1449
- labelIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
565
+ labelIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
1450
566
  snippet: import("zod").ZodOptional<import("zod").ZodString>;
1451
567
  historyId: import("zod").ZodOptional<import("zod").ZodString>;
1452
- internalDate: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodDate]>, Date | null, string | number | Date>>>;
568
+ internalDate: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodDate]>, import("zod").ZodTransform<Date | null, string | number | Date>>>>;
1453
569
  sizeEstimate: import("zod").ZodOptional<import("zod").ZodNumber>;
1454
- payload: import("zod").ZodOptional<import("zod").ZodType<import("./endpoints").MessagePartShape, import("zod").ZodTypeDef, import("./endpoints").MessagePartShape>>;
570
+ payload: import("zod").ZodOptional<import("zod").ZodType<import("./endpoints").MessagePartShape, unknown, import("zod/v4/core").$ZodTypeInternals<import("./endpoints").MessagePartShape, unknown>>>;
1455
571
  raw: import("zod").ZodOptional<import("zod").ZodString>;
1456
- }, "strip", import("zod").ZodTypeAny, {
1457
- labelIds?: string[] | undefined;
1458
- id?: string | undefined;
1459
- raw?: string | undefined;
1460
- threadId?: string | undefined;
1461
- snippet?: string | undefined;
1462
- historyId?: string | undefined;
1463
- internalDate?: Date | null | undefined;
1464
- sizeEstimate?: number | undefined;
1465
- payload?: import("./endpoints").MessagePartShape | undefined;
1466
- }, {
1467
- labelIds?: string[] | undefined;
1468
- id?: string | undefined;
1469
- raw?: string | undefined;
1470
- threadId?: string | undefined;
1471
- snippet?: string | undefined;
1472
- historyId?: string | undefined;
1473
- internalDate?: string | number | Date | null | undefined;
1474
- sizeEstimate?: number | undefined;
1475
- payload?: import("./endpoints").MessagePartShape | undefined;
1476
- }>, "many">>;
1477
- }, "strip", import("zod").ZodTypeAny, {
1478
- id?: string | undefined;
1479
- snippet?: string | undefined;
1480
- historyId?: string | undefined;
1481
- messages?: {
1482
- labelIds?: string[] | undefined;
1483
- id?: string | undefined;
1484
- raw?: string | undefined;
1485
- threadId?: string | undefined;
1486
- snippet?: string | undefined;
1487
- historyId?: string | undefined;
1488
- internalDate?: Date | null | undefined;
1489
- sizeEstimate?: number | undefined;
1490
- payload?: import("./endpoints").MessagePartShape | undefined;
1491
- }[] | undefined;
1492
- }, {
1493
- id?: string | undefined;
1494
- snippet?: string | undefined;
1495
- historyId?: string | undefined;
1496
- messages?: {
1497
- labelIds?: string[] | undefined;
1498
- id?: string | undefined;
1499
- raw?: string | undefined;
1500
- threadId?: string | undefined;
1501
- snippet?: string | undefined;
1502
- historyId?: string | undefined;
1503
- internalDate?: string | number | Date | null | undefined;
1504
- sizeEstimate?: number | undefined;
1505
- payload?: import("./endpoints").MessagePartShape | undefined;
1506
- }[] | undefined;
1507
- }>;
572
+ }, import("zod/v4/core").$strip>>>;
573
+ }, import("zod/v4/core").$strip>;
1508
574
  };
1509
575
  readonly 'threads.modify': {
1510
576
  readonly input: import("zod").ZodObject<{
1511
577
  userId: import("zod").ZodOptional<import("zod").ZodString>;
1512
578
  id: import("zod").ZodString;
1513
- addLabelIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
1514
- removeLabelIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
1515
- }, "strip", import("zod").ZodTypeAny, {
1516
- id: string;
1517
- userId?: string | undefined;
1518
- addLabelIds?: string[] | undefined;
1519
- removeLabelIds?: string[] | undefined;
1520
- }, {
1521
- id: string;
1522
- userId?: string | undefined;
1523
- addLabelIds?: string[] | undefined;
1524
- removeLabelIds?: string[] | undefined;
1525
- }>;
579
+ addLabelIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
580
+ removeLabelIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
581
+ }, import("zod/v4/core").$strip>;
1526
582
  readonly output: import("zod").ZodObject<{
1527
583
  id: import("zod").ZodOptional<import("zod").ZodString>;
1528
584
  snippet: import("zod").ZodOptional<import("zod").ZodString>;
@@ -1530,90 +586,28 @@ export declare const gmailEndpointSchemas: {
1530
586
  messages: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
1531
587
  id: import("zod").ZodOptional<import("zod").ZodString>;
1532
588
  threadId: import("zod").ZodOptional<import("zod").ZodString>;
1533
- labelIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
589
+ labelIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
1534
590
  snippet: import("zod").ZodOptional<import("zod").ZodString>;
1535
591
  historyId: import("zod").ZodOptional<import("zod").ZodString>;
1536
- internalDate: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodDate]>, Date | null, string | number | Date>>>;
592
+ internalDate: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodDate]>, import("zod").ZodTransform<Date | null, string | number | Date>>>>;
1537
593
  sizeEstimate: import("zod").ZodOptional<import("zod").ZodNumber>;
1538
- payload: import("zod").ZodOptional<import("zod").ZodType<import("./endpoints").MessagePartShape, import("zod").ZodTypeDef, import("./endpoints").MessagePartShape>>;
594
+ payload: import("zod").ZodOptional<import("zod").ZodType<import("./endpoints").MessagePartShape, unknown, import("zod/v4/core").$ZodTypeInternals<import("./endpoints").MessagePartShape, unknown>>>;
1539
595
  raw: import("zod").ZodOptional<import("zod").ZodString>;
1540
- }, "strip", import("zod").ZodTypeAny, {
1541
- labelIds?: string[] | undefined;
1542
- id?: string | undefined;
1543
- raw?: string | undefined;
1544
- threadId?: string | undefined;
1545
- snippet?: string | undefined;
1546
- historyId?: string | undefined;
1547
- internalDate?: Date | null | undefined;
1548
- sizeEstimate?: number | undefined;
1549
- payload?: import("./endpoints").MessagePartShape | undefined;
1550
- }, {
1551
- labelIds?: string[] | undefined;
1552
- id?: string | undefined;
1553
- raw?: string | undefined;
1554
- threadId?: string | undefined;
1555
- snippet?: string | undefined;
1556
- historyId?: string | undefined;
1557
- internalDate?: string | number | Date | null | undefined;
1558
- sizeEstimate?: number | undefined;
1559
- payload?: import("./endpoints").MessagePartShape | undefined;
1560
- }>, "many">>;
1561
- }, "strip", import("zod").ZodTypeAny, {
1562
- id?: string | undefined;
1563
- snippet?: string | undefined;
1564
- historyId?: string | undefined;
1565
- messages?: {
1566
- labelIds?: string[] | undefined;
1567
- id?: string | undefined;
1568
- raw?: string | undefined;
1569
- threadId?: string | undefined;
1570
- snippet?: string | undefined;
1571
- historyId?: string | undefined;
1572
- internalDate?: Date | null | undefined;
1573
- sizeEstimate?: number | undefined;
1574
- payload?: import("./endpoints").MessagePartShape | undefined;
1575
- }[] | undefined;
1576
- }, {
1577
- id?: string | undefined;
1578
- snippet?: string | undefined;
1579
- historyId?: string | undefined;
1580
- messages?: {
1581
- labelIds?: string[] | undefined;
1582
- id?: string | undefined;
1583
- raw?: string | undefined;
1584
- threadId?: string | undefined;
1585
- snippet?: string | undefined;
1586
- historyId?: string | undefined;
1587
- internalDate?: string | number | Date | null | undefined;
1588
- sizeEstimate?: number | undefined;
1589
- payload?: import("./endpoints").MessagePartShape | undefined;
1590
- }[] | undefined;
1591
- }>;
596
+ }, import("zod/v4/core").$strip>>>;
597
+ }, import("zod/v4/core").$strip>;
1592
598
  };
1593
599
  readonly 'threads.delete': {
1594
600
  readonly input: import("zod").ZodObject<{
1595
601
  userId: import("zod").ZodOptional<import("zod").ZodString>;
1596
602
  id: import("zod").ZodString;
1597
- }, "strip", import("zod").ZodTypeAny, {
1598
- id: string;
1599
- userId?: string | undefined;
1600
- }, {
1601
- id: string;
1602
- userId?: string | undefined;
1603
- }>;
603
+ }, import("zod/v4/core").$strip>;
1604
604
  readonly output: import("zod").ZodVoid;
1605
605
  };
1606
606
  readonly 'threads.trash': {
1607
607
  readonly input: import("zod").ZodObject<{
1608
608
  userId: import("zod").ZodOptional<import("zod").ZodString>;
1609
609
  id: import("zod").ZodString;
1610
- }, "strip", import("zod").ZodTypeAny, {
1611
- id: string;
1612
- userId?: string | undefined;
1613
- }, {
1614
- id: string;
1615
- userId?: string | undefined;
1616
- }>;
610
+ }, import("zod/v4/core").$strip>;
1617
611
  readonly output: import("zod").ZodObject<{
1618
612
  id: import("zod").ZodOptional<import("zod").ZodString>;
1619
613
  snippet: import("zod").ZodOptional<import("zod").ZodString>;
@@ -1621,77 +615,21 @@ export declare const gmailEndpointSchemas: {
1621
615
  messages: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
1622
616
  id: import("zod").ZodOptional<import("zod").ZodString>;
1623
617
  threadId: import("zod").ZodOptional<import("zod").ZodString>;
1624
- labelIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
618
+ labelIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
1625
619
  snippet: import("zod").ZodOptional<import("zod").ZodString>;
1626
620
  historyId: import("zod").ZodOptional<import("zod").ZodString>;
1627
- internalDate: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodDate]>, Date | null, string | number | Date>>>;
621
+ internalDate: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodDate]>, import("zod").ZodTransform<Date | null, string | number | Date>>>>;
1628
622
  sizeEstimate: import("zod").ZodOptional<import("zod").ZodNumber>;
1629
- payload: import("zod").ZodOptional<import("zod").ZodType<import("./endpoints").MessagePartShape, import("zod").ZodTypeDef, import("./endpoints").MessagePartShape>>;
623
+ payload: import("zod").ZodOptional<import("zod").ZodType<import("./endpoints").MessagePartShape, unknown, import("zod/v4/core").$ZodTypeInternals<import("./endpoints").MessagePartShape, unknown>>>;
1630
624
  raw: import("zod").ZodOptional<import("zod").ZodString>;
1631
- }, "strip", import("zod").ZodTypeAny, {
1632
- labelIds?: string[] | undefined;
1633
- id?: string | undefined;
1634
- raw?: string | undefined;
1635
- threadId?: string | undefined;
1636
- snippet?: string | undefined;
1637
- historyId?: string | undefined;
1638
- internalDate?: Date | null | undefined;
1639
- sizeEstimate?: number | undefined;
1640
- payload?: import("./endpoints").MessagePartShape | undefined;
1641
- }, {
1642
- labelIds?: string[] | undefined;
1643
- id?: string | undefined;
1644
- raw?: string | undefined;
1645
- threadId?: string | undefined;
1646
- snippet?: string | undefined;
1647
- historyId?: string | undefined;
1648
- internalDate?: string | number | Date | null | undefined;
1649
- sizeEstimate?: number | undefined;
1650
- payload?: import("./endpoints").MessagePartShape | undefined;
1651
- }>, "many">>;
1652
- }, "strip", import("zod").ZodTypeAny, {
1653
- id?: string | undefined;
1654
- snippet?: string | undefined;
1655
- historyId?: string | undefined;
1656
- messages?: {
1657
- labelIds?: string[] | undefined;
1658
- id?: string | undefined;
1659
- raw?: string | undefined;
1660
- threadId?: string | undefined;
1661
- snippet?: string | undefined;
1662
- historyId?: string | undefined;
1663
- internalDate?: Date | null | undefined;
1664
- sizeEstimate?: number | undefined;
1665
- payload?: import("./endpoints").MessagePartShape | undefined;
1666
- }[] | undefined;
1667
- }, {
1668
- id?: string | undefined;
1669
- snippet?: string | undefined;
1670
- historyId?: string | undefined;
1671
- messages?: {
1672
- labelIds?: string[] | undefined;
1673
- id?: string | undefined;
1674
- raw?: string | undefined;
1675
- threadId?: string | undefined;
1676
- snippet?: string | undefined;
1677
- historyId?: string | undefined;
1678
- internalDate?: string | number | Date | null | undefined;
1679
- sizeEstimate?: number | undefined;
1680
- payload?: import("./endpoints").MessagePartShape | undefined;
1681
- }[] | undefined;
1682
- }>;
625
+ }, import("zod/v4/core").$strip>>>;
626
+ }, import("zod/v4/core").$strip>;
1683
627
  };
1684
628
  readonly 'threads.untrash': {
1685
629
  readonly input: import("zod").ZodObject<{
1686
630
  userId: import("zod").ZodOptional<import("zod").ZodString>;
1687
631
  id: import("zod").ZodString;
1688
- }, "strip", import("zod").ZodTypeAny, {
1689
- id: string;
1690
- userId?: string | undefined;
1691
- }, {
1692
- id: string;
1693
- userId?: string | undefined;
1694
- }>;
632
+ }, import("zod/v4/core").$strip>;
1695
633
  readonly output: import("zod").ZodObject<{
1696
634
  id: import("zod").ZodOptional<import("zod").ZodString>;
1697
635
  snippet: import("zod").ZodOptional<import("zod").ZodString>;
@@ -1699,83 +637,33 @@ export declare const gmailEndpointSchemas: {
1699
637
  messages: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
1700
638
  id: import("zod").ZodOptional<import("zod").ZodString>;
1701
639
  threadId: import("zod").ZodOptional<import("zod").ZodString>;
1702
- labelIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
640
+ labelIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
1703
641
  snippet: import("zod").ZodOptional<import("zod").ZodString>;
1704
642
  historyId: import("zod").ZodOptional<import("zod").ZodString>;
1705
- internalDate: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodDate]>, Date | null, string | number | Date>>>;
643
+ internalDate: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodPipe<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodDate]>, import("zod").ZodTransform<Date | null, string | number | Date>>>>;
1706
644
  sizeEstimate: import("zod").ZodOptional<import("zod").ZodNumber>;
1707
- payload: import("zod").ZodOptional<import("zod").ZodType<import("./endpoints").MessagePartShape, import("zod").ZodTypeDef, import("./endpoints").MessagePartShape>>;
645
+ payload: import("zod").ZodOptional<import("zod").ZodType<import("./endpoints").MessagePartShape, unknown, import("zod/v4/core").$ZodTypeInternals<import("./endpoints").MessagePartShape, unknown>>>;
1708
646
  raw: import("zod").ZodOptional<import("zod").ZodString>;
1709
- }, "strip", import("zod").ZodTypeAny, {
1710
- labelIds?: string[] | undefined;
1711
- id?: string | undefined;
1712
- raw?: string | undefined;
1713
- threadId?: string | undefined;
1714
- snippet?: string | undefined;
1715
- historyId?: string | undefined;
1716
- internalDate?: Date | null | undefined;
1717
- sizeEstimate?: number | undefined;
1718
- payload?: import("./endpoints").MessagePartShape | undefined;
1719
- }, {
1720
- labelIds?: string[] | undefined;
1721
- id?: string | undefined;
1722
- raw?: string | undefined;
1723
- threadId?: string | undefined;
1724
- snippet?: string | undefined;
1725
- historyId?: string | undefined;
1726
- internalDate?: string | number | Date | null | undefined;
1727
- sizeEstimate?: number | undefined;
1728
- payload?: import("./endpoints").MessagePartShape | undefined;
1729
- }>, "many">>;
1730
- }, "strip", import("zod").ZodTypeAny, {
1731
- id?: string | undefined;
1732
- snippet?: string | undefined;
1733
- historyId?: string | undefined;
1734
- messages?: {
1735
- labelIds?: string[] | undefined;
1736
- id?: string | undefined;
1737
- raw?: string | undefined;
1738
- threadId?: string | undefined;
1739
- snippet?: string | undefined;
1740
- historyId?: string | undefined;
1741
- internalDate?: Date | null | undefined;
1742
- sizeEstimate?: number | undefined;
1743
- payload?: import("./endpoints").MessagePartShape | undefined;
1744
- }[] | undefined;
1745
- }, {
1746
- id?: string | undefined;
1747
- snippet?: string | undefined;
1748
- historyId?: string | undefined;
1749
- messages?: {
1750
- labelIds?: string[] | undefined;
1751
- id?: string | undefined;
1752
- raw?: string | undefined;
1753
- threadId?: string | undefined;
1754
- snippet?: string | undefined;
1755
- historyId?: string | undefined;
1756
- internalDate?: string | number | Date | null | undefined;
1757
- sizeEstimate?: number | undefined;
1758
- payload?: import("./endpoints").MessagePartShape | undefined;
1759
- }[] | undefined;
1760
- }>;
647
+ }, import("zod/v4/core").$strip>>>;
648
+ }, import("zod/v4/core").$strip>;
1761
649
  };
1762
650
  };
1763
651
  export declare const gmailWebhooksNested: {
1764
652
  readonly messageChanged: GmailWebhook<"messageChanged", {
1765
- message: import("./types").Message;
1766
653
  type: "messageReceived";
1767
- historyId: string;
1768
654
  emailAddress: string;
1769
- } | {
655
+ historyId: string;
1770
656
  message: import("./types").Message;
657
+ } | {
1771
658
  type: "messageDeleted";
1772
- historyId: string;
1773
659
  emailAddress: string;
1774
- } | {
660
+ historyId: string;
1775
661
  message: import("./types").Message;
662
+ } | {
1776
663
  type: "messageLabelChanged";
1777
- historyId: string;
1778
664
  emailAddress: string;
665
+ historyId: string;
666
+ message: import("./types").Message;
1779
667
  labelsAdded?: string[] | undefined;
1780
668
  labelsRemoved?: string[] | undefined;
1781
669
  }>;