@bubblelab/bubble-core 0.1.72 → 0.1.73

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 (66) hide show
  1. package/dist/bubble-bundle.d.ts +84 -84
  2. package/dist/bubbles/service-bubble/agi-inc.d.ts +112 -112
  3. package/dist/bubbles/service-bubble/ai-agent.d.ts +8 -8
  4. package/dist/bubbles/service-bubble/airtable.d.ts +132 -132
  5. package/dist/bubbles/service-bubble/apify/apify.d.ts +8 -8
  6. package/dist/bubbles/service-bubble/ashby/ashby.d.ts +110 -110
  7. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +49 -49
  8. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +22 -22
  9. package/dist/bubbles/service-bubble/eleven-labs.d.ts +56 -56
  10. package/dist/bubbles/service-bubble/firecrawl.d.ts +304 -304
  11. package/dist/bubbles/service-bubble/followupboss.d.ts +264 -264
  12. package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +40 -40
  13. package/dist/bubbles/service-bubble/github.d.ts +156 -156
  14. package/dist/bubbles/service-bubble/gmail.d.ts +578 -578
  15. package/dist/bubbles/service-bubble/google-calendar.d.ts +152 -152
  16. package/dist/bubbles/service-bubble/google-drive.d.ts +146 -146
  17. package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +52 -52
  18. package/dist/bubbles/service-bubble/hello-world.d.ts +4 -4
  19. package/dist/bubbles/service-bubble/http.d.ts +20 -20
  20. package/dist/bubbles/service-bubble/insforge-db.d.ts +10 -10
  21. package/dist/bubbles/service-bubble/jira/jira.d.ts +54 -54
  22. package/dist/bubbles/service-bubble/notion/notion.d.ts +840 -840
  23. package/dist/bubbles/service-bubble/postgresql.d.ts +10 -10
  24. package/dist/bubbles/service-bubble/resend.d.ts +20 -20
  25. package/dist/bubbles/service-bubble/slack/slack.d.ts +358 -358
  26. package/dist/bubbles/service-bubble/slack/slack.utils.d.ts +17 -0
  27. package/dist/bubbles/service-bubble/slack/slack.utils.d.ts.map +1 -1
  28. package/dist/bubbles/service-bubble/slack/slack.utils.js +117 -2
  29. package/dist/bubbles/service-bubble/slack/slack.utils.js.map +1 -1
  30. package/dist/bubbles/service-bubble/storage.d.ts +40 -40
  31. package/dist/bubbles/service-bubble/stripe/stripe.d.ts +76 -76
  32. package/dist/bubbles/service-bubble/telegram.d.ts +942 -942
  33. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +28 -28
  34. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +4 -4
  35. package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +4 -4
  36. package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +4 -4
  37. package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +14 -14
  38. package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts +4 -4
  39. package/dist/bubbles/tool-bubble/get-trigger-detail-tool.d.ts +4 -4
  40. package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +32 -32
  41. package/dist/bubbles/tool-bubble/instagram-tool.d.ts +8 -8
  42. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts +4 -4
  43. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +38 -38
  44. package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
  45. package/dist/bubbles/tool-bubble/people-search-tool.d.ts +18 -18
  46. package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +14 -14
  47. package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +4 -4
  48. package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +12 -12
  49. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +16 -16
  50. package/dist/bubbles/tool-bubble/tool-template.d.ts +4 -4
  51. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +18 -18
  52. package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +8 -8
  53. package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +8 -8
  54. package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +12 -12
  55. package/dist/bubbles/tool-bubble/web-search-tool.d.ts +18 -18
  56. package/dist/bubbles/tool-bubble/youtube-tool.d.ts +18 -18
  57. package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
  58. package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +16 -16
  59. package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +4 -4
  60. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +78 -78
  61. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +16 -16
  62. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +8 -8
  63. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +76 -76
  64. package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +4 -4
  65. package/dist/bubbles.json +1 -1
  66. 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";
15
- name: string;
16
14
  content: string;
15
+ name: string;
16
+ operation: "upload_file";
17
17
  convert_to_google_docs: boolean;
18
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
18
19
  mimeType?: string | undefined;
19
20
  parent_folder_id?: string | undefined;
