@bubblelab/bubble-core 0.1.39 → 0.1.40

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 (63) hide show
  1. package/dist/bubble-bundle.d.ts +81 -81
  2. package/dist/bubbles/service-bubble/agi-inc.d.ts +114 -114
  3. package/dist/bubbles/service-bubble/ai-agent.d.ts +70 -70
  4. package/dist/bubbles/service-bubble/ai-agent.d.ts.map +1 -1
  5. package/dist/bubbles/service-bubble/ai-agent.js +5 -0
  6. package/dist/bubbles/service-bubble/ai-agent.js.map +1 -1
  7. package/dist/bubbles/service-bubble/airtable.d.ts +122 -122
  8. package/dist/bubbles/service-bubble/apify/apify.d.ts +12 -12
  9. package/dist/bubbles/service-bubble/ashby/ashby.d.ts +144 -144
  10. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +51 -51
  11. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +84 -84
  12. package/dist/bubbles/service-bubble/eleven-labs.d.ts +56 -56
  13. package/dist/bubbles/service-bubble/firecrawl.d.ts +835 -835
  14. package/dist/bubbles/service-bubble/followupboss.d.ts +474 -474
  15. package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +275 -275
  16. package/dist/bubbles/service-bubble/github.d.ts +196 -196
  17. package/dist/bubbles/service-bubble/gmail.d.ts +138 -138
  18. package/dist/bubbles/service-bubble/google-calendar.d.ts +136 -136
  19. package/dist/bubbles/service-bubble/google-drive.d.ts +144 -144
  20. package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +68 -68
  21. package/dist/bubbles/service-bubble/hello-world.d.ts +4 -4
  22. package/dist/bubbles/service-bubble/http.d.ts +12 -12
  23. package/dist/bubbles/service-bubble/insforge-db.d.ts +4 -4
  24. package/dist/bubbles/service-bubble/jira/jira.d.ts +59 -59
  25. package/dist/bubbles/service-bubble/notion/notion.d.ts +244 -244
  26. package/dist/bubbles/service-bubble/postgresql.d.ts +4 -4
  27. package/dist/bubbles/service-bubble/resend.d.ts +16 -16
  28. package/dist/bubbles/service-bubble/slack/slack.d.ts +442 -442
  29. package/dist/bubbles/service-bubble/storage.d.ts +60 -60
  30. package/dist/bubbles/service-bubble/telegram.d.ts +414 -414
  31. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +26 -26
  32. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +4 -4
  33. package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +4 -4
  34. package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +4 -4
  35. package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +66 -66
  36. package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts +4 -4
  37. package/dist/bubbles/tool-bubble/get-trigger-detail-tool.d.ts +4 -4
  38. package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +28 -28
  39. package/dist/bubbles/tool-bubble/instagram-tool.d.ts +16 -16
  40. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +422 -422
  41. package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +8 -8
  42. package/dist/bubbles/tool-bubble/people-search-tool.d.ts +108 -108
  43. package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +26 -26
  44. package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +8 -8
  45. package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +8 -8
  46. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +24 -24
  47. package/dist/bubbles/tool-bubble/tool-template.d.ts +4 -4
  48. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +113 -113
  49. package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +4 -4
  50. package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +4 -4
  51. package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +4 -4
  52. package/dist/bubbles/tool-bubble/web-search-tool.d.ts +12 -12
  53. package/dist/bubbles/tool-bubble/youtube-tool.d.ts +8 -8
  54. package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
  55. package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +4 -4
  56. package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +4 -4
  57. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +90 -90
  58. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +8 -8
  59. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +6 -6
  60. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +66 -66
  61. package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +8 -8
  62. package/dist/bubbles.json +1 -1
  63. package/package.json +2 -2
@@ -11,19 +11,19 @@ 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";
15
14
  name: string;
16
15
  content: string;
16
+ operation: "upload_file";
17
17
  convert_to_google_docs: boolean;
18
- credentials?: Partial<Record<CredentialType, string>> | undefined;
19
18
  mimeType?: string | undefined;
19
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
20
20
  parent_folder_id?: string | undefined;
