@bubblelab/bubble-core 0.1.141 → 0.1.143
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 +181 -118
- package/dist/bubble-factory.d.ts.map +1 -1
- package/dist/bubble-factory.js +9 -1
- package/dist/bubble-factory.js.map +1 -1
- package/dist/bubble-flow/bubble-flow-class.d.ts +4 -0
- package/dist/bubble-flow/bubble-flow-class.d.ts.map +1 -1
- package/dist/bubble-flow/bubble-flow-class.js +1 -0
- package/dist/bubble-flow/bubble-flow-class.js.map +1 -1
- package/dist/bubbles/service-bubble/agi-inc.d.ts +140 -140
- package/dist/bubbles/service-bubble/ai-agent.d.ts +4 -4
- package/dist/bubbles/service-bubble/ai-agent.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/ai-agent.js +7 -0
- package/dist/bubbles/service-bubble/ai-agent.js.map +1 -1
- package/dist/bubbles/service-bubble/airtable.d.ts +158 -158
- package/dist/bubbles/service-bubble/apify/actors/google-maps-scraper.d.ts +6 -6
- package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-detail.d.ts +806 -0
- package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-detail.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-detail.js +256 -0
- package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-detail.js.map +1 -0
- package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts +813 -6
- package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/apify/apify-scraper.schema.js +8 -0
- package/dist/bubbles/service-bubble/apify/apify-scraper.schema.js.map +1 -1
- package/dist/bubbles/service-bubble/apify/apify.d.ts +13 -13
- package/dist/bubbles/service-bubble/apify/apify.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/apify/apify.js +1 -0
- package/dist/bubbles/service-bubble/apify/apify.js.map +1 -1
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts +64 -64
- package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +6 -6
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +44 -37
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/browserbase/browserbase.js +66 -3
- package/dist/bubbles/service-bubble/browserbase/browserbase.js.map +1 -1
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +59 -16
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.js +19 -0
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.js.map +1 -1
- package/dist/bubbles/service-bubble/confluence/confluence.d.ts +26 -26
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +96 -96
- package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +24 -24
- package/dist/bubbles/service-bubble/eleven-labs.d.ts +24 -24
- package/dist/bubbles/service-bubble/firecrawl.d.ts +244 -244
- package/dist/bubbles/service-bubble/followupboss.d.ts +152 -152
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +44 -44
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.schema.d.ts +62 -62
- package/dist/bubbles/service-bubble/github.d.ts +148 -148
- package/dist/bubbles/service-bubble/gmail.d.ts +556 -556
- package/dist/bubbles/service-bubble/google-calendar.d.ts +34 -34
- package/dist/bubbles/service-bubble/google-drive.d.ts +102 -102
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +30 -30
- package/dist/bubbles/service-bubble/http.d.ts +20 -20
- package/dist/bubbles/service-bubble/jira/jira.d.ts +92 -92
- package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +2 -2
- package/dist/bubbles/service-bubble/notion/notion.d.ts +647 -647
- package/dist/bubbles/service-bubble/resend.d.ts +32 -32
- package/dist/bubbles/service-bubble/slack/slack.d.ts +496 -496
- package/dist/bubbles/service-bubble/slack/slack.js +2 -2
- package/dist/bubbles/service-bubble/slack/slack.js.map +1 -1
- package/dist/bubbles/service-bubble/storage.d.ts +20 -20
- package/dist/bubbles/service-bubble/stripe/stripe.d.ts +87 -87
- package/dist/bubbles/service-bubble/telegram.d.ts +108 -108
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +18 -18
- package/dist/bubbles/tool-bubble/browser-tools/_shared/schema.d.ts +126 -0
- package/dist/bubbles/tool-bubble/browser-tools/_shared/schema.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/_shared/schema.js +34 -0
- package/dist/bubbles/tool-bubble/browser-tools/_shared/schema.js.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/_shared/utils.d.ts +22 -0
- package/dist/bubbles/tool-bubble/browser-tools/_shared/utils.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/_shared/utils.js +57 -0
- package/dist/bubbles/tool-bubble/browser-tools/_shared/utils.js.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/index.d.ts +5 -0
- package/dist/bubbles/tool-bubble/browser-tools/index.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/index.js +5 -0
- package/dist/bubbles/tool-bubble/browser-tools/index.js.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/index.d.ts +3 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/index.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/index.js +3 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/index.js.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/schema.d.ts +158 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/schema.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/schema.js +33 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/schema.js.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/tool.d.ts +161 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/tool.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/tool.js +310 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/tool.js.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/index.d.ts +3 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/index.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/index.js +3 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/index.js.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/schema.d.ts +165 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/schema.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/schema.js +45 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/schema.js.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/tool.d.ts +171 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/tool.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/tool.js +364 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/tool.js.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/index.d.ts +3 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/index.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/index.js +3 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/index.js.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/schema.d.ts +160 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/schema.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/schema.js +24 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/schema.js.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/tool.d.ts +160 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/tool.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/tool.js +334 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/tool.js.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/index.d.ts +3 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/index.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/index.js +3 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/index.js.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/schema.d.ts +152 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/schema.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/schema.js +23 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/schema.js.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/tool.d.ts +155 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/tool.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/tool.js +233 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/tool.js.map +1 -0
- package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +64 -64
- package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +16 -16
- package/dist/bubbles/tool-bubble/instagram-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts +2 -2
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +1634 -196
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts.map +1 -1
- package/dist/bubbles/tool-bubble/linkedin-tool.js +300 -56
- package/dist/bubbles/tool-bubble/linkedin-tool.js.map +1 -1
- package/dist/bubbles/tool-bubble/list-capabilities-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/people-search-tool.d.ts +108 -108
- package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +10 -10
- package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +24 -24
- package/dist/bubbles/tool-bubble/twitter-tool.d.ts +14 -14
- package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/web-search-tool.d.ts +2 -2
- package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +32 -32
- package/dist/bubbles/tool-bubble/youtube-tool.d.ts +14 -14
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +58 -58
- package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +16 -16
- package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +2 -2
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +46 -46
- package/dist/bubbles.json +1148 -75
- package/dist/index.d.ts +4 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -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" | "full" | "raw";
|
|
73
72
|
operation: "get_email";
|
|
73
|
+
format: "minimal" | "metadata" | "raw" | "full";
|
|
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" | "metadata" | "
|
|
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,14 +87,14 @@ 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
|
-
query: string;
|
|
91
90
|
operation: "search_emails";
|
|
91
|
+
query: string;
|
|
92
92
|
max_results: number;
|
|
93
93
|
include_spam_trash: boolean;
|
|
94
94
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
95
95
|
}, {
|
|
96
|
-
query: string;
|
|
97
96
|
operation: "search_emails";
|
|
97
|
+
query: string;
|
|
98
98
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
99
99
|
max_results?: number | undefined;
|
|
100
100
|
include_spam_trash?: boolean | undefined;
|
|
@@ -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
|
-
name: string;
|
|
258
257
|
operation: "create_label";
|
|
258
|
+
name: string;
|
|
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
|
-
name: string;
|
|
266
265
|
operation: "create_label";
|
|
266
|
+
name: string;
|
|
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,15 +313,15 @@ 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";
|
|
316
317
|
error: string;
|
|
317
318
|
success: boolean;
|
|
318
|
-
operation: "send_email";
|
|
319
319
|
message_id?: string | undefined;
|
|
320
320
|
thread_id?: string | undefined;
|
|
321
321
|
}, {
|
|
322
|
+
operation: "send_email";
|
|
322
323
|
error: string;
|
|
323
324
|
success: boolean;
|
|
324
|
-
operation: "send_email";
|
|
325
325
|
message_id?: string | undefined;
|
|
326
326
|
thread_id?: string | undefined;
|
|
327
327
|
}>, z.ZodObject<{
|
|
@@ -354,43 +354,42 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
354
354
|
size: z.ZodOptional<z.ZodNumber>;
|
|
355
355
|
attachmentId: z.ZodOptional<z.ZodString>;
|
|
356
356
|
}, "strip", z.ZodTypeAny, {
|
|
357
|
-
data?: string | undefined;
|
|
358
357
|
size?: number | undefined;
|
|
358
|
+
data?: string | undefined;
|
|
359
359
|
attachmentId?: string | undefined;
|
|
360
360
|
}, {
|
|
361
|
-
data?: string | undefined;
|
|
362
361
|
size?: number | undefined;
|
|
362
|
+
data?: string | undefined;
|
|
363
363
|
attachmentId?: string | undefined;
|
|
364
364
|
}>>;
|
|
365
365
|
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
366
366
|
}, "strip", z.ZodTypeAny, {
|
|
367
|
+
body?: {
|
|
368
|
+
size?: number | undefined;
|
|
369
|
+
data?: string | undefined;
|
|
370
|
+
attachmentId?: string | undefined;
|
|
371
|
+
} | undefined;
|
|
367
372
|
mimeType?: string | undefined;
|
|
368
373
|
headers?: {
|
|
369
374
|
value: string;
|
|
370
375
|
name: string;
|
|
371
376
|
}[] | undefined;
|
|
377
|
+
parts?: any[] | undefined;
|
|
378
|
+
}, {
|
|
372
379
|
body?: {
|
|
373
|
-
data?: string | undefined;
|
|
374
380
|
size?: number | undefined;
|
|
381
|
+
data?: string | undefined;
|
|
375
382
|
attachmentId?: string | undefined;
|
|
376
383
|
} | undefined;
|
|
377
|
-
parts?: any[] | undefined;
|
|
378
|
-
}, {
|
|
379
384
|
mimeType?: string | undefined;
|
|
380
385
|
headers?: {
|
|
381
386
|
value: string;
|
|
382
387
|
name: string;
|
|
383
388
|
}[] | undefined;
|
|
384
|
-
body?: {
|
|
385
|
-
data?: string | undefined;
|
|
386
|
-
size?: number | undefined;
|
|
387
|
-
attachmentId?: string | undefined;
|
|
388
|
-
} | undefined;
|
|
389
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
|
+
body?: {
|
|
403
|
+
size?: number | undefined;
|
|
404
|
+
data?: string | undefined;
|
|
405
|
+
attachmentId?: string | undefined;
|
|
406
|
+
} | undefined;
|
|
402
407
|
mimeType?: string | undefined;
|
|
403
408
|
headers?: {
|
|
404
409
|
value: string;
|
|
405
410
|
name: string;
|
|
406
411
|
}[] | undefined;
|
|
407
|
-
body?: {
|
|
408
|
-
data?: string | undefined;
|
|
409
|
-
size?: number | undefined;
|
|
410
|
-
attachmentId?: string | undefined;
|
|
411
|
-
} | undefined;
|
|
412
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,17 +420,18 @@ 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
|
+
body?: {
|
|
426
|
+
size?: number | undefined;
|
|
427
|
+
data?: string | undefined;
|
|
428
|
+
attachmentId?: string | undefined;
|
|
429
|
+
} | undefined;
|
|
425
430
|
mimeType?: string | undefined;
|
|
426
431
|
headers?: {
|
|
427
432
|
value: string;
|
|
428
433
|
name: string;
|
|
429
434
|
}[] | undefined;
|
|
430
|
-
body?: {
|
|
431
|
-
data?: string | undefined;
|
|
432
|
-
size?: number | undefined;
|
|
433
|
-
attachmentId?: string | undefined;
|
|
434
|
-
} | undefined;
|
|
435
435
|
parts?: any[] | undefined;
|
|
436
436
|
} | undefined;
|
|
437
437
|
}>, "many">>;
|
|
@@ -439,12 +439,11 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
439
439
|
result_size_estimate: z.ZodOptional<z.ZodNumber>;
|
|
440
440
|
error: z.ZodString;
|
|
441
441
|
}, "strip", z.ZodTypeAny, {
|
|
442
|
+
operation: "list_emails";
|
|
442
443
|
error: string;
|
|
443
444
|
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
|
+
body?: {
|
|
457
|
+
size?: number | undefined;
|
|
458
|
+
data?: string | undefined;
|
|
459
|
+
attachmentId?: string | undefined;
|
|
460
|
+
} | undefined;
|
|
456
461
|
mimeType?: string | undefined;
|
|
457
462
|
headers?: {
|
|
458
463
|
value: string;
|
|
459
464
|
name: string;
|
|
460
465
|
}[] | undefined;
|
|
461
|
-
body?: {
|
|
462
|
-
data?: string | undefined;
|
|
463
|
-
size?: number | undefined;
|
|
464
|
-
attachmentId?: string | undefined;
|
|
465
|
-
} | undefined;
|
|
466
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";
|
|
472
473
|
error: string;
|
|
473
474
|
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,17 +481,18 @@ 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
|
+
body?: {
|
|
487
|
+
size?: number | undefined;
|
|
488
|
+
data?: string | undefined;
|
|
489
|
+
attachmentId?: string | undefined;
|
|
490
|
+
} | undefined;
|
|
486
491
|
mimeType?: string | undefined;
|
|
487
492
|
headers?: {
|
|
488
493
|
value: string;
|
|
489
494
|
name: string;
|
|
490
495
|
}[] | undefined;
|
|
491
|
-
body?: {
|
|
492
|
-
data?: string | undefined;
|
|
493
|
-
size?: number | undefined;
|
|
494
|
-
attachmentId?: string | undefined;
|
|
495
|
-
} | undefined;
|
|
496
496
|
parts?: any[] | undefined;
|
|
497
497
|
} | undefined;
|
|
498
498
|
}[] | undefined;
|
|
@@ -528,43 +528,42 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
528
528
|
size: z.ZodOptional<z.ZodNumber>;
|
|
529
529
|
attachmentId: z.ZodOptional<z.ZodString>;
|
|
530
530
|
}, "strip", z.ZodTypeAny, {
|
|
531
|
-
data?: string | undefined;
|
|
532
531
|
size?: number | undefined;
|
|
532
|
+
data?: string | undefined;
|
|
533
533
|
attachmentId?: string | undefined;
|
|
534
534
|
}, {
|
|
535
|
-
data?: string | undefined;
|
|
536
535
|
size?: number | undefined;
|
|
536
|
+
data?: string | undefined;
|
|
537
537
|
attachmentId?: string | undefined;
|
|
538
538
|
}>>;
|
|
539
539
|
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
540
540
|
}, "strip", z.ZodTypeAny, {
|
|
541
|
+
body?: {
|
|
542
|
+
size?: number | undefined;
|
|
543
|
+
data?: string | undefined;
|
|
544
|
+
attachmentId?: string | undefined;
|
|
545
|
+
} | undefined;
|
|
541
546
|
mimeType?: string | undefined;
|
|
542
547
|
headers?: {
|
|
543
548
|
value: string;
|
|
544
549
|
name: string;
|
|
545
550
|
}[] | undefined;
|
|
551
|
+
parts?: any[] | undefined;
|
|
552
|
+
}, {
|
|
546
553
|
body?: {
|
|
547
|
-
data?: string | undefined;
|
|
548
554
|
size?: number | undefined;
|
|
555
|
+
data?: string | undefined;
|
|
549
556
|
attachmentId?: string | undefined;
|
|
550
557
|
} | undefined;
|
|
551
|
-
parts?: any[] | undefined;
|
|
552
|
-
}, {
|
|
553
558
|
mimeType?: string | undefined;
|
|
554
559
|
headers?: {
|
|
555
560
|
value: string;
|
|
556
561
|
name: string;
|
|
557
562
|
}[] | undefined;
|
|
558
|
-
body?: {
|
|
559
|
-
data?: string | undefined;
|
|
560
|
-
size?: number | undefined;
|
|
561
|
-
attachmentId?: string | undefined;
|
|
562
|
-
} | undefined;
|
|
563
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
|
+
body?: {
|
|
577
|
+
size?: number | undefined;
|
|
578
|
+
data?: string | undefined;
|
|
579
|
+
attachmentId?: string | undefined;
|
|
580
|
+
} | undefined;
|
|
576
581
|
mimeType?: string | undefined;
|
|
577
582
|
headers?: {
|
|
578
583
|
value: string;
|
|
579
584
|
name: string;
|
|
580
585
|
}[] | undefined;
|
|
581
|
-
body?: {
|
|
582
|
-
data?: string | undefined;
|
|
583
|
-
size?: number | undefined;
|
|
584
|
-
attachmentId?: string | undefined;
|
|
585
|
-
} | undefined;
|
|
586
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
|
+
body?: {
|
|
600
|
+
size?: number | undefined;
|
|
601
|
+
data?: string | undefined;
|
|
602
|
+
attachmentId?: string | undefined;
|
|
603
|
+
} | undefined;
|
|
599
604
|
mimeType?: string | undefined;
|
|
600
605
|
headers?: {
|
|
601
606
|
value: string;
|
|
602
607
|
name: string;
|
|
603
608
|
}[] | undefined;
|
|
604
|
-
body?: {
|
|
605
|
-
data?: string | undefined;
|
|
606
|
-
size?: number | undefined;
|
|
607
|
-
attachmentId?: string | undefined;
|
|
608
|
-
} | undefined;
|
|
609
609
|
parts?: any[] | undefined;
|
|
610
610
|
} | undefined;
|
|
611
611
|
}>>;
|
|
612
612
|
error: z.ZodString;
|
|
613
613
|
}, "strip", z.ZodTypeAny, {
|
|
614
|
+
operation: "get_email";
|
|
614
615
|
error: string;
|
|
615
616
|
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
|
+
body?: {
|
|
629
|
+
size?: number | undefined;
|
|
630
|
+
data?: string | undefined;
|
|
631
|
+
attachmentId?: string | undefined;
|
|
632
|
+
} | undefined;
|
|
628
633
|
mimeType?: string | undefined;
|
|
629
634
|
headers?: {
|
|
630
635
|
value: string;
|
|
631
636
|
name: string;
|
|
632
637
|
}[] | undefined;
|
|
633
|
-
body?: {
|
|
634
|
-
data?: string | undefined;
|
|
635
|
-
size?: number | undefined;
|
|
636
|
-
attachmentId?: string | undefined;
|
|
637
|
-
} | undefined;
|
|
638
638
|
parts?: any[] | undefined;
|
|
639
639
|
} | undefined;
|
|
640
640
|
} | undefined;
|
|
641
641
|
}, {
|
|
642
|
+
operation: "get_email";
|
|
642
643
|
error: string;
|
|
643
644
|
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,17 +651,18 @@ 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
|
+
body?: {
|
|
657
|
+
size?: number | undefined;
|
|
658
|
+
data?: string | undefined;
|
|
659
|
+
attachmentId?: string | undefined;
|
|
660
|
+
} | undefined;
|
|
656
661
|
mimeType?: string | undefined;
|
|
657
662
|
headers?: {
|
|
658
663
|
value: string;
|
|
659
664
|
name: string;
|
|
660
665
|
}[] | undefined;
|
|
661
|
-
body?: {
|
|
662
|
-
data?: string | undefined;
|
|
663
|
-
size?: number | undefined;
|
|
664
|
-
attachmentId?: string | undefined;
|
|
665
|
-
} | undefined;
|
|
666
666
|
parts?: any[] | undefined;
|
|
667
667
|
} | undefined;
|
|
668
668
|
} | undefined;
|
|
@@ -696,43 +696,42 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
696
696
|
size: z.ZodOptional<z.ZodNumber>;
|
|
697
697
|
attachmentId: z.ZodOptional<z.ZodString>;
|
|
698
698
|
}, "strip", z.ZodTypeAny, {
|
|
699
|
-
data?: string | undefined;
|
|
700
699
|
size?: number | undefined;
|
|
700
|
+
data?: string | undefined;
|
|
701
701
|
attachmentId?: string | undefined;
|
|
702
702
|
}, {
|
|
703
|
-
data?: string | undefined;
|
|
704
703
|
size?: number | undefined;
|
|
704
|
+
data?: string | undefined;
|
|
705
705
|
attachmentId?: string | undefined;
|
|
706
706
|
}>>;
|
|
707
707
|
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
708
708
|
}, "strip", z.ZodTypeAny, {
|
|
709
|
+
body?: {
|
|
710
|
+
size?: number | undefined;
|
|
711
|
+
data?: string | undefined;
|
|
712
|
+
attachmentId?: string | undefined;
|
|
713
|
+
} | undefined;
|
|
709
714
|
mimeType?: string | undefined;
|
|
710
715
|
headers?: {
|
|
711
716
|
value: string;
|
|
712
717
|
name: string;
|
|
713
718
|
}[] | undefined;
|
|
719
|
+
parts?: any[] | undefined;
|
|
720
|
+
}, {
|
|
714
721
|
body?: {
|
|
715
|
-
data?: string | undefined;
|
|
716
722
|
size?: number | undefined;
|
|
723
|
+
data?: string | undefined;
|
|
717
724
|
attachmentId?: string | undefined;
|
|
718
725
|
} | undefined;
|
|
719
|
-
parts?: any[] | undefined;
|
|
720
|
-
}, {
|
|
721
726
|
mimeType?: string | undefined;
|
|
722
727
|
headers?: {
|
|
723
728
|
value: string;
|
|
724
729
|
name: string;
|
|
725
730
|
}[] | undefined;
|
|
726
|
-
body?: {
|
|
727
|
-
data?: string | undefined;
|
|
728
|
-
size?: number | undefined;
|
|
729
|
-
attachmentId?: string | undefined;
|
|
730
|
-
} | undefined;
|
|
731
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
|
+
body?: {
|
|
745
|
+
size?: number | undefined;
|
|
746
|
+
data?: string | undefined;
|
|
747
|
+
attachmentId?: string | undefined;
|
|
748
|
+
} | undefined;
|
|
744
749
|
mimeType?: string | undefined;
|
|
745
750
|
headers?: {
|
|
746
751
|
value: string;
|
|
747
752
|
name: string;
|
|
748
753
|
}[] | undefined;
|
|
749
|
-
body?: {
|
|
750
|
-
data?: string | undefined;
|
|
751
|
-
size?: number | undefined;
|
|
752
|
-
attachmentId?: string | undefined;
|
|
753
|
-
} | undefined;
|
|
754
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
|
+
body?: {
|
|
768
|
+
size?: number | undefined;
|
|
769
|
+
data?: string | undefined;
|
|
770
|
+
attachmentId?: string | undefined;
|
|
771
|
+
} | undefined;
|
|
767
772
|
mimeType?: string | undefined;
|
|
768
773
|
headers?: {
|
|
769
774
|
value: string;
|
|
770
775
|
name: string;
|
|
771
776
|
}[] | undefined;
|
|
772
|
-
body?: {
|
|
773
|
-
data?: string | undefined;
|
|
774
|
-
size?: number | undefined;
|
|
775
|
-
attachmentId?: string | undefined;
|
|
776
|
-
} | undefined;
|
|
777
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";
|
|
783
784
|
error: string;
|
|
784
785
|
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
|
+
body?: {
|
|
798
|
+
size?: number | undefined;
|
|
799
|
+
data?: string | undefined;
|
|
800
|
+
attachmentId?: string | undefined;
|
|
801
|
+
} | undefined;
|
|
797
802
|
mimeType?: string | undefined;
|
|
798
803
|
headers?: {
|
|
799
804
|
value: string;
|
|
800
805
|
name: string;
|
|
801
806
|
}[] | undefined;
|
|
802
|
-
body?: {
|
|
803
|
-
data?: string | undefined;
|
|
804
|
-
size?: number | undefined;
|
|
805
|
-
attachmentId?: string | undefined;
|
|
806
|
-
} | undefined;
|
|
807
807
|
parts?: any[] | undefined;
|
|
808
808
|
} | undefined;
|
|
809
809
|
}[] | undefined;
|
|
810
810
|
result_size_estimate?: number | undefined;
|
|
811
811
|
}, {
|
|
812
|
+
operation: "search_emails";
|
|
812
813
|
error: string;
|
|
813
814
|
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,17 +821,18 @@ 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
|
+
body?: {
|
|
827
|
+
size?: number | undefined;
|
|
828
|
+
data?: string | undefined;
|
|
829
|
+
attachmentId?: string | undefined;
|
|
830
|
+
} | undefined;
|
|
826
831
|
mimeType?: string | undefined;
|
|
827
832
|
headers?: {
|
|
828
833
|
value: string;
|
|
829
834
|
name: string;
|
|
830
835
|
}[] | undefined;
|
|
831
|
-
body?: {
|
|
832
|
-
data?: string | undefined;
|
|
833
|
-
size?: number | undefined;
|
|
834
|
-
attachmentId?: string | undefined;
|
|
835
|
-
} | undefined;
|
|
836
836
|
parts?: any[] | undefined;
|
|
837
837
|
} | undefined;
|
|
838
838
|
}[] | 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";
|
|
846
847
|
error: string;
|
|
847
848
|
success: boolean;
|
|
848
|
-
operation: "mark_as_read";
|
|
849
849
|
modified_messages?: string[] | undefined;
|
|
850
850
|
}, {
|
|
851
|
+
operation: "mark_as_read";
|
|
851
852
|
error: string;
|
|
852
853
|
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";
|
|
861
862
|
error: string;
|
|
862
863
|
success: boolean;
|
|
863
|
-
operation: "mark_as_unread";
|
|
864
864
|
modified_messages?: string[] | undefined;
|
|
865
865
|
}, {
|
|
866
|
+
operation: "mark_as_unread";
|
|
866
867
|
error: string;
|
|
867
868
|
success: boolean;
|
|
868
|
-
operation: "mark_as_unread";
|
|
869
869
|
modified_messages?: string[] | undefined;
|
|
870
870
|
}>, z.ZodObject<{
|
|
871
871
|
operation: z.ZodLiteral<"create_draft">;
|
|
@@ -899,43 +899,42 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
899
899
|
size: z.ZodOptional<z.ZodNumber>;
|
|
900
900
|
attachmentId: z.ZodOptional<z.ZodString>;
|
|
901
901
|
}, "strip", z.ZodTypeAny, {
|
|
902
|
-
data?: string | undefined;
|
|
903
902
|
size?: number | undefined;
|
|
903
|
+
data?: string | undefined;
|
|
904
904
|
attachmentId?: string | undefined;
|
|
905
905
|
}, {
|
|
906
|
-
data?: string | undefined;
|
|
907
906
|
size?: number | undefined;
|
|
907
|
+
data?: string | undefined;
|
|
908
908
|
attachmentId?: string | undefined;
|
|
909
909
|
}>>;
|
|
910
910
|
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
911
911
|
}, "strip", z.ZodTypeAny, {
|
|
912
|
+
body?: {
|
|
913
|
+
size?: number | undefined;
|
|
914
|
+
data?: string | undefined;
|
|
915
|
+
attachmentId?: string | undefined;
|
|
916
|
+
} | undefined;
|
|
912
917
|
mimeType?: string | undefined;
|
|
913
918
|
headers?: {
|
|
914
919
|
value: string;
|
|
915
920
|
name: string;
|
|
916
921
|
}[] | undefined;
|
|
922
|
+
parts?: any[] | undefined;
|
|
923
|
+
}, {
|
|
917
924
|
body?: {
|
|
918
|
-
data?: string | undefined;
|
|
919
925
|
size?: number | undefined;
|
|
926
|
+
data?: string | undefined;
|
|
920
927
|
attachmentId?: string | undefined;
|
|
921
928
|
} | undefined;
|
|
922
|
-
parts?: any[] | undefined;
|
|
923
|
-
}, {
|
|
924
929
|
mimeType?: string | undefined;
|
|
925
930
|
headers?: {
|
|
926
931
|
value: string;
|
|
927
932
|
name: string;
|
|
928
933
|
}[] | undefined;
|
|
929
|
-
body?: {
|
|
930
|
-
data?: string | undefined;
|
|
931
|
-
size?: number | undefined;
|
|
932
|
-
attachmentId?: string | undefined;
|
|
933
|
-
} | undefined;
|
|
934
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
|
+
body?: {
|
|
948
|
+
size?: number | undefined;
|
|
949
|
+
data?: string | undefined;
|
|
950
|
+
attachmentId?: string | undefined;
|
|
951
|
+
} | undefined;
|
|
947
952
|
mimeType?: string | undefined;
|
|
948
953
|
headers?: {
|
|
949
954
|
value: string;
|
|
950
955
|
name: string;
|
|
951
956
|
}[] | undefined;
|
|
952
|
-
body?: {
|
|
953
|
-
data?: string | undefined;
|
|
954
|
-
size?: number | undefined;
|
|
955
|
-
attachmentId?: string | undefined;
|
|
956
|
-
} | undefined;
|
|
957
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
|
+
body?: {
|
|
971
|
+
size?: number | undefined;
|
|
972
|
+
data?: string | undefined;
|
|
973
|
+
attachmentId?: string | undefined;
|
|
974
|
+
} | undefined;
|
|
970
975
|
mimeType?: string | undefined;
|
|
971
976
|
headers?: {
|
|
972
977
|
value: string;
|
|
973
978
|
name: string;
|
|
974
979
|
}[] | undefined;
|
|
975
|
-
body?: {
|
|
976
|
-
data?: string | undefined;
|
|
977
|
-
size?: number | undefined;
|
|
978
|
-
attachmentId?: string | undefined;
|
|
979
|
-
} | undefined;
|
|
980
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,17 +990,18 @@ 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
|
+
body?: {
|
|
996
|
+
size?: number | undefined;
|
|
997
|
+
data?: string | undefined;
|
|
998
|
+
attachmentId?: string | undefined;
|
|
999
|
+
} | undefined;
|
|
995
1000
|
mimeType?: string | undefined;
|
|
996
1001
|
headers?: {
|
|
997
1002
|
value: string;
|
|
998
1003
|
name: string;
|
|
999
1004
|
}[] | undefined;
|
|
1000
|
-
body?: {
|
|
1001
|
-
data?: string | undefined;
|
|
1002
|
-
size?: number | undefined;
|
|
1003
|
-
attachmentId?: string | undefined;
|
|
1004
|
-
} | undefined;
|
|
1005
1005
|
parts?: any[] | undefined;
|
|
1006
1006
|
} | undefined;
|
|
1007
1007
|
};
|
|
@@ -1009,7 +1009,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
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,17 +1016,18 @@ 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
|
+
body?: {
|
|
1022
|
+
size?: number | undefined;
|
|
1023
|
+
data?: string | undefined;
|
|
1024
|
+
attachmentId?: string | undefined;
|
|
1025
|
+
} | undefined;
|
|
1021
1026
|
mimeType?: string | undefined;
|
|
1022
1027
|
headers?: {
|
|
1023
1028
|
value: string;
|
|
1024
1029
|
name: string;
|
|
1025
1030
|
}[] | undefined;
|
|
1026
|
-
body?: {
|
|
1027
|
-
data?: string | undefined;
|
|
1028
|
-
size?: number | undefined;
|
|
1029
|
-
attachmentId?: string | undefined;
|
|
1030
|
-
} | undefined;
|
|
1031
1031
|
parts?: any[] | undefined;
|
|
1032
1032
|
} | undefined;
|
|
1033
1033
|
};
|
|
@@ -1035,13 +1035,12 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1035
1035
|
}>>;
|
|
1036
1036
|
error: z.ZodString;
|
|
1037
1037
|
}, "strip", z.ZodTypeAny, {
|
|
1038
|
+
operation: "create_draft";
|
|
1038
1039
|
error: string;
|
|
1039
1040
|
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
|
+
body?: {
|
|
1054
|
+
size?: number | undefined;
|
|
1055
|
+
data?: string | undefined;
|
|
1056
|
+
attachmentId?: string | undefined;
|
|
1057
|
+
} | undefined;
|
|
1053
1058
|
mimeType?: string | undefined;
|
|
1054
1059
|
headers?: {
|
|
1055
1060
|
value: string;
|
|
1056
1061
|
name: string;
|
|
1057
1062
|
}[] | undefined;
|
|
1058
|
-
body?: {
|
|
1059
|
-
data?: string | undefined;
|
|
1060
|
-
size?: number | undefined;
|
|
1061
|
-
attachmentId?: string | undefined;
|
|
1062
|
-
} | undefined;
|
|
1063
1063
|
parts?: any[] | undefined;
|
|
1064
1064
|
} | undefined;
|
|
1065
1065
|
};
|
|
1066
1066
|
id: string;
|
|
1067
1067
|
} | undefined;
|
|
1068
1068
|
}, {
|
|
1069
|
+
operation: "create_draft";
|
|
1069
1070
|
error: string;
|
|
1070
1071
|
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,17 +1079,18 @@ 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
|
+
body?: {
|
|
1085
|
+
size?: number | undefined;
|
|
1086
|
+
data?: string | undefined;
|
|
1087
|
+
attachmentId?: string | undefined;
|
|
1088
|
+
} | undefined;
|
|
1084
1089
|
mimeType?: string | undefined;
|
|
1085
1090
|
headers?: {
|
|
1086
1091
|
value: string;
|
|
1087
1092
|
name: string;
|
|
1088
1093
|
}[] | undefined;
|
|
1089
|
-
body?: {
|
|
1090
|
-
data?: string | undefined;
|
|
1091
|
-
size?: number | undefined;
|
|
1092
|
-
attachmentId?: string | undefined;
|
|
1093
|
-
} | undefined;
|
|
1094
1094
|
parts?: any[] | undefined;
|
|
1095
1095
|
} | undefined;
|
|
1096
1096
|
};
|
|
@@ -1103,15 +1103,15 @@ 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";
|
|
1106
1107
|
error: string;
|
|
1107
1108
|
success: boolean;
|
|
1108
|
-
operation: "send_draft";
|
|
1109
1109
|
message_id?: string | undefined;
|
|
1110
1110
|
thread_id?: string | undefined;
|
|
1111
1111
|
}, {
|
|
1112
|
+
operation: "send_draft";
|
|
1112
1113
|
error: string;
|
|
1113
1114
|
success: boolean;
|
|
1114
|
-
operation: "send_draft";
|
|
1115
1115
|
message_id?: string | undefined;
|
|
1116
1116
|
thread_id?: string | undefined;
|
|
1117
1117
|
}>, z.ZodObject<{
|
|
@@ -1146,43 +1146,42 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1146
1146
|
size: z.ZodOptional<z.ZodNumber>;
|
|
1147
1147
|
attachmentId: z.ZodOptional<z.ZodString>;
|
|
1148
1148
|
}, "strip", z.ZodTypeAny, {
|
|
1149
|
-
data?: string | undefined;
|
|
1150
1149
|
size?: number | undefined;
|
|
1150
|
+
data?: string | undefined;
|
|
1151
1151
|
attachmentId?: string | undefined;
|
|
1152
1152
|
}, {
|
|
1153
|
-
data?: string | undefined;
|
|
1154
1153
|
size?: number | undefined;
|
|
1154
|
+
data?: string | undefined;
|
|
1155
1155
|
attachmentId?: string | undefined;
|
|
1156
1156
|
}>>;
|
|
1157
1157
|
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
1158
1158
|
}, "strip", z.ZodTypeAny, {
|
|
1159
|
+
body?: {
|
|
1160
|
+
size?: number | undefined;
|
|
1161
|
+
data?: string | undefined;
|
|
1162
|
+
attachmentId?: string | undefined;
|
|
1163
|
+
} | undefined;
|
|
1159
1164
|
mimeType?: string | undefined;
|
|
1160
1165
|
headers?: {
|
|
1161
1166
|
value: string;
|
|
1162
1167
|
name: string;
|
|
1163
1168
|
}[] | undefined;
|
|
1169
|
+
parts?: any[] | undefined;
|
|
1170
|
+
}, {
|
|
1164
1171
|
body?: {
|
|
1165
|
-
data?: string | undefined;
|
|
1166
1172
|
size?: number | undefined;
|
|
1173
|
+
data?: string | undefined;
|
|
1167
1174
|
attachmentId?: string | undefined;
|
|
1168
1175
|
} | undefined;
|
|
1169
|
-
parts?: any[] | undefined;
|
|
1170
|
-
}, {
|
|
1171
1176
|
mimeType?: string | undefined;
|
|
1172
1177
|
headers?: {
|
|
1173
1178
|
value: string;
|
|
1174
1179
|
name: string;
|
|
1175
1180
|
}[] | undefined;
|
|
1176
|
-
body?: {
|
|
1177
|
-
data?: string | undefined;
|
|
1178
|
-
size?: number | undefined;
|
|
1179
|
-
attachmentId?: string | undefined;
|
|
1180
|
-
} | undefined;
|
|
1181
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
|
+
body?: {
|
|
1195
|
+
size?: number | undefined;
|
|
1196
|
+
data?: string | undefined;
|
|
1197
|
+
attachmentId?: string | undefined;
|
|
1198
|
+
} | undefined;
|
|
1194
1199
|
mimeType?: string | undefined;
|
|
1195
1200
|
headers?: {
|
|
1196
1201
|
value: string;
|
|
1197
1202
|
name: string;
|
|
1198
1203
|
}[] | undefined;
|
|
1199
|
-
body?: {
|
|
1200
|
-
data?: string | undefined;
|
|
1201
|
-
size?: number | undefined;
|
|
1202
|
-
attachmentId?: string | undefined;
|
|
1203
|
-
} | undefined;
|
|
1204
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
|
+
body?: {
|
|
1218
|
+
size?: number | undefined;
|
|
1219
|
+
data?: string | undefined;
|
|
1220
|
+
attachmentId?: string | undefined;
|
|
1221
|
+
} | undefined;
|
|
1217
1222
|
mimeType?: string | undefined;
|
|
1218
1223
|
headers?: {
|
|
1219
1224
|
value: string;
|
|
1220
1225
|
name: string;
|
|
1221
1226
|
}[] | undefined;
|
|
1222
|
-
body?: {
|
|
1223
|
-
data?: string | undefined;
|
|
1224
|
-
size?: number | undefined;
|
|
1225
|
-
attachmentId?: string | undefined;
|
|
1226
|
-
} | undefined;
|
|
1227
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,17 +1237,18 @@ 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
|
+
body?: {
|
|
1243
|
+
size?: number | undefined;
|
|
1244
|
+
data?: string | undefined;
|
|
1245
|
+
attachmentId?: string | undefined;
|
|
1246
|
+
} | undefined;
|
|
1242
1247
|
mimeType?: string | undefined;
|
|
1243
1248
|
headers?: {
|
|
1244
1249
|
value: string;
|
|
1245
1250
|
name: string;
|
|
1246
1251
|
}[] | undefined;
|
|
1247
|
-
body?: {
|
|
1248
|
-
data?: string | undefined;
|
|
1249
|
-
size?: number | undefined;
|
|
1250
|
-
attachmentId?: string | undefined;
|
|
1251
|
-
} | undefined;
|
|
1252
1252
|
parts?: any[] | undefined;
|
|
1253
1253
|
} | undefined;
|
|
1254
1254
|
};
|
|
@@ -1256,7 +1256,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
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,17 +1263,18 @@ 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
|
+
body?: {
|
|
1269
|
+
size?: number | undefined;
|
|
1270
|
+
data?: string | undefined;
|
|
1271
|
+
attachmentId?: string | undefined;
|
|
1272
|
+
} | undefined;
|
|
1268
1273
|
mimeType?: string | undefined;
|
|
1269
1274
|
headers?: {
|
|
1270
1275
|
value: string;
|
|
1271
1276
|
name: string;
|
|
1272
1277
|
}[] | undefined;
|
|
1273
|
-
body?: {
|
|
1274
|
-
data?: string | undefined;
|
|
1275
|
-
size?: number | undefined;
|
|
1276
|
-
attachmentId?: string | undefined;
|
|
1277
|
-
} | undefined;
|
|
1278
1278
|
parts?: any[] | undefined;
|
|
1279
1279
|
} | undefined;
|
|
1280
1280
|
};
|
|
@@ -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";
|
|
1287
1288
|
error: string;
|
|
1288
1289
|
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
|
+
body?: {
|
|
1305
|
+
size?: number | undefined;
|
|
1306
|
+
data?: string | undefined;
|
|
1307
|
+
attachmentId?: string | undefined;
|
|
1308
|
+
} | undefined;
|
|
1304
1309
|
mimeType?: string | undefined;
|
|
1305
1310
|
headers?: {
|
|
1306
1311
|
value: string;
|
|
1307
1312
|
name: string;
|
|
1308
1313
|
}[] | undefined;
|
|
1309
|
-
body?: {
|
|
1310
|
-
data?: string | undefined;
|
|
1311
|
-
size?: number | undefined;
|
|
1312
|
-
attachmentId?: string | undefined;
|
|
1313
|
-
} | undefined;
|
|
1314
1314
|
parts?: any[] | undefined;
|
|
1315
1315
|
} | undefined;
|
|
1316
1316
|
};
|
|
1317
1317
|
id: string;
|
|
1318
1318
|
}[] | undefined;
|
|
1319
1319
|
}, {
|
|
1320
|
+
operation: "list_drafts";
|
|
1320
1321
|
error: string;
|
|
1321
1322
|
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,17 +1332,18 @@ 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
|
+
body?: {
|
|
1338
|
+
size?: number | undefined;
|
|
1339
|
+
data?: string | undefined;
|
|
1340
|
+
attachmentId?: string | undefined;
|
|
1341
|
+
} | undefined;
|
|
1337
1342
|
mimeType?: string | undefined;
|
|
1338
1343
|
headers?: {
|
|
1339
1344
|
value: string;
|
|
1340
1345
|
name: string;
|
|
1341
1346
|
}[] | undefined;
|
|
1342
|
-
body?: {
|
|
1343
|
-
data?: string | undefined;
|
|
1344
|
-
size?: number | undefined;
|
|
1345
|
-
attachmentId?: string | undefined;
|
|
1346
|
-
} | undefined;
|
|
1347
1347
|
parts?: any[] | undefined;
|
|
1348
1348
|
} | undefined;
|
|
1349
1349
|
};
|
|
@@ -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";
|
|
1358
1359
|
error: string;
|
|
1359
1360
|
success: boolean;
|
|
1360
|
-
operation: "delete_email";
|
|
1361
1361
|
deleted_message_id?: string | undefined;
|
|
1362
1362
|
}, {
|
|
1363
|
+
operation: "delete_email";
|
|
1363
1364
|
error: string;
|
|
1364
1365
|
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";
|
|
1373
1374
|
error: string;
|
|
1374
1375
|
success: boolean;
|
|
1375
|
-
operation: "trash_email";
|
|
1376
1376
|
trashed_message_id?: string | undefined;
|
|
1377
1377
|
}, {
|
|
1378
|
+
operation: "trash_email";
|
|
1378
1379
|
error: string;
|
|
1379
1380
|
success: boolean;
|
|
1380
|
-
operation: "trash_email";
|
|
1381
1381
|
trashed_message_id?: string | undefined;
|
|
1382
1382
|
}>, z.ZodObject<{
|
|
1383
1383
|
operation: z.ZodLiteral<"list_threads">;
|
|
@@ -1412,43 +1412,42 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1412
1412
|
size: z.ZodOptional<z.ZodNumber>;
|
|
1413
1413
|
attachmentId: z.ZodOptional<z.ZodString>;
|
|
1414
1414
|
}, "strip", z.ZodTypeAny, {
|
|
1415
|
-
data?: string | undefined;
|
|
1416
1415
|
size?: number | undefined;
|
|
1416
|
+
data?: string | undefined;
|
|
1417
1417
|
attachmentId?: string | undefined;
|
|
1418
1418
|
}, {
|
|
1419
|
-
data?: string | undefined;
|
|
1420
1419
|
size?: number | undefined;
|
|
1420
|
+
data?: string | undefined;
|
|
1421
1421
|
attachmentId?: string | undefined;
|
|
1422
1422
|
}>>;
|
|
1423
1423
|
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
1424
1424
|
}, "strip", z.ZodTypeAny, {
|
|
1425
|
+
body?: {
|
|
1426
|
+
size?: number | undefined;
|
|
1427
|
+
data?: string | undefined;
|
|
1428
|
+
attachmentId?: string | undefined;
|
|
1429
|
+
} | undefined;
|
|
1425
1430
|
mimeType?: string | undefined;
|
|
1426
1431
|
headers?: {
|
|
1427
1432
|
value: string;
|
|
1428
1433
|
name: string;
|
|
1429
1434
|
}[] | undefined;
|
|
1435
|
+
parts?: any[] | undefined;
|
|
1436
|
+
}, {
|
|
1430
1437
|
body?: {
|
|
1431
|
-
data?: string | undefined;
|
|
1432
1438
|
size?: number | undefined;
|
|
1439
|
+
data?: string | undefined;
|
|
1433
1440
|
attachmentId?: string | undefined;
|
|
1434
1441
|
} | undefined;
|
|
1435
|
-
parts?: any[] | undefined;
|
|
1436
|
-
}, {
|
|
1437
1442
|
mimeType?: string | undefined;
|
|
1438
1443
|
headers?: {
|
|
1439
1444
|
value: string;
|
|
1440
1445
|
name: string;
|
|
1441
1446
|
}[] | undefined;
|
|
1442
|
-
body?: {
|
|
1443
|
-
data?: string | undefined;
|
|
1444
|
-
size?: number | undefined;
|
|
1445
|
-
attachmentId?: string | undefined;
|
|
1446
|
-
} | undefined;
|
|
1447
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
|
+
body?: {
|
|
1461
|
+
size?: number | undefined;
|
|
1462
|
+
data?: string | undefined;
|
|
1463
|
+
attachmentId?: string | undefined;
|
|
1464
|
+
} | undefined;
|
|
1460
1465
|
mimeType?: string | undefined;
|
|
1461
1466
|
headers?: {
|
|
1462
1467
|
value: string;
|
|
1463
1468
|
name: string;
|
|
1464
1469
|
}[] | undefined;
|
|
1465
|
-
body?: {
|
|
1466
|
-
data?: string | undefined;
|
|
1467
|
-
size?: number | undefined;
|
|
1468
|
-
attachmentId?: string | undefined;
|
|
1469
|
-
} | undefined;
|
|
1470
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,17 +1478,18 @@ 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
|
+
body?: {
|
|
1484
|
+
size?: number | undefined;
|
|
1485
|
+
data?: string | undefined;
|
|
1486
|
+
attachmentId?: string | undefined;
|
|
1487
|
+
} | undefined;
|
|
1483
1488
|
mimeType?: string | undefined;
|
|
1484
1489
|
headers?: {
|
|
1485
1490
|
value: string;
|
|
1486
1491
|
name: string;
|
|
1487
1492
|
}[] | undefined;
|
|
1488
|
-
body?: {
|
|
1489
|
-
data?: string | undefined;
|
|
1490
|
-
size?: number | undefined;
|
|
1491
|
-
attachmentId?: string | undefined;
|
|
1492
|
-
} | undefined;
|
|
1493
1493
|
parts?: any[] | undefined;
|
|
1494
1494
|
} | undefined;
|
|
1495
1495
|
}>, "many">>;
|
|
@@ -1498,7 +1498,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1498
1498
|
id: string;
|
|
1499
1499
|
messages?: {
|
|
1500
1500
|
id: string;
|
|
1501
|
-
raw?: string | undefined;
|
|
1502
1501
|
threadId?: string | undefined;
|
|
1503
1502
|
labelIds?: string[] | undefined;
|
|
1504
1503
|
snippet?: string | undefined;
|
|
@@ -1506,17 +1505,18 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1506
1505
|
historyId?: string | undefined;
|
|
1507
1506
|
internalDate?: string | undefined;
|
|
1508
1507
|
sizeEstimate?: number | undefined;
|
|
1508
|
+
raw?: string | undefined;
|
|
1509
1509
|
payload?: {
|
|
1510
|
+
body?: {
|
|
1511
|
+
size?: number | undefined;
|
|
1512
|
+
data?: string | undefined;
|
|
1513
|
+
attachmentId?: string | undefined;
|
|
1514
|
+
} | undefined;
|
|
1510
1515
|
mimeType?: string | undefined;
|
|
1511
1516
|
headers?: {
|
|
1512
1517
|
value: string;
|
|
1513
1518
|
name: string;
|
|
1514
1519
|
}[] | undefined;
|
|
1515
|
-
body?: {
|
|
1516
|
-
data?: string | undefined;
|
|
1517
|
-
size?: number | undefined;
|
|
1518
|
-
attachmentId?: string | undefined;
|
|
1519
|
-
} | undefined;
|
|
1520
1520
|
parts?: any[] | undefined;
|
|
1521
1521
|
} | undefined;
|
|
1522
1522
|
}[] | undefined;
|
|
@@ -1526,7 +1526,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1526
1526
|
id: string;
|
|
1527
1527
|
messages?: {
|
|
1528
1528
|
id: string;
|
|
1529
|
-
raw?: string | undefined;
|
|
1530
1529
|
threadId?: string | undefined;
|
|
1531
1530
|
labelIds?: string[] | undefined;
|
|
1532
1531
|
snippet?: string | undefined;
|
|
@@ -1534,17 +1533,18 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1534
1533
|
historyId?: string | undefined;
|
|
1535
1534
|
internalDate?: string | undefined;
|
|
1536
1535
|
sizeEstimate?: number | undefined;
|
|
1536
|
+
raw?: string | undefined;
|
|
1537
1537
|
payload?: {
|
|
1538
|
+
body?: {
|
|
1539
|
+
size?: number | undefined;
|
|
1540
|
+
data?: string | undefined;
|
|
1541
|
+
attachmentId?: string | undefined;
|
|
1542
|
+
} | undefined;
|
|
1538
1543
|
mimeType?: string | undefined;
|
|
1539
1544
|
headers?: {
|
|
1540
1545
|
value: string;
|
|
1541
1546
|
name: string;
|
|
1542
1547
|
}[] | undefined;
|
|
1543
|
-
body?: {
|
|
1544
|
-
data?: string | undefined;
|
|
1545
|
-
size?: number | undefined;
|
|
1546
|
-
attachmentId?: string | undefined;
|
|
1547
|
-
} | undefined;
|
|
1548
1548
|
parts?: any[] | undefined;
|
|
1549
1549
|
} | undefined;
|
|
1550
1550
|
}[] | undefined;
|
|
@@ -1555,16 +1555,15 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1555
1555
|
result_size_estimate: z.ZodOptional<z.ZodNumber>;
|
|
1556
1556
|
error: z.ZodString;
|
|
1557
1557
|
}, "strip", z.ZodTypeAny, {
|
|
1558
|
+
operation: "list_threads";
|
|
1558
1559
|
error: string;
|
|
1559
1560
|
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
1565
|
messages?: {
|
|
1566
1566
|
id: string;
|
|
1567
|
-
raw?: string | undefined;
|
|
1568
1567
|
threadId?: string | undefined;
|
|
1569
1568
|
labelIds?: string[] | undefined;
|
|
1570
1569
|
snippet?: string | undefined;
|
|
@@ -1572,17 +1571,18 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1572
1571
|
historyId?: string | undefined;
|
|
1573
1572
|
internalDate?: string | undefined;
|
|
1574
1573
|
sizeEstimate?: number | undefined;
|
|
1574
|
+
raw?: string | undefined;
|
|
1575
1575
|
payload?: {
|
|
1576
|
+
body?: {
|
|
1577
|
+
size?: number | undefined;
|
|
1578
|
+
data?: string | undefined;
|
|
1579
|
+
attachmentId?: string | undefined;
|
|
1580
|
+
} | undefined;
|
|
1576
1581
|
mimeType?: string | undefined;
|
|
1577
1582
|
headers?: {
|
|
1578
1583
|
value: string;
|
|
1579
1584
|
name: string;
|
|
1580
1585
|
}[] | undefined;
|
|
1581
|
-
body?: {
|
|
1582
|
-
data?: string | undefined;
|
|
1583
|
-
size?: number | undefined;
|
|
1584
|
-
attachmentId?: string | undefined;
|
|
1585
|
-
} | undefined;
|
|
1586
1586
|
parts?: any[] | undefined;
|
|
1587
1587
|
} | undefined;
|
|
1588
1588
|
}[] | undefined;
|
|
@@ -1590,16 +1590,15 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1590
1590
|
historyId?: string | undefined;
|
|
1591
1591
|
}[] | undefined;
|
|
1592
1592
|
}, {
|
|
1593
|
+
operation: "list_threads";
|
|
1593
1594
|
error: string;
|
|
1594
1595
|
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
1600
|
messages?: {
|
|
1601
1601
|
id: string;
|
|
1602
|
-
raw?: string | undefined;
|
|
1603
1602
|
threadId?: string | undefined;
|
|
1604
1603
|
labelIds?: string[] | undefined;
|
|
1605
1604
|
snippet?: string | undefined;
|
|
@@ -1607,17 +1606,18 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1607
1606
|
historyId?: string | undefined;
|
|
1608
1607
|
internalDate?: string | undefined;
|
|
1609
1608
|
sizeEstimate?: number | undefined;
|
|
1609
|
+
raw?: string | undefined;
|
|
1610
1610
|
payload?: {
|
|
1611
|
+
body?: {
|
|
1612
|
+
size?: number | undefined;
|
|
1613
|
+
data?: string | undefined;
|
|
1614
|
+
attachmentId?: string | undefined;
|
|
1615
|
+
} | undefined;
|
|
1611
1616
|
mimeType?: string | undefined;
|
|
1612
1617
|
headers?: {
|
|
1613
1618
|
value: string;
|
|
1614
1619
|
name: string;
|
|
1615
1620
|
}[] | undefined;
|
|
1616
|
-
body?: {
|
|
1617
|
-
data?: string | undefined;
|
|
1618
|
-
size?: number | undefined;
|
|
1619
|
-
attachmentId?: string | undefined;
|
|
1620
|
-
} | undefined;
|
|
1621
1621
|
parts?: any[] | undefined;
|
|
1622
1622
|
} | undefined;
|
|
1623
1623
|
}[] | undefined;
|
|
@@ -1648,9 +1648,9 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1648
1648
|
}>, "many">>;
|
|
1649
1649
|
error: z.ZodString;
|
|
1650
1650
|
}, "strip", z.ZodTypeAny, {
|
|
1651
|
+
operation: "list_labels";
|
|
1651
1652
|
error: string;
|
|
1652
1653
|
success: boolean;
|
|
1653
|
-
operation: "list_labels";
|
|
1654
1654
|
labels?: {
|
|
1655
1655
|
name: string;
|
|
1656
1656
|
id: string;
|
|
@@ -1659,9 +1659,9 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1659
1659
|
labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
|
|
1660
1660
|
}[] | undefined;
|
|
1661
1661
|
}, {
|
|
1662
|
+
operation: "list_labels";
|
|
1662
1663
|
error: string;
|
|
1663
1664
|
success: boolean;
|
|
1664
|
-
operation: "list_labels";
|
|
1665
1665
|
labels?: {
|
|
1666
1666
|
name: string;
|
|
1667
1667
|
id: string;
|
|
@@ -1693,9 +1693,9 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1693
1693
|
}>>;
|
|
1694
1694
|
error: z.ZodString;
|
|
1695
1695
|
}, "strip", z.ZodTypeAny, {
|
|
1696
|
+
operation: "create_label";
|
|
1696
1697
|
error: string;
|
|
1697
1698
|
success: boolean;
|
|
1698
|
-
operation: "create_label";
|
|
1699
1699
|
label?: {
|
|
1700
1700
|
name: string;
|
|
1701
1701
|
id: string;
|
|
@@ -1704,9 +1704,9 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1704
1704
|
labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
|
|
1705
1705
|
} | undefined;
|
|
1706
1706
|
}, {
|
|
1707
|
+
operation: "create_label";
|
|
1707
1708
|
error: string;
|
|
1708
1709
|
success: boolean;
|
|
1709
|
-
operation: "create_label";
|
|
1710
1710
|
label?: {
|
|
1711
1711
|
name: string;
|
|
1712
1712
|
id: string;
|
|
@@ -1721,15 +1721,15 @@ 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";
|
|
1724
1725
|
error: string;
|
|
1725
1726
|
success: boolean;
|
|
1726
|
-
operation: "modify_message_labels";
|
|
1727
1727
|
message_id?: string | undefined;
|
|
1728
1728
|
label_ids?: string[] | undefined;
|
|
1729
1729
|
}, {
|
|
1730
|
+
operation: "modify_message_labels";
|
|
1730
1731
|
error: string;
|
|
1731
1732
|
success: boolean;
|
|
1732
|
-
operation: "modify_message_labels";
|
|
1733
1733
|
message_id?: string | undefined;
|
|
1734
1734
|
label_ids?: string[] | undefined;
|
|
1735
1735
|
}>, z.ZodObject<{
|
|
@@ -1738,14 +1738,14 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1738
1738
|
thread_id: z.ZodOptional<z.ZodString>;
|
|
1739
1739
|
error: z.ZodString;
|
|
1740
1740
|
}, "strip", z.ZodTypeAny, {
|
|
1741
|
+
operation: "modify_thread_labels";
|
|
1741
1742
|
error: string;
|
|
1742
1743
|
success: boolean;
|
|
1743
|
-
operation: "modify_thread_labels";
|
|
1744
1744
|
thread_id?: string | undefined;
|
|
1745
1745
|
}, {
|
|
1746
|
+
operation: "modify_thread_labels";
|
|
1746
1747
|
error: string;
|
|
1747
1748
|
success: boolean;
|
|
1748
|
-
operation: "modify_thread_labels";
|
|
1749
1749
|
thread_id?: string | undefined;
|
|
1750
1750
|
}>]>;
|
|
1751
1751
|
type GmailResult = z.output<typeof GmailResultSchema>;
|
|
@@ -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" | "full" | "raw";
|
|
1832
1831
|
operation: "get_email";
|
|
1832
|
+
format: "minimal" | "metadata" | "raw" | "full";
|
|
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" | "metadata" | "
|
|
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,14 +1846,14 @@ 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
|
-
query: string;
|
|
1850
1849
|
operation: "search_emails";
|
|
1850
|
+
query: string;
|
|
1851
1851
|
max_results: number;
|
|
1852
1852
|
include_spam_trash: boolean;
|
|
1853
1853
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
1854
1854
|
}, {
|
|
1855
|
-
query: string;
|
|
1856
1855
|
operation: "search_emails";
|
|
1856
|
+
query: string;
|
|
1857
1857
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
1858
1858
|
max_results?: number | undefined;
|
|
1859
1859
|
include_spam_trash?: boolean | undefined;
|
|
@@ -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
|
-
name: string;
|
|
2017
2016
|
operation: "create_label";
|
|
2017
|
+
name: string;
|
|
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
|
-
name: string;
|
|
2025
2024
|
operation: "create_label";
|
|
2025
|
+
name: string;
|
|
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,15 +2072,15 @@ 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";
|
|
2075
2076
|
error: string;
|
|
2076
2077
|
success: boolean;
|
|
2077
|
-
operation: "send_email";
|
|
2078
2078
|
message_id?: string | undefined;
|
|
2079
2079
|
thread_id?: string | undefined;
|
|
2080
2080
|
}, {
|
|
2081
|
+
operation: "send_email";
|
|
2081
2082
|
error: string;
|
|
2082
2083
|
success: boolean;
|
|
2083
|
-
operation: "send_email";
|
|
2084
2084
|
message_id?: string | undefined;
|
|
2085
2085
|
thread_id?: string | undefined;
|
|
2086
2086
|
}>, z.ZodObject<{
|
|
@@ -2113,43 +2113,42 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2113
2113
|
size: z.ZodOptional<z.ZodNumber>;
|
|
2114
2114
|
attachmentId: z.ZodOptional<z.ZodString>;
|
|
2115
2115
|
}, "strip", z.ZodTypeAny, {
|
|
2116
|
-
data?: string | undefined;
|
|
2117
2116
|
size?: number | undefined;
|
|
2117
|
+
data?: string | undefined;
|
|
2118
2118
|
attachmentId?: string | undefined;
|
|
2119
2119
|
}, {
|
|
2120
|
-
data?: string | undefined;
|
|
2121
2120
|
size?: number | undefined;
|
|
2121
|
+
data?: string | undefined;
|
|
2122
2122
|
attachmentId?: string | undefined;
|
|
2123
2123
|
}>>;
|
|
2124
2124
|
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
2125
2125
|
}, "strip", z.ZodTypeAny, {
|
|
2126
|
+
body?: {
|
|
2127
|
+
size?: number | undefined;
|
|
2128
|
+
data?: string | undefined;
|
|
2129
|
+
attachmentId?: string | undefined;
|
|
2130
|
+
} | undefined;
|
|
2126
2131
|
mimeType?: string | undefined;
|
|
2127
2132
|
headers?: {
|
|
2128
2133
|
value: string;
|
|
2129
2134
|
name: string;
|
|
2130
2135
|
}[] | undefined;
|
|
2136
|
+
parts?: any[] | undefined;
|
|
2137
|
+
}, {
|
|
2131
2138
|
body?: {
|
|
2132
|
-
data?: string | undefined;
|
|
2133
2139
|
size?: number | undefined;
|
|
2140
|
+
data?: string | undefined;
|
|
2134
2141
|
attachmentId?: string | undefined;
|
|
2135
2142
|
} | undefined;
|
|
2136
|
-
parts?: any[] | undefined;
|
|
2137
|
-
}, {
|
|
2138
2143
|
mimeType?: string | undefined;
|
|
2139
2144
|
headers?: {
|
|
2140
2145
|
value: string;
|
|
2141
2146
|
name: string;
|
|
2142
2147
|
}[] | undefined;
|
|
2143
|
-
body?: {
|
|
2144
|
-
data?: string | undefined;
|
|
2145
|
-
size?: number | undefined;
|
|
2146
|
-
attachmentId?: string | undefined;
|
|
2147
|
-
} | undefined;
|
|
2148
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
|
+
body?: {
|
|
2162
|
+
size?: number | undefined;
|
|
2163
|
+
data?: string | undefined;
|
|
2164
|
+
attachmentId?: string | undefined;
|
|
2165
|
+
} | undefined;
|
|
2161
2166
|
mimeType?: string | undefined;
|
|
2162
2167
|
headers?: {
|
|
2163
2168
|
value: string;
|
|
2164
2169
|
name: string;
|
|
2165
2170
|
}[] | undefined;
|
|
2166
|
-
body?: {
|
|
2167
|
-
data?: string | undefined;
|
|
2168
|
-
size?: number | undefined;
|
|
2169
|
-
attachmentId?: string | undefined;
|
|
2170
|
-
} | undefined;
|
|
2171
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,17 +2179,18 @@ 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
|
+
body?: {
|
|
2185
|
+
size?: number | undefined;
|
|
2186
|
+
data?: string | undefined;
|
|
2187
|
+
attachmentId?: string | undefined;
|
|
2188
|
+
} | undefined;
|
|
2184
2189
|
mimeType?: string | undefined;
|
|
2185
2190
|
headers?: {
|
|
2186
2191
|
value: string;
|
|
2187
2192
|
name: string;
|
|
2188
2193
|
}[] | undefined;
|
|
2189
|
-
body?: {
|
|
2190
|
-
data?: string | undefined;
|
|
2191
|
-
size?: number | undefined;
|
|
2192
|
-
attachmentId?: string | undefined;
|
|
2193
|
-
} | undefined;
|
|
2194
2194
|
parts?: any[] | undefined;
|
|
2195
2195
|
} | undefined;
|
|
2196
2196
|
}>, "many">>;
|
|
@@ -2198,12 +2198,11 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2198
2198
|
result_size_estimate: z.ZodOptional<z.ZodNumber>;
|
|
2199
2199
|
error: z.ZodString;
|
|
2200
2200
|
}, "strip", z.ZodTypeAny, {
|
|
2201
|
+
operation: "list_emails";
|
|
2201
2202
|
error: string;
|
|
2202
2203
|
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
|
+
body?: {
|
|
2216
|
+
size?: number | undefined;
|
|
2217
|
+
data?: string | undefined;
|
|
2218
|
+
attachmentId?: string | undefined;
|
|
2219
|
+
} | undefined;
|
|
2215
2220
|
mimeType?: string | undefined;
|
|
2216
2221
|
headers?: {
|
|
2217
2222
|
value: string;
|
|
2218
2223
|
name: string;
|
|
2219
2224
|
}[] | undefined;
|
|
2220
|
-
body?: {
|
|
2221
|
-
data?: string | undefined;
|
|
2222
|
-
size?: number | undefined;
|
|
2223
|
-
attachmentId?: string | undefined;
|
|
2224
|
-
} | undefined;
|
|
2225
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";
|
|
2231
2232
|
error: string;
|
|
2232
2233
|
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,17 +2240,18 @@ 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
|
+
body?: {
|
|
2246
|
+
size?: number | undefined;
|
|
2247
|
+
data?: string | undefined;
|
|
2248
|
+
attachmentId?: string | undefined;
|
|
2249
|
+
} | undefined;
|
|
2245
2250
|
mimeType?: string | undefined;
|
|
2246
2251
|
headers?: {
|
|
2247
2252
|
value: string;
|
|
2248
2253
|
name: string;
|
|
2249
2254
|
}[] | undefined;
|
|
2250
|
-
body?: {
|
|
2251
|
-
data?: string | undefined;
|
|
2252
|
-
size?: number | undefined;
|
|
2253
|
-
attachmentId?: string | undefined;
|
|
2254
|
-
} | undefined;
|
|
2255
2255
|
parts?: any[] | undefined;
|
|
2256
2256
|
} | undefined;
|
|
2257
2257
|
}[] | undefined;
|
|
@@ -2287,43 +2287,42 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2287
2287
|
size: z.ZodOptional<z.ZodNumber>;
|
|
2288
2288
|
attachmentId: z.ZodOptional<z.ZodString>;
|
|
2289
2289
|
}, "strip", z.ZodTypeAny, {
|
|
2290
|
-
data?: string | undefined;
|
|
2291
2290
|
size?: number | undefined;
|
|
2291
|
+
data?: string | undefined;
|
|
2292
2292
|
attachmentId?: string | undefined;
|
|
2293
2293
|
}, {
|
|
2294
|
-
data?: string | undefined;
|
|
2295
2294
|
size?: number | undefined;
|
|
2295
|
+
data?: string | undefined;
|
|
2296
2296
|
attachmentId?: string | undefined;
|
|
2297
2297
|
}>>;
|
|
2298
2298
|
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
2299
2299
|
}, "strip", z.ZodTypeAny, {
|
|
2300
|
+
body?: {
|
|
2301
|
+
size?: number | undefined;
|
|
2302
|
+
data?: string | undefined;
|
|
2303
|
+
attachmentId?: string | undefined;
|
|
2304
|
+
} | undefined;
|
|
2300
2305
|
mimeType?: string | undefined;
|
|
2301
2306
|
headers?: {
|
|
2302
2307
|
value: string;
|
|
2303
2308
|
name: string;
|
|
2304
2309
|
}[] | undefined;
|
|
2310
|
+
parts?: any[] | undefined;
|
|
2311
|
+
}, {
|
|
2305
2312
|
body?: {
|
|
2306
|
-
data?: string | undefined;
|
|
2307
2313
|
size?: number | undefined;
|
|
2314
|
+
data?: string | undefined;
|
|
2308
2315
|
attachmentId?: string | undefined;
|
|
2309
2316
|
} | undefined;
|
|
2310
|
-
parts?: any[] | undefined;
|
|
2311
|
-
}, {
|
|
2312
2317
|
mimeType?: string | undefined;
|
|
2313
2318
|
headers?: {
|
|
2314
2319
|
value: string;
|
|
2315
2320
|
name: string;
|
|
2316
2321
|
}[] | undefined;
|
|
2317
|
-
body?: {
|
|
2318
|
-
data?: string | undefined;
|
|
2319
|
-
size?: number | undefined;
|
|
2320
|
-
attachmentId?: string | undefined;
|
|
2321
|
-
} | undefined;
|
|
2322
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
|
+
body?: {
|
|
2336
|
+
size?: number | undefined;
|
|
2337
|
+
data?: string | undefined;
|
|
2338
|
+
attachmentId?: string | undefined;
|
|
2339
|
+
} | undefined;
|
|
2335
2340
|
mimeType?: string | undefined;
|
|
2336
2341
|
headers?: {
|
|
2337
2342
|
value: string;
|
|
2338
2343
|
name: string;
|
|
2339
2344
|
}[] | undefined;
|
|
2340
|
-
body?: {
|
|
2341
|
-
data?: string | undefined;
|
|
2342
|
-
size?: number | undefined;
|
|
2343
|
-
attachmentId?: string | undefined;
|
|
2344
|
-
} | undefined;
|
|
2345
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
|
+
body?: {
|
|
2359
|
+
size?: number | undefined;
|
|
2360
|
+
data?: string | undefined;
|
|
2361
|
+
attachmentId?: string | undefined;
|
|
2362
|
+
} | undefined;
|
|
2358
2363
|
mimeType?: string | undefined;
|
|
2359
2364
|
headers?: {
|
|
2360
2365
|
value: string;
|
|
2361
2366
|
name: string;
|
|
2362
2367
|
}[] | undefined;
|
|
2363
|
-
body?: {
|
|
2364
|
-
data?: string | undefined;
|
|
2365
|
-
size?: number | undefined;
|
|
2366
|
-
attachmentId?: string | undefined;
|
|
2367
|
-
} | undefined;
|
|
2368
2368
|
parts?: any[] | undefined;
|
|
2369
2369
|
} | undefined;
|
|
2370
2370
|
}>>;
|
|
2371
2371
|
error: z.ZodString;
|
|
2372
2372
|
}, "strip", z.ZodTypeAny, {
|
|
2373
|
+
operation: "get_email";
|
|
2373
2374
|
error: string;
|
|
2374
2375
|
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
|
+
body?: {
|
|
2388
|
+
size?: number | undefined;
|
|
2389
|
+
data?: string | undefined;
|
|
2390
|
+
attachmentId?: string | undefined;
|
|
2391
|
+
} | undefined;
|
|
2387
2392
|
mimeType?: string | undefined;
|
|
2388
2393
|
headers?: {
|
|
2389
2394
|
value: string;
|
|
2390
2395
|
name: string;
|
|
2391
2396
|
}[] | undefined;
|
|
2392
|
-
body?: {
|
|
2393
|
-
data?: string | undefined;
|
|
2394
|
-
size?: number | undefined;
|
|
2395
|
-
attachmentId?: string | undefined;
|
|
2396
|
-
} | undefined;
|
|
2397
2397
|
parts?: any[] | undefined;
|
|
2398
2398
|
} | undefined;
|
|
2399
2399
|
} | undefined;
|
|
2400
2400
|
}, {
|
|
2401
|
+
operation: "get_email";
|
|
2401
2402
|
error: string;
|
|
2402
2403
|
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,17 +2410,18 @@ 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
|
+
body?: {
|
|
2416
|
+
size?: number | undefined;
|
|
2417
|
+
data?: string | undefined;
|
|
2418
|
+
attachmentId?: string | undefined;
|
|
2419
|
+
} | undefined;
|
|
2415
2420
|
mimeType?: string | undefined;
|
|
2416
2421
|
headers?: {
|
|
2417
2422
|
value: string;
|
|
2418
2423
|
name: string;
|
|
2419
2424
|
}[] | undefined;
|
|
2420
|
-
body?: {
|
|
2421
|
-
data?: string | undefined;
|
|
2422
|
-
size?: number | undefined;
|
|
2423
|
-
attachmentId?: string | undefined;
|
|
2424
|
-
} | undefined;
|
|
2425
2425
|
parts?: any[] | undefined;
|
|
2426
2426
|
} | undefined;
|
|
2427
2427
|
} | undefined;
|
|
@@ -2455,43 +2455,42 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2455
2455
|
size: z.ZodOptional<z.ZodNumber>;
|
|
2456
2456
|
attachmentId: z.ZodOptional<z.ZodString>;
|
|
2457
2457
|
}, "strip", z.ZodTypeAny, {
|
|
2458
|
-
data?: string | undefined;
|
|
2459
2458
|
size?: number | undefined;
|
|
2459
|
+
data?: string | undefined;
|
|
2460
2460
|
attachmentId?: string | undefined;
|
|
2461
2461
|
}, {
|
|
2462
|
-
data?: string | undefined;
|
|
2463
2462
|
size?: number | undefined;
|
|
2463
|
+
data?: string | undefined;
|
|
2464
2464
|
attachmentId?: string | undefined;
|
|
2465
2465
|
}>>;
|
|
2466
2466
|
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
2467
2467
|
}, "strip", z.ZodTypeAny, {
|
|
2468
|
+
body?: {
|
|
2469
|
+
size?: number | undefined;
|
|
2470
|
+
data?: string | undefined;
|
|
2471
|
+
attachmentId?: string | undefined;
|
|
2472
|
+
} | undefined;
|
|
2468
2473
|
mimeType?: string | undefined;
|
|
2469
2474
|
headers?: {
|
|
2470
2475
|
value: string;
|
|
2471
2476
|
name: string;
|
|
2472
2477
|
}[] | undefined;
|
|
2478
|
+
parts?: any[] | undefined;
|
|
2479
|
+
}, {
|
|
2473
2480
|
body?: {
|
|
2474
|
-
data?: string | undefined;
|
|
2475
2481
|
size?: number | undefined;
|
|
2482
|
+
data?: string | undefined;
|
|
2476
2483
|
attachmentId?: string | undefined;
|
|
2477
2484
|
} | undefined;
|
|
2478
|
-
parts?: any[] | undefined;
|
|
2479
|
-
}, {
|
|
2480
2485
|
mimeType?: string | undefined;
|
|
2481
2486
|
headers?: {
|
|
2482
2487
|
value: string;
|
|
2483
2488
|
name: string;
|
|
2484
2489
|
}[] | undefined;
|
|
2485
|
-
body?: {
|
|
2486
|
-
data?: string | undefined;
|
|
2487
|
-
size?: number | undefined;
|
|
2488
|
-
attachmentId?: string | undefined;
|
|
2489
|
-
} | undefined;
|
|
2490
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
|
+
body?: {
|
|
2504
|
+
size?: number | undefined;
|
|
2505
|
+
data?: string | undefined;
|
|
2506
|
+
attachmentId?: string | undefined;
|
|
2507
|
+
} | undefined;
|
|
2503
2508
|
mimeType?: string | undefined;
|
|
2504
2509
|
headers?: {
|
|
2505
2510
|
value: string;
|
|
2506
2511
|
name: string;
|
|
2507
2512
|
}[] | undefined;
|
|
2508
|
-
body?: {
|
|
2509
|
-
data?: string | undefined;
|
|
2510
|
-
size?: number | undefined;
|
|
2511
|
-
attachmentId?: string | undefined;
|
|
2512
|
-
} | undefined;
|
|
2513
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
|
+
body?: {
|
|
2527
|
+
size?: number | undefined;
|
|
2528
|
+
data?: string | undefined;
|
|
2529
|
+
attachmentId?: string | undefined;
|
|
2530
|
+
} | undefined;
|
|
2526
2531
|
mimeType?: string | undefined;
|
|
2527
2532
|
headers?: {
|
|
2528
2533
|
value: string;
|
|
2529
2534
|
name: string;
|
|
2530
2535
|
}[] | undefined;
|
|
2531
|
-
body?: {
|
|
2532
|
-
data?: string | undefined;
|
|
2533
|
-
size?: number | undefined;
|
|
2534
|
-
attachmentId?: string | undefined;
|
|
2535
|
-
} | undefined;
|
|
2536
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";
|
|
2542
2543
|
error: string;
|
|
2543
2544
|
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
|
+
body?: {
|
|
2557
|
+
size?: number | undefined;
|
|
2558
|
+
data?: string | undefined;
|
|
2559
|
+
attachmentId?: string | undefined;
|
|
2560
|
+
} | undefined;
|
|
2556
2561
|
mimeType?: string | undefined;
|
|
2557
2562
|
headers?: {
|
|
2558
2563
|
value: string;
|
|
2559
2564
|
name: string;
|
|
2560
2565
|
}[] | undefined;
|
|
2561
|
-
body?: {
|
|
2562
|
-
data?: string | undefined;
|
|
2563
|
-
size?: number | undefined;
|
|
2564
|
-
attachmentId?: string | undefined;
|
|
2565
|
-
} | undefined;
|
|
2566
2566
|
parts?: any[] | undefined;
|
|
2567
2567
|
} | undefined;
|
|
2568
2568
|
}[] | undefined;
|
|
2569
2569
|
result_size_estimate?: number | undefined;
|
|
2570
2570
|
}, {
|
|
2571
|
+
operation: "search_emails";
|
|
2571
2572
|
error: string;
|
|
2572
2573
|
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,17 +2580,18 @@ 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
|
+
body?: {
|
|
2586
|
+
size?: number | undefined;
|
|
2587
|
+
data?: string | undefined;
|
|
2588
|
+
attachmentId?: string | undefined;
|
|
2589
|
+
} | undefined;
|
|
2585
2590
|
mimeType?: string | undefined;
|
|
2586
2591
|
headers?: {
|
|
2587
2592
|
value: string;
|
|
2588
2593
|
name: string;
|
|
2589
2594
|
}[] | undefined;
|
|
2590
|
-
body?: {
|
|
2591
|
-
data?: string | undefined;
|
|
2592
|
-
size?: number | undefined;
|
|
2593
|
-
attachmentId?: string | undefined;
|
|
2594
|
-
} | undefined;
|
|
2595
2595
|
parts?: any[] | undefined;
|
|
2596
2596
|
} | undefined;
|
|
2597
2597
|
}[] | 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";
|
|
2605
2606
|
error: string;
|
|
2606
2607
|
success: boolean;
|
|
2607
|
-
operation: "mark_as_read";
|
|
2608
2608
|
modified_messages?: string[] | undefined;
|
|
2609
2609
|
}, {
|
|
2610
|
+
operation: "mark_as_read";
|
|
2610
2611
|
error: string;
|
|
2611
2612
|
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";
|
|
2620
2621
|
error: string;
|
|
2621
2622
|
success: boolean;
|
|
2622
|
-
operation: "mark_as_unread";
|
|
2623
2623
|
modified_messages?: string[] | undefined;
|
|
2624
2624
|
}, {
|
|
2625
|
+
operation: "mark_as_unread";
|
|
2625
2626
|
error: string;
|
|
2626
2627
|
success: boolean;
|
|
2627
|
-
operation: "mark_as_unread";
|
|
2628
2628
|
modified_messages?: string[] | undefined;
|
|
2629
2629
|
}>, z.ZodObject<{
|
|
2630
2630
|
operation: z.ZodLiteral<"create_draft">;
|
|
@@ -2658,43 +2658,42 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2658
2658
|
size: z.ZodOptional<z.ZodNumber>;
|
|
2659
2659
|
attachmentId: z.ZodOptional<z.ZodString>;
|
|
2660
2660
|
}, "strip", z.ZodTypeAny, {
|
|
2661
|
-
data?: string | undefined;
|
|
2662
2661
|
size?: number | undefined;
|
|
2662
|
+
data?: string | undefined;
|
|
2663
2663
|
attachmentId?: string | undefined;
|
|
2664
2664
|
}, {
|
|
2665
|
-
data?: string | undefined;
|
|
2666
2665
|
size?: number | undefined;
|
|
2666
|
+
data?: string | undefined;
|
|
2667
2667
|
attachmentId?: string | undefined;
|
|
2668
2668
|
}>>;
|
|
2669
2669
|
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
2670
2670
|
}, "strip", z.ZodTypeAny, {
|
|
2671
|
+
body?: {
|
|
2672
|
+
size?: number | undefined;
|
|
2673
|
+
data?: string | undefined;
|
|
2674
|
+
attachmentId?: string | undefined;
|
|
2675
|
+
} | undefined;
|
|
2671
2676
|
mimeType?: string | undefined;
|
|
2672
2677
|
headers?: {
|
|
2673
2678
|
value: string;
|
|
2674
2679
|
name: string;
|
|
2675
2680
|
}[] | undefined;
|
|
2681
|
+
parts?: any[] | undefined;
|
|
2682
|
+
}, {
|
|
2676
2683
|
body?: {
|
|
2677
|
-
data?: string | undefined;
|
|
2678
2684
|
size?: number | undefined;
|
|
2685
|
+
data?: string | undefined;
|
|
2679
2686
|
attachmentId?: string | undefined;
|
|
2680
2687
|
} | undefined;
|
|
2681
|
-
parts?: any[] | undefined;
|
|
2682
|
-
}, {
|
|
2683
2688
|
mimeType?: string | undefined;
|
|
2684
2689
|
headers?: {
|
|
2685
2690
|
value: string;
|
|
2686
2691
|
name: string;
|
|
2687
2692
|
}[] | undefined;
|
|
2688
|
-
body?: {
|
|
2689
|
-
data?: string | undefined;
|
|
2690
|
-
size?: number | undefined;
|
|
2691
|
-
attachmentId?: string | undefined;
|
|
2692
|
-
} | undefined;
|
|
2693
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
|
+
body?: {
|
|
2707
|
+
size?: number | undefined;
|
|
2708
|
+
data?: string | undefined;
|
|
2709
|
+
attachmentId?: string | undefined;
|
|
2710
|
+
} | undefined;
|
|
2706
2711
|
mimeType?: string | undefined;
|
|
2707
2712
|
headers?: {
|
|
2708
2713
|
value: string;
|
|
2709
2714
|
name: string;
|
|
2710
2715
|
}[] | undefined;
|
|
2711
|
-
body?: {
|
|
2712
|
-
data?: string | undefined;
|
|
2713
|
-
size?: number | undefined;
|
|
2714
|
-
attachmentId?: string | undefined;
|
|
2715
|
-
} | undefined;
|
|
2716
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
|
+
body?: {
|
|
2730
|
+
size?: number | undefined;
|
|
2731
|
+
data?: string | undefined;
|
|
2732
|
+
attachmentId?: string | undefined;
|
|
2733
|
+
} | undefined;
|
|
2729
2734
|
mimeType?: string | undefined;
|
|
2730
2735
|
headers?: {
|
|
2731
2736
|
value: string;
|
|
2732
2737
|
name: string;
|
|
2733
2738
|
}[] | undefined;
|
|
2734
|
-
body?: {
|
|
2735
|
-
data?: string | undefined;
|
|
2736
|
-
size?: number | undefined;
|
|
2737
|
-
attachmentId?: string | undefined;
|
|
2738
|
-
} | undefined;
|
|
2739
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,17 +2749,18 @@ 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
|
+
body?: {
|
|
2755
|
+
size?: number | undefined;
|
|
2756
|
+
data?: string | undefined;
|
|
2757
|
+
attachmentId?: string | undefined;
|
|
2758
|
+
} | undefined;
|
|
2754
2759
|
mimeType?: string | undefined;
|
|
2755
2760
|
headers?: {
|
|
2756
2761
|
value: string;
|
|
2757
2762
|
name: string;
|
|
2758
2763
|
}[] | undefined;
|
|
2759
|
-
body?: {
|
|
2760
|
-
data?: string | undefined;
|
|
2761
|
-
size?: number | undefined;
|
|
2762
|
-
attachmentId?: string | undefined;
|
|
2763
|
-
} | undefined;
|
|
2764
2764
|
parts?: any[] | undefined;
|
|
2765
2765
|
} | undefined;
|
|
2766
2766
|
};
|
|
@@ -2768,7 +2768,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
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,17 +2775,18 @@ 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
|
+
body?: {
|
|
2781
|
+
size?: number | undefined;
|
|
2782
|
+
data?: string | undefined;
|
|
2783
|
+
attachmentId?: string | undefined;
|
|
2784
|
+
} | undefined;
|
|
2780
2785
|
mimeType?: string | undefined;
|
|
2781
2786
|
headers?: {
|
|
2782
2787
|
value: string;
|
|
2783
2788
|
name: string;
|
|
2784
2789
|
}[] | undefined;
|
|
2785
|
-
body?: {
|
|
2786
|
-
data?: string | undefined;
|
|
2787
|
-
size?: number | undefined;
|
|
2788
|
-
attachmentId?: string | undefined;
|
|
2789
|
-
} | undefined;
|
|
2790
2790
|
parts?: any[] | undefined;
|
|
2791
2791
|
} | undefined;
|
|
2792
2792
|
};
|
|
@@ -2794,13 +2794,12 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2794
2794
|
}>>;
|
|
2795
2795
|
error: z.ZodString;
|
|
2796
2796
|
}, "strip", z.ZodTypeAny, {
|
|
2797
|
+
operation: "create_draft";
|
|
2797
2798
|
error: string;
|
|
2798
2799
|
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
|
+
body?: {
|
|
2813
|
+
size?: number | undefined;
|
|
2814
|
+
data?: string | undefined;
|
|
2815
|
+
attachmentId?: string | undefined;
|
|
2816
|
+
} | undefined;
|
|
2812
2817
|
mimeType?: string | undefined;
|
|
2813
2818
|
headers?: {
|
|
2814
2819
|
value: string;
|
|
2815
2820
|
name: string;
|
|
2816
2821
|
}[] | undefined;
|
|
2817
|
-
body?: {
|
|
2818
|
-
data?: string | undefined;
|
|
2819
|
-
size?: number | undefined;
|
|
2820
|
-
attachmentId?: string | undefined;
|
|
2821
|
-
} | undefined;
|
|
2822
2822
|
parts?: any[] | undefined;
|
|
2823
2823
|
} | undefined;
|
|
2824
2824
|
};
|
|
2825
2825
|
id: string;
|
|
2826
2826
|
} | undefined;
|
|
2827
2827
|
}, {
|
|
2828
|
+
operation: "create_draft";
|
|
2828
2829
|
error: string;
|
|
2829
2830
|
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,17 +2838,18 @@ 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
|
+
body?: {
|
|
2844
|
+
size?: number | undefined;
|
|
2845
|
+
data?: string | undefined;
|
|
2846
|
+
attachmentId?: string | undefined;
|
|
2847
|
+
} | undefined;
|
|
2843
2848
|
mimeType?: string | undefined;
|
|
2844
2849
|
headers?: {
|
|
2845
2850
|
value: string;
|
|
2846
2851
|
name: string;
|
|
2847
2852
|
}[] | undefined;
|
|
2848
|
-
body?: {
|
|
2849
|
-
data?: string | undefined;
|
|
2850
|
-
size?: number | undefined;
|
|
2851
|
-
attachmentId?: string | undefined;
|
|
2852
|
-
} | undefined;
|
|
2853
2853
|
parts?: any[] | undefined;
|
|
2854
2854
|
} | undefined;
|
|
2855
2855
|
};
|
|
@@ -2862,15 +2862,15 @@ 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";
|
|
2865
2866
|
error: string;
|
|
2866
2867
|
success: boolean;
|
|
2867
|
-
operation: "send_draft";
|
|
2868
2868
|
message_id?: string | undefined;
|
|
2869
2869
|
thread_id?: string | undefined;
|
|
2870
2870
|
}, {
|
|
2871
|
+
operation: "send_draft";
|
|
2871
2872
|
error: string;
|
|
2872
2873
|
success: boolean;
|
|
2873
|
-
operation: "send_draft";
|
|
2874
2874
|
message_id?: string | undefined;
|
|
2875
2875
|
thread_id?: string | undefined;
|
|
2876
2876
|
}>, z.ZodObject<{
|
|
@@ -2905,43 +2905,42 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2905
2905
|
size: z.ZodOptional<z.ZodNumber>;
|
|
2906
2906
|
attachmentId: z.ZodOptional<z.ZodString>;
|
|
2907
2907
|
}, "strip", z.ZodTypeAny, {
|
|
2908
|
-
data?: string | undefined;
|
|
2909
2908
|
size?: number | undefined;
|
|
2909
|
+
data?: string | undefined;
|
|
2910
2910
|
attachmentId?: string | undefined;
|
|
2911
2911
|
}, {
|
|
2912
|
-
data?: string | undefined;
|
|
2913
2912
|
size?: number | undefined;
|
|
2913
|
+
data?: string | undefined;
|
|
2914
2914
|
attachmentId?: string | undefined;
|
|
2915
2915
|
}>>;
|
|
2916
2916
|
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
2917
2917
|
}, "strip", z.ZodTypeAny, {
|
|
2918
|
+
body?: {
|
|
2919
|
+
size?: number | undefined;
|
|
2920
|
+
data?: string | undefined;
|
|
2921
|
+
attachmentId?: string | undefined;
|
|
2922
|
+
} | undefined;
|
|
2918
2923
|
mimeType?: string | undefined;
|
|
2919
2924
|
headers?: {
|
|
2920
2925
|
value: string;
|
|
2921
2926
|
name: string;
|
|
2922
2927
|
}[] | undefined;
|
|
2928
|
+
parts?: any[] | undefined;
|
|
2929
|
+
}, {
|
|
2923
2930
|
body?: {
|
|
2924
|
-
data?: string | undefined;
|
|
2925
2931
|
size?: number | undefined;
|
|
2932
|
+
data?: string | undefined;
|
|
2926
2933
|
attachmentId?: string | undefined;
|
|
2927
2934
|
} | undefined;
|
|
2928
|
-
parts?: any[] | undefined;
|
|
2929
|
-
}, {
|
|
2930
2935
|
mimeType?: string | undefined;
|
|
2931
2936
|
headers?: {
|
|
2932
2937
|
value: string;
|
|
2933
2938
|
name: string;
|
|
2934
2939
|
}[] | undefined;
|
|
2935
|
-
body?: {
|
|
2936
|
-
data?: string | undefined;
|
|
2937
|
-
size?: number | undefined;
|
|
2938
|
-
attachmentId?: string | undefined;
|
|
2939
|
-
} | undefined;
|
|
2940
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
|
+
body?: {
|
|
2954
|
+
size?: number | undefined;
|
|
2955
|
+
data?: string | undefined;
|
|
2956
|
+
attachmentId?: string | undefined;
|
|
2957
|
+
} | undefined;
|
|
2953
2958
|
mimeType?: string | undefined;
|
|
2954
2959
|
headers?: {
|
|
2955
2960
|
value: string;
|
|
2956
2961
|
name: string;
|
|
2957
2962
|
}[] | undefined;
|
|
2958
|
-
body?: {
|
|
2959
|
-
data?: string | undefined;
|
|
2960
|
-
size?: number | undefined;
|
|
2961
|
-
attachmentId?: string | undefined;
|
|
2962
|
-
} | undefined;
|
|
2963
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
|
+
body?: {
|
|
2977
|
+
size?: number | undefined;
|
|
2978
|
+
data?: string | undefined;
|
|
2979
|
+
attachmentId?: string | undefined;
|
|
2980
|
+
} | undefined;
|
|
2976
2981
|
mimeType?: string | undefined;
|
|
2977
2982
|
headers?: {
|
|
2978
2983
|
value: string;
|
|
2979
2984
|
name: string;
|
|
2980
2985
|
}[] | undefined;
|
|
2981
|
-
body?: {
|
|
2982
|
-
data?: string | undefined;
|
|
2983
|
-
size?: number | undefined;
|
|
2984
|
-
attachmentId?: string | undefined;
|
|
2985
|
-
} | undefined;
|
|
2986
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,17 +2996,18 @@ 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
|
+
body?: {
|
|
3002
|
+
size?: number | undefined;
|
|
3003
|
+
data?: string | undefined;
|
|
3004
|
+
attachmentId?: string | undefined;
|
|
3005
|
+
} | undefined;
|
|
3001
3006
|
mimeType?: string | undefined;
|
|
3002
3007
|
headers?: {
|
|
3003
3008
|
value: string;
|
|
3004
3009
|
name: string;
|
|
3005
3010
|
}[] | undefined;
|
|
3006
|
-
body?: {
|
|
3007
|
-
data?: string | undefined;
|
|
3008
|
-
size?: number | undefined;
|
|
3009
|
-
attachmentId?: string | undefined;
|
|
3010
|
-
} | undefined;
|
|
3011
3011
|
parts?: any[] | undefined;
|
|
3012
3012
|
} | undefined;
|
|
3013
3013
|
};
|
|
@@ -3015,7 +3015,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
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,17 +3022,18 @@ 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
|
+
body?: {
|
|
3028
|
+
size?: number | undefined;
|
|
3029
|
+
data?: string | undefined;
|
|
3030
|
+
attachmentId?: string | undefined;
|
|
3031
|
+
} | undefined;
|
|
3027
3032
|
mimeType?: string | undefined;
|
|
3028
3033
|
headers?: {
|
|
3029
3034
|
value: string;
|
|
3030
3035
|
name: string;
|
|
3031
3036
|
}[] | undefined;
|
|
3032
|
-
body?: {
|
|
3033
|
-
data?: string | undefined;
|
|
3034
|
-
size?: number | undefined;
|
|
3035
|
-
attachmentId?: string | undefined;
|
|
3036
|
-
} | undefined;
|
|
3037
3037
|
parts?: any[] | undefined;
|
|
3038
3038
|
} | undefined;
|
|
3039
3039
|
};
|
|
@@ -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";
|
|
3046
3047
|
error: string;
|
|
3047
3048
|
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
|
+
body?: {
|
|
3064
|
+
size?: number | undefined;
|
|
3065
|
+
data?: string | undefined;
|
|
3066
|
+
attachmentId?: string | undefined;
|
|
3067
|
+
} | undefined;
|
|
3063
3068
|
mimeType?: string | undefined;
|
|
3064
3069
|
headers?: {
|
|
3065
3070
|
value: string;
|
|
3066
3071
|
name: string;
|
|
3067
3072
|
}[] | undefined;
|
|
3068
|
-
body?: {
|
|
3069
|
-
data?: string | undefined;
|
|
3070
|
-
size?: number | undefined;
|
|
3071
|
-
attachmentId?: string | undefined;
|
|
3072
|
-
} | undefined;
|
|
3073
3073
|
parts?: any[] | undefined;
|
|
3074
3074
|
} | undefined;
|
|
3075
3075
|
};
|
|
3076
3076
|
id: string;
|
|
3077
3077
|
}[] | undefined;
|
|
3078
3078
|
}, {
|
|
3079
|
+
operation: "list_drafts";
|
|
3079
3080
|
error: string;
|
|
3080
3081
|
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,17 +3091,18 @@ 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
|
+
body?: {
|
|
3097
|
+
size?: number | undefined;
|
|
3098
|
+
data?: string | undefined;
|
|
3099
|
+
attachmentId?: string | undefined;
|
|
3100
|
+
} | undefined;
|
|
3096
3101
|
mimeType?: string | undefined;
|
|
3097
3102
|
headers?: {
|
|
3098
3103
|
value: string;
|
|
3099
3104
|
name: string;
|
|
3100
3105
|
}[] | undefined;
|
|
3101
|
-
body?: {
|
|
3102
|
-
data?: string | undefined;
|
|
3103
|
-
size?: number | undefined;
|
|
3104
|
-
attachmentId?: string | undefined;
|
|
3105
|
-
} | undefined;
|
|
3106
3106
|
parts?: any[] | undefined;
|
|
3107
3107
|
} | undefined;
|
|
3108
3108
|
};
|
|
@@ -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";
|
|
3117
3118
|
error: string;
|
|
3118
3119
|
success: boolean;
|
|
3119
|
-
operation: "delete_email";
|
|
3120
3120
|
deleted_message_id?: string | undefined;
|
|
3121
3121
|
}, {
|
|
3122
|
+
operation: "delete_email";
|
|
3122
3123
|
error: string;
|
|
3123
3124
|
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";
|
|
3132
3133
|
error: string;
|
|
3133
3134
|
success: boolean;
|
|
3134
|
-
operation: "trash_email";
|
|
3135
3135
|
trashed_message_id?: string | undefined;
|
|
3136
3136
|
}, {
|
|
3137
|
+
operation: "trash_email";
|
|
3137
3138
|
error: string;
|
|
3138
3139
|
success: boolean;
|
|
3139
|
-
operation: "trash_email";
|
|
3140
3140
|
trashed_message_id?: string | undefined;
|
|
3141
3141
|
}>, z.ZodObject<{
|
|
3142
3142
|
operation: z.ZodLiteral<"list_threads">;
|
|
@@ -3171,43 +3171,42 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
3171
3171
|
size: z.ZodOptional<z.ZodNumber>;
|
|
3172
3172
|
attachmentId: z.ZodOptional<z.ZodString>;
|
|
3173
3173
|
}, "strip", z.ZodTypeAny, {
|
|
3174
|
-
data?: string | undefined;
|
|
3175
3174
|
size?: number | undefined;
|
|
3175
|
+
data?: string | undefined;
|
|
3176
3176
|
attachmentId?: string | undefined;
|
|
3177
3177
|
}, {
|
|
3178
|
-
data?: string | undefined;
|
|
3179
3178
|
size?: number | undefined;
|
|
3179
|
+
data?: string | undefined;
|
|
3180
3180
|
attachmentId?: string | undefined;
|
|
3181
3181
|
}>>;
|
|
3182
3182
|
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
3183
3183
|
}, "strip", z.ZodTypeAny, {
|
|
3184
|
+
body?: {
|
|
3185
|
+
size?: number | undefined;
|
|
3186
|
+
data?: string | undefined;
|
|
3187
|
+
attachmentId?: string | undefined;
|
|
3188
|
+
} | undefined;
|
|
3184
3189
|
mimeType?: string | undefined;
|
|
3185
3190
|
headers?: {
|
|
3186
3191
|
value: string;
|
|
3187
3192
|
name: string;
|
|
3188
3193
|
}[] | undefined;
|
|
3194
|
+
parts?: any[] | undefined;
|
|
3195
|
+
}, {
|
|
3189
3196
|
body?: {
|
|
3190
|
-
data?: string | undefined;
|
|
3191
3197
|
size?: number | undefined;
|
|
3198
|
+
data?: string | undefined;
|
|
3192
3199
|
attachmentId?: string | undefined;
|
|
3193
3200
|
} | undefined;
|
|
3194
|
-
parts?: any[] | undefined;
|
|
3195
|
-
}, {
|
|
3196
3201
|
mimeType?: string | undefined;
|
|
3197
3202
|
headers?: {
|
|
3198
3203
|
value: string;
|
|
3199
3204
|
name: string;
|
|
3200
3205
|
}[] | undefined;
|
|
3201
|
-
body?: {
|
|
3202
|
-
data?: string | undefined;
|
|
3203
|
-
size?: number | undefined;
|
|
3204
|
-
attachmentId?: string | undefined;
|
|
3205
|
-
} | undefined;
|
|
3206
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
|
+
body?: {
|
|
3220
|
+
size?: number | undefined;
|
|
3221
|
+
data?: string | undefined;
|
|
3222
|
+
attachmentId?: string | undefined;
|
|
3223
|
+
} | undefined;
|
|
3219
3224
|
mimeType?: string | undefined;
|
|
3220
3225
|
headers?: {
|
|
3221
3226
|
value: string;
|
|
3222
3227
|
name: string;
|
|
3223
3228
|
}[] | undefined;
|
|
3224
|
-
body?: {
|
|
3225
|
-
data?: string | undefined;
|
|
3226
|
-
size?: number | undefined;
|
|
3227
|
-
attachmentId?: string | undefined;
|
|
3228
|
-
} | undefined;
|
|
3229
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,17 +3237,18 @@ 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
|
+
body?: {
|
|
3243
|
+
size?: number | undefined;
|
|
3244
|
+
data?: string | undefined;
|
|
3245
|
+
attachmentId?: string | undefined;
|
|
3246
|
+
} | undefined;
|
|
3242
3247
|
mimeType?: string | undefined;
|
|
3243
3248
|
headers?: {
|
|
3244
3249
|
value: string;
|
|
3245
3250
|
name: string;
|
|
3246
3251
|
}[] | undefined;
|
|
3247
|
-
body?: {
|
|
3248
|
-
data?: string | undefined;
|
|
3249
|
-
size?: number | undefined;
|
|
3250
|
-
attachmentId?: string | undefined;
|
|
3251
|
-
} | undefined;
|
|
3252
3252
|
parts?: any[] | undefined;
|
|
3253
3253
|
} | undefined;
|
|
3254
3254
|
}>, "many">>;
|
|
@@ -3257,7 +3257,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
3257
3257
|
id: string;
|
|
3258
3258
|
messages?: {
|
|
3259
3259
|
id: string;
|
|
3260
|
-
raw?: string | undefined;
|
|
3261
3260
|
threadId?: string | undefined;
|
|
3262
3261
|
labelIds?: string[] | undefined;
|
|
3263
3262
|
snippet?: string | undefined;
|
|
@@ -3265,17 +3264,18 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
3265
3264
|
historyId?: string | undefined;
|
|
3266
3265
|
internalDate?: string | undefined;
|
|
3267
3266
|
sizeEstimate?: number | undefined;
|
|
3267
|
+
raw?: string | undefined;
|
|
3268
3268
|
payload?: {
|
|
3269
|
+
body?: {
|
|
3270
|
+
size?: number | undefined;
|
|
3271
|
+
data?: string | undefined;
|
|
3272
|
+
attachmentId?: string | undefined;
|
|
3273
|
+
} | undefined;
|
|
3269
3274
|
mimeType?: string | undefined;
|
|
3270
3275
|
headers?: {
|
|
3271
3276
|
value: string;
|
|
3272
3277
|
name: string;
|
|
3273
3278
|
}[] | undefined;
|
|
3274
|
-
body?: {
|
|
3275
|
-
data?: string | undefined;
|
|
3276
|
-
size?: number | undefined;
|
|
3277
|
-
attachmentId?: string | undefined;
|
|
3278
|
-
} | undefined;
|
|
3279
3279
|
parts?: any[] | undefined;
|
|
3280
3280
|
} | undefined;
|
|
3281
3281
|
}[] | undefined;
|
|
@@ -3285,7 +3285,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
3285
3285
|
id: string;
|
|
3286
3286
|
messages?: {
|
|
3287
3287
|
id: string;
|
|
3288
|
-
raw?: string | undefined;
|
|
3289
3288
|
threadId?: string | undefined;
|
|
3290
3289
|
labelIds?: string[] | undefined;
|
|
3291
3290
|
snippet?: string | undefined;
|
|
@@ -3293,17 +3292,18 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
3293
3292
|
historyId?: string | undefined;
|
|
3294
3293
|
internalDate?: string | undefined;
|
|
3295
3294
|
sizeEstimate?: number | undefined;
|
|
3295
|
+
raw?: string | undefined;
|
|
3296
3296
|
payload?: {
|
|
3297
|
+
body?: {
|
|
3298
|
+
size?: number | undefined;
|
|
3299
|
+
data?: string | undefined;
|
|
3300
|
+
attachmentId?: string | undefined;
|
|
3301
|
+
} | undefined;
|
|
3297
3302
|
mimeType?: string | undefined;
|
|
3298
3303
|
headers?: {
|
|
3299
3304
|
value: string;
|
|
3300
3305
|
name: string;
|
|
3301
3306
|
}[] | undefined;
|
|
3302
|
-
body?: {
|
|
3303
|
-
data?: string | undefined;
|
|
3304
|
-
size?: number | undefined;
|
|
3305
|
-
attachmentId?: string | undefined;
|
|
3306
|
-
} | undefined;
|
|
3307
3307
|
parts?: any[] | undefined;
|
|
3308
3308
|
} | undefined;
|
|
3309
3309
|
}[] | undefined;
|
|
@@ -3314,16 +3314,15 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
3314
3314
|
result_size_estimate: z.ZodOptional<z.ZodNumber>;
|
|
3315
3315
|
error: z.ZodString;
|
|
3316
3316
|
}, "strip", z.ZodTypeAny, {
|
|
3317
|
+
operation: "list_threads";
|
|
3317
3318
|
error: string;
|
|
3318
3319
|
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
3324
|
messages?: {
|
|
3325
3325
|
id: string;
|
|
3326
|
-
raw?: string | undefined;
|
|
3327
3326
|
threadId?: string | undefined;
|
|
3328
3327
|
labelIds?: string[] | undefined;
|
|
3329
3328
|
snippet?: string | undefined;
|
|
@@ -3331,17 +3330,18 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
3331
3330
|
historyId?: string | undefined;
|
|
3332
3331
|
internalDate?: string | undefined;
|
|
3333
3332
|
sizeEstimate?: number | undefined;
|
|
3333
|
+
raw?: string | undefined;
|
|
3334
3334
|
payload?: {
|
|
3335
|
+
body?: {
|
|
3336
|
+
size?: number | undefined;
|
|
3337
|
+
data?: string | undefined;
|
|
3338
|
+
attachmentId?: string | undefined;
|
|
3339
|
+
} | undefined;
|
|
3335
3340
|
mimeType?: string | undefined;
|
|
3336
3341
|
headers?: {
|
|
3337
3342
|
value: string;
|
|
3338
3343
|
name: string;
|
|
3339
3344
|
}[] | undefined;
|
|
3340
|
-
body?: {
|
|
3341
|
-
data?: string | undefined;
|
|
3342
|
-
size?: number | undefined;
|
|
3343
|
-
attachmentId?: string | undefined;
|
|
3344
|
-
} | undefined;
|
|
3345
3345
|
parts?: any[] | undefined;
|
|
3346
3346
|
} | undefined;
|
|
3347
3347
|
}[] | undefined;
|
|
@@ -3349,16 +3349,15 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
3349
3349
|
historyId?: string | undefined;
|
|
3350
3350
|
}[] | undefined;
|
|
3351
3351
|
}, {
|
|
3352
|
+
operation: "list_threads";
|
|
3352
3353
|
error: string;
|
|
3353
3354
|
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
3359
|
messages?: {
|
|
3360
3360
|
id: string;
|
|
3361
|
-
raw?: string | undefined;
|
|
3362
3361
|
threadId?: string | undefined;
|
|
3363
3362
|
labelIds?: string[] | undefined;
|
|
3364
3363
|
snippet?: string | undefined;
|
|
@@ -3366,17 +3365,18 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
3366
3365
|
historyId?: string | undefined;
|
|
3367
3366
|
internalDate?: string | undefined;
|
|
3368
3367
|
sizeEstimate?: number | undefined;
|
|
3368
|
+
raw?: string | undefined;
|
|
3369
3369
|
payload?: {
|
|
3370
|
+
body?: {
|
|
3371
|
+
size?: number | undefined;
|
|
3372
|
+
data?: string | undefined;
|
|
3373
|
+
attachmentId?: string | undefined;
|
|
3374
|
+
} | undefined;
|
|
3370
3375
|
mimeType?: string | undefined;
|
|
3371
3376
|
headers?: {
|
|
3372
3377
|
value: string;
|
|
3373
3378
|
name: string;
|
|
3374
3379
|
}[] | undefined;
|
|
3375
|
-
body?: {
|
|
3376
|
-
data?: string | undefined;
|
|
3377
|
-
size?: number | undefined;
|
|
3378
|
-
attachmentId?: string | undefined;
|
|
3379
|
-
} | undefined;
|
|
3380
3380
|
parts?: any[] | undefined;
|
|
3381
3381
|
} | undefined;
|
|
3382
3382
|
}[] | undefined;
|
|
@@ -3407,9 +3407,9 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
3407
3407
|
}>, "many">>;
|
|
3408
3408
|
error: z.ZodString;
|
|
3409
3409
|
}, "strip", z.ZodTypeAny, {
|
|
3410
|
+
operation: "list_labels";
|
|
3410
3411
|
error: string;
|
|
3411
3412
|
success: boolean;
|
|
3412
|
-
operation: "list_labels";
|
|
3413
3413
|
labels?: {
|
|
3414
3414
|
name: string;
|
|
3415
3415
|
id: string;
|
|
@@ -3418,9 +3418,9 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
3418
3418
|
labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
|
|
3419
3419
|
}[] | undefined;
|
|
3420
3420
|
}, {
|
|
3421
|
+
operation: "list_labels";
|
|
3421
3422
|
error: string;
|
|
3422
3423
|
success: boolean;
|
|
3423
|
-
operation: "list_labels";
|
|
3424
3424
|
labels?: {
|
|
3425
3425
|
name: string;
|
|
3426
3426
|
id: string;
|
|
@@ -3452,9 +3452,9 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
3452
3452
|
}>>;
|
|
3453
3453
|
error: z.ZodString;
|
|
3454
3454
|
}, "strip", z.ZodTypeAny, {
|
|
3455
|
+
operation: "create_label";
|
|
3455
3456
|
error: string;
|
|
3456
3457
|
success: boolean;
|
|
3457
|
-
operation: "create_label";
|
|
3458
3458
|
label?: {
|
|
3459
3459
|
name: string;
|
|
3460
3460
|
id: string;
|
|
@@ -3463,9 +3463,9 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
3463
3463
|
labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
|
|
3464
3464
|
} | undefined;
|
|
3465
3465
|
}, {
|
|
3466
|
+
operation: "create_label";
|
|
3466
3467
|
error: string;
|
|
3467
3468
|
success: boolean;
|
|
3468
|
-
operation: "create_label";
|
|
3469
3469
|
label?: {
|
|
3470
3470
|
name: string;
|
|
3471
3471
|
id: string;
|
|
@@ -3480,15 +3480,15 @@ 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";
|
|
3483
3484
|
error: string;
|
|
3484
3485
|
success: boolean;
|
|
3485
|
-
operation: "modify_message_labels";
|
|
3486
3486
|
message_id?: string | undefined;
|
|
3487
3487
|
label_ids?: string[] | undefined;
|
|
3488
3488
|
}, {
|
|
3489
|
+
operation: "modify_message_labels";
|
|
3489
3490
|
error: string;
|
|
3490
3491
|
success: boolean;
|
|
3491
|
-
operation: "modify_message_labels";
|
|
3492
3492
|
message_id?: string | undefined;
|
|
3493
3493
|
label_ids?: string[] | undefined;
|
|
3494
3494
|
}>, z.ZodObject<{
|
|
@@ -3497,14 +3497,14 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
3497
3497
|
thread_id: z.ZodOptional<z.ZodString>;
|
|
3498
3498
|
error: z.ZodString;
|
|
3499
3499
|
}, "strip", z.ZodTypeAny, {
|
|
3500
|
+
operation: "modify_thread_labels";
|
|
3500
3501
|
error: string;
|
|
3501
3502
|
success: boolean;
|
|
3502
|
-
operation: "modify_thread_labels";
|
|
3503
3503
|
thread_id?: string | undefined;
|
|
3504
3504
|
}, {
|
|
3505
|
+
operation: "modify_thread_labels";
|
|
3505
3506
|
error: string;
|
|
3506
3507
|
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";
|