@corsair-dev/gmail 0.1.0 → 0.1.2

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