21
21
  }, {
22
- operation: "upload_file";
23
22
  name: string;
24
23
  content: string;
25
- credentials?: Partial<Record<CredentialType, string>> | undefined;
24
+ operation: "upload_file";
26
25
  mimeType?: string | undefined;
26
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
27
27
  parent_folder_id?: string | undefined;
28
28
  convert_to_google_docs?: boolean | undefined;
29
29
  }>, z.ZodObject<{
@@ -71,13 +71,13 @@ 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
- operation: "create_folder";
75
74
  name: string;
75
+ operation: "create_folder";
76
76
  credentials?: Partial<Record<CredentialType, string>> | undefined;
77
77
  parent_folder_id?: string | undefined;
78
78
  }, {
79
- operation: "create_folder";
80
79
  name: string;
80
+ operation: "create_folder";
81
81
  credentials?: Partial<Record<CredentialType, string>> | undefined;
82
82
  parent_folder_id?: string | undefined;
83
83
  }>, z.ZodObject<{
@@ -119,20 +119,20 @@ 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";
122
123
  operation: "share_file";
123
- type: "domain" | "user" | "group" | "anyone";
124
124
  file_id: string;
125
- role: "owner" | "writer" | "reader" | "commenter";
125
+ role: "writer" | "reader" | "commenter" | "owner";
126
126
  send_notification: boolean;
127
127
  credentials?: Partial<Record<CredentialType, string>> | undefined;
128
128
  email_address?: string | undefined;
129
129
  }, {
130
130
  operation: "share_file";
131
131
  file_id: string;
132
- type?: "domain" | "user" | "group" | "anyone" | undefined;
132
+ type?: "user" | "group" | "domain" | "anyone" | undefined;
133
133
  credentials?: Partial<Record<CredentialType, string>> | undefined;
134
134
  email_address?: string | undefined;
135
- role?: "owner" | "writer" | "reader" | "commenter" | undefined;
135
+ role?: "writer" | "reader" | "commenter" | "owner" | undefined;
136
136
  send_notification?: boolean | undefined;
137
137
  }>, z.ZodObject<{
138
138
  operation: z.ZodLiteral<"move_file">;
@@ -171,14 +171,14 @@ declare const GoogleDriveParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
171
171
  mode: z.ZodDefault<z.ZodOptional<z.ZodEnum<["replace", "append"]>>>;
172
172
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
173
173
  }, "strip", z.ZodTypeAny, {
174
- operation: "update_doc";
175
174
  content: string;
175
+ operation: "update_doc";
176
176
  mode: "replace" | "append";
177
177
  document_id: string;
178
178
  credentials?: Partial<Record<CredentialType, string>> | undefined;
179
179
  }, {
180
- operation: "update_doc";
181
180
  content: string;
181
+ operation: "update_doc";
182
182
  document_id: string;
183
183
  credentials?: Partial<Record<CredentialType, string>> | undefined;
184
184
  mode?: "replace" | "append" | undefined;
@@ -208,9 +208,9 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
208
208
  emailAddress?: string | undefined;
209
209
  }>, "many">>;
210
210
  }, "strip", z.ZodTypeAny, {
211
+ mimeType: string;
211
212
  name: string;
212
213
  id: string;
213
- mimeType: string;
214
214
  size?: string | undefined;
215
215
  createdTime?: string | undefined;
216
216
  modifiedTime?: string | undefined;
@@ -223,9 +223,9 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
223
223
  emailAddress?: string | undefined;
224
224
  }[] | undefined;
225
225
  }, {
226
+ mimeType: string;
226
227
  name: string;
227
228
  id: string;
228
- mimeType: string;
229
229
  size?: string | undefined;
230
230
  createdTime?: string | undefined;
231
231
  modifiedTime?: string | undefined;
@@ -240,13 +240,13 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
240
240
  }>>;
241
241
  error: z.ZodString;
242
242
  }, "strip", z.ZodTypeAny, {
243
- operation: "upload_file";
244
- success: boolean;
245
243
  error: string;
244
+ success: boolean;
245
+ operation: "upload_file";
246
246
  file?: {
247
+ mimeType: string;
247
248
  name: string;
248
249
  id: string;
249
- mimeType: string;
250
250
  size?: string | undefined;
251
251
  createdTime?: string | undefined;
252
252
  modifiedTime?: string | undefined;
@@ -260,13 +260,13 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
260
260
  }[] | undefined;
261
261
  } | undefined;
262
262
  }, {
263
- operation: "upload_file";
264
- success: boolean;
265
263
  error: string;
264
+ success: boolean;
265
+ operation: "upload_file";
266
266
  file?: {
267
+ mimeType: string;
267
268
  name: string;
268
269
  id: string;
269
- mimeType: string;
270
270
  size?: string | undefined;
271
271
  createdTime?: string | undefined;
272
272
  modifiedTime?: string | undefined;
@@ -287,18 +287,18 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
287
287
  mimeType: z.ZodOptional<z.ZodString>;
288
288
  error: z.ZodString;
289
289
  }, "strip", z.ZodTypeAny, {
290
- operation: "download_file";
291
- success: boolean;
292
290
  error: string;
293
- content?: string | undefined;
291
+ success: boolean;
292
+ operation: "download_file";
294
293
  mimeType?: string | undefined;
294
+ content?: string | undefined;
295
295
  filename?: string | undefined;
296
296
  }, {
297
- operation: "download_file";
298
- success: boolean;
299
297
  error: string;
300
- content?: string | undefined;
298
+ success: boolean;
299
+ operation: "download_file";
301
300
  mimeType?: string | undefined;
301
+ content?: string | undefined;
302
302
  filename?: string | undefined;
303
303
  }>, z.ZodObject<{
304
304
  operation: z.ZodLiteral<"list_files">;
@@ -325,9 +325,9 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
325
325
  emailAddress?: string | undefined;
326
326
  }>, "many">>;
327
327
  }, "strip", z.ZodTypeAny, {
328
+ mimeType: string;
328
329
  name: string;
329
330
  id: string;
330
- mimeType: string;
331
331
  size?: string | undefined;
332
332
  createdTime?: string | undefined;
333
333
  modifiedTime?: string | undefined;
@@ -340,9 +340,9 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
340
340
  emailAddress?: string | undefined;
341
341
  }[] | undefined;
