@bubblelab/bubble-core 0.1.96 → 0.1.97

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.
Files changed (51) hide show
  1. package/dist/bubble-bundle.d.ts +66 -66
  2. package/dist/bubbles/service-bubble/agi-inc.d.ts +68 -68
  3. package/dist/bubbles/service-bubble/ai-agent.d.ts +12 -12
  4. package/dist/bubbles/service-bubble/airtable.d.ts +108 -108
  5. package/dist/bubbles/service-bubble/ashby/ashby.d.ts +20 -20
  6. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +25 -25
  7. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +8 -8
  8. package/dist/bubbles/service-bubble/eleven-labs.d.ts +28 -28
  9. package/dist/bubbles/service-bubble/firecrawl.d.ts +172 -172
  10. package/dist/bubbles/service-bubble/followupboss.d.ts +144 -144
  11. package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +16 -16
  12. package/dist/bubbles/service-bubble/github.d.ts +148 -148
  13. package/dist/bubbles/service-bubble/gmail.d.ts +138 -138
  14. package/dist/bubbles/service-bubble/gmail.d.ts.map +1 -1
  15. package/dist/bubbles/service-bubble/gmail.js +10 -4
  16. package/dist/bubbles/service-bubble/gmail.js.map +1 -1
  17. package/dist/bubbles/service-bubble/google-calendar.d.ts +30 -30
  18. package/dist/bubbles/service-bubble/google-drive.d.ts +100 -100
  19. package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +30 -30
  20. package/dist/bubbles/service-bubble/hello-world.d.ts +4 -4
  21. package/dist/bubbles/service-bubble/http.d.ts +10 -10
  22. package/dist/bubbles/service-bubble/insforge-db.d.ts +4 -4
  23. package/dist/bubbles/service-bubble/jira/jira.d.ts +29 -29
  24. package/dist/bubbles/service-bubble/notion/notion.d.ts +72 -72
  25. package/dist/bubbles/service-bubble/postgresql.d.ts +6 -6
  26. package/dist/bubbles/service-bubble/resend.d.ts +26 -26
  27. package/dist/bubbles/service-bubble/slack/slack.d.ts +218 -218
  28. package/dist/bubbles/service-bubble/storage.d.ts +20 -20
  29. package/dist/bubbles/service-bubble/stripe/stripe.d.ts +62 -62
  30. package/dist/bubbles/service-bubble/telegram.d.ts +56 -56
  31. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +14 -14
  32. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +8 -8
  33. package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +12 -12
  34. package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +8 -8
  35. package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +4 -4
  36. package/dist/bubbles/tool-bubble/instagram-tool.d.ts +4 -4
  37. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts +2 -2
  38. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +20 -20
  39. package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +8 -8
  40. package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +4 -4
  41. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +12 -12
  42. package/dist/bubbles/tool-bubble/tool-template.d.ts +8 -8
  43. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +14 -14
  44. package/dist/bubbles/tool-bubble/web-search-tool.d.ts +4 -4
  45. package/dist/bubbles/tool-bubble/youtube-tool.d.ts +8 -8
  46. package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +12 -12
  47. package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +8 -8
  48. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +26 -26
  49. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +24 -24
  50. package/dist/bubbles.json +6 -6
  51. package/package.json +2 -2
@@ -17,24 +17,24 @@ declare const GmailParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
17
17
  operation: "send_email";
18
18
  to: string[];
19
19
  subject: string;
20
- credentials?: Partial<Record<CredentialType, string>> | undefined;
21
20
  cc?: string[] | undefined;
22
21
  bcc?: string[] | undefined;
23
- reply_to?: string | undefined;
24
22
  body_text?: string | undefined;
25
23
  body_html?: string | undefined;
24
+ reply_to?: string | undefined;
26
25
  thread_id?: string | undefined;
