@bubblelab/bubble-core 0.1.10 → 0.1.11
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 +759 -350
- package/dist/bubble-factory.d.ts.map +1 -1
- package/dist/bubble-factory.js +125 -35
- package/dist/bubble-factory.js.map +1 -1
- package/dist/bubble-flow/bubble-flow-class.d.ts +5 -0
- package/dist/bubble-flow/bubble-flow-class.d.ts.map +1 -1
- package/dist/bubble-flow/bubble-flow-class.js +20 -0
- package/dist/bubble-flow/bubble-flow-class.js.map +1 -1
- package/dist/bubble-flow/sample/simplified-data-analysis.flow.d.ts.map +1 -1
- package/dist/bubble-flow/sample/simplified-data-analysis.flow.js +6 -3
- package/dist/bubble-flow/sample/simplified-data-analysis.flow.js.map +1 -1
- package/dist/bubbles/service-bubble/agi-inc.d.ts +1121 -0
- package/dist/bubbles/service-bubble/agi-inc.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/agi-inc.js +730 -0
- package/dist/bubbles/service-bubble/agi-inc.js.map +1 -0
- package/dist/bubbles/service-bubble/ai-agent.d.ts +277 -65
- package/dist/bubbles/service-bubble/ai-agent.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/ai-agent.js +533 -399
- package/dist/bubbles/service-bubble/ai-agent.js.map +1 -1
- package/dist/bubbles/service-bubble/airtable.d.ts +1753 -0
- package/dist/bubbles/service-bubble/airtable.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/airtable.js +1173 -0
- package/dist/bubbles/service-bubble/airtable.js.map +1 -0
- package/dist/bubbles/service-bubble/apify/actors/google-maps-scraper.d.ts +240 -0
- package/dist/bubbles/service-bubble/apify/actors/google-maps-scraper.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/apify/actors/google-maps-scraper.js +119 -0
- package/dist/bubbles/service-bubble/apify/actors/google-maps-scraper.js.map +1 -0
- package/dist/bubbles/service-bubble/apify/actors/instagram-hashtag-scraper.d.ts +4 -4
- package/dist/bubbles/service-bubble/apify/actors/instagram-scraper.d.ts +14 -14
- package/dist/bubbles/service-bubble/apify/actors/linkedin-jobs-scraper.d.ts +137 -0
- package/dist/bubbles/service-bubble/apify/actors/linkedin-jobs-scraper.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/apify/actors/linkedin-jobs-scraper.js +81 -0
- package/dist/bubbles/service-bubble/apify/actors/linkedin-jobs-scraper.js.map +1 -0
- package/dist/bubbles/service-bubble/apify/actors/linkedin-posts-search.d.ts +6 -6
- package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-posts.d.ts +32 -32
- package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.d.ts +488 -0
- package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.js +463 -0
- package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.js.map +1 -0
- package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.d.ts +262 -0
- package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.js +291 -0
- package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.js.map +1 -0
- package/dist/bubbles/service-bubble/apify/actors/youtube-scraper.d.ts +12 -12
- package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts +1301 -170
- package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/apify/apify-scraper.schema.js +32 -0
- package/dist/bubbles/service-bubble/apify/apify-scraper.schema.js.map +1 -1
- package/dist/bubbles/service-bubble/apify/apify.d.ts +162 -17
- package/dist/bubbles/service-bubble/apify/apify.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/apify/apify.js +205 -32
- package/dist/bubbles/service-bubble/apify/apify.js.map +1 -1
- package/dist/bubbles/service-bubble/eleven-labs.d.ts +421 -0
- package/dist/bubbles/service-bubble/eleven-labs.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/eleven-labs.js +479 -0
- package/dist/bubbles/service-bubble/eleven-labs.js.map +1 -0
- package/dist/bubbles/service-bubble/firecrawl.d.ts +37748 -0
- package/dist/bubbles/service-bubble/firecrawl.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/firecrawl.js +1489 -0
- package/dist/bubbles/service-bubble/firecrawl.js.map +1 -0
- package/dist/bubbles/service-bubble/followupboss.d.ts +6822 -0
- package/dist/bubbles/service-bubble/followupboss.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/followupboss.js +1394 -0
- package/dist/bubbles/service-bubble/followupboss.js.map +1 -0
- package/dist/bubbles/service-bubble/github.d.ts +2399 -0
- package/dist/bubbles/service-bubble/github.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/github.js +1052 -0
- package/dist/bubbles/service-bubble/github.js.map +1 -0
- package/dist/bubbles/service-bubble/gmail.d.ts +180 -180
- package/dist/bubbles/service-bubble/google-calendar.d.ts +60 -60
- package/dist/bubbles/service-bubble/google-drive.d.ts +37 -36
- package/dist/bubbles/service-bubble/google-drive.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/google-drive.js +35 -3
- package/dist/bubbles/service-bubble/google-drive.js.map +1 -1
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +943 -0
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.integration.flow.d.ts +31 -0
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.integration.flow.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.integration.flow.js +184 -0
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.integration.flow.js.map +1 -0
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.js +401 -0
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.js.map +1 -0
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts +1024 -0
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/{google-sheets.js → google-sheets/google-sheets.schema.js} +45 -409
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.js.map +1 -0
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.utils.d.ts +38 -0
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.utils.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.utils.js +183 -0
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.utils.js.map +1 -0
- package/dist/bubbles/service-bubble/google-sheets/index.d.ts +4 -0
- package/dist/bubbles/service-bubble/google-sheets/index.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/google-sheets/index.js +4 -0
- package/dist/bubbles/service-bubble/google-sheets/index.js.map +1 -0
- package/dist/bubbles/service-bubble/hello-world.d.ts +4 -4
- package/dist/bubbles/service-bubble/http.d.ts +4 -4
- package/dist/bubbles/service-bubble/http.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/http.js +7 -1
- package/dist/bubbles/service-bubble/http.js.map +1 -1
- package/dist/bubbles/service-bubble/insforge-db.d.ts +140 -0
- package/dist/bubbles/service-bubble/insforge-db.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/insforge-db.js +260 -0
- package/dist/bubbles/service-bubble/insforge-db.js.map +1 -0
- package/dist/bubbles/service-bubble/notion/index.d.ts +3 -0
- package/dist/bubbles/service-bubble/notion/index.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/notion/index.js +3 -0
- package/dist/bubbles/service-bubble/notion/index.js.map +1 -0
- package/dist/bubbles/service-bubble/notion/notion.d.ts +35405 -0
- package/dist/bubbles/service-bubble/notion/notion.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/notion/notion.js +1492 -0
- package/dist/bubbles/service-bubble/notion/notion.js.map +1 -0
- package/dist/bubbles/service-bubble/notion/property-schemas.d.ts +1148 -0
- package/dist/bubbles/service-bubble/notion/property-schemas.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/notion/property-schemas.js +341 -0
- package/dist/bubbles/service-bubble/notion/property-schemas.js.map +1 -0
- package/dist/bubbles/service-bubble/postgresql.d.ts +12 -12
- package/dist/bubbles/service-bubble/resend.d.ts +34 -13
- package/dist/bubbles/service-bubble/resend.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/resend.js +133 -2
- package/dist/bubbles/service-bubble/resend.js.map +1 -1
- package/dist/bubbles/service-bubble/slack.d.ts +241 -241
- package/dist/bubbles/service-bubble/slack.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/slack.js +2 -2
- package/dist/bubbles/service-bubble/slack.js.map +1 -1
- package/dist/bubbles/service-bubble/storage.d.ts +25 -21
- package/dist/bubbles/service-bubble/storage.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/storage.js +43 -2
- package/dist/bubbles/service-bubble/storage.js.map +1 -1
- package/dist/bubbles/service-bubble/telegram.d.ts +7742 -0
- package/dist/bubbles/service-bubble/telegram.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/telegram.js +1132 -0
- package/dist/bubbles/service-bubble/telegram.js.map +1 -0
- package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +76 -20
- package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts.map +1 -1
- package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.js +12 -0
- package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.js.map +1 -1
- package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +14 -14
- package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +188 -0
- package/dist/bubbles/tool-bubble/code-edit-tool.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/code-edit-tool.js +321 -0
- package/dist/bubbles/tool-bubble/code-edit-tool.js.map +1 -0
- package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts +8 -4
- package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts.map +1 -1
- package/dist/bubbles/tool-bubble/get-bubble-details-tool.js +115 -10
- package/dist/bubbles/tool-bubble/get-bubble-details-tool.js.map +1 -1
- package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +455 -0
- package/dist/bubbles/tool-bubble/google-maps-tool.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/google-maps-tool.js +205 -0
- package/dist/bubbles/tool-bubble/google-maps-tool.js.map +1 -0
- package/dist/bubbles/tool-bubble/instagram-tool.d.ts +36 -36
- package/dist/bubbles/tool-bubble/instagram-tool.d.ts.map +1 -1
- package/dist/bubbles/tool-bubble/instagram-tool.js +2 -2
- package/dist/bubbles/tool-bubble/instagram-tool.js.map +1 -1
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +824 -447
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts.map +1 -1
- package/dist/bubbles/tool-bubble/linkedin-tool.js +232 -12
- package/dist/bubbles/tool-bubble/linkedin-tool.js.map +1 -1
- package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +66 -66
- package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +17 -16
- package/dist/bubbles/tool-bubble/research-agent-tool.d.ts.map +1 -1
- package/dist/bubbles/tool-bubble/research-agent-tool.js +26 -16
- package/dist/bubbles/tool-bubble/research-agent-tool.js.map +1 -1
- package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +485 -0
- package/dist/bubbles/tool-bubble/tiktok-tool.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/tiktok-tool.js +226 -0
- package/dist/bubbles/tool-bubble/tiktok-tool.js.map +1 -0
- package/dist/bubbles/tool-bubble/tool-template.d.ts +8 -8
- package/dist/bubbles/tool-bubble/twitter-tool.d.ts +947 -0
- package/dist/bubbles/tool-bubble/twitter-tool.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/twitter-tool.js +494 -0
- package/dist/bubbles/tool-bubble/twitter-tool.js.map +1 -0
- package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +22 -16
- package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts.map +1 -1
- package/dist/bubbles/tool-bubble/web-crawl-tool.js +58 -59
- package/dist/bubbles/tool-bubble/web-crawl-tool.js.map +1 -1
- package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/web-extract-tool.d.ts.map +1 -1
- package/dist/bubbles/tool-bubble/web-extract-tool.js +17 -17
- package/dist/bubbles/tool-bubble/web-extract-tool.js.map +1 -1
- package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +15 -107
- package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts.map +1 -1
- package/dist/bubbles/tool-bubble/web-scrape-tool.js +51 -72
- package/dist/bubbles/tool-bubble/web-scrape-tool.js.map +1 -1
- package/dist/bubbles/tool-bubble/web-search-tool.d.ts +20 -9
- package/dist/bubbles/tool-bubble/web-search-tool.d.ts.map +1 -1
- package/dist/bubbles/tool-bubble/web-search-tool.js +45 -35
- package/dist/bubbles/tool-bubble/web-search-tool.js.map +1 -1
- package/dist/bubbles/tool-bubble/youtube-tool.d.ts +25 -25
- package/dist/bubbles/tool-bubble/youtube-tool.d.ts.map +1 -1
- package/dist/bubbles/tool-bubble/youtube-tool.js +5 -5
- package/dist/bubbles/tool-bubble/youtube-tool.js.map +1 -1
- package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
- package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +30 -30
- package/dist/bubbles/workflow-bubble/generate-document.workflow.js +1 -1
- package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +22 -22
- package/dist/bubbles/workflow-bubble/parse-document.workflow.js +1 -1
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +54 -54
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts.map +1 -1
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.js +4 -4
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.js.map +1 -1
- package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +36 -36
- package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.js +1 -1
- package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +14 -14
- package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts.map +1 -1
- package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.js +6 -6
- package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.js.map +1 -1
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +26 -26
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts.map +1 -1
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.js +24 -4
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.js.map +1 -1
- package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +19 -19
- package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts.map +1 -1
- package/dist/bubbles/workflow-bubble/slack-notifier.workflow.js +8 -8
- package/dist/bubbles/workflow-bubble/slack-notifier.workflow.js.map +1 -1
- package/dist/bubbles.json +220 -72
- package/dist/index.d.ts +23 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +16 -3
- package/dist/index.js.map +1 -1
- package/dist/logging/BubbleLogger.d.ts +45 -16
- package/dist/logging/BubbleLogger.d.ts.map +1 -1
- package/dist/logging/BubbleLogger.js +178 -77
- package/dist/logging/BubbleLogger.js.map +1 -1
- package/dist/logging/StreamingBubbleLogger.d.ts +13 -1
- package/dist/logging/StreamingBubbleLogger.d.ts.map +1 -1
- package/dist/logging/StreamingBubbleLogger.js +51 -8
- package/dist/logging/StreamingBubbleLogger.js.map +1 -1
- package/dist/logging/WebhookStreamLogger.d.ts +66 -0
- package/dist/logging/WebhookStreamLogger.d.ts.map +1 -0
- package/dist/logging/WebhookStreamLogger.js +291 -0
- package/dist/logging/WebhookStreamLogger.js.map +1 -0
- package/dist/types/available-tools.d.ts +1 -1
- package/dist/types/available-tools.d.ts.map +1 -1
- package/dist/types/available-tools.js +1 -0
- package/dist/types/available-tools.js.map +1 -1
- package/dist/types/base-bubble-class.d.ts +6 -4
- package/dist/types/base-bubble-class.d.ts.map +1 -1
- package/dist/types/base-bubble-class.js +35 -20
- package/dist/types/base-bubble-class.js.map +1 -1
- package/dist/types/bubble.d.ts +2 -0
- package/dist/types/bubble.d.ts.map +1 -1
- package/dist/types/service-bubble-class.d.ts +1 -1
- package/dist/types/service-bubble-class.d.ts.map +1 -1
- package/dist/types/service-bubble-class.js +2 -2
- package/dist/types/service-bubble-class.js.map +1 -1
- package/dist/types/tool-bubble-class.d.ts +1 -1
- package/dist/types/tool-bubble-class.d.ts.map +1 -1
- package/dist/types/tool-bubble-class.js +2 -2
- package/dist/types/tool-bubble-class.js.map +1 -1
- package/dist/types/workflow-bubble-class.d.ts +1 -1
- package/dist/types/workflow-bubble-class.d.ts.map +1 -1
- package/dist/types/workflow-bubble-class.js +2 -2
- package/dist/types/workflow-bubble-class.js.map +1 -1
- package/dist/utils/agent-formatter.d.ts +14 -2
- package/dist/utils/agent-formatter.d.ts.map +1 -1
- package/dist/utils/agent-formatter.js +174 -26
- package/dist/utils/agent-formatter.js.map +1 -1
- package/dist/utils/bubbleflow-validation.d.ts +7 -0
- package/dist/utils/bubbleflow-validation.d.ts.map +1 -1
- package/dist/utils/bubbleflow-validation.js +171 -6
- package/dist/utils/bubbleflow-validation.js.map +1 -1
- package/dist/utils/json-parsing.d.ts.map +1 -1
- package/dist/utils/json-parsing.js +146 -0
- package/dist/utils/json-parsing.js.map +1 -1
- package/dist/utils/safe-gemini-chat.d.ts +31 -0
- package/dist/utils/safe-gemini-chat.d.ts.map +1 -0
- package/dist/utils/safe-gemini-chat.js +93 -0
- package/dist/utils/safe-gemini-chat.js.map +1 -0
- package/dist/utils/schema-comparison.d.ts +92 -0
- package/dist/utils/schema-comparison.d.ts.map +1 -0
- package/dist/utils/schema-comparison.js +716 -0
- package/dist/utils/schema-comparison.js.map +1 -0
- package/dist/utils/zod-schema.d.ts +24 -0
- package/dist/utils/zod-schema.d.ts.map +1 -0
- package/dist/utils/zod-schema.js +56 -0
- package/dist/utils/zod-schema.js.map +1 -0
- package/package.json +5 -4
- package/dist/bubbles/service-bubble/google-sheets.d.ts +0 -1811
- package/dist/bubbles/service-bubble/google-sheets.d.ts.map +0 -1
- package/dist/bubbles/service-bubble/google-sheets.js.map +0 -1
- package/dist/bubbles/service-bubble/x-twitter.d.ts +0 -814
- package/dist/bubbles/service-bubble/x-twitter.d.ts.map +0 -1
- package/dist/bubbles/service-bubble/x-twitter.js +0 -445
- package/dist/bubbles/service-bubble/x-twitter.js.map +0 -1
- package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.d.ts +0 -125
- package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.d.ts.map +0 -1
- package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.js +0 -808
- package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.js.map +0 -1
- package/dist/test-gm.d.ts +0 -10
- package/dist/test-gm.d.ts.map +0 -1
- package/dist/test-gm.js +0 -95
- package/dist/test-gm.js.map +0 -1
- package/dist/utils/param-helper.d.ts +0 -2
- package/dist/utils/param-helper.d.ts.map +0 -1
- package/dist/utils/param-helper.js +0 -5
- package/dist/utils/param-helper.js.map +0 -1
|
@@ -69,7 +69,7 @@ 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: "metadata" | "
|
|
72
|
+
format: "metadata" | "minimal" | "raw" | "full";
|
|
73
73
|
operation: "get_email";
|
|
74
74
|
message_id: string;
|
|
75
75
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
@@ -77,7 +77,7 @@ declare const GmailParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
77
77
|
}, {
|
|
78
78
|
operation: "get_email";
|
|
79
79
|
message_id: string;
|
|
80
|
-
format?: "metadata" | "
|
|
80
|
+
format?: "metadata" | "minimal" | "raw" | "full" | undefined;
|
|
81
81
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
82
82
|
metadata_headers?: string[] | undefined;
|
|
83
83
|
}>, z.ZodObject<{
|
|
@@ -313,17 +313,17 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
313
313
|
thread_id: z.ZodOptional<z.ZodString>;
|
|
314
314
|
error: z.ZodString;
|
|
315
315
|
}, "strip", z.ZodTypeAny, {
|
|
316
|
-
success: boolean;
|
|
317
316
|
error: string;
|
|
317
|
+
success: boolean;
|
|
318
318
|
operation: "send_email";
|
|
319
|
-
thread_id?: string | undefined;
|
|
320
319
|
message_id?: string | undefined;
|
|
320
|
+
thread_id?: string | undefined;
|
|
321
321
|
}, {
|
|
322
|
-
success: boolean;
|
|
323
322
|
error: string;
|
|
323
|
+
success: boolean;
|
|
324
324
|
operation: "send_email";
|
|
325
|
-
thread_id?: string | undefined;
|
|
326
325
|
message_id?: string | undefined;
|
|
326
|
+
thread_id?: string | undefined;
|
|
327
327
|
}>, z.ZodObject<{
|
|
328
328
|
operation: z.ZodLiteral<"list_emails">;
|
|
329
329
|
success: z.ZodBoolean;
|
|
@@ -365,6 +365,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
365
365
|
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
366
366
|
}, "strip", z.ZodTypeAny, {
|
|
367
367
|
mimeType?: string | undefined;
|
|
368
|
+
parts?: any[] | undefined;
|
|
368
369
|
headers?: {
|
|
369
370
|
value: string;
|
|
370
371
|
name: string;
|
|
@@ -374,9 +375,9 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
374
375
|
size?: number | undefined;
|
|
375
376
|
attachmentId?: string | undefined;
|
|
376
377
|
} | undefined;
|
|
377
|
-
parts?: any[] | undefined;
|
|
378
378
|
}, {
|
|
379
379
|
mimeType?: string | undefined;
|
|
380
|
+
parts?: any[] | undefined;
|
|
380
381
|
headers?: {
|
|
381
382
|
value: string;
|
|
382
383
|
name: string;
|
|
@@ -386,7 +387,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
386
387
|
size?: number | undefined;
|
|
387
388
|
attachmentId?: string | undefined;
|
|
388
389
|
} | undefined;
|
|
389
|
-
parts?: any[] | undefined;
|
|
390
390
|
}>>;
|
|
391
391
|
}, "strip", z.ZodTypeAny, {
|
|
392
392
|
id: string;
|
|
@@ -400,6 +400,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
400
400
|
raw?: string | undefined;
|
|
401
401
|
payload?: {
|
|
402
402
|
mimeType?: string | undefined;
|
|
403
|
+
parts?: any[] | undefined;
|
|
403
404
|
headers?: {
|
|
404
405
|
value: string;
|
|
405
406
|
name: string;
|
|
@@ -409,7 +410,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
409
410
|
size?: number | undefined;
|
|
410
411
|
attachmentId?: string | undefined;
|
|
411
412
|
} | undefined;
|
|
412
|
-
parts?: any[] | undefined;
|
|
413
413
|
} | undefined;
|
|
414
414
|
}, {
|
|
415
415
|
id: string;
|
|
@@ -423,6 +423,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
423
423
|
raw?: string | undefined;
|
|
424
424
|
payload?: {
|
|
425
425
|
mimeType?: string | undefined;
|
|
426
|
+
parts?: any[] | undefined;
|
|
426
427
|
headers?: {
|
|
427
428
|
value: string;
|
|
428
429
|
name: string;
|
|
@@ -432,15 +433,14 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
432
433
|
size?: number | undefined;
|
|
433
434
|
attachmentId?: string | undefined;
|
|
434
435
|
} | undefined;
|
|
435
|
-
parts?: any[] | undefined;
|
|
436
436
|
} | undefined;
|
|
437
437
|
}>, "many">>;
|
|
438
438
|
next_page_token: z.ZodOptional<z.ZodString>;
|
|
439
439
|
result_size_estimate: z.ZodOptional<z.ZodNumber>;
|
|
440
440
|
error: z.ZodString;
|
|
441
441
|
}, "strip", z.ZodTypeAny, {
|
|
442
|
-
success: boolean;
|
|
443
442
|
error: string;
|
|
443
|
+
success: boolean;
|
|
444
444
|
operation: "list_emails";
|
|
445
445
|
messages?: {
|
|
446
446
|
id: string;
|
|
@@ -454,6 +454,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
454
454
|
raw?: string | undefined;
|
|
455
455
|
payload?: {
|
|
456
456
|
mimeType?: string | undefined;
|
|
457
|
+
parts?: any[] | undefined;
|
|
457
458
|
headers?: {
|
|
458
459
|
value: string;
|
|
459
460
|
name: string;
|
|
@@ -463,14 +464,13 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
463
464
|
size?: number | undefined;
|
|
464
465
|
attachmentId?: string | undefined;
|
|
465
466
|
} | undefined;
|
|
466
|
-
parts?: any[] | undefined;
|
|
467
467
|
} | undefined;
|
|
468
468
|
}[] | undefined;
|
|
469
469
|
next_page_token?: string | undefined;
|
|
470
470
|
result_size_estimate?: number | undefined;
|
|
471
471
|
}, {
|
|
472
|
-
success: boolean;
|
|
473
472
|
error: string;
|
|
473
|
+
success: boolean;
|
|
474
474
|
operation: "list_emails";
|
|
475
475
|
messages?: {
|
|
476
476
|
id: string;
|
|
@@ -484,6 +484,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
484
484
|
raw?: string | undefined;
|
|
485
485
|
payload?: {
|
|
486
486
|
mimeType?: string | undefined;
|
|
487
|
+
parts?: any[] | undefined;
|
|
487
488
|
headers?: {
|
|
488
489
|
value: string;
|
|
489
490
|
name: string;
|
|
@@ -493,7 +494,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
493
494
|
size?: number | undefined;
|
|
494
495
|
attachmentId?: string | undefined;
|
|
495
496
|
} | undefined;
|
|
496
|
-
parts?: any[] | undefined;
|
|
497
497
|
} | undefined;
|
|
498
498
|
}[] | undefined;
|
|
499
499
|
next_page_token?: string | undefined;
|
|
@@ -539,6 +539,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
539
539
|
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
540
540
|
}, "strip", z.ZodTypeAny, {
|
|
541
541
|
mimeType?: string | undefined;
|
|
542
|
+
parts?: any[] | undefined;
|
|
542
543
|
headers?: {
|
|
543
544
|
value: string;
|
|
544
545
|
name: string;
|
|
@@ -548,9 +549,9 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
548
549
|
size?: number | undefined;
|
|
549
550
|
attachmentId?: string | undefined;
|
|
550
551
|
} | undefined;
|
|
551
|
-
parts?: any[] | undefined;
|
|
552
552
|
}, {
|
|
553
553
|
mimeType?: string | undefined;
|
|
554
|
+
parts?: any[] | undefined;
|
|
554
555
|
headers?: {
|
|
555
556
|
value: string;
|
|
556
557
|
name: string;
|
|
@@ -560,7 +561,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
560
561
|
size?: number | undefined;
|
|
561
562
|
attachmentId?: string | undefined;
|
|
562
563
|
} | undefined;
|
|
563
|
-
parts?: any[] | undefined;
|
|
564
564
|
}>>;
|
|
565
565
|
}, "strip", z.ZodTypeAny, {
|
|
566
566
|
id: string;
|
|
@@ -574,6 +574,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
574
574
|
raw?: string | undefined;
|
|
575
575
|
payload?: {
|
|
576
576
|
mimeType?: string | undefined;
|
|
577
|
+
parts?: any[] | undefined;
|
|
577
578
|
headers?: {
|
|
578
579
|
value: string;
|
|
579
580
|
name: string;
|
|
@@ -583,7 +584,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
583
584
|
size?: number | undefined;
|
|
584
585
|
attachmentId?: string | undefined;
|
|
585
586
|
} | undefined;
|
|
586
|
-
parts?: any[] | undefined;
|
|
587
587
|
} | undefined;
|
|
588
588
|
}, {
|
|
589
589
|
id: string;
|
|
@@ -597,6 +597,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
597
597
|
raw?: string | undefined;
|
|
598
598
|
payload?: {
|
|
599
599
|
mimeType?: string | undefined;
|
|
600
|
+
parts?: any[] | undefined;
|
|
600
601
|
headers?: {
|
|
601
602
|
value: string;
|
|
602
603
|
name: string;
|
|
@@ -606,13 +607,12 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
606
607
|
size?: number | undefined;
|
|
607
608
|
attachmentId?: string | undefined;
|
|
608
609
|
} | undefined;
|
|
609
|
-
parts?: any[] | undefined;
|
|
610
610
|
} | undefined;
|
|
611
611
|
}>>;
|
|
612
612
|
error: z.ZodString;
|
|
613
613
|
}, "strip", z.ZodTypeAny, {
|
|
614
|
-
success: boolean;
|
|
615
614
|
error: string;
|
|
615
|
+
success: boolean;
|
|
616
616
|
operation: "get_email";
|
|
617
617
|
message?: {
|
|
618
618
|
id: string;
|
|
@@ -626,6 +626,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
626
626
|
raw?: string | undefined;
|
|
627
627
|
payload?: {
|
|
628
628
|
mimeType?: string | undefined;
|
|
629
|
+
parts?: any[] | undefined;
|
|
629
630
|
headers?: {
|
|
630
631
|
value: string;
|
|
631
632
|
name: string;
|
|
@@ -635,12 +636,11 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
635
636
|
size?: number | undefined;
|
|
636
637
|
attachmentId?: string | undefined;
|
|
637
638
|
} | undefined;
|
|
638
|
-
parts?: any[] | undefined;
|
|
639
639
|
} | undefined;
|
|
640
640
|
} | undefined;
|
|
641
641
|
}, {
|
|
642
|
-
success: boolean;
|
|
643
642
|
error: string;
|
|
643
|
+
success: boolean;
|
|
644
644
|
operation: "get_email";
|
|
645
645
|
message?: {
|
|
646
646
|
id: string;
|
|
@@ -654,6 +654,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
654
654
|
raw?: string | undefined;
|
|
655
655
|
payload?: {
|
|
656
656
|
mimeType?: string | undefined;
|
|
657
|
+
parts?: any[] | undefined;
|
|
657
658
|
headers?: {
|
|
658
659
|
value: string;
|
|
659
660
|
name: string;
|
|
@@ -663,7 +664,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
663
664
|
size?: number | undefined;
|
|
664
665
|
attachmentId?: string | undefined;
|
|
665
666
|
} | undefined;
|
|
666
|
-
parts?: any[] | undefined;
|
|
667
667
|
} | undefined;
|
|
668
668
|
} | undefined;
|
|
669
669
|
}>, z.ZodObject<{
|
|
@@ -707,6 +707,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
707
707
|
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
708
708
|
}, "strip", z.ZodTypeAny, {
|
|
709
709
|
mimeType?: string | undefined;
|
|
710
|
+
parts?: any[] | undefined;
|
|
710
711
|
headers?: {
|
|
711
712
|
value: string;
|
|
712
713
|
name: string;
|
|
@@ -716,9 +717,9 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
716
717
|
size?: number | undefined;
|
|
717
718
|
attachmentId?: string | undefined;
|
|
718
719
|
} | undefined;
|
|
719
|
-
parts?: any[] | undefined;
|
|
720
720
|
}, {
|
|
721
721
|
mimeType?: string | undefined;
|
|
722
|
+
parts?: any[] | undefined;
|
|
722
723
|
headers?: {
|
|
723
724
|
value: string;
|
|
724
725
|
name: string;
|
|
@@ -728,7 +729,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
728
729
|
size?: number | undefined;
|
|
729
730
|
attachmentId?: string | undefined;
|
|
730
731
|
} | undefined;
|
|
731
|
-
parts?: any[] | undefined;
|
|
732
732
|
}>>;
|
|
733
733
|
}, "strip", z.ZodTypeAny, {
|
|
734
734
|
id: string;
|
|
@@ -742,6 +742,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
742
742
|
raw?: string | undefined;
|
|
743
743
|
payload?: {
|
|
744
744
|
mimeType?: string | undefined;
|
|
745
|
+
parts?: any[] | undefined;
|
|
745
746
|
headers?: {
|
|
746
747
|
value: string;
|
|
747
748
|
name: string;
|
|
@@ -751,7 +752,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
751
752
|
size?: number | undefined;
|
|
752
753
|
attachmentId?: string | undefined;
|
|
753
754
|
} | undefined;
|
|
754
|
-
parts?: any[] | undefined;
|
|
755
755
|
} | undefined;
|
|
756
756
|
}, {
|
|
757
757
|
id: string;
|
|
@@ -765,6 +765,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
765
765
|
raw?: string | undefined;
|
|
766
766
|
payload?: {
|
|
767
767
|
mimeType?: string | undefined;
|
|
768
|
+
parts?: any[] | undefined;
|
|
768
769
|
headers?: {
|
|
769
770
|
value: string;
|
|
770
771
|
name: string;
|
|
@@ -774,14 +775,13 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
774
775
|
size?: number | undefined;
|
|
775
776
|
attachmentId?: string | undefined;
|
|
776
777
|
} | undefined;
|
|
777
|
-
parts?: any[] | undefined;
|
|
778
778
|
} | undefined;
|
|
779
779
|
}>, "many">>;
|
|
780
780
|
result_size_estimate: z.ZodOptional<z.ZodNumber>;
|
|
781
781
|
error: z.ZodString;
|
|
782
782
|
}, "strip", z.ZodTypeAny, {
|
|
783
|
-
success: boolean;
|
|
784
783
|
error: string;
|
|
784
|
+
success: boolean;
|
|
785
785
|
operation: "search_emails";
|
|
786
786
|
messages?: {
|
|
787
787
|
id: string;
|
|
@@ -795,6 +795,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
795
795
|
raw?: string | undefined;
|
|
796
796
|
payload?: {
|
|
797
797
|
mimeType?: string | undefined;
|
|
798
|
+
parts?: any[] | undefined;
|
|
798
799
|
headers?: {
|
|
799
800
|
value: string;
|
|
800
801
|
name: string;
|
|
@@ -804,13 +805,12 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
804
805
|
size?: number | undefined;
|
|
805
806
|
attachmentId?: string | undefined;
|
|
806
807
|
} | undefined;
|
|
807
|
-
parts?: any[] | undefined;
|
|
808
808
|
} | undefined;
|
|
809
809
|
}[] | undefined;
|
|
810
810
|
result_size_estimate?: number | undefined;
|
|
811
811
|
}, {
|
|
812
|
-
success: boolean;
|
|
813
812
|
error: string;
|
|
813
|
+
success: boolean;
|
|
814
814
|
operation: "search_emails";
|
|
815
815
|
messages?: {
|
|
816
816
|
id: string;
|
|
@@ -824,6 +824,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
824
824
|
raw?: string | undefined;
|
|
825
825
|
payload?: {
|
|
826
826
|
mimeType?: string | undefined;
|
|
827
|
+
parts?: any[] | undefined;
|
|
827
828
|
headers?: {
|
|
828
829
|
value: string;
|
|
829
830
|
name: string;
|
|
@@ -833,7 +834,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
833
834
|
size?: number | undefined;
|
|
834
835
|
attachmentId?: string | undefined;
|
|
835
836
|
} | undefined;
|
|
836
|
-
parts?: any[] | undefined;
|
|
837
837
|
} | undefined;
|
|
838
838
|
}[] | undefined;
|
|
839
839
|
result_size_estimate?: number | undefined;
|
|
@@ -843,13 +843,13 @@ 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
|
-
success: boolean;
|
|
847
846
|
error: string;
|
|
847
|
+
success: boolean;
|
|
848
848
|
operation: "mark_as_read";
|
|
849
849
|
modified_messages?: string[] | undefined;
|
|
850
850
|
}, {
|
|
851
|
-
success: boolean;
|
|
852
851
|
error: string;
|
|
852
|
+
success: boolean;
|
|
853
853
|
operation: "mark_as_read";
|
|
854
854
|
modified_messages?: string[] | undefined;
|
|
855
855
|
}>, z.ZodObject<{
|
|
@@ -858,13 +858,13 @@ 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
|
-
success: boolean;
|
|
862
861
|
error: string;
|
|
862
|
+
success: boolean;
|
|
863
863
|
operation: "mark_as_unread";
|
|
864
864
|
modified_messages?: string[] | undefined;
|
|
865
865
|
}, {
|
|
866
|
-
success: boolean;
|
|
867
866
|
error: string;
|
|
867
|
+
success: boolean;
|
|
868
868
|
operation: "mark_as_unread";
|
|
869
869
|
modified_messages?: string[] | undefined;
|
|
870
870
|
}>, z.ZodObject<{
|
|
@@ -910,6 +910,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
910
910
|
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
911
911
|
}, "strip", z.ZodTypeAny, {
|
|
912
912
|
mimeType?: string | undefined;
|
|
913
|
+
parts?: any[] | undefined;
|
|
913
914
|
headers?: {
|
|
914
915
|
value: string;
|
|
915
916
|
name: string;
|
|
@@ -919,9 +920,9 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
919
920
|
size?: number | undefined;
|
|
920
921
|
attachmentId?: string | undefined;
|
|
921
922
|
} | undefined;
|
|
922
|
-
parts?: any[] | undefined;
|
|
923
923
|
}, {
|
|
924
924
|
mimeType?: string | undefined;
|
|
925
|
+
parts?: any[] | undefined;
|
|
925
926
|
headers?: {
|
|
926
927
|
value: string;
|
|
927
928
|
name: string;
|
|
@@ -931,7 +932,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
931
932
|
size?: number | undefined;
|
|
932
933
|
attachmentId?: string | undefined;
|
|
933
934
|
} | undefined;
|
|
934
|
-
parts?: any[] | undefined;
|
|
935
935
|
}>>;
|
|
936
936
|
}, "strip", z.ZodTypeAny, {
|
|
937
937
|
id: string;
|
|
@@ -945,6 +945,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
945
945
|
raw?: string | undefined;
|
|
946
946
|
payload?: {
|
|
947
947
|
mimeType?: string | undefined;
|
|
948
|
+
parts?: any[] | undefined;
|
|
948
949
|
headers?: {
|
|
949
950
|
value: string;
|
|
950
951
|
name: string;
|
|
@@ -954,7 +955,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
954
955
|
size?: number | undefined;
|
|
955
956
|
attachmentId?: string | undefined;
|
|
956
957
|
} | undefined;
|
|
957
|
-
parts?: any[] | undefined;
|
|
958
958
|
} | undefined;
|
|
959
959
|
}, {
|
|
960
960
|
id: string;
|
|
@@ -968,6 +968,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
968
968
|
raw?: string | undefined;
|
|
969
969
|
payload?: {
|
|
970
970
|
mimeType?: string | undefined;
|
|
971
|
+
parts?: any[] | undefined;
|
|
971
972
|
headers?: {
|
|
972
973
|
value: string;
|
|
973
974
|
name: string;
|
|
@@ -977,7 +978,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
977
978
|
size?: number | undefined;
|
|
978
979
|
attachmentId?: string | undefined;
|
|
979
980
|
} | undefined;
|
|
980
|
-
parts?: any[] | undefined;
|
|
981
981
|
} | undefined;
|
|
982
982
|
}>;
|
|
983
983
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -993,6 +993,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
993
993
|
raw?: string | undefined;
|
|
994
994
|
payload?: {
|
|
995
995
|
mimeType?: string | undefined;
|
|
996
|
+
parts?: any[] | undefined;
|
|
996
997
|
headers?: {
|
|
997
998
|
value: string;
|
|
998
999
|
name: string;
|
|
@@ -1002,7 +1003,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1002
1003
|
size?: number | undefined;
|
|
1003
1004
|
attachmentId?: string | undefined;
|
|
1004
1005
|
} | undefined;
|
|
1005
|
-
parts?: any[] | undefined;
|
|
1006
1006
|
} | undefined;
|
|
1007
1007
|
};
|
|
1008
1008
|
id: string;
|
|
@@ -1019,6 +1019,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1019
1019
|
raw?: string | undefined;
|
|
1020
1020
|
payload?: {
|
|
1021
1021
|
mimeType?: string | undefined;
|
|
1022
|
+
parts?: any[] | undefined;
|
|
1022
1023
|
headers?: {
|
|
1023
1024
|
value: string;
|
|
1024
1025
|
name: string;
|
|
@@ -1028,15 +1029,14 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1028
1029
|
size?: number | undefined;
|
|
1029
1030
|
attachmentId?: string | undefined;
|
|
1030
1031
|
} | undefined;
|
|
1031
|
-
parts?: any[] | undefined;
|
|
1032
1032
|
} | undefined;
|
|
1033
1033
|
};
|
|
1034
1034
|
id: string;
|
|
1035
1035
|
}>>;
|
|
1036
1036
|
error: z.ZodString;
|
|
1037
1037
|
}, "strip", z.ZodTypeAny, {
|
|
1038
|
-
success: boolean;
|
|
1039
1038
|
error: string;
|
|
1039
|
+
success: boolean;
|
|
1040
1040
|
operation: "create_draft";
|
|
1041
1041
|
draft?: {
|
|
1042
1042
|
message: {
|
|
@@ -1051,6 +1051,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1051
1051
|
raw?: string | undefined;
|
|
1052
1052
|
payload?: {
|
|
1053
1053
|
mimeType?: string | undefined;
|
|
1054
|
+
parts?: any[] | undefined;
|
|
1054
1055
|
headers?: {
|
|
1055
1056
|
value: string;
|
|
1056
1057
|
name: string;
|
|
@@ -1060,14 +1061,13 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1060
1061
|
size?: number | undefined;
|
|
1061
1062
|
attachmentId?: string | undefined;
|
|
1062
1063
|
} | undefined;
|
|
1063
|
-
parts?: any[] | undefined;
|
|
1064
1064
|
} | undefined;
|
|
1065
1065
|
};
|
|
1066
1066
|
id: string;
|
|
1067
1067
|
} | undefined;
|
|
1068
1068
|
}, {
|
|
1069
|
-
success: boolean;
|
|
1070
1069
|
error: string;
|
|
1070
|
+
success: boolean;
|
|
1071
1071
|
operation: "create_draft";
|
|
1072
1072
|
draft?: {
|
|
1073
1073
|
message: {
|
|
@@ -1082,6 +1082,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1082
1082
|
raw?: string | undefined;
|
|
1083
1083
|
payload?: {
|
|
1084
1084
|
mimeType?: string | undefined;
|
|
1085
|
+
parts?: any[] | undefined;
|
|
1085
1086
|
headers?: {
|
|
1086
1087
|
value: string;
|
|
1087
1088
|
name: string;
|
|
@@ -1091,7 +1092,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1091
1092
|
size?: number | undefined;
|
|
1092
1093
|
attachmentId?: string | undefined;
|
|
1093
1094
|
} | undefined;
|
|
1094
|
-
parts?: any[] | undefined;
|
|
1095
1095
|
} | undefined;
|
|
1096
1096
|
};
|
|
1097
1097
|
id: string;
|
|
@@ -1103,17 +1103,17 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1103
1103
|
thread_id: z.ZodOptional<z.ZodString>;
|
|
1104
1104
|
error: z.ZodString;
|
|
1105
1105
|
}, "strip", z.ZodTypeAny, {
|
|
1106
|
-
success: boolean;
|
|
1107
1106
|
error: string;
|
|
1107
|
+
success: boolean;
|
|
1108
1108
|
operation: "send_draft";
|
|
1109
|
-
thread_id?: string | undefined;
|
|
1110
1109
|
message_id?: string | undefined;
|
|
1110
|
+
thread_id?: string | undefined;
|
|
1111
1111
|
}, {
|
|
1112
|
-
success: boolean;
|
|
1113
1112
|
error: string;
|
|
1113
|
+
success: boolean;
|
|
1114
1114
|
operation: "send_draft";
|
|
1115
|
-
thread_id?: string | undefined;
|
|
1116
1115
|
message_id?: string | undefined;
|
|
1116
|
+
thread_id?: string | undefined;
|
|
1117
1117
|
}>, z.ZodObject<{
|
|
1118
1118
|
operation: z.ZodLiteral<"list_drafts">;
|
|
1119
1119
|
success: z.ZodBoolean;
|
|
@@ -1157,6 +1157,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1157
1157
|
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
1158
1158
|
}, "strip", z.ZodTypeAny, {
|
|
1159
1159
|
mimeType?: string | undefined;
|
|
1160
|
+
parts?: any[] | undefined;
|
|
1160
1161
|
headers?: {
|
|
1161
1162
|
value: string;
|
|
1162
1163
|
name: string;
|
|
@@ -1166,9 +1167,9 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1166
1167
|
size?: number | undefined;
|
|
1167
1168
|
attachmentId?: string | undefined;
|
|
1168
1169
|
} | undefined;
|
|
1169
|
-
parts?: any[] | undefined;
|
|
1170
1170
|
}, {
|
|
1171
1171
|
mimeType?: string | undefined;
|
|
1172
|
+
parts?: any[] | undefined;
|
|
1172
1173
|
headers?: {
|
|
1173
1174
|
value: string;
|
|
1174
1175
|
name: string;
|
|
@@ -1178,7 +1179,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1178
1179
|
size?: number | undefined;
|
|
1179
1180
|
attachmentId?: string | undefined;
|
|
1180
1181
|
} | undefined;
|
|
1181
|
-
parts?: any[] | undefined;
|
|
1182
1182
|
}>>;
|
|
1183
1183
|
}, "strip", z.ZodTypeAny, {
|
|
1184
1184
|
id: string;
|
|
@@ -1192,6 +1192,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1192
1192
|
raw?: string | undefined;
|
|
1193
1193
|
payload?: {
|
|
1194
1194
|
mimeType?: string | undefined;
|
|
1195
|
+
parts?: any[] | undefined;
|
|
1195
1196
|
headers?: {
|
|
1196
1197
|
value: string;
|
|
1197
1198
|
name: string;
|
|
@@ -1201,7 +1202,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1201
1202
|
size?: number | undefined;
|
|
1202
1203
|
attachmentId?: string | undefined;
|
|
1203
1204
|
} | undefined;
|
|
1204
|
-
parts?: any[] | undefined;
|
|
1205
1205
|
} | undefined;
|
|
1206
1206
|
}, {
|
|
1207
1207
|
id: string;
|
|
@@ -1215,6 +1215,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1215
1215
|
raw?: string | undefined;
|
|
1216
1216
|
payload?: {
|
|
1217
1217
|
mimeType?: string | undefined;
|
|
1218
|
+
parts?: any[] | undefined;
|
|
1218
1219
|
headers?: {
|
|
1219
1220
|
value: string;
|
|
1220
1221
|
name: string;
|
|
@@ -1224,7 +1225,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1224
1225
|
size?: number | undefined;
|
|
1225
1226
|
attachmentId?: string | undefined;
|
|
1226
1227
|
} | undefined;
|
|
1227
|
-
parts?: any[] | undefined;
|
|
1228
1228
|
} | undefined;
|
|
1229
1229
|
}>;
|
|
1230
1230
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1240,6 +1240,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1240
1240
|
raw?: string | undefined;
|
|
1241
1241
|
payload?: {
|
|
1242
1242
|
mimeType?: string | undefined;
|
|
1243
|
+
parts?: any[] | undefined;
|
|
1243
1244
|
headers?: {
|
|
1244
1245
|
value: string;
|
|
1245
1246
|
name: string;
|
|
@@ -1249,7 +1250,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1249
1250
|
size?: number | undefined;
|
|
1250
1251
|
attachmentId?: string | undefined;
|
|
1251
1252
|
} | undefined;
|
|
1252
|
-
parts?: any[] | undefined;
|
|
1253
1253
|
} | undefined;
|
|
1254
1254
|
};
|
|
1255
1255
|
id: string;
|
|
@@ -1266,6 +1266,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1266
1266
|
raw?: string | undefined;
|
|
1267
1267
|
payload?: {
|
|
1268
1268
|
mimeType?: string | undefined;
|
|
1269
|
+
parts?: any[] | undefined;
|
|
1269
1270
|
headers?: {
|
|
1270
1271
|
value: string;
|
|
1271
1272
|
name: string;
|
|
@@ -1275,7 +1276,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1275
1276
|
size?: number | undefined;
|
|
1276
1277
|
attachmentId?: string | undefined;
|
|
1277
1278
|
} | undefined;
|
|
1278
|
-
parts?: any[] | undefined;
|
|
1279
1279
|
} | undefined;
|
|
1280
1280
|
};
|
|
1281
1281
|
id: string;
|
|
@@ -1284,8 +1284,8 @@ 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
|
-
success: boolean;
|
|
1288
1287
|
error: string;
|
|
1288
|
+
success: boolean;
|
|
1289
1289
|
operation: "list_drafts";
|
|
1290
1290
|
next_page_token?: string | undefined;
|
|
1291
1291
|
result_size_estimate?: number | undefined;
|
|
@@ -1302,6 +1302,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1302
1302
|
raw?: string | undefined;
|
|
1303
1303
|
payload?: {
|
|
1304
1304
|
mimeType?: string | undefined;
|
|
1305
|
+
parts?: any[] | undefined;
|
|
1305
1306
|
headers?: {
|
|
1306
1307
|
value: string;
|
|
1307
1308
|
name: string;
|
|
@@ -1311,14 +1312,13 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1311
1312
|
size?: number | undefined;
|
|
1312
1313
|
attachmentId?: string | undefined;
|
|
1313
1314
|
} | undefined;
|
|
1314
|
-
parts?: any[] | undefined;
|
|
1315
1315
|
} | undefined;
|
|
1316
1316
|
};
|
|
1317
1317
|
id: string;
|
|
1318
1318
|
}[] | undefined;
|
|
1319
1319
|
}, {
|
|
1320
|
-
success: boolean;
|
|
1321
1320
|
error: string;
|
|
1321
|
+
success: boolean;
|
|
1322
1322
|
operation: "list_drafts";
|
|
1323
1323
|
next_page_token?: string | undefined;
|
|
1324
1324
|
result_size_estimate?: number | undefined;
|
|
@@ -1335,6 +1335,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1335
1335
|
raw?: string | undefined;
|
|
1336
1336
|
payload?: {
|
|
1337
1337
|
mimeType?: string | undefined;
|
|
1338
|
+
parts?: any[] | undefined;
|
|
1338
1339
|
headers?: {
|
|
1339
1340
|
value: string;
|
|
1340
1341
|
name: string;
|
|
@@ -1344,7 +1345,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1344
1345
|
size?: number | undefined;
|
|
1345
1346
|
attachmentId?: string | undefined;
|
|
1346
1347
|
} | undefined;
|
|
1347
|
-
parts?: any[] | undefined;
|
|
1348
1348
|
} | undefined;
|
|
1349
1349
|
};
|
|
1350
1350
|
id: string;
|
|
@@ -1355,13 +1355,13 @@ 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
|
-
success: boolean;
|
|
1359
1358
|
error: string;
|
|
1359
|
+
success: boolean;
|
|
1360
1360
|
operation: "delete_email";
|
|
1361
1361
|
deleted_message_id?: string | undefined;
|
|
1362
1362
|
}, {
|
|
1363
|
-
success: boolean;
|
|
1364
1363
|
error: string;
|
|
1364
|
+
success: boolean;
|
|
1365
1365
|
operation: "delete_email";
|
|
1366
1366
|
deleted_message_id?: string | undefined;
|
|
1367
1367
|
}>, z.ZodObject<{
|
|
@@ -1370,13 +1370,13 @@ 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
|
-
success: boolean;
|
|
1374
1373
|
error: string;
|
|
1374
|
+
success: boolean;
|
|
1375
1375
|
operation: "trash_email";
|
|
1376
1376
|
trashed_message_id?: string | undefined;
|
|
1377
1377
|
}, {
|
|
1378
|
-
success: boolean;
|
|
1379
1378
|
error: string;
|
|
1379
|
+
success: boolean;
|
|
1380
1380
|
operation: "trash_email";
|
|
1381
1381
|
trashed_message_id?: string | undefined;
|
|
1382
1382
|
}>, z.ZodObject<{
|
|
@@ -1423,6 +1423,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1423
1423
|
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
1424
1424
|
}, "strip", z.ZodTypeAny, {
|
|
1425
1425
|
mimeType?: string | undefined;
|
|
1426
|
+
parts?: any[] | undefined;
|
|
1426
1427
|
headers?: {
|
|
1427
1428
|
value: string;
|
|
1428
1429
|
name: string;
|
|
@@ -1432,9 +1433,9 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1432
1433
|
size?: number | undefined;
|
|
1433
1434
|
attachmentId?: string | undefined;
|
|
1434
1435
|
} | undefined;
|
|
1435
|
-
parts?: any[] | undefined;
|
|
1436
1436
|
}, {
|
|
1437
1437
|
mimeType?: string | undefined;
|
|
1438
|
+
parts?: any[] | undefined;
|
|
1438
1439
|
headers?: {
|
|
1439
1440
|
value: string;
|
|
1440
1441
|
name: string;
|
|
@@ -1444,7 +1445,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1444
1445
|
size?: number | undefined;
|
|
1445
1446
|
attachmentId?: string | undefined;
|
|
1446
1447
|
} | undefined;
|
|
1447
|
-
parts?: any[] | undefined;
|
|
1448
1448
|
}>>;
|
|
1449
1449
|
}, "strip", z.ZodTypeAny, {
|
|
1450
1450
|
id: string;
|
|
@@ -1458,6 +1458,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1458
1458
|
raw?: string | undefined;
|
|
1459
1459
|
payload?: {
|
|
1460
1460
|
mimeType?: string | undefined;
|
|
1461
|
+
parts?: any[] | undefined;
|
|
1461
1462
|
headers?: {
|
|
1462
1463
|
value: string;
|
|
1463
1464
|
name: string;
|
|
@@ -1467,7 +1468,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1467
1468
|
size?: number | undefined;
|
|
1468
1469
|
attachmentId?: string | undefined;
|
|
1469
1470
|
} | undefined;
|
|
1470
|
-
parts?: any[] | undefined;
|
|
1471
1471
|
} | undefined;
|
|
1472
1472
|
}, {
|
|
1473
1473
|
id: string;
|
|
@@ -1481,6 +1481,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1481
1481
|
raw?: string | undefined;
|
|
1482
1482
|
payload?: {
|
|
1483
1483
|
mimeType?: string | undefined;
|
|
1484
|
+
parts?: any[] | undefined;
|
|
1484
1485
|
headers?: {
|
|
1485
1486
|
value: string;
|
|
1486
1487
|
name: string;
|
|
@@ -1490,7 +1491,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1490
1491
|
size?: number | undefined;
|
|
1491
1492
|
attachmentId?: string | undefined;
|
|
1492
1493
|
} | undefined;
|
|
1493
|
-
parts?: any[] | undefined;
|
|
1494
1494
|
} | undefined;
|
|
1495
1495
|
}>, "many">>;
|
|
1496
1496
|
snippet: z.ZodOptional<z.ZodString>;
|
|
@@ -1508,6 +1508,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1508
1508
|
raw?: string | undefined;
|
|
1509
1509
|
payload?: {
|
|
1510
1510
|
mimeType?: string | undefined;
|
|
1511
|
+
parts?: any[] | undefined;
|
|
1511
1512
|
headers?: {
|
|
1512
1513
|
value: string;
|
|
1513
1514
|
name: string;
|
|
@@ -1517,7 +1518,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1517
1518
|
size?: number | undefined;
|
|
1518
1519
|
attachmentId?: string | undefined;
|
|
1519
1520
|
} | undefined;
|
|
1520
|
-
parts?: any[] | undefined;
|
|
1521
1521
|
} | undefined;
|
|
1522
1522
|
}[] | undefined;
|
|
1523
1523
|
snippet?: string | undefined;
|
|
@@ -1536,6 +1536,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1536
1536
|
raw?: string | undefined;
|
|
1537
1537
|
payload?: {
|
|
1538
1538
|
mimeType?: string | undefined;
|
|
1539
|
+
parts?: any[] | undefined;
|
|
1539
1540
|
headers?: {
|
|
1540
1541
|
value: string;
|
|
1541
1542
|
name: string;
|
|
@@ -1545,7 +1546,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1545
1546
|
size?: number | undefined;
|
|
1546
1547
|
attachmentId?: string | undefined;
|
|
1547
1548
|
} | undefined;
|
|
1548
|
-
parts?: any[] | undefined;
|
|
1549
1549
|
} | undefined;
|
|
1550
1550
|
}[] | undefined;
|
|
1551
1551
|
snippet?: string | undefined;
|
|
@@ -1555,8 +1555,8 @@ 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
|
-
success: boolean;
|
|
1559
1558
|
error: string;
|
|
1559
|
+
success: boolean;
|
|
1560
1560
|
operation: "list_threads";
|
|
1561
1561
|
next_page_token?: string | undefined;
|
|
1562
1562
|
result_size_estimate?: number | undefined;
|
|
@@ -1574,6 +1574,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1574
1574
|
raw?: string | undefined;
|
|
1575
1575
|
payload?: {
|
|
1576
1576
|
mimeType?: string | undefined;
|
|
1577
|
+
parts?: any[] | undefined;
|
|
1577
1578
|
headers?: {
|
|
1578
1579
|
value: string;
|
|
1579
1580
|
name: string;
|
|
@@ -1583,15 +1584,14 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1583
1584
|
size?: number | undefined;
|
|
1584
1585
|
attachmentId?: string | undefined;
|
|
1585
1586
|
} | undefined;
|
|
1586
|
-
parts?: any[] | undefined;
|
|
1587
1587
|
} | undefined;
|
|
1588
1588
|
}[] | undefined;
|
|
1589
1589
|
snippet?: string | undefined;
|
|
1590
1590
|
historyId?: string | undefined;
|
|
1591
1591
|
}[] | undefined;
|
|
1592
1592
|
}, {
|
|
1593
|
-
success: boolean;
|
|
1594
1593
|
error: string;
|
|
1594
|
+
success: boolean;
|
|
1595
1595
|
operation: "list_threads";
|
|
1596
1596
|
next_page_token?: string | undefined;
|
|
1597
1597
|
result_size_estimate?: number | undefined;
|
|
@@ -1609,6 +1609,7 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1609
1609
|
raw?: string | undefined;
|
|
1610
1610
|
payload?: {
|
|
1611
1611
|
mimeType?: string | undefined;
|
|
1612
|
+
parts?: any[] | undefined;
|
|
1612
1613
|
headers?: {
|
|
1613
1614
|
value: string;
|
|
1614
1615
|
name: string;
|
|
@@ -1618,7 +1619,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1618
1619
|
size?: number | undefined;
|
|
1619
1620
|
attachmentId?: string | undefined;
|
|
1620
1621
|
} | undefined;
|
|
1621
|
-
parts?: any[] | undefined;
|
|
1622
1622
|
} | undefined;
|
|
1623
1623
|
}[] | undefined;
|
|
1624
1624
|
snippet?: string | undefined;
|
|
@@ -1636,36 +1636,36 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1636
1636
|
}, "strip", z.ZodTypeAny, {
|
|
1637
1637
|
name: string;
|
|
1638
1638
|
id: string;
|
|
1639
|
-
type?: "
|
|
1639
|
+
type?: "system" | "user" | undefined;
|
|
1640
1640
|
messageListVisibility?: "show" | "hide" | undefined;
|
|
1641
1641
|
labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
|
|
1642
1642
|
}, {
|
|
1643
1643
|
name: string;
|
|
1644
1644
|
id: string;
|
|
1645
|
-
type?: "
|
|
1645
|
+
type?: "system" | "user" | undefined;
|
|
1646
1646
|
messageListVisibility?: "show" | "hide" | undefined;
|
|
1647
1647
|
labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
|
|
1648
1648
|
}>, "many">>;
|
|
1649
1649
|
error: z.ZodString;
|
|
1650
1650
|
}, "strip", z.ZodTypeAny, {
|
|
1651
|
-
success: boolean;
|
|
1652
1651
|
error: string;
|
|
1652
|
+
success: boolean;
|
|
1653
1653
|
operation: "list_labels";
|
|
1654
1654
|
labels?: {
|
|
1655
1655
|
name: string;
|
|
1656
1656
|
id: string;
|
|
1657
|
-
type?: "
|
|
1657
|
+
type?: "system" | "user" | undefined;
|
|
1658
1658
|
messageListVisibility?: "show" | "hide" | undefined;
|
|
1659
1659
|
labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
|
|
1660
1660
|
}[] | undefined;
|
|
1661
1661
|
}, {
|
|
1662
|
-
success: boolean;
|
|
1663
1662
|
error: string;
|
|
1663
|
+
success: boolean;
|
|
1664
1664
|
operation: "list_labels";
|
|
1665
1665
|
labels?: {
|
|
1666
1666
|
name: string;
|
|
1667
1667
|
id: string;
|
|
1668
|
-
type?: "
|
|
1668
|
+
type?: "system" | "user" | undefined;
|
|
1669
1669
|
messageListVisibility?: "show" | "hide" | undefined;
|
|
1670
1670
|
labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
|
|
1671
1671
|
}[] | undefined;
|
|
@@ -1681,36 +1681,36 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
|
|
|
1681
1681
|
}, "strip", z.ZodTypeAny, {
|
|
1682
1682
|
name: string;
|
|
1683
1683
|
id: string;
|
|
1684
|
-
type?: "
|
|
1684
|
+
type?: "system" | "user" | undefined;
|
|
1685
1685
|
messageListVisibility?: "show" | "hide" | undefined;
|
|
1686
1686
|
labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
|
|
1687
1687
|
}, {
|
|
1688
1688
|
name: string;
|
|
1689
1689
|
id: string;
|
|
1690
|
-
type?: "
|
|
1690
|
+
type?: "system" | "user" | undefined;
|
|
1691
1691
|
messageListVisibility?: "show" | "hide" | undefined;
|
|
1692
1692
|
labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
|
|
1693
1693
|
}>>;
|
|
1694
1694
|
error: z.ZodString;
|
|
1695
1695
|
}, "strip", z.ZodTypeAny, {
|
|
1696
|
-
success: boolean;
|
|
1697
1696
|
error: string;
|
|
1697
|
+
success: boolean;
|
|
1698
1698
|
operation: "create_label";
|
|
1699
1699
|
label?: {
|
|
1700
1700
|
name: string;
|
|
1701
1701
|
id: string;
|
|
1702
|
-
type?: "
|
|
1702
|
+
type?: "system" | "user" | undefined;
|
|
1703
1703
|
messageListVisibility?: "show" | "hide" | undefined;
|
|
1704
1704
|
labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
|
|
1705
1705
|
} | undefined;
|
|
1706
1706
|
}, {
|
|
1707
|
-
success: boolean;
|
|
1708
1707
|
error: string;
|
|
1708
|
+
success: boolean;
|
|
1709
1709
|
operation: "create_label";
|
|
1710
1710
|
label?: {
|
|
1711
1711
|
name: string;
|
|
1712
1712
|
id: string;
|
|
1713
|
-
type?: "
|
|
1713
|
+
type?: "system" | "user" | undefined;
|
|
1714
1714
|
messageListVisibility?: "show" | "hide" | undefined;
|
|
1715
1715
|
labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
|
|
1716
1716
|
} | undefined;
|
|
@@ -1721,30 +1721,30 @@ 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
|
-
success: boolean;
|
|
1725
1724
|
error: string;
|
|
1725
|
+
success: boolean;
|
|
1726
1726
|
operation: "modify_message_labels";
|
|
1727
|
-
label_ids?: string[] | undefined;
|
|
1728
1727
|
message_id?: string | undefined;
|
|
1728
|
+
label_ids?: string[] | undefined;
|
|
1729
1729
|
}, {
|
|
1730
|
-
success: boolean;
|
|
1731
1730
|
error: string;
|
|
1731
|
+
success: boolean;
|
|
1732
1732
|
operation: "modify_message_labels";
|
|
1733
|
-
label_ids?: string[] | undefined;
|
|
1734
1733
|
message_id?: string | undefined;
|
|
1734
|
+
label_ids?: string[] | undefined;
|
|
1735
1735
|
}>, z.ZodObject<{
|
|
1736
1736
|
operation: z.ZodLiteral<"modify_thread_labels">;
|
|
1737
1737
|
success: z.ZodBoolean;
|
|
1738
1738
|
thread_id: z.ZodOptional<z.ZodString>;
|
|
1739
1739
|
error: z.ZodString;
|
|
1740
1740
|
}, "strip", z.ZodTypeAny, {
|
|
1741
|
-
success: boolean;
|
|
1742
1741
|
error: string;
|
|
1742
|
+
success: boolean;
|
|
1743
1743
|
operation: "modify_thread_labels";
|
|
1744
1744
|
thread_id?: string | undefined;
|
|
1745
1745
|
}, {
|
|
1746
|
-
success: boolean;
|
|
1747
1746
|
error: string;
|
|
1747
|
+
success: boolean;
|
|
1748
1748
|
operation: "modify_thread_labels";
|
|
1749
1749
|
thread_id?: string | undefined;
|
|
1750
1750
|
}>]>;
|
|
@@ -1828,7 +1828,7 @@ 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: "metadata" | "
|
|
1831
|
+
format: "metadata" | "minimal" | "raw" | "full";
|
|
1832
1832
|
operation: "get_email";
|
|
1833
1833
|
message_id: string;
|
|
1834
1834
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
@@ -1836,7 +1836,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
1836
1836
|
}, {
|
|
1837
1837
|
operation: "get_email";
|
|
1838
1838
|
message_id: string;
|
|
1839
|
-
format?: "metadata" | "
|
|
1839
|
+
format?: "metadata" | "minimal" | "raw" | "full" | undefined;
|
|
1840
1840
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
1841
1841
|
metadata_headers?: string[] | undefined;
|
|
1842
1842
|
}>, z.ZodObject<{
|
|
@@ -2072,17 +2072,17 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2072
2072
|
thread_id: z.ZodOptional<z.ZodString>;
|
|
2073
2073
|
error: z.ZodString;
|
|
2074
2074
|
}, "strip", z.ZodTypeAny, {
|
|
2075
|
-
success: boolean;
|
|
2076
2075
|
error: string;
|
|
2076
|
+
success: boolean;
|
|
2077
2077
|
operation: "send_email";
|
|
2078
|
-
thread_id?: string | undefined;
|
|
2079
2078
|
message_id?: string | undefined;
|
|
2079
|
+
thread_id?: string | undefined;
|
|
2080
2080
|
}, {
|
|
2081
|
-
success: boolean;
|
|
2082
2081
|
error: string;
|
|
2082
|
+
success: boolean;
|
|
2083
2083
|
operation: "send_email";
|
|
2084
|
-
thread_id?: string | undefined;
|
|
2085
2084
|
message_id?: string | undefined;
|
|
2085
|
+
thread_id?: string | undefined;
|
|
2086
2086
|
}>, z.ZodObject<{
|
|
2087
2087
|
operation: z.ZodLiteral<"list_emails">;
|
|
2088
2088
|
success: z.ZodBoolean;
|
|
@@ -2124,6 +2124,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2124
2124
|
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
2125
2125
|
}, "strip", z.ZodTypeAny, {
|
|
2126
2126
|
mimeType?: string | undefined;
|
|
2127
|
+
parts?: any[] | undefined;
|
|
2127
2128
|
headers?: {
|
|
2128
2129
|
value: string;
|
|
2129
2130
|
name: string;
|
|
@@ -2133,9 +2134,9 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2133
2134
|
size?: number | undefined;
|
|
2134
2135
|
attachmentId?: string | undefined;
|
|
2135
2136
|
} | undefined;
|
|
2136
|
-
parts?: any[] | undefined;
|
|
2137
2137
|
}, {
|
|
2138
2138
|
mimeType?: string | undefined;
|
|
2139
|
+
parts?: any[] | undefined;
|
|
2139
2140
|
headers?: {
|
|
2140
2141
|
value: string;
|
|
2141
2142
|
name: string;
|
|
@@ -2145,7 +2146,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2145
2146
|
size?: number | undefined;
|
|
2146
2147
|
attachmentId?: string | undefined;
|
|
2147
2148
|
} | undefined;
|
|
2148
|
-
parts?: any[] | undefined;
|
|
2149
2149
|
}>>;
|
|
2150
2150
|
}, "strip", z.ZodTypeAny, {
|
|
2151
2151
|
id: string;
|
|
@@ -2159,6 +2159,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2159
2159
|
raw?: string | undefined;
|
|
2160
2160
|
payload?: {
|
|
2161
2161
|
mimeType?: string | undefined;
|
|
2162
|
+
parts?: any[] | undefined;
|
|
2162
2163
|
headers?: {
|
|
2163
2164
|
value: string;
|
|
2164
2165
|
name: string;
|
|
@@ -2168,7 +2169,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2168
2169
|
size?: number | undefined;
|
|
2169
2170
|
attachmentId?: string | undefined;
|
|
2170
2171
|
} | undefined;
|
|
2171
|
-
parts?: any[] | undefined;
|
|
2172
2172
|
} | undefined;
|
|
2173
2173
|
}, {
|
|
2174
2174
|
id: string;
|
|
@@ -2182,6 +2182,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2182
2182
|
raw?: string | undefined;
|
|
2183
2183
|
payload?: {
|
|
2184
2184
|
mimeType?: string | undefined;
|
|
2185
|
+
parts?: any[] | undefined;
|
|
2185
2186
|
headers?: {
|
|
2186
2187
|
value: string;
|
|
2187
2188
|
name: string;
|
|
@@ -2191,15 +2192,14 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2191
2192
|
size?: number | undefined;
|
|
2192
2193
|
attachmentId?: string | undefined;
|
|
2193
2194
|
} | undefined;
|
|
2194
|
-
parts?: any[] | undefined;
|
|
2195
2195
|
} | undefined;
|
|
2196
2196
|
}>, "many">>;
|
|
2197
2197
|
next_page_token: z.ZodOptional<z.ZodString>;
|
|
2198
2198
|
result_size_estimate: z.ZodOptional<z.ZodNumber>;
|
|
2199
2199
|
error: z.ZodString;
|
|
2200
2200
|
}, "strip", z.ZodTypeAny, {
|
|
2201
|
-
success: boolean;
|
|
2202
2201
|
error: string;
|
|
2202
|
+
success: boolean;
|
|
2203
2203
|
operation: "list_emails";
|
|
2204
2204
|
messages?: {
|
|
2205
2205
|
id: string;
|
|
@@ -2213,6 +2213,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2213
2213
|
raw?: string | undefined;
|
|
2214
2214
|
payload?: {
|
|
2215
2215
|
mimeType?: string | undefined;
|
|
2216
|
+
parts?: any[] | undefined;
|
|
2216
2217
|
headers?: {
|
|
2217
2218
|
value: string;
|
|
2218
2219
|
name: string;
|
|
@@ -2222,14 +2223,13 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2222
2223
|
size?: number | undefined;
|
|
2223
2224
|
attachmentId?: string | undefined;
|
|
2224
2225
|
} | undefined;
|
|
2225
|
-
parts?: any[] | undefined;
|
|
2226
2226
|
} | undefined;
|
|
2227
2227
|
}[] | undefined;
|
|
2228
2228
|
next_page_token?: string | undefined;
|
|
2229
2229
|
result_size_estimate?: number | undefined;
|
|
2230
2230
|
}, {
|
|
2231
|
-
success: boolean;
|
|
2232
2231
|
error: string;
|
|
2232
|
+
success: boolean;
|
|
2233
2233
|
operation: "list_emails";
|
|
2234
2234
|
messages?: {
|
|
2235
2235
|
id: string;
|
|
@@ -2243,6 +2243,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2243
2243
|
raw?: string | undefined;
|
|
2244
2244
|
payload?: {
|
|
2245
2245
|
mimeType?: string | undefined;
|
|
2246
|
+
parts?: any[] | undefined;
|
|
2246
2247
|
headers?: {
|
|
2247
2248
|
value: string;
|
|
2248
2249
|
name: string;
|
|
@@ -2252,7 +2253,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2252
2253
|
size?: number | undefined;
|
|
2253
2254
|
attachmentId?: string | undefined;
|
|
2254
2255
|
} | undefined;
|
|
2255
|
-
parts?: any[] | undefined;
|
|
2256
2256
|
} | undefined;
|
|
2257
2257
|
}[] | undefined;
|
|
2258
2258
|
next_page_token?: string | undefined;
|
|
@@ -2298,6 +2298,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2298
2298
|
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
2299
2299
|
}, "strip", z.ZodTypeAny, {
|
|
2300
2300
|
mimeType?: string | undefined;
|
|
2301
|
+
parts?: any[] | undefined;
|
|
2301
2302
|
headers?: {
|
|
2302
2303
|
value: string;
|
|
2303
2304
|
name: string;
|
|
@@ -2307,9 +2308,9 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2307
2308
|
size?: number | undefined;
|
|
2308
2309
|
attachmentId?: string | undefined;
|
|
2309
2310
|
} | undefined;
|
|
2310
|
-
parts?: any[] | undefined;
|
|
2311
2311
|
}, {
|
|
2312
2312
|
mimeType?: string | undefined;
|
|
2313
|
+
parts?: any[] | undefined;
|
|
2313
2314
|
headers?: {
|
|
2314
2315
|
value: string;
|
|
2315
2316
|
name: string;
|
|
@@ -2319,7 +2320,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2319
2320
|
size?: number | undefined;
|
|
2320
2321
|
attachmentId?: string | undefined;
|
|
2321
2322
|
} | undefined;
|
|
2322
|
-
parts?: any[] | undefined;
|
|
2323
2323
|
}>>;
|
|
2324
2324
|
}, "strip", z.ZodTypeAny, {
|
|
2325
2325
|
id: string;
|
|
@@ -2333,6 +2333,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2333
2333
|
raw?: string | undefined;
|
|
2334
2334
|
payload?: {
|
|
2335
2335
|
mimeType?: string | undefined;
|
|
2336
|
+
parts?: any[] | undefined;
|
|
2336
2337
|
headers?: {
|
|
2337
2338
|
value: string;
|
|
2338
2339
|
name: string;
|
|
@@ -2342,7 +2343,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2342
2343
|
size?: number | undefined;
|
|
2343
2344
|
attachmentId?: string | undefined;
|
|
2344
2345
|
} | undefined;
|
|
2345
|
-
parts?: any[] | undefined;
|
|
2346
2346
|
} | undefined;
|
|
2347
2347
|
}, {
|
|
2348
2348
|
id: string;
|
|
@@ -2356,6 +2356,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2356
2356
|
raw?: string | undefined;
|
|
2357
2357
|
payload?: {
|
|
2358
2358
|
mimeType?: string | undefined;
|
|
2359
|
+
parts?: any[] | undefined;
|
|
2359
2360
|
headers?: {
|
|
2360
2361
|
value: string;
|
|
2361
2362
|
name: string;
|
|
@@ -2365,13 +2366,12 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2365
2366
|
size?: number | undefined;
|
|
2366
2367
|
attachmentId?: string | undefined;
|
|
2367
2368
|
} | undefined;
|
|
2368
|
-
parts?: any[] | undefined;
|
|
2369
2369
|
} | undefined;
|
|
2370
2370
|
}>>;
|
|
2371
2371
|
error: z.ZodString;
|
|
2372
2372
|
}, "strip", z.ZodTypeAny, {
|
|
2373
|
-
success: boolean;
|
|
2374
2373
|
error: string;
|
|
2374
|
+
success: boolean;
|
|
2375
2375
|
operation: "get_email";
|
|
2376
2376
|
message?: {
|
|
2377
2377
|
id: string;
|
|
@@ -2385,6 +2385,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2385
2385
|
raw?: string | undefined;
|
|
2386
2386
|
payload?: {
|
|
2387
2387
|
mimeType?: string | undefined;
|
|
2388
|
+
parts?: any[] | undefined;
|
|
2388
2389
|
headers?: {
|
|
2389
2390
|
value: string;
|
|
2390
2391
|
name: string;
|
|
@@ -2394,12 +2395,11 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2394
2395
|
size?: number | undefined;
|
|
2395
2396
|
attachmentId?: string | undefined;
|
|
2396
2397
|
} | undefined;
|
|
2397
|
-
parts?: any[] | undefined;
|
|
2398
2398
|
} | undefined;
|
|
2399
2399
|
} | undefined;
|
|
2400
2400
|
}, {
|
|
2401
|
-
success: boolean;
|
|
2402
2401
|
error: string;
|
|
2402
|
+
success: boolean;
|
|
2403
2403
|
operation: "get_email";
|
|
2404
2404
|
message?: {
|
|
2405
2405
|
id: string;
|
|
@@ -2413,6 +2413,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2413
2413
|
raw?: string | undefined;
|
|
2414
2414
|
payload?: {
|
|
2415
2415
|
mimeType?: string | undefined;
|
|
2416
|
+
parts?: any[] | undefined;
|
|
2416
2417
|
headers?: {
|
|
2417
2418
|
value: string;
|
|
2418
2419
|
name: string;
|
|
@@ -2422,7 +2423,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2422
2423
|
size?: number | undefined;
|
|
2423
2424
|
attachmentId?: string | undefined;
|
|
2424
2425
|
} | undefined;
|
|
2425
|
-
parts?: any[] | undefined;
|
|
2426
2426
|
} | undefined;
|
|
2427
2427
|
} | undefined;
|
|
2428
2428
|
}>, z.ZodObject<{
|
|
@@ -2466,6 +2466,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2466
2466
|
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
2467
2467
|
}, "strip", z.ZodTypeAny, {
|
|
2468
2468
|
mimeType?: string | undefined;
|
|
2469
|
+
parts?: any[] | undefined;
|
|
2469
2470
|
headers?: {
|
|
2470
2471
|
value: string;
|
|
2471
2472
|
name: string;
|
|
@@ -2475,9 +2476,9 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2475
2476
|
size?: number | undefined;
|
|
2476
2477
|
attachmentId?: string | undefined;
|
|
2477
2478
|
} | undefined;
|
|
2478
|
-
parts?: any[] | undefined;
|
|
2479
2479
|
}, {
|
|
2480
2480
|
mimeType?: string | undefined;
|
|
2481
|
+
parts?: any[] | undefined;
|
|
2481
2482
|
headers?: {
|
|
2482
2483
|
value: string;
|
|
2483
2484
|
name: string;
|
|
@@ -2487,7 +2488,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2487
2488
|
size?: number | undefined;
|
|
2488
2489
|
attachmentId?: string | undefined;
|
|
2489
2490
|
} | undefined;
|
|
2490
|
-
parts?: any[] | undefined;
|
|
2491
2491
|
}>>;
|
|
2492
2492
|
}, "strip", z.ZodTypeAny, {
|
|
2493
2493
|
id: string;
|
|
@@ -2501,6 +2501,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2501
2501
|
raw?: string | undefined;
|
|
2502
2502
|
payload?: {
|
|
2503
2503
|
mimeType?: string | undefined;
|
|
2504
|
+
parts?: any[] | undefined;
|
|
2504
2505
|
headers?: {
|
|
2505
2506
|
value: string;
|
|
2506
2507
|
name: string;
|
|
@@ -2510,7 +2511,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2510
2511
|
size?: number | undefined;
|
|
2511
2512
|
attachmentId?: string | undefined;
|
|
2512
2513
|
} | undefined;
|
|
2513
|
-
parts?: any[] | undefined;
|
|
2514
2514
|
} | undefined;
|
|
2515
2515
|
}, {
|
|
2516
2516
|
id: string;
|
|
@@ -2524,6 +2524,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2524
2524
|
raw?: string | undefined;
|
|
2525
2525
|
payload?: {
|
|
2526
2526
|
mimeType?: string | undefined;
|
|
2527
|
+
parts?: any[] | undefined;
|
|
2527
2528
|
headers?: {
|
|
2528
2529
|
value: string;
|
|
2529
2530
|
name: string;
|
|
@@ -2533,14 +2534,13 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2533
2534
|
size?: number | undefined;
|
|
2534
2535
|
attachmentId?: string | undefined;
|
|
2535
2536
|
} | undefined;
|
|
2536
|
-
parts?: any[] | undefined;
|
|
2537
2537
|
} | undefined;
|
|
2538
2538
|
}>, "many">>;
|
|
2539
2539
|
result_size_estimate: z.ZodOptional<z.ZodNumber>;
|
|
2540
2540
|
error: z.ZodString;
|
|
2541
2541
|
}, "strip", z.ZodTypeAny, {
|
|
2542
|
-
success: boolean;
|
|
2543
2542
|
error: string;
|
|
2543
|
+
success: boolean;
|
|
2544
2544
|
operation: "search_emails";
|
|
2545
2545
|
messages?: {
|
|
2546
2546
|
id: string;
|
|
@@ -2554,6 +2554,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2554
2554
|
raw?: string | undefined;
|
|
2555
2555
|
payload?: {
|
|
2556
2556
|
mimeType?: string | undefined;
|
|
2557
|
+
parts?: any[] | undefined;
|
|
2557
2558
|
headers?: {
|
|
2558
2559
|
value: string;
|
|
2559
2560
|
name: string;
|
|
@@ -2563,13 +2564,12 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2563
2564
|
size?: number | undefined;
|
|
2564
2565
|
attachmentId?: string | undefined;
|
|
2565
2566
|
} | undefined;
|
|
2566
|
-
parts?: any[] | undefined;
|
|
2567
2567
|
} | undefined;
|
|
2568
2568
|
}[] | undefined;
|
|
2569
2569
|
result_size_estimate?: number | undefined;
|
|
2570
2570
|
}, {
|
|
2571
|
-
success: boolean;
|
|
2572
2571
|
error: string;
|
|
2572
|
+
success: boolean;
|
|
2573
2573
|
operation: "search_emails";
|
|
2574
2574
|
messages?: {
|
|
2575
2575
|
id: string;
|
|
@@ -2583,6 +2583,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2583
2583
|
raw?: string | undefined;
|
|
2584
2584
|
payload?: {
|
|
2585
2585
|
mimeType?: string | undefined;
|
|
2586
|
+
parts?: any[] | undefined;
|
|
2586
2587
|
headers?: {
|
|
2587
2588
|
value: string;
|
|
2588
2589
|
name: string;
|
|
@@ -2592,7 +2593,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2592
2593
|
size?: number | undefined;
|
|
2593
2594
|
attachmentId?: string | undefined;
|
|
2594
2595
|
} | undefined;
|
|
2595
|
-
parts?: any[] | undefined;
|
|
2596
2596
|
} | undefined;
|
|
2597
2597
|
}[] | undefined;
|
|
2598
2598
|
result_size_estimate?: number | undefined;
|
|
@@ -2602,13 +2602,13 @@ 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
|
-
success: boolean;
|
|
2606
2605
|
error: string;
|
|
2606
|
+
success: boolean;
|
|
2607
2607
|
operation: "mark_as_read";
|
|
2608
2608
|
modified_messages?: string[] | undefined;
|
|
2609
2609
|
}, {
|
|
2610
|
-
success: boolean;
|
|
2611
2610
|
error: string;
|
|
2611
|
+
success: boolean;
|
|
2612
2612
|
operation: "mark_as_read";
|
|
2613
2613
|
modified_messages?: string[] | undefined;
|
|
2614
2614
|
}>, z.ZodObject<{
|
|
@@ -2617,13 +2617,13 @@ 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
|
-
success: boolean;
|
|
2621
2620
|
error: string;
|
|
2621
|
+
success: boolean;
|
|
2622
2622
|
operation: "mark_as_unread";
|
|
2623
2623
|
modified_messages?: string[] | undefined;
|
|
2624
2624
|
}, {
|
|
2625
|
-
success: boolean;
|
|
2626
2625
|
error: string;
|
|
2626
|
+
success: boolean;
|
|
2627
2627
|
operation: "mark_as_unread";
|
|
2628
2628
|
modified_messages?: string[] | undefined;
|
|
2629
2629
|
}>, z.ZodObject<{
|
|
@@ -2669,6 +2669,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2669
2669
|
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
2670
2670
|
}, "strip", z.ZodTypeAny, {
|
|
2671
2671
|
mimeType?: string | undefined;
|
|
2672
|
+
parts?: any[] | undefined;
|
|
2672
2673
|
headers?: {
|
|
2673
2674
|
value: string;
|
|
2674
2675
|
name: string;
|
|
@@ -2678,9 +2679,9 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2678
2679
|
size?: number | undefined;
|
|
2679
2680
|
attachmentId?: string | undefined;
|
|
2680
2681
|
} | undefined;
|
|
2681
|
-
parts?: any[] | undefined;
|
|
2682
2682
|
}, {
|
|
2683
2683
|
mimeType?: string | undefined;
|
|
2684
|
+
parts?: any[] | undefined;
|
|
2684
2685
|
headers?: {
|
|
2685
2686
|
value: string;
|
|
2686
2687
|
name: string;
|
|
@@ -2690,7 +2691,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2690
2691
|
size?: number | undefined;
|
|
2691
2692
|
attachmentId?: string | undefined;
|
|
2692
2693
|
} | undefined;
|
|
2693
|
-
parts?: any[] | undefined;
|
|
2694
2694
|
}>>;
|
|
2695
2695
|
}, "strip", z.ZodTypeAny, {
|
|
2696
2696
|
id: string;
|
|
@@ -2704,6 +2704,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2704
2704
|
raw?: string | undefined;
|
|
2705
2705
|
payload?: {
|
|
2706
2706
|
mimeType?: string | undefined;
|
|
2707
|
+
parts?: any[] | undefined;
|
|
2707
2708
|
headers?: {
|
|
2708
2709
|
value: string;
|
|
2709
2710
|
name: string;
|
|
@@ -2713,7 +2714,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2713
2714
|
size?: number | undefined;
|
|
2714
2715
|
attachmentId?: string | undefined;
|
|
2715
2716
|
} | undefined;
|
|
2716
|
-
parts?: any[] | undefined;
|
|
2717
2717
|
} | undefined;
|
|
2718
2718
|
}, {
|
|
2719
2719
|
id: string;
|
|
@@ -2727,6 +2727,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2727
2727
|
raw?: string | undefined;
|
|
2728
2728
|
payload?: {
|
|
2729
2729
|
mimeType?: string | undefined;
|
|
2730
|
+
parts?: any[] | undefined;
|
|
2730
2731
|
headers?: {
|
|
2731
2732
|
value: string;
|
|
2732
2733
|
name: string;
|
|
@@ -2736,7 +2737,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2736
2737
|
size?: number | undefined;
|
|
2737
2738
|
attachmentId?: string | undefined;
|
|
2738
2739
|
} | undefined;
|
|
2739
|
-
parts?: any[] | undefined;
|
|
2740
2740
|
} | undefined;
|
|
2741
2741
|
}>;
|
|
2742
2742
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2752,6 +2752,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2752
2752
|
raw?: string | undefined;
|
|
2753
2753
|
payload?: {
|
|
2754
2754
|
mimeType?: string | undefined;
|
|
2755
|
+
parts?: any[] | undefined;
|
|
2755
2756
|
headers?: {
|
|
2756
2757
|
value: string;
|
|
2757
2758
|
name: string;
|
|
@@ -2761,7 +2762,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2761
2762
|
size?: number | undefined;
|
|
2762
2763
|
attachmentId?: string | undefined;
|
|
2763
2764
|
} | undefined;
|
|
2764
|
-
parts?: any[] | undefined;
|
|
2765
2765
|
} | undefined;
|
|
2766
2766
|
};
|
|
2767
2767
|
id: string;
|
|
@@ -2778,6 +2778,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2778
2778
|
raw?: string | undefined;
|
|
2779
2779
|
payload?: {
|
|
2780
2780
|
mimeType?: string | undefined;
|
|
2781
|
+
parts?: any[] | undefined;
|
|
2781
2782
|
headers?: {
|
|
2782
2783
|
value: string;
|
|
2783
2784
|
name: string;
|
|
@@ -2787,15 +2788,14 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2787
2788
|
size?: number | undefined;
|
|
2788
2789
|
attachmentId?: string | undefined;
|
|
2789
2790
|
} | undefined;
|
|
2790
|
-
parts?: any[] | undefined;
|
|
2791
2791
|
} | undefined;
|
|
2792
2792
|
};
|
|
2793
2793
|
id: string;
|
|
2794
2794
|
}>>;
|
|
2795
2795
|
error: z.ZodString;
|
|
2796
2796
|
}, "strip", z.ZodTypeAny, {
|
|
2797
|
-
success: boolean;
|
|
2798
2797
|
error: string;
|
|
2798
|
+
success: boolean;
|
|
2799
2799
|
operation: "create_draft";
|
|
2800
2800
|
draft?: {
|
|
2801
2801
|
message: {
|
|
@@ -2810,6 +2810,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2810
2810
|
raw?: string | undefined;
|
|
2811
2811
|
payload?: {
|
|
2812
2812
|
mimeType?: string | undefined;
|
|
2813
|
+
parts?: any[] | undefined;
|
|
2813
2814
|
headers?: {
|
|
2814
2815
|
value: string;
|
|
2815
2816
|
name: string;
|
|
@@ -2819,14 +2820,13 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2819
2820
|
size?: number | undefined;
|
|
2820
2821
|
attachmentId?: string | undefined;
|
|
2821
2822
|
} | undefined;
|
|
2822
|
-
parts?: any[] | undefined;
|
|
2823
2823
|
} | undefined;
|
|
2824
2824
|
};
|
|
2825
2825
|
id: string;
|
|
2826
2826
|
} | undefined;
|
|
2827
2827
|
}, {
|
|
2828
|
-
success: boolean;
|
|
2829
2828
|
error: string;
|
|
2829
|
+
success: boolean;
|
|
2830
2830
|
operation: "create_draft";
|
|
2831
2831
|
draft?: {
|
|
2832
2832
|
message: {
|
|
@@ -2841,6 +2841,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2841
2841
|
raw?: string | undefined;
|
|
2842
2842
|
payload?: {
|
|
2843
2843
|
mimeType?: string | undefined;
|
|
2844
|
+
parts?: any[] | undefined;
|
|
2844
2845
|
headers?: {
|
|
2845
2846
|
value: string;
|
|
2846
2847
|
name: string;
|
|
@@ -2850,7 +2851,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2850
2851
|
size?: number | undefined;
|
|
2851
2852
|
attachmentId?: string | undefined;
|
|
2852
2853
|
} | undefined;
|
|
2853
|
-
parts?: any[] | undefined;
|
|
2854
2854
|
} | undefined;
|
|
2855
2855
|
};
|
|
2856
2856
|
id: string;
|
|
@@ -2862,17 +2862,17 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2862
2862
|
thread_id: z.ZodOptional<z.ZodString>;
|
|
2863
2863
|
error: z.ZodString;
|
|
2864
2864
|
}, "strip", z.ZodTypeAny, {
|
|
2865
|
-
success: boolean;
|
|
2866
2865
|
error: string;
|
|
2866
|
+
success: boolean;
|
|
2867
2867
|
operation: "send_draft";
|
|
2868
|
-
thread_id?: string | undefined;
|
|
2869
2868
|
message_id?: string | undefined;
|
|
2869
|
+
thread_id?: string | undefined;
|
|
2870
2870
|
}, {
|
|
2871
|
-
success: boolean;
|
|
2872
2871
|
error: string;
|
|
2872
|
+
success: boolean;
|
|
2873
2873
|
operation: "send_draft";
|
|
2874
|
-
thread_id?: string | undefined;
|
|
2875
2874
|
message_id?: string | undefined;
|
|
2875
|
+
thread_id?: string | undefined;
|
|
2876
2876
|
}>, z.ZodObject<{
|
|
2877
2877
|
operation: z.ZodLiteral<"list_drafts">;
|
|
2878
2878
|
success: z.ZodBoolean;
|
|
@@ -2916,6 +2916,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2916
2916
|
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
2917
2917
|
}, "strip", z.ZodTypeAny, {
|
|
2918
2918
|
mimeType?: string | undefined;
|
|
2919
|
+
parts?: any[] | undefined;
|
|
2919
2920
|
headers?: {
|
|
2920
2921
|
value: string;
|
|
2921
2922
|
name: string;
|
|
@@ -2925,9 +2926,9 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2925
2926
|
size?: number | undefined;
|
|
2926
2927
|
attachmentId?: string | undefined;
|
|
2927
2928
|
} | undefined;
|
|
2928
|
-
parts?: any[] | undefined;
|
|
2929
2929
|
}, {
|
|
2930
2930
|
mimeType?: string | undefined;
|
|
2931
|
+
parts?: any[] | undefined;
|
|
2931
2932
|
headers?: {
|
|
2932
2933
|
value: string;
|
|
2933
2934
|
name: string;
|
|
@@ -2937,7 +2938,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2937
2938
|
size?: number | undefined;
|
|
2938
2939
|
attachmentId?: string | undefined;
|
|
2939
2940
|
} | undefined;
|
|
2940
|
-
parts?: any[] | undefined;
|
|
2941
2941
|
}>>;
|
|
2942
2942
|
}, "strip", z.ZodTypeAny, {
|
|
2943
2943
|
id: string;
|
|
@@ -2951,6 +2951,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2951
2951
|
raw?: string | undefined;
|
|
2952
2952
|
payload?: {
|
|
2953
2953
|
mimeType?: string | undefined;
|
|
2954
|
+
parts?: any[] | undefined;
|
|
2954
2955
|
headers?: {
|
|
2955
2956
|
value: string;
|
|
2956
2957
|
name: string;
|
|
@@ -2960,7 +2961,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2960
2961
|
size?: number | undefined;
|
|
2961
2962
|
attachmentId?: string | undefined;
|
|
2962
2963
|
} | undefined;
|
|
2963
|
-
parts?: any[] | undefined;
|
|
2964
2964
|
} | undefined;
|
|
2965
2965
|
}, {
|
|
2966
2966
|
id: string;
|
|
@@ -2974,6 +2974,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2974
2974
|
raw?: string | undefined;
|
|
2975
2975
|
payload?: {
|
|
2976
2976
|
mimeType?: string | undefined;
|
|
2977
|
+
parts?: any[] | undefined;
|
|
2977
2978
|
headers?: {
|
|
2978
2979
|
value: string;
|
|
2979
2980
|
name: string;
|
|
@@ -2983,7 +2984,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2983
2984
|
size?: number | undefined;
|
|
2984
2985
|
attachmentId?: string | undefined;
|
|
2985
2986
|
} | undefined;
|
|
2986
|
-
parts?: any[] | undefined;
|
|
2987
2987
|
} | undefined;
|
|
2988
2988
|
}>;
|
|
2989
2989
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2999,6 +2999,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
2999
2999
|
raw?: string | undefined;
|
|
3000
3000
|
payload?: {
|
|
3001
3001
|
mimeType?: string | undefined;
|
|
3002
|
+
parts?: any[] | undefined;
|
|
3002
3003
|
headers?: {
|
|
3003
3004
|
value: string;
|
|
3004
3005
|
name: string;
|
|
@@ -3008,7 +3009,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
3008
3009
|
size?: number | undefined;
|
|
3009
3010
|
attachmentId?: string | undefined;
|
|
3010
3011
|
} | undefined;
|
|
3011
|
-
parts?: any[] | undefined;
|
|
3012
3012
|
} | undefined;
|
|
3013
3013
|
};
|
|
3014
3014
|
id: string;
|
|
@@ -3025,6 +3025,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
3025
3025
|
raw?: string | undefined;
|
|
3026
3026
|
payload?: {
|
|
3027
3027
|
mimeType?: string | undefined;
|
|
3028
|
+
parts?: any[] | undefined;
|
|
3028
3029
|
headers?: {
|
|
3029
3030
|
value: string;
|
|
3030
3031
|
name: string;
|
|
@@ -3034,7 +3035,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
3034
3035
|
size?: number | undefined;
|
|
3035
3036
|
attachmentId?: string | undefined;
|
|
3036
3037
|
} | undefined;
|
|
3037
|
-
parts?: any[] | undefined;
|
|
3038
3038
|
} | undefined;
|
|
3039
3039
|
};
|
|
3040
3040
|
id: string;
|
|
@@ -3043,8 +3043,8 @@ 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
|
-
success: boolean;
|
|
3047
3046
|
error: string;
|
|
3047
|
+
success: boolean;
|
|
3048
3048
|
operation: "list_drafts";
|
|
3049
3049
|
next_page_token?: string | undefined;
|
|
3050
3050
|
result_size_estimate?: number | undefined;
|
|
@@ -3061,6 +3061,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
3061
3061
|
raw?: string | undefined;
|
|
3062
3062
|
payload?: {
|
|
3063
3063
|
mimeType?: string | undefined;
|
|
3064
|
+
parts?: any[] | undefined;
|
|
3064
3065
|
headers?: {
|
|
3065
3066
|
value: string;
|
|
3066
3067
|
name: string;
|
|
@@ -3070,14 +3071,13 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
3070
3071
|
size?: number | undefined;
|
|
3071
3072
|
attachmentId?: string | undefined;
|
|
3072
3073
|
} | undefined;
|
|
3073
|
-
parts?: any[] | undefined;
|
|
3074
3074
|
} | undefined;
|
|
3075
3075
|
};
|
|
3076
3076
|
id: string;
|
|
3077
3077
|
}[] | undefined;
|
|
3078
3078
|
}, {
|
|
3079
|
-
success: boolean;
|
|
3080
3079
|
error: string;
|
|
3080
|
+
success: boolean;
|
|
3081
3081
|
operation: "list_drafts";
|
|
3082
3082
|
next_page_token?: string | undefined;
|
|
3083
3083
|
result_size_estimate?: number | undefined;
|
|
@@ -3094,6 +3094,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
3094
3094
|
raw?: string | undefined;
|
|
3095
3095
|
payload?: {
|
|
3096
3096
|
mimeType?: string | undefined;
|
|
3097
|
+
parts?: any[] | undefined;
|
|
3097
3098
|
headers?: {
|
|
3098
3099
|
value: string;
|
|
3099
3100
|
name: string;
|
|
@@ -3103,7 +3104,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
3103
3104
|
size?: number | undefined;
|
|
3104
3105
|
attachmentId?: string | undefined;
|
|
3105
3106
|
} | undefined;
|
|
3106
|
-
parts?: any[] | undefined;
|
|
3107
3107
|
} | undefined;
|
|
3108
3108
|
};
|
|
3109
3109
|
id: string;
|
|
@@ -3114,13 +3114,13 @@ 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
|
-
success: boolean;
|
|
3118
3117
|
error: string;
|
|
3118
|
+
success: boolean;
|
|
3119
3119
|
operation: "delete_email";
|
|
3120
3120
|
deleted_message_id?: string | undefined;
|
|
3121
3121
|
}, {
|
|
3122
|
-
success: boolean;
|
|
3123
3122
|
error: string;
|
|
3123
|
+
success: boolean;
|
|
3124
3124
|
operation: "delete_email";
|
|
3125
3125
|
deleted_message_id?: string | undefined;
|
|
3126
3126
|
}>, z.ZodObject<{
|
|
@@ -3129,13 +3129,13 @@ 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
|
-
success: boolean;
|
|
3133
3132
|
error: string;
|
|
3133
|
+
success: boolean;
|
|
3134
3134
|
operation: "trash_email";
|
|
3135
3135
|
trashed_message_id?: string | undefined;
|
|
3136
3136
|
}, {
|
|
3137
|
-
success: boolean;
|
|
3138
3137
|
error: string;
|
|
3138
|
+
success: boolean;
|
|
3139
3139
|
operation: "trash_email";
|
|
3140
3140
|
trashed_message_id?: string | undefined;
|
|
3141
3141
|
}>, z.ZodObject<{
|
|
@@ -3182,6 +3182,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
3182
3182
|
parts: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
3183
3183
|
}, "strip", z.ZodTypeAny, {
|
|
3184
3184
|
mimeType?: string | undefined;
|
|
3185
|
+
parts?: any[] | undefined;
|
|
3185
3186
|
headers?: {
|
|
3186
3187
|
value: string;
|
|
3187
3188
|
name: string;
|
|
@@ -3191,9 +3192,9 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
3191
3192
|
size?: number | undefined;
|
|
3192
3193
|
attachmentId?: string | undefined;
|
|
3193
3194
|
} | undefined;
|
|
3194
|
-
parts?: any[] | undefined;
|
|
3195
3195
|
}, {
|
|
3196
3196
|
mimeType?: string | undefined;
|
|
3197
|
+
parts?: any[] | undefined;
|
|
3197
3198
|
headers?: {
|
|
3198
3199
|
value: string;
|
|
3199
3200
|
name: string;
|
|
@@ -3203,7 +3204,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
3203
3204
|
size?: number | undefined;
|
|
3204
3205
|
attachmentId?: string | undefined;
|
|
3205
3206
|
} | undefined;
|
|
3206
|
-
parts?: any[] | undefined;
|
|
3207
3207
|
}>>;
|
|
3208
3208
|
}, "strip", z.ZodTypeAny, {
|
|
3209
3209
|
id: string;
|
|
@@ -3217,6 +3217,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
3217
3217
|
raw?: string | undefined;
|
|
3218
3218
|
payload?: {
|
|
3219
3219
|
mimeType?: string | undefined;
|
|
3220
|
+
parts?: any[] | undefined;
|
|
3220
3221
|
headers?: {
|
|
3221
3222
|
value: string;
|
|
3222
3223
|
name: string;
|
|
@@ -3226,7 +3227,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
3226
3227
|
size?: number | undefined;
|
|
3227
3228
|
attachmentId?: string | undefined;
|
|
3228
3229
|
} | undefined;
|
|
3229
|
-
parts?: any[] | undefined;
|
|
3230
3230
|
} | undefined;
|
|
3231
3231
|
}, {
|
|
3232
3232
|
id: string;
|
|
@@ -3240,6 +3240,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
3240
3240
|
raw?: string | undefined;
|
|
3241
3241
|
payload?: {
|
|
3242
3242
|
mimeType?: string | undefined;
|
|
3243
|
+
parts?: any[] | undefined;
|
|
3243
3244
|
headers?: {
|
|
3244
3245
|
value: string;
|
|
3245
3246
|
name: string;
|
|
@@ -3249,7 +3250,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
3249
3250
|
size?: number | undefined;
|
|
3250
3251
|
attachmentId?: string | undefined;
|
|
3251
3252
|
} | undefined;
|
|
3252
|
-
parts?: any[] | undefined;
|
|
3253
3253
|
} | undefined;
|
|
3254
3254
|
}>, "many">>;
|
|
3255
3255
|
snippet: z.ZodOptional<z.ZodString>;
|
|
@@ -3267,6 +3267,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
3267
3267
|
raw?: string | undefined;
|
|
3268
3268
|
payload?: {
|
|
3269
3269
|
mimeType?: string | undefined;
|
|
3270
|
+
parts?: any[] | undefined;
|
|
3270
3271
|
headers?: {
|
|
3271
3272
|
value: string;
|
|
3272
3273
|
name: string;
|
|
@@ -3276,7 +3277,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
3276
3277
|
size?: number | undefined;
|
|
3277
3278
|
attachmentId?: string | undefined;
|
|
3278
3279
|
} | undefined;
|
|
3279
|
-
parts?: any[] | undefined;
|
|
3280
3280
|
} | undefined;
|
|
3281
3281
|
}[] | undefined;
|
|
3282
3282
|
snippet?: string | undefined;
|
|
@@ -3295,6 +3295,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
3295
3295
|
raw?: string | undefined;
|
|
3296
3296
|
payload?: {
|
|
3297
3297
|
mimeType?: string | undefined;
|
|
3298
|
+
parts?: any[] | undefined;
|
|
3298
3299
|
headers?: {
|
|
3299
3300
|
value: string;
|
|
3300
3301
|
name: string;
|
|
@@ -3304,7 +3305,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
3304
3305
|
size?: number | undefined;
|
|
3305
3306
|
attachmentId?: string | undefined;
|
|
3306
3307
|
} | undefined;
|
|
3307
|
-
parts?: any[] | undefined;
|
|
3308
3308
|
} | undefined;
|
|
3309
3309
|
}[] | undefined;
|
|
3310
3310
|
snippet?: string | undefined;
|
|
@@ -3314,8 +3314,8 @@ 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
|
-
success: boolean;
|
|
3318
3317
|
error: string;
|
|
3318
|
+
success: boolean;
|
|
3319
3319
|
operation: "list_threads";
|
|
3320
3320
|
next_page_token?: string | undefined;
|
|
3321
3321
|
result_size_estimate?: number | undefined;
|
|
@@ -3333,6 +3333,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
3333
3333
|
raw?: string | undefined;
|
|
3334
3334
|
payload?: {
|
|
3335
3335
|
mimeType?: string | undefined;
|
|
3336
|
+
parts?: any[] | undefined;
|
|
3336
3337
|
headers?: {
|
|
3337
3338
|
value: string;
|
|
3338
3339
|
name: string;
|
|
@@ -3342,15 +3343,14 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
3342
3343
|
size?: number | undefined;
|
|
3343
3344
|
attachmentId?: string | undefined;
|
|
3344
3345
|
} | undefined;
|
|
3345
|
-
parts?: any[] | undefined;
|
|
3346
3346
|
} | undefined;
|
|
3347
3347
|
}[] | undefined;
|
|
3348
3348
|
snippet?: string | undefined;
|
|
3349
3349
|
historyId?: string | undefined;
|
|
3350
3350
|
}[] | undefined;
|
|
3351
3351
|
}, {
|
|
3352
|
-
success: boolean;
|
|
3353
3352
|
error: string;
|
|
3353
|
+
success: boolean;
|
|
3354
3354
|
operation: "list_threads";
|
|
3355
3355
|
next_page_token?: string | undefined;
|
|
3356
3356
|
result_size_estimate?: number | undefined;
|
|
@@ -3368,6 +3368,7 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
3368
3368
|
raw?: string | undefined;
|
|
3369
3369
|
payload?: {
|
|
3370
3370
|
mimeType?: string | undefined;
|
|
3371
|
+
parts?: any[] | undefined;
|
|
3371
3372
|
headers?: {
|
|
3372
3373
|
value: string;
|
|
3373
3374
|
name: string;
|
|
@@ -3377,7 +3378,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
3377
3378
|
size?: number | undefined;
|
|
3378
3379
|
attachmentId?: string | undefined;
|
|
3379
3380
|
} | undefined;
|
|
3380
|
-
parts?: any[] | undefined;
|
|
3381
3381
|
} | undefined;
|
|
3382
3382
|
}[] | undefined;
|
|
3383
3383
|
snippet?: string | undefined;
|
|
@@ -3395,36 +3395,36 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
3395
3395
|
}, "strip", z.ZodTypeAny, {
|
|
3396
3396
|
name: string;
|
|
3397
3397
|
id: string;
|
|
3398
|
-
type?: "
|
|
3398
|
+
type?: "system" | "user" | undefined;
|
|
3399
3399
|
messageListVisibility?: "show" | "hide" | undefined;
|
|
3400
3400
|
labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
|
|
3401
3401
|
}, {
|
|
3402
3402
|
name: string;
|
|
3403
3403
|
id: string;
|
|
3404
|
-
type?: "
|
|
3404
|
+
type?: "system" | "user" | undefined;
|
|
3405
3405
|
messageListVisibility?: "show" | "hide" | undefined;
|
|
3406
3406
|
labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
|
|
3407
3407
|
}>, "many">>;
|
|
3408
3408
|
error: z.ZodString;
|
|
3409
3409
|
}, "strip", z.ZodTypeAny, {
|
|
3410
|
-
success: boolean;
|
|
3411
3410
|
error: string;
|
|
3411
|
+
success: boolean;
|
|
3412
3412
|
operation: "list_labels";
|
|
3413
3413
|
labels?: {
|
|
3414
3414
|
name: string;
|
|
3415
3415
|
id: string;
|
|
3416
|
-
type?: "
|
|
3416
|
+
type?: "system" | "user" | undefined;
|
|
3417
3417
|
messageListVisibility?: "show" | "hide" | undefined;
|
|
3418
3418
|
labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
|
|
3419
3419
|
}[] | undefined;
|
|
3420
3420
|
}, {
|
|
3421
|
-
success: boolean;
|
|
3422
3421
|
error: string;
|
|
3422
|
+
success: boolean;
|
|
3423
3423
|
operation: "list_labels";
|
|
3424
3424
|
labels?: {
|
|
3425
3425
|
name: string;
|
|
3426
3426
|
id: string;
|
|
3427
|
-
type?: "
|
|
3427
|
+
type?: "system" | "user" | undefined;
|
|
3428
3428
|
messageListVisibility?: "show" | "hide" | undefined;
|
|
3429
3429
|
labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
|
|
3430
3430
|
}[] | undefined;
|
|
@@ -3440,36 +3440,36 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
|
|
|
3440
3440
|
}, "strip", z.ZodTypeAny, {
|
|
3441
3441
|
name: string;
|
|
3442
3442
|
id: string;
|
|
3443
|
-
type?: "
|
|
3443
|
+
type?: "system" | "user" | undefined;
|
|
3444
3444
|
messageListVisibility?: "show" | "hide" | undefined;
|
|
3445
3445
|
labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
|
|
3446
3446
|
}, {
|
|
3447
3447
|
name: string;
|
|
3448
3448
|
id: string;
|
|
3449
|
-
type?: "
|
|
3449
|
+
type?: "system" | "user" | undefined;
|
|
3450
3450
|
messageListVisibility?: "show" | "hide" | undefined;
|
|
3451
3451
|
labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
|
|
3452
3452
|
}>>;
|
|
3453
3453
|
error: z.ZodString;
|
|
3454
3454
|
}, "strip", z.ZodTypeAny, {
|
|
3455
|
-
success: boolean;
|
|
3456
3455
|
error: string;
|
|
3456
|
+
success: boolean;
|
|
3457
3457
|
operation: "create_label";
|
|
3458
3458
|
label?: {
|
|
3459
3459
|
name: string;
|
|
3460
3460
|
id: string;
|
|
3461
|
-
type?: "
|
|
3461
|
+
type?: "system" | "user" | undefined;
|
|
3462
3462
|
messageListVisibility?: "show" | "hide" | undefined;
|
|
3463
3463
|
labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
|
|
3464
3464
|
} | undefined;
|
|
3465
3465
|
}, {
|
|
3466
|
-
success: boolean;
|
|
3467
3466
|
error: string;
|
|
3467
|
+
success: boolean;
|
|
3468
3468
|
operation: "create_label";
|
|
3469
3469
|
label?: {
|
|
3470
3470
|
name: string;
|
|
3471
3471
|
id: string;
|
|
3472
|
-
type?: "
|
|
3472
|
+
type?: "system" | "user" | undefined;
|
|
3473
3473
|
messageListVisibility?: "show" | "hide" | undefined;
|
|
3474
3474
|
labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
|
|
3475
3475
|
} | undefined;
|
|
@@ -3480,30 +3480,30 @@ 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
|
-
success: boolean;
|
|
3484
3483
|
error: string;
|
|
3484
|
+
success: boolean;
|
|
3485
3485
|
operation: "modify_message_labels";
|
|
3486
|
-
label_ids?: string[] | undefined;
|
|
3487
3486
|
message_id?: string | undefined;
|
|
3487
|
+
label_ids?: string[] | undefined;
|
|
3488
3488
|
}, {
|
|
3489
|
-
success: boolean;
|
|
3490
3489
|
error: string;
|
|
3490
|
+
success: boolean;
|
|
3491
3491
|
operation: "modify_message_labels";
|
|
3492
|
-
label_ids?: string[] | undefined;
|
|
3493
3492
|
message_id?: string | undefined;
|
|
3493
|
+
label_ids?: string[] | undefined;
|
|
3494
3494
|
}>, z.ZodObject<{
|
|
3495
3495
|
operation: z.ZodLiteral<"modify_thread_labels">;
|
|
3496
3496
|
success: z.ZodBoolean;
|
|
3497
3497
|
thread_id: z.ZodOptional<z.ZodString>;
|
|
3498
3498
|
error: z.ZodString;
|
|
3499
3499
|
}, "strip", z.ZodTypeAny, {
|
|
3500
|
-
success: boolean;
|
|
3501
3500
|
error: string;
|
|
3501
|
+
success: boolean;
|
|
3502
3502
|
operation: "modify_thread_labels";
|
|
3503
3503
|
thread_id?: string | undefined;
|
|
3504
3504
|
}, {
|
|
3505
|
-
success: boolean;
|
|
3506
3505
|
error: string;
|
|
3506
|
+
success: boolean;
|
|
3507
3507
|
operation: "modify_thread_labels";
|
|
3508
3508
|
thread_id?: string | undefined;
|
|
3509
3509
|
}>]>;
|