342
342
  }, {
343
+ mimeType: string;
343
344
  name: string;
344
345
  id: string;
345
- mimeType: string;
346
346
  size?: string | undefined;
347
347
  createdTime?: string | undefined;
348
348
  modifiedTime?: string | undefined;
@@ -359,14 +359,13 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
359
359
  next_page_token: z.ZodOptional<z.ZodString>;
360
360
  error: z.ZodString;
361
361
  }, "strip", z.ZodTypeAny, {
362
- operation: "list_files";
363
- success: boolean;
364
362
  error: string;
365
- total_count?: number | undefined;
363
+ success: boolean;
364
+ operation: "list_files";
366
365
  files?: {
366
+ mimeType: string;
367
367
  name: string;
368
368
  id: string;
369
- mimeType: string;
370
369
  size?: string | undefined;
371
370
  createdTime?: string | undefined;
372
371
  modifiedTime?: string | undefined;
@@ -379,16 +378,16 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
379
378
  emailAddress?: string | undefined;
380
379
  }[] | undefined;
381
380
  }[] | undefined;
381
+ total_count?: number | undefined;
382
382
  next_page_token?: string | undefined;
383
383
  }, {
384
- operation: "list_files";
385
- success: boolean;
386
384
  error: string;
387
- total_count?: number | undefined;
385
+ success: boolean;
386
+ operation: "list_files";
388
387
  files?: {
388
+ mimeType: string;
389
389
  name: string;
390
390
  id: string;
391
- mimeType: string;
392
391
  size?: string | undefined;
393
392
  createdTime?: string | undefined;
394
393
  modifiedTime?: string | undefined;
@@ -401,6 +400,7 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
401
400
  emailAddress?: string | undefined;
402
401
  }[] | undefined;
403
402
  }[] | undefined;
403
+ total_count?: number | undefined;
404
404
  next_page_token?: string | undefined;
405
405
  }>, z.ZodObject<{
406
406
  operation: z.ZodLiteral<"create_folder">;
@@ -423,9 +423,9 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
423
423
  }>>;
424
424
  error: z.ZodString;
425
425
  }, "strip", z.ZodTypeAny, {
426
- operation: "create_folder";
427
- success: boolean;
428
426
  error: string;
427
+ success: boolean;
428
+ operation: "create_folder";
429
429
  folder?: {
430
430
  name: string;
431
431
  id: string;
@@ -433,9 +433,9 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
433
433
  parents?: string[] | undefined;
434
434
  } | undefined;
435
435
  }, {
436
- operation: "create_folder";
437
- success: boolean;
438
436
  error: string;
437
+ success: boolean;
438
+ operation: "create_folder";
439
439
  folder?: {
440
440
  name: string;
441
441
  id: string;
@@ -448,14 +448,14 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
448
448
  deleted_file_id: z.ZodOptional<z.ZodString>;
449
449
  error: z.ZodString;
450
450
  }, "strip", z.ZodTypeAny, {
451
- operation: "delete_file";
452
- success: boolean;
453
451
  error: string;
452
+ success: boolean;
453
+ operation: "delete_file";
454
454
  deleted_file_id?: string | undefined;
455
455
  }, {
456
- operation: "delete_file";
457
- success: boolean;
458
456
  error: string;
457
+ success: boolean;
458
+ operation: "delete_file";
459
459
  deleted_file_id?: string | undefined;
460
460
  }>, z.ZodObject<{
461
461
  operation: z.ZodLiteral<"get_file_info">;
@@ -482,9 +482,9 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
482
482
  emailAddress?: string | undefined;
483
483
  }>, "many">>;
484
484
  }, "strip", z.ZodTypeAny, {
485
+ mimeType: string;
485
486
  name: string;
486
487
  id: string;
487
- mimeType: string;
488
488
  size?: string | undefined;
489
489
  createdTime?: string | undefined;
490
490
  modifiedTime?: string | undefined;
@@ -497,9 +497,9 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
497
497
  emailAddress?: string | undefined;
498
498
  }[] | undefined;