26
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
27
27
  }, {
28
28
  operation: "send_email";
29
29
  to: string[];
30
30
  subject: string;
31
- credentials?: Partial<Record<CredentialType, string>> | undefined;
32
31
  cc?: string[] | undefined;
33
32
  bcc?: string[] | undefined;
34
- reply_to?: string | undefined;
35
33
  body_text?: string | undefined;
36
34
  body_html?: string | undefined;
35
+ reply_to?: string | undefined;
37
36
  thread_id?: string | undefined;
37
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
38
38
  }>, z.ZodObject<{
39
39
  operation: z.ZodLiteral<"list_emails">;
40
40
  query: z.ZodOptional<z.ZodString>;
@@ -46,8 +46,8 @@ declare const GmailParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
46
46
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
47
47
  }, "strip", z.ZodTypeAny, {
48
48
  operation: "list_emails";
49
- max_results: number;
50
49
  include_spam_trash: boolean;
50
+ max_results: number;
51
51
  include_details: boolean;
52
52
  credentials?: Partial<Record<CredentialType, string>> | undefined;
53
53
  query?: string | undefined;
@@ -57,9 +57,9 @@ declare const GmailParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
57
57
  operation: "list_emails";
58
58
  credentials?: Partial<Record<CredentialType, string>> | undefined;
59
59
  query?: string | undefined;
60
- max_results?: number | undefined;
61
60
  label_ids?: string[] | undefined;
62
61
  include_spam_trash?: boolean | undefined;
62
+ max_results?: number | undefined;
63
63
  page_token?: string | undefined;
64
64
  include_details?: boolean | undefined;
65
65
  }>, z.ZodObject<{
@@ -69,8 +69,8 @@ declare const GmailParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
69
69
  metadata_headers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
70
70
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
71
71
  }, "strip", z.ZodTypeAny, {
72
- format: "minimal" | "full" | "raw" | "metadata";
73
72
  operation: "get_email";
73
+ format: "minimal" | "full" | "raw" | "metadata";
74
74
  message_id: string;
75
75
  credentials?: Partial<Record<CredentialType, string>> | undefined;
76
76
  metadata_headers?: string[] | undefined;
@@ -87,17 +87,17 @@ declare const GmailParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
87
87
  include_spam_trash: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
88
88
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
89
89
  }, "strip", z.ZodTypeAny, {
90
- query: string;
91
90
  operation: "search_emails";
92
- max_results: number;
91
+ query: string;
93
92
  include_spam_trash: boolean;
93
+ max_results: number;
94
94
  credentials?: Partial<Record<CredentialType, string>> | undefined;
95
95
  }, {
96
- query: string;
97
96
  operation: "search_emails";
97
+ query: string;
98
98
  credentials?: Partial<Record<CredentialType, string>> | undefined;
99
- max_results?: number | undefined;
100
99
  include_spam_trash?: boolean | undefined;
100
+ max_results?: number | undefined;
101
101
  }>, z.ZodObject<{
102
102
  operation: z.ZodLiteral<"mark_as_read">;
103
103
  message_ids: z.ZodArray<z.ZodString, "many">;
@@ -137,24 +137,24 @@ declare const GmailParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
137
137
  operation: "create_draft";
138
138
  to: string[];
139
139
  subject: string;
140
- credentials?: Partial<Record<CredentialType, string>> | undefined;
141
140
  cc?: string[] | undefined;
142
141
  bcc?: string[] | undefined;
143
- reply_to?: string | undefined;
144
142
  body_text?: string | undefined;
145
143
  body_html?: string | undefined;
144
+ reply_to?: string | undefined;
146
145
  thread_id?: string | undefined;
146
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
147
147
  }, {
148
148
  operation: "create_draft";
149
149
  to: string[];
150
150
  subject: string;
151
- credentials?: Partial<Record<CredentialType, string>> | undefined;
152
151
  cc?: string[] | undefined;
153
152
  bcc?: string[] | undefined;
154
- reply_to?: string | undefined;
155
153
  body_text?: string | undefined;
156
154
  body_html?: string | undefined;
155
+ reply_to?: string | undefined;
157
156
  thread_id?: string | undefined;
157
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
158
158
  }>, z.ZodObject<{
159
159
  operation: z.ZodLiteral<"send_draft">;
160
160
  draft_id: z.ZodString;
@@ -176,8 +176,8 @@ declare const GmailParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
176
176
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
177
177
  }, "strip", z.ZodTypeAny, {
178
178
  operation: "list_drafts";
179
- max_results: number;
180
179
  include_spam_trash: boolean;
180
+ max_results: number;
181
181
  credentials?: Partial<Record<CredentialType, string>> | undefined;
182
182
  query?: string | undefined;
183
183
  page_token?: string | undefined;
@@ -185,8 +185,8 @@ declare const GmailParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
185
185
  operation: "list_drafts";
186
186
  credentials?: Partial<Record<CredentialType, string>> | undefined;
187
187
  query?: string | undefined;
188
- max_results?: number | undefined;
189
188
  include_spam_trash?: boolean | undefined;
189
+ max_results?: number | undefined;
190
190
  page_token?: string | undefined;
191
191
  }>, z.ZodObject<{
192
192
  operation: z.ZodLiteral<"delete_email">;
@@ -222,8 +222,8 @@ declare const GmailParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
222
222
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
223
223
  }, "strip", z.ZodTypeAny, {
224
224
  operation: "list_threads";
225
- max_results: number;
226
225
  include_spam_trash: boolean;
226
+ max_results: number;
227
227
  credentials?: Partial<Record<CredentialType, string>> | undefined;
228
228
  query?: string | undefined;
229
229
  label_ids?: string[] | undefined;
@@ -232,9 +232,9 @@ declare const GmailParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
232
232
  operation: "list_threads";
233
233
  credentials?: Partial<Record<CredentialType, string>> | undefined;
234
234
  query?: string | undefined;
235
- max_results?: number | undefined;
236
235
  label_ids?: string[] | undefined;
237
236
  include_spam_trash?: boolean | undefined;
237
+ max_results?: number | undefined;
238
238
  page_token?: string | undefined;
239
239
  }>, z.ZodObject<{
240
240
  operation: z.ZodLiteral<"list_labels">;
@@ -254,16 +254,16 @@ declare const GmailParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
254
254
  text_color: z.ZodOptional<z.ZodString>;
255
255
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
256
256
  }, "strip", z.ZodTypeAny, {
257
- name: string;
258
257
  operation: "create_label";
258
+ name: string;
259
259
  label_list_visibility: "labelShow" | "labelShowIfUnread" | "labelHide";
260
260
  message_list_visibility: "show" | "hide";
261
261
  credentials?: Partial<Record<CredentialType, string>> | undefined;
262
262
  background_color?: string | undefined;
263
263
  text_color?: string | undefined;
264
264
  }, {
265
- name: string;
266
265
  operation: "create_label";
266
+ name: string;
267
267
  credentials?: Partial<Record<CredentialType, string>> | undefined;
268
268
  label_list_visibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
269
269
  message_list_visibility?: "show" | "hide" | undefined;
@@ -313,15 +313,15 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
313
313
  thread_id: z.ZodOptional<z.ZodString>;
314
314
  error: z.ZodString;
315
315
  }, "strip", z.ZodTypeAny, {
316
+ operation: "send_email";
316
317
  success: boolean;
317
318
  error: string;
318
- operation: "send_email";
319
319
  thread_id?: string | undefined;
320
320
  message_id?: string | undefined;
321
321
  }, {
322
+ operation: "send_email";
322
323
  success: boolean;
323
324
  error: string;
324
- operation: "send_email";
325
325
  thread_id?: string | undefined;
326
326
  message_id?: string | undefined;
327
327
  }>, z.ZodObject<{
@@ -439,9 +439,9 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
439
439
  result_size_estimate: z.ZodOptional<z.ZodNumber>;
440
440
  error: z.ZodString;
441
441
  }, "strip", z.ZodTypeAny, {
442
+ operation: "list_emails";
442
443
  success: boolean;
443
444
  error: string;
444
- operation: "list_emails";
445
445
  messages?: {
446
446
  id: string;
447
447
  raw?: string | undefined;
@@ -469,9 +469,9 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
469
469
  next_page_token?: string | undefined;
470
470
  result_size_estimate?: number | undefined;
471
471
  }, {
472
+ operation: "list_emails";
472
473
  success: boolean;
473
474
  error: string;
474
- operation: "list_emails";
475
475
  messages?: {
476
476
  id: string;
477
477
  raw?: string | undefined;
@@ -611,9 +611,9 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
611
611
  }>>;
612
612
  error: z.ZodString;
613
613
  }, "strip", z.ZodTypeAny, {
614
+ operation: "get_email";
614
615
  success: boolean;
615
616
  error: string;
616
- operation: "get_email";
617
617
  message?: {
618
618
  id: string;
619
619
  raw?: string | undefined;
@@ -639,9 +639,9 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
639
639
  } | undefined;
640
640
  } | undefined;
641
641
  }, {
642
+ operation: "get_email";
642
643
  success: boolean;
643
644
  error: string;
644
- operation: "get_email";
645
645
  message?: {
646
646
  id: string;
647
647
  raw?: string | undefined;
@@ -780,9 +780,9 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
780
780
  result_size_estimate: z.ZodOptional<z.ZodNumber>;
781
781
  error: z.ZodString;
782
782
  }, "strip", z.ZodTypeAny, {
783
+ operation: "search_emails";
783
784
  success: boolean;
784
785
  error: string;
785
- operation: "search_emails";
786
786
  messages?: {
787
787
  id: string;
788
788
  raw?: string | undefined;
@@ -809,9 +809,9 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
809
809
  }[] | undefined;
810
810
  result_size_estimate?: number | undefined;
811
811
  }, {
812
+ operation: "search_emails";
812
813
  success: boolean;
813
814
  error: string;
814
- operation: "search_emails";
815
815
  messages?: {
816
816
  id: string;
817
817
  raw?: string | undefined;
@@ -843,14 +843,14 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
843
843
  modified_messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
844
844
  error: z.ZodString;
845
845
  }, "strip", z.ZodTypeAny, {
846
+ operation: "mark_as_read";
846
847
  success: boolean;
847
848
  error: string;
848
- operation: "mark_as_read";
849
849
  modified_messages?: string[] | undefined;
850
850
  }, {
851
+ operation: "mark_as_read";
851
852
  success: boolean;
852
853
  error: string;
853
- operation: "mark_as_read";
854
854
  modified_messages?: string[] | undefined;
855
855
  }>, z.ZodObject<{
856
856
  operation: z.ZodLiteral<"mark_as_unread">;
@@ -858,14 +858,14 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
858
858
  modified_messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
859
859
  error: z.ZodString;
860
860
  }, "strip", z.ZodTypeAny, {
861
+ operation: "mark_as_unread";
861
862
  success: boolean;
862
863
  error: string;
863
- operation: "mark_as_unread";
864
864
  modified_messages?: string[] | undefined;
865
865
  }, {
866
+ operation: "mark_as_unread";
866
867
  success: boolean;
867
868
  error: string;
868
- operation: "mark_as_unread";
869
869
  modified_messages?: string[] | undefined;
870
870
  }>, z.ZodObject<{
871
871
  operation: z.ZodLiteral<"create_draft">;
@@ -1035,9 +1035,9 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1035
1035
  }>>;
1036
1036
  error: z.ZodString;
1037
1037
  }, "strip", z.ZodTypeAny, {
1038
+ operation: "create_draft";
1038
1039
  success: boolean;
1039
1040
  error: string;
1040
- operation: "create_draft";
1041
1041
  draft?: {
1042
1042
  message: {
1043
1043
  id: string;
@@ -1066,9 +1066,9 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1066
1066
  id: string;
1067
1067
  } | undefined;
1068
1068
  }, {
1069
+ operation: "create_draft";
1069
1070
  success: boolean;
1070
1071
  error: string;
1071
- operation: "create_draft";
1072
1072
  draft?: {
1073
1073
  message: {
1074
1074
  id: string;
@@ -1103,15 +1103,15 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1103
1103
  thread_id: z.ZodOptional<z.ZodString>;
1104
1104
  error: z.ZodString;
1105
1105
  }, "strip", z.ZodTypeAny, {
1106
+ operation: "send_draft";
1106
1107
  success: boolean;
1107
1108
  error: string;
1108
- operation: "send_draft";
1109
1109
  thread_id?: string | undefined;
1110
1110
  message_id?: string | undefined;
1111
1111
  }, {
1112
+ operation: "send_draft";
1112
1113
  success: boolean;
1113
1114
  error: string;
1114
- operation: "send_draft";
1115
1115
  thread_id?: string | undefined;
1116
1116
  message_id?: string | undefined;
1117
1117
  }>, z.ZodObject<{
@@ -1284,9 +1284,9 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1284
1284
  result_size_estimate: z.ZodOptional<z.ZodNumber>;
1285
1285
  error: z.ZodString;
1286
1286
  }, "strip", z.ZodTypeAny, {
1287
+ operation: "list_drafts";
1287
1288
  success: boolean;
1288
1289
  error: string;
1289
- operation: "list_drafts";
1290
1290
  next_page_token?: string | undefined;
1291
1291
  result_size_estimate?: number | undefined;
1292
1292
  drafts?: {
@@ -1317,9 +1317,9 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1317
1317
  id: string;
1318
1318
  }[] | undefined;
1319
1319
  }, {
1320
+ operation: "list_drafts";
1320
1321
  success: boolean;
1321
1322
  error: string;
1322
- operation: "list_drafts";
1323
1323
  next_page_token?: string | undefined;
1324
1324
  result_size_estimate?: number | undefined;
1325
1325
  drafts?: {
@@ -1355,14 +1355,14 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1355
1355
  deleted_message_id: z.ZodOptional<z.ZodString>;
1356
1356
  error: z.ZodString;
1357
1357
  }, "strip", z.ZodTypeAny, {
1358
+ operation: "delete_email";
1358
1359
  success: boolean;
1359
1360
  error: string;
1360
- operation: "delete_email";
1361
1361
  deleted_message_id?: string | undefined;
1362
1362
  }, {
1363
+ operation: "delete_email";
1363
1364
  success: boolean;
1364
1365
  error: string;
1365
- operation: "delete_email";
1366
1366
  deleted_message_id?: string | undefined;
1367
1367
  }>, z.ZodObject<{
1368
1368
  operation: z.ZodLiteral<"trash_email">;
@@ -1370,14 +1370,14 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1370
1370
  trashed_message_id: z.ZodOptional<z.ZodString>;
1371
1371
  error: z.ZodString;
1372
1372
  }, "strip", z.ZodTypeAny, {
1373
+ operation: "trash_email";
1373
1374
  success: boolean;
1374
1375
  error: string;
1375
- operation: "trash_email";
1376
1376
  trashed_message_id?: string | undefined;
1377
1377
  }, {
1378
+ operation: "trash_email";
1378
1379
  success: boolean;
1379
1380
  error: string;
1380
- operation: "trash_email";
1381
1381
  trashed_message_id?: string | undefined;
1382
1382
  }>, z.ZodObject<{
1383
1383
  operation: z.ZodLiteral<"list_threads">;
@@ -1496,6 +1496,8 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1496
1496
  snippet: z.ZodOptional<z.ZodString>;
1497
1497
  }, "strip", z.ZodTypeAny, {
1498
1498
  id: string;
1499
+ snippet?: string | undefined;
1500
+ historyId?: string | undefined;
1499
1501
  messages?: {
1500
1502
  id: string;
1501
1503
  raw?: string | undefined;
@@ -1520,10 +1522,10 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1520
1522
  parts?: any[] | undefined;
1521
1523
  } | undefined;
1522
1524
  }[] | undefined;
1523
- snippet?: string | undefined;
1524
- historyId?: string | undefined;
1525
1525
  }, {
1526
1526
  id: string;
1527
+ snippet?: string | undefined;
1528
+ historyId?: string | undefined;
1527
1529
  messages?: {
1528
1530
  id: string;
1529
1531
  raw?: string | undefined;
@@ -1548,20 +1550,20 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1548
1550
  parts?: any[] | undefined;
1549
1551
  } | undefined;
1550
1552
  }[] | undefined;
1551
- snippet?: string | undefined;
1552
- historyId?: string | undefined;
1553
1553
  }>, "many">>;
1554
1554
  next_page_token: z.ZodOptional<z.ZodString>;
1555
1555
  result_size_estimate: z.ZodOptional<z.ZodNumber>;
1556
1556
  error: z.ZodString;
1557
1557
  }, "strip", z.ZodTypeAny, {
1558
+ operation: "list_threads";
1558
1559
  success: boolean;
1559
1560
  error: string;
1560
- operation: "list_threads";
1561
1561
  next_page_token?: string | undefined;
1562
1562
  result_size_estimate?: number | undefined;
1563
1563
  threads?: {
1564
1564
  id: string;
1565
+ snippet?: string | undefined;
1566
+ historyId?: string | undefined;
1565
1567
  messages?: {
1566
1568
  id: string;
1567
1569
  raw?: string | undefined;
@@ -1586,17 +1588,17 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1586
1588
  parts?: any[] | undefined;
1587
1589
  } | undefined;
1588
1590
  }[] | undefined;
1589
- snippet?: string | undefined;
1590
- historyId?: string | undefined;
1591
1591
  }[] | undefined;
1592
1592
  }, {
1593
+ operation: "list_threads";
1593
1594
  success: boolean;
1594
1595
  error: string;
1595
- operation: "list_threads";
1596
1596
  next_page_token?: string | undefined;
1597
1597
  result_size_estimate?: number | undefined;
1598
1598
  threads?: {
1599
1599
  id: string;
1600
+ snippet?: string | undefined;
1601
+ historyId?: string | undefined;
1600
1602
  messages?: {
1601
1603
  id: string;
1602
1604
  raw?: string | undefined;
@@ -1621,8 +1623,6 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1621
1623
  parts?: any[] | undefined;
1622
1624
  } | undefined;
1623
1625
  }[] | undefined;
1624
- snippet?: string | undefined;
1625
- historyId?: string | undefined;
1626
1626
  }[] | undefined;
1627
1627
  }>, z.ZodObject<{
1628
1628
  operation: z.ZodLiteral<"list_labels">;
@@ -1636,36 +1636,36 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1636
1636
  }, "strip", z.ZodTypeAny, {
1637
1637
  name: string;
1638
1638
  id: string;
1639
- type?: "user" | "system" | undefined;
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?: "user" | "system" | undefined;
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
+ operation: "list_labels";
1651
1652
  success: boolean;
1652
1653
  error: string;
1653
- operation: "list_labels";
1654
1654
  labels?: {
1655
1655
  name: string;
1656
1656
  id: string;
1657
- type?: "user" | "system" | undefined;
1657
+ type?: "system" | "user" | undefined;
1658
1658
  messageListVisibility?: "show" | "hide" | undefined;
1659
1659
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
1660
1660
  }[] | undefined;
1661
1661
  }, {
1662
+ operation: "list_labels";
1662
1663
  success: boolean;
1663
1664
  error: string;
1664
- operation: "list_labels";
1665
1665
  labels?: {
1666
1666
  name: string;
1667
1667
  id: string;
1668
- type?: "user" | "system" | undefined;
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?: "user" | "system" | undefined;
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?: "user" | "system" | undefined;
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
+ operation: "create_label";
1696
1697
  success: boolean;
1697
1698
  error: string;
1698
- operation: "create_label";
1699
1699
  label?: {
1700
1700
  name: string;
1701
1701
  id: string;
1702
- type?: "user" | "system" | undefined;
1702
+ type?: "system" | "user" | undefined;
1703
1703
  messageListVisibility?: "show" | "hide" | undefined;
1704
1704
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
1705
1705
  } | undefined;
1706
1706
  }, {
1707
+ operation: "create_label";
1707
1708
  success: boolean;
1708
1709
  error: string;
1709
- operation: "create_label";
1710
1710
  label?: {
1711
1711
  name: string;
1712
1712
  id: string;
1713
- type?: "user" | "system" | undefined;
1713
+ type?: "system" | "user" | undefined;
1714
1714
  messageListVisibility?: "show" | "hide" | undefined;
1715
1715
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
1716
1716
  } | undefined;
@@ -1721,15 +1721,15 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1721
1721
  label_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1722
1722
  error: z.ZodString;
1723
1723
  }, "strip", z.ZodTypeAny, {
1724
+ operation: "modify_message_labels";
1724
1725
  success: boolean;
1725
1726
  error: string;
1726
- operation: "modify_message_labels";
1727
1727
  label_ids?: string[] | undefined;
1728
1728
  message_id?: string | undefined;
1729
1729
  }, {
1730
+ operation: "modify_message_labels";
1730
1731
  success: boolean;
1731
1732
  error: string;
1732
- operation: "modify_message_labels";
1733
1733
  label_ids?: string[] | undefined;
1734
1734
  message_id?: string | undefined;
1735
1735
  }>, z.ZodObject<{
@@ -1738,14 +1738,14 @@ declare const GmailResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObje
1738
1738
  thread_id: z.ZodOptional<z.ZodString>;
1739
1739
  error: z.ZodString;
1740
1740
  }, "strip", z.ZodTypeAny, {
1741
+ operation: "modify_thread_labels";
1741
1742
  success: boolean;
1742
1743
  error: string;
1743
- operation: "modify_thread_labels";
1744
1744
  thread_id?: string | undefined;
1745
1745
  }, {
1746
+ operation: "modify_thread_labels";
1746
1747
  success: boolean;
1747
1748
  error: string;
1748
- operation: "modify_thread_labels";
1749
1749
  thread_id?: string | undefined;
1750
1750
  }>]>;