20
- credentials?: Partial<Record<CredentialType, string>> | undefined;
21
21
  }, {
22
- operation: "upload_file";
23
- name: string;
24
22
  content: string;
23
+ name: string;
24
+ operation: "upload_file";
25
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
25
26
  mimeType?: string | undefined;
26
27
  parent_folder_id?: string | undefined;
27
28
  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
- folder_id?: string | undefined;
59
58
  query?: string | undefined;
59
+ folder_id?: string | undefined;
60
60
  }, {
61
61
  operation: "list_files";
62
62
  credentials?: Partial<Record<CredentialType, string>> | undefined;
63
- folder_id?: string | undefined;
64
63
  query?: string | undefined;
64
+ folder_id?: 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
- operation: "create_folder";
75
74
  name: string;
76
- parent_folder_id?: string | undefined;
75
+ operation: "create_folder";
77
76
  credentials?: Partial<Record<CredentialType, string>> | undefined;
77
+ parent_folder_id?: string | undefined;
78
78
  }, {
79
- operation: "create_folder";
80
79
  name: string;
81
- parent_folder_id?: string | undefined;
80
+ operation: "create_folder";
82
81
  credentials?: Partial<Record<CredentialType, string>> | undefined;
82
+ parent_folder_id?: 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
- operation: "share_file";
123
122
  type: "user" | "group" | "domain" | "anyone";
123
+ operation: "share_file";
124
124
  file_id: string;
125
- role: "reader" | "writer" | "commenter" | "owner";
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;
@@ -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?: "reader" | "writer" | "commenter" | "owner" | 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">;
@@ -178,19 +178,19 @@ declare const GoogleDriveParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
178
178
  tab_id: z.ZodOptional<z.ZodString>;
179
179
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
180
180
  }, "strip", z.ZodTypeAny, {
181
- operation: "update_doc";
182
181
  content: string;
183
- document_id: string;
182
+ operation: "update_doc";
184
183
  mode: "replace" | "append";
184
+ document_id: string;
185
185
  credentials?: Partial<Record<CredentialType, string>> | undefined;
186
186
  tab_id?: string | undefined;
187
187
  }, {
188
- operation: "update_doc";
189
188
  content: string;
189
+ operation: "update_doc";
190
190
  document_id: string;
191
191
  credentials?: Partial<Record<CredentialType, string>> | undefined;
192
- tab_id?: string | undefined;
193
192
  mode?: "replace" | "append" | undefined;
193
+ tab_id?: string | undefined;
194
194
  }>, z.ZodObject<{
195
195
  operation: z.ZodLiteral<"replace_text">;
196
196
  document_id: z.ZodString;
@@ -239,14 +239,14 @@ declare const GoogleDriveParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
239
239
  operation: "copy_doc";
240
240
  document_id: string;
241
241
  new_name: string;
242
- parent_folder_id?: string | undefined;
243
242
  credentials?: Partial<Record<CredentialType, string>> | undefined;
243
+ parent_folder_id?: string | undefined;
244
244
  }, {
245
245
  operation: "copy_doc";
246
246
  document_id: string;
247
247
  new_name: string;
248
- parent_folder_id?: string | undefined;
249
248
  credentials?: Partial<Record<CredentialType, string>> | undefined;
249
+ parent_folder_id?: string | undefined;
250
250
  }>]>;
251
251
  declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
252
252
  operation: z.ZodLiteral<"upload_file">;
@@ -305,9 +305,9 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
305
305
  }>>;
306
306
  error: z.ZodString;
307
307
  }, "strip", z.ZodTypeAny, {
308
- operation: "upload_file";
309
- success: boolean;
310
308
  error: string;
309
+ success: boolean;
310
+ operation: "upload_file";
311
311
  file?: {
312
312
  name: string;
313
313
  mimeType: string;
@@ -325,9 +325,9 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
325
325
  }[] | undefined;
326
326
  } | undefined;