499
499
  }, {
500
+ mimeType: string;
500
501
  name: string;
501
502
  id: string;
502
- mimeType: string;
503
503
  size?: string | undefined;
504
504
  createdTime?: string | undefined;
505
505
  modifiedTime?: string | undefined;
@@ -533,13 +533,13 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
533
533
  }>, "many">>;
534
534
  error: z.ZodString;
535
535
  }, "strip", z.ZodTypeAny, {
536
- operation: "get_file_info";
537
- success: boolean;
538
536
  error: string;
537
+ success: boolean;
538
+ operation: "get_file_info";
539
539
  file?: {
540
+ mimeType: string;
540
541
  name: string;
541
542
  id: string;
542
- mimeType: string;
543
543
  size?: string | undefined;
544
544
  createdTime?: string | undefined;
545
545
  modifiedTime?: string | undefined;
@@ -560,13 +560,13 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
560
560
  emailAddress?: string | undefined;
561
561
  }[] | undefined;
562
562
  }, {
563
- operation: "get_file_info";
564
- success: boolean;
565
563
  error: string;
564
+ success: boolean;
565
+ operation: "get_file_info";
566
566
  file?: {
567
+ mimeType: string;
567
568
  name: string;
568
569
  id: string;
569
- mimeType: string;
570
570
  size?: string | undefined;
571
571
  createdTime?: string | undefined;
572
572
  modifiedTime?: string | undefined;
@@ -593,15 +593,15 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
593
593
  share_link: z.ZodOptional<z.ZodString>;
594
594
  error: z.ZodString;
595
595
  }, "strip", z.ZodTypeAny, {
596
- operation: "share_file";
597
- success: boolean;
598
596
  error: string;
597
+ success: boolean;
598
+ operation: "share_file";
599
599
  permission_id?: string | undefined;
600
600
  share_link?: string | undefined;
601
601
  }, {
602
- operation: "share_file";
603
- success: boolean;
604
602
  error: string;
603
+ success: boolean;
604
+ operation: "share_file";
605
605
  permission_id?: string | undefined;
606
606
  share_link?: string | undefined;
607
607
  }>, z.ZodObject<{
@@ -629,9 +629,9 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
629
629
  emailAddress?: string | undefined;
630
630
  }>, "many">>;
631
631
  }, "strip", z.ZodTypeAny, {
632
+ mimeType: string;
632
633
  name: string;
633
634
  id: string;
634
- mimeType: string;
635
635
  size?: string | undefined;
636
636
  createdTime?: string | undefined;
637
637
  modifiedTime?: string | undefined;
@@ -644,9 +644,9 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
644
644
  emailAddress?: string | undefined;
645
645
  }[] | undefined;
646
646
  }, {
647
+ mimeType: string;
647
648
  name: string;
648
649
  id: string;
649
- mimeType: string;
650
650
  size?: string | undefined;
651
651
  createdTime?: string | undefined;
652
652
  modifiedTime?: string | undefined;
@@ -661,13 +661,13 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
661
661
  }>>;
662
662
  error: z.ZodString;
663
663
  }, "strip", z.ZodTypeAny, {
664
- operation: "move_file";
665
- success: boolean;
666
664
  error: string;
665
+ success: boolean;
666
+ operation: "move_file";
667
667
  file?: {
668
+ mimeType: string;
668
669
  name: string;
669
670
  id: string;
670
- mimeType: string;
671
671
  size?: string | undefined;
672
672
  createdTime?: string | undefined;
673
673
  modifiedTime?: string | undefined;
@@ -681,13 +681,13 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
681
681
  }[] | undefined;
682
682
  } | undefined;
