@bubblelab/bubble-core 0.1.97 → 0.1.98
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/bubble-bundle.d.ts +112 -112
- package/dist/bubbles/service-bubble/agi-inc.d.ts +140 -140
- package/dist/bubbles/service-bubble/ai-agent.d.ts +20 -20
- package/dist/bubbles/service-bubble/ai-agent.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/ai-agent.js +11 -6
- package/dist/bubbles/service-bubble/ai-agent.js.map +1 -1
- package/dist/bubbles/service-bubble/airtable.d.ts +126 -126
- package/dist/bubbles/service-bubble/apify/apify.d.ts +16 -16
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts +158 -158
- package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +116 -116
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +53 -53
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +22 -22
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +134 -134
- package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +16 -16
- package/dist/bubbles/service-bubble/eleven-labs.d.ts +56 -56
- package/dist/bubbles/service-bubble/firecrawl.d.ts +872 -872
- package/dist/bubbles/service-bubble/followupboss.d.ts +278 -278
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +84 -84
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.schema.d.ts +12 -12
- package/dist/bubbles/service-bubble/github.d.ts +236 -236
- package/dist/bubbles/service-bubble/gmail.d.ts +360 -360
- package/dist/bubbles/service-bubble/google-calendar.d.ts +244 -244
- package/dist/bubbles/service-bubble/google-drive.d.ts +160 -160
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +62 -62
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts +22 -22
- package/dist/bubbles/service-bubble/hello-world.d.ts +4 -4
- package/dist/bubbles/service-bubble/http.d.ts +10 -10
- package/dist/bubbles/service-bubble/insforge-db.d.ts +18 -18
- package/dist/bubbles/service-bubble/jira/jira.d.ts +66 -66
- package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +22 -22
- package/dist/bubbles/service-bubble/notion/notion.d.ts +1251 -1251
- package/dist/bubbles/service-bubble/postgresql.d.ts +22 -22
- package/dist/bubbles/service-bubble/resend.d.ts +46 -46
- package/dist/bubbles/service-bubble/slack/slack.d.ts +540 -540
- package/dist/bubbles/service-bubble/storage.d.ts +40 -40
- package/dist/bubbles/service-bubble/stripe/stripe.d.ts +117 -117
- package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +34 -34
- package/dist/bubbles/service-bubble/telegram.d.ts +1591 -1591
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +27 -27
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +12 -12
- package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +24 -24
- package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +22 -22
- package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +12 -12
- package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +62 -62
- package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/get-trigger-detail-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/instagram-tool.d.ts +18 -18
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.d.ts +2 -2
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +314 -314
- package/dist/bubbles/tool-bubble/list-airtable-bases-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/list-airtable-tables-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/people-search-tool.d.ts +122 -122
- package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +28 -28
- package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +12 -12
- package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +82 -82
- package/dist/bubbles/tool-bubble/tool-template.d.ts +8 -8
- package/dist/bubbles/tool-bubble/twitter-tool.d.ts +148 -148
- package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +18 -18
- package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/web-search-tool.d.ts +12 -12
- package/dist/bubbles/tool-bubble/youtube-tool.d.ts +18 -18
- package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
- package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +40 -40
- package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +12 -12
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +130 -130
- package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +16 -16
- package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +34 -34
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +94 -94
- package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +8 -8
- package/dist/bubbles.json +1 -1
- package/package.json +2 -2
|
@@ -17,24 +17,24 @@ declare const GmailParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
17
17
|
operation: "send_email";
|
|
18
18
|
to: string[];
|
|
19
19
|
subject: string;
|
|
20
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
20
21
|
cc?: string[] | undefined;
|
|
21
22
|
bcc?: string[] | undefined;
|
|
23
|
+
reply_to?: string | undefined;
|
|
22
24
|
body_text?: string | undefined;
|
|
23
25
|
body_html?: string | undefined;
|
|
24
|
-
reply_to?: string | undefined;
|
|
25
26
|
thread_id?: string | undefined;
|
|
26
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
27
27
|
}, {
|
|
28
28
|
operation: "send_email";
|
|
29
29
|
to: string[];
|
|
30
30
|
subject: string;
|
|
31
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
31
32
|
cc?: string[] | undefined;
|
|
32
33
|
bcc?: string[] | undefined;
|
|
34
|
+
reply_to?: string | undefined;
|
|
33
35
|
body_text?: string | undefined;
|
|
34
36
|
body_html?: string | undefined;
|
|
35
|
-
reply_to?: string | undefined;
|
|
36
37
|
thread_id?: string | undefined;
|
|
37
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
38
38
|
}>, z.ZodObject<{
|
|
39
39
|
operation: z.ZodLiteral<"list_emails">;
|
|
40
40
|
query: z.ZodOptional<z.ZodString>;
|
|
@@ -46,8 +46,8 @@ declare const GmailParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
46
46
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
47
47
|
}, "strip", z.ZodTypeAny, {
|
|
48
48
|
operation: "list_emails";
|
|
49
|
-
include_spam_trash: boolean;
|
|
50
49
|
max_results: number;
|
|
50
|
+
include_spam_trash: boolean;
|
|
51
51
|
include_details: boolean;
|
|
52
52
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
53
53
|
query?: string | undefined;
|
|
@@ -57,9 +57,9 @@ declare const GmailParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
57
57
|
operation: "list_emails";
|
|
58
58
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
59
59
|
query?: string | undefined;
|
|
60
|
+
max_results?: number | undefined;
|
|
60
61
|
label_ids?: string[] | undefined;
|
|
61
62
|
include_spam_trash?: boolean | undefined;
|
|
62
|
-
max_results?: number | undefined;
|
|
63
63
|
page_token?: string | undefined;
|
|
64
64
|
include_details?: boolean | undefined;
|
|
65
65
|
}>, z.ZodObject<{
|
|
@@ -69,15 +69,15 @@ declare const GmailParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
69
69
|
metadata_headers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
70
70
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
71
71
|
}, "strip", z.ZodTypeAny, {
|
|
72
|
+
format: "minimal" | "metadata" | "raw" | "full";
|
|
72
73
|
operation: "get_email";
|
|
73
|
-
format: "minimal" | "full" | "raw" | "metadata";
|
|
74
74
|
message_id: string;
|
|
75
75
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
76
76
|
metadata_headers?: string[] | undefined;
|
|
77
77
|
}, {
|
|
78
78
|
operation: "get_email";
|
|
79
79
|
message_id: string;
|
|
80
|
-
format?: "minimal" | "
|
|
80
|
+
format?: "minimal" | "metadata" | "raw" | "full" | undefined;
|
|
81
81
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
82
82
|
metadata_headers?: string[] | undefined;
|
|
83
83
|
}>, z.ZodObject<{
|
|
@@ -87,17 +87,17 @@ declare const GmailParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
87
87
|
include_spam_trash: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
88
88
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
89
89
|
}, "strip", z.ZodTypeAny, {
|
|
90
|
-
operation: "search_emails";
|
|
91
90
|
query: string;
|
|
92
|
-
|
|
91
|
+
operation: "search_emails";
|
|
93
92
|
max_results: number;
|
|
93
|
+
include_spam_trash: boolean;
|
|
94
94
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
95
95
|
}, {
|
|
96
|
-
operation: "search_emails";
|
|
97
96
|
query: string;
|
|
97
|
+
operation: "search_emails";
|
|
98
98
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
99
|
-
include_spam_trash?: boolean | undefined;
|
|
100
99
|
max_results?: number | undefined;
|
|
100
|
+
include_spam_trash?: boolean | undefined;
|
|
101
101
|
}>, z.ZodObject<{
|
|
102
102
|
operation: z.ZodLiteral<"mark_as_read">;
|
|
103
103
|
message_ids: z.ZodArray<z.ZodString, "many">;
|
|
@@ -137,24 +137,24 @@ declare const GmailParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
137
137
|
operation: "create_draft";
|
|
138
138
|
to: string[];
|
|
139
139
|
subject: string;
|
|
140
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
140
141
|
cc?: string[] | undefined;
|
|
141
142
|
bcc?: string[] | undefined;
|
|
143
|
+
reply_to?: string | undefined;
|
|
142
144
|
body_text?: string | undefined;
|
|
143
145
|
body_html?: string | undefined;
|
|
144
|
-
reply_to?: string | undefined;
|
|
145
146
|
thread_id?: string | undefined;
|
|
146
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
147
147
|
}, {
|
|
148
148
|
operation: "create_draft";
|
|
149
149
|
to: string[];
|
|
150
150
|
subject: string;
|
|
151
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
151
152
|
cc?: string[] | undefined;
|
|
152
153
|
bcc?: string[] | undefined;
|
|
154
|
+
reply_to?: string | undefined;
|
|
153
155
|
body_text?: string | undefined;
|
|
154
156
|
body_html?: string | undefined;
|
|
155
|
-
reply_to?: string | undefined;
|
|
156
157
|
thread_id?: string | undefined;
|
|
157
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
158
158
|
}>, z.ZodObject<{
|
|
159
159
|
operation: z.ZodLiteral<"send_draft">;
|
|
160
160
|
draft_id: z.ZodString;
|
|
@@ -176,8 +176,8 @@ declare const GmailParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
176
176
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
177
177
|
}, "strip", z.ZodTypeAny, {
|
|
178
178
|
operation: "list_drafts";
|
|
179
|
-
include_spam_trash: boolean;
|
|
180
179
|
max_results: number;
|
|
180
|
+
include_spam_trash: boolean;
|
|
181
181
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
182
182
|
query?: string | undefined;
|
|
183
183
|
page_token?: string | undefined;
|
|
@@ -185,8 +185,8 @@ declare const GmailParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
185
185
|
operation: "list_drafts";
|
|
186
186
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
187
187
|
query?: string | undefined;
|
|
188
|
-
include_spam_trash?: boolean | undefined;
|
|
189
188
|
max_results?: number | undefined;
|
|
189
|
+
include_spam_trash?: boolean | undefined;
|
|
190
190
|
page_token?: string | undefined;
|
|
191
191
|
}>, z.ZodObject<{
|
|
192
192
|
operation: z.ZodLiteral<"delete_email">;
|
|
@@ -222,8 +222,8 @@ declare const GmailParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
222
222
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
223
223
|
}, "strip", z.ZodTypeAny, {
|
|
224
224
|
operation: "list_threads";
|
|
225
|
-
include_spam_trash: boolean;
|
|
226
225
|
max_results: number;
|
|
226
|
+
include_spam_trash: boolean;
|
|
227
227
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
228
228
|
query?: string | undefined;
|
|
229
229
|
label_ids?: string[] | undefined;
|
|
@@ -232,9 +232,9 @@ declare const GmailParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
232
232
|
operation: "list_threads";
|
|
233
233
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
234
234
|
query?: string | undefined;
|
|
235
|
+
max_results?: number | undefined;
|
|
235
236
|
label_ids?: string[] | undefined;
|
|
236
237
|
include_spam_trash?: boolean | undefined;
|
|
237
|
-
max_results?: number | undefined;
|
|
238
238
|
page_token?: string | undefined;
|
|
239
239
|
}>, z.ZodObject<{
|
|
240
240
|
operation: z.ZodLiteral<"list_labels">;
|
|
@@ -254,16 +254,16 @@ declare const GmailParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
254
254
|
text_color: z.ZodOptional<z.ZodString>;
|
|
255
255
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
256
256
|
}, "strip", z.ZodTypeAny, {
|
|
257
|
-
operation: "create_label";
|
|
258
257
|
name: string;
|
|
258
|
+
operation: "create_label";
|
|
259
259
|
label_list_visibility: "labelShow" | "labelShowIfUnread" | "labelHide";
|
|
260
260
|
message_list_visibility: "show" | "hide";
|
|
261
261
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
262
262
|
background_color?: string | undefined;
|
|
263
263
|
text_color?: string | undefined;
|
|
264
264
|
}, {
|
|
265
|
-
operation: "create_label";
|
|
266
265
|
name: string;
|
|
266
|
+
operation: "create_label";
|
|
267
267
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
268
268
|
label_list_visibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
|
|
269
269
|
message_list_visibility?: "show" | "hide" | undefined;
|
|
@@ -313,17 +313,17 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
313
313
|
thread_id: z.ZodOptional<z.ZodString>;
|
|
314
314
|
error: z.ZodString;
|
|
315
315
|
}, "strip", z.ZodTypeAny, {
|
|
316
|
-
operation: "send_email";
|
|
317
|
-
success: boolean;
|
|
318
316
|
error: string;
|
|
319
|
-
|
|
317
|
+
success: boolean;
|
|
318
|
+
operation: "send_email";
|
|
320
319
|
message_id?: string | undefined;
|
|
320
|
+
thread_id?: string | undefined;
|
|
321
321
|
}, {
|
|
322
|
-
operation: "send_email";
|
|
323
|
-
success: boolean;
|
|
324
322
|
error: string;
|
|
325
|
-
|
|
323
|
+
success: boolean;
|
|
324
|
+
operation: "send_email";
|
|
326
325
|
message_id?: string | undefined;
|
|
326
|
+
thread_id?: string | undefined;
|
|
327
327
|
}>, z.ZodObject<{
|
|
328
328
|
operation: z.ZodLiteral<"list_emails">;
|
|
329
329
|
success: z.ZodBoolean;
|
|
@@ -369,28 +369,27 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
369
369
|
value: string;
|
|
370
370
|
name: string;
|
|
371
371
|
}[] | undefined;
|
|
372
|
+
parts?: any[] | undefined;
|
|
372
373
|
body?: {
|
|
373
374
|
data?: string | undefined;
|
|
374
375
|
size?: number | undefined;
|
|
375
376
|
attachmentId?: string | undefined;
|
|
376
377
|
} | undefined;
|
|
377
|
-
parts?: any[] | undefined;
|
|
378
378
|
}, {
|
|
379
379
|
mimeType?: string | undefined;
|
|
380
380
|
headers?: {
|
|
381
381
|
value: string;
|
|
382
382
|
name: string;
|
|
383
383
|
}[] | undefined;
|
|
384
|
+
parts?: any[] | undefined;
|
|
384
385
|
body?: {
|
|
385
386
|
data?: string | undefined;
|
|
386
387
|
size?: number | undefined;
|
|
387
388
|
attachmentId?: string | undefined;
|
|
388
389
|
} | undefined;
|
|
389
|
-
parts?: any[] | undefined;
|
|
390
390
|
}>>;
|
|
391
391
|
}, "strip", z.ZodTypeAny, {
|
|
392
392
|
id: string;
|
|
393
|
-
raw?: string | undefined;
|
|
394
393
|
threadId?: string | undefined;
|
|
395
394
|
labelIds?: string[] | undefined;
|
|
396
395
|
snippet?: string | undefined;
|
|
@@ -398,22 +397,22 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
398
397
|
historyId?: string | undefined;
|
|
399
398
|
internalDate?: string | undefined;
|
|
400
399
|
sizeEstimate?: number | undefined;
|
|
400
|
+
raw?: string | undefined;
|
|
401
401
|
payload?: {
|
|
402
402
|
mimeType?: string | undefined;
|
|
403
403
|
headers?: {
|
|
404
404
|
value: string;
|
|
405
405
|
name: string;
|
|
406
406
|
}[] | undefined;
|
|
407
|
+
parts?: any[] | undefined;
|
|
407
408
|
body?: {
|
|
408
409
|
data?: string | undefined;
|
|
409
410
|
size?: number | undefined;
|
|
410
411
|
attachmentId?: string | undefined;
|
|
411
412
|
} | undefined;
|
|
412
|
-
parts?: any[] | undefined;
|
|
413
413
|
} | undefined;
|
|
414
414
|
}, {
|
|
415
415
|
id: string;
|
|
416
|
-
raw?: string | undefined;
|
|
417
416
|
threadId?: string | undefined;
|
|
418
417
|
labelIds?: string[] | undefined;
|
|
419
418
|
snippet?: string | undefined;
|
|
@@ -421,30 +420,30 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
421
420
|
historyId?: string | undefined;
|
|
422
421
|
internalDate?: string | undefined;
|
|
423
422
|
sizeEstimate?: number | undefined;
|
|
423
|
+
raw?: string | undefined;
|
|
424
424
|
payload?: {
|
|
425
425
|
mimeType?: string | undefined;
|
|
426
426
|
headers?: {
|
|
427
427
|
value: string;
|
|
428
428
|
name: string;
|
|
429
429
|
}[] | undefined;
|
|
430
|
+
parts?: any[] | undefined;
|
|
430
431
|
body?: {
|
|
431
432
|
data?: string | undefined;
|
|
432
433
|
size?: number | undefined;
|
|
433
434
|
attachmentId?: string | undefined;
|
|
434
435
|
} | undefined;
|
|
435
|
-
parts?: any[] | undefined;
|
|
436
436
|
} | undefined;
|
|
437
437
|
}>, "many">>;
|
|
438
438
|
next_page_token: z.ZodOptional<z.ZodString>;
|
|
439
439
|
result_size_estimate: z.ZodOptional<z.ZodNumber>;
|
|
440
440
|
error: z.ZodString;
|
|
441
441
|
}, "strip", z.ZodTypeAny, {
|
|
442
|
-
operation: "list_emails";
|
|
443
|
-
success: boolean;
|
|
444
442
|
error: string;
|
|
443
|
+
success: boolean;
|
|
444
|
+
operation: "list_emails";
|
|
445
445
|
messages?: {
|
|
446
446
|
id: string;
|
|
447
|
-
raw?: string | undefined;
|
|
448
447
|
threadId?: string | undefined;
|
|
449
448
|
labelIds?: string[] | undefined;
|
|
450
449
|
snippet?: string | undefined;
|
|
@@ -452,29 +451,29 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
452
451
|
historyId?: string | undefined;
|
|
453
452
|
internalDate?: string | undefined;
|
|
454
453
|
sizeEstimate?: number | undefined;
|
|
454
|
+
raw?: string | undefined;
|
|
455
455
|
payload?: {
|
|
456
456
|
mimeType?: string | undefined;
|
|
457
457
|
headers?: {
|
|
458
458
|
value: string;
|
|
459
459
|
name: string;
|
|
460
460
|
}[] | undefined;
|
|
461
|
+
parts?: any[] | undefined;
|
|
461
462
|
body?: {
|
|
462
463
|
data?: string | undefined;
|
|
463
464
|
size?: number | undefined;
|
|
464
465
|
attachmentId?: string | undefined;
|
|
465
466
|
} | undefined;
|
|
466
|
-
parts?: any[] | undefined;
|
|
467
467
|
} | undefined;
|
|
468
468
|
}[] | undefined;
|
|
469
469
|
next_page_token?: string | undefined;
|
|
470
470
|
result_size_estimate?: number | undefined;
|
|
471
471
|
}, {
|
|
472
|
-
operation: "list_emails";
|
|
473
|
-
success: boolean;
|
|
474
472
|
error: string;
|
|
473
|
+
success: boolean;
|
|
474
|
+
operation: "list_emails";
|
|
475
475
|
messages?: {
|
|
476
476
|
id: string;
|
|
477
|
-
raw?: string | undefined;
|
|
478
477
|
threadId?: string | undefined;
|
|
479
478
|
labelIds?: string[] | undefined;
|
|
480
479
|
snippet?: string | undefined;
|
|
@@ -482,18 +481,19 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
482
481
|
historyId?: string | undefined;
|
|
483
482
|
internalDate?: string | undefined;
|
|
484
483
|
sizeEstimate?: number | undefined;
|
|
484
|
+
raw?: string | undefined;
|
|
485
485
|
payload?: {
|
|
486
486
|
mimeType?: string | undefined;
|
|
487
487
|
headers?: {
|
|
488
488
|
value: string;
|
|
489
489
|
name: string;
|
|
490
490
|
}[] | undefined;
|
|
491
|
+
parts?: any[] | undefined;
|
|
491
492
|
body?: {
|
|
492
493
|
data?: string | undefined;
|
|
493
494
|
size?: number | undefined;
|
|
494
495
|
attachmentId?: string | undefined;
|
|
495
496
|
} | undefined;
|
|
496
|
-
parts?: any[] | undefined;
|
|
497
497
|
} | undefined;
|
|
498
498
|
}[] | undefined;
|
|
499
499
|
next_page_token?: string | undefined;
|
|
@@ -543,28 +543,27 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
543
543
|
value: string;
|
|
544
544
|
name: string;
|
|
545
545
|
}[] | undefined;
|
|
546
|
+
parts?: any[] | undefined;
|
|
546
547
|
body?: {
|
|
547
548
|
data?: string | undefined;
|
|
548
549
|
size?: number | undefined;
|
|
549
550
|
attachmentId?: string | undefined;
|
|
550
551
|
} | undefined;
|
|
551
|
-
parts?: any[] | undefined;
|
|
552
552
|
}, {
|
|
553
553
|
mimeType?: string | undefined;
|
|
554
554
|
headers?: {
|
|
555
555
|
value: string;
|
|
556
556
|
name: string;
|
|
557
557
|
}[] | undefined;
|
|
558
|
+
parts?: any[] | undefined;
|
|
558
559
|
body?: {
|
|
559
560
|
data?: string | undefined;
|
|
560
561
|
size?: number | undefined;
|
|
561
562
|
attachmentId?: string | undefined;
|
|
562
563
|
} | undefined;
|
|
563
|
-
parts?: any[] | undefined;
|
|
564
564
|
}>>;
|
|
565
565
|
}, "strip", z.ZodTypeAny, {
|
|
566
566
|
id: string;
|
|
567
|
-
raw?: string | undefined;
|
|
568
567
|
threadId?: string | undefined;
|
|
569
568
|
labelIds?: string[] | undefined;
|
|
570
569
|
snippet?: string | undefined;
|
|
@@ -572,22 +571,22 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
572
571
|
historyId?: string | undefined;
|
|
573
572
|
internalDate?: string | undefined;
|
|
574
573
|
sizeEstimate?: number | undefined;
|
|
574
|
+
raw?: string | undefined;
|
|
575
575
|
payload?: {
|
|
576
576
|
mimeType?: string | undefined;
|
|
577
577
|
headers?: {
|
|
578
578
|
value: string;
|
|
579
579
|
name: string;
|
|
580
580
|
}[] | undefined;
|
|
581
|
+
parts?: any[] | undefined;
|
|
581
582
|
body?: {
|
|
582
583
|
data?: string | undefined;
|
|
583
584
|
size?: number | undefined;
|
|
584
585
|
attachmentId?: string | undefined;
|
|
585
586
|
} | undefined;
|
|
586
|
-
parts?: any[] | undefined;
|
|
587
587
|
} | undefined;
|
|
588
588
|
}, {
|
|
589
589
|
id: string;
|
|
590
|
-
raw?: string | undefined;
|
|
591
590
|
threadId?: string | undefined;
|
|
592
591
|
labelIds?: string[] | undefined;
|
|
593
592
|
snippet?: string | undefined;
|
|
@@ -595,28 +594,28 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
595
594
|
historyId?: string | undefined;
|
|
596
595
|
internalDate?: string | undefined;
|
|
597
596
|
sizeEstimate?: number | undefined;
|
|
597
|
+
raw?: string | undefined;
|
|
598
598
|
payload?: {
|
|
599
599
|
mimeType?: string | undefined;
|
|
600
600
|
headers?: {
|
|
601
601
|
value: string;
|
|
602
602
|
name: string;
|
|
603
603
|
}[] | undefined;
|
|
604
|
+
parts?: any[] | undefined;
|
|
604
605
|
body?: {
|
|
605
606
|
data?: string | undefined;
|
|
606
607
|
size?: number | undefined;
|
|
607
608
|
attachmentId?: string | undefined;
|
|
608
609
|
} | undefined;
|
|
609
|
-
parts?: any[] | undefined;
|
|
610
610
|
} | undefined;
|
|
611
611
|
}>>;
|
|
612
612
|
error: z.ZodString;
|
|
613
613
|
}, "strip", z.ZodTypeAny, {
|
|
614
|
-
operation: "get_email";
|
|
615
|
-
success: boolean;
|
|
616
614
|
error: string;
|
|
615
|
+
success: boolean;
|
|
616
|
+
operation: "get_email";
|
|
617
617
|
message?: {
|
|
618
618
|
id: string;
|
|
619
|
-
raw?: string | undefined;
|
|
620
619
|
threadId?: string | undefined;
|
|
621
620
|
labelIds?: string[] | undefined;
|
|
622
621
|
snippet?: string | undefined;
|
|
@@ -624,27 +623,27 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
624
623
|
historyId?: string | undefined;
|
|
625
624
|
internalDate?: string | undefined;
|
|
626
625
|
sizeEstimate?: number | undefined;
|
|
626
|
+
raw?: string | undefined;
|
|
627
627
|
payload?: {
|
|
628
628
|
mimeType?: string | undefined;
|
|
629
629
|
headers?: {
|
|
630
630
|
value: string;
|
|
631
631
|
name: string;
|
|
632
632
|
}[] | undefined;
|
|
633
|
+
parts?: any[] | undefined;
|
|
633
634
|
body?: {
|
|
634
635
|
data?: string | undefined;
|
|
635
636
|
size?: number | undefined;
|
|
636
637
|
attachmentId?: string | undefined;
|
|
637
638
|
} | undefined;
|
|
638
|
-
parts?: any[] | undefined;
|
|
639
639
|
} | undefined;
|
|
640
640
|
} | undefined;
|
|
641
641
|
}, {
|
|
642
|
-
operation: "get_email";
|
|
643
|
-
success: boolean;
|
|
644
642
|
error: string;
|
|
643
|
+
success: boolean;
|
|
644
|
+
operation: "get_email";
|
|
645
645
|
message?: {
|
|
646
646
|
id: string;
|
|
647
|
-
raw?: string | undefined;
|
|
648
647
|
threadId?: string | undefined;
|
|
649
648
|
labelIds?: string[] | undefined;
|
|
650
649
|
snippet?: string | undefined;
|
|
@@ -652,18 +651,19 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
652
651
|
historyId?: string | undefined;
|
|
653
652
|
internalDate?: string | undefined;
|
|
654
653
|
sizeEstimate?: number | undefined;
|
|
654
|
+
raw?: string | undefined;
|
|
655
655
|
payload?: {
|
|
656
656
|
mimeType?: string | undefined;
|
|
657
657
|
headers?: {
|
|
658
658
|
value: string;
|
|
659
659
|
name: string;
|
|
660
660
|
}[] | undefined;
|
|
661
|
+
parts?: any[] | undefined;
|
|
661
662
|
body?: {
|
|
662
663
|
data?: string | undefined;
|
|
663
664
|
size?: number | undefined;
|
|
664
665
|
attachmentId?: string | undefined;
|
|
665
666
|
} | undefined;
|
|
666
|
-
parts?: any[] | undefined;
|
|
667
667
|
} | undefined;
|
|
668
668
|
} | undefined;
|
|
669
669
|
}>, z.ZodObject<{
|
|
@@ -711,28 +711,27 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
711
711
|
value: string;
|
|
712
712
|
name: string;
|
|
713
713
|
}[] | undefined;
|
|
714
|
+
parts?: any[] | undefined;
|
|
714
715
|
body?: {
|
|
715
716
|
data?: string | undefined;
|
|
716
717
|
size?: number | undefined;
|
|
717
718
|
attachmentId?: string | undefined;
|
|
718
719
|
} | undefined;
|
|
719
|
-
parts?: any[] | undefined;
|
|
720
720
|
}, {
|
|
721
721
|
mimeType?: string | undefined;
|
|
722
722
|
headers?: {
|
|
723
723
|
value: string;
|
|
724
724
|
name: string;
|
|
725
725
|
}[] | undefined;
|
|
726
|
+
parts?: any[] | undefined;
|
|
726
727
|
body?: {
|
|
727
728
|
data?: string | undefined;
|
|
728
729
|
size?: number | undefined;
|
|
729
730
|
attachmentId?: string | undefined;
|
|
730
731
|
} | undefined;
|
|
731
|
-
parts?: any[] | undefined;
|
|
732
732
|
}>>;
|
|
733
733
|
}, "strip", z.ZodTypeAny, {
|
|
734
734
|
id: string;
|
|
735
|
-
raw?: string | undefined;
|
|
736
735
|
threadId?: string | undefined;
|
|
737
736
|
labelIds?: string[] | undefined;
|
|
738
737
|
snippet?: string | undefined;
|
|
@@ -740,22 +739,22 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
740
739
|
historyId?: string | undefined;
|
|
741
740
|
internalDate?: string | undefined;
|
|
742
741
|
sizeEstimate?: number | undefined;
|
|
742
|
+
raw?: string | undefined;
|
|
743
743
|
payload?: {
|
|
744
744
|
mimeType?: string | undefined;
|
|
745
745
|
headers?: {
|
|
746
746
|
value: string;
|
|
747
747
|
name: string;
|
|
748
748
|
}[] | undefined;
|
|
749
|
+
parts?: any[] | undefined;
|
|
749
750
|
body?: {
|
|
750
751
|
data?: string | undefined;
|
|
751
752
|
size?: number | undefined;
|
|
752
753
|
attachmentId?: string | undefined;
|
|
753
754
|
} | undefined;
|
|
754
|
-
parts?: any[] | undefined;
|
|
755
755
|
} | undefined;
|
|
756
756
|
}, {
|
|
757
757
|
id: string;
|
|
758
|
-
raw?: string | undefined;
|
|
759
758
|
threadId?: string | undefined;
|
|
760
759
|
labelIds?: string[] | undefined;
|
|
761
760
|
snippet?: string | undefined;
|
|
@@ -763,29 +762,29 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
763
762
|
historyId?: string | undefined;
|
|
764
763
|
internalDate?: string | undefined;
|
|
765
764
|
sizeEstimate?: number | undefined;
|
|
765
|
+
raw?: string | undefined;
|
|
766
766
|
payload?: {
|
|
767
767
|
mimeType?: string | undefined;
|
|
768
768
|
headers?: {
|
|
769
769
|
value: string;
|
|
770
770
|
name: string;
|
|
771
771
|
}[] | undefined;
|
|
772
|
+
parts?: any[] | undefined;
|
|
772
773
|
body?: {
|
|
773
774
|
data?: string | undefined;
|
|
774
775
|
size?: number | undefined;
|
|
775
776
|
attachmentId?: string | undefined;
|
|
776
777
|
} | undefined;
|
|
777
|
-
parts?: any[] | undefined;
|
|
778
778
|
} | undefined;
|
|
779
779
|
}>, "many">>;
|
|
780
780
|
result_size_estimate: z.ZodOptional<z.ZodNumber>;
|
|
781
781
|
error: z.ZodString;
|
|
782
782
|
}, "strip", z.ZodTypeAny, {
|
|
783
|
-
operation: "search_emails";
|
|
784
|
-
success: boolean;
|
|
785
783
|
error: string;
|
|
784
|
+
success: boolean;
|
|
785
|
+
operation: "search_emails";
|
|
786
786
|
messages?: {
|
|
787
787
|
id: string;
|
|
788
|
-
raw?: string | undefined;
|
|
789
788
|
threadId?: string | undefined;
|
|
790
789
|
labelIds?: string[] | undefined;
|
|
791
790
|
snippet?: string | undefined;
|
|
@@ -793,28 +792,28 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
793
792
|
historyId?: string | undefined;
|
|
794
793
|
internalDate?: string | undefined;
|
|
795
794
|
sizeEstimate?: number | undefined;
|
|
795
|
+
raw?: string | undefined;
|
|
796
796
|
payload?: {
|
|
797
797
|
mimeType?: string | undefined;
|
|
798
798
|
headers?: {
|
|
799
799
|
value: string;
|
|
800
800
|
name: string;
|
|
801
801
|
}[] | undefined;
|
|
802
|
+
parts?: any[] | undefined;
|
|
802
803
|
body?: {
|
|
803
804
|
data?: string | undefined;
|
|
804
805
|
size?: number | undefined;
|
|
805
806
|
attachmentId?: string | undefined;
|
|
806
807
|
} | undefined;
|
|
807
|
-
parts?: any[] | undefined;
|
|
808
808
|
} | undefined;
|
|
809
809
|
}[] | undefined;
|
|
810
810
|
result_size_estimate?: number | undefined;
|
|
811
811
|
}, {
|
|
812
|
-
operation: "search_emails";
|
|
813
|
-
success: boolean;
|
|
814
812
|
error: string;
|
|
813
|
+
success: boolean;
|
|
814
|
+
operation: "search_emails";
|
|
815
815
|
messages?: {
|
|
816
816
|
id: string;
|
|
817
|
-
raw?: string | undefined;
|
|
818
817
|
threadId?: string | undefined;
|
|
819
818
|
labelIds?: string[] | undefined;
|
|
820
819
|
snippet?: string | undefined;
|
|
@@ -822,18 +821,19 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
822
821
|
historyId?: string | undefined;
|
|
823
822
|
internalDate?: string | undefined;
|
|
824
823
|
sizeEstimate?: number | undefined;
|
|
824
|
+
raw?: string | undefined;
|
|
825
825
|
payload?: {
|
|
826
826
|
mimeType?: string | undefined;
|
|
827
827
|
headers?: {
|
|
828
828
|
value: string;
|
|
829
829
|
name: string;
|
|
830
830
|
}[] | undefined;
|
|
831
|
+
parts?: any[] | undefined;
|
|
831
832
|
body?: {
|
|
832
833
|
data?: string | undefined;
|
|
833
834
|
size?: number | undefined;
|
|
834
835
|
attachmentId?: string | undefined;
|
|
835
836
|
} | undefined;
|
|
836
|
-
parts?: any[] | undefined;
|
|
837
837
|
} | undefined;
|
|
838
838
|
}[] | undefined;
|
|
839
839
|
result_size_estimate?: number | undefined;
|
|
@@ -843,14 +843,14 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
843
843
|
modified_messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
844
844
|
error: z.ZodString;
|
|
845
845
|
}, "strip", z.ZodTypeAny, {
|
|
846
|
-
operation: "mark_as_read";
|
|
847
|
-
success: boolean;
|
|
848
846
|
error: string;
|
|
847
|
+
success: boolean;
|
|
848
|
+
operation: "mark_as_read";
|
|
849
849
|
modified_messages?: string[] | undefined;
|
|
850
850
|
}, {
|
|
851
|
-
operation: "mark_as_read";
|
|
852
|
-
success: boolean;
|
|
853
851
|
error: string;
|
|
852
|
+
success: boolean;
|
|
853
|
+
operation: "mark_as_read";
|
|
854
854
|
modified_messages?: string[] | undefined;
|
|
855
855
|
}>, z.ZodObject<{
|
|
856
856
|
operation: z.ZodLiteral<"mark_as_unread">;
|
|
@@ -858,14 +858,14 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
858
858
|
modified_messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
859
859
|
error: z.ZodString;
|
|
860
860
|
}, "strip", z.ZodTypeAny, {
|
|
861
|
-
operation: "mark_as_unread";
|
|
862
|
-
success: boolean;
|
|
863
861
|
error: string;
|
|
862
|
+
success: boolean;
|
|
863
|
+
operation: "mark_as_unread";
|
|
864
864
|
modified_messages?: string[] | undefined;
|
|
865
865
|
}, {
|
|
866
|
-
operation: "mark_as_unread";
|
|
867
|
-
success: boolean;
|
|
868
866
|
error: string;
|
|
867
|
+
success: boolean;
|
|
868
|
+
operation: "mark_as_unread";
|
|
869
869
|
modified_messages?: string[] | undefined;
|
|
870
870
|
}>, z.ZodObject<{
|
|
871
871
|
operation: z.ZodLiteral<"create_draft">;
|
|
@@ -914,28 +914,27 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
914
914
|
value: string;
|
|
915
915
|
name: string;
|
|
916
916
|
}[] | undefined;
|
|
917
|
+
parts?: any[] | undefined;
|
|
917
918
|
body?: {
|
|
918
919
|
data?: string | undefined;
|
|
919
920
|
size?: number | undefined;
|
|
920
921
|
attachmentId?: string | undefined;
|
|
921
922
|
} | undefined;
|
|
922
|
-
parts?: any[] | undefined;
|
|
923
923
|
}, {
|
|
924
924
|
mimeType?: string | undefined;
|
|
925
925
|
headers?: {
|
|
926
926
|
value: string;
|
|
927
927
|
name: string;
|
|
928
928
|
}[] | undefined;
|
|
929
|
+
parts?: any[] | undefined;
|
|
929
930
|
body?: {
|
|
930
931
|
data?: string | undefined;
|
|
931
932
|
size?: number | undefined;
|
|
932
933
|
attachmentId?: string | undefined;
|
|
933
934
|
} | undefined;
|
|
934
|
-
parts?: any[] | undefined;
|
|
935
935
|
}>>;
|
|
936
936
|
}, "strip", z.ZodTypeAny, {
|
|
937
937
|
id: string;
|
|
938
|
-
raw?: string | undefined;
|
|
939
938
|
threadId?: string | undefined;
|
|
940
939
|
labelIds?: string[] | undefined;
|
|
941
940
|
snippet?: string | undefined;
|
|
@@ -943,22 +942,22 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
943
942
|
historyId?: string | undefined;
|
|
944
943
|
internalDate?: string | undefined;
|
|
945
944
|
sizeEstimate?: number | undefined;
|
|
945
|
+
raw?: string | undefined;
|
|
946
946
|
payload?: {
|
|
947
947
|
mimeType?: string | undefined;
|
|
948
948
|
headers?: {
|
|
949
949
|
value: string;
|
|
950
950
|
name: string;
|
|
951
951
|
}[] | undefined;
|
|
952
|
+
parts?: any[] | undefined;
|
|
952
953
|
body?: {
|
|
953
954
|
data?: string | undefined;
|
|
954
955
|
size?: number | undefined;
|
|
955
956
|
attachmentId?: string | undefined;
|
|
956
957
|
} | undefined;
|
|
957
|
-
parts?: any[] | undefined;
|
|
958
958
|
} | undefined;
|
|
959
959
|
}, {
|
|
960
960
|
id: string;
|
|
961
|
-
raw?: string | undefined;
|
|
962
961
|
threadId?: string | undefined;
|
|
963
962
|
labelIds?: string[] | undefined;
|
|
964
963
|
snippet?: string | undefined;
|
|
@@ -966,24 +965,24 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
966
965
|
historyId?: string | undefined;
|
|
967
966
|
internalDate?: string | undefined;
|
|
968
967
|
sizeEstimate?: number | undefined;
|
|
968
|
+
raw?: string | undefined;
|
|
969
969
|
payload?: {
|
|
970
970
|
mimeType?: string | undefined;
|
|
971
971
|
headers?: {
|
|
972
972
|
value: string;
|
|
973
973
|
name: string;
|
|
974
974
|
}[] | undefined;
|
|
975
|
+
parts?: any[] | undefined;
|
|
975
976
|
body?: {
|
|
976
977
|
data?: string | undefined;
|
|
977
978
|
size?: number | undefined;
|
|
978
979
|
attachmentId?: string | undefined;
|
|
979
980
|
} | undefined;
|
|
980
|
-
parts?: any[] | undefined;
|
|
981
981
|
} | undefined;
|
|
982
982
|
}>;
|
|
983
983
|
}, "strip", z.ZodTypeAny, {
|
|
984
984
|
message: {
|
|
985
985
|
id: string;
|
|
986
|
-
raw?: string | undefined;
|
|
987
986
|
threadId?: string | undefined;
|
|
988
987
|
labelIds?: string[] | undefined;
|
|
989
988
|
snippet?: string | undefined;
|
|
@@ -991,25 +990,25 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
991
990
|
historyId?: string | undefined;
|
|
992
991
|
internalDate?: string | undefined;
|
|
993
992
|
sizeEstimate?: number | undefined;
|
|
993
|
+
raw?: string | undefined;
|
|
994
994
|
payload?: {
|
|
995
995
|
mimeType?: string | undefined;
|
|
996
996
|
headers?: {
|
|
997
997
|
value: string;
|
|
998
998
|
name: string;
|
|
999
999
|
}[] | undefined;
|
|
1000
|
+
parts?: any[] | undefined;
|
|
1000
1001
|
body?: {
|
|
1001
1002
|
data?: string | undefined;
|
|
1002
1003
|
size?: number | undefined;
|
|
1003
1004
|
attachmentId?: string | undefined;
|
|
1004
1005
|
} | undefined;
|
|
1005
|
-
parts?: any[] | undefined;
|
|
1006
1006
|
} | undefined;
|
|
1007
1007
|
};
|
|
1008
1008
|
id: string;
|
|
1009
1009
|
}, {
|
|
1010
1010
|
message: {
|
|
1011
1011
|
id: string;
|
|
1012
|
-
raw?: string | undefined;
|
|
1013
1012
|
threadId?: string | undefined;
|
|
1014
1013
|
labelIds?: string[] | undefined;
|
|
1015
1014
|
snippet?: string | undefined;
|
|
@@ -1017,31 +1016,31 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1017
1016
|
historyId?: string | undefined;
|
|
1018
1017
|
internalDate?: string | undefined;
|
|
1019
1018
|
sizeEstimate?: number | undefined;
|
|
1019
|
+
raw?: string | undefined;
|
|
1020
1020
|
payload?: {
|
|
1021
1021
|
mimeType?: string | undefined;
|
|
1022
1022
|
headers?: {
|
|
1023
1023
|
value: string;
|
|
1024
1024
|
name: string;
|
|
1025
1025
|
}[] | undefined;
|
|
1026
|
+
parts?: any[] | undefined;
|
|
1026
1027
|
body?: {
|
|
1027
1028
|
data?: string | undefined;
|
|
1028
1029
|
size?: number | undefined;
|
|
1029
1030
|
attachmentId?: string | undefined;
|
|
1030
1031
|
} | undefined;
|
|
1031
|
-
parts?: any[] | undefined;
|
|
1032
1032
|
} | undefined;
|
|
1033
1033
|
};
|
|
1034
1034
|
id: string;
|
|
1035
1035
|
}>>;
|
|
1036
1036
|
error: z.ZodString;
|
|
1037
1037
|
}, "strip", z.ZodTypeAny, {
|
|
1038
|
-
operation: "create_draft";
|
|
1039
|
-
success: boolean;
|
|
1040
1038
|
error: string;
|
|
1039
|
+
success: boolean;
|
|
1040
|
+
operation: "create_draft";
|
|
1041
1041
|
draft?: {
|
|
1042
1042
|
message: {
|
|
1043
1043
|
id: string;
|
|
1044
|
-
raw?: string | undefined;
|
|
1045
1044
|
threadId?: string | undefined;
|
|
1046
1045
|
labelIds?: string[] | undefined;
|
|
1047
1046
|
snippet?: string | undefined;
|
|
@@ -1049,30 +1048,30 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1049
1048
|
historyId?: string | undefined;
|
|
1050
1049
|
internalDate?: string | undefined;
|
|
1051
1050
|
sizeEstimate?: number | undefined;
|
|
1051
|
+
raw?: string | undefined;
|
|
1052
1052
|
payload?: {
|
|
1053
1053
|
mimeType?: string | undefined;
|
|
1054
1054
|
headers?: {
|
|
1055
1055
|
value: string;
|
|
1056
1056
|
name: string;
|
|
1057
1057
|
}[] | undefined;
|
|
1058
|
+
parts?: any[] | undefined;
|
|
1058
1059
|
body?: {
|
|
1059
1060
|
data?: string | undefined;
|
|
1060
1061
|
size?: number | undefined;
|
|
1061
1062
|
attachmentId?: string | undefined;
|
|
1062
1063
|
} | undefined;
|
|
1063
|
-
parts?: any[] | undefined;
|
|
1064
1064
|
} | undefined;
|
|
1065
1065
|
};
|
|
1066
1066
|
id: string;
|
|
1067
1067
|
} | undefined;
|
|
1068
1068
|
}, {
|
|
1069
|
-
operation: "create_draft";
|
|
1070
|
-
success: boolean;
|
|
1071
1069
|
error: string;
|
|
1070
|
+
success: boolean;
|
|
1071
|
+
operation: "create_draft";
|
|
1072
1072
|
draft?: {
|
|
1073
1073
|
message: {
|
|
1074
1074
|
id: string;
|
|
1075
|
-
raw?: string | undefined;
|
|
1076
1075
|
threadId?: string | undefined;
|
|
1077
1076
|
labelIds?: string[] | undefined;
|
|
1078
1077
|
snippet?: string | undefined;
|
|
@@ -1080,18 +1079,19 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1080
1079
|
historyId?: string | undefined;
|
|
1081
1080
|
internalDate?: string | undefined;
|
|
1082
1081
|
sizeEstimate?: number | undefined;
|
|
1082
|
+
raw?: string | undefined;
|
|
1083
1083
|
payload?: {
|
|
1084
1084
|
mimeType?: string | undefined;
|
|
1085
1085
|
headers?: {
|
|
1086
1086
|
value: string;
|
|
1087
1087
|
name: string;
|
|
1088
1088
|
}[] | undefined;
|
|
1089
|
+
parts?: any[] | undefined;
|
|
1089
1090
|
body?: {
|
|
1090
1091
|
data?: string | undefined;
|
|
1091
1092
|
size?: number | undefined;
|
|
1092
1093
|
attachmentId?: string | undefined;
|
|
1093
1094
|
} | undefined;
|
|
1094
|
-
parts?: any[] | undefined;
|
|
1095
1095
|
} | undefined;
|
|
1096
1096
|
};
|
|
1097
1097
|
id: string;
|
|
@@ -1103,17 +1103,17 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1103
1103
|
thread_id: z.ZodOptional<z.ZodString>;
|
|
1104
1104
|
error: z.ZodString;
|
|
1105
1105
|
}, "strip", z.ZodTypeAny, {
|
|
1106
|
-
operation: "send_draft";
|
|
1107
|
-
success: boolean;
|
|
1108
1106
|
error: string;
|
|
1109
|
-
|
|
1107
|
+
success: boolean;
|
|
1108
|
+
operation: "send_draft";
|
|
1110
1109
|
message_id?: string | undefined;
|
|
1110
|
+
thread_id?: string | undefined;
|
|
1111
1111
|
}, {
|
|
1112
|
-
operation: "send_draft";
|
|
1113
|
-
success: boolean;
|
|
1114
1112
|
error: string;
|
|
1115
|
-
|
|
1113
|
+
success: boolean;
|
|
1114
|
+
operation: "send_draft";
|
|
1116
1115
|
message_id?: string | undefined;
|
|
1116
|
+
thread_id?: string | undefined;
|
|
1117
1117
|
}>, z.ZodObject<{
|
|
1118
1118
|
operation: z.ZodLiteral<"list_drafts">;
|
|
1119
1119
|
success: z.ZodBoolean;
|
|
@@ -1161,28 +1161,27 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1161
1161
|
value: string;
|
|
1162
1162
|
name: string;
|
|
1163
1163
|
}[] | undefined;
|
|
1164
|
+
parts?: any[] | undefined;
|
|
1164
1165
|
body?: {
|
|
1165
1166
|
data?: string | undefined;
|
|
1166
1167
|
size?: number | undefined;
|
|
1167
1168
|
attachmentId?: string | undefined;
|
|
1168
1169
|
} | undefined;
|
|
1169
|
-
parts?: any[] | undefined;
|
|
1170
1170
|
}, {
|
|
1171
1171
|
mimeType?: string | undefined;
|
|
1172
1172
|
headers?: {
|
|
1173
1173
|
value: string;
|
|
1174
1174
|
name: string;
|
|
1175
1175
|
}[] | undefined;
|
|
1176
|
+
parts?: any[] | undefined;
|
|
1176
1177
|
body?: {
|
|
1177
1178
|
data?: string | undefined;
|
|
1178
1179
|
size?: number | undefined;
|
|
1179
1180
|
attachmentId?: string | undefined;
|
|
1180
1181
|
} | undefined;
|
|
1181
|
-
parts?: any[] | undefined;
|
|
1182
1182
|
}>>;
|
|
1183
1183
|
}, "strip", z.ZodTypeAny, {
|
|
1184
1184
|
id: string;
|
|
1185
|
-
raw?: string | undefined;
|
|
1186
1185
|
threadId?: string | undefined;
|
|
1187
1186
|
labelIds?: string[] | undefined;
|
|
1188
1187
|
snippet?: string | undefined;
|
|
@@ -1190,22 +1189,22 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1190
1189
|
historyId?: string | undefined;
|
|
1191
1190
|
internalDate?: string | undefined;
|
|
1192
1191
|
sizeEstimate?: number | undefined;
|
|
1192
|
+
raw?: string | undefined;
|
|
1193
1193
|
payload?: {
|
|
1194
1194
|
mimeType?: string | undefined;
|
|
1195
1195
|
headers?: {
|
|
1196
1196
|
value: string;
|
|
1197
1197
|
name: string;
|
|
1198
1198
|
}[] | undefined;
|
|
1199
|
+
parts?: any[] | undefined;
|
|
1199
1200
|
body?: {
|
|
1200
1201
|
data?: string | undefined;
|
|
1201
1202
|
size?: number | undefined;
|
|
1202
1203
|
attachmentId?: string | undefined;
|
|
1203
1204
|
} | undefined;
|
|
1204
|
-
parts?: any[] | undefined;
|
|
1205
1205
|
} | undefined;
|
|
1206
1206
|
}, {
|
|
1207
1207
|
id: string;
|
|
1208
|
-
raw?: string | undefined;
|
|
1209
1208
|
threadId?: string | undefined;
|
|
1210
1209
|
labelIds?: string[] | undefined;
|
|
1211
1210
|
snippet?: string | undefined;
|
|
@@ -1213,24 +1212,24 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1213
1212
|
historyId?: string | undefined;
|
|
1214
1213
|
internalDate?: string | undefined;
|
|
1215
1214
|
sizeEstimate?: number | undefined;
|
|
1215
|
+
raw?: string | undefined;
|
|
1216
1216
|
payload?: {
|
|
1217
1217
|
mimeType?: string | undefined;
|
|
1218
1218
|
headers?: {
|
|
1219
1219
|
value: string;
|
|
1220
1220
|
name: string;
|
|
1221
1221
|
}[] | undefined;
|
|
1222
|
+
parts?: any[] | undefined;
|
|
1222
1223
|
body?: {
|
|
1223
1224
|
data?: string | undefined;
|
|
1224
1225
|
size?: number | undefined;
|
|
1225
1226
|
attachmentId?: string | undefined;
|
|
1226
1227
|
} | undefined;
|
|
1227
|
-
parts?: any[] | undefined;
|
|
1228
1228
|
} | undefined;
|
|
1229
1229
|
}>;
|
|
1230
1230
|
}, "strip", z.ZodTypeAny, {
|
|
1231
1231
|
message: {
|
|
1232
1232
|
id: string;
|
|
1233
|
-
raw?: string | undefined;
|
|
1234
1233
|
threadId?: string | undefined;
|
|
1235
1234
|
labelIds?: string[] | undefined;
|
|
1236
1235
|
snippet?: string | undefined;
|
|
@@ -1238,25 +1237,25 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1238
1237
|
historyId?: string | undefined;
|
|
1239
1238
|
internalDate?: string | undefined;
|
|
1240
1239
|
sizeEstimate?: number | undefined;
|
|
1240
|
+
raw?: string | undefined;
|
|
1241
1241
|
payload?: {
|
|
1242
1242
|
mimeType?: string | undefined;
|
|
1243
1243
|
headers?: {
|
|
1244
1244
|
value: string;
|
|
1245
1245
|
name: string;
|
|
1246
1246
|
}[] | undefined;
|
|
1247
|
+
parts?: any[] | undefined;
|
|
1247
1248
|
body?: {
|
|
1248
1249
|
data?: string | undefined;
|
|
1249
1250
|
size?: number | undefined;
|
|
1250
1251
|
attachmentId?: string | undefined;
|
|
1251
1252
|
} | undefined;
|
|
1252
|
-
parts?: any[] | undefined;
|
|
1253
1253
|
} | undefined;
|
|
1254
1254
|
};
|
|
1255
1255
|
id: string;
|
|
1256
1256
|
}, {
|
|
1257
1257
|
message: {
|
|
1258
1258
|
id: string;
|
|
1259
|
-
raw?: string | undefined;
|
|
1260
1259
|
threadId?: string | undefined;
|
|
1261
1260
|
labelIds?: string[] | undefined;
|
|
1262
1261
|
snippet?: string | undefined;
|
|
@@ -1264,18 +1263,19 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1264
1263
|
historyId?: string | undefined;
|
|
1265
1264
|
internalDate?: string | undefined;
|
|
1266
1265
|
sizeEstimate?: number | undefined;
|
|
1266
|
+
raw?: string | undefined;
|
|
1267
1267
|
payload?: {
|
|
1268
1268
|
mimeType?: string | undefined;
|
|
1269
1269
|
headers?: {
|
|
1270
1270
|
value: string;
|
|
1271
1271
|
name: string;
|
|
1272
1272
|
}[] | undefined;
|
|
1273
|
+
parts?: any[] | undefined;
|
|
1273
1274
|
body?: {
|
|
1274
1275
|
data?: string | undefined;
|
|
1275
1276
|
size?: number | undefined;
|
|
1276
1277
|
attachmentId?: string | undefined;
|
|
1277
1278
|
} | undefined;
|
|
1278
|
-
parts?: any[] | undefined;
|
|
1279
1279
|
} | undefined;
|
|
1280
1280
|
};
|
|
1281
1281
|
id: string;
|
|
@@ -1284,15 +1284,14 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1284
1284
|
result_size_estimate: z.ZodOptional<z.ZodNumber>;
|
|
1285
1285
|
error: z.ZodString;
|
|
1286
1286
|
}, "strip", z.ZodTypeAny, {
|
|
1287
|
-
operation: "list_drafts";
|
|
1288
|
-
success: boolean;
|
|
1289
1287
|
error: string;
|
|
1288
|
+
success: boolean;
|
|
1289
|
+
operation: "list_drafts";
|
|
1290
1290
|
next_page_token?: string | undefined;
|
|
1291
1291
|
result_size_estimate?: number | undefined;
|
|
1292
1292
|
drafts?: {
|
|
1293
1293
|
message: {
|
|
1294
1294
|
id: string;
|
|
1295
|
-
raw?: string | undefined;
|
|
1296
1295
|
threadId?: string | undefined;
|
|
1297
1296
|
labelIds?: string[] | undefined;
|
|
1298
1297
|
snippet?: string | undefined;
|
|
@@ -1300,32 +1299,32 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1300
1299
|
historyId?: string | undefined;
|
|
1301
1300
|
internalDate?: string | undefined;
|
|
1302
1301
|
sizeEstimate?: number | undefined;
|
|
1302
|
+
raw?: string | undefined;
|
|
1303
1303
|
payload?: {
|
|
1304
1304
|
mimeType?: string | undefined;
|
|
1305
1305
|
headers?: {
|
|
1306
1306
|
value: string;
|
|
1307
1307
|
name: string;
|
|
1308
1308
|
}[] | undefined;
|
|
1309
|
+
parts?: any[] | undefined;
|
|
1309
1310
|
body?: {
|
|
1310
1311
|
data?: string | undefined;
|
|
1311
1312
|
size?: number | undefined;
|
|
1312
1313
|
attachmentId?: string | undefined;
|
|
1313
1314
|
} | undefined;
|
|
1314
|
-
parts?: any[] | undefined;
|
|
1315
1315
|
} | undefined;
|
|
1316
1316
|
};
|
|
1317
1317
|
id: string;
|
|
1318
1318
|
}[] | undefined;
|
|
1319
1319
|
}, {
|
|
1320
|
-
operation: "list_drafts";
|
|
1321
|
-
success: boolean;
|
|
1322
1320
|
error: string;
|
|
1321
|
+
success: boolean;
|
|
1322
|
+
operation: "list_drafts";
|
|
1323
1323
|
next_page_token?: string | undefined;
|
|
1324
1324
|
result_size_estimate?: number | undefined;
|
|
1325
1325
|
drafts?: {
|
|
1326
1326
|
message: {
|
|
1327
1327
|
id: string;
|
|
1328
|
-
raw?: string | undefined;
|
|
1329
1328
|
threadId?: string | undefined;
|
|
1330
1329
|
labelIds?: string[] | undefined;
|
|
1331
1330
|
snippet?: string | undefined;
|
|
@@ -1333,18 +1332,19 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1333
1332
|
historyId?: string | undefined;
|
|
1334
1333
|
internalDate?: string | undefined;
|
|
1335
1334
|
sizeEstimate?: number | undefined;
|
|
1335
|
+
raw?: string | undefined;
|
|
1336
1336
|
payload?: {
|
|
1337
1337
|
mimeType?: string | undefined;
|
|
1338
1338
|
headers?: {
|
|
1339
1339
|
value: string;
|
|
1340
1340
|
name: string;
|
|
1341
1341
|
}[] | undefined;
|
|
1342
|
+
parts?: any[] | undefined;
|
|
1342
1343
|
body?: {
|
|
1343
1344
|
data?: string | undefined;
|
|
1344
1345
|
size?: number | undefined;
|
|
1345
1346
|
attachmentId?: string | undefined;
|
|
1346
1347
|
} | undefined;
|
|
1347
|
-
parts?: any[] | undefined;
|
|
1348
1348
|
} | undefined;
|
|
1349
1349
|
};
|
|
1350
1350
|
id: string;
|
|
@@ -1355,14 +1355,14 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1355
1355
|
deleted_message_id: z.ZodOptional<z.ZodString>;
|
|
1356
1356
|
error: z.ZodString;
|
|
1357
1357
|
}, "strip", z.ZodTypeAny, {
|
|
1358
|
-
operation: "delete_email";
|
|
1359
|
-
success: boolean;
|
|
1360
1358
|
error: string;
|
|
1359
|
+
success: boolean;
|
|
1360
|
+
operation: "delete_email";
|
|
1361
1361
|
deleted_message_id?: string | undefined;
|
|
1362
1362
|
}, {
|
|
1363
|
-
operation: "delete_email";
|
|
1364
|
-
success: boolean;
|
|
1365
1363
|
error: string;
|
|
1364
|
+
success: boolean;
|
|
1365
|
+
operation: "delete_email";
|
|
1366
1366
|
deleted_message_id?: string | undefined;
|
|
1367
1367
|
}>, z.ZodObject<{
|
|
1368
1368
|
operation: z.ZodLiteral<"trash_email">;
|
|
@@ -1370,14 +1370,14 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1370
1370
|
trashed_message_id: z.ZodOptional<z.ZodString>;
|
|
1371
1371
|
error: z.ZodString;
|
|
1372
1372
|
}, "strip", z.ZodTypeAny, {
|
|
1373
|
-
operation: "trash_email";
|
|
1374
|
-
success: boolean;
|
|
1375
1373
|
error: string;
|
|
1374
|
+
success: boolean;
|
|
1375
|
+
operation: "trash_email";
|
|
1376
1376
|
trashed_message_id?: string | undefined;
|
|
1377
1377
|
}, {
|
|
1378
|
-
operation: "trash_email";
|
|
1379
|
-
success: boolean;
|
|
1380
1378
|
error: string;
|
|
1379
|
+
success: boolean;
|
|
1380
|
+
operation: "trash_email";
|
|
1381
1381
|
trashed_message_id?: string | undefined;
|
|
1382
1382
|
}>, z.ZodObject<{
|
|
1383
1383
|
operation: z.ZodLiteral<"list_threads">;
|
|
@@ -1427,28 +1427,27 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1427
1427
|
value: string;
|
|
1428
1428
|
name: string;
|
|
1429
1429
|
}[] | undefined;
|
|
1430
|
+
parts?: any[] | undefined;
|
|
1430
1431
|
body?: {
|
|
1431
1432
|
data?: string | undefined;
|
|
1432
1433
|
size?: number | undefined;
|
|
1433
1434
|
attachmentId?: string | undefined;
|
|
1434
1435
|
} | undefined;
|
|
1435
|
-
parts?: any[] | undefined;
|
|
1436
1436
|
}, {
|
|
1437
1437
|
mimeType?: string | undefined;
|
|
1438
1438
|
headers?: {
|
|
1439
1439
|
value: string;
|
|
1440
1440
|
name: string;
|
|
1441
1441
|
}[] | undefined;
|
|
1442
|
+
parts?: any[] | undefined;
|
|
1442
1443
|
body?: {
|
|
1443
1444
|
data?: string | undefined;
|
|
1444
1445
|
size?: number | undefined;
|
|
1445
1446
|
attachmentId?: string | undefined;
|
|
1446
1447
|
} | undefined;
|
|
1447
|
-
parts?: any[] | undefined;
|
|
1448
1448
|
}>>;
|
|
1449
1449
|
}, "strip", z.ZodTypeAny, {
|
|
1450
1450
|
id: string;
|
|
1451
|
-
raw?: string | undefined;
|
|
1452
1451
|
threadId?: string | undefined;
|
|
1453
1452
|
labelIds?: string[] | undefined;
|
|
1454
1453
|
snippet?: string | undefined;
|
|
@@ -1456,22 +1455,22 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1456
1455
|
historyId?: string | undefined;
|
|
1457
1456
|
internalDate?: string | undefined;
|
|
1458
1457
|
sizeEstimate?: number | undefined;
|
|
1458
|
+
raw?: string | undefined;
|
|
1459
1459
|
payload?: {
|
|
1460
1460
|
mimeType?: string | undefined;
|
|
1461
1461
|
headers?: {
|
|
1462
1462
|
value: string;
|
|
1463
1463
|
name: string;
|
|
1464
1464
|
}[] | undefined;
|
|
1465
|
+
parts?: any[] | undefined;
|
|
1465
1466
|
body?: {
|
|
1466
1467
|
data?: string | undefined;
|
|
1467
1468
|
size?: number | undefined;
|
|
1468
1469
|
attachmentId?: string | undefined;
|
|
1469
1470
|
} | undefined;
|
|
1470
|
-
parts?: any[] | undefined;
|
|
1471
1471
|
} | undefined;
|
|
1472
1472
|
}, {
|
|
1473
1473
|
id: string;
|
|
1474
|
-
raw?: string | undefined;
|
|
1475
1474
|
threadId?: string | undefined;
|
|
1476
1475
|
labelIds?: string[] | undefined;
|
|
1477
1476
|
snippet?: string | undefined;
|
|
@@ -1479,28 +1478,26 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1479
1478
|
historyId?: string | undefined;
|
|
1480
1479
|
internalDate?: string | undefined;
|
|
1481
1480
|
sizeEstimate?: number | undefined;
|
|
1481
|
+
raw?: string | undefined;
|
|
1482
1482
|
payload?: {
|
|
1483
1483
|
mimeType?: string | undefined;
|
|
1484
1484
|
headers?: {
|
|
1485
1485
|
value: string;
|
|
1486
1486
|
name: string;
|
|
1487
1487
|
}[] | undefined;
|
|
1488
|
+
parts?: any[] | undefined;
|
|
1488
1489
|
body?: {
|
|
1489
1490
|
data?: string | undefined;
|
|
1490
1491
|
size?: number | undefined;
|
|
1491
1492
|
attachmentId?: string | undefined;
|
|
1492
1493
|
} | undefined;
|
|
1493
|
-
parts?: any[] | undefined;
|
|
1494
1494
|
} | undefined;
|
|
1495
1495
|
}>, "many">>;
|
|
1496
1496
|
snippet: z.ZodOptional<z.ZodString>;
|
|
1497
1497
|
}, "strip", z.ZodTypeAny, {
|
|
1498
1498
|
id: string;
|
|
1499
|
-
snippet?: string | undefined;
|
|
1500
|
-
historyId?: string | undefined;
|
|
1501
1499
|
messages?: {
|
|
1502
1500
|
id: string;
|
|
1503
|
-
raw?: string | undefined;
|
|
1504
1501
|
threadId?: string | undefined;
|
|
1505
1502
|
labelIds?: string[] | undefined;
|
|
1506
1503
|
snippet?: string | undefined;
|
|
@@ -1508,27 +1505,27 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1508
1505
|
historyId?: string | undefined;
|
|
1509
1506
|
internalDate?: string | undefined;
|
|
1510
1507
|
sizeEstimate?: number | undefined;
|
|
1508
|
+
raw?: string | undefined;
|
|
1511
1509
|
payload?: {
|
|
1512
1510
|
mimeType?: string | undefined;
|
|
1513
1511
|
headers?: {
|
|
1514
1512
|
value: string;
|
|
1515
1513
|
name: string;
|
|
1516
1514
|
}[] | undefined;
|
|
1515
|
+
parts?: any[] | undefined;
|
|
1517
1516
|
body?: {
|
|
1518
1517
|
data?: string | undefined;
|
|
1519
1518
|
size?: number | undefined;
|
|
1520
1519
|
attachmentId?: string | undefined;
|
|
1521
1520
|
} | undefined;
|
|
1522
|
-
parts?: any[] | undefined;
|
|
1523
1521
|
} | undefined;
|
|
1524
1522
|
}[] | undefined;
|
|
1525
|
-
}, {
|
|
1526
|
-
id: string;
|
|
1527
1523
|
snippet?: string | undefined;
|
|
1528
1524
|
historyId?: string | undefined;
|
|
1525
|
+
}, {
|
|
1526
|
+
id: string;
|
|
1529
1527
|
messages?: {
|
|
1530
1528
|
id: string;
|
|
1531
|
-
raw?: string | undefined;
|
|
1532
1529
|
threadId?: string | undefined;
|
|
1533
1530
|
labelIds?: string[] | undefined;
|
|
1534
1531
|
snippet?: string | undefined;
|
|
@@ -1536,37 +1533,37 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1536
1533
|
historyId?: string | undefined;
|
|
1537
1534
|
internalDate?: string | undefined;
|
|
1538
1535
|
sizeEstimate?: number | undefined;
|
|
1536
|
+
raw?: string | undefined;
|
|
1539
1537
|
payload?: {
|
|
1540
1538
|
mimeType?: string | undefined;
|
|
1541
1539
|
headers?: {
|
|
1542
1540
|
value: string;
|
|
1543
1541
|
name: string;
|
|
1544
1542
|
}[] | undefined;
|
|
1543
|
+
parts?: any[] | undefined;
|
|
1545
1544
|
body?: {
|
|
1546
1545
|
data?: string | undefined;
|
|
1547
1546
|
size?: number | undefined;
|
|
1548
1547
|
attachmentId?: string | undefined;
|
|
1549
1548
|
} | undefined;
|
|
1550
|
-
parts?: any[] | undefined;
|
|
1551
1549
|
} | undefined;
|
|
1552
1550
|
}[] | undefined;
|
|
1551
|
+
snippet?: string | undefined;
|
|
1552
|
+
historyId?: string | undefined;
|
|
1553
1553
|
}>, "many">>;
|
|
1554
1554
|
next_page_token: z.ZodOptional<z.ZodString>;
|
|
1555
1555
|
result_size_estimate: z.ZodOptional<z.ZodNumber>;
|
|
1556
1556
|
error: z.ZodString;
|
|
1557
1557
|
}, "strip", z.ZodTypeAny, {
|
|
1558
|
-
operation: "list_threads";
|
|
1559
|
-
success: boolean;
|
|
1560
1558
|
error: string;
|
|
1559
|
+
success: boolean;
|
|
1560
|
+
operation: "list_threads";
|
|
1561
1561
|
next_page_token?: string | undefined;
|
|
1562
1562
|
result_size_estimate?: number | undefined;
|
|
1563
1563
|
threads?: {
|
|
1564
1564
|
id: string;
|
|
1565
|
-
snippet?: string | undefined;
|
|
1566
|
-
historyId?: string | undefined;
|
|
1567
1565
|
messages?: {
|
|
1568
1566
|
id: string;
|
|
1569
|
-
raw?: string | undefined;
|
|
1570
1567
|
threadId?: string | undefined;
|
|
1571
1568
|
labelIds?: string[] | undefined;
|
|
1572
1569
|
snippet?: string | undefined;
|
|
@@ -1574,34 +1571,34 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1574
1571
|
historyId?: string | undefined;
|
|
1575
1572
|
internalDate?: string | undefined;
|
|
1576
1573
|
sizeEstimate?: number | undefined;
|
|
1574
|
+
raw?: string | undefined;
|
|
1577
1575
|
payload?: {
|
|
1578
1576
|
mimeType?: string | undefined;
|
|
1579
1577
|
headers?: {
|
|
1580
1578
|
value: string;
|
|
1581
1579
|
name: string;
|
|
1582
1580
|
}[] | undefined;
|
|
1581
|
+
parts?: any[] | undefined;
|
|
1583
1582
|
body?: {
|
|
1584
1583
|
data?: string | undefined;
|
|
1585
1584
|
size?: number | undefined;
|
|
1586
1585
|
attachmentId?: string | undefined;
|
|
1587
1586
|
} | undefined;
|
|
1588
|
-
parts?: any[] | undefined;
|
|
1589
1587
|
} | undefined;
|
|
1590
1588
|
}[] | undefined;
|
|
1589
|
+
snippet?: string | undefined;
|
|
1590
|
+
historyId?: string | undefined;
|
|
1591
1591
|
}[] | undefined;
|
|
1592
1592
|
}, {
|
|
1593
|
-
operation: "list_threads";
|
|
1594
|
-
success: boolean;
|
|
1595
1593
|
error: string;
|
|
1594
|
+
success: boolean;
|
|
1595
|
+
operation: "list_threads";
|
|
1596
1596
|
next_page_token?: string | undefined;
|
|
1597
1597
|
result_size_estimate?: number | undefined;
|
|
1598
1598
|
threads?: {
|
|
1599
1599
|
id: string;
|
|
1600
|
-
snippet?: string | undefined;
|
|
1601
|
-
historyId?: string | undefined;
|
|
1602
1600
|
messages?: {
|
|
1603
1601
|
id: string;
|
|
1604
|
-
raw?: string | undefined;
|
|
1605
1602
|
threadId?: string | undefined;
|
|
1606
1603
|
labelIds?: string[] | undefined;
|
|
1607
1604
|
snippet?: string | undefined;
|
|
@@ -1609,20 +1606,23 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1609
1606
|
historyId?: string | undefined;
|
|
1610
1607
|
internalDate?: string | undefined;
|
|
1611
1608
|
sizeEstimate?: number | undefined;
|
|
1609
|
+
raw?: string | undefined;
|
|
1612
1610
|
payload?: {
|
|
1613
1611
|
mimeType?: string | undefined;
|
|
1614
1612
|
headers?: {
|
|
1615
1613
|
value: string;
|
|
1616
1614
|
name: string;
|
|
1617
1615
|
}[] | undefined;
|
|
1616
|
+
parts?: any[] | undefined;
|
|
1618
1617
|
body?: {
|
|
1619
1618
|
data?: string | undefined;
|
|
1620
1619
|
size?: number | undefined;
|
|
1621
1620
|
attachmentId?: string | undefined;
|
|
1622
1621
|
} | undefined;
|
|
1623
|
-
parts?: any[] | undefined;
|
|
1624
1622
|
} | undefined;
|
|
1625
1623
|
}[] | undefined;
|
|
1624
|
+
snippet?: string | undefined;
|
|
1625
|
+
historyId?: string | undefined;
|
|
1626
1626
|
}[] | undefined;
|
|
1627
1627
|
}>, z.ZodObject<{
|
|
1628
1628
|
operation: z.ZodLiteral<"list_labels">;
|
|
@@ -1636,36 +1636,36 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1636
1636
|
}, "strip", z.ZodTypeAny, {
|
|
1637
1637
|
name: string;
|
|
1638
1638
|
id: string;
|
|
1639
|
-
type?: "
|
|
1639
|
+
type?: "user" | "system" | undefined;
|
|
1640
1640
|
messageListVisibility?: "show" | "hide" | undefined;
|
|
1641
1641
|
labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
|
|
1642
1642
|
}, {
|
|
1643
1643
|
name: string;
|
|
1644
1644
|
id: string;
|
|
1645
|
-
type?: "
|
|
1645
|
+
type?: "user" | "system" | undefined;
|
|
1646
1646
|
messageListVisibility?: "show" | "hide" | undefined;
|
|
1647
1647
|
labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
|
|
1648
1648
|
}>, "many">>;
|
|
1649
1649
|
error: z.ZodString;
|
|
1650
1650
|
}, "strip", z.ZodTypeAny, {
|
|
1651
|
-
operation: "list_labels";
|
|
1652
|
-
success: boolean;
|
|
1653
1651
|
error: string;
|
|
1652
|
+
success: boolean;
|
|
1653
|
+
operation: "list_labels";
|
|
1654
1654
|
labels?: {
|
|
1655
1655
|
name: string;
|
|
1656
1656
|
id: string;
|
|
1657
|
-
type?: "
|
|
1657
|
+
type?: "user" | "system" | undefined;
|
|
1658
1658
|
messageListVisibility?: "show" | "hide" | undefined;
|
|
1659
1659
|
labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
|
|
1660
1660
|
}[] | undefined;
|
|
1661
1661
|
}, {
|
|
1662
|
-
operation: "list_labels";
|
|
1663
|
-
success: boolean;
|
|
1664
1662
|
error: string;
|
|
1663
|
+
success: boolean;
|
|
1664
|
+
operation: "list_labels";
|
|
1665
1665
|
labels?: {
|
|
1666
1666
|
name: string;
|
|
1667
1667
|
id: string;
|
|
1668
|
-
type?: "
|
|
1668
|
+
type?: "user" | "system" | undefined;
|
|
1669
1669
|
messageListVisibility?: "show" | "hide" | undefined;
|
|
1670
1670
|
labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
|
|
1671
1671
|
}[] | undefined;
|
|
@@ -1681,36 +1681,36 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1681
1681
|
}, "strip", z.ZodTypeAny, {
|
|
1682
1682
|
name: string;
|
|
1683
1683
|
id: string;
|
|
1684
|
-
type?: "
|
|
1684
|
+
type?: "user" | "system" | undefined;
|
|
1685
1685
|
messageListVisibility?: "show" | "hide" | undefined;
|
|
1686
1686
|
labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
|
|
1687
1687
|
}, {
|
|
1688
1688
|
name: string;
|
|
1689
1689
|
id: string;
|
|
1690
|
-
type?: "
|
|
1690
|
+
type?: "user" | "system" | undefined;
|
|
1691
1691
|
messageListVisibility?: "show" | "hide" | undefined;
|
|
1692
1692
|
labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
|
|
1693
1693
|
}>>;
|
|
1694
1694
|
error: z.ZodString;
|
|
1695
1695
|
}, "strip", z.ZodTypeAny, {
|
|
1696
|
-
operation: "create_label";
|
|
1697
|
-
success: boolean;
|
|
1698
1696
|
error: string;
|
|
1697
|
+
success: boolean;
|
|
1698
|
+
operation: "create_label";
|
|
1699
1699
|
label?: {
|
|
1700
1700
|
name: string;
|
|
1701
1701
|
id: string;
|
|
1702
|
-
type?: "
|
|
1702
|
+
type?: "user" | "system" | undefined;
|
|
1703
1703
|
messageListVisibility?: "show" | "hide" | undefined;
|
|
1704
1704
|
labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
|
|
1705
1705
|
} | undefined;
|
|
1706
1706
|
}, {
|
|
1707
|
-
operation: "create_label";
|
|
1708
|
-
success: boolean;
|
|
1709
1707
|
error: string;
|
|
1708
|
+
success: boolean;
|
|
1709
|
+
operation: "create_label";
|
|
1710
1710
|
label?: {
|
|
1711
1711
|
name: string;
|
|
1712
1712
|
id: string;
|
|
1713
|
-
type?: "
|
|
1713
|
+
type?: "user" | "system" | undefined;
|
|
1714
1714
|
messageListVisibility?: "show" | "hide" | undefined;
|
|
1715
1715
|
labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
|
|
1716
1716
|
} | undefined;
|
|
@@ -1721,31 +1721,31 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1721
1721
|
label_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1722
1722
|
error: z.ZodString;
|
|
1723
1723
|
}, "strip", z.ZodTypeAny, {
|
|
1724
|
-
operation: "modify_message_labels";
|
|
1725
|
-
success: boolean;
|
|
1726
1724
|
error: string;
|
|
1727
|
-
|
|
1725
|
+
success: boolean;
|
|
1726
|
+
operation: "modify_message_labels";
|
|
1728
1727
|
message_id?: string | undefined;
|
|
1728
|
+
label_ids?: string[] | undefined;
|
|
1729
1729
|
}, {
|
|
1730
|
-
operation: "modify_message_labels";
|
|
1731
|
-
success: boolean;
|
|
1732
1730
|
error: string;
|
|
1733
|
-
|
|
1731
|
+
success: boolean;
|
|
1732
|
+
operation: "modify_message_labels";
|
|
1734
1733
|
message_id?: string | undefined;
|
|
1734
|
+
label_ids?: string[] | undefined;
|
|
1735
1735
|
}>, z.ZodObject<{
|
|
1736
1736
|
operation: z.ZodLiteral<"modify_thread_labels">;
|
|
1737
1737
|
success: z.ZodBoolean;
|
|
1738
1738
|
thread_id: z.ZodOptional<z.ZodString>;
|
|
1739
1739
|
error: z.ZodString;
|
|
1740
1740
|
}, "strip", z.ZodTypeAny, {
|
|
1741
|
-
operation: "modify_thread_labels";
|
|
1742
|
-
success: boolean;
|
|
1743
1741
|
error: string;
|
|
1742
|
+
success: boolean;
|
|
1743
|
+
operation: "modify_thread_labels";
|
|
1744
1744
|
thread_id?: string | undefined;
|
|
1745
1745
|
}, {
|
|
1746
|
-
operation: "modify_thread_labels";
|
|
1747
|
-
success: boolean;
|
|
1748
1746
|
error: string;
|
|
1747
|
+
success: boolean;
|
|
1748
|
+
operation: "modify_thread_labels";
|
|
1749
1749
|
thread_id?: string | undefined;
|
|
1750
1750
|
}>]>;
|
|
1751
1751
|
type GmailResult = z.output<typeof GmailResultSchema>;
|
|
@@ -1776,24 +1776,24 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
1776
1776
|
operation: "send_email";
|
|
1777
1777
|
to: string[];
|
|
1778
1778
|
subject: string;
|
|
1779
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
1779
1780
|
cc?: string[] | undefined;
|
|
1780
1781
|
bcc?: string[] | undefined;
|
|
1782
|
+
reply_to?: string | undefined;
|
|
1781
1783
|
body_text?: string | undefined;
|
|
1782
1784
|
body_html?: string | undefined;
|
|
1783
|
-
reply_to?: string | undefined;
|
|
1784
1785
|
thread_id?: string | undefined;
|
|
1785
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
1786
1786
|
}, {
|
|
1787
1787
|
operation: "send_email";
|
|
1788
1788
|
to: string[];
|
|
1789
1789
|
subject: string;
|
|
1790
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
1790
1791
|
cc?: string[] | undefined;
|
|
1791
1792
|
bcc?: string[] | undefined;
|
|
1793
|
+
reply_to?: string | undefined;
|
|
1792
1794
|
body_text?: string | undefined;
|
|
1793
1795
|
body_html?: string | undefined;
|
|
1794
|
-
reply_to?: string | undefined;
|
|
1795
1796
|
thread_id?: string | undefined;
|
|
1796
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
1797
1797
|
}>, z.ZodObject<{
|
|
1798
1798
|
operation: z.ZodLiteral<"list_emails">;
|
|
1799
1799
|
query: z.ZodOptional<z.ZodString>;
|
|
@@ -1805,8 +1805,8 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
1805
1805
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
1806
1806
|
}, "strip", z.ZodTypeAny, {
|
|
1807
1807
|
operation: "list_emails";
|
|
1808
|
-
include_spam_trash: boolean;
|
|
1809
1808
|
max_results: number;
|
|
1809
|
+
include_spam_trash: boolean;
|
|
1810
1810
|
include_details: boolean;
|
|
1811
1811
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
1812
1812
|
query?: string | undefined;
|
|
@@ -1816,9 +1816,9 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
1816
1816
|
operation: "list_emails";
|
|
1817
1817
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
1818
1818
|
query?: string | undefined;
|
|
1819
|
+
max_results?: number | undefined;
|
|
1819
1820
|
label_ids?: string[] | undefined;
|
|
1820
1821
|
include_spam_trash?: boolean | undefined;
|
|
1821
|
-
max_results?: number | undefined;
|
|
1822
1822
|
page_token?: string | undefined;
|
|
1823
1823
|
include_details?: boolean | undefined;
|
|
1824
1824
|
}>, z.ZodObject<{
|
|
@@ -1828,15 +1828,15 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
1828
1828
|
metadata_headers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1829
1829
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
1830
1830
|
}, "strip", z.ZodTypeAny, {
|
|
1831
|
+
format: "minimal" | "metadata" | "raw" | "full";
|
|
1831
1832
|
operation: "get_email";
|
|
1832
|
-
format: "minimal" | "full" | "raw" | "metadata";
|
|
1833
1833
|
message_id: string;
|
|
1834
1834
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
1835
1835
|
metadata_headers?: string[] | undefined;
|
|
1836
1836
|
}, {
|
|
1837
1837
|
operation: "get_email";
|
|
1838
1838
|
message_id: string;
|
|
1839
|
-
format?: "minimal" | "
|
|
1839
|
+
format?: "minimal" | "metadata" | "raw" | "full" | undefined;
|
|
1840
1840
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
1841
1841
|
metadata_headers?: string[] | undefined;
|
|
1842
1842
|
}>, z.ZodObject<{
|
|
@@ -1846,17 +1846,17 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
1846
1846
|
include_spam_trash: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1847
1847
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
1848
1848
|
}, "strip", z.ZodTypeAny, {
|
|
1849
|
-
operation: "search_emails";
|
|
1850
1849
|
query: string;
|
|
1851
|
-
|
|
1850
|
+
operation: "search_emails";
|
|
1852
1851
|
max_results: number;
|
|
1852
|
+
include_spam_trash: boolean;
|
|
1853
1853
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
1854
1854
|
}, {
|
|
1855
|
-
operation: "search_emails";
|
|
1856
1855
|
query: string;
|
|
1856
|
+
operation: "search_emails";
|
|
1857
1857
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
1858
|
-
include_spam_trash?: boolean | undefined;
|
|
1859
1858
|
max_results?: number | undefined;
|
|
1859
|
+
include_spam_trash?: boolean | undefined;
|
|
1860
1860
|
}>, z.ZodObject<{
|
|
1861
1861
|
operation: z.ZodLiteral<"mark_as_read">;
|
|
1862
1862
|
message_ids: z.ZodArray<z.ZodString, "many">;
|
|
@@ -1896,24 +1896,24 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
1896
1896
|
operation: "create_draft";
|
|
1897
1897
|
to: string[];
|
|
1898
1898
|
subject: string;
|
|
1899
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
1899
1900
|
cc?: string[] | undefined;
|
|
1900
1901
|
bcc?: string[] | undefined;
|
|
1902
|
+
reply_to?: string | undefined;
|
|
1901
1903
|
body_text?: string | undefined;
|
|
1902
1904
|
body_html?: string | undefined;
|
|
1903
|
-
reply_to?: string | undefined;
|
|
1904
1905
|
thread_id?: string | undefined;
|
|
1905
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
1906
1906
|
}, {
|
|
1907
1907
|
operation: "create_draft";
|
|
1908
1908
|
to: string[];
|
|
1909
1909
|
subject: string;
|
|
1910
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
1910
1911
|
cc?: string[] | undefined;
|
|
1911
1912
|
bcc?: string[] | undefined;
|
|
1913
|
+
reply_to?: string | undefined;
|
|
1912
1914
|
body_text?: string | undefined;
|
|
1913
1915
|
body_html?: string | undefined;
|
|
1914
|
-
reply_to?: string | undefined;
|
|
1915
1916
|
thread_id?: string | undefined;
|
|
1916
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
1917
1917
|
}>, z.ZodObject<{
|
|
1918
1918
|
operation: z.ZodLiteral<"send_draft">;
|
|
1919
1919
|
draft_id: z.ZodString;
|
|
@@ -1935,8 +1935,8 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
1935
1935
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
1936
1936
|
}, "strip", z.ZodTypeAny, {
|
|
1937
1937
|
operation: "list_drafts";
|
|
1938
|
-
include_spam_trash: boolean;
|
|
1939
1938
|
max_results: number;
|
|
1939
|
+
include_spam_trash: boolean;
|
|
1940
1940
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
1941
1941
|
query?: string | undefined;
|
|
1942
1942
|
page_token?: string | undefined;
|
|
@@ -1944,8 +1944,8 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
1944
1944
|
operation: "list_drafts";
|
|
1945
1945
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
1946
1946
|
query?: string | undefined;
|
|
1947
|
-
include_spam_trash?: boolean | undefined;
|
|
1948
1947
|
max_results?: number | undefined;
|
|
1948
|
+
include_spam_trash?: boolean | undefined;
|
|
1949
1949
|
page_token?: string | undefined;
|
|
1950
1950
|
}>, z.ZodObject<{
|
|
1951
1951
|
operation: z.ZodLiteral<"delete_email">;
|
|
@@ -1981,8 +1981,8 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
1981
1981
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
1982
1982
|
}, "strip", z.ZodTypeAny, {
|
|
1983
1983
|
operation: "list_threads";
|
|
1984
|
-
include_spam_trash: boolean;
|
|
1985
1984
|
max_results: number;
|
|
1985
|
+
include_spam_trash: boolean;
|
|
1986
1986
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
1987
1987
|
query?: string | undefined;
|
|
1988
1988
|
label_ids?: string[] | undefined;
|
|
@@ -1991,9 +1991,9 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
1991
1991
|
operation: "list_threads";
|
|
1992
1992
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
1993
1993
|
query?: string | undefined;
|
|
1994
|
+
max_results?: number | undefined;
|
|
1994
1995
|
label_ids?: string[] | undefined;
|
|
1995
1996
|
include_spam_trash?: boolean | undefined;
|
|
1996
|
-
max_results?: number | undefined;
|
|
1997
1997
|
page_token?: string | undefined;
|
|
1998
1998
|
}>, z.ZodObject<{
|
|
1999
1999
|
operation: z.ZodLiteral<"list_labels">;
|
|
@@ -2013,16 +2013,16 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2013
2013
|
text_color: z.ZodOptional<z.ZodString>;
|
|
2014
2014
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
2015
2015
|
}, "strip", z.ZodTypeAny, {
|
|
2016
|
-
operation: "create_label";
|
|
2017
2016
|
name: string;
|
|
2017
|
+
operation: "create_label";
|
|
2018
2018
|
label_list_visibility: "labelShow" | "labelShowIfUnread" | "labelHide";
|
|
2019
2019
|
message_list_visibility: "show" | "hide";
|
|
2020
2020
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
2021
2021
|
background_color?: string | undefined;
|
|
2022
2022
|
text_color?: string | undefined;
|
|
2023
2023
|
}, {
|
|
2024
|
-
operation: "create_label";
|
|
2025
2024
|
name: string;
|
|
2025
|
+
operation: "create_label";
|
|
2026
2026
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
2027
2027
|
label_list_visibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
|
|
2028
2028
|
message_list_visibility?: "show" | "hide" | undefined;
|
|
@@ -2072,17 +2072,17 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2072
2072
|
thread_id: z.ZodOptional<z.ZodString>;
|
|
2073
2073
|
error: z.ZodString;
|
|
2074
2074
|
}, "strip", z.ZodTypeAny, {
|
|
2075
|
-
operation: "send_email";
|
|
2076
|
-
success: boolean;
|
|
2077
2075
|
error: string;
|
|
2078
|
-
|
|
2076
|
+
success: boolean;
|
|
2077
|
+
operation: "send_email";
|
|
2079
2078
|
message_id?: string | undefined;
|
|
2079
|
+
thread_id?: string | undefined;
|
|
2080
2080
|
}, {
|
|
2081
|
-
operation: "send_email";
|
|
2082
|
-
success: boolean;
|
|
2083
2081
|
error: string;
|
|
2084
|
-
|
|
2082
|
+
success: boolean;
|
|
2083
|
+
operation: "send_email";
|
|
2085
2084
|
message_id?: string | undefined;
|
|
2085
|
+
thread_id?: string | undefined;
|
|
2086
2086
|
}>, z.ZodObject<{
|
|
2087
2087
|
operation: z.ZodLiteral<"list_emails">;
|
|
2088
2088
|
success: z.ZodBoolean;
|
|
@@ -2128,28 +2128,27 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2128
2128
|
value: string;
|
|
2129
2129
|
name: string;
|
|
2130
2130
|
}[] | undefined;
|
|
2131
|
+
parts?: any[] | undefined;
|
|
2131
2132
|
body?: {
|
|
2132
2133
|
data?: string | undefined;
|
|
2133
2134
|
size?: number | undefined;
|
|
2134
2135
|
attachmentId?: string | undefined;
|
|
2135
2136
|
} | undefined;
|
|
2136
|
-
parts?: any[] | undefined;
|
|
2137
2137
|
}, {
|
|
2138
2138
|
mimeType?: string | undefined;
|
|
2139
2139
|
headers?: {
|
|
2140
2140
|
value: string;
|
|
2141
2141
|
name: string;
|
|
2142
2142
|
}[] | undefined;
|
|
2143
|
+
parts?: any[] | undefined;
|
|
2143
2144
|
body?: {
|
|
2144
2145
|
data?: string | undefined;
|
|
2145
2146
|
size?: number | undefined;
|
|
2146
2147
|
attachmentId?: string | undefined;
|
|
2147
2148
|
} | undefined;
|
|
2148
|
-
parts?: any[] | undefined;
|
|
2149
2149
|
}>>;
|
|
2150
2150
|
}, "strip", z.ZodTypeAny, {
|
|
2151
2151
|
id: string;
|
|
2152
|
-
raw?: string | undefined;
|
|
2153
2152
|
threadId?: string | undefined;
|
|
2154
2153
|
labelIds?: string[] | undefined;
|
|
2155
2154
|
snippet?: string | undefined;
|
|
@@ -2157,22 +2156,22 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2157
2156
|
historyId?: string | undefined;
|
|
2158
2157
|
internalDate?: string | undefined;
|
|
2159
2158
|
sizeEstimate?: number | undefined;
|
|
2159
|
+
raw?: string | undefined;
|
|
2160
2160
|
payload?: {
|
|
2161
2161
|
mimeType?: string | undefined;
|
|
2162
2162
|
headers?: {
|
|
2163
2163
|
value: string;
|
|
2164
2164
|
name: string;
|
|
2165
2165
|
}[] | undefined;
|
|
2166
|
+
parts?: any[] | undefined;
|
|
2166
2167
|
body?: {
|
|
2167
2168
|
data?: string | undefined;
|
|
2168
2169
|
size?: number | undefined;
|
|
2169
2170
|
attachmentId?: string | undefined;
|
|
2170
2171
|
} | undefined;
|
|
2171
|
-
parts?: any[] | undefined;
|
|
2172
2172
|
} | undefined;
|
|
2173
2173
|
}, {
|
|
2174
2174
|
id: string;
|
|
2175
|
-
raw?: string | undefined;
|
|
2176
2175
|
threadId?: string | undefined;
|
|
2177
2176
|
labelIds?: string[] | undefined;
|
|
2178
2177
|
snippet?: string | undefined;
|
|
@@ -2180,30 +2179,30 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2180
2179
|
historyId?: string | undefined;
|
|
2181
2180
|
internalDate?: string | undefined;
|
|
2182
2181
|
sizeEstimate?: number | undefined;
|
|
2182
|
+
raw?: string | undefined;
|
|
2183
2183
|
payload?: {
|
|
2184
2184
|
mimeType?: string | undefined;
|
|
2185
2185
|
headers?: {
|
|
2186
2186
|
value: string;
|
|
2187
2187
|
name: string;
|
|
2188
2188
|
}[] | undefined;
|
|
2189
|
+
parts?: any[] | undefined;
|
|
2189
2190
|
body?: {
|
|
2190
2191
|
data?: string | undefined;
|
|
2191
2192
|
size?: number | undefined;
|
|
2192
2193
|
attachmentId?: string | undefined;
|
|
2193
2194
|
} | undefined;
|
|
2194
|
-
parts?: any[] | undefined;
|
|
2195
2195
|
} | undefined;
|
|
2196
2196
|
}>, "many">>;
|
|
2197
2197
|
next_page_token: z.ZodOptional<z.ZodString>;
|
|
2198
2198
|
result_size_estimate: z.ZodOptional<z.ZodNumber>;
|
|
2199
2199
|
error: z.ZodString;
|
|
2200
2200
|
}, "strip", z.ZodTypeAny, {
|
|
2201
|
-
operation: "list_emails";
|
|
2202
|
-
success: boolean;
|
|
2203
2201
|
error: string;
|
|
2202
|
+
success: boolean;
|
|
2203
|
+
operation: "list_emails";
|
|
2204
2204
|
messages?: {
|
|
2205
2205
|
id: string;
|
|
2206
|
-
raw?: string | undefined;
|
|
2207
2206
|
threadId?: string | undefined;
|
|
2208
2207
|
labelIds?: string[] | undefined;
|
|
2209
2208
|
snippet?: string | undefined;
|
|
@@ -2211,29 +2210,29 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2211
2210
|
historyId?: string | undefined;
|
|
2212
2211
|
internalDate?: string | undefined;
|
|
2213
2212
|
sizeEstimate?: number | undefined;
|
|
2213
|
+
raw?: string | undefined;
|
|
2214
2214
|
payload?: {
|
|
2215
2215
|
mimeType?: string | undefined;
|
|
2216
2216
|
headers?: {
|
|
2217
2217
|
value: string;
|
|
2218
2218
|
name: string;
|
|
2219
2219
|
}[] | undefined;
|
|
2220
|
+
parts?: any[] | undefined;
|
|
2220
2221
|
body?: {
|
|
2221
2222
|
data?: string | undefined;
|
|
2222
2223
|
size?: number | undefined;
|
|
2223
2224
|
attachmentId?: string | undefined;
|
|
2224
2225
|
} | undefined;
|
|
2225
|
-
parts?: any[] | undefined;
|
|
2226
2226
|
} | undefined;
|
|
2227
2227
|
}[] | undefined;
|
|
2228
2228
|
next_page_token?: string | undefined;
|
|
2229
2229
|
result_size_estimate?: number | undefined;
|
|
2230
2230
|
}, {
|
|
2231
|
-
operation: "list_emails";
|
|
2232
|
-
success: boolean;
|
|
2233
2231
|
error: string;
|
|
2232
|
+
success: boolean;
|
|
2233
|
+
operation: "list_emails";
|
|
2234
2234
|
messages?: {
|
|
2235
2235
|
id: string;
|
|
2236
|
-
raw?: string | undefined;
|
|
2237
2236
|
threadId?: string | undefined;
|
|
2238
2237
|
labelIds?: string[] | undefined;
|
|
2239
2238
|
snippet?: string | undefined;
|
|
@@ -2241,18 +2240,19 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2241
2240
|
historyId?: string | undefined;
|
|
2242
2241
|
internalDate?: string | undefined;
|
|
2243
2242
|
sizeEstimate?: number | undefined;
|
|
2243
|
+
raw?: string | undefined;
|
|
2244
2244
|
payload?: {
|
|
2245
2245
|
mimeType?: string | undefined;
|
|
2246
2246
|
headers?: {
|
|
2247
2247
|
value: string;
|
|
2248
2248
|
name: string;
|
|
2249
2249
|
}[] | undefined;
|
|
2250
|
+
parts?: any[] | undefined;
|
|
2250
2251
|
body?: {
|
|
2251
2252
|
data?: string | undefined;
|
|
2252
2253
|
size?: number | undefined;
|
|
2253
2254
|
attachmentId?: string | undefined;
|
|
2254
2255
|
} | undefined;
|
|
2255
|
-
parts?: any[] | undefined;
|
|
2256
2256
|
} | undefined;
|
|
2257
2257
|
}[] | undefined;
|
|
2258
2258
|
next_page_token?: string | undefined;
|
|
@@ -2302,28 +2302,27 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2302
2302
|
value: string;
|
|
2303
2303
|
name: string;
|
|
2304
2304
|
}[] | undefined;
|
|
2305
|
+
parts?: any[] | undefined;
|
|
2305
2306
|
body?: {
|
|
2306
2307
|
data?: string | undefined;
|
|
2307
2308
|
size?: number | undefined;
|
|
2308
2309
|
attachmentId?: string | undefined;
|
|
2309
2310
|
} | undefined;
|
|
2310
|
-
parts?: any[] | undefined;
|
|
2311
2311
|
}, {
|
|
2312
2312
|
mimeType?: string | undefined;
|
|
2313
2313
|
headers?: {
|
|
2314
2314
|
value: string;
|
|
2315
2315
|
name: string;
|
|
2316
2316
|
}[] | undefined;
|
|
2317
|
+
parts?: any[] | undefined;
|
|
2317
2318
|
body?: {
|
|
2318
2319
|
data?: string | undefined;
|
|
2319
2320
|
size?: number | undefined;
|
|
2320
2321
|
attachmentId?: string | undefined;
|
|
2321
2322
|
} | undefined;
|
|
2322
|
-
parts?: any[] | undefined;
|
|
2323
2323
|
}>>;
|
|
2324
2324
|
}, "strip", z.ZodTypeAny, {
|
|
2325
2325
|
id: string;
|
|
2326
|
-
raw?: string | undefined;
|
|
2327
2326
|
threadId?: string | undefined;
|
|
2328
2327
|
labelIds?: string[] | undefined;
|
|
2329
2328
|
snippet?: string | undefined;
|
|
@@ -2331,22 +2330,22 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2331
2330
|
historyId?: string | undefined;
|
|
2332
2331
|
internalDate?: string | undefined;
|
|
2333
2332
|
sizeEstimate?: number | undefined;
|
|
2333
|
+
raw?: string | undefined;
|
|
2334
2334
|
payload?: {
|
|
2335
2335
|
mimeType?: string | undefined;
|
|
2336
2336
|
headers?: {
|
|
2337
2337
|
value: string;
|
|
2338
2338
|
name: string;
|
|
2339
2339
|
}[] | undefined;
|
|
2340
|
+
parts?: any[] | undefined;
|
|
2340
2341
|
body?: {
|
|
2341
2342
|
data?: string | undefined;
|
|
2342
2343
|
size?: number | undefined;
|
|
2343
2344
|
attachmentId?: string | undefined;
|
|
2344
2345
|
} | undefined;
|
|
2345
|
-
parts?: any[] | undefined;
|
|
2346
2346
|
} | undefined;
|
|
2347
2347
|
}, {
|
|
2348
2348
|
id: string;
|
|
2349
|
-
raw?: string | undefined;
|
|
2350
2349
|
threadId?: string | undefined;
|
|
2351
2350
|
labelIds?: string[] | undefined;
|
|
2352
2351
|
snippet?: string | undefined;
|
|
@@ -2354,28 +2353,28 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2354
2353
|
historyId?: string | undefined;
|
|
2355
2354
|
internalDate?: string | undefined;
|
|
2356
2355
|
sizeEstimate?: number | undefined;
|
|
2356
|
+
raw?: string | undefined;
|
|
2357
2357
|
payload?: {
|
|
2358
2358
|
mimeType?: string | undefined;
|
|
2359
2359
|
headers?: {
|
|
2360
2360
|
value: string;
|
|
2361
2361
|
name: string;
|
|
2362
2362
|
}[] | undefined;
|
|
2363
|
+
parts?: any[] | undefined;
|
|
2363
2364
|
body?: {
|
|
2364
2365
|
data?: string | undefined;
|
|
2365
2366
|
size?: number | undefined;
|
|
2366
2367
|
attachmentId?: string | undefined;
|
|
2367
2368
|
} | undefined;
|
|
2368
|
-
parts?: any[] | undefined;
|
|
2369
2369
|
} | undefined;
|
|
2370
2370
|
}>>;
|
|
2371
2371
|
error: z.ZodString;
|
|
2372
2372
|
}, "strip", z.ZodTypeAny, {
|
|
2373
|
-
operation: "get_email";
|
|
2374
|
-
success: boolean;
|
|
2375
2373
|
error: string;
|
|
2374
|
+
success: boolean;
|
|
2375
|
+
operation: "get_email";
|
|
2376
2376
|
message?: {
|
|
2377
2377
|
id: string;
|
|
2378
|
-
raw?: string | undefined;
|
|
2379
2378
|
threadId?: string | undefined;
|
|
2380
2379
|
labelIds?: string[] | undefined;
|
|
2381
2380
|
snippet?: string | undefined;
|
|
@@ -2383,27 +2382,27 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2383
2382
|
historyId?: string | undefined;
|
|
2384
2383
|
internalDate?: string | undefined;
|
|
2385
2384
|
sizeEstimate?: number | undefined;
|
|
2385
|
+
raw?: string | undefined;
|
|
2386
2386
|
payload?: {
|
|
2387
2387
|
mimeType?: string | undefined;
|
|
2388
2388
|
headers?: {
|
|
2389
2389
|
value: string;
|
|
2390
2390
|
name: string;
|
|
2391
2391
|
}[] | undefined;
|
|
2392
|
+
parts?: any[] | undefined;
|
|
2392
2393
|
body?: {
|
|
2393
2394
|
data?: string | undefined;
|
|
2394
2395
|
size?: number | undefined;
|
|
2395
2396
|
attachmentId?: string | undefined;
|
|
2396
2397
|
} | undefined;
|
|
2397
|
-
parts?: any[] | undefined;
|
|
2398
2398
|
} | undefined;
|
|
2399
2399
|
} | undefined;
|
|
2400
2400
|
}, {
|
|
2401
|
-
operation: "get_email";
|
|
2402
|
-
success: boolean;
|
|
2403
2401
|
error: string;
|
|
2402
|
+
success: boolean;
|
|
2403
|
+
operation: "get_email";
|
|
2404
2404
|
message?: {
|
|
2405
2405
|
id: string;
|
|
2406
|
-
raw?: string | undefined;
|
|
2407
2406
|
threadId?: string | undefined;
|
|
2408
2407
|
labelIds?: string[] | undefined;
|
|
2409
2408
|
snippet?: string | undefined;
|
|
@@ -2411,18 +2410,19 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2411
2410
|
historyId?: string | undefined;
|
|
2412
2411
|
internalDate?: string | undefined;
|
|
2413
2412
|
sizeEstimate?: number | undefined;
|
|
2413
|
+
raw?: string | undefined;
|
|
2414
2414
|
payload?: {
|
|
2415
2415
|
mimeType?: string | undefined;
|
|
2416
2416
|
headers?: {
|
|
2417
2417
|
value: string;
|
|
2418
2418
|
name: string;
|
|
2419
2419
|
}[] | undefined;
|
|
2420
|
+
parts?: any[] | undefined;
|
|
2420
2421
|
body?: {
|
|
2421
2422
|
data?: string | undefined;
|
|
2422
2423
|
size?: number | undefined;
|
|
2423
2424
|
attachmentId?: string | undefined;
|
|
2424
2425
|
} | undefined;
|
|
2425
|
-
parts?: any[] | undefined;
|
|
2426
2426
|
} | undefined;
|
|
2427
2427
|
} | undefined;
|
|
2428
2428
|
}>, z.ZodObject<{
|
|
@@ -2470,28 +2470,27 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2470
2470
|
value: string;
|
|
2471
2471
|
name: string;
|
|
2472
2472
|
}[] | undefined;
|
|
2473
|
+
parts?: any[] | undefined;
|
|
2473
2474
|
body?: {
|
|
2474
2475
|
data?: string | undefined;
|
|
2475
2476
|
size?: number | undefined;
|
|
2476
2477
|
attachmentId?: string | undefined;
|
|
2477
2478
|
} | undefined;
|
|
2478
|
-
parts?: any[] | undefined;
|
|
2479
2479
|
}, {
|
|
2480
2480
|
mimeType?: string | undefined;
|
|
2481
2481
|
headers?: {
|
|
2482
2482
|
value: string;
|
|
2483
2483
|
name: string;
|
|
2484
2484
|
}[] | undefined;
|
|
2485
|
+
parts?: any[] | undefined;
|
|
2485
2486
|
body?: {
|
|
2486
2487
|
data?: string | undefined;
|
|
2487
2488
|
size?: number | undefined;
|
|
2488
2489
|
attachmentId?: string | undefined;
|
|
2489
2490
|
} | undefined;
|
|
2490
|
-
parts?: any[] | undefined;
|
|
2491
2491
|
}>>;
|
|
2492
2492
|
}, "strip", z.ZodTypeAny, {
|
|
2493
2493
|
id: string;
|
|
2494
|
-
raw?: string | undefined;
|
|
2495
2494
|
threadId?: string | undefined;
|
|
2496
2495
|
labelIds?: string[] | undefined;
|
|
2497
2496
|
snippet?: string | undefined;
|
|
@@ -2499,22 +2498,22 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2499
2498
|
historyId?: string | undefined;
|
|
2500
2499
|
internalDate?: string | undefined;
|
|
2501
2500
|
sizeEstimate?: number | undefined;
|
|
2501
|
+
raw?: string | undefined;
|
|
2502
2502
|
payload?: {
|
|
2503
2503
|
mimeType?: string | undefined;
|
|
2504
2504
|
headers?: {
|
|
2505
2505
|
value: string;
|
|
2506
2506
|
name: string;
|
|
2507
2507
|
}[] | undefined;
|
|
2508
|
+
parts?: any[] | undefined;
|
|
2508
2509
|
body?: {
|
|
2509
2510
|
data?: string | undefined;
|
|
2510
2511
|
size?: number | undefined;
|
|
2511
2512
|
attachmentId?: string | undefined;
|
|
2512
2513
|
} | undefined;
|
|
2513
|
-
parts?: any[] | undefined;
|
|
2514
2514
|
} | undefined;
|
|
2515
2515
|
}, {
|
|
2516
2516
|
id: string;
|
|
2517
|
-
raw?: string | undefined;
|
|
2518
2517
|
threadId?: string | undefined;
|
|
2519
2518
|
labelIds?: string[] | undefined;
|
|
2520
2519
|
snippet?: string | undefined;
|
|
@@ -2522,29 +2521,29 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2522
2521
|
historyId?: string | undefined;
|
|
2523
2522
|
internalDate?: string | undefined;
|
|
2524
2523
|
sizeEstimate?: number | undefined;
|
|
2524
|
+
raw?: string | undefined;
|
|
2525
2525
|
payload?: {
|
|
2526
2526
|
mimeType?: string | undefined;
|
|
2527
2527
|
headers?: {
|
|
2528
2528
|
value: string;
|
|
2529
2529
|
name: string;
|
|
2530
2530
|
}[] | undefined;
|
|
2531
|
+
parts?: any[] | undefined;
|
|
2531
2532
|
body?: {
|
|
2532
2533
|
data?: string | undefined;
|
|
2533
2534
|
size?: number | undefined;
|
|
2534
2535
|
attachmentId?: string | undefined;
|
|
2535
2536
|
} | undefined;
|
|
2536
|
-
parts?: any[] | undefined;
|
|
2537
2537
|
} | undefined;
|
|
2538
2538
|
}>, "many">>;
|
|
2539
2539
|
result_size_estimate: z.ZodOptional<z.ZodNumber>;
|
|
2540
2540
|
error: z.ZodString;
|
|
2541
2541
|
}, "strip", z.ZodTypeAny, {
|
|
2542
|
-
operation: "search_emails";
|
|
2543
|
-
success: boolean;
|
|
2544
2542
|
error: string;
|
|
2543
|
+
success: boolean;
|
|
2544
|
+
operation: "search_emails";
|
|
2545
2545
|
messages?: {
|
|
2546
2546
|
id: string;
|
|
2547
|
-
raw?: string | undefined;
|
|
2548
2547
|
threadId?: string | undefined;
|
|
2549
2548
|
labelIds?: string[] | undefined;
|
|
2550
2549
|
snippet?: string | undefined;
|
|
@@ -2552,28 +2551,28 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2552
2551
|
historyId?: string | undefined;
|
|
2553
2552
|
internalDate?: string | undefined;
|
|
2554
2553
|
sizeEstimate?: number | undefined;
|
|
2554
|
+
raw?: string | undefined;
|
|
2555
2555
|
payload?: {
|
|
2556
2556
|
mimeType?: string | undefined;
|
|
2557
2557
|
headers?: {
|
|
2558
2558
|
value: string;
|
|
2559
2559
|
name: string;
|
|
2560
2560
|
}[] | undefined;
|
|
2561
|
+
parts?: any[] | undefined;
|
|
2561
2562
|
body?: {
|
|
2562
2563
|
data?: string | undefined;
|
|
2563
2564
|
size?: number | undefined;
|
|
2564
2565
|
attachmentId?: string | undefined;
|
|
2565
2566
|
} | undefined;
|
|
2566
|
-
parts?: any[] | undefined;
|
|
2567
2567
|
} | undefined;
|
|
2568
2568
|
}[] | undefined;
|
|
2569
2569
|
result_size_estimate?: number | undefined;
|
|
2570
2570
|
}, {
|
|
2571
|
-
operation: "search_emails";
|
|
2572
|
-
success: boolean;
|
|
2573
2571
|
error: string;
|
|
2572
|
+
success: boolean;
|
|
2573
|
+
operation: "search_emails";
|
|
2574
2574
|
messages?: {
|
|
2575
2575
|
id: string;
|
|
2576
|
-
raw?: string | undefined;
|
|
2577
2576
|
threadId?: string | undefined;
|
|
2578
2577
|
labelIds?: string[] | undefined;
|
|
2579
2578
|
snippet?: string | undefined;
|
|
@@ -2581,18 +2580,19 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2581
2580
|
historyId?: string | undefined;
|
|
2582
2581
|
internalDate?: string | undefined;
|
|
2583
2582
|
sizeEstimate?: number | undefined;
|
|
2583
|
+
raw?: string | undefined;
|
|
2584
2584
|
payload?: {
|
|
2585
2585
|
mimeType?: string | undefined;
|
|
2586
2586
|
headers?: {
|
|
2587
2587
|
value: string;
|
|
2588
2588
|
name: string;
|
|
2589
2589
|
}[] | undefined;
|
|
2590
|
+
parts?: any[] | undefined;
|
|
2590
2591
|
body?: {
|
|
2591
2592
|
data?: string | undefined;
|
|
2592
2593
|
size?: number | undefined;
|
|
2593
2594
|
attachmentId?: string | undefined;
|
|
2594
2595
|
} | undefined;
|
|
2595
|
-
parts?: any[] | undefined;
|
|
2596
2596
|
} | undefined;
|
|
2597
2597
|
}[] | undefined;
|
|
2598
2598
|
result_size_estimate?: number | undefined;
|
|
@@ -2602,14 +2602,14 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2602
2602
|
modified_messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2603
2603
|
error: z.ZodString;
|
|
2604
2604
|
}, "strip", z.ZodTypeAny, {
|
|
2605
|
-
operation: "mark_as_read";
|
|
2606
|
-
success: boolean;
|
|
2607
2605
|
error: string;
|
|
2606
|
+
success: boolean;
|
|
2607
|
+
operation: "mark_as_read";
|
|
2608
2608
|
modified_messages?: string[] | undefined;
|
|
2609
2609
|
}, {
|
|
2610
|
-
operation: "mark_as_read";
|
|
2611
|
-
success: boolean;
|
|
2612
2610
|
error: string;
|
|
2611
|
+
success: boolean;
|
|
2612
|
+
operation: "mark_as_read";
|
|
2613
2613
|
modified_messages?: string[] | undefined;
|
|
2614
2614
|
}>, z.ZodObject<{
|
|
2615
2615
|
operation: z.ZodLiteral<"mark_as_unread">;
|
|
@@ -2617,14 +2617,14 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2617
2617
|
modified_messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2618
2618
|
error: z.ZodString;
|
|
2619
2619
|
}, "strip", z.ZodTypeAny, {
|
|
2620
|
-
operation: "mark_as_unread";
|
|
2621
|
-
success: boolean;
|
|
2622
2620
|
error: string;
|
|
2621
|
+
success: boolean;
|
|
2622
|
+
operation: "mark_as_unread";
|
|
2623
2623
|
modified_messages?: string[] | undefined;
|
|
2624
2624
|
}, {
|
|
2625
|
-
operation: "mark_as_unread";
|
|
2626
|
-
success: boolean;
|
|
2627
2625
|
error: string;
|
|
2626
|
+
success: boolean;
|
|
2627
|
+
operation: "mark_as_unread";
|
|
2628
2628
|
modified_messages?: string[] | undefined;
|
|
2629
2629
|
}>, z.ZodObject<{
|
|
2630
2630
|
operation: z.ZodLiteral<"create_draft">;
|
|
@@ -2673,28 +2673,27 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2673
2673
|
value: string;
|
|
2674
2674
|
name: string;
|
|
2675
2675
|
}[] | undefined;
|
|
2676
|
+
parts?: any[] | undefined;
|
|
2676
2677
|
body?: {
|
|
2677
2678
|
data?: string | undefined;
|
|
2678
2679
|
size?: number | undefined;
|
|
2679
2680
|
attachmentId?: string | undefined;
|
|
2680
2681
|
} | undefined;
|
|
2681
|
-
parts?: any[] | undefined;
|
|
2682
2682
|
}, {
|
|
2683
2683
|
mimeType?: string | undefined;
|
|
2684
2684
|
headers?: {
|
|
2685
2685
|
value: string;
|
|
2686
2686
|
name: string;
|
|
2687
2687
|
}[] | undefined;
|
|
2688
|
+
parts?: any[] | undefined;
|
|
2688
2689
|
body?: {
|
|
2689
2690
|
data?: string | undefined;
|
|
2690
2691
|
size?: number | undefined;
|
|
2691
2692
|
attachmentId?: string | undefined;
|
|
2692
2693
|
} | undefined;
|
|
2693
|
-
parts?: any[] | undefined;
|
|
2694
2694
|
}>>;
|
|
2695
2695
|
}, "strip", z.ZodTypeAny, {
|
|
2696
2696
|
id: string;
|
|
2697
|
-
raw?: string | undefined;
|
|
2698
2697
|
threadId?: string | undefined;
|
|
2699
2698
|
labelIds?: string[] | undefined;
|
|
2700
2699
|
snippet?: string | undefined;
|
|
@@ -2702,22 +2701,22 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2702
2701
|
historyId?: string | undefined;
|
|
2703
2702
|
internalDate?: string | undefined;
|
|
2704
2703
|
sizeEstimate?: number | undefined;
|
|
2704
|
+
raw?: string | undefined;
|
|
2705
2705
|
payload?: {
|
|
2706
2706
|
mimeType?: string | undefined;
|
|
2707
2707
|
headers?: {
|
|
2708
2708
|
value: string;
|
|
2709
2709
|
name: string;
|
|
2710
2710
|
}[] | undefined;
|
|
2711
|
+
parts?: any[] | undefined;
|
|
2711
2712
|
body?: {
|
|
2712
2713
|
data?: string | undefined;
|
|
2713
2714
|
size?: number | undefined;
|
|
2714
2715
|
attachmentId?: string | undefined;
|
|
2715
2716
|
} | undefined;
|
|
2716
|
-
parts?: any[] | undefined;
|
|
2717
2717
|
} | undefined;
|
|
2718
2718
|
}, {
|
|
2719
2719
|
id: string;
|
|
2720
|
-
raw?: string | undefined;
|
|
2721
2720
|
threadId?: string | undefined;
|
|
2722
2721
|
labelIds?: string[] | undefined;
|
|
2723
2722
|
snippet?: string | undefined;
|
|
@@ -2725,24 +2724,24 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2725
2724
|
historyId?: string | undefined;
|
|
2726
2725
|
internalDate?: string | undefined;
|
|
2727
2726
|
sizeEstimate?: number | undefined;
|
|
2727
|
+
raw?: string | undefined;
|
|
2728
2728
|
payload?: {
|
|
2729
2729
|
mimeType?: string | undefined;
|
|
2730
2730
|
headers?: {
|
|
2731
2731
|
value: string;
|
|
2732
2732
|
name: string;
|
|
2733
2733
|
}[] | undefined;
|
|
2734
|
+
parts?: any[] | undefined;
|
|
2734
2735
|
body?: {
|
|
2735
2736
|
data?: string | undefined;
|
|
2736
2737
|
size?: number | undefined;
|
|
2737
2738
|
attachmentId?: string | undefined;
|
|
2738
2739
|
} | undefined;
|
|
2739
|
-
parts?: any[] | undefined;
|
|
2740
2740
|
} | undefined;
|
|
2741
2741
|
}>;
|
|
2742
2742
|
}, "strip", z.ZodTypeAny, {
|
|
2743
2743
|
message: {
|
|
2744
2744
|
id: string;
|
|
2745
|
-
raw?: string | undefined;
|
|
2746
2745
|
threadId?: string | undefined;
|
|
2747
2746
|
labelIds?: string[] | undefined;
|
|
2748
2747
|
snippet?: string | undefined;
|
|
@@ -2750,25 +2749,25 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2750
2749
|
historyId?: string | undefined;
|
|
2751
2750
|
internalDate?: string | undefined;
|
|
2752
2751
|
sizeEstimate?: number | undefined;
|
|
2752
|
+
raw?: string | undefined;
|
|
2753
2753
|
payload?: {
|
|
2754
2754
|
mimeType?: string | undefined;
|
|
2755
2755
|
headers?: {
|
|
2756
2756
|
value: string;
|
|
2757
2757
|
name: string;
|
|
2758
2758
|
}[] | undefined;
|
|
2759
|
+
parts?: any[] | undefined;
|
|
2759
2760
|
body?: {
|
|
2760
2761
|
data?: string | undefined;
|
|
2761
2762
|
size?: number | undefined;
|
|
2762
2763
|
attachmentId?: string | undefined;
|
|
2763
2764
|
} | undefined;
|
|
2764
|
-
parts?: any[] | undefined;
|
|
2765
2765
|
} | undefined;
|
|
2766
2766
|
};
|
|
2767
2767
|
id: string;
|
|
2768
2768
|
}, {
|
|
2769
2769
|
message: {
|
|
2770
2770
|
id: string;
|
|
2771
|
-
raw?: string | undefined;
|
|
2772
2771
|
threadId?: string | undefined;
|
|
2773
2772
|
labelIds?: string[] | undefined;
|
|
2774
2773
|
snippet?: string | undefined;
|
|
@@ -2776,31 +2775,31 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2776
2775
|
historyId?: string | undefined;
|
|
2777
2776
|
internalDate?: string | undefined;
|
|
2778
2777
|
sizeEstimate?: number | undefined;
|
|
2778
|
+
raw?: string | undefined;
|
|
2779
2779
|
payload?: {
|
|
2780
2780
|
mimeType?: string | undefined;
|
|
2781
2781
|
headers?: {
|
|
2782
2782
|
value: string;
|
|
2783
2783
|
name: string;
|
|
2784
2784
|
}[] | undefined;
|
|
2785
|
+
parts?: any[] | undefined;
|
|
2785
2786
|
body?: {
|
|
2786
2787
|
data?: string | undefined;
|
|
2787
2788
|
size?: number | undefined;
|
|
2788
2789
|
attachmentId?: string | undefined;
|
|
2789
2790
|
} | undefined;
|
|
2790
|
-
parts?: any[] | undefined;
|
|
2791
2791
|
} | undefined;
|
|
2792
2792
|
};
|
|
2793
2793
|
id: string;
|
|
2794
2794
|
}>>;
|
|
2795
2795
|
error: z.ZodString;
|
|
2796
2796
|
}, "strip", z.ZodTypeAny, {
|
|
2797
|
-
operation: "create_draft";
|
|
2798
|
-
success: boolean;
|
|
2799
2797
|
error: string;
|
|
2798
|
+
success: boolean;
|
|
2799
|
+
operation: "create_draft";
|
|
2800
2800
|
draft?: {
|
|
2801
2801
|
message: {
|
|
2802
2802
|
id: string;
|
|
2803
|
-
raw?: string | undefined;
|
|
2804
2803
|
threadId?: string | undefined;
|
|
2805
2804
|
labelIds?: string[] | undefined;
|
|
2806
2805
|
snippet?: string | undefined;
|
|
@@ -2808,30 +2807,30 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2808
2807
|
historyId?: string | undefined;
|
|
2809
2808
|
internalDate?: string | undefined;
|
|
2810
2809
|
sizeEstimate?: number | undefined;
|
|
2810
|
+
raw?: string | undefined;
|
|
2811
2811
|
payload?: {
|
|
2812
2812
|
mimeType?: string | undefined;
|
|
2813
2813
|
headers?: {
|
|
2814
2814
|
value: string;
|
|
2815
2815
|
name: string;
|
|
2816
2816
|
}[] | undefined;
|
|
2817
|
+
parts?: any[] | undefined;
|
|
2817
2818
|
body?: {
|
|
2818
2819
|
data?: string | undefined;
|
|
2819
2820
|
size?: number | undefined;
|
|
2820
2821
|
attachmentId?: string | undefined;
|
|
2821
2822
|
} | undefined;
|
|
2822
|
-
parts?: any[] | undefined;
|
|
2823
2823
|
} | undefined;
|
|
2824
2824
|
};
|
|
2825
2825
|
id: string;
|
|
2826
2826
|
} | undefined;
|
|
2827
2827
|
}, {
|
|
2828
|
-
operation: "create_draft";
|
|
2829
|
-
success: boolean;
|
|
2830
2828
|
error: string;
|
|
2829
|
+
success: boolean;
|
|
2830
|
+
operation: "create_draft";
|
|
2831
2831
|
draft?: {
|
|
2832
2832
|
message: {
|
|
2833
2833
|
id: string;
|
|
2834
|
-
raw?: string | undefined;
|
|
2835
2834
|
threadId?: string | undefined;
|
|
2836
2835
|
labelIds?: string[] | undefined;
|
|
2837
2836
|
snippet?: string | undefined;
|
|
@@ -2839,18 +2838,19 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2839
2838
|
historyId?: string | undefined;
|
|
2840
2839
|
internalDate?: string | undefined;
|
|
2841
2840
|
sizeEstimate?: number | undefined;
|
|
2841
|
+
raw?: string | undefined;
|
|
2842
2842
|
payload?: {
|
|
2843
2843
|
mimeType?: string | undefined;
|
|
2844
2844
|
headers?: {
|
|
2845
2845
|
value: string;
|
|
2846
2846
|
name: string;
|
|
2847
2847
|
}[] | undefined;
|
|
2848
|
+
parts?: any[] | undefined;
|
|
2848
2849
|
body?: {
|
|
2849
2850
|
data?: string | undefined;
|
|
2850
2851
|
size?: number | undefined;
|
|
2851
2852
|
attachmentId?: string | undefined;
|
|
2852
2853
|
} | undefined;
|
|
2853
|
-
parts?: any[] | undefined;
|
|
2854
2854
|
} | undefined;
|
|
2855
2855
|
};
|
|
2856
2856
|
id: string;
|
|
@@ -2862,17 +2862,17 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2862
2862
|
thread_id: z.ZodOptional<z.ZodString>;
|
|
2863
2863
|
error: z.ZodString;
|
|
2864
2864
|
}, "strip", z.ZodTypeAny, {
|
|
2865
|
-
operation: "send_draft";
|
|
2866
|
-
success: boolean;
|
|
2867
2865
|
error: string;
|
|
2868
|
-
|
|
2866
|
+
success: boolean;
|
|
2867
|
+
operation: "send_draft";
|
|
2869
2868
|
message_id?: string | undefined;
|
|
2869
|
+
thread_id?: string | undefined;
|
|
2870
2870
|
}, {
|
|
2871
|
-
operation: "send_draft";
|
|
2872
|
-
success: boolean;
|
|
2873
2871
|
error: string;
|
|
2874
|
-
|
|
2872
|
+
success: boolean;
|
|
2873
|
+
operation: "send_draft";
|
|
2875
2874
|
message_id?: string | undefined;
|
|
2875
|
+
thread_id?: string | undefined;
|
|
2876
2876
|
}>, z.ZodObject<{
|
|
2877
2877
|
operation: z.ZodLiteral<"list_drafts">;
|
|
2878
2878
|
success: z.ZodBoolean;
|
|
@@ -2920,28 +2920,27 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2920
2920
|
value: string;
|
|
2921
2921
|
name: string;
|
|
2922
2922
|
}[] | undefined;
|
|
2923
|
+
parts?: any[] | undefined;
|
|
2923
2924
|
body?: {
|
|
2924
2925
|
data?: string | undefined;
|
|
2925
2926
|
size?: number | undefined;
|
|
2926
2927
|
attachmentId?: string | undefined;
|
|
2927
2928
|
} | undefined;
|
|
2928
|
-
parts?: any[] | undefined;
|
|
2929
2929
|
}, {
|
|
2930
2930
|
mimeType?: string | undefined;
|
|
2931
2931
|
headers?: {
|
|
2932
2932
|
value: string;
|
|
2933
2933
|
name: string;
|
|
2934
2934
|
}[] | undefined;
|
|
2935
|
+
parts?: any[] | undefined;
|
|
2935
2936
|
body?: {
|
|
2936
2937
|
data?: string | undefined;
|
|
2937
2938
|
size?: number | undefined;
|
|
2938
2939
|
attachmentId?: string | undefined;
|
|
2939
2940
|
} | undefined;
|
|
2940
|
-
parts?: any[] | undefined;
|
|
2941
2941
|
}>>;
|
|
2942
2942
|
}, "strip", z.ZodTypeAny, {
|
|
2943
2943
|
id: string;
|
|
2944
|
-
raw?: string | undefined;
|
|
2945
2944
|
threadId?: string | undefined;
|
|
2946
2945
|
labelIds?: string[] | undefined;
|
|
2947
2946
|
snippet?: string | undefined;
|
|
@@ -2949,22 +2948,22 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2949
2948
|
historyId?: string | undefined;
|
|
2950
2949
|
internalDate?: string | undefined;
|
|
2951
2950
|
sizeEstimate?: number | undefined;
|
|
2951
|
+
raw?: string | undefined;
|
|
2952
2952
|
payload?: {
|
|
2953
2953
|
mimeType?: string | undefined;
|
|
2954
2954
|
headers?: {
|
|
2955
2955
|
value: string;
|
|
2956
2956
|
name: string;
|
|
2957
2957
|
}[] | undefined;
|
|
2958
|
+
parts?: any[] | undefined;
|
|
2958
2959
|
body?: {
|
|
2959
2960
|
data?: string | undefined;
|
|
2960
2961
|
size?: number | undefined;
|
|
2961
2962
|
attachmentId?: string | undefined;
|
|
2962
2963
|
} | undefined;
|
|
2963
|
-
parts?: any[] | undefined;
|
|
2964
2964
|
} | undefined;
|
|
2965
2965
|
}, {
|
|
2966
2966
|
id: string;
|
|
2967
|
-
raw?: string | undefined;
|
|
2968
2967
|
threadId?: string | undefined;
|
|
2969
2968
|
labelIds?: string[] | undefined;
|
|
2970
2969
|
snippet?: string | undefined;
|
|
@@ -2972,24 +2971,24 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2972
2971
|
historyId?: string | undefined;
|
|
2973
2972
|
internalDate?: string | undefined;
|
|
2974
2973
|
sizeEstimate?: number | undefined;
|
|
2974
|
+
raw?: string | undefined;
|
|
2975
2975
|
payload?: {
|
|
2976
2976
|
mimeType?: string | undefined;
|
|
2977
2977
|
headers?: {
|
|
2978
2978
|
value: string;
|
|
2979
2979
|
name: string;
|
|
2980
2980
|
}[] | undefined;
|
|
2981
|
+
parts?: any[] | undefined;
|
|
2981
2982
|
body?: {
|
|
2982
2983
|
data?: string | undefined;
|
|
2983
2984
|
size?: number | undefined;
|
|
2984
2985
|
attachmentId?: string | undefined;
|
|
2985
2986
|
} | undefined;
|
|
2986
|
-
parts?: any[] | undefined;
|
|
2987
2987
|
} | undefined;
|
|
2988
2988
|
}>;
|
|
2989
2989
|
}, "strip", z.ZodTypeAny, {
|
|
2990
2990
|
message: {
|
|
2991
2991
|
id: string;
|
|
2992
|
-
raw?: string | undefined;
|
|
2993
2992
|
threadId?: string | undefined;
|
|
2994
2993
|
labelIds?: string[] | undefined;
|
|
2995
2994
|
snippet?: string | undefined;
|
|
@@ -2997,25 +2996,25 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2997
2996
|
historyId?: string | undefined;
|
|
2998
2997
|
internalDate?: string | undefined;
|
|
2999
2998
|
sizeEstimate?: number | undefined;
|
|
2999
|
+
raw?: string | undefined;
|
|
3000
3000
|
payload?: {
|
|
3001
3001
|
mimeType?: string | undefined;
|
|
3002
3002
|
headers?: {
|
|
3003
3003
|
value: string;
|
|
3004
3004
|
name: string;
|
|
3005
3005
|
}[] | undefined;
|
|
3006
|
+
parts?: any[] | undefined;
|
|
3006
3007
|
body?: {
|
|
3007
3008
|
data?: string | undefined;
|
|
3008
3009
|
size?: number | undefined;
|
|
3009
3010
|
attachmentId?: string | undefined;
|
|
3010
3011
|
} | undefined;
|
|
3011
|
-
parts?: any[] | undefined;
|
|
3012
3012
|
} | undefined;
|
|
3013
3013
|
};
|
|
3014
3014
|
id: string;
|
|
3015
3015
|
}, {
|
|
3016
3016
|
message: {
|
|
3017
3017
|
id: string;
|
|
3018
|
-
raw?: string | undefined;
|
|
3019
3018
|
threadId?: string | undefined;
|
|
3020
3019
|
labelIds?: string[] | undefined;
|
|
3021
3020
|
snippet?: string | undefined;
|
|
@@ -3023,18 +3022,19 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
3023
3022
|
historyId?: string | undefined;
|
|
3024
3023
|
internalDate?: string | undefined;
|
|
3025
3024
|
sizeEstimate?: number | undefined;
|
|
3025
|
+
raw?: string | undefined;
|
|
3026
3026
|
payload?: {
|
|
3027
3027
|
mimeType?: string | undefined;
|
|
3028
3028
|
headers?: {
|
|
3029
3029
|
value: string;
|
|
3030
3030
|
name: string;
|
|
3031
3031
|
}[] | undefined;
|
|
3032
|
+
parts?: any[] | undefined;
|
|
3032
3033
|
body?: {
|
|
3033
3034
|
data?: string | undefined;
|
|
3034
3035
|
size?: number | undefined;
|
|
3035
3036
|
attachmentId?: string | undefined;
|
|
3036
3037
|
} | undefined;
|
|
3037
|
-
parts?: any[] | undefined;
|
|
3038
3038
|
} | undefined;
|
|
3039
3039
|
};
|
|
3040
3040
|
id: string;
|
|
@@ -3043,15 +3043,14 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
3043
3043
|
result_size_estimate: z.ZodOptional<z.ZodNumber>;
|
|
3044
3044
|
error: z.ZodString;
|
|
3045
3045
|
}, "strip", z.ZodTypeAny, {
|
|
3046
|
-
operation: "list_drafts";
|
|
3047
|
-
success: boolean;
|
|
3048
3046
|
error: string;
|
|
3047
|
+
success: boolean;
|
|
3048
|
+
operation: "list_drafts";
|
|
3049
3049
|
next_page_token?: string | undefined;
|
|
3050
3050
|
result_size_estimate?: number | undefined;
|
|
3051
3051
|
drafts?: {
|
|
3052
3052
|
message: {
|
|
3053
3053
|
id: string;
|
|
3054
|
-
raw?: string | undefined;
|
|
3055
3054
|
threadId?: string | undefined;
|
|
3056
3055
|
labelIds?: string[] | undefined;
|
|
3057
3056
|
snippet?: string | undefined;
|
|
@@ -3059,32 +3058,32 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
3059
3058
|
historyId?: string | undefined;
|
|
3060
3059
|
internalDate?: string | undefined;
|
|
3061
3060
|
sizeEstimate?: number | undefined;
|
|
3061
|
+
raw?: string | undefined;
|
|
3062
3062
|
payload?: {
|
|
3063
3063
|
mimeType?: string | undefined;
|
|
3064
3064
|
headers?: {
|
|
3065
3065
|
value: string;
|
|
3066
3066
|
name: string;
|
|
3067
3067
|
}[] | undefined;
|
|
3068
|
+
parts?: any[] | undefined;
|
|
3068
3069
|
body?: {
|
|
3069
3070
|
data?: string | undefined;
|
|
3070
3071
|
size?: number | undefined;
|
|
3071
3072
|
attachmentId?: string | undefined;
|
|
3072
3073
|
} | undefined;
|
|
3073
|
-
parts?: any[] | undefined;
|
|
3074
3074
|
} | undefined;
|
|
3075
3075
|
};
|
|
3076
3076
|
id: string;
|
|
3077
3077
|
}[] | undefined;
|
|
3078
3078
|
}, {
|
|
3079
|
-
operation: "list_drafts";
|
|
3080
|
-
success: boolean;
|
|
3081
3079
|
error: string;
|
|
3080
|
+
success: boolean;
|
|
3081
|
+
operation: "list_drafts";
|
|
3082
3082
|
next_page_token?: string | undefined;
|
|
3083
3083
|
result_size_estimate?: number | undefined;
|
|
3084
3084
|
drafts?: {
|
|
3085
3085
|
message: {
|
|
3086
3086
|
id: string;
|
|
3087
|
-
raw?: string | undefined;
|
|
3088
3087
|
threadId?: string | undefined;
|
|
3089
3088
|
labelIds?: string[] | undefined;
|
|
3090
3089
|
snippet?: string | undefined;
|
|
@@ -3092,18 +3091,19 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
3092
3091
|
historyId?: string | undefined;
|
|
3093
3092
|
internalDate?: string | undefined;
|
|
3094
3093
|
sizeEstimate?: number | undefined;
|
|
3094
|
+
raw?: string | undefined;
|
|
3095
3095
|
payload?: {
|
|
3096
3096
|
mimeType?: string | undefined;
|
|
3097
3097
|
headers?: {
|
|
3098
3098
|
value: string;
|
|
3099
3099
|
name: string;
|
|
3100
3100
|
}[] | undefined;
|
|
3101
|
+
parts?: any[] | undefined;
|
|
3101
3102
|
body?: {
|
|
3102
3103
|
data?: string | undefined;
|
|
3103
3104
|
size?: number | undefined;
|
|
3104
3105
|
attachmentId?: string | undefined;
|
|
3105
3106
|
} | undefined;
|
|
3106
|
-
parts?: any[] | undefined;
|
|
3107
3107
|
} | undefined;
|
|
3108
3108
|
};
|
|
3109
3109
|
id: string;
|
|
@@ -3114,14 +3114,14 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
3114
3114
|
deleted_message_id: z.ZodOptional<z.ZodString>;
|
|
3115
3115
|
error: z.ZodString;
|
|
3116
3116
|
}, "strip", z.ZodTypeAny, {
|
|
3117
|
-
operation: "delete_email";
|
|
3118
|
-
success: boolean;
|
|
3119
3117
|
error: string;
|
|
3118
|
+
success: boolean;
|
|
3119
|
+
operation: "delete_email";
|
|
3120
3120
|
deleted_message_id?: string | undefined;
|
|
3121
3121
|
}, {
|
|
3122
|
-
operation: "delete_email";
|
|
3123
|
-
success: boolean;
|
|
3124
3122
|
error: string;
|
|
3123
|
+
success: boolean;
|
|
3124
|
+
operation: "delete_email";
|
|
3125
3125
|
deleted_message_id?: string | undefined;
|
|
3126
3126
|
}>, z.ZodObject<{
|
|
3127
3127
|
operation: z.ZodLiteral<"trash_email">;
|
|
@@ -3129,14 +3129,14 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
3129
3129
|
trashed_message_id: z.ZodOptional<z.ZodString>;
|
|
3130
3130
|
error: z.ZodString;
|
|
3131
3131
|
}, "strip", z.ZodTypeAny, {
|
|
3132
|
-
operation: "trash_email";
|
|
3133
|
-
success: boolean;
|
|
3134
3132
|
error: string;
|
|
3133
|
+
success: boolean;
|
|
3134
|
+
operation: "trash_email";
|
|
3135
3135
|
trashed_message_id?: string | undefined;
|
|
3136
3136
|
}, {
|
|
3137
|
-
operation: "trash_email";
|
|
3138
|
-
success: boolean;
|
|
3139
3137
|
error: string;
|
|
3138
|
+
success: boolean;
|
|
3139
|
+
operation: "trash_email";
|
|
3140
3140
|
trashed_message_id?: string | undefined;
|
|
3141
3141
|
}>, z.ZodObject<{
|
|
3142
3142
|
operation: z.ZodLiteral<"list_threads">;
|
|
@@ -3186,28 +3186,27 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
3186
3186
|
value: string;
|
|
3187
3187
|
name: string;
|
|
3188
3188
|
}[] | undefined;
|
|
3189
|
+
parts?: any[] | undefined;
|
|
3189
3190
|
body?: {
|
|
3190
3191
|
data?: string | undefined;
|
|
3191
3192
|
size?: number | undefined;
|
|
3192
3193
|
attachmentId?: string | undefined;
|
|
3193
3194
|
} | undefined;
|
|
3194
|
-
parts?: any[] | undefined;
|
|
3195
3195
|
}, {
|
|
3196
3196
|
mimeType?: string | undefined;
|
|
3197
3197
|
headers?: {
|
|
3198
3198
|
value: string;
|
|
3199
3199
|
name: string;
|
|
3200
3200
|
}[] | undefined;
|
|
3201
|
+
parts?: any[] | undefined;
|
|
3201
3202
|
body?: {
|
|
3202
3203
|
data?: string | undefined;
|
|
3203
3204
|
size?: number | undefined;
|
|
3204
3205
|
attachmentId?: string | undefined;
|
|
3205
3206
|
} | undefined;
|
|
3206
|
-
parts?: any[] | undefined;
|
|
3207
3207
|
}>>;
|
|
3208
3208
|
}, "strip", z.ZodTypeAny, {
|
|
3209
3209
|
id: string;
|
|
3210
|
-
raw?: string | undefined;
|
|
3211
3210
|
threadId?: string | undefined;
|
|
3212
3211
|
labelIds?: string[] | undefined;
|
|
3213
3212
|
snippet?: string | undefined;
|
|
@@ -3215,22 +3214,22 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
3215
3214
|
historyId?: string | undefined;
|
|
3216
3215
|
internalDate?: string | undefined;
|
|
3217
3216
|
sizeEstimate?: number | undefined;
|
|
3217
|
+
raw?: string | undefined;
|
|
3218
3218
|
payload?: {
|
|
3219
3219
|
mimeType?: string | undefined;
|
|
3220
3220
|
headers?: {
|
|
3221
3221
|
value: string;
|
|
3222
3222
|
name: string;
|
|
3223
3223
|
}[] | undefined;
|
|
3224
|
+
parts?: any[] | undefined;
|
|
3224
3225
|
body?: {
|
|
3225
3226
|
data?: string | undefined;
|
|
3226
3227
|
size?: number | undefined;
|
|
3227
3228
|
attachmentId?: string | undefined;
|
|
3228
3229
|
} | undefined;
|
|
3229
|
-
parts?: any[] | undefined;
|
|
3230
3230
|
} | undefined;
|
|
3231
3231
|
}, {
|
|
3232
3232
|
id: string;
|
|
3233
|
-
raw?: string | undefined;
|
|
3234
3233
|
threadId?: string | undefined;
|
|
3235
3234
|
labelIds?: string[] | undefined;
|
|
3236
3235
|
snippet?: string | undefined;
|
|
@@ -3238,28 +3237,26 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
3238
3237
|
historyId?: string | undefined;
|
|
3239
3238
|
internalDate?: string | undefined;
|
|
3240
3239
|
sizeEstimate?: number | undefined;
|
|
3240
|
+
raw?: string | undefined;
|
|
3241
3241
|
payload?: {
|
|
3242
3242
|
mimeType?: string | undefined;
|
|
3243
3243
|
headers?: {
|
|
3244
3244
|
value: string;
|
|
3245
3245
|
name: string;
|
|
3246
3246
|
}[] | undefined;
|
|
3247
|
+
parts?: any[] | undefined;
|
|
3247
3248
|
body?: {
|
|
3248
3249
|
data?: string | undefined;
|
|
3249
3250
|
size?: number | undefined;
|
|
3250
3251
|
attachmentId?: string | undefined;
|
|
3251
3252
|
} | undefined;
|
|
3252
|
-
parts?: any[] | undefined;
|
|
3253
3253
|
} | undefined;
|
|
3254
3254
|
}>, "many">>;
|
|
3255
3255
|
snippet: z.ZodOptional<z.ZodString>;
|
|
3256
3256
|
}, "strip", z.ZodTypeAny, {
|
|
3257
3257
|
id: string;
|
|
3258
|
-
snippet?: string | undefined;
|
|
3259
|
-
historyId?: string | undefined;
|
|
3260
3258
|
messages?: {
|
|
3261
3259
|
id: string;
|
|
3262
|
-
raw?: string | undefined;
|
|
3263
3260
|
threadId?: string | undefined;
|
|
3264
3261
|
labelIds?: string[] | undefined;
|
|
3265
3262
|
snippet?: string | undefined;
|
|
@@ -3267,27 +3264,27 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
3267
3264
|
historyId?: string | undefined;
|
|
3268
3265
|
internalDate?: string | undefined;
|
|
3269
3266
|
sizeEstimate?: number | undefined;
|
|
3267
|
+
raw?: string | undefined;
|
|
3270
3268
|
payload?: {
|
|
3271
3269
|
mimeType?: string | undefined;
|
|
3272
3270
|
headers?: {
|
|
3273
3271
|
value: string;
|
|
3274
3272
|
name: string;
|
|
3275
3273
|
}[] | undefined;
|
|
3274
|
+
parts?: any[] | undefined;
|
|
3276
3275
|
body?: {
|
|
3277
3276
|
data?: string | undefined;
|
|
3278
3277
|
size?: number | undefined;
|
|
3279
3278
|
attachmentId?: string | undefined;
|
|
3280
3279
|
} | undefined;
|
|
3281
|
-
parts?: any[] | undefined;
|
|
3282
3280
|
} | undefined;
|
|
3283
3281
|
}[] | undefined;
|
|
3284
|
-
}, {
|
|
3285
|
-
id: string;
|
|
3286
3282
|
snippet?: string | undefined;
|
|
3287
3283
|
historyId?: string | undefined;
|
|
3284
|
+
}, {
|
|
3285
|
+
id: string;
|
|
3288
3286
|
messages?: {
|
|
3289
3287
|
id: string;
|
|
3290
|
-
raw?: string | undefined;
|
|
3291
3288
|
threadId?: string | undefined;
|
|
3292
3289
|
labelIds?: string[] | undefined;
|
|
3293
3290
|
snippet?: string | undefined;
|
|
@@ -3295,37 +3292,37 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
3295
3292
|
historyId?: string | undefined;
|
|
3296
3293
|
internalDate?: string | undefined;
|
|
3297
3294
|
sizeEstimate?: number | undefined;
|
|
3295
|
+
raw?: string | undefined;
|
|
3298
3296
|
payload?: {
|
|
3299
3297
|
mimeType?: string | undefined;
|
|
3300
3298
|
headers?: {
|
|
3301
3299
|
value: string;
|
|
3302
3300
|
name: string;
|
|
3303
3301
|
}[] | undefined;
|
|
3302
|
+
parts?: any[] | undefined;
|
|
3304
3303
|
body?: {
|
|
3305
3304
|
data?: string | undefined;
|
|
3306
3305
|
size?: number | undefined;
|
|
3307
3306
|
attachmentId?: string | undefined;
|
|
3308
3307
|
} | undefined;
|
|
3309
|
-
parts?: any[] | undefined;
|
|
3310
3308
|
} | undefined;
|
|
3311
3309
|
}[] | undefined;
|
|
3310
|
+
snippet?: string | undefined;
|
|
3311
|
+
historyId?: string | undefined;
|
|
3312
3312
|
}>, "many">>;
|
|
3313
3313
|
next_page_token: z.ZodOptional<z.ZodString>;
|
|
3314
3314
|
result_size_estimate: z.ZodOptional<z.ZodNumber>;
|
|
3315
3315
|
error: z.ZodString;
|
|
3316
3316
|
}, "strip", z.ZodTypeAny, {
|
|
3317
|
-
operation: "list_threads";
|
|
3318
|
-
success: boolean;
|
|
3319
3317
|
error: string;
|
|
3318
|
+
success: boolean;
|
|
3319
|
+
operation: "list_threads";
|
|
3320
3320
|
next_page_token?: string | undefined;
|
|
3321
3321
|
result_size_estimate?: number | undefined;
|
|
3322
3322
|
threads?: {
|
|
3323
3323
|
id: string;
|
|
3324
|
-
snippet?: string | undefined;
|
|
3325
|
-
historyId?: string | undefined;
|
|
3326
3324
|
messages?: {
|
|
3327
3325
|
id: string;
|
|
3328
|
-
raw?: string | undefined;
|
|
3329
3326
|
threadId?: string | undefined;
|
|
3330
3327
|
labelIds?: string[] | undefined;
|
|
3331
3328
|
snippet?: string | undefined;
|
|
@@ -3333,34 +3330,34 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
3333
3330
|
historyId?: string | undefined;
|
|
3334
3331
|
internalDate?: string | undefined;
|
|
3335
3332
|
sizeEstimate?: number | undefined;
|
|
3333
|
+
raw?: string | undefined;
|
|
3336
3334
|
payload?: {
|
|
3337
3335
|
mimeType?: string | undefined;
|
|
3338
3336
|
headers?: {
|
|
3339
3337
|
value: string;
|
|
3340
3338
|
name: string;
|
|
3341
3339
|
}[] | undefined;
|
|
3340
|
+
parts?: any[] | undefined;
|
|
3342
3341
|
body?: {
|
|
3343
3342
|
data?: string | undefined;
|
|
3344
3343
|
size?: number | undefined;
|
|
3345
3344
|
attachmentId?: string | undefined;
|
|
3346
3345
|
} | undefined;
|
|
3347
|
-
parts?: any[] | undefined;
|
|
3348
3346
|
} | undefined;
|
|
3349
3347
|
}[] | undefined;
|
|
3348
|
+
snippet?: string | undefined;
|
|
3349
|
+
historyId?: string | undefined;
|
|
3350
3350
|
}[] | undefined;
|
|
3351
3351
|
}, {
|
|
3352
|
-
operation: "list_threads";
|
|
3353
|
-
success: boolean;
|
|
3354
3352
|
error: string;
|
|
3353
|
+
success: boolean;
|
|
3354
|
+
operation: "list_threads";
|
|
3355
3355
|
next_page_token?: string | undefined;
|
|
3356
3356
|
result_size_estimate?: number | undefined;
|
|
3357
3357
|
threads?: {
|
|
3358
3358
|
id: string;
|
|
3359
|
-
snippet?: string | undefined;
|
|
3360
|
-
historyId?: string | undefined;
|
|
3361
3359
|
messages?: {
|
|
3362
3360
|
id: string;
|
|
3363
|
-
raw?: string | undefined;
|
|
3364
3361
|
threadId?: string | undefined;
|
|
3365
3362
|
labelIds?: string[] | undefined;
|
|
3366
3363
|
snippet?: string | undefined;
|
|
@@ -3368,20 +3365,23 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
3368
3365
|
historyId?: string | undefined;
|
|
3369
3366
|
internalDate?: string | undefined;
|
|
3370
3367
|
sizeEstimate?: number | undefined;
|
|
3368
|
+
raw?: string | undefined;
|
|
3371
3369
|
payload?: {
|
|
3372
3370
|
mimeType?: string | undefined;
|
|
3373
3371
|
headers?: {
|
|
3374
3372
|
value: string;
|
|
3375
3373
|
name: string;
|
|
3376
3374
|
}[] | undefined;
|
|
3375
|
+
parts?: any[] | undefined;
|
|
3377
3376
|
body?: {
|
|
3378
3377
|
data?: string | undefined;
|
|
3379
3378
|
size?: number | undefined;
|
|
3380
3379
|
attachmentId?: string | undefined;
|
|
3381
3380
|
} | undefined;
|
|
3382
|
-
parts?: any[] | undefined;
|
|
3383
3381
|
} | undefined;
|
|
3384
3382
|
}[] | undefined;
|
|
3383
|
+
snippet?: string | undefined;
|
|
3384
|
+
historyId?: string | undefined;
|
|
3385
3385
|
}[] | undefined;
|
|
3386
3386
|
}>, z.ZodObject<{
|
|
3387
3387
|
operation: z.ZodLiteral<"list_labels">;
|
|
@@ -3395,36 +3395,36 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
3395
3395
|
}, "strip", z.ZodTypeAny, {
|
|
3396
3396
|
name: string;
|
|
3397
3397
|
id: string;
|
|
3398
|
-
type?: "
|
|
3398
|
+
type?: "user" | "system" | undefined;
|
|
3399
3399
|
messageListVisibility?: "show" | "hide" | undefined;
|
|
3400
3400
|
labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
|
|
3401
3401
|
}, {
|
|
3402
3402
|
name: string;
|
|
3403
3403
|
id: string;
|
|
3404
|
-
type?: "
|
|
3404
|
+
type?: "user" | "system" | undefined;
|
|
3405
3405
|
messageListVisibility?: "show" | "hide" | undefined;
|
|
3406
3406
|
labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
|
|
3407
3407
|
}>, "many">>;
|
|
3408
3408
|
error: z.ZodString;
|
|
3409
3409
|
}, "strip", z.ZodTypeAny, {
|
|
3410
|
-
operation: "list_labels";
|
|
3411
|
-
success: boolean;
|
|
3412
3410
|
error: string;
|
|
3411
|
+
success: boolean;
|
|
3412
|
+
operation: "list_labels";
|
|
3413
3413
|
labels?: {
|
|
3414
3414
|
name: string;
|
|
3415
3415
|
id: string;
|
|
3416
|
-
type?: "
|
|
3416
|
+
type?: "user" | "system" | undefined;
|
|
3417
3417
|
messageListVisibility?: "show" | "hide" | undefined;
|
|
3418
3418
|
labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
|
|
3419
3419
|
}[] | undefined;
|
|
3420
3420
|
}, {
|
|
3421
|
-
operation: "list_labels";
|
|
3422
|
-
success: boolean;
|
|
3423
3421
|
error: string;
|
|
3422
|
+
success: boolean;
|
|
3423
|
+
operation: "list_labels";
|
|
3424
3424
|
labels?: {
|
|
3425
3425
|
name: string;
|
|
3426
3426
|
id: string;
|
|
3427
|
-
type?: "
|
|
3427
|
+
type?: "user" | "system" | undefined;
|
|
3428
3428
|
messageListVisibility?: "show" | "hide" | undefined;
|
|
3429
3429
|
labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
|
|
3430
3430
|
}[] | undefined;
|
|
@@ -3440,36 +3440,36 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
3440
3440
|
}, "strip", z.ZodTypeAny, {
|
|
3441
3441
|
name: string;
|
|
3442
3442
|
id: string;
|
|
3443
|
-
type?: "
|
|
3443
|
+
type?: "user" | "system" | undefined;
|
|
3444
3444
|
messageListVisibility?: "show" | "hide" | undefined;
|
|
3445
3445
|
labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
|
|
3446
3446
|
}, {
|
|
3447
3447
|
name: string;
|
|
3448
3448
|
id: string;
|
|
3449
|
-
type?: "
|
|
3449
|
+
type?: "user" | "system" | undefined;
|
|
3450
3450
|
messageListVisibility?: "show" | "hide" | undefined;
|
|
3451
3451
|
labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
|
|
3452
3452
|
}>>;
|
|
3453
3453
|
error: z.ZodString;
|
|
3454
3454
|
}, "strip", z.ZodTypeAny, {
|
|
3455
|
-
operation: "create_label";
|
|
3456
|
-
success: boolean;
|
|
3457
3455
|
error: string;
|
|
3456
|
+
success: boolean;
|
|
3457
|
+
operation: "create_label";
|
|
3458
3458
|
label?: {
|
|
3459
3459
|
name: string;
|
|
3460
3460
|
id: string;
|
|
3461
|
-
type?: "
|
|
3461
|
+
type?: "user" | "system" | undefined;
|
|
3462
3462
|
messageListVisibility?: "show" | "hide" | undefined;
|
|
3463
3463
|
labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
|
|
3464
3464
|
} | undefined;
|
|
3465
3465
|
}, {
|
|
3466
|
-
operation: "create_label";
|
|
3467
|
-
success: boolean;
|
|
3468
3466
|
error: string;
|
|
3467
|
+
success: boolean;
|
|
3468
|
+
operation: "create_label";
|
|
3469
3469
|
label?: {
|
|
3470
3470
|
name: string;
|
|
3471
3471
|
id: string;
|
|
3472
|
-
type?: "
|
|
3472
|
+
type?: "user" | "system" | undefined;
|
|
3473
3473
|
messageListVisibility?: "show" | "hide" | undefined;
|
|
3474
3474
|
labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
|
|
3475
3475
|
} | undefined;
|
|
@@ -3480,31 +3480,31 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
3480
3480
|
label_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3481
3481
|
error: z.ZodString;
|
|
3482
3482
|
}, "strip", z.ZodTypeAny, {
|
|
3483
|
-
operation: "modify_message_labels";
|
|
3484
|
-
success: boolean;
|
|
3485
3483
|
error: string;
|
|
3486
|
-
|
|
3484
|
+
success: boolean;
|
|
3485
|
+
operation: "modify_message_labels";
|
|
3487
3486
|
message_id?: string | undefined;
|
|
3487
|
+
label_ids?: string[] | undefined;
|
|
3488
3488
|
}, {
|
|
3489
|
-
operation: "modify_message_labels";
|
|
3490
|
-
success: boolean;
|
|
3491
3489
|
error: string;
|
|
3492
|
-
|
|
3490
|
+
success: boolean;
|
|
3491
|
+
operation: "modify_message_labels";
|
|
3493
3492
|
message_id?: string | undefined;
|
|
3493
|
+
label_ids?: string[] | undefined;
|
|
3494
3494
|
}>, z.ZodObject<{
|
|
3495
3495
|
operation: z.ZodLiteral<"modify_thread_labels">;
|
|
3496
3496
|
success: z.ZodBoolean;
|
|
3497
3497
|
thread_id: z.ZodOptional<z.ZodString>;
|
|
3498
3498
|
error: z.ZodString;
|
|
3499
3499
|
}, "strip", z.ZodTypeAny, {
|
|
3500
|
-
operation: "modify_thread_labels";
|
|
3501
|
-
success: boolean;
|
|
3502
3500
|
error: string;
|
|
3501
|
+
success: boolean;
|
|
3502
|
+
operation: "modify_thread_labels";
|
|
3503
3503
|
thread_id?: string | undefined;
|
|
3504
3504
|
}, {
|
|
3505
|
-
operation: "modify_thread_labels";
|
|
3506
|
-
success: boolean;
|
|
3507
3505
|
error: string;
|
|
3506
|
+
success: boolean;
|
|
3507
|
+
operation: "modify_thread_labels";
|
|
3508
3508
|
thread_id?: string | undefined;
|
|
3509
3509
|
}>]>;
|
|
3510
3510
|
static readonly shortDescription = "Gmail integration for email management";
|