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