683
683
  }, {
684
- operation: "move_file";
685
- success: boolean;
686
684
  error: string;
685
+ success: boolean;
686
+ operation: "move_file";
687
687
  file?: {
688
+ mimeType: string;
688
689
  name: string;
689
690
  id: string;
690
- mimeType: string;
691
691
  size?: string | undefined;
692
692
  createdTime?: string | undefined;
693
693
  modifiedTime?: string | undefined;
@@ -731,9 +731,9 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
731
731
  plainText: z.ZodOptional<z.ZodString>;
732
732
  error: z.ZodString;
733
733
  }, "strip", z.ZodTypeAny, {
734
- operation: "get_doc";
735
- success: boolean;
736
734
  error: string;
735
+ success: boolean;
736
+ operation: "get_doc";
737
737
  document?: z.objectOutputType<{
738
738
  documentId: z.ZodString;
739
739
  title: z.ZodString;
@@ -745,9 +745,9 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
745
745
  }, z.ZodTypeAny, "passthrough"> | undefined;
746
746
  plainText?: string | undefined;
747
747
  }, {
748
- operation: "get_doc";
749
- success: boolean;
750
748
  error: string;
749
+ success: boolean;
750
+ operation: "get_doc";
751
751
  document?: z.objectInputType<{
752
752
  documentId: z.ZodString;
753
753
  title: z.ZodString;
@@ -765,15 +765,15 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
765
765
  revisionId: z.ZodOptional<z.ZodString>;
766
766
  error: z.ZodString;
767
767
  }, "strip", z.ZodTypeAny, {
768
- operation: "update_doc";
769
- success: boolean;
770
768
  error: string;
769
+ success: boolean;
770
+ operation: "update_doc";
771
771
  documentId?: string | undefined;
772
772
  revisionId?: string | undefined;
773
773
  }, {
774
- operation: "update_doc";
775
- success: boolean;
776
774
  error: string;
775
+ success: boolean;
776
+ operation: "update_doc";
777
777
  documentId?: string | undefined;
778
778
  revisionId?: string | undefined;
779
779
  }>]>;
@@ -799,19 +799,19 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
799
799
  convert_to_google_docs: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
800
800
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
801
801
  }, "strip", z.ZodTypeAny, {
802
- operation: "upload_file";
803
802
  name: string;
804
803
  content: string;
804
+ operation: "upload_file";
805
805
  convert_to_google_docs: boolean;
806
- credentials?: Partial<Record<CredentialType, string>> | undefined;
807
806
  mimeType?: string | undefined;
807
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
808
808
  parent_folder_id?: string | undefined;
809
809
  }, {
810
- operation: "upload_file";
811
810
  name: string;
812
811
  content: string;
813
- credentials?: Partial<Record<CredentialType, string>> | undefined;
812
+ operation: "upload_file";
814
813
  mimeType?: string | undefined;
814
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
815
815
  parent_folder_id?: string | undefined;
816
816
  convert_to_google_docs?: boolean | undefined;
817
817
  }>, z.ZodObject<{
@@ -859,13 +859,13 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
859
859
  parent_folder_id: z.ZodOptional<z.ZodString>;
860
860
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
861
861
  }, "strip", z.ZodTypeAny, {
862
- operation: "create_folder";
863
862
  name: string;
863
+ operation: "create_folder";
864
864
  credentials?: Partial<Record<CredentialType, string>> | undefined;
865
865
  parent_folder_id?: string | undefined;
866
866
  }, {
867
- operation: "create_folder";
868
867
  name: string;
868
+ operation: "create_folder";
869
869
  credentials?: Partial<Record<CredentialType, string>> | undefined;
870
870
  parent_folder_id?: string | undefined;
871
871
  }>, z.ZodObject<{
@@ -907,20 +907,20 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
907
907
  send_notification: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
908
908
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
909
909
  }, "strip", z.ZodTypeAny, {
910
+ type: "user" | "group" | "domain" | "anyone";
910
911
  operation: "share_file";
911
- type: "domain" | "user" | "group" | "anyone";
912
912
  file_id: string;
913
- role: "owner" | "writer" | "reader" | "commenter";
913
+ role: "writer" | "reader" | "commenter" | "owner";
914
914
  send_notification: boolean;
915
915
  credentials?: Partial<Record<CredentialType, string>> | undefined;
916
916
  email_address?: string | undefined;
917
917
  }, {
918
918
  operation: "share_file";
919
919
  file_id: string;
920
- type?: "domain" | "user" | "group" | "anyone" | undefined;
920
+ type?: "user" | "group" | "domain" | "anyone" | undefined;
921
921
  credentials?: Partial<Record<CredentialType, string>> | undefined;
922
922
  email_address?: string | undefined;
923
- role?: "owner" | "writer" | "reader" | "commenter" | undefined;
923
+ role?: "writer" | "reader" | "commenter" | "owner" | undefined;
924
924
  send_notification?: boolean | undefined;
925
925
  }>, z.ZodObject<{
926
926
  operation: z.ZodLiteral<"move_file">;
@@ -959,14 +959,14 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
959
959
  mode: z.ZodDefault<z.ZodOptional<z.ZodEnum<["replace", "append"]>>>;
960
960
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
961
961
  }, "strip", z.ZodTypeAny, {
962
- operation: "update_doc";
963
962
  content: string;
963
+ operation: "update_doc";
964
964
  mode: "replace" | "append";
965
965
  document_id: string;
966
966
  credentials?: Partial<Record<CredentialType, string>> | undefined;
967
967
  }, {
968
- operation: "update_doc";
969
968
  content: string;
969
+ operation: "update_doc";
970
970
  document_id: string;
971
971
  credentials?: Partial<Record<CredentialType, string>> | undefined;
972
972
  mode?: "replace" | "append" | undefined;
@@ -996,9 +996,9 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
996
996
  emailAddress?: string | undefined;
997
997
  }>, "many">>;
