@bubblelab/bubble-core 0.1.68 → 0.1.70

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 (72) hide show
  1. package/dist/bubble-bundle.d.ts +85 -85
  2. package/dist/bubbles/service-bubble/agi-inc.d.ts +112 -112
  3. package/dist/bubbles/service-bubble/ai-agent.d.ts +72 -72
  4. package/dist/bubbles/service-bubble/airtable.d.ts +156 -156
  5. package/dist/bubbles/service-bubble/apify/apify.d.ts +8 -8
  6. package/dist/bubbles/service-bubble/ashby/ashby.d.ts +108 -108
  7. package/dist/bubbles/service-bubble/ashby/ashby.js +1 -1
  8. package/dist/bubbles/service-bubble/ashby/ashby.js.map +1 -1
  9. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +51 -51
  10. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +22 -22
  11. package/dist/bubbles/service-bubble/eleven-labs.d.ts +56 -56
  12. package/dist/bubbles/service-bubble/firecrawl.d.ts +328 -328
  13. package/dist/bubbles/service-bubble/followupboss.d.ts +256 -256
  14. package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +40 -40
  15. package/dist/bubbles/service-bubble/github.d.ts +152 -152
  16. package/dist/bubbles/service-bubble/gmail.d.ts +576 -576
  17. package/dist/bubbles/service-bubble/google-calendar.d.ts +232 -232
  18. package/dist/bubbles/service-bubble/google-drive.d.ts +483 -156
  19. package/dist/bubbles/service-bubble/google-drive.d.ts.map +1 -1
  20. package/dist/bubbles/service-bubble/google-drive.js +339 -30
  21. package/dist/bubbles/service-bubble/google-drive.js.map +1 -1
  22. package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +78 -78
  23. package/dist/bubbles/service-bubble/hello-world.d.ts +4 -4
  24. package/dist/bubbles/service-bubble/http.d.ts +16 -16
  25. package/dist/bubbles/service-bubble/insforge-db.d.ts +10 -10
  26. package/dist/bubbles/service-bubble/jira/jira.d.ts +54 -54
  27. package/dist/bubbles/service-bubble/notion/notion.d.ts +1032 -1032
  28. package/dist/bubbles/service-bubble/postgresql.d.ts +10 -10
  29. package/dist/bubbles/service-bubble/resend.d.ts +20 -20
  30. package/dist/bubbles/service-bubble/slack/slack.d.ts +182 -182
  31. package/dist/bubbles/service-bubble/storage.d.ts +40 -40
  32. package/dist/bubbles/service-bubble/stripe/stripe.d.ts +72 -72
  33. package/dist/bubbles/service-bubble/telegram.d.ts +936 -936
  34. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +26 -26
  35. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +4 -4
  36. package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +4 -4
  37. package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +4 -4
  38. package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +14 -14
  39. package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts +4 -4
  40. package/dist/bubbles/tool-bubble/get-trigger-detail-tool.d.ts +4 -4
  41. package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +20 -20
  42. package/dist/bubbles/tool-bubble/instagram-tool.d.ts +8 -8
  43. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts +8 -8
  44. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts.map +1 -1
  45. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.d.ts +8 -8
  46. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.d.ts.map +1 -1
  47. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.js +31 -25
  48. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.js.map +1 -1
  49. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +22 -22
  50. package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
  51. package/dist/bubbles/tool-bubble/people-search-tool.d.ts +18 -18
  52. package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +14 -14
  53. package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +8 -8
  54. package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +12 -12
  55. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +16 -16
  56. package/dist/bubbles/tool-bubble/tool-template.d.ts +4 -4
  57. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +18 -18
  58. package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +4 -4
  59. package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +4 -4
  60. package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +4 -4
  61. package/dist/bubbles/tool-bubble/web-search-tool.d.ts +10 -10
  62. package/dist/bubbles/tool-bubble/youtube-tool.d.ts +8 -8
  63. package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
  64. package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +16 -16
  65. package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +4 -4
  66. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +82 -82
  67. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +16 -16
  68. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +10 -10
  69. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +42 -42
  70. package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +4 -4
  71. package/dist/bubbles.json +355 -74
  72. package/package.json +2 -2
@@ -11,21 +11,21 @@ declare const GoogleDriveParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
11
11
  convert_to_google_docs: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