1751
1751
  type GmailResult = z.output<typeof GmailResultSchema>;
@@ -1776,24 +1776,24 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
1776
1776
  operation: "send_email";
1777
1777
  to: string[];
1778
1778
  subject: string;
1779
- credentials?: Partial<Record<CredentialType, string>> | undefined;
1780
1779
  cc?: string[] | undefined;
1781
1780
  bcc?: string[] | undefined;
1782
- reply_to?: string | undefined;
1783
1781
  body_text?: string | undefined;
1784
1782
  body_html?: string | undefined;
1783
+ reply_to?: string | undefined;
1785
1784
  thread_id?: string | undefined;
1785
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1786
1786
  }, {
1787
1787
  operation: "send_email";
1788
1788
  to: string[];
1789
1789
  subject: string;
1790
- credentials?: Partial<Record<CredentialType, string>> | undefined;
1791
1790
  cc?: string[] | undefined;
1792
1791
  bcc?: string[] | undefined;
1793
- reply_to?: string | undefined;
1794
1792
  body_text?: string | undefined;
1795
1793
  body_html?: string | undefined;
1794
+ reply_to?: string | undefined;
1796
1795
  thread_id?: string | undefined;
1796
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1797
1797
  }>, z.ZodObject<{
1798
1798
  operation: z.ZodLiteral<"list_emails">;
1799
1799
  query: z.ZodOptional<z.ZodString>;
@@ -1805,8 +1805,8 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
1805
1805
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
1806
1806
  }, "strip", z.ZodTypeAny, {
1807
1807
  operation: "list_emails";
1808
- max_results: number;
1809
1808
  include_spam_trash: boolean;
1809
+ max_results: number;
1810
1810
  include_details: boolean;
1811
1811
  credentials?: Partial<Record<CredentialType, string>> | undefined;
1812
1812
  query?: string | undefined;
@@ -1816,9 +1816,9 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
1816
1816
  operation: "list_emails";
1817
1817
  credentials?: Partial<Record<CredentialType, string>> | undefined;
1818
1818
  query?: string | undefined;
1819
- max_results?: number | undefined;
1820
1819
  label_ids?: string[] | undefined;
1821
1820
  include_spam_trash?: boolean | undefined;
1821
+ max_results?: number | undefined;
1822
1822
  page_token?: string | undefined;
1823
1823
  include_details?: boolean | undefined;
1824
1824
  }>, z.ZodObject<{
@@ -1828,8 +1828,8 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
1828
1828
  metadata_headers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1829
1829
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
1830
1830
  }, "strip", z.ZodTypeAny, {
1831
- format: "minimal" | "full" | "raw" | "metadata";
1832
1831
  operation: "get_email";
1832
+ format: "minimal" | "full" | "raw" | "metadata";
1833
1833
  message_id: string;
1834
1834
  credentials?: Partial<Record<CredentialType, string>> | undefined;
1835
1835
  metadata_headers?: string[] | undefined;
@@ -1846,17 +1846,17 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
1846
1846
  include_spam_trash: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1847
1847
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
1848
1848
  }, "strip", z.ZodTypeAny, {
1849
- query: string;
1850
1849
  operation: "search_emails";
1851
- max_results: number;
1850
+ query: string;
1852
1851
  include_spam_trash: boolean;
1852
+ max_results: number;
1853
1853
  credentials?: Partial<Record<CredentialType, string>> | undefined;
1854
1854
  }, {
1855
- query: string;
1856
1855
  operation: "search_emails";
1856
+ query: string;
1857
1857
  credentials?: Partial<Record<CredentialType, string>> | undefined;
1858
- max_results?: number | undefined;
1859
1858
  include_spam_trash?: boolean | undefined;
1859
+ max_results?: number | undefined;
1860
1860
  }>, z.ZodObject<{
1861
1861
  operation: z.ZodLiteral<"mark_as_read">;
1862
1862
  message_ids: z.ZodArray<z.ZodString, "many">;
@@ -1896,24 +1896,24 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
1896
1896
  operation: "create_draft";
1897
1897
  to: string[];
1898
1898
  subject: string;
1899
- credentials?: Partial<Record<CredentialType, string>> | undefined;
1900
1899
  cc?: string[] | undefined;
1901
1900
  bcc?: string[] | undefined;
1902
- reply_to?: string | undefined;
1903
1901
  body_text?: string | undefined;
1904
1902
  body_html?: string | undefined;
1903
+ reply_to?: string | undefined;
1905
1904
  thread_id?: string | undefined;
1905
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1906
1906
  }, {
1907
1907
  operation: "create_draft";
1908
1908
  to: string[];
1909
1909
  subject: string;
1910
- credentials?: Partial<Record<CredentialType, string>> | undefined;
1911
1910
  cc?: string[] | undefined;
1912
1911
  bcc?: string[] | undefined;
1913
- reply_to?: string | undefined;
1914
1912
  body_text?: string | undefined;
1915
1913
  body_html?: string | undefined;
1914
+ reply_to?: string | undefined;
1916
1915
  thread_id?: string | undefined;
1916
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1917
1917
  }>, z.ZodObject<{
1918
1918
  operation: z.ZodLiteral<"send_draft">;
1919
1919
  draft_id: z.ZodString;
@@ -1935,8 +1935,8 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
1935
1935
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
1936
1936
  }, "strip", z.ZodTypeAny, {
1937
1937
  operation: "list_drafts";
1938
- max_results: number;
1939
1938
  include_spam_trash: boolean;
1939
+ max_results: number;
1940
1940
  credentials?: Partial<Record<CredentialType, string>> | undefined;
1941
1941
  query?: string | undefined;
1942
1942
  page_token?: string | undefined;
@@ -1944,8 +1944,8 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
1944
1944
  operation: "list_drafts";
1945
1945
  credentials?: Partial<Record<CredentialType, string>> | undefined;
1946
1946
  query?: string | undefined;
1947
- max_results?: number | undefined;
1948
1947
  include_spam_trash?: boolean | undefined;
1948
+ max_results?: number | undefined;
1949
1949
  page_token?: string | undefined;
1950
1950
  }>, z.ZodObject<{
1951
1951
  operation: z.ZodLiteral<"delete_email">;
@@ -1981,8 +1981,8 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
1981
1981
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
1982
1982
  }, "strip", z.ZodTypeAny, {
1983
1983
  operation: "list_threads";
1984
- max_results: number;
1985
1984
  include_spam_trash: boolean;
1985
+ max_results: number;
1986
1986
  credentials?: Partial<Record<CredentialType, string>> | undefined;
1987
1987
  query?: string | undefined;
1988
1988
  label_ids?: string[] | undefined;
@@ -1991,9 +1991,9 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
1991
1991
  operation: "list_threads";
1992
1992
  credentials?: Partial<Record<CredentialType, string>> | undefined;
1993
1993
  query?: string | undefined;
1994
- max_results?: number | undefined;
1995
1994
  label_ids?: string[] | undefined;
1996
1995
  include_spam_trash?: boolean | undefined;
1996
+ max_results?: number | undefined;
1997
1997
  page_token?: string | undefined;
1998
1998
  }>, z.ZodObject<{
1999
1999
  operation: z.ZodLiteral<"list_labels">;
@@ -2013,16 +2013,16 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2013
2013
  text_color: z.ZodOptional<z.ZodString>;
2014
2014
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
2015
2015
  }, "strip", z.ZodTypeAny, {
2016
- name: string;
2017
2016
  operation: "create_label";
2017
+ name: string;
2018
2018
  label_list_visibility: "labelShow" | "labelShowIfUnread" | "labelHide";
2019
2019
  message_list_visibility: "show" | "hide";
2020
2020
  credentials?: Partial<Record<CredentialType, string>> | undefined;
2021
2021
  background_color?: string | undefined;
2022
2022
  text_color?: string | undefined;
2023
2023
  }, {
2024
- name: string;
2025
2024
  operation: "create_label";
2025
+ name: string;
2026
2026
  credentials?: Partial<Record<CredentialType, string>> | undefined;
2027
2027
  label_list_visibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
2028
2028
  message_list_visibility?: "show" | "hide" | undefined;
@@ -2072,15 +2072,15 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2072
2072
  thread_id: z.ZodOptional<z.ZodString>;
2073
2073
  error: z.ZodString;
2074
2074
  }, "strip", z.ZodTypeAny, {
2075
+ operation: "send_email";
2075
2076
  success: boolean;
2076
2077
  error: string;
2077
- operation: "send_email";
2078
2078
  thread_id?: string | undefined;
2079
2079
  message_id?: string | undefined;
2080
2080
  }, {
2081
+ operation: "send_email";
2081
2082
  success: boolean;
2082
2083
  error: string;
2083
- operation: "send_email";
2084
2084
  thread_id?: string | undefined;
2085
2085
  message_id?: string | undefined;
2086
2086
  }>, z.ZodObject<{
@@ -2198,9 +2198,9 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2198
2198
  result_size_estimate: z.ZodOptional<z.ZodNumber>;
2199
2199
  error: z.ZodString;
2200
2200
  }, "strip", z.ZodTypeAny, {
2201
+ operation: "list_emails";
2201
2202
  success: boolean;
2202
2203
  error: string;
2203
- operation: "list_emails";
2204
2204
  messages?: {
2205
2205
  id: string;
2206
2206
  raw?: string | undefined;
@@ -2228,9 +2228,9 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2228
2228
  next_page_token?: string | undefined;
2229
2229
  result_size_estimate?: number | undefined;
2230
2230
  }, {
2231
+ operation: "list_emails";
2231
2232
  success: boolean;
2232
2233
  error: string;
2233
- operation: "list_emails";
2234
2234
  messages?: {
2235
2235
  id: string;
2236
2236
  raw?: string | undefined;
@@ -2370,9 +2370,9 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2370
2370
  }>>;
2371
2371
  error: z.ZodString;
2372
2372
  }, "strip", z.ZodTypeAny, {
2373
+ operation: "get_email";
2373
2374
  success: boolean;
2374
2375
  error: string;
2375
- operation: "get_email";
2376
2376
  message?: {
2377
2377
  id: string;
2378
2378
  raw?: string | undefined;
@@ -2398,9 +2398,9 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2398
2398
  } | undefined;
2399
2399
  } | undefined;
2400
2400
  }, {
2401
+ operation: "get_email";
2401
2402
  success: boolean;
2402
2403
  error: string;
2403
- operation: "get_email";
2404
2404
  message?: {
2405
2405
  id: string;
2406
2406
  raw?: string | undefined;
@@ -2539,9 +2539,9 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2539
2539
  result_size_estimate: z.ZodOptional<z.ZodNumber>;
2540
2540
  error: z.ZodString;
2541
2541
  }, "strip", z.ZodTypeAny, {
2542
+ operation: "search_emails";
2542
2543
  success: boolean;
2543
2544
  error: string;
2544
- operation: "search_emails";
2545
2545
  messages?: {
2546
2546
  id: string;
2547
2547
  raw?: string | undefined;
@@ -2568,9 +2568,9 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2568
2568
  }[] | undefined;
2569
2569
  result_size_estimate?: number | undefined;
2570
2570
  }, {
2571
+ operation: "search_emails";
2571
2572
  success: boolean;
2572
2573
  error: string;
2573
- operation: "search_emails";
2574
2574
  messages?: {
2575
2575
  id: string;
2576
2576
  raw?: string | undefined;
@@ -2602,14 +2602,14 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2602
2602
  modified_messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2603
2603
  error: z.ZodString;
2604
2604
  }, "strip", z.ZodTypeAny, {
2605
+ operation: "mark_as_read";
2605
2606
  success: boolean;
2606
2607
  error: string;
2607
- operation: "mark_as_read";
2608
2608
  modified_messages?: string[] | undefined;
2609
2609
  }, {
2610
+ operation: "mark_as_read";
2610
2611
  success: boolean;
2611
2612
  error: string;
2612
- operation: "mark_as_read";
2613
2613
  modified_messages?: string[] | undefined;
2614
2614
  }>, z.ZodObject<{
2615
2615
  operation: z.ZodLiteral<"mark_as_unread">;
@@ -2617,14 +2617,14 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2617
2617
  modified_messages: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2618
2618
  error: z.ZodString;
2619
2619
  }, "strip", z.ZodTypeAny, {
2620
+ operation: "mark_as_unread";
2620
2621
  success: boolean;
2621
2622
  error: string;
2622
- operation: "mark_as_unread";
2623
2623
  modified_messages?: string[] | undefined;
2624
2624
  }, {
2625
+ operation: "mark_as_unread";
2625
2626
  success: boolean;
2626
2627
  error: string;
2627
- operation: "mark_as_unread";
2628
2628
  modified_messages?: string[] | undefined;
2629
2629
  }>, z.ZodObject<{
2630
2630
  operation: z.ZodLiteral<"create_draft">;
@@ -2794,9 +2794,9 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2794
2794
  }>>;
2795
2795
  error: z.ZodString;
2796
2796
  }, "strip", z.ZodTypeAny, {
2797
+ operation: "create_draft";
2797
2798
  success: boolean;
2798
2799
  error: string;
2799
- operation: "create_draft";
2800
2800
  draft?: {
2801
2801
  message: {
2802
2802
  id: string;
@@ -2825,9 +2825,9 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2825
2825
  id: string;
2826
2826
  } | undefined;
2827
2827
  }, {
2828
+ operation: "create_draft";
2828
2829
  success: boolean;
2829
2830
  error: string;
2830
- operation: "create_draft";
2831
2831
  draft?: {
2832
2832
  message: {
2833
2833
  id: string;
@@ -2862,15 +2862,15 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
2862
2862
  thread_id: z.ZodOptional<z.ZodString>;
2863
2863
  error: z.ZodString;
2864
2864
  }, "strip", z.ZodTypeAny, {
2865
+ operation: "send_draft";
2865
2866
  success: boolean;
2866
2867
  error: string;
2867
- operation: "send_draft";
2868
2868
  thread_id?: string | undefined;
2869
2869
  message_id?: string | undefined;
2870
2870
  }, {
2871
+ operation: "send_draft";
2871
2872
  success: boolean;
2872
2873
  error: string;
2873
- operation: "send_draft";
2874
2874
  thread_id?: string | undefined;
2875
2875
  message_id?: string | undefined;
2876
2876
  }>, z.ZodObject<{
@@ -3043,9 +3043,9 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3043
3043
  result_size_estimate: z.ZodOptional<z.ZodNumber>;
3044
3044
  error: z.ZodString;
3045
3045
  }, "strip", z.ZodTypeAny, {
3046
+ operation: "list_drafts";
3046
3047
  success: boolean;
3047
3048
  error: string;
3048
- operation: "list_drafts";
3049
3049
  next_page_token?: string | undefined;
3050
3050
  result_size_estimate?: number | undefined;
3051
3051
  drafts?: {
@@ -3076,9 +3076,9 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3076
3076
  id: string;
3077
3077
  }[] | undefined;
3078
3078
  }, {
3079
+ operation: "list_drafts";
3079
3080
  success: boolean;
3080
3081
  error: string;
3081
- operation: "list_drafts";
3082
3082
  next_page_token?: string | undefined;
3083
3083
  result_size_estimate?: number | undefined;
3084
3084
  drafts?: {
@@ -3114,14 +3114,14 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3114
3114
  deleted_message_id: z.ZodOptional<z.ZodString>;
3115
3115
  error: z.ZodString;
3116
3116
  }, "strip", z.ZodTypeAny, {
3117
+ operation: "delete_email";
3117
3118
  success: boolean;
3118
3119
  error: string;
3119
- operation: "delete_email";
3120
3120
  deleted_message_id?: string | undefined;
3121
3121
  }, {
3122
+ operation: "delete_email";
3122
3123
  success: boolean;
3123
3124
  error: string;
3124
- operation: "delete_email";
3125
3125
  deleted_message_id?: string | undefined;
3126
3126
  }>, z.ZodObject<{
3127
3127
  operation: z.ZodLiteral<"trash_email">;
@@ -3129,14 +3129,14 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3129
3129
  trashed_message_id: z.ZodOptional<z.ZodString>;
3130
3130
  error: z.ZodString;
3131
3131
  }, "strip", z.ZodTypeAny, {
3132
+ operation: "trash_email";
3132
3133
  success: boolean;
3133
3134
  error: string;
3134
- operation: "trash_email";
3135
3135
  trashed_message_id?: string | undefined;
3136
3136
  }, {
3137
+ operation: "trash_email";
3137
3138
  success: boolean;
3138
3139
  error: string;
3139
- operation: "trash_email";
3140
3140
  trashed_message_id?: string | undefined;
3141
3141
  }>, z.ZodObject<{
3142
3142
  operation: z.ZodLiteral<"list_threads">;
@@ -3255,6 +3255,8 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3255
3255
  snippet: z.ZodOptional<z.ZodString>;
3256
3256
  }, "strip", z.ZodTypeAny, {
3257
3257
  id: string;
3258
+ snippet?: string | undefined;
3259
+ historyId?: string | undefined;
3258
3260
  messages?: {
3259
3261
  id: string;
3260
3262
  raw?: string | undefined;
@@ -3279,10 +3281,10 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3279
3281
  parts?: any[] | undefined;
3280
3282
  } | undefined;
3281
3283
  }[] | undefined;
3282
- snippet?: string | undefined;
3283
- historyId?: string | undefined;
3284
3284
  }, {
3285
3285
  id: string;
3286
+ snippet?: string | undefined;
3287
+ historyId?: string | undefined;
3286
3288
  messages?: {
3287
3289
  id: string;
3288
3290
  raw?: string | undefined;
@@ -3307,20 +3309,20 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3307
3309
  parts?: any[] | undefined;
3308
3310
  } | undefined;
3309
3311
  }[] | undefined;
3310
- snippet?: string | undefined;
3311
- historyId?: string | undefined;
3312
3312
  }>, "many">>;
3313
3313
  next_page_token: z.ZodOptional<z.ZodString>;
3314
3314
  result_size_estimate: z.ZodOptional<z.ZodNumber>;
3315
3315
  error: z.ZodString;
3316
3316
  }, "strip", z.ZodTypeAny, {
3317
+ operation: "list_threads";
3317
3318
  success: boolean;
3318
3319
  error: string;
3319
- operation: "list_threads";
3320
3320
  next_page_token?: string | undefined;
3321
3321
  result_size_estimate?: number | undefined;
3322
3322
  threads?: {
3323
3323
  id: string;
3324
+ snippet?: string | undefined;
3325
+ historyId?: string | undefined;
3324
3326
  messages?: {
3325
3327
  id: string;
3326
3328
  raw?: string | undefined;
@@ -3345,17 +3347,17 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3345
3347
  parts?: any[] | undefined;
3346
3348
  } | undefined;
3347
3349
  }[] | undefined;
3348
- snippet?: string | undefined;
3349
- historyId?: string | undefined;
3350
3350
  }[] | undefined;
3351
3351
  }, {
3352
+ operation: "list_threads";
3352
3353
  success: boolean;
3353
3354
  error: string;
3354
- operation: "list_threads";
3355
3355
  next_page_token?: string | undefined;
3356
3356
  result_size_estimate?: number | undefined;
3357
3357
  threads?: {
3358
3358
  id: string;
3359
+ snippet?: string | undefined;
3360
+ historyId?: string | undefined;
3359
3361
  messages?: {
3360
3362
  id: string;
3361
3363
  raw?: string | undefined;
@@ -3380,8 +3382,6 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3380
3382
  parts?: any[] | undefined;
3381
3383
  } | undefined;
3382
3384
  }[] | undefined;
3383
- snippet?: string | undefined;
3384
- historyId?: string | undefined;
3385
3385
  }[] | undefined;
3386
3386
  }>, z.ZodObject<{
3387
3387
  operation: z.ZodLiteral<"list_labels">;
@@ -3395,36 +3395,36 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3395
3395
  }, "strip", z.ZodTypeAny, {
3396
3396
  name: string;
3397
3397
  id: string;
3398
- type?: "user" | "system" | undefined;
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?: "user" | "system" | undefined;
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
+ operation: "list_labels";
3410
3411
  success: boolean;
3411
3412
  error: string;
3412
- operation: "list_labels";
3413
3413
  labels?: {
3414
3414
  name: string;
3415
3415
  id: string;
3416
- type?: "user" | "system" | undefined;
3416
+ type?: "system" | "user" | undefined;
3417
3417
  messageListVisibility?: "show" | "hide" | undefined;
3418
3418
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
3419
3419
  }[] | undefined;
3420
3420
  }, {
3421
+ operation: "list_labels";
3421
3422
  success: boolean;
3422
3423
  error: string;
3423
- operation: "list_labels";
3424
3424
  labels?: {
3425
3425
  name: string;
3426
3426
  id: string;
3427
- type?: "user" | "system" | undefined;
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?: "user" | "system" | undefined;
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?: "user" | "system" | undefined;
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
+ operation: "create_label";
3455
3456
  success: boolean;
3456
3457
  error: string;
3457
- operation: "create_label";
3458
3458
  label?: {
3459
3459
  name: string;
3460
3460
  id: string;
3461
- type?: "user" | "system" | undefined;
3461
+ type?: "system" | "user" | undefined;
3462
3462
  messageListVisibility?: "show" | "hide" | undefined;
3463
3463
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
3464
3464
  } | undefined;
3465
3465
  }, {
3466
+ operation: "create_label";
3466
3467
  success: boolean;
3467
3468
  error: string;
3468
- operation: "create_label";
3469
3469
  label?: {
3470
3470
  name: string;
3471
3471
  id: string;
3472
- type?: "user" | "system" | undefined;
3472
+ type?: "system" | "user" | undefined;
3473
3473
  messageListVisibility?: "show" | "hide" | undefined;
3474
3474
  labelListVisibility?: "labelShow" | "labelShowIfUnread" | "labelHide" | undefined;
3475
3475
  } | undefined;
@@ -3480,15 +3480,15 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3480
3480
  label_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3481
3481
  error: z.ZodString;
3482
3482
  }, "strip", z.ZodTypeAny, {
3483
+ operation: "modify_message_labels";
3483
3484
  success: boolean;
3484
3485
  error: string;
3485
- operation: "modify_message_labels";
3486
3486
  label_ids?: string[] | undefined;
3487
3487
  message_id?: string | undefined;
3488
3488
  }, {
3489
+ operation: "modify_message_labels";
3489
3490
  success: boolean;
3490
3491
  error: string;
3491
- operation: "modify_message_labels";
3492
3492
  label_ids?: string[] | undefined;
3493
3493
  message_id?: string | undefined;
3494
3494
  }>, z.ZodObject<{
@@ -3497,14 +3497,14 @@ export declare class GmailBubble<T extends GmailParams = GmailParams> extends Se
3497
3497
  thread_id: z.ZodOptional<z.ZodString>;
3498
3498
  error: z.ZodString;
3499
3499
  }, "strip", z.ZodTypeAny, {
3500
+ operation: "modify_thread_labels";
3500
3501
  success: boolean;
3501
3502
  error: string;
3502
- operation: "modify_thread_labels";
3503
3503
  thread_id?: string | undefined;
3504
3504
  }, {
3505
+ operation: "modify_thread_labels";
3505
3506
  success: boolean;
3506
3507
  error: string;
3507
- operation: "modify_thread_labels";
3508
3508
  thread_id?: string | undefined;
3509
3509
  }>]>;
3510
3510
  static readonly shortDescription = "Gmail integration for email management";