@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/api.test.d.ts +2 -0
- package/dist/api.test.d.ts.map +1 -0
- package/dist/client.d.ts.map +1 -1
- package/dist/endpoints/drafts.d.ts +1 -1
- package/dist/endpoints/drafts.d.ts.map +1 -1
- package/dist/endpoints/index.d.ts +3 -3
- package/dist/endpoints/labels.d.ts +1 -1
- package/dist/endpoints/labels.d.ts.map +1 -1
- package/dist/endpoints/messages.d.ts +1 -1
- package/dist/endpoints/messages.d.ts.map +1 -1
- package/dist/endpoints/threads.d.ts +1 -1
- package/dist/endpoints/threads.d.ts.map +1 -1
- package/dist/endpoints/types.d.ts +222 -1388
- package/dist/endpoints/types.d.ts.map +1 -1
- package/dist/index.d.ts +224 -1337
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/integration.test.d.ts +2 -0
- package/dist/integration.test.d.ts.map +1 -0
- package/dist/schema/database.d.ts +23 -83
- package/dist/schema/database.d.ts.map +1 -1
- package/dist/schema/index.d.ts +24 -94
- package/dist/schema/index.d.ts.map +1 -1
- package/dist/webhooks/index.d.ts +12 -12
- package/dist/webhooks/messages.d.ts +1 -1
- package/dist/webhooks/messages.d.ts.map +1 -1
- package/dist/webhooks/types.d.ts +22 -134
- package/dist/webhooks/types.d.ts.map +1 -1
- package/package.json +15 -5
|
@@ -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
|
|
9
|
+
labelIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10
10
|
includeSpamTrash: z.ZodOptional<z.ZodBoolean>;
|
|
11
|
-
},
|
|
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<
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
metadataHeaders
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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
|
|
69
|
-
removeLabelIds: z.ZodOptional<z.ZodArray<z.ZodString
|
|
70
|
-
},
|
|
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
|
|
84
|
-
addLabelIds: z.ZodOptional<z.ZodArray<z.ZodString
|
|
85
|
-
removeLabelIds: z.ZodOptional<z.ZodArray<z.ZodString
|
|
86
|
-
},
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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<
|
|
139
|
-
|
|
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
|
-
},
|
|
144
|
-
|
|
145
|
-
|
|
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<
|
|
196
|
-
|
|
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
|
-
},
|
|
201
|
-
|
|
202
|
-
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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<
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
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
|
-
},
|
|
295
|
-
|
|
296
|
-
|
|
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
|
-
},
|
|
337
|
-
|
|
338
|
-
|
|
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
|
-
},
|
|
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
|
-
},
|
|
390
|
-
|
|
391
|
-
threadId?: string | undefined;
|
|
392
|
-
}, {
|
|
393
|
-
raw?: string | undefined;
|
|
394
|
-
threadId?: string | undefined;
|
|
395
|
-
}>>;
|
|
396
|
-
}, "strip", z.ZodTypeAny, {
|
|
397
|
-
id?: string | undefined;
|
|
398
|
-
message?: {
|
|
399
|
-
raw?: string | undefined;
|
|
400
|
-
threadId?: string | undefined;
|
|
401
|
-
} | undefined;
|
|
402
|
-
userId?: string | undefined;
|
|
403
|
-
}, {
|
|
404
|
-
id?: string | undefined;
|
|
405
|
-
message?: {
|
|
406
|
-
raw?: string | undefined;
|
|
407
|
-
threadId?: string | undefined;
|
|
408
|
-
} | undefined;
|
|
409
|
-
userId?: 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
|
|
154
|
+
labelIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
417
155
|
includeSpamTrash: z.ZodOptional<z.ZodBoolean>;
|
|
418
|
-
},
|
|
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<
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
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
|
|
453
|
-
removeLabelIds: z.ZodOptional<z.ZodArray<z.ZodString
|
|
454
|
-
},
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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
|
-
},
|
|
525
|
-
|
|
526
|
-
attachmentId?: string | undefined;
|
|
527
|
-
size?: number | undefined;
|
|
528
|
-
}, {
|
|
529
|
-
data?: string | undefined;
|
|
530
|
-
attachmentId?: string | undefined;
|
|
531
|
-
size?: number | undefined;
|
|
532
|
-
}>>;
|
|
533
|
-
}, "strip", z.ZodTypeAny, {
|
|
534
|
-
body?: {
|
|
535
|
-
data?: string | undefined;
|
|
536
|
-
attachmentId?: string | undefined;
|
|
537
|
-
size?: number | 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
|
-
data?: string | undefined;
|
|
549
|
-
attachmentId?: string | undefined;
|
|
550
|
-
size?: number | 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
|
|
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.
|
|
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.
|
|
219
|
+
payload: z.ZodOptional<z.ZodType<MessagePartShape, unknown, z.core.$ZodTypeInternals<MessagePartShape, unknown>>>;
|
|
574
220
|
raw: z.ZodOptional<z.ZodString>;
|
|
575
|
-
},
|
|
576
|
-
id?: string | undefined;
|
|
577
|
-
payload?: MessagePartShape | undefined;
|
|
578
|
-
labelIds?: string[] | undefined;
|
|
579
|
-
raw?: string | undefined;
|
|
580
|
-
threadId?: string | undefined;
|
|
581
|
-
snippet?: string | undefined;
|
|
582
|
-
historyId?: string | undefined;
|
|
583
|
-
internalDate?: Date | null | undefined;
|
|
584
|
-
sizeEstimate?: number | undefined;
|
|
585
|
-
}, {
|
|
586
|
-
id?: string | undefined;
|
|
587
|
-
payload?: MessagePartShape | undefined;
|
|
588
|
-
labelIds?: string[] | undefined;
|
|
589
|
-
raw?: string | undefined;
|
|
590
|
-
threadId?: string | undefined;
|
|
591
|
-
snippet?: string | undefined;
|
|
592
|
-
historyId?: string | undefined;
|
|
593
|
-
internalDate?: string | number | Date | null | undefined;
|
|
594
|
-
sizeEstimate?: number | undefined;
|
|
595
|
-
}>, "many">>;
|
|
221
|
+
}, z.core.$strip>>>;
|
|
596
222
|
nextPageToken: z.ZodOptional<z.ZodString>;
|
|
597
223
|
resultSizeEstimate: z.ZodOptional<z.ZodNumber>;
|
|
598
|
-
},
|
|
599
|
-
messages?: {
|
|
600
|
-
id?: string | undefined;
|
|
601
|
-
payload?: MessagePartShape | undefined;
|
|
602
|
-
labelIds?: string[] | undefined;
|
|
603
|
-
raw?: string | undefined;
|
|
604
|
-
threadId?: string | undefined;
|
|
605
|
-
snippet?: string | undefined;
|
|
606
|
-
historyId?: string | undefined;
|
|
607
|
-
internalDate?: Date | null | undefined;
|
|
608
|
-
sizeEstimate?: number | undefined;
|
|
609
|
-
}[] | undefined;
|
|
610
|
-
nextPageToken?: string | undefined;
|
|
611
|
-
resultSizeEstimate?: number | undefined;
|
|
612
|
-
}, {
|
|
613
|
-
messages?: {
|
|
614
|
-
id?: string | undefined;
|
|
615
|
-
payload?: MessagePartShape | undefined;
|
|
616
|
-
labelIds?: string[] | undefined;
|
|
617
|
-
raw?: string | undefined;
|
|
618
|
-
threadId?: string | undefined;
|
|
619
|
-
snippet?: string | undefined;
|
|
620
|
-
historyId?: string | undefined;
|
|
621
|
-
internalDate?: string | number | Date | null | undefined;
|
|
622
|
-
sizeEstimate?: number | 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
|
|
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.
|
|
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.
|
|
233
|
+
payload: z.ZodOptional<z.ZodType<MessagePartShape, unknown, z.core.$ZodTypeInternals<MessagePartShape, unknown>>>;
|
|
636
234
|
raw: z.ZodOptional<z.ZodString>;
|
|
637
|
-
},
|
|
638
|
-
id?: string | undefined;
|
|
639
|
-
payload?: MessagePartShape | undefined;
|
|
640
|
-
labelIds?: string[] | undefined;
|
|
641
|
-
raw?: string | undefined;
|
|
642
|
-
threadId?: string | undefined;
|
|
643
|
-
snippet?: string | undefined;
|
|
644
|
-
historyId?: string | undefined;
|
|
645
|
-
internalDate?: Date | null | undefined;
|
|
646
|
-
sizeEstimate?: number | undefined;
|
|
647
|
-
}, {
|
|
648
|
-
id?: string | undefined;
|
|
649
|
-
payload?: MessagePartShape | undefined;
|
|
650
|
-
labelIds?: string[] | undefined;
|
|
651
|
-
raw?: string | undefined;
|
|
652
|
-
threadId?: string | undefined;
|
|
653
|
-
snippet?: string | undefined;
|
|
654
|
-
historyId?: string | undefined;
|
|
655
|
-
internalDate?: string | number | Date | null | undefined;
|
|
656
|
-
sizeEstimate?: number | 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
|
|
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.
|
|
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.
|
|
244
|
+
payload: z.ZodOptional<z.ZodType<MessagePartShape, unknown, z.core.$ZodTypeInternals<MessagePartShape, unknown>>>;
|
|
667
245
|
raw: z.ZodOptional<z.ZodString>;
|
|
668
|
-
},
|
|
669
|
-
id?: string | undefined;
|
|
670
|
-
payload?: MessagePartShape | undefined;
|
|
671
|
-
labelIds?: string[] | undefined;
|
|
672
|
-
raw?: string | undefined;
|
|
673
|
-
threadId?: string | undefined;
|
|
674
|
-
snippet?: string | undefined;
|
|
675
|
-
historyId?: string | undefined;
|
|
676
|
-
internalDate?: Date | null | undefined;
|
|
677
|
-
sizeEstimate?: number | undefined;
|
|
678
|
-
}, {
|
|
679
|
-
id?: string | undefined;
|
|
680
|
-
payload?: MessagePartShape | undefined;
|
|
681
|
-
labelIds?: string[] | undefined;
|
|
682
|
-
raw?: string | undefined;
|
|
683
|
-
threadId?: string | undefined;
|
|
684
|
-
snippet?: string | undefined;
|
|
685
|
-
historyId?: string | undefined;
|
|
686
|
-
internalDate?: string | number | Date | null | undefined;
|
|
687
|
-
sizeEstimate?: number | 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
|
|
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.
|
|
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.
|
|
256
|
+
payload: z.ZodOptional<z.ZodType<MessagePartShape, unknown, z.core.$ZodTypeInternals<MessagePartShape, unknown>>>;
|
|
699
257
|
raw: z.ZodOptional<z.ZodString>;
|
|
700
|
-
},
|
|
701
|
-
id?: string | undefined;
|
|
702
|
-
payload?: MessagePartShape | undefined;
|
|
703
|
-
labelIds?: string[] | undefined;
|
|
704
|
-
raw?: string | undefined;
|
|
705
|
-
threadId?: string | undefined;
|
|
706
|
-
snippet?: string | undefined;
|
|
707
|
-
historyId?: string | undefined;
|
|
708
|
-
internalDate?: Date | null | undefined;
|
|
709
|
-
sizeEstimate?: number | undefined;
|
|
710
|
-
}, {
|
|
711
|
-
id?: string | undefined;
|
|
712
|
-
payload?: MessagePartShape | undefined;
|
|
713
|
-
labelIds?: string[] | undefined;
|
|
714
|
-
raw?: string | undefined;
|
|
715
|
-
threadId?: string | undefined;
|
|
716
|
-
snippet?: string | undefined;
|
|
717
|
-
historyId?: string | undefined;
|
|
718
|
-
internalDate?: string | number | Date | null | undefined;
|
|
719
|
-
sizeEstimate?: number | 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
|
|
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.
|
|
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.
|
|
268
|
+
payload: z.ZodOptional<z.ZodType<MessagePartShape, unknown, z.core.$ZodTypeInternals<MessagePartShape, unknown>>>;
|
|
731
269
|
raw: z.ZodOptional<z.ZodString>;
|
|
732
|
-
},
|
|
733
|
-
id?: string | undefined;
|
|
734
|
-
payload?: MessagePartShape | undefined;
|
|
735
|
-
labelIds?: string[] | undefined;
|
|
736
|
-
raw?: string | undefined;
|
|
737
|
-
threadId?: string | undefined;
|
|
738
|
-
snippet?: string | undefined;
|
|
739
|
-
historyId?: string | undefined;
|
|
740
|
-
internalDate?: Date | null | undefined;
|
|
741
|
-
sizeEstimate?: number | undefined;
|
|
742
|
-
}, {
|
|
743
|
-
id?: string | undefined;
|
|
744
|
-
payload?: MessagePartShape | undefined;
|
|
745
|
-
labelIds?: string[] | undefined;
|
|
746
|
-
raw?: string | undefined;
|
|
747
|
-
threadId?: string | undefined;
|
|
748
|
-
snippet?: string | undefined;
|
|
749
|
-
historyId?: string | undefined;
|
|
750
|
-
internalDate?: string | number | Date | null | undefined;
|
|
751
|
-
sizeEstimate?: number | 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
|
|
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.
|
|
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.
|
|
279
|
+
payload: z.ZodOptional<z.ZodType<MessagePartShape, unknown, z.core.$ZodTypeInternals<MessagePartShape, unknown>>>;
|
|
762
280
|
raw: z.ZodOptional<z.ZodString>;
|
|
763
|
-
},
|
|
764
|
-
id?: string | undefined;
|
|
765
|
-
payload?: MessagePartShape | undefined;
|
|
766
|
-
labelIds?: string[] | undefined;
|
|
767
|
-
raw?: string | undefined;
|
|
768
|
-
threadId?: string | undefined;
|
|
769
|
-
snippet?: string | undefined;
|
|
770
|
-
historyId?: string | undefined;
|
|
771
|
-
internalDate?: Date | null | undefined;
|
|
772
|
-
sizeEstimate?: number | undefined;
|
|
773
|
-
}, {
|
|
774
|
-
id?: string | undefined;
|
|
775
|
-
payload?: MessagePartShape | undefined;
|
|
776
|
-
labelIds?: string[] | undefined;
|
|
777
|
-
raw?: string | undefined;
|
|
778
|
-
threadId?: string | undefined;
|
|
779
|
-
snippet?: string | undefined;
|
|
780
|
-
historyId?: string | undefined;
|
|
781
|
-
internalDate?: string | number | Date | null | undefined;
|
|
782
|
-
sizeEstimate?: number | 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<
|
|
789
|
-
|
|
790
|
-
|
|
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
|
-
},
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
}, {
|
|
802
|
-
textColor?: string | undefined;
|
|
803
|
-
backgroundColor?: string | undefined;
|
|
804
|
-
}>>;
|
|
805
|
-
}, "strip", z.ZodTypeAny, {
|
|
806
|
-
id?: string | undefined;
|
|
807
|
-
name?: string | undefined;
|
|
808
|
-
type?: "system" | "user" | 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
|
-
id?: string | undefined;
|
|
821
|
-
name?: string | undefined;
|
|
822
|
-
type?: "system" | "user" | 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
|
-
id?: string | undefined;
|
|
837
|
-
name?: string | undefined;
|
|
838
|
-
type?: "system" | "user" | 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
|
-
id?: string | undefined;
|
|
853
|
-
name?: string | undefined;
|
|
854
|
-
type?: "system" | "user" | 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<
|
|
871
|
-
|
|
872
|
-
|
|
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
|
-
},
|
|
881
|
-
|
|
882
|
-
backgroundColor?: string | undefined;
|
|
883
|
-
}, {
|
|
884
|
-
textColor?: string | undefined;
|
|
885
|
-
backgroundColor?: string | undefined;
|
|
886
|
-
}>>;
|
|
887
|
-
}, "strip", z.ZodTypeAny, {
|
|
888
|
-
id?: string | undefined;
|
|
889
|
-
name?: string | undefined;
|
|
890
|
-
type?: "system" | "user" | 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
|
-
id?: string | undefined;
|
|
903
|
-
name?: string | undefined;
|
|
904
|
-
type?: "system" | "user" | 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<
|
|
920
|
-
|
|
921
|
-
|
|
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
|
-
},
|
|
930
|
-
|
|
931
|
-
backgroundColor?: string | undefined;
|
|
932
|
-
}, {
|
|
933
|
-
textColor?: string | undefined;
|
|
934
|
-
backgroundColor?: string | undefined;
|
|
935
|
-
}>>;
|
|
936
|
-
}, "strip", z.ZodTypeAny, {
|
|
937
|
-
id?: string | undefined;
|
|
938
|
-
name?: string | undefined;
|
|
939
|
-
type?: "system" | "user" | 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
|
-
id?: string | undefined;
|
|
952
|
-
name?: string | undefined;
|
|
953
|
-
type?: "system" | "user" | 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<
|
|
969
|
-
|
|
970
|
-
|
|
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
|
-
},
|
|
979
|
-
|
|
980
|
-
backgroundColor?: string | undefined;
|
|
981
|
-
}, {
|
|
982
|
-
textColor?: string | undefined;
|
|
983
|
-
backgroundColor?: string | undefined;
|
|
984
|
-
}>>;
|
|
985
|
-
}, "strip", z.ZodTypeAny, {
|
|
986
|
-
id?: string | undefined;
|
|
987
|
-
name?: string | undefined;
|
|
988
|
-
type?: "system" | "user" | 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
|
-
id?: string | undefined;
|
|
1001
|
-
name?: string | undefined;
|
|
1002
|
-
type?: "system" | "user" | 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
|
|
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.
|
|
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.
|
|
396
|
+
payload: z.ZodOptional<z.ZodType<MessagePartShape, unknown, z.core.$ZodTypeInternals<MessagePartShape, unknown>>>;
|
|
1027
397
|
raw: z.ZodOptional<z.ZodString>;
|
|
1028
|
-
},
|
|
1029
|
-
|
|
1030
|
-
payload?: MessagePartShape | undefined;
|
|
1031
|
-
labelIds?: string[] | undefined;
|
|
1032
|
-
raw?: string | undefined;
|
|
1033
|
-
threadId?: string | undefined;
|
|
1034
|
-
snippet?: string | undefined;
|
|
1035
|
-
historyId?: string | undefined;
|
|
1036
|
-
internalDate?: Date | null | undefined;
|
|
1037
|
-
sizeEstimate?: number | undefined;
|
|
1038
|
-
}, {
|
|
1039
|
-
id?: string | undefined;
|
|
1040
|
-
payload?: MessagePartShape | undefined;
|
|
1041
|
-
labelIds?: string[] | undefined;
|
|
1042
|
-
raw?: string | undefined;
|
|
1043
|
-
threadId?: string | undefined;
|
|
1044
|
-
snippet?: string | undefined;
|
|
1045
|
-
historyId?: string | undefined;
|
|
1046
|
-
internalDate?: string | number | Date | null | undefined;
|
|
1047
|
-
sizeEstimate?: number | undefined;
|
|
1048
|
-
}>>;
|
|
1049
|
-
}, "strip", z.ZodTypeAny, {
|
|
1050
|
-
id?: string | undefined;
|
|
1051
|
-
message?: {
|
|
1052
|
-
id?: string | undefined;
|
|
1053
|
-
payload?: MessagePartShape | undefined;
|
|
1054
|
-
labelIds?: string[] | undefined;
|
|
1055
|
-
raw?: string | undefined;
|
|
1056
|
-
threadId?: string | undefined;
|
|
1057
|
-
snippet?: string | undefined;
|
|
1058
|
-
historyId?: string | undefined;
|
|
1059
|
-
internalDate?: Date | null | undefined;
|
|
1060
|
-
sizeEstimate?: number | undefined;
|
|
1061
|
-
} | undefined;
|
|
1062
|
-
}, {
|
|
1063
|
-
id?: string | undefined;
|
|
1064
|
-
message?: {
|
|
1065
|
-
id?: string | undefined;
|
|
1066
|
-
payload?: MessagePartShape | undefined;
|
|
1067
|
-
labelIds?: string[] | undefined;
|
|
1068
|
-
raw?: string | undefined;
|
|
1069
|
-
threadId?: string | undefined;
|
|
1070
|
-
snippet?: string | undefined;
|
|
1071
|
-
historyId?: string | undefined;
|
|
1072
|
-
internalDate?: string | number | Date | null | undefined;
|
|
1073
|
-
sizeEstimate?: number | undefined;
|
|
1074
|
-
} | 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
|
-
},
|
|
1079
|
-
nextPageToken?: string | undefined;
|
|
1080
|
-
resultSizeEstimate?: number | undefined;
|
|
1081
|
-
drafts?: {
|
|
1082
|
-
id?: string | undefined;
|
|
1083
|
-
message?: {
|
|
1084
|
-
id?: string | undefined;
|
|
1085
|
-
payload?: MessagePartShape | undefined;
|
|
1086
|
-
labelIds?: string[] | undefined;
|
|
1087
|
-
raw?: string | undefined;
|
|
1088
|
-
threadId?: string | undefined;
|
|
1089
|
-
snippet?: string | undefined;
|
|
1090
|
-
historyId?: string | undefined;
|
|
1091
|
-
internalDate?: Date | null | undefined;
|
|
1092
|
-
sizeEstimate?: number | undefined;
|
|
1093
|
-
} | undefined;
|
|
1094
|
-
}[] | undefined;
|
|
1095
|
-
}, {
|
|
1096
|
-
nextPageToken?: string | undefined;
|
|
1097
|
-
resultSizeEstimate?: number | undefined;
|
|
1098
|
-
drafts?: {
|
|
1099
|
-
id?: string | undefined;
|
|
1100
|
-
message?: {
|
|
1101
|
-
id?: string | undefined;
|
|
1102
|
-
payload?: MessagePartShape | undefined;
|
|
1103
|
-
labelIds?: string[] | undefined;
|
|
1104
|
-
raw?: string | undefined;
|
|
1105
|
-
threadId?: string | undefined;
|
|
1106
|
-
snippet?: string | undefined;
|
|
1107
|
-
historyId?: string | undefined;
|
|
1108
|
-
internalDate?: string | number | Date | null | undefined;
|
|
1109
|
-
sizeEstimate?: number | undefined;
|
|
1110
|
-
} | 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
|
|
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.
|
|
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.
|
|
413
|
+
payload: z.ZodOptional<z.ZodType<MessagePartShape, unknown, z.core.$ZodTypeInternals<MessagePartShape, unknown>>>;
|
|
1124
414
|
raw: z.ZodOptional<z.ZodString>;
|
|
1125
|
-
},
|
|
1126
|
-
|
|
1127
|
-
payload?: MessagePartShape | undefined;
|
|
1128
|
-
labelIds?: string[] | undefined;
|
|
1129
|
-
raw?: string | undefined;
|
|
1130
|
-
threadId?: string | undefined;
|
|
1131
|
-
snippet?: string | undefined;
|
|
1132
|
-
historyId?: string | undefined;
|
|
1133
|
-
internalDate?: Date | null | undefined;
|
|
1134
|
-
sizeEstimate?: number | undefined;
|
|
1135
|
-
}, {
|
|
1136
|
-
id?: string | undefined;
|
|
1137
|
-
payload?: MessagePartShape | undefined;
|
|
1138
|
-
labelIds?: string[] | undefined;
|
|
1139
|
-
raw?: string | undefined;
|
|
1140
|
-
threadId?: string | undefined;
|
|
1141
|
-
snippet?: string | undefined;
|
|
1142
|
-
historyId?: string | undefined;
|
|
1143
|
-
internalDate?: string | number | Date | null | undefined;
|
|
1144
|
-
sizeEstimate?: number | undefined;
|
|
1145
|
-
}>>;
|
|
1146
|
-
}, "strip", z.ZodTypeAny, {
|
|
1147
|
-
id?: string | undefined;
|
|
1148
|
-
message?: {
|
|
1149
|
-
id?: string | undefined;
|
|
1150
|
-
payload?: MessagePartShape | undefined;
|
|
1151
|
-
labelIds?: string[] | undefined;
|
|
1152
|
-
raw?: string | undefined;
|
|
1153
|
-
threadId?: string | undefined;
|
|
1154
|
-
snippet?: string | undefined;
|
|
1155
|
-
historyId?: string | undefined;
|
|
1156
|
-
internalDate?: Date | null | undefined;
|
|
1157
|
-
sizeEstimate?: number | undefined;
|
|
1158
|
-
} | undefined;
|
|
1159
|
-
}, {
|
|
1160
|
-
id?: string | undefined;
|
|
1161
|
-
message?: {
|
|
1162
|
-
id?: string | undefined;
|
|
1163
|
-
payload?: MessagePartShape | undefined;
|
|
1164
|
-
labelIds?: string[] | undefined;
|
|
1165
|
-
raw?: string | undefined;
|
|
1166
|
-
threadId?: string | undefined;
|
|
1167
|
-
snippet?: string | undefined;
|
|
1168
|
-
historyId?: string | undefined;
|
|
1169
|
-
internalDate?: string | number | Date | null | undefined;
|
|
1170
|
-
sizeEstimate?: number | undefined;
|
|
1171
|
-
} | 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
|
|
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.
|
|
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.
|
|
427
|
+
payload: z.ZodOptional<z.ZodType<MessagePartShape, unknown, z.core.$ZodTypeInternals<MessagePartShape, unknown>>>;
|
|
1184
428
|
raw: z.ZodOptional<z.ZodString>;
|
|
1185
|
-
},
|
|
1186
|
-
|
|
1187
|
-
payload?: MessagePartShape | undefined;
|
|
1188
|
-
labelIds?: string[] | undefined;
|
|
1189
|
-
raw?: string | undefined;
|
|
1190
|
-
threadId?: string | undefined;
|
|
1191
|
-
snippet?: string | undefined;
|
|
1192
|
-
historyId?: string | undefined;
|
|
1193
|
-
internalDate?: Date | null | undefined;
|
|
1194
|
-
sizeEstimate?: number | undefined;
|
|
1195
|
-
}, {
|
|
1196
|
-
id?: string | undefined;
|
|
1197
|
-
payload?: MessagePartShape | undefined;
|
|
1198
|
-
labelIds?: string[] | undefined;
|
|
1199
|
-
raw?: string | undefined;
|
|
1200
|
-
threadId?: string | undefined;
|
|
1201
|
-
snippet?: string | undefined;
|
|
1202
|
-
historyId?: string | undefined;
|
|
1203
|
-
internalDate?: string | number | Date | null | undefined;
|
|
1204
|
-
sizeEstimate?: number | undefined;
|
|
1205
|
-
}>>;
|
|
1206
|
-
}, "strip", z.ZodTypeAny, {
|
|
1207
|
-
id?: string | undefined;
|
|
1208
|
-
message?: {
|
|
1209
|
-
id?: string | undefined;
|
|
1210
|
-
payload?: MessagePartShape | undefined;
|
|
1211
|
-
labelIds?: string[] | undefined;
|
|
1212
|
-
raw?: string | undefined;
|
|
1213
|
-
threadId?: string | undefined;
|
|
1214
|
-
snippet?: string | undefined;
|
|
1215
|
-
historyId?: string | undefined;
|
|
1216
|
-
internalDate?: Date | null | undefined;
|
|
1217
|
-
sizeEstimate?: number | undefined;
|
|
1218
|
-
} | undefined;
|
|
1219
|
-
}, {
|
|
1220
|
-
id?: string | undefined;
|
|
1221
|
-
message?: {
|
|
1222
|
-
id?: string | undefined;
|
|
1223
|
-
payload?: MessagePartShape | undefined;
|
|
1224
|
-
labelIds?: string[] | undefined;
|
|
1225
|
-
raw?: string | undefined;
|
|
1226
|
-
threadId?: string | undefined;
|
|
1227
|
-
snippet?: string | undefined;
|
|
1228
|
-
historyId?: string | undefined;
|
|
1229
|
-
internalDate?: string | number | Date | null | undefined;
|
|
1230
|
-
sizeEstimate?: number | undefined;
|
|
1231
|
-
} | 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
|
|
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.
|
|
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.
|
|
441
|
+
payload: z.ZodOptional<z.ZodType<MessagePartShape, unknown, z.core.$ZodTypeInternals<MessagePartShape, unknown>>>;
|
|
1244
442
|
raw: z.ZodOptional<z.ZodString>;
|
|
1245
|
-
},
|
|
1246
|
-
|
|
1247
|
-
payload?: MessagePartShape | undefined;
|
|
1248
|
-
labelIds?: string[] | undefined;
|
|
1249
|
-
raw?: string | undefined;
|
|
1250
|
-
threadId?: string | undefined;
|
|
1251
|
-
snippet?: string | undefined;
|
|
1252
|
-
historyId?: string | undefined;
|
|
1253
|
-
internalDate?: Date | null | undefined;
|
|
1254
|
-
sizeEstimate?: number | undefined;
|
|
1255
|
-
}, {
|
|
1256
|
-
id?: string | undefined;
|
|
1257
|
-
payload?: MessagePartShape | undefined;
|
|
1258
|
-
labelIds?: string[] | undefined;
|
|
1259
|
-
raw?: string | undefined;
|
|
1260
|
-
threadId?: string | undefined;
|
|
1261
|
-
snippet?: string | undefined;
|
|
1262
|
-
historyId?: string | undefined;
|
|
1263
|
-
internalDate?: string | number | Date | null | undefined;
|
|
1264
|
-
sizeEstimate?: number | undefined;
|
|
1265
|
-
}>>;
|
|
1266
|
-
}, "strip", z.ZodTypeAny, {
|
|
1267
|
-
id?: string | undefined;
|
|
1268
|
-
message?: {
|
|
1269
|
-
id?: string | undefined;
|
|
1270
|
-
payload?: MessagePartShape | undefined;
|
|
1271
|
-
labelIds?: string[] | undefined;
|
|
1272
|
-
raw?: string | undefined;
|
|
1273
|
-
threadId?: string | undefined;
|
|
1274
|
-
snippet?: string | undefined;
|
|
1275
|
-
historyId?: string | undefined;
|
|
1276
|
-
internalDate?: Date | null | undefined;
|
|
1277
|
-
sizeEstimate?: number | undefined;
|
|
1278
|
-
} | undefined;
|
|
1279
|
-
}, {
|
|
1280
|
-
id?: string | undefined;
|
|
1281
|
-
message?: {
|
|
1282
|
-
id?: string | undefined;
|
|
1283
|
-
payload?: MessagePartShape | undefined;
|
|
1284
|
-
labelIds?: string[] | undefined;
|
|
1285
|
-
raw?: string | undefined;
|
|
1286
|
-
threadId?: string | undefined;
|
|
1287
|
-
snippet?: string | undefined;
|
|
1288
|
-
historyId?: string | undefined;
|
|
1289
|
-
internalDate?: string | number | Date | null | undefined;
|
|
1290
|
-
sizeEstimate?: number | undefined;
|
|
1291
|
-
} | 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
|
|
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.
|
|
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.
|
|
454
|
+
payload: z.ZodOptional<z.ZodType<MessagePartShape, unknown, z.core.$ZodTypeInternals<MessagePartShape, unknown>>>;
|
|
1303
455
|
raw: z.ZodOptional<z.ZodString>;
|
|
1304
|
-
},
|
|
1305
|
-
id?: string | undefined;
|
|
1306
|
-
payload?: MessagePartShape | undefined;
|
|
1307
|
-
labelIds?: string[] | undefined;
|
|
1308
|
-
raw?: string | undefined;
|
|
1309
|
-
threadId?: string | undefined;
|
|
1310
|
-
snippet?: string | undefined;
|
|
1311
|
-
historyId?: string | undefined;
|
|
1312
|
-
internalDate?: Date | null | undefined;
|
|
1313
|
-
sizeEstimate?: number | undefined;
|
|
1314
|
-
}, {
|
|
1315
|
-
id?: string | undefined;
|
|
1316
|
-
payload?: MessagePartShape | undefined;
|
|
1317
|
-
labelIds?: string[] | undefined;
|
|
1318
|
-
raw?: string | undefined;
|
|
1319
|
-
threadId?: string | undefined;
|
|
1320
|
-
snippet?: string | undefined;
|
|
1321
|
-
historyId?: string | undefined;
|
|
1322
|
-
internalDate?: string | number | Date | null | undefined;
|
|
1323
|
-
sizeEstimate?: number | 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
|
|
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.
|
|
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.
|
|
470
|
+
payload: z.ZodOptional<z.ZodType<MessagePartShape, unknown, z.core.$ZodTypeInternals<MessagePartShape, unknown>>>;
|
|
1339
471
|
raw: z.ZodOptional<z.ZodString>;
|
|
1340
|
-
},
|
|
1341
|
-
|
|
1342
|
-
payload?: MessagePartShape | undefined;
|
|
1343
|
-
labelIds?: string[] | undefined;
|
|
1344
|
-
raw?: string | undefined;
|
|
1345
|
-
threadId?: string | undefined;
|
|
1346
|
-
snippet?: string | undefined;
|
|
1347
|
-
historyId?: string | undefined;
|
|
1348
|
-
internalDate?: Date | null | undefined;
|
|
1349
|
-
sizeEstimate?: number | undefined;
|
|
1350
|
-
}, {
|
|
1351
|
-
id?: string | undefined;
|
|
1352
|
-
payload?: MessagePartShape | undefined;
|
|
1353
|
-
labelIds?: string[] | undefined;
|
|
1354
|
-
raw?: string | undefined;
|
|
1355
|
-
threadId?: string | undefined;
|
|
1356
|
-
snippet?: string | undefined;
|
|
1357
|
-
historyId?: string | undefined;
|
|
1358
|
-
internalDate?: string | number | Date | null | undefined;
|
|
1359
|
-
sizeEstimate?: number | undefined;
|
|
1360
|
-
}>, "many">>;
|
|
1361
|
-
}, "strip", z.ZodTypeAny, {
|
|
1362
|
-
id?: string | undefined;
|
|
1363
|
-
snippet?: string | undefined;
|
|
1364
|
-
historyId?: string | undefined;
|
|
1365
|
-
messages?: {
|
|
1366
|
-
id?: string | undefined;
|
|
1367
|
-
payload?: MessagePartShape | undefined;
|
|
1368
|
-
labelIds?: string[] | undefined;
|
|
1369
|
-
raw?: string | undefined;
|
|
1370
|
-
threadId?: string | undefined;
|
|
1371
|
-
snippet?: string | undefined;
|
|
1372
|
-
historyId?: string | undefined;
|
|
1373
|
-
internalDate?: Date | null | undefined;
|
|
1374
|
-
sizeEstimate?: number | undefined;
|
|
1375
|
-
}[] | undefined;
|
|
1376
|
-
}, {
|
|
1377
|
-
id?: string | undefined;
|
|
1378
|
-
snippet?: string | undefined;
|
|
1379
|
-
historyId?: string | undefined;
|
|
1380
|
-
messages?: {
|
|
1381
|
-
id?: string | undefined;
|
|
1382
|
-
payload?: MessagePartShape | undefined;
|
|
1383
|
-
labelIds?: string[] | undefined;
|
|
1384
|
-
raw?: string | undefined;
|
|
1385
|
-
threadId?: string | undefined;
|
|
1386
|
-
snippet?: string | undefined;
|
|
1387
|
-
historyId?: string | undefined;
|
|
1388
|
-
internalDate?: string | number | Date | null | undefined;
|
|
1389
|
-
sizeEstimate?: number | 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
|
-
},
|
|
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
|
-
id?: string | undefined;
|
|
1403
|
-
payload?: MessagePartShape | undefined;
|
|
1404
|
-
labelIds?: string[] | undefined;
|
|
1405
|
-
raw?: string | undefined;
|
|
1406
|
-
threadId?: string | undefined;
|
|
1407
|
-
snippet?: string | undefined;
|
|
1408
|
-
historyId?: string | undefined;
|
|
1409
|
-
internalDate?: Date | null | undefined;
|
|
1410
|
-
sizeEstimate?: number | 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
|
-
id?: string | undefined;
|
|
1422
|
-
payload?: MessagePartShape | undefined;
|
|
1423
|
-
labelIds?: string[] | undefined;
|
|
1424
|
-
raw?: string | undefined;
|
|
1425
|
-
threadId?: string | undefined;
|
|
1426
|
-
snippet?: string | undefined;
|
|
1427
|
-
historyId?: string | undefined;
|
|
1428
|
-
internalDate?: string | number | Date | null | undefined;
|
|
1429
|
-
sizeEstimate?: number | 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
|
|
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.
|
|
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.
|
|
489
|
+
payload: z.ZodOptional<z.ZodType<MessagePartShape, unknown, z.core.$ZodTypeInternals<MessagePartShape, unknown>>>;
|
|
1446
490
|
raw: z.ZodOptional<z.ZodString>;
|
|
1447
|
-
},
|
|
1448
|
-
|
|
1449
|
-
payload?: MessagePartShape | undefined;
|
|
1450
|
-
labelIds?: string[] | undefined;
|
|
1451
|
-
raw?: string | undefined;
|
|
1452
|
-
threadId?: string | undefined;
|
|
1453
|
-
snippet?: string | undefined;
|
|
1454
|
-
historyId?: string | undefined;
|
|
1455
|
-
internalDate?: Date | null | undefined;
|
|
1456
|
-
sizeEstimate?: number | undefined;
|
|
1457
|
-
}, {
|
|
1458
|
-
id?: string | undefined;
|
|
1459
|
-
payload?: MessagePartShape | undefined;
|
|
1460
|
-
labelIds?: string[] | undefined;
|
|
1461
|
-
raw?: string | undefined;
|
|
1462
|
-
threadId?: string | undefined;
|
|
1463
|
-
snippet?: string | undefined;
|
|
1464
|
-
historyId?: string | undefined;
|
|
1465
|
-
internalDate?: string | number | Date | null | undefined;
|
|
1466
|
-
sizeEstimate?: number | undefined;
|
|
1467
|
-
}>, "many">>;
|
|
1468
|
-
}, "strip", z.ZodTypeAny, {
|
|
1469
|
-
id?: string | undefined;
|
|
1470
|
-
snippet?: string | undefined;
|
|
1471
|
-
historyId?: string | undefined;
|
|
1472
|
-
messages?: {
|
|
1473
|
-
id?: string | undefined;
|
|
1474
|
-
payload?: MessagePartShape | undefined;
|
|
1475
|
-
labelIds?: string[] | undefined;
|
|
1476
|
-
raw?: string | undefined;
|
|
1477
|
-
threadId?: string | undefined;
|
|
1478
|
-
snippet?: string | undefined;
|
|
1479
|
-
historyId?: string | undefined;
|
|
1480
|
-
internalDate?: Date | null | undefined;
|
|
1481
|
-
sizeEstimate?: number | undefined;
|
|
1482
|
-
}[] | undefined;
|
|
1483
|
-
}, {
|
|
1484
|
-
id?: string | undefined;
|
|
1485
|
-
snippet?: string | undefined;
|
|
1486
|
-
historyId?: string | undefined;
|
|
1487
|
-
messages?: {
|
|
1488
|
-
id?: string | undefined;
|
|
1489
|
-
payload?: MessagePartShape | undefined;
|
|
1490
|
-
labelIds?: string[] | undefined;
|
|
1491
|
-
raw?: string | undefined;
|
|
1492
|
-
threadId?: string | undefined;
|
|
1493
|
-
snippet?: string | undefined;
|
|
1494
|
-
historyId?: string | undefined;
|
|
1495
|
-
internalDate?: string | number | Date | null | undefined;
|
|
1496
|
-
sizeEstimate?: number | 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
|
|
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.
|
|
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.
|
|
505
|
+
payload: z.ZodOptional<z.ZodType<MessagePartShape, unknown, z.core.$ZodTypeInternals<MessagePartShape, unknown>>>;
|
|
1512
506
|
raw: z.ZodOptional<z.ZodString>;
|
|
1513
|
-
},
|
|
1514
|
-
|
|
1515
|
-
payload?: MessagePartShape | undefined;
|
|
1516
|
-
labelIds?: string[] | undefined;
|
|
1517
|
-
raw?: string | undefined;
|
|
1518
|
-
threadId?: string | undefined;
|
|
1519
|
-
snippet?: string | undefined;
|
|
1520
|
-
historyId?: string | undefined;
|
|
1521
|
-
internalDate?: Date | null | undefined;
|
|
1522
|
-
sizeEstimate?: number | undefined;
|
|
1523
|
-
}, {
|
|
1524
|
-
id?: string | undefined;
|
|
1525
|
-
payload?: MessagePartShape | undefined;
|
|
1526
|
-
labelIds?: string[] | undefined;
|
|
1527
|
-
raw?: string | undefined;
|
|
1528
|
-
threadId?: string | undefined;
|
|
1529
|
-
snippet?: string | undefined;
|
|
1530
|
-
historyId?: string | undefined;
|
|
1531
|
-
internalDate?: string | number | Date | null | undefined;
|
|
1532
|
-
sizeEstimate?: number | undefined;
|
|
1533
|
-
}>, "many">>;
|
|
1534
|
-
}, "strip", z.ZodTypeAny, {
|
|
1535
|
-
id?: string | undefined;
|
|
1536
|
-
snippet?: string | undefined;
|
|
1537
|
-
historyId?: string | undefined;
|
|
1538
|
-
messages?: {
|
|
1539
|
-
id?: string | undefined;
|
|
1540
|
-
payload?: MessagePartShape | undefined;
|
|
1541
|
-
labelIds?: string[] | undefined;
|
|
1542
|
-
raw?: string | undefined;
|
|
1543
|
-
threadId?: string | undefined;
|
|
1544
|
-
snippet?: string | undefined;
|
|
1545
|
-
historyId?: string | undefined;
|
|
1546
|
-
internalDate?: Date | null | undefined;
|
|
1547
|
-
sizeEstimate?: number | undefined;
|
|
1548
|
-
}[] | undefined;
|
|
1549
|
-
}, {
|
|
1550
|
-
id?: string | undefined;
|
|
1551
|
-
snippet?: string | undefined;
|
|
1552
|
-
historyId?: string | undefined;
|
|
1553
|
-
messages?: {
|
|
1554
|
-
id?: string | undefined;
|
|
1555
|
-
payload?: MessagePartShape | undefined;
|
|
1556
|
-
labelIds?: string[] | undefined;
|
|
1557
|
-
raw?: string | undefined;
|
|
1558
|
-
threadId?: string | undefined;
|
|
1559
|
-
snippet?: string | undefined;
|
|
1560
|
-
historyId?: string | undefined;
|
|
1561
|
-
internalDate?: string | number | Date | null | undefined;
|
|
1562
|
-
sizeEstimate?: number | 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
|
|
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.
|
|
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.
|
|
522
|
+
payload: z.ZodOptional<z.ZodType<MessagePartShape, unknown, z.core.$ZodTypeInternals<MessagePartShape, unknown>>>;
|
|
1579
523
|
raw: z.ZodOptional<z.ZodString>;
|
|
1580
|
-
},
|
|
1581
|
-
|
|
1582
|
-
payload?: MessagePartShape | undefined;
|
|
1583
|
-
labelIds?: string[] | undefined;
|
|
1584
|
-
raw?: string | undefined;
|
|
1585
|
-
threadId?: string | undefined;
|
|
1586
|
-
snippet?: string | undefined;
|
|
1587
|
-
historyId?: string | undefined;
|
|
1588
|
-
internalDate?: Date | null | undefined;
|
|
1589
|
-
sizeEstimate?: number | undefined;
|
|
1590
|
-
}, {
|
|
1591
|
-
id?: string | undefined;
|
|
1592
|
-
payload?: MessagePartShape | undefined;
|
|
1593
|
-
labelIds?: string[] | undefined;
|
|
1594
|
-
raw?: string | undefined;
|
|
1595
|
-
threadId?: string | undefined;
|
|
1596
|
-
snippet?: string | undefined;
|
|
1597
|
-
historyId?: string | undefined;
|
|
1598
|
-
internalDate?: string | number | Date | null | undefined;
|
|
1599
|
-
sizeEstimate?: number | undefined;
|
|
1600
|
-
}>, "many">>;
|
|
1601
|
-
}, "strip", z.ZodTypeAny, {
|
|
1602
|
-
id?: string | undefined;
|
|
1603
|
-
snippet?: string | undefined;
|
|
1604
|
-
historyId?: string | undefined;
|
|
1605
|
-
messages?: {
|
|
1606
|
-
id?: string | undefined;
|
|
1607
|
-
payload?: MessagePartShape | undefined;
|
|
1608
|
-
labelIds?: string[] | undefined;
|
|
1609
|
-
raw?: string | undefined;
|
|
1610
|
-
threadId?: string | undefined;
|
|
1611
|
-
snippet?: string | undefined;
|
|
1612
|
-
historyId?: string | undefined;
|
|
1613
|
-
internalDate?: Date | null | undefined;
|
|
1614
|
-
sizeEstimate?: number | undefined;
|
|
1615
|
-
}[] | undefined;
|
|
1616
|
-
}, {
|
|
1617
|
-
id?: string | undefined;
|
|
1618
|
-
snippet?: string | undefined;
|
|
1619
|
-
historyId?: string | undefined;
|
|
1620
|
-
messages?: {
|
|
1621
|
-
id?: string | undefined;
|
|
1622
|
-
payload?: MessagePartShape | undefined;
|
|
1623
|
-
labelIds?: string[] | undefined;
|
|
1624
|
-
raw?: string | undefined;
|
|
1625
|
-
threadId?: string | undefined;
|
|
1626
|
-
snippet?: string | undefined;
|
|
1627
|
-
historyId?: string | undefined;
|
|
1628
|
-
internalDate?: string | number | Date | null | undefined;
|
|
1629
|
-
sizeEstimate?: number | 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
|
|
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.
|
|
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.
|
|
538
|
+
payload: z.ZodOptional<z.ZodType<MessagePartShape, unknown, z.core.$ZodTypeInternals<MessagePartShape, unknown>>>;
|
|
1645
539
|
raw: z.ZodOptional<z.ZodString>;
|
|
1646
|
-
},
|
|
1647
|
-
|
|
1648
|
-
payload?: MessagePartShape | undefined;
|
|
1649
|
-
labelIds?: string[] | undefined;
|
|
1650
|
-
raw?: string | undefined;
|
|
1651
|
-
threadId?: string | undefined;
|
|
1652
|
-
snippet?: string | undefined;
|
|
1653
|
-
historyId?: string | undefined;
|
|
1654
|
-
internalDate?: Date | null | undefined;
|
|
1655
|
-
sizeEstimate?: number | undefined;
|
|
1656
|
-
}, {
|
|
1657
|
-
id?: string | undefined;
|
|
1658
|
-
payload?: MessagePartShape | undefined;
|
|
1659
|
-
labelIds?: string[] | undefined;
|
|
1660
|
-
raw?: string | undefined;
|
|
1661
|
-
threadId?: string | undefined;
|
|
1662
|
-
snippet?: string | undefined;
|
|
1663
|
-
historyId?: string | undefined;
|
|
1664
|
-
internalDate?: string | number | Date | null | undefined;
|
|
1665
|
-
sizeEstimate?: number | undefined;
|
|
1666
|
-
}>, "many">>;
|
|
1667
|
-
}, "strip", z.ZodTypeAny, {
|
|
1668
|
-
id?: string | undefined;
|
|
1669
|
-
snippet?: string | undefined;
|
|
1670
|
-
historyId?: string | undefined;
|
|
1671
|
-
messages?: {
|
|
1672
|
-
id?: string | undefined;
|
|
1673
|
-
payload?: MessagePartShape | undefined;
|
|
1674
|
-
labelIds?: string[] | undefined;
|
|
1675
|
-
raw?: string | undefined;
|
|
1676
|
-
threadId?: string | undefined;
|
|
1677
|
-
snippet?: string | undefined;
|
|
1678
|
-
historyId?: string | undefined;
|
|
1679
|
-
internalDate?: Date | null | undefined;
|
|
1680
|
-
sizeEstimate?: number | undefined;
|
|
1681
|
-
}[] | undefined;
|
|
1682
|
-
}, {
|
|
1683
|
-
id?: string | undefined;
|
|
1684
|
-
snippet?: string | undefined;
|
|
1685
|
-
historyId?: string | undefined;
|
|
1686
|
-
messages?: {
|
|
1687
|
-
id?: string | undefined;
|
|
1688
|
-
payload?: MessagePartShape | undefined;
|
|
1689
|
-
labelIds?: string[] | undefined;
|
|
1690
|
-
raw?: string | undefined;
|
|
1691
|
-
threadId?: string | undefined;
|
|
1692
|
-
snippet?: string | undefined;
|
|
1693
|
-
historyId?: string | undefined;
|
|
1694
|
-
internalDate?: string | number | Date | null | undefined;
|
|
1695
|
-
sizeEstimate?: number | 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
|
-
},
|
|
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;
|