12
12
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
13
13
  }, "strip", z.ZodTypeAny, {
14
+ operation: "upload_file";
14
15
  name: string;
15
16
  content: string;
16
- operation: "upload_file";
17
17
  convert_to_google_docs: boolean;
18
18
  mimeType?: string | undefined;
19
- credentials?: Partial<Record<CredentialType, string>> | undefined;
20
19
  parent_folder_id?: string | undefined;
20
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
21
21
  }, {
22
+ operation: "upload_file";
22
23
  name: string;
23
24
  content: string;
24
- operation: "upload_file";
25
25
  mimeType?: string | undefined;
26
- credentials?: Partial<Record<CredentialType, string>> | undefined;
27
26
  parent_folder_id?: string | undefined;
28
27
  convert_to_google_docs?: boolean | undefined;
28
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
29
29
  }>, z.ZodObject<{
30
30
  operation: z.ZodLiteral<"download_file">;
31
31
  file_id: z.ZodString;
@@ -55,13 +55,13 @@ declare const GoogleDriveParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
55
55
  include_folders: boolean;
56
56
  order_by: string;
57
57
  credentials?: Partial<Record<CredentialType, string>> | undefined;
58
- query?: string | undefined;
59
58
  folder_id?: string | undefined;
59
+ query?: string | undefined;
60
60
  }, {
61
61
  operation: "list_files";
62
62
  credentials?: Partial<Record<CredentialType, string>> | undefined;
63
- query?: string | undefined;
64
63
  folder_id?: string | undefined;
64
+ query?: string | undefined;
65
65
  max_results?: number | undefined;
66
66
  include_folders?: boolean | undefined;
67
67
  order_by?: string | undefined;
@@ -71,15 +71,15 @@ declare const GoogleDriveParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
71
71
  parent_folder_id: z.ZodOptional<z.ZodString>;
72
72
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
73
73
  }, "strip", z.ZodTypeAny, {
74
- name: string;
75
74
  operation: "create_folder";
76
- credentials?: Partial<Record<CredentialType, string>> | undefined;
75
+ name: string;
77
76
  parent_folder_id?: string | undefined;
77
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
78
78
  }, {
79
- name: string;
80
79
  operation: "create_folder";
81
- credentials?: Partial<Record<CredentialType, string>> | undefined;
80
+ name: string;
82
81
  parent_folder_id?: string | undefined;
82
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
83
83
  }>, z.ZodObject<{
84
84
  operation: z.ZodLiteral<"delete_file">;
85
85
  file_id: z.ZodString;
@@ -119,10 +119,10 @@ declare const GoogleDriveParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
119
119
  send_notification: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
120
120
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
121
121
  }, "strip", z.ZodTypeAny, {
122
- type: "user" | "group" | "domain" | "anyone";
123
122
  operation: "share_file";
123
+ type: "user" | "group" | "domain" | "anyone";
124
124
  file_id: string;
125
- role: "writer" | "reader" | "commenter" | "owner";
125
+ role: "reader" | "writer" | "commenter" | "owner";
126
126
  send_notification: boolean;
127
127
  credentials?: Partial<Record<CredentialType, string>> | undefined;
128
128
  email_address?: string | undefined;
@@ -132,7 +132,7 @@ declare const GoogleDriveParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
132
132
  type?: "user" | "group" | "domain" | "anyone" | undefined;
133
133
  credentials?: Partial<Record<CredentialType, string>> | undefined;
134
134
  email_address?: string | undefined;
135
- role?: "writer" | "reader" | "commenter" | "owner" | undefined;
135
+ role?: "reader" | "writer" | "commenter" | "owner" | undefined;
136
136
  send_notification?: boolean | undefined;
137
137
  }>, z.ZodObject<{
138
138
  operation: z.ZodLiteral<"move_file">;
@@ -155,33 +155,113 @@ declare const GoogleDriveParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
155
155
  }>, z.ZodObject<{
156
156
  operation: z.ZodLiteral<"get_doc">;
157
157
  document_id: z.ZodString;
158
+ tab_id: z.ZodOptional<z.ZodString>;
159
+ include_all_tabs: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
158
160
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
159
161
  }, "strip", z.ZodTypeAny, {
160
162
  operation: "get_doc";
161
163
  document_id: string;
164
+ include_all_tabs: boolean;
162
165
  credentials?: Partial<Record<CredentialType, string>> | undefined;
166
+ tab_id?: string | undefined;
163
167
  }, {
164
168
  operation: "get_doc";
165
169
  document_id: string;
166
170
  credentials?: Partial<Record<CredentialType, string>> | undefined;
171
+ tab_id?: string | undefined;
172
+ include_all_tabs?: boolean | undefined;
167
173
  }>, z.ZodObject<{
168
174
  operation: z.ZodLiteral<"update_doc">;
169
175
  document_id: z.ZodString;
170
176
  content: z.ZodString;
171
177
  mode: z.ZodDefault<z.ZodOptional<z.ZodEnum<["replace", "append"]>>>;
178
+ tab_id: z.ZodOptional<z.ZodString>;
172
179
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
173
180
  }, "strip", z.ZodTypeAny, {
174
- content: string;
175
181
  operation: "update_doc";
176
- mode: "replace" | "append";
182
+ content: string;
177
183
  document_id: string;
184
+ mode: "replace" | "append";
178
185
  credentials?: Partial<Record<CredentialType, string>> | undefined;
186
+ tab_id?: string | undefined;
179
187
  }, {
180
- content: string;
181
188
  operation: "update_doc";
189
+ content: string;
182
190
  document_id: string;
183
191
  credentials?: Partial<Record<CredentialType, string>> | undefined;
192
+ tab_id?: string | undefined;
184
193
  mode?: "replace" | "append" | undefined;
194
+ }>, z.ZodObject<{
195
+ operation: z.ZodLiteral<"replace_text">;
196
+ document_id: z.ZodString;
197
+ replacements: z.ZodArray<z.ZodObject<{
198
+ find: z.ZodString;
199
+ replace: z.ZodString;
200
+ match_case: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
201
+ }, "strip", z.ZodTypeAny, {
202
+ find: string;
203
+ replace: string;
204
+ match_case: boolean;
205
+ }, {
206
+ find: string;
207
+ replace: string;
208
+ match_case?: boolean | undefined;
209
+ }>, "many">;
210
+ tab_id: z.ZodOptional<z.ZodString>;
211
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
212
+ }, "strip", z.ZodTypeAny, {
213
+ operation: "replace_text";
214
+ document_id: string;
215
+ replacements: {
216
+ find: string;
217
+ replace: string;
218
+ match_case: boolean;
219
+ }[];
220
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
221
+ tab_id?: string | undefined;
222
+ }, {
223
+ operation: "replace_text";
224
+ document_id: string;
225
+ replacements: {
226
+ find: string;
227
+ replace: string;
228
+ match_case?: boolean | undefined;
229
+ }[];
230
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
231
+ tab_id?: string | undefined;
232
+ }>, z.ZodObject<{
233
+ operation: z.ZodLiteral<"copy_doc">;
234
+ document_id: z.ZodString;
235
+ new_name: z.ZodString;
236
+ parent_folder_id: z.ZodOptional<z.ZodString>;
237
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
238
+ }, "strip", z.ZodTypeAny, {
239
+ operation: "copy_doc";
240
+ document_id: string;
241
+ new_name: string;
242
+ parent_folder_id?: string | undefined;
243
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
244
+ }, {
245
+ operation: "copy_doc";
246
+ document_id: string;
247
+ new_name: string;
248
+ parent_folder_id?: string | undefined;
249
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
250
+ }>, z.ZodObject<{
251
+ operation: z.ZodLiteral<"create_tab">;
252
+ document_id: z.ZodString;
253
+ title: z.ZodString;
254
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
255
+ }, "strip", z.ZodTypeAny, {
256
+ operation: "create_tab";
257
+ title: string;
258
+ document_id: string;
259
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
260
+ }, {
261
+ operation: "create_tab";
262
+ title: string;
263
+ document_id: string;
264
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
185
265
  }>]>;
186
266
  declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
187
267
  operation: z.ZodLiteral<"upload_file">;
@@ -208,8 +288,8 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
208
288
  emailAddress?: string | undefined;
209
289
  }>, "many">>;
210
290
  }, "strip", z.ZodTypeAny, {
211
- mimeType: string;
212
291
  name: string;
292
+ mimeType: string;
213
293
  id: string;
214
294
  size?: string | undefined;
215
295
  createdTime?: string | undefined;
@@ -223,8 +303,8 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
223
303
  emailAddress?: string | undefined;
224
304
  }[] | undefined;
225
305
  }, {
226
- mimeType: string;
227
306
  name: string;
307
+ mimeType: string;
228
308
  id: string;
229
309
  size?: string | undefined;
230
310
  createdTime?: string | undefined;
@@ -240,12 +320,12 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
240
320
  }>>;
241
321
  error: z.ZodString;
242
322
  }, "strip", z.ZodTypeAny, {
243
- error: string;
244
- success: boolean;
245
323
  operation: "upload_file";
324
+ success: boolean;
325
+ error: string;
246
326
  file?: {
247
- mimeType: string;
248
327
  name: string;
328
+ mimeType: string;
249
329
  id: string;
250
330
  size?: string | undefined;
251
331
  createdTime?: string | undefined;
@@ -260,12 +340,12 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
260
340
  }[] | undefined;
261
341
  } | undefined;