327
327
  }, {
328
- operation: "upload_file";
329
- success: boolean;
330
328
  error: string;
329
+ success: boolean;
330
+ operation: "upload_file";
331
331
  file?: {
332
332
  name: string;
333
333
  mimeType: string;
@@ -352,16 +352,16 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
352
352
  mimeType: z.ZodOptional<z.ZodString>;
353
353
  error: z.ZodString;
354
354
  }, "strip", z.ZodTypeAny, {
355
- operation: "download_file";
356
- success: boolean;
357
355
  error: string;
356
+ success: boolean;
357
+ operation: "download_file";
358
358
  content?: string | undefined;
359
359
  mimeType?: string | undefined;
360
360
  filename?: string | undefined;
361
361
  }, {
362
- operation: "download_file";
363
- success: boolean;
364
362
  error: string;
363
+ success: boolean;
364
+ operation: "download_file";
365
365
  content?: string | undefined;
366
366
  mimeType?: string | undefined;
367
367
  filename?: string | undefined;
@@ -424,9 +424,9 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
424
424
  next_page_token: z.ZodOptional<z.ZodString>;
425
425
  error: z.ZodString;
426
426
  }, "strip", z.ZodTypeAny, {
427
- operation: "list_files";
428
- success: boolean;
429
427
  error: string;
428
+ success: boolean;
429
+ operation: "list_files";
430
430
  files?: {
431
431
  name: string;
432
432
  mimeType: string;
@@ -446,9 +446,9 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
446
446
  total_count?: number | undefined;
447
447
  next_page_token?: string | undefined;
448
448
  }, {
449
- operation: "list_files";
450
- success: boolean;
451
449
  error: string;
450
+ success: boolean;
451
+ operation: "list_files";
452
452
  files?: {
453
453
  name: string;
454
454
  mimeType: string;
@@ -488,9 +488,9 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
488
488
  }>>;
489
489
  error: z.ZodString;
490
490
  }, "strip", z.ZodTypeAny, {
491
- operation: "create_folder";
492
- success: boolean;
493
491
  error: string;
492
+ success: boolean;
493
+ operation: "create_folder";
494
494
  folder?: {
495
495
  name: string;
496
496
  id: string;
@@ -498,9 +498,9 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
498
498
  parents?: string[] | undefined;
499
499
  } | undefined;
500
500
  }, {
501
- operation: "create_folder";
502
- success: boolean;
503
501
  error: string;
502
+ success: boolean;
503
+ operation: "create_folder";
504
504
  folder?: {
505
505
  name: string;
506
506
  id: string;
@@ -513,14 +513,14 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
513
513
  deleted_file_id: z.ZodOptional<z.ZodString>;
514
514
  error: z.ZodString;
515
515
  }, "strip", z.ZodTypeAny, {
516
- operation: "delete_file";
517
- success: boolean;
518
516
  error: string;
517
+ success: boolean;
518
+ operation: "delete_file";
519
519
  deleted_file_id?: string | undefined;
520
520
  }, {
521
- operation: "delete_file";
522
- success: boolean;
523
521
  error: string;
522
+ success: boolean;
523
+ operation: "delete_file";
524
524
  deleted_file_id?: string | undefined;
525
525
  }>, z.ZodObject<{
526
526
  operation: z.ZodLiteral<"get_file_info">;
@@ -585,22 +585,22 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
585
585
  displayName: z.ZodOptional<z.ZodString>;
586
586
  }, "strip", z.ZodTypeAny, {
587
587
  type: string;
588
- role: string;
589
588
  id: string;
589
+ role: string;
590
590
  displayName?: string | undefined;
591
591
  emailAddress?: string | undefined;
592
592
  }, {
593
593
  type: string;
594
- role: string;
595
594
  id: string;
595
+ role: string;
596
596
  displayName?: string | undefined;
597
597
  emailAddress?: string | undefined;
598
598
  }>, "many">>;
599
599
  error: z.ZodString;
600
600
  }, "strip", z.ZodTypeAny, {
601
- operation: "get_file_info";
602
- success: boolean;
603
601
  error: string;
602
+ success: boolean;
603
+ operation: "get_file_info";
604
604
  file?: {
605
605
  name: string;
606
606
  mimeType: string;
@@ -619,15 +619,15 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
619
619
  } | undefined;
620
620
  permissions?: {
621
621
  type: string;
622
- role: string;
623
622
  id: string;
623
+ role: string;
624
624
  displayName?: string | undefined;
625
625
  emailAddress?: string | undefined;
626
626
  }[] | undefined;
627
627
  }, {
628
- operation: "get_file_info";
629
- success: boolean;
630
628
  error: string;
629
+ success: boolean;
630
+ operation: "get_file_info";
631
631
  file?: {
632
632
  name: string;
633
633
  mimeType: string;
@@ -646,8 +646,8 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
646
646
  } | undefined;
647
647
  permissions?: {
648
648
  type: string;
649
- role: string;
650
649
  id: string;
650
+ role: string;
651
651
  displayName?: string | undefined;
652
652
  emailAddress?: string | undefined;
653
653
  }[] | undefined;
@@ -658,15 +658,15 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
658
658
  share_link: z.ZodOptional<z.ZodString>;
659
659
  error: z.ZodString;
660
660
  }, "strip", z.ZodTypeAny, {
661
- operation: "share_file";
662
- success: boolean;
663
661
  error: string;
662
+ success: boolean;
663
+ operation: "share_file";
664
664
  permission_id?: string | undefined;
665
665
  share_link?: string | undefined;
666
666
  }, {
667
- operation: "share_file";
668
- success: boolean;
669
667
  error: string;
668
+ success: boolean;
669
+ operation: "share_file";
670
670
  permission_id?: string | undefined;
671
671
  share_link?: string | undefined;
672
672
  }>, z.ZodObject<{
@@ -726,9 +726,9 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
726
726
  }>>;
727
727
  error: z.ZodString;
728
728
  }, "strip", z.ZodTypeAny, {
729
- operation: "move_file";
730
- success: boolean;
731
729
  error: string;
730
+ success: boolean;
731
+ operation: "move_file";
732
732
  file?: {
733
733
  name: string;
734
734
  mimeType: string;
@@ -746,9 +746,9 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
746
746
  }[] | undefined;
747
747
  } | undefined;
748
748
  }, {
749
- operation: "move_file";
750
- success: boolean;
751
749
  error: string;
750
+ success: boolean;
751
+ operation: "move_file";
752
752
  file?: {
753
753
  name: string;
754
754
  mimeType: string;
@@ -812,9 +812,9 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
812
812
  }>, "many">>;
813
813
  error: z.ZodString;
814
814
  }, "strip", z.ZodTypeAny, {
815
- operation: "get_doc";
816
- success: boolean;
817
815
  error: string;
816
+ success: boolean;
817
+ operation: "get_doc";
818
818
  document?: z.objectOutputType<{
819
819
  documentId: z.ZodString;
820
820
  title: z.ZodString;
@@ -832,9 +832,9 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
832
832
  plainText?: string | undefined;
833
833
  }[] | undefined;
834
834
  }, {
835
- operation: "get_doc";
836
- success: boolean;
837
835
  error: string;
836
+ success: boolean;
837
+ operation: "get_doc";
838
838
  document?: z.objectInputType<{
839
839
  documentId: z.ZodString;
840
840
  title: z.ZodString;
@@ -858,15 +858,15 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
858
858
  revisionId: z.ZodOptional<z.ZodString>;
859
859
  error: z.ZodString;
860
860
  }, "strip", z.ZodTypeAny, {
861
- operation: "update_doc";
862
- success: boolean;
863
861
  error: string;
862
+ success: boolean;
863
+ operation: "update_doc";
864
864
  documentId?: string | undefined;
865
865
  revisionId?: string | undefined;
866
866
  }, {
867
- operation: "update_doc";
868
- success: boolean;
869
867
  error: string;
868
+ success: boolean;
869
+ operation: "update_doc";
870
870
  documentId?: string | undefined;
871
871
  revisionId?: string | undefined;
872
872
  }>, z.ZodObject<{
@@ -875,14 +875,14 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
875
875
  replacements_made: z.ZodOptional<z.ZodNumber>;
876
876
  error: z.ZodString;
877
877
  }, "strip", z.ZodTypeAny, {
878
- operation: "replace_text";
879
- success: boolean;
880
878
  error: string;
879
+ success: boolean;
880
+ operation: "replace_text";
881
881
  replacements_made?: number | undefined;
882
882
  }, {
883
- operation: "replace_text";
884
- success: boolean;
885
883
  error: string;
884
+ success: boolean;
885
+ operation: "replace_text";
886
886
  replacements_made?: number | undefined;
887
887
  }>, z.ZodObject<{
888
888
  operation: z.ZodLiteral<"copy_doc">;
@@ -891,15 +891,15 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
891
891
  new_document_url: z.ZodOptional<z.ZodString>;
892
892
  error: z.ZodString;
893
893
  }, "strip", z.ZodTypeAny, {
894
- operation: "copy_doc";
895
- success: boolean;
896
894
  error: string;
895
+ success: boolean;
896
+ operation: "copy_doc";
897
897
  new_document_id?: string | undefined;
898
898
  new_document_url?: string | undefined;
899
899
  }, {
900
- operation: "copy_doc";
901
- success: boolean;
902
900
  error: string;
901
+ success: boolean;
902
+ operation: "copy_doc";
903
903
  new_document_id?: string | undefined;
904
904
  new_document_url?: string | undefined;
905
905
  }>]>;