998
998
  }, "strip", z.ZodTypeAny, {
999
+ mimeType: string;
999
1000
  name: string;
1000
1001
  id: string;
1001
- mimeType: string;
1002
1002
  size?: string | undefined;
1003
1003
  createdTime?: string | undefined;
1004
1004
  modifiedTime?: string | undefined;
@@ -1011,9 +1011,9 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1011
1011
  emailAddress?: string | undefined;
1012
1012
  }[] | undefined;
1013
1013
  }, {
1014
+ mimeType: string;
1014
1015
  name: string;
1015
1016
  id: string;
1016
- mimeType: string;
1017
1017
  size?: string | undefined;
1018
1018
  createdTime?: string | undefined;
1019
1019
  modifiedTime?: string | undefined;
@@ -1028,13 +1028,13 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1028
1028
  }>>;
1029
1029
  error: z.ZodString;
1030
1030
  }, "strip", z.ZodTypeAny, {
1031
- operation: "upload_file";
1032
- success: boolean;
1033
1031
  error: string;
1032
+ success: boolean;
1033
+ operation: "upload_file";
1034
1034
  file?: {
1035
+ mimeType: string;
1035
1036
  name: string;
1036
1037
  id: string;
1037
- mimeType: string;
1038
1038
  size?: string | undefined;
1039
1039
  createdTime?: string | undefined;
1040
1040
  modifiedTime?: string | undefined;
@@ -1048,13 +1048,13 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1048
1048
  }[] | undefined;
1049
1049
  } | undefined;
1050
1050
  }, {
1051
- operation: "upload_file";
1052
- success: boolean;
1053
1051
  error: string;
1052
+ success: boolean;
1053
+ operation: "upload_file";
1054
1054
  file?: {
1055
+ mimeType: string;
1055
1056
  name: string;
1056
1057
  id: string;
1057
- mimeType: string;
1058
1058
  size?: string | undefined;
1059
1059
  createdTime?: string | undefined;
1060
1060
  modifiedTime?: string | undefined;
@@ -1075,18 +1075,18 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1075
1075
  mimeType: z.ZodOptional<z.ZodString>;
1076
1076
  error: z.ZodString;
1077
1077
  }, "strip", z.ZodTypeAny, {
1078
- operation: "download_file";
1079
- success: boolean;
1080
1078
  error: string;
1081
- content?: string | undefined;
1079
+ success: boolean;
1080
+ operation: "download_file";
1082
1081
  mimeType?: string | undefined;
1082
+ content?: string | undefined;
1083
1083
  filename?: string | undefined;
1084
1084
  }, {
1085
- operation: "download_file";
1086
- success: boolean;
1087
1085
  error: string;
1088
- content?: string | undefined;
1086
+ success: boolean;
1087
+ operation: "download_file";
1089
1088
  mimeType?: string | undefined;
1089
+ content?: string | undefined;
1090
1090
  filename?: string | undefined;
1091
1091
  }>, z.ZodObject<{
1092
1092
  operation: z.ZodLiteral<"list_files">;
@@ -1113,9 +1113,9 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1113
1113
  emailAddress?: string | undefined;
1114
1114
  }>, "many">>;
1115
1115
  }, "strip", z.ZodTypeAny, {
1116
+ mimeType: string;
1116
1117
  name: string;
1117
1118
  id: string;
1118
- mimeType: string;
1119
1119
  size?: string | undefined;
1120
1120
  createdTime?: string | undefined;
1121
1121
  modifiedTime?: string | undefined;
@@ -1128,9 +1128,9 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1128
1128
  emailAddress?: string | undefined;
1129
1129
  }[] | undefined;
1130
1130
  }, {
1131
+ mimeType: string;
1131
1132
  name: string;
1132
1133
  id: string;
1133
- mimeType: string;
1134
1134
  size?: string | undefined;
1135
1135
  createdTime?: string | undefined;
1136
1136
  modifiedTime?: string | undefined;
@@ -1147,14 +1147,13 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1147
1147
  next_page_token: z.ZodOptional<z.ZodString>;
1148
1148
  error: z.ZodString;
1149
1149
  }, "strip", z.ZodTypeAny, {
1150
- operation: "list_files";
1151
- success: boolean;
1152
1150
  error: string;
1153
- total_count?: number | undefined;
1151
+ success: boolean;
1152
+ operation: "list_files";
1154
1153
  files?: {
1154
+ mimeType: string;
1155
1155
  name: string;
1156
1156
  id: string;
1157
- mimeType: string;
1158
1157
  size?: string | undefined;
1159
1158
  createdTime?: string | undefined;
1160
1159
  modifiedTime?: string | undefined;
@@ -1167,16 +1166,16 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1167
1166
  emailAddress?: string | undefined;
1168
1167
  }[] | undefined;
1169
1168
  }[] | undefined;