262
342
  }, {
263
- error: string;
264
- success: boolean;
265
343
  operation: "upload_file";
344
+ success: boolean;
345
+ error: string;
266
346
  file?: {
267
- mimeType: string;
268
347
  name: string;
348
+ mimeType: string;
269
349
  id: string;
270
350
  size?: string | undefined;
271
351
  createdTime?: string | undefined;
@@ -287,18 +367,18 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
287
367
  mimeType: z.ZodOptional<z.ZodString>;
288
368
  error: z.ZodString;
289
369
  }, "strip", z.ZodTypeAny, {
290
- error: string;
291
- success: boolean;
292
370
  operation: "download_file";
293
- mimeType?: string | undefined;
371
+ success: boolean;
372
+ error: string;
294
373
  content?: string | undefined;
374
+ mimeType?: string | undefined;
295
375
  filename?: string | undefined;
296
376
  }, {
297
- error: string;
298
- success: boolean;
299
377
  operation: "download_file";
300
- mimeType?: string | undefined;
378
+ success: boolean;
379
+ error: string;
301
380
  content?: string | undefined;
381
+ mimeType?: string | undefined;
302
382
  filename?: string | undefined;
303
383
  }>, z.ZodObject<{
304
384
  operation: z.ZodLiteral<"list_files">;
@@ -325,8 +405,8 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
325
405
  emailAddress?: string | undefined;
326
406
  }>, "many">>;
327
407
  }, "strip", z.ZodTypeAny, {
328
- mimeType: string;
329
408
  name: string;
409
+ mimeType: string;
330
410
  id: string;
331
411
  size?: string | undefined;
332
412
  createdTime?: string | undefined;
@@ -340,8 +420,8 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
340
420
  emailAddress?: string | undefined;
341
421
  }[] | undefined;
342
422
  }, {
343
- mimeType: string;
344
423
  name: string;
424
+ mimeType: string;
345
425
  id: string;
346
426
  size?: string | undefined;
347
427
  createdTime?: string | undefined;
@@ -359,12 +439,12 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
359
439
  next_page_token: z.ZodOptional<z.ZodString>;
360
440
  error: z.ZodString;
361
441
  }, "strip", z.ZodTypeAny, {
362
- error: string;
363
- success: boolean;
364
442
  operation: "list_files";
443
+ success: boolean;
444
+ error: string;
365
445
  files?: {
366
- mimeType: string;
367
446
  name: string;
447
+ mimeType: string;
368
448
  id: string;
369
449
  size?: string | undefined;
370
450
  createdTime?: string | undefined;
@@ -381,12 +461,12 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
381
461
  total_count?: number | undefined;
382
462
  next_page_token?: string | undefined;
383
463
  }, {
384
- error: string;
385
- success: boolean;
386
464
  operation: "list_files";
465
+ success: boolean;
466
+ error: string;
387
467
  files?: {
388
- mimeType: string;
389
468
  name: string;
469
+ mimeType: string;
390
470
  id: string;
391
471
  size?: string | undefined;
392
472
  createdTime?: string | undefined;
@@ -423,9 +503,9 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
423
503
  }>>;
424
504
  error: z.ZodString;
425
505
  }, "strip", z.ZodTypeAny, {
426
- error: string;
427
- success: boolean;
428
506
  operation: "create_folder";
507
+ success: boolean;
508
+ error: string;
429
509
  folder?: {
430
510
  name: string;
431
511
  id: string;
@@ -433,9 +513,9 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
433
513
  parents?: string[] | undefined;
434
514
  } | undefined;
435
515
  }, {
436
- error: string;
437
- success: boolean;
438
516
  operation: "create_folder";
517
+ success: boolean;
518
+ error: string;
439
519
  folder?: {
440
520
  name: string;
441
521
  id: string;
@@ -448,14 +528,14 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
448
528
  deleted_file_id: z.ZodOptional<z.ZodString>;
449
529
  error: z.ZodString;
450
530
  }, "strip", z.ZodTypeAny, {
451
- error: string;
452
- success: boolean;
453
531
  operation: "delete_file";
532
+ success: boolean;
533
+ error: string;
454
534
  deleted_file_id?: string | undefined;
455
535
  }, {
456
- error: string;
457
- success: boolean;
458
536
  operation: "delete_file";
537
+ success: boolean;
538
+ error: string;
459
539
  deleted_file_id?: string | undefined;
460
540
  }>, z.ZodObject<{
461
541
  operation: z.ZodLiteral<"get_file_info">;
@@ -482,8 +562,8 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
482
562
  emailAddress?: string | undefined;
483
563
  }>, "many">>;
484
564
  }, "strip", z.ZodTypeAny, {
485
- mimeType: string;
486
565
  name: string;
566
+ mimeType: string;
487
567
  id: string;
488
568
  size?: string | undefined;
489
569
  createdTime?: string | undefined;
@@ -497,8 +577,8 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
497
577
  emailAddress?: string | undefined;
498
578
  }[] | undefined;
499
579
  }, {
500
- mimeType: string;
501
580
  name: string;
581
+ mimeType: string;
502
582
  id: string;
503
583
  size?: string | undefined;
504
584
  createdTime?: string | undefined;
@@ -520,25 +600,25 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
520
600
  displayName: z.ZodOptional<z.ZodString>;
521
601
  }, "strip", z.ZodTypeAny, {
522
602
  type: string;
523
- id: string;
524
603
  role: string;
604
+ id: string;
525
605
  displayName?: string | undefined;
526
606
  emailAddress?: string | undefined;
527
607
  }, {
528
608
  type: string;
529
- id: string;
530
609
  role: string;
610
+ id: string;
531
611
  displayName?: string | undefined;
532
612
  emailAddress?: string | undefined;
533
613
  }>, "many">>;
534
614
  error: z.ZodString;
535
615
  }, "strip", z.ZodTypeAny, {
536
- error: string;
537
- success: boolean;
538
616
  operation: "get_file_info";
617
+ success: boolean;
618
+ error: string;
539
619
  file?: {
540
- mimeType: string;
541
620
  name: string;
621
+ mimeType: string;
542
622
  id: string;
543
623
  size?: string | undefined;
544
624
  createdTime?: string | undefined;
@@ -554,18 +634,18 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
554
634
  } | undefined;
555
635
  permissions?: {
556
636
  type: string;
557
- id: string;
558
637
  role: string;
638
+ id: string;
559
639
  displayName?: string | undefined;
560
640
  emailAddress?: string | undefined;
561
641
  }[] | undefined;
562
642
  }, {
563
- error: string;
564
- success: boolean;
565
643
  operation: "get_file_info";
644
+ success: boolean;
645
+ error: string;
566
646
  file?: {
567
- mimeType: string;
568
647
  name: string;
648
+ mimeType: string;
569
649
  id: string;
570
650
  size?: string | undefined;
571
651
  createdTime?: string | undefined;
@@ -581,8 +661,8 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
581
661
  } | undefined;
582
662
  permissions?: {
583
663
  type: string;
584
- id: string;
585
664
  role: string;
665
+ id: string;
586
666
  displayName?: string | undefined;
587
667
  emailAddress?: string | undefined;
588
668
  }[] | undefined;
@@ -593,15 +673,15 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
593
673
  share_link: z.ZodOptional<z.ZodString>;
594
674
  error: z.ZodString;
595
675
  }, "strip", z.ZodTypeAny, {
596
- error: string;
597
- success: boolean;
598
676
  operation: "share_file";
677
+ success: boolean;
678
+ error: string;
599
679
  permission_id?: string | undefined;
600
680
  share_link?: string | undefined;
601
681
  }, {
602
- error: string;
603
- success: boolean;
604
682
  operation: "share_file";
683
+ success: boolean;
684
+ error: string;
605
685
  permission_id?: string | undefined;
606
686
  share_link?: string | undefined;
607
687
  }>, z.ZodObject<{
@@ -629,8 +709,8 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
629
709
  emailAddress?: string | undefined;
630
710
  }>, "many">>;