@@ -925,21 +925,21 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
925
925
  convert_to_google_docs: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
926
926
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
927
927
  }, "strip", z.ZodTypeAny, {
928
- operation: "upload_file";
929
- name: string;
930
928
  content: string;
929
+ name: string;
930
+ operation: "upload_file";
931
931
  convert_to_google_docs: boolean;
932
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
932
933
  mimeType?: string | undefined;
933
934
  parent_folder_id?: string | undefined;
934
- credentials?: Partial<Record<CredentialType, string>> | undefined;
935
935
  }, {
936
- operation: "upload_file";
937
- name: string;
938
936
  content: string;
937
+ name: string;
938
+ operation: "upload_file";
939
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
939
940
  mimeType?: string | undefined;
940
941
  parent_folder_id?: string | undefined;
941
942
  convert_to_google_docs?: boolean | undefined;
942
- credentials?: Partial<Record<CredentialType, string>> | undefined;
943
943
  }>, z.ZodObject<{
944
944
  operation: z.ZodLiteral<"download_file">;
945
945
  file_id: z.ZodString;
@@ -969,13 +969,13 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
969
969
  include_folders: boolean;
970
970
  order_by: string;
971
971
  credentials?: Partial<Record<CredentialType, string>> | undefined;
972
- folder_id?: string | undefined;
973
972
  query?: string | undefined;
973
+ folder_id?: string | undefined;
974
974
  }, {
975
975
  operation: "list_files";
976
976
  credentials?: Partial<Record<CredentialType, string>> | undefined;
977
- folder_id?: string | undefined;
978
977
  query?: string | undefined;
978
+ folder_id?: string | undefined;
979
979
  max_results?: number | undefined;
980
980
  include_folders?: boolean | undefined;
981
981
  order_by?: string | undefined;
@@ -985,15 +985,15 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
985
985
  parent_folder_id: z.ZodOptional<z.ZodString>;
986
986
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
987
987
  }, "strip", z.ZodTypeAny, {
988
- operation: "create_folder";
989
988
  name: string;
990
- parent_folder_id?: string | undefined;
989
+ operation: "create_folder";
991
990
  credentials?: Partial<Record<CredentialType, string>> | undefined;
991
+ parent_folder_id?: string | undefined;
992
992
  }, {
993
- operation: "create_folder";
994
993
  name: string;
995
- parent_folder_id?: string | undefined;
994
+ operation: "create_folder";
996
995
  credentials?: Partial<Record<CredentialType, string>> | undefined;
996
+ parent_folder_id?: string | undefined;
997
997
  }>, z.ZodObject<{
998
998
  operation: z.ZodLiteral<"delete_file">;
999
999
  file_id: z.ZodString;
@@ -1033,10 +1033,10 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1033
1033
  send_notification: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1034
1034
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
1035
1035
  }, "strip", z.ZodTypeAny, {
1036
- operation: "share_file";
1037
1036
  type: "user" | "group" | "domain" | "anyone";
1037
+ operation: "share_file";
1038
1038
  file_id: string;
1039
- role: "reader" | "writer" | "commenter" | "owner";
1039
+ role: "writer" | "reader" | "commenter" | "owner";
1040
1040
  send_notification: boolean;
1041
1041
  credentials?: Partial<Record<CredentialType, string>> | undefined;
1042
1042
  email_address?: string | undefined;
@@ -1046,7 +1046,7 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1046
1046
  type?: "user" | "group" | "domain" | "anyone" | undefined;
1047
1047
  credentials?: Partial<Record<CredentialType, string>> | undefined;
1048
1048
  email_address?: string | undefined;
1049
- role?: "reader" | "writer" | "commenter" | "owner" | undefined;
1049
+ role?: "writer" | "reader" | "commenter" | "owner" | undefined;
1050
1050
  send_notification?: boolean | undefined;
1051
1051
  }>, z.ZodObject<{
1052
1052
  operation: z.ZodLiteral<"move_file">;
@@ -1092,19 +1092,19 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1092
1092
  tab_id: z.ZodOptional<z.ZodString>;
1093
1093
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
1094
1094
  }, "strip", z.ZodTypeAny, {
1095
- operation: "update_doc";
1096
1095
  content: string;
1097
- document_id: string;
1096
+ operation: "update_doc";
1098
1097
  mode: "replace" | "append";
1098
+ document_id: string;
1099
1099
  credentials?: Partial<Record<CredentialType, string>> | undefined;
1100
1100
  tab_id?: string | undefined;
1101
1101
  }, {
1102
- operation: "update_doc";
1103
1102
  content: string;
1103
+ operation: "update_doc";
1104
1104
  document_id: string;
1105
1105
  credentials?: Partial<Record<CredentialType, string>> | undefined;
1106
- tab_id?: string | undefined;
1107
1106
  mode?: "replace" | "append" | undefined;
1107
+ tab_id?: string | undefined;
1108
1108
  }>, z.ZodObject<{
1109
1109
  operation: z.ZodLiteral<"replace_text">;
1110
1110
  document_id: z.ZodString;
@@ -1153,14 +1153,14 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1153
1153
  operation: "copy_doc";
1154
1154
  document_id: string;
1155
1155
  new_name: string;
1156
- parent_folder_id?: string | undefined;
1157
1156
  credentials?: Partial<Record<CredentialType, string>> | undefined;
1157
+ parent_folder_id?: string | undefined;
1158
1158
  }, {
1159
1159
  operation: "copy_doc";
1160
1160
  document_id: string;
1161
1161
  new_name: string;
1162
- parent_folder_id?: string | undefined;
1163
1162
  credentials?: Partial<Record<CredentialType, string>> | undefined;
1163
+ parent_folder_id?: string | undefined;
1164
1164
  }>]>;