1169
+ total_count?: number | undefined;
1170
1170
  next_page_token?: string | undefined;
1171
1171
  }, {
1172
- operation: "list_files";
1173
- success: boolean;
1174
1172
  error: string;
1175
- total_count?: number | undefined;
1173
+ success: boolean;
1174
+ operation: "list_files";
1176
1175
  files?: {
1176
+ mimeType: string;
1177
1177
  name: string;
1178
1178
  id: string;
1179
- mimeType: string;
1180
1179
  size?: string | undefined;
1181
1180
  createdTime?: string | undefined;
1182
1181
  modifiedTime?: string | undefined;
@@ -1189,6 +1188,7 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1189
1188
  emailAddress?: string | undefined;
1190
1189
  }[] | undefined;
1191
1190
  }[] | undefined;
1191
+ total_count?: number | undefined;
1192
1192
  next_page_token?: string | undefined;
1193
1193
  }>, z.ZodObject<{
1194
1194
  operation: z.ZodLiteral<"create_folder">;
@@ -1211,9 +1211,9 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1211
1211
  }>>;
1212
1212
  error: z.ZodString;
1213
1213
  }, "strip", z.ZodTypeAny, {
1214
- operation: "create_folder";
1215
- success: boolean;
1216
1214
  error: string;
1215
+ success: boolean;
1216
+ operation: "create_folder";
1217
1217
  folder?: {
1218
1218
  name: string;
1219
1219
  id: string;
@@ -1221,9 +1221,9 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1221
1221
  parents?: string[] | undefined;
1222
1222
  } | undefined;
1223
1223
  }, {
1224
- operation: "create_folder";
1225
- success: boolean;
1226
1224
  error: string;
1225
+ success: boolean;
1226
+ operation: "create_folder";
1227
1227
  folder?: {
1228
1228
  name: string;
1229
1229
  id: string;
@@ -1236,14 +1236,14 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1236
1236
  deleted_file_id: z.ZodOptional<z.ZodString>;
1237
1237
  error: z.ZodString;
1238
1238
  }, "strip", z.ZodTypeAny, {
1239
- operation: "delete_file";
1240
- success: boolean;
1241
1239
  error: string;
1240
+ success: boolean;
1241
+ operation: "delete_file";
1242
1242
  deleted_file_id?: string | undefined;
1243
1243
  }, {
1244
- operation: "delete_file";
1245
- success: boolean;
1246
1244
  error: string;
1245
+ success: boolean;
1246
+ operation: "delete_file";
1247
1247
  deleted_file_id?: string | undefined;
1248
1248
  }>, z.ZodObject<{
1249
1249
  operation: z.ZodLiteral<"get_file_info">;
@@ -1270,9 +1270,9 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1270
1270
  emailAddress?: string | undefined;
1271
1271
  }>, "many">>;
1272
1272
  }, "strip", z.ZodTypeAny, {
1273
+ mimeType: string;
1273
1274
  name: string;
1274
1275
  id: string;
1275
- mimeType: string;
1276
1276
  size?: string | undefined;
1277
1277
  createdTime?: string | undefined;
1278
1278
  modifiedTime?: string | undefined;
@@ -1285,9 +1285,9 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1285
1285
  emailAddress?: string | undefined;
1286
1286
  }[] | undefined;
1287
1287
  }, {
1288
+ mimeType: string;
1288
1289
  name: string;
1289
1290
  id: string;
1290
- mimeType: string;
1291
1291
  size?: string | undefined;
1292
1292
  createdTime?: string | undefined;
1293
1293
  modifiedTime?: string | undefined;
@@ -1321,13 +1321,13 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1321
1321
  }>, "many">>;
1322
1322
  error: z.ZodString;