631
711
  }, "strip", z.ZodTypeAny, {
632
- mimeType: string;
633
712
  name: string;
713
+ mimeType: string;
634
714
  id: string;
635
715
  size?: string | undefined;
636
716
  createdTime?: string | undefined;
@@ -644,8 +724,8 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
644
724
  emailAddress?: string | undefined;
645
725
  }[] | undefined;
646
726
  }, {
647
- mimeType: string;
648
727
  name: string;
728
+ mimeType: string;
649
729
  id: string;
650
730
  size?: string | undefined;
651
731
  createdTime?: string | undefined;
@@ -661,12 +741,12 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
661
741
  }>>;
662
742
  error: z.ZodString;
663
743
  }, "strip", z.ZodTypeAny, {
664
- error: string;
665
- success: boolean;
666
744
  operation: "move_file";
745
+ success: boolean;
746
+ error: string;
667
747
  file?: {
668
- mimeType: string;
669
748
  name: string;
749
+ mimeType: string;
670
750
  id: string;
671
751
  size?: string | undefined;
672
752
  createdTime?: string | undefined;
@@ -681,12 +761,12 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
681
761
  }[] | undefined;
682
762
  } | undefined;
683
763
  }, {
684
- error: string;
685
- success: boolean;
686
764
  operation: "move_file";
765
+ success: boolean;
766
+ error: string;
687
767
  file?: {
688
- mimeType: string;
689
768
  name: string;
769
+ mimeType: string;
690
770
  id: string;
691
771
  size?: string | undefined;
692
772
  createdTime?: string | undefined;
@@ -729,11 +809,27 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
729
809
  lists: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
730
810
  }, z.ZodTypeAny, "passthrough">>>;
731
811
  plainText: z.ZodOptional<z.ZodString>;
812
+ tabs: z.ZodOptional<z.ZodArray<z.ZodObject<{
813
+ tabId: z.ZodString;
814
+ title: z.ZodString;
815
+ index: z.ZodNumber;
816
+ plainText: z.ZodOptional<z.ZodString>;
817
+ }, "strip", z.ZodTypeAny, {
818
+ title: string;
819
+ tabId: string;
820
+ index: number;
821
+ plainText?: string | undefined;
822
+ }, {
823
+ title: string;
824
+ tabId: string;
825
+ index: number;
826
+ plainText?: string | undefined;
827
+ }>, "many">>;
732
828
  error: z.ZodString;
733
829
  }, "strip", z.ZodTypeAny, {
734
- error: string;
735
- success: boolean;
736
830
  operation: "get_doc";
831
+ success: boolean;
832
+ error: string;
737
833
  document?: z.objectOutputType<{
738
834
  documentId: z.ZodString;
739
835
  title: z.ZodString;
@@ -744,10 +840,16 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
744
840
  lists: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
745
841
  }, z.ZodTypeAny, "passthrough"> | undefined;
746
842
  plainText?: string | undefined;
843
+ tabs?: {
844
+ title: string;
845
+ tabId: string;
846
+ index: number;
847
+ plainText?: string | undefined;
848
+ }[] | undefined;
747
849
  }, {
748
- error: string;
749
- success: boolean;
750
850
  operation: "get_doc";
851
+ success: boolean;
852
+ error: string;
751
853
  document?: z.objectInputType<{
752
854
  documentId: z.ZodString;
753
855
  title: z.ZodString;
@@ -758,6 +860,12 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
758
860
  lists: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
759
861
  }, z.ZodTypeAny, "passthrough"> | undefined;
760
862
  plainText?: string | undefined;
863
+ tabs?: {
864
+ title: string;
865
+ tabId: string;
866
+ index: number;
867
+ plainText?: string | undefined;
868
+ }[] | undefined;
761
869
  }>, z.ZodObject<{
762
870
  operation: z.ZodLiteral<"update_doc">;
763
871
  success: z.ZodBoolean;
@@ -765,17 +873,65 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
765
873
  revisionId: z.ZodOptional<z.ZodString>;
766
874
  error: z.ZodString;
767
875
  }, "strip", z.ZodTypeAny, {
768
- error: string;
769
- success: boolean;
770
876
  operation: "update_doc";
877
+ success: boolean;
878
+ error: string;
771
879
  documentId?: string | undefined;
772
880
  revisionId?: string | undefined;
773
881
  }, {
774
- error: string;
775
- success: boolean;
776
882
  operation: "update_doc";
883
+ success: boolean;
884
+ error: string;
777
885
  documentId?: string | undefined;
778
886
  revisionId?: string | undefined;
887
+ }>, z.ZodObject<{
888
+ operation: z.ZodLiteral<"replace_text">;
889
+ success: z.ZodBoolean;
890
+ replacements_made: z.ZodOptional<z.ZodNumber>;
891
+ error: z.ZodString;
892
+ }, "strip", z.ZodTypeAny, {
893
+ operation: "replace_text";
894
+ success: boolean;
895
+ error: string;
896
+ replacements_made?: number | undefined;
897
+ }, {
898
+ operation: "replace_text";
899
+ success: boolean;
900
+ error: string;
901
+ replacements_made?: number | undefined;
902
+ }>, z.ZodObject<{
903
+ operation: z.ZodLiteral<"copy_doc">;
904
+ success: z.ZodBoolean;
905
+ new_document_id: z.ZodOptional<z.ZodString>;
906
+ new_document_url: z.ZodOptional<z.ZodString>;
907
+ error: z.ZodString;
908
+ }, "strip", z.ZodTypeAny, {
909
+ operation: "copy_doc";
910
+ success: boolean;
911
+ error: string;
912
+ new_document_id?: string | undefined;
913
+ new_document_url?: string | undefined;
914
+ }, {
915
+ operation: "copy_doc";
916
+ success: boolean;
917
+ error: string;
918
+ new_document_id?: string | undefined;
919
+ new_document_url?: string | undefined;
920
+ }>, z.ZodObject<{
921
+ operation: z.ZodLiteral<"create_tab">;
922
+ success: z.ZodBoolean;
923
+ tab_id: z.ZodOptional<z.ZodString>;
924
+ error: z.ZodString;
925
+ }, "strip", z.ZodTypeAny, {
926
+ operation: "create_tab";
927
+ success: boolean;
928
+ error: string;
929
+ tab_id?: string | undefined;
930
+ }, {
931
+ operation: "create_tab";
932
+ success: boolean;
933
+ error: string;
934
+ tab_id?: string | undefined;
779
935
  }>]>;