1165
1165
  static readonly resultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
1166
1166
  operation: z.ZodLiteral<"upload_file">;
@@ -1219,9 +1219,9 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1219
1219
  }>>;
1220
1220
  error: z.ZodString;
1221
1221
  }, "strip", z.ZodTypeAny, {
1222
- operation: "upload_file";
1223
- success: boolean;
1224
1222
  error: string;
1223
+ success: boolean;
1224
+ operation: "upload_file";
1225
1225
  file?: {
1226
1226
  name: string;
1227
1227
  mimeType: string;
@@ -1239,9 +1239,9 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1239
1239
  }[] | undefined;
1240
1240
  } | undefined;
1241
1241
  }, {
1242
- operation: "upload_file";
1243
- success: boolean;
1244
1242
  error: string;
1243
+ success: boolean;
1244
+ operation: "upload_file";
1245
1245
  file?: {
1246
1246
  name: string;
1247
1247
  mimeType: string;
@@ -1266,16 +1266,16 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1266
1266
  mimeType: z.ZodOptional<z.ZodString>;
1267
1267
  error: z.ZodString;
1268
1268
  }, "strip", z.ZodTypeAny, {
1269
- operation: "download_file";
1270
- success: boolean;
1271
1269
  error: string;
1270
+ success: boolean;
1271
+ operation: "download_file";
1272
1272
  content?: string | undefined;
1273
1273
  mimeType?: string | undefined;
1274
1274
  filename?: string | undefined;
1275
1275
  }, {
1276
- operation: "download_file";
1277
- success: boolean;
1278
1276
  error: string;
1277
+ success: boolean;
1278
+ operation: "download_file";
1279
1279
  content?: string | undefined;
1280
1280
  mimeType?: string | undefined;
1281
1281
  filename?: string | undefined;
@@ -1338,9 +1338,9 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1338
1338
  next_page_token: z.ZodOptional<z.ZodString>;
1339
1339
  error: z.ZodString;
1340
1340
  }, "strip", z.ZodTypeAny, {
1341
- operation: "list_files";
1342
- success: boolean;
1343
1341
  error: string;
1342
+ success: boolean;
1343
+ operation: "list_files";
1344
1344
  files?: {
1345
1345
  name: string;
1346
1346
  mimeType: string;
@@ -1360,9 +1360,9 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1360
1360
  total_count?: number | undefined;
1361
1361
  next_page_token?: string | undefined;
1362
1362
  }, {
1363
- operation: "list_files";
1364
- success: boolean;
1365
1363
  error: string;
1364
+ success: boolean;
1365
+ operation: "list_files";
1366
1366
  files?: {
1367
1367
  name: string;
1368
1368
  mimeType: string;
@@ -1402,9 +1402,9 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1402
1402
  }>>;
1403
1403
  error: z.ZodString;
1404
1404
  }, "strip", z.ZodTypeAny, {
1405
- operation: "create_folder";
1406
- success: boolean;
1407
1405
  error: string;
1406
+ success: boolean;
1407
+ operation: "create_folder";
1408
1408
  folder?: {
1409
1409
  name: string;
1410
1410
  id: string;
@@ -1412,9 +1412,9 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1412
1412
  parents?: string[] | undefined;
1413
1413
  } | undefined;
1414
1414
  }, {
1415
- operation: "create_folder";
1416
- success: boolean;
1417
1415
  error: string;
1416
+ success: boolean;
1417
+ operation: "create_folder";
1418
1418
  folder?: {
1419
1419
  name: string;
1420
1420
  id: string;
@@ -1427,14 +1427,14 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1427
1427
  deleted_file_id: z.ZodOptional<z.ZodString>;
1428
1428
  error: z.ZodString;
1429
1429
  }, "strip", z.ZodTypeAny, {
1430
- operation: "delete_file";
1431
- success: boolean;
1432
1430
  error: string;
1431
+ success: boolean;
1432
+ operation: "delete_file";
1433
1433
  deleted_file_id?: string | undefined;
1434
1434
  }, {
1435
- operation: "delete_file";
1436
- success: boolean;
1437
1435
  error: string;
1436
+ success: boolean;
1437
+ operation: "delete_file";
1438
1438
  deleted_file_id?: string | undefined;
1439
1439
  }>, z.ZodObject<{
1440
1440
  operation: z.ZodLiteral<"get_file_info">;
@@ -1499,22 +1499,22 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1499
1499
  displayName: z.ZodOptional<z.ZodString>;
1500
1500
  }, "strip", z.ZodTypeAny, {
1501
1501
  type: string;
1502
- role: string;
1503
1502
  id: string;
1503
+ role: string;
1504
1504
  displayName?: string | undefined;
1505
1505
  emailAddress?: string | undefined;
1506
1506
  }, {
1507
1507
  type: string;
1508
- role: string;
1509
1508
  id: string;
1509
+ role: string;
1510
1510
  displayName?: string | undefined;
1511
1511
  emailAddress?: string | undefined;
1512
1512
  }>, "many">>;
1513
1513
  error: z.ZodString;
1514
1514
  }, "strip", z.ZodTypeAny, {
1515
- operation: "get_file_info";
1516
- success: boolean;
1517
1515
  error: string;
1516
+ success: boolean;
1517
+ operation: "get_file_info";
1518
1518
  file?: {
1519
1519
  name: string;
1520
1520
  mimeType: string;
@@ -1533,15 +1533,15 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1533
1533
  } | undefined;
1534
1534
  permissions?: {
1535
1535
  type: string;
1536
- role: string;
1537
1536
  id: string;
1537
+ role: string;
1538
1538
  displayName?: string | undefined;
1539
1539
  emailAddress?: string | undefined;
1540
1540
  }[] | undefined;
1541
1541
  }, {
1542
- operation: "get_file_info";
1543
- success: boolean;
1544
1542
  error: string;
1543
+ success: boolean;
1544
+ operation: "get_file_info";
1545
1545
  file?: {
1546
1546
  name: string;
1547
1547
  mimeType: string;
@@ -1560,8 +1560,8 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1560
1560
  } | undefined;
1561
1561
  permissions?: {
1562
1562
  type: string;
1563
- role: string;
1564
1563
  id: string;
1564
+ role: string;
1565
1565
  displayName?: string | undefined;
1566
1566
  emailAddress?: string | undefined;
1567
1567
  }[] | undefined;
@@ -1572,15 +1572,15 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1572
1572
  share_link: z.ZodOptional<z.ZodString>;
1573
1573
  error: z.ZodString;
1574
1574
  }, "strip", z.ZodTypeAny, {
1575
- operation: "share_file";
1576
- success: boolean;
1577
1575
  error: string;
1576
+ success: boolean;
1577
+ operation: "share_file";
1578
1578
  permission_id?: string | undefined;
1579
1579
  share_link?: string | undefined;
1580
1580
  }, {
1581
- operation: "share_file";
1582
- success: boolean;
1583
1581
  error: string;
1582
+ success: boolean;
1583
+ operation: "share_file";
1584
1584
  permission_id?: string | undefined;
1585
1585
  share_link?: string | undefined;
1586
1586
  }>, z.ZodObject<{
@@ -1640,9 +1640,9 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1640
1640
  }>>;
1641
1641
  error: z.ZodString;
1642
1642
  }, "strip", z.ZodTypeAny, {
1643
- operation: "move_file";
1644
- success: boolean;
1645
1643
  error: string;
1644
+ success: boolean;
1645
+ operation: "move_file";
1646
1646
  file?: {
1647
1647
  name: string;
1648
1648
  mimeType: string;
@@ -1660,9 +1660,9 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1660
1660
  }[] | undefined;
1661
1661
  } | undefined;
1662
1662
  }, {
1663
- operation: "move_file";
1664
- success: boolean;
1665
1663
  error: string;
1664
+ success: boolean;
1665
+ operation: "move_file";
1666
1666
  file?: {
1667
1667
  name: string;
1668
1668
  mimeType: string;
@@ -1726,9 +1726,9 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1726
1726
  }>, "many">>;
1727
1727
  error: z.ZodString;
1728
1728
  }, "strip", z.ZodTypeAny, {
1729
- operation: "get_doc";
1730
- success: boolean;
1731
1729
  error: string;
1730
+ success: boolean;
1731
+ operation: "get_doc";
1732
1732
  document?: z.objectOutputType<{
1733
1733
  documentId: z.ZodString;
1734
1734
  title: z.ZodString;
@@ -1746,9 +1746,9 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1746
1746
  plainText?: string | undefined;
1747
1747
  }[] | undefined;
1748
1748
  }, {
1749
- operation: "get_doc";
1750
- success: boolean;
1751
1749
  error: string;
1750
+ success: boolean;
1751
+ operation: "get_doc";
1752
1752
  document?: z.objectInputType<{
1753
1753
  documentId: z.ZodString;
1754
1754
  title: z.ZodString;
@@ -1772,15 +1772,15 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1772
1772
  revisionId: z.ZodOptional<z.ZodString>;
1773
1773
  error: z.ZodString;
1774
1774
  }, "strip", z.ZodTypeAny, {
1775
- operation: "update_doc";
1776
- success: boolean;
1777
1775
  error: string;
1776
+ success: boolean;
1777
+ operation: "update_doc";
1778
1778
  documentId?: string | undefined;
1779
1779
  revisionId?: string | undefined;
1780
1780
  }, {
1781
- operation: "update_doc";
1782
- success: boolean;
1783
1781
  error: string;
1782
+ success: boolean;
1783
+ operation: "update_doc";
1784
1784
  documentId?: string | undefined;
1785
1785
  revisionId?: string | undefined;
1786
1786
  }>, z.ZodObject<{
@@ -1789,14 +1789,14 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1789
1789
  replacements_made: z.ZodOptional<z.ZodNumber>;
1790
1790
  error: z.ZodString;
1791
1791
  }, "strip", z.ZodTypeAny, {
1792
- operation: "replace_text";
1793
- success: boolean;
1794
1792
  error: string;
1793
+ success: boolean;
1794
+ operation: "replace_text";
1795
1795
  replacements_made?: number | undefined;
1796
1796
  }, {
1797
- operation: "replace_text";
1798
- success: boolean;
1799
1797
  error: string;
1798
+ success: boolean;
1799
+ operation: "replace_text";
1800
1800
  replacements_made?: number | undefined;
1801
1801
  }>, z.ZodObject<{
1802
1802
  operation: z.ZodLiteral<"copy_doc">;
@@ -1805,15 +1805,15 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
1805
1805
  new_document_url: z.ZodOptional<z.ZodString>;
1806
1806
  error: z.ZodString;
1807
1807
  }, "strip", z.ZodTypeAny, {
1808
- operation: "copy_doc";
1809
- success: boolean;
1810
1808
  error: string;
1809
+ success: boolean;
1810
+ operation: "copy_doc";
1811
1811
  new_document_id?: string | undefined;
1812
1812
  new_document_url?: string | undefined;
1813
1813
  }, {
1814
- operation: "copy_doc";
1815
- success: boolean;
1816
1814
  error: string;
1815
+ success: boolean;
1816
+ operation: "copy_doc";
1817
1817
  new_document_id?: string | undefined;
1818
1818
  new_document_url?: string | undefined;
1819
1819
  }>]>;