1323
1323
  }, "strip", z.ZodTypeAny, {
1324
- operation: "get_file_info";
1325
- success: boolean;
1326
1324
  error: string;
1325
+ success: boolean;
1326
+ operation: "get_file_info";
1327
1327
  file?: {
1328
+ mimeType: string;
1328
1329
  name: string;
1329
1330
  id: string;
1330
- mimeType: string;
1331
1331
  size?: string | undefined;
1332
1332
  createdTime?: string | undefined;
1333
1333
  modifiedTime?: string | undefined;
@@ -1348,13 +1348,13 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1348
1348
  emailAddress?: string | undefined;
1349
1349
  }[] | undefined;
1350
1350
  }, {
1351
- operation: "get_file_info";
1352
- success: boolean;
1353
1351
  error: string;
1352
+ success: boolean;
1353
+ operation: "get_file_info";
1354
1354
  file?: {
1355
+ mimeType: string;
1355
1356
  name: string;
1356
1357
  id: string;
1357
- mimeType: string;
1358
1358
  size?: string | undefined;
1359
1359
  createdTime?: string | undefined;
1360
1360
  modifiedTime?: string | undefined;
@@ -1381,15 +1381,15 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1381
1381
  share_link: z.ZodOptional<z.ZodString>;
1382
1382
  error: z.ZodString;
1383
1383
  }, "strip", z.ZodTypeAny, {
1384
- operation: "share_file";
1385
- success: boolean;
1386
1384
  error: string;
1385
+ success: boolean;
1386
+ operation: "share_file";
1387
1387
  permission_id?: string | undefined;
1388
1388
  share_link?: string | undefined;
1389
1389
  }, {
1390
- operation: "share_file";
1391
- success: boolean;
1392
1390
  error: string;
1391
+ success: boolean;
1392
+ operation: "share_file";
1393
1393
  permission_id?: string | undefined;
1394
1394
  share_link?: string | undefined;
1395
1395
  }>, z.ZodObject<{
@@ -1417,9 +1417,9 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1417
1417
  emailAddress?: string | undefined;
1418
1418
  }>, "many">>;
1419
1419
  }, "strip", z.ZodTypeAny, {
1420
+ mimeType: string;
1420
1421
  name: string;
1421
1422
  id: string;
1422
- mimeType: string;
1423
1423
  size?: string | undefined;
1424
1424
  createdTime?: string | undefined;
1425
1425
  modifiedTime?: string | undefined;
@@ -1432,9 +1432,9 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1432
1432
  emailAddress?: string | undefined;
1433
1433
  }[] | undefined;
1434
1434
  }, {
1435
+ mimeType: string;
1435
1436
  name: string;
1436
1437
  id: string;
1437
- mimeType: string;
1438
1438
  size?: string | undefined;
1439
1439
  createdTime?: string | undefined;
1440
1440
  modifiedTime?: string | undefined;
@@ -1449,13 +1449,13 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1449
1449
  }>>;
1450
1450
  error: z.ZodString;
1451
1451
  }, "strip", z.ZodTypeAny, {
1452
- operation: "move_file";
1453
- success: boolean;
1454
1452
  error: string;
1453
+ success: boolean;
1454
+ operation: "move_file";
1455
1455
  file?: {
1456
+ mimeType: string;
1456
1457
  name: string;
1457
1458
  id: string;
1458
- mimeType: string;
1459
1459
  size?: string | undefined;
1460
1460
  createdTime?: string | undefined;
1461
1461
  modifiedTime?: string | undefined;
@@ -1469,13 +1469,13 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1469
1469
  }[] | undefined;
1470
1470
  } | undefined;
1471
1471
  }, {
1472
- operation: "move_file";
1473
- success: boolean;
1474
1472
  error: string;
1473
+ success: boolean;
1474
+ operation: "move_file";
1475
1475
  file?: {
1476
+ mimeType: string;
1476
1477
  name: string;
1477
1478
  id: string;
1478
- mimeType: string;
1479
1479
  size?: string | undefined;
1480
1480
  createdTime?: string | undefined;
1481
1481
  modifiedTime?: string | undefined;
@@ -1519,9 +1519,9 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1519
1519
  plainText: z.ZodOptional<z.ZodString>;
1520
1520
  error: z.ZodString;
1521
1521
  }, "strip", z.ZodTypeAny, {
1522
- operation: "get_doc";
1523
- success: boolean;
1524
1522
  error: string;
1523
+ success: boolean;
1524
+ operation: "get_doc";
1525
1525
  document?: z.objectOutputType<{
1526
1526
  documentId: z.ZodString;
1527
1527
  title: z.ZodString;
@@ -1533,9 +1533,9 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1533
1533
  }, z.ZodTypeAny, "passthrough"> | undefined;
1534
1534
  plainText?: string | undefined;
1535
1535
  }, {
1536
- operation: "get_doc";
1537
- success: boolean;
1538
1536
  error: string;
1537
+ success: boolean;
1538
+ operation: "get_doc";
1539
1539
  document?: z.objectInputType<{
1540
1540
  documentId: z.ZodString;
1541
1541
  title: z.ZodString;
@@ -1553,15 +1553,15 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1553
1553
  revisionId: z.ZodOptional<z.ZodString>;
1554
1554
  error: z.ZodString;
1555
1555
  }, "strip", z.ZodTypeAny, {
1556
- operation: "update_doc";
1557
- success: boolean;
1558
1556
  error: string;
1557
+ success: boolean;
1558
+ operation: "update_doc";
1559
1559
  documentId?: string | undefined;
1560
1560
  revisionId?: string | undefined;
1561
1561
  }, {
1562
- operation: "update_doc";
1563
- success: boolean;
1564
1562
  error: string;
1563
+ success: boolean;
1564
+ operation: "update_doc";
1565
1565
  documentId?: string | undefined;
1566
1566
  revisionId?: string | undefined;
1567
1567
  }>]>;