780
936
  type GoogleDriveResult = z.output<typeof GoogleDriveResultSchema>;
781
937
  type GoogleDriveParams = z.input<typeof GoogleDriveParamsSchema>;
@@ -799,21 +955,21 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
799
955
  convert_to_google_docs: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
800
956
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
801
957
  }, "strip", z.ZodTypeAny, {
958
+ operation: "upload_file";
802
959
  name: string;
803
960
  content: string;
804
- operation: "upload_file";
805
961
  convert_to_google_docs: boolean;
806
962
  mimeType?: string | undefined;
807
- credentials?: Partial<Record<CredentialType, string>> | undefined;
808
963
  parent_folder_id?: string | undefined;
964
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
809
965
  }, {
966
+ operation: "upload_file";
810
967
  name: string;
811
968
  content: string;
812
- operation: "upload_file";
813
969
  mimeType?: string | undefined;
814
- credentials?: Partial<Record<CredentialType, string>> | undefined;
815
970
  parent_folder_id?: string | undefined;
816
971
  convert_to_google_docs?: boolean | undefined;
972
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
817
973
  }>, z.ZodObject<{
818
974
  operation: z.ZodLiteral<"download_file">;
819
975
  file_id: z.ZodString;
@@ -843,13 +999,13 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
843
999
  include_folders: boolean;
844
1000
  order_by: string;
845
1001
  credentials?: Partial<Record<CredentialType, string>> | undefined;
846
- query?: string | undefined;
847
1002
  folder_id?: string | undefined;
1003
+ query?: string | undefined;
848
1004
  }, {
849
1005
  operation: "list_files";
850
1006
  credentials?: Partial<Record<CredentialType, string>> | undefined;
851
- query?: string | undefined;
852
1007
  folder_id?: string | undefined;
1008
+ query?: string | undefined;
853
1009
  max_results?: number | undefined;
854
1010
  include_folders?: boolean | undefined;
855
1011
  order_by?: string | undefined;
@@ -859,15 +1015,15 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
859
1015
  parent_folder_id: z.ZodOptional<z.ZodString>;
860
1016
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
861
1017
  }, "strip", z.ZodTypeAny, {
862
- name: string;
863
1018
  operation: "create_folder";
864
- credentials?: Partial<Record<CredentialType, string>> | undefined;
1019
+ name: string;
865
1020
  parent_folder_id?: string | undefined;
1021
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
866
1022
  }, {
867
- name: string;
868
1023
  operation: "create_folder";
869
- credentials?: Partial<Record<CredentialType, string>> | undefined;
1024
+ name: string;
870
1025
  parent_folder_id?: string | undefined;
1026
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
871
1027
  }>, z.ZodObject<{
872
1028
  operation: z.ZodLiteral<"delete_file">;
873
1029
  file_id: z.ZodString;
@@ -907,10 +1063,10 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
907
1063
  send_notification: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
908
1064
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
909
1065
  }, "strip", z.ZodTypeAny, {
910
- type: "user" | "group" | "domain" | "anyone";
911
1066
  operation: "share_file";
1067
+ type: "user" | "group" | "domain" | "anyone";
912
1068
  file_id: string;
913
- role: "writer" | "reader" | "commenter" | "owner";
1069
+ role: "reader" | "writer" | "commenter" | "owner";
914
1070
  send_notification: boolean;
915
1071
  credentials?: Partial<Record<CredentialType, string>> | undefined;
916
1072
  email_address?: string | undefined;
@@ -920,7 +1076,7 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
920
1076
  type?: "user" | "group" | "domain" | "anyone" | undefined;
921
1077
  credentials?: Partial<Record<CredentialType, string>> | undefined;
922
1078
  email_address?: string | undefined;
923
- role?: "writer" | "reader" | "commenter" | "owner" | undefined;
1079
+ role?: "reader" | "writer" | "commenter" | "owner" | undefined;
924
1080
  send_notification?: boolean | undefined;
925
1081
  }>, z.ZodObject<{
926
1082
  operation: z.ZodLiteral<"move_file">;
@@ -943,33 +1099,113 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
943
1099
  }>, z.ZodObject<{
944
1100
  operation: z.ZodLiteral<"get_doc">;
945
1101
  document_id: z.ZodString;
1102
+ tab_id: z.ZodOptional<z.ZodString>;
1103
+ include_all_tabs: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
946
1104
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
947
1105
  }, "strip", z.ZodTypeAny, {
948
1106
  operation: "get_doc";
949
1107
  document_id: string;
1108
+ include_all_tabs: boolean;
950
1109
  credentials?: Partial<Record<CredentialType, string>> | undefined;
1110
+ tab_id?: string | undefined;
951
1111
  }, {
952
1112
  operation: "get_doc";
953
1113
  document_id: string;
954
1114
  credentials?: Partial<Record<CredentialType, string>> | undefined;
1115
+ tab_id?: string | undefined;
1116
+ include_all_tabs?: boolean | undefined;
955
1117
  }>, z.ZodObject<{
956
1118
  operation: z.ZodLiteral<"update_doc">;
957
1119
  document_id: z.ZodString;
958
1120
  content: z.ZodString;
959
1121
  mode: z.ZodDefault<z.ZodOptional<z.ZodEnum<["replace", "append"]>>>;
1122
+ tab_id: z.ZodOptional<z.ZodString>;
960
1123
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
961
1124
  }, "strip", z.ZodTypeAny, {
962
- content: string;
963
1125
  operation: "update_doc";
964
- mode: "replace" | "append";
1126
+ content: string;
965
1127
  document_id: string;
1128
+ mode: "replace" | "append";
966
1129
  credentials?: Partial<Record<CredentialType, string>> | undefined;
1130
+ tab_id?: string | undefined;
967
1131
  }, {
968
- content: string;
969
1132
  operation: "update_doc";
1133
+ content: string;
970
1134
  document_id: string;
971
1135
  credentials?: Partial<Record<CredentialType, string>> | undefined;
1136
+ tab_id?: string | undefined;
972
1137
  mode?: "replace" | "append" | undefined;
1138
+ }>, z.ZodObject<{
1139
+ operation: z.ZodLiteral<"replace_text">;
1140
+ document_id: z.ZodString;
1141
+ replacements: z.ZodArray<z.ZodObject<{
1142
+ find: z.ZodString;
1143
+ replace: z.ZodString;
1144
+ match_case: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1145
+ }, "strip", z.ZodTypeAny, {
1146
+ find: string;
1147
+ replace: string;
1148
+ match_case: boolean;
1149
+ }, {
1150
+ find: string;
1151
+ replace: string;
1152
+ match_case?: boolean | undefined;
1153
+ }>, "many">;
1154
+ tab_id: z.ZodOptional<z.ZodString>;
1155
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
1156
+ }, "strip", z.ZodTypeAny, {
1157
+ operation: "replace_text";
1158
+ document_id: string;
1159
+ replacements: {
1160
+ find: string;
1161
+ replace: string;
1162
+ match_case: boolean;
1163
+ }[];
1164
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1165
+ tab_id?: string | undefined;
1166
+ }, {
1167
+ operation: "replace_text";
1168
+ document_id: string;
1169
+ replacements: {
1170
+ find: string;
1171
+ replace: string;
1172
+ match_case?: boolean | undefined;
1173
+ }[];
1174
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1175
+ tab_id?: string | undefined;
1176
+ }>, z.ZodObject<{
1177
+ operation: z.ZodLiteral<"copy_doc">;
1178
+ document_id: z.ZodString;
1179
+ new_name: z.ZodString;
1180
+ parent_folder_id: z.ZodOptional<z.ZodString>;
1181
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
1182
+ }, "strip", z.ZodTypeAny, {
1183
+ operation: "copy_doc";
1184
+ document_id: string;
1185
+ new_name: string;
1186
+ parent_folder_id?: string | undefined;
1187
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1188
+ }, {
1189
+ operation: "copy_doc";
1190
+ document_id: string;
1191
+ new_name: string;
1192
+ parent_folder_id?: string | undefined;
1193
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1194
+ }>, z.ZodObject<{
1195
+ operation: z.ZodLiteral<"create_tab">;
1196
+ document_id: z.ZodString;
1197
+ title: z.ZodString;
1198
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
1199
+ }, "strip", z.ZodTypeAny, {
1200
+ operation: "create_tab";
1201
+ title: string;
1202
+ document_id: string;
1203
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1204
+ }, {
1205
+ operation: "create_tab";
1206
+ title: string;
1207
+ document_id: string;
1208
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
973
1209
  }>]>;
974
1210
  static readonly resultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
975
1211
  operation: z.ZodLiteral<"upload_file">;
@@ -996,8 +1232,8 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
996
1232
  emailAddress?: string | undefined;
997
1233
  }>, "many">>;
998
1234
  }, "strip", z.ZodTypeAny, {
999
- mimeType: string;
1000
1235
  name: string;
1236
+ mimeType: string;
1001
1237
  id: string;
1002
1238
  size?: string | undefined;
1003
1239
  createdTime?: string | undefined;
@@ -1011,8 +1247,8 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1011
1247
  emailAddress?: string | undefined;
1012
1248
  }[] | undefined;
1013
1249
  }, {
1014
- mimeType: string;
1015
1250
  name: string;
1251
+ mimeType: string;
1016
1252
  id: string;
1017
1253
  size?: string | undefined;
1018
1254
  createdTime?: string | undefined;
@@ -1028,12 +1264,12 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1028
1264
  }>>;
1029
1265
  error: z.ZodString;
1030
1266
  }, "strip", z.ZodTypeAny, {
1031
- error: string;
1032
- success: boolean;
1033
1267
  operation: "upload_file";
1268
+ success: boolean;
1269
+ error: string;
1034
1270
  file?: {
1035
- mimeType: string;
1036
1271
  name: string;
1272
+ mimeType: string;
1037
1273
  id: string;
1038
1274
  size?: string | undefined;
1039
1275
  createdTime?: string | undefined;
@@ -1048,12 +1284,12 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1048
1284
  }[] | undefined;
1049
1285
  } | undefined;
1050
1286
  }, {
1051
- error: string;
1052
- success: boolean;
1053
1287
  operation: "upload_file";
1288
+ success: boolean;
1289
+ error: string;
1054
1290
  file?: {
1055
- mimeType: string;
1056
1291
  name: string;
1292
+ mimeType: string;
1057
1293
  id: string;
1058
1294
  size?: string | undefined;
1059
1295
  createdTime?: string | undefined;
@@ -1075,18 +1311,18 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1075
1311
  mimeType: z.ZodOptional<z.ZodString>;
1076
1312
  error: z.ZodString;
1077
1313
  }, "strip", z.ZodTypeAny, {
1078
- error: string;
1079
- success: boolean;
1080
1314
  operation: "download_file";
1081
- mimeType?: string | undefined;
1315
+ success: boolean;
1316
+ error: string;
1082
1317
  content?: string | undefined;
1318
+ mimeType?: string | undefined;
1083
1319
  filename?: string | undefined;
1084
1320
  }, {
1085
- error: string;
1086
- success: boolean;
1087
1321
  operation: "download_file";
1088
- mimeType?: string | undefined;
1322
+ success: boolean;
1323
+ error: string;
1089
1324
  content?: string | undefined;
1325
+ mimeType?: string | undefined;
1090
1326
  filename?: string | undefined;
1091
1327
  }>, z.ZodObject<{
1092
1328
  operation: z.ZodLiteral<"list_files">;
@@ -1113,8 +1349,8 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1113
1349
  emailAddress?: string | undefined;
1114
1350
  }>, "many">>;
1115
1351
  }, "strip", z.ZodTypeAny, {
1116
- mimeType: string;
1117
1352
  name: string;
1353
+ mimeType: string;
1118
1354
  id: string;
1119
1355
  size?: string | undefined;
1120
1356
  createdTime?: string | undefined;
@@ -1128,8 +1364,8 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1128
1364
  emailAddress?: string | undefined;
1129
1365
  }[] | undefined;
1130
1366
  }, {
1131
- mimeType: string;
1132
1367
  name: string;
1368
+ mimeType: string;
1133
1369
  id: string;
1134
1370
  size?: string | undefined;
1135
1371
  createdTime?: string | undefined;
@@ -1147,12 +1383,12 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1147
1383
  next_page_token: z.ZodOptional<z.ZodString>;
1148
1384
  error: z.ZodString;
1149
1385
  }, "strip", z.ZodTypeAny, {
1150
- error: string;
1151
- success: boolean;
1152
1386
  operation: "list_files";
1387
+ success: boolean;
1388
+ error: string;
1153
1389
  files?: {
1154
- mimeType: string;
1155
1390
  name: string;
1391
+ mimeType: string;
1156
1392
  id: string;
1157
1393
  size?: string | undefined;
1158
1394
  createdTime?: string | undefined;
@@ -1169,12 +1405,12 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1169
1405
  total_count?: number | undefined;
1170
1406
  next_page_token?: string | undefined;
1171
1407
  }, {
1172
- error: string;
1173
- success: boolean;
1174
1408
  operation: "list_files";
1409
+ success: boolean;
1410
+ error: string;
1175
1411
  files?: {
1176
- mimeType: string;
1177
1412
  name: string;
1413
+ mimeType: string;
1178
1414
  id: string;
1179
1415
  size?: string | undefined;
1180
1416
  createdTime?: string | undefined;
@@ -1211,9 +1447,9 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1211
1447
  }>>;
1212
1448
  error: z.ZodString;
1213
1449
  }, "strip", z.ZodTypeAny, {
1214
- error: string;
1215
- success: boolean;
1216
1450
  operation: "create_folder";
1451
+ success: boolean;
1452
+ error: string;
1217
1453
  folder?: {
1218
1454
  name: string;
1219
1455
  id: string;
@@ -1221,9 +1457,9 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1221
1457
  parents?: string[] | undefined;
1222
1458
  } | undefined;
1223
1459
  }, {
1224
- error: string;
1225
- success: boolean;
1226
1460
  operation: "create_folder";
1461
+ success: boolean;
1462
+ error: string;
1227
1463
  folder?: {
1228
1464
  name: string;
1229
1465
  id: string;
@@ -1236,14 +1472,14 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1236
1472
  deleted_file_id: z.ZodOptional<z.ZodString>;
1237
1473
  error: z.ZodString;
1238
1474
  }, "strip", z.ZodTypeAny, {
1239
- error: string;
1240
- success: boolean;
1241
1475
  operation: "delete_file";
1476
+ success: boolean;
1477
+ error: string;
1242
1478
  deleted_file_id?: string | undefined;
1243
1479
  }, {
1244
- error: string;
1245
- success: boolean;
1246
1480
  operation: "delete_file";
1481
+ success: boolean;
1482
+ error: string;
1247
1483
  deleted_file_id?: string | undefined;
1248
1484
  }>, z.ZodObject<{
1249
1485
  operation: z.ZodLiteral<"get_file_info">;
@@ -1270,8 +1506,8 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1270
1506
  emailAddress?: string | undefined;
1271
1507
  }>, "many">>;
1272
1508
  }, "strip", z.ZodTypeAny, {
1273
- mimeType: string;
1274
1509
  name: string;
1510
+ mimeType: string;
1275
1511
  id: string;
1276
1512
  size?: string | undefined;
1277
1513
  createdTime?: string | undefined;
@@ -1285,8 +1521,8 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1285
1521
  emailAddress?: string | undefined;
1286
1522
  }[] | undefined;
1287
1523
  }, {
1288
- mimeType: string;
1289
1524
  name: string;
1525
+ mimeType: string;
1290
1526
  id: string;
1291
1527
  size?: string | undefined;
1292
1528
  createdTime?: string | undefined;
@@ -1308,25 +1544,25 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1308
1544
  displayName: z.ZodOptional<z.ZodString>;
1309
1545
  }, "strip", z.ZodTypeAny, {
1310
1546
  type: string;
1311
- id: string;
1312
1547
  role: string;
1548
+ id: string;
1313
1549
  displayName?: string | undefined;
1314
1550
  emailAddress?: string | undefined;
1315
1551
  }, {
1316
1552
  type: string;
1317
- id: string;
1318
1553
  role: string;
1554
+ id: string;
1319
1555
  displayName?: string | undefined;
1320
1556
  emailAddress?: string | undefined;
1321
1557
  }>, "many">>;
1322
1558
  error: z.ZodString;
1323
1559
  }, "strip", z.ZodTypeAny, {
1324
- error: string;
1325
- success: boolean;
1326
1560
  operation: "get_file_info";
1561
+ success: boolean;
1562
+ error: string;
1327
1563
  file?: {
1328
- mimeType: string;
1329
1564
  name: string;
1565
+ mimeType: string;
1330
1566
  id: string;
1331
1567
  size?: string | undefined;
1332
1568
  createdTime?: string | undefined;
@@ -1342,18 +1578,18 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1342
1578
  } | undefined;
1343
1579
  permissions?: {
1344
1580
  type: string;
1345
- id: string;
1346
1581
  role: string;
1582
+ id: string;
1347
1583
  displayName?: string | undefined;
1348
1584
  emailAddress?: string | undefined;
1349
1585
  }[] | undefined;
1350
1586
  }, {
1351
- error: string;
1352
- success: boolean;
1353
1587
  operation: "get_file_info";
1588
+ success: boolean;
1589
+ error: string;
1354
1590
  file?: {
1355
- mimeType: string;
1356
1591
  name: string;
1592
+ mimeType: string;
1357
1593
  id: string;
1358
1594
  size?: string | undefined;
1359
1595
  createdTime?: string | undefined;
@@ -1369,8 +1605,8 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1369
1605
  } | undefined;
1370
1606
  permissions?: {
1371
1607
  type: string;
1372
- id: string;
1373
1608
  role: string;
1609
+ id: string;
1374
1610
  displayName?: string | undefined;
1375
1611
  emailAddress?: string | undefined;
1376
1612
  }[] | undefined;
@@ -1381,15 +1617,15 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1381
1617
  share_link: z.ZodOptional<z.ZodString>;
1382
1618
  error: z.ZodString;
1383
1619
  }, "strip", z.ZodTypeAny, {
1384
- error: string;
1385
- success: boolean;
1386
1620
  operation: "share_file";
1621
+ success: boolean;
1622
+ error: string;
1387
1623
  permission_id?: string | undefined;
1388
1624
  share_link?: string | undefined;
1389
1625
  }, {
1390
- error: string;
1391
- success: boolean;
1392
1626
  operation: "share_file";
1627
+ success: boolean;
1628
+ error: string;
1393
1629
  permission_id?: string | undefined;
1394
1630
  share_link?: string | undefined;
1395
1631
  }>, z.ZodObject<{
@@ -1417,8 +1653,8 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1417
1653
  emailAddress?: string | undefined;
1418
1654
  }>, "many">>;
1419
1655
  }, "strip", z.ZodTypeAny, {
1420
- mimeType: string;
1421
1656
  name: string;
1657
+ mimeType: string;
1422
1658
  id: string;
1423
1659
  size?: string | undefined;
1424
1660
  createdTime?: string | undefined;
@@ -1432,8 +1668,8 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1432
1668
  emailAddress?: string | undefined;
1433
1669
  }[] | undefined;
1434
1670
  }, {
1435
- mimeType: string;
1436
1671
  name: string;
1672
+ mimeType: string;
1437
1673
  id: string;
1438
1674
  size?: string | undefined;
1439
1675
  createdTime?: string | undefined;
@@ -1449,12 +1685,12 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1449
1685
  }>>;
1450
1686
  error: z.ZodString;
1451
1687
  }, "strip", z.ZodTypeAny, {
1452
- error: string;
1453
- success: boolean;
1454
1688
  operation: "move_file";
1689
+ success: boolean;
1690
+ error: string;
1455
1691
  file?: {
1456
- mimeType: string;
1457
1692
  name: string;
1693
+ mimeType: string;
1458
1694
  id: string;
1459
1695
  size?: string | undefined;
1460
1696
  createdTime?: string | undefined;
@@ -1469,12 +1705,12 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1469
1705
  }[] | undefined;
1470
1706
  } | undefined;
1471
1707
  }, {
1472
- error: string;
1473
- success: boolean;
1474
1708
  operation: "move_file";
1709
+ success: boolean;
1710
+ error: string;
1475
1711
  file?: {
1476
- mimeType: string;
1477
1712
  name: string;
1713
+ mimeType: string;
1478
1714
  id: string;
1479
1715
  size?: string | undefined;
1480
1716
  createdTime?: string | undefined;
@@ -1517,11 +1753,27 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1517
1753
  lists: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1518
1754
  }, z.ZodTypeAny, "passthrough">>>;
1519
1755
  plainText: z.ZodOptional<z.ZodString>;
1756
+ tabs: z.ZodOptional<z.ZodArray<z.ZodObject<{
1757
+ tabId: z.ZodString;
1758
+ title: z.ZodString;
1759
+ index: z.ZodNumber;
1760
+ plainText: z.ZodOptional<z.ZodString>;
1761
+ }, "strip", z.ZodTypeAny, {
1762
+ title: string;
1763
+ tabId: string;
1764
+ index: number;
1765
+ plainText?: string | undefined;
1766
+ }, {
1767
+ title: string;
1768
+ tabId: string;
1769
+ index: number;
1770
+ plainText?: string | undefined;
1771
+ }>, "many">>;
1520
1772
  error: z.ZodString;
1521
1773
  }, "strip", z.ZodTypeAny, {
1522
- error: string;
1523
- success: boolean;
1524
1774
  operation: "get_doc";
1775
+ success: boolean;
1776
+ error: string;
1525
1777
  document?: z.objectOutputType<{
1526
1778
  documentId: z.ZodString;
1527
1779
  title: z.ZodString;
@@ -1532,10 +1784,16 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1532
1784
  lists: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1533
1785
  }, z.ZodTypeAny, "passthrough"> | undefined;
1534
1786
  plainText?: string | undefined;
1787
+ tabs?: {
1788
+ title: string;
1789
+ tabId: string;
1790
+ index: number;
1791
+ plainText?: string | undefined;
1792
+ }[] | undefined;
1535
1793
  }, {
1536
- error: string;
1537
- success: boolean;
1538
1794
  operation: "get_doc";
1795
+ success: boolean;
1796
+ error: string;
1539
1797
  document?: z.objectInputType<{
1540
1798
  documentId: z.ZodString;
1541
1799
  title: z.ZodString;
@@ -1546,6 +1804,12 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1546
1804
  lists: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1547
1805
  }, z.ZodTypeAny, "passthrough"> | undefined;
1548
1806
  plainText?: string | undefined;
1807
+ tabs?: {
1808
+ title: string;
1809
+ tabId: string;
1810
+ index: number;
1811
+ plainText?: string | undefined;
1812
+ }[] | undefined;
1549
1813
  }>, z.ZodObject<{
1550
1814
  operation: z.ZodLiteral<"update_doc">;
1551
1815
  success: z.ZodBoolean;
@@ -1553,17 +1817,65 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1553
1817
  revisionId: z.ZodOptional<z.ZodString>;
1554
1818
  error: z.ZodString;
1555
1819
  }, "strip", z.ZodTypeAny, {
1556
- error: string;
1557
- success: boolean;
1558
1820
  operation: "update_doc";
1821
+ success: boolean;
1822
+ error: string;
1559
1823
  documentId?: string | undefined;
1560
1824
  revisionId?: string | undefined;
1561
1825
  }, {
1562
- error: string;
1563
- success: boolean;
1564
1826
  operation: "update_doc";
1827
+ success: boolean;
1828
+ error: string;
1565
1829
  documentId?: string | undefined;
1566
1830
  revisionId?: string | undefined;
1831
+ }>, z.ZodObject<{
1832
+ operation: z.ZodLiteral<"replace_text">;
1833
+ success: z.ZodBoolean;
1834
+ replacements_made: z.ZodOptional<z.ZodNumber>;
1835
+ error: z.ZodString;
1836
+ }, "strip", z.ZodTypeAny, {
1837
+ operation: "replace_text";
1838
+ success: boolean;
1839
+ error: string;
1840
+ replacements_made?: number | undefined;
1841
+ }, {
1842
+ operation: "replace_text";
1843
+ success: boolean;
1844
+ error: string;
1845
+ replacements_made?: number | undefined;
1846
+ }>, z.ZodObject<{
1847
+ operation: z.ZodLiteral<"copy_doc">;
1848
+ success: z.ZodBoolean;
1849
+ new_document_id: z.ZodOptional<z.ZodString>;
1850
+ new_document_url: z.ZodOptional<z.ZodString>;
1851
+ error: z.ZodString;
1852
+ }, "strip", z.ZodTypeAny, {
1853
+ operation: "copy_doc";
1854
+ success: boolean;
1855
+ error: string;
1856
+ new_document_id?: string | undefined;
1857
+ new_document_url?: string | undefined;
1858
+ }, {
1859
+ operation: "copy_doc";
1860
+ success: boolean;
1861
+ error: string;
1862
+ new_document_id?: string | undefined;
1863
+ new_document_url?: string | undefined;
1864
+ }>, z.ZodObject<{
1865
+ operation: z.ZodLiteral<"create_tab">;
1866
+ success: z.ZodBoolean;
1867
+ tab_id: z.ZodOptional<z.ZodString>;
1868
+ error: z.ZodString;
1869
+ }, "strip", z.ZodTypeAny, {
1870
+ operation: "create_tab";
1871
+ success: boolean;
1872
+ error: string;
1873
+ tab_id?: string | undefined;
1874
+ }, {
1875
+ operation: "create_tab";
1876
+ success: boolean;
1877
+ error: string;
1878
+ tab_id?: string | undefined;
1567
1879
  }>]>;
1568
1880
  static readonly shortDescription = "Google Drive integration for file management";
1569
1881
  static readonly longDescription = "\n Google Drive service integration for comprehensive file and folder management.\n Use cases:\n - Upload files and documents to Google Drive\n - Download files with format conversion support\n - List and search files with advanced filtering\n - Create and organize folders\n - Share files and manage permissions\n - Get detailed file metadata and information\n \n Security Features:\n - OAuth 2.0 authentication with Google\n - Scoped access permissions\n - Secure file handling and validation\n - User-controlled sharing and permissions\n ";
@@ -1585,10 +1897,25 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1585
1897
  private moveFile;
1586
1898
  private getDoc;
1587
1899
  private updateDoc;
1900
+ /**
1901
+ * Adds tabId to range objects in formatting requests
1902
+ */
1903
+ private addTabIdToRequest;
1904
+ private replaceText;
1905
+ private copyDoc;
1906
+ private createTab;
1588
1907
  /**
1589
1908
  * Extracts plain text content from a Google Docs document body
1590
1909
  */
1591
1910
  private extractPlainTextFromDoc;
1911
+ /**
1912
+ * Extracts plain text content from a Google Docs tab
1913
+ */
1914
+ private extractPlainTextFromTab;
1915
+ /**
1916
+ * Extracts plain text from a content array
1917
+ */
1918
+ private extractPlainTextFromContent;
1592
1919
  private isBase64;
1593
1920
  private extractBase64Content;
1594
1921
  private findAndExtractBase64;