@bubblelab/bubble-core 0.1.2 → 0.1.5

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 +28 -28
  2. package/dist/bubbles/service-bubble/ai-agent.d.ts +24 -24
  3. package/dist/bubbles/service-bubble/ai-agent.d.ts.map +1 -1
  4. package/dist/bubbles/service-bubble/ai-agent.js +16 -2
  5. package/dist/bubbles/service-bubble/ai-agent.js.map +1 -1
  6. package/dist/bubbles/service-bubble/gmail.d.ts +4 -4
  7. package/dist/bubbles/service-bubble/google-calendar.d.ts +6 -6
  8. package/dist/bubbles/service-bubble/google-drive.d.ts +4 -4
  9. package/dist/bubbles/service-bubble/google-sheets.d.ts +20 -20
  10. package/dist/bubbles/service-bubble/http.d.ts +2 -2
  11. package/dist/bubbles/service-bubble/postgresql.d.ts +4 -4
  12. package/dist/bubbles/service-bubble/slack.d.ts +58 -58
  13. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +4 -4
  14. package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts +4 -4
  15. package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
  16. package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +10 -10
  17. package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +14 -14
  18. package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +8 -8
  19. package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +10 -10
  20. package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.d.ts +8 -8
  21. package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +66 -66
  22. package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +50 -50
  23. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +92 -92
  24. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +36 -36
  25. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +46 -46
  26. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +60 -60
  27. package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +14 -14
  28. package/dist/logging/BubbleLogger.d.ts.map +1 -1
  29. package/dist/logging/BubbleLogger.js +16 -4
  30. package/dist/logging/BubbleLogger.js.map +1 -1
  31. package/dist/types/ai-models.d.ts +1 -1
  32. package/dist/types/ai-models.d.ts.map +1 -1
  33. package/dist/types/ai-models.js +2 -0
  34. package/dist/types/ai-models.js.map +1 -1
  35. package/dist/types/base-bubble-class.d.ts.map +1 -1
  36. package/dist/types/base-bubble-class.js +7 -1
  37. package/dist/types/base-bubble-class.js.map +1 -1
  38. package/package.json +4 -3
  39. package/dist/bubbles/tool-bubble/virtual-file-editor-example.d.ts +0 -8
  40. package/dist/bubbles/tool-bubble/virtual-file-editor-example.d.ts.map +0 -1
  41. package/dist/bubbles/tool-bubble/virtual-file-editor-example.js +0 -65
  42. package/dist/bubbles/tool-bubble/virtual-file-editor-example.js.map +0 -1
  43. package/dist/bubbles/tool-bubble/virtual-file-editor.tool.d.ts +0 -125
  44. package/dist/bubbles/tool-bubble/virtual-file-editor.tool.d.ts.map +0 -1
  45. package/dist/bubbles/tool-bubble/virtual-file-editor.tool.js +0 -169
  46. package/dist/bubbles/tool-bubble/virtual-file-editor.tool.js.map +0 -1
  47. package/dist/bubbles/workflow-bubble/bubblscript-generateor.workflow.d.ts +0 -97
  48. package/dist/bubbles/workflow-bubble/bubblscript-generateor.workflow.d.ts.map +0 -1
  49. package/dist/bubbles/workflow-bubble/bubblscript-generateor.workflow.js +0 -327
  50. package/dist/bubbles/workflow-bubble/bubblscript-generateor.workflow.js.map +0 -1
  51. package/dist/bubbles/workflow-bubble/file-editor-agent.workflow.d.ts +0 -157
  52. package/dist/bubbles/workflow-bubble/file-editor-agent.workflow.d.ts.map +0 -1
  53. package/dist/bubbles/workflow-bubble/file-editor-agent.workflow.js +0 -310
  54. package/dist/bubbles/workflow-bubble/file-editor-agent.workflow.js.map +0 -1
  55. package/dist/bubbles/workflow-bubble/workflow-template.d.ts +0 -144
  56. package/dist/bubbles/workflow-bubble/workflow-template.d.ts.map +0 -1
  57. package/dist/bubbles/workflow-bubble/workflow-template.js +0 -124
  58. package/dist/bubbles/workflow-bubble/workflow-template.js.map +0 -1
  59. package/dist/types/streaming-events.d.ts +0 -18
  60. package/dist/types/streaming-events.d.ts.map +0 -1
  61. package/dist/types/streaming-events.js +0 -5
  62. package/dist/types/streaming-events.js.map +0 -1
  63. package/dist/utils/mock-data-generator.d.ts +0 -43
  64. package/dist/utils/mock-data-generator.d.ts.map +0 -1
  65. package/dist/utils/mock-data-generator.js +0 -312
  66. package/dist/utils/mock-data-generator.js.map +0 -1
@@ -11,17 +11,17 @@ declare const GoogleSheetsParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.
11
11
  date_time_render_option: z.ZodDefault<z.ZodOptional<z.ZodEnum<["SERIAL_NUMBER", "FORMATTED_STRING"]>>>;
12
12
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
13
13
  }, "strip", z.ZodTypeAny, {
14
+ range: string;
14
15
  operation: "read_values";
15
16
  spreadsheet_id: string;
16
- range: string;
17
17
  major_dimension: "ROWS" | "COLUMNS";
18
18
  value_render_option: "FORMATTED_VALUE" | "UNFORMATTED_VALUE" | "FORMULA";
19
19
  date_time_render_option: "SERIAL_NUMBER" | "FORMATTED_STRING";
20
20
  credentials?: Partial<Record<CredentialType, string>> | undefined;
21
21
  }, {
22
+ range: string;
22
23
  operation: "read_values";
23
24
  spreadsheet_id: string;
24
- range: string;
25
25
  credentials?: Partial<Record<CredentialType, string>> | undefined;
26
26
  major_dimension?: "ROWS" | "COLUMNS" | undefined;
27
27
  value_render_option?: "FORMATTED_VALUE" | "UNFORMATTED_VALUE" | "FORMULA" | undefined;
@@ -37,18 +37,18 @@ declare const GoogleSheetsParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.
37
37
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
38
38
  }, "strip", z.ZodTypeAny, {
39
39
  values: (string | number | boolean)[][];
40
+ range: string;
40
41
  operation: "write_values";
41
42
  spreadsheet_id: string;
42
- range: string;
43
43
  major_dimension: "ROWS" | "COLUMNS";
44
44
  value_input_option: "RAW" | "USER_ENTERED";
45
45
  include_values_in_response: boolean;
46
46
  credentials?: Partial<Record<CredentialType, string>> | undefined;
47
47
  }, {
48
48
  values: (string | number | boolean)[][];
49
+ range: string;
49
50
  operation: "write_values";
50
51
  spreadsheet_id: string;
51
- range: string;
52
52
  credentials?: Partial<Record<CredentialType, string>> | undefined;
53
53
  major_dimension?: "ROWS" | "COLUMNS" | undefined;
54
54
  value_input_option?: "RAW" | "USER_ENTERED" | undefined;
@@ -64,18 +64,18 @@ declare const GoogleSheetsParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.
64
64
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
65
65
  }, "strip", z.ZodTypeAny, {
66
66
  values: (string | number | boolean)[][];
67
+ range: string;
67
68
  operation: "update_values";
68
69
  spreadsheet_id: string;
69
- range: string;
70
70
  major_dimension: "ROWS" | "COLUMNS";
71
71
  value_input_option: "RAW" | "USER_ENTERED";
72
72
  include_values_in_response: boolean;
73
73
  credentials?: Partial<Record<CredentialType, string>> | undefined;
74
74
  }, {
75
75
  values: (string | number | boolean)[][];
76
+ range: string;
76
77
  operation: "update_values";
77
78
  spreadsheet_id: string;
78
- range: string;
79
79
  credentials?: Partial<Record<CredentialType, string>> | undefined;
80
80
  major_dimension?: "ROWS" | "COLUMNS" | undefined;
81
81
  value_input_option?: "RAW" | "USER_ENTERED" | undefined;
@@ -92,9 +92,9 @@ declare const GoogleSheetsParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.
92
92
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
93
93
  }, "strip", z.ZodTypeAny, {
94
94
  values: (string | number | boolean)[][];
95
+ range: string;
95
96
  operation: "append_values";
96
97
  spreadsheet_id: string;
97
- range: string;
98
98
  major_dimension: "ROWS" | "COLUMNS";
99
99
  value_input_option: "RAW" | "USER_ENTERED";
100
100
  include_values_in_response: boolean;
@@ -102,9 +102,9 @@ declare const GoogleSheetsParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.
102
102
  credentials?: Partial<Record<CredentialType, string>> | undefined;
103
103
  }, {
104
104
  values: (string | number | boolean)[][];
105
+ range: string;
105
106
  operation: "append_values";
106
107
  spreadsheet_id: string;
107
- range: string;
108
108
  credentials?: Partial<Record<CredentialType, string>> | undefined;
109
109
  major_dimension?: "ROWS" | "COLUMNS" | undefined;
110
110
  value_input_option?: "RAW" | "USER_ENTERED" | undefined;
@@ -116,14 +116,14 @@ declare const GoogleSheetsParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.
116
116
  range: z.ZodString;
117
117
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
118
118
  }, "strip", z.ZodTypeAny, {
119
+ range: string;
119
120
  operation: "clear_values";
120
121
  spreadsheet_id: string;
121
- range: string;
122
122
  credentials?: Partial<Record<CredentialType, string>> | undefined;
123
123
  }, {
124
+ range: string;
124
125
  operation: "clear_values";
125
126
  spreadsheet_id: string;
126
- range: string;
127
127
  credentials?: Partial<Record<CredentialType, string>> | undefined;
128
128
  }>, z.ZodObject<{
129
129
  operation: z.ZodLiteral<"batch_read_values">;
@@ -909,17 +909,17 @@ export declare class GoogleSheetsBubble<T extends GoogleSheetsParams = GoogleShe
909
909
  date_time_render_option: z.ZodDefault<z.ZodOptional<z.ZodEnum<["SERIAL_NUMBER", "FORMATTED_STRING"]>>>;
910
910
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
911
911
  }, "strip", z.ZodTypeAny, {
912
+ range: string;
912
913
  operation: "read_values";
913
914
  spreadsheet_id: string;
914
- range: string;
915
915
  major_dimension: "ROWS" | "COLUMNS";
916
916
  value_render_option: "FORMATTED_VALUE" | "UNFORMATTED_VALUE" | "FORMULA";
917
917
  date_time_render_option: "SERIAL_NUMBER" | "FORMATTED_STRING";
918
918
  credentials?: Partial<Record<CredentialType, string>> | undefined;
919
919
  }, {
920
+ range: string;
920
921
  operation: "read_values";
921
922
  spreadsheet_id: string;
922
- range: string;
923
923
  credentials?: Partial<Record<CredentialType, string>> | undefined;
924
924
  major_dimension?: "ROWS" | "COLUMNS" | undefined;
925
925
  value_render_option?: "FORMATTED_VALUE" | "UNFORMATTED_VALUE" | "FORMULA" | undefined;
@@ -935,18 +935,18 @@ export declare class GoogleSheetsBubble<T extends GoogleSheetsParams = GoogleShe
935
935
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
936
936
  }, "strip", z.ZodTypeAny, {
937
937
  values: (string | number | boolean)[][];
938
+ range: string;
938
939
  operation: "write_values";
939
940
  spreadsheet_id: string;
940
- range: string;
941
941
  major_dimension: "ROWS" | "COLUMNS";
942
942
  value_input_option: "RAW" | "USER_ENTERED";
943
943
  include_values_in_response: boolean;
944
944
  credentials?: Partial<Record<CredentialType, string>> | undefined;
945
945
  }, {
946
946
  values: (string | number | boolean)[][];
947
+ range: string;
947
948
  operation: "write_values";
948
949
  spreadsheet_id: string;
949
- range: string;
950
950
  credentials?: Partial<Record<CredentialType, string>> | undefined;
951
951
  major_dimension?: "ROWS" | "COLUMNS" | undefined;
952
952
  value_input_option?: "RAW" | "USER_ENTERED" | undefined;
@@ -962,18 +962,18 @@ export declare class GoogleSheetsBubble<T extends GoogleSheetsParams = GoogleShe
962
962
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
963
963
  }, "strip", z.ZodTypeAny, {
964
964
  values: (string | number | boolean)[][];
965
+ range: string;
965
966
  operation: "update_values";
966
967
  spreadsheet_id: string;
967
- range: string;
968
968
  major_dimension: "ROWS" | "COLUMNS";
969
969
  value_input_option: "RAW" | "USER_ENTERED";
970
970
  include_values_in_response: boolean;
971
971
  credentials?: Partial<Record<CredentialType, string>> | undefined;
972
972
  }, {
973
973
  values: (string | number | boolean)[][];
974
+ range: string;
974
975
  operation: "update_values";
975
976
  spreadsheet_id: string;
976
- range: string;
977
977
  credentials?: Partial<Record<CredentialType, string>> | undefined;
978
978
  major_dimension?: "ROWS" | "COLUMNS" | undefined;
979
979
  value_input_option?: "RAW" | "USER_ENTERED" | undefined;
@@ -990,9 +990,9 @@ export declare class GoogleSheetsBubble<T extends GoogleSheetsParams = GoogleShe
990
990
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
991
991
  }, "strip", z.ZodTypeAny, {
992
992
  values: (string | number | boolean)[][];
993
+ range: string;
993
994
  operation: "append_values";
994
995
  spreadsheet_id: string;
995
- range: string;
996
996
  major_dimension: "ROWS" | "COLUMNS";
997
997
  value_input_option: "RAW" | "USER_ENTERED";
998
998
  include_values_in_response: boolean;
@@ -1000,9 +1000,9 @@ export declare class GoogleSheetsBubble<T extends GoogleSheetsParams = GoogleShe
1000
1000
  credentials?: Partial<Record<CredentialType, string>> | undefined;
1001
1001
  }, {
1002
1002
  values: (string | number | boolean)[][];
1003
+ range: string;
1003
1004
  operation: "append_values";
1004
1005
  spreadsheet_id: string;
1005
- range: string;
1006
1006
  credentials?: Partial<Record<CredentialType, string>> | undefined;
1007
1007
  major_dimension?: "ROWS" | "COLUMNS" | undefined;
1008
1008
  value_input_option?: "RAW" | "USER_ENTERED" | undefined;
@@ -1014,14 +1014,14 @@ export declare class GoogleSheetsBubble<T extends GoogleSheetsParams = GoogleShe
1014
1014
  range: z.ZodString;
1015
1015
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
1016
1016
  }, "strip", z.ZodTypeAny, {
1017
+ range: string;
1017
1018
  operation: "clear_values";
1018
1019
  spreadsheet_id: string;
1019
- range: string;
1020
1020
  credentials?: Partial<Record<CredentialType, string>> | undefined;
1021
1021
  }, {
1022
+ range: string;
1022
1023
  operation: "clear_values";
1023
1024
  spreadsheet_id: string;
1024
- range: string;
1025
1025
  credentials?: Partial<Record<CredentialType, string>> | undefined;
1026
1026
  }>, z.ZodObject<{
1027
1027
  operation: z.ZodLiteral<"batch_read_values">;
@@ -22,8 +22,8 @@ declare const HttpParamsSchema: z.ZodObject<{
22
22
  url: string;
23
23
  credentials?: Partial<Record<CredentialType, string>> | undefined;
24
24
  timeout?: number | undefined;
25
- method?: "DELETE" | "GET" | "POST" | "PUT" | "PATCH" | "HEAD" | "OPTIONS" | undefined;
26
25
  body?: string | Record<string, unknown> | undefined;
26
+ method?: "DELETE" | "GET" | "POST" | "PUT" | "PATCH" | "HEAD" | "OPTIONS" | undefined;
27
27
  headers?: Record<string, string> | undefined;
28
28
  followRedirects?: boolean | undefined;
29
29
  }>;
@@ -86,8 +86,8 @@ export declare class HttpBubble extends ServiceBubble<HttpParams, HttpResult> {
86
86
  url: string;
87
87
  credentials?: Partial<Record<CredentialType, string>> | undefined;
88
88
  timeout?: number | undefined;
89
- method?: "DELETE" | "GET" | "POST" | "PUT" | "PATCH" | "HEAD" | "OPTIONS" | undefined;
90
89
  body?: string | Record<string, unknown> | undefined;
90
+ method?: "DELETE" | "GET" | "POST" | "PUT" | "PATCH" | "HEAD" | "OPTIONS" | undefined;
91
91
  headers?: Record<string, string> | undefined;
92
92
  followRedirects?: boolean | undefined;
93
93
  }>;
@@ -12,8 +12,8 @@ declare const PostgreSQLParamsSchema: z.ZodObject<{
12
12
  maxRows: z.ZodDefault<z.ZodNumber>;
13
13
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
14
14
  }, "strip", z.ZodTypeAny, {
15
- timeout: number;
16
15
  parameters: unknown[];
16
+ timeout: number;
17
17
  ignoreSSL: boolean;
18
18
  query: string;
19
19
  allowedOperations: ("SELECT" | "INSERT" | "UPDATE" | "DELETE" | "WITH" | "EXPLAIN" | "ANALYZE" | "SHOW" | "DESCRIBE" | "DESC" | "CREATE")[];
@@ -21,9 +21,9 @@ declare const PostgreSQLParamsSchema: z.ZodObject<{
21
21
  credentials?: Partial<Record<CredentialType, string>> | undefined;
22
22
  }, {
23
23
  query: string;
24
+ parameters?: unknown[] | undefined;
24
25
  credentials?: Partial<Record<CredentialType, string>> | undefined;
25
26
  timeout?: number | undefined;
26
- parameters?: unknown[] | undefined;
27
27
  ignoreSSL?: boolean | undefined;
28
28
  allowedOperations?: ("SELECT" | "INSERT" | "UPDATE" | "DELETE" | "WITH" | "EXPLAIN" | "ANALYZE" | "SHOW" | "DESCRIBE" | "DESC" | "CREATE")[] | undefined;
29
29
  maxRows?: number | undefined;
@@ -89,8 +89,8 @@ export declare class PostgreSQLBubble extends ServiceBubble<PostgreSQLParams, Po
89
89
  maxRows: z.ZodDefault<z.ZodNumber>;
90
90
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
91
91
  }, "strip", z.ZodTypeAny, {
92
- timeout: number;
93
92
  parameters: unknown[];
93
+ timeout: number;
94
94
  ignoreSSL: boolean;
95
95
  query: string;
96
96
  allowedOperations: ("SELECT" | "INSERT" | "UPDATE" | "DELETE" | "WITH" | "EXPLAIN" | "ANALYZE" | "SHOW" | "DESCRIBE" | "DESC" | "CREATE")[];
@@ -98,9 +98,9 @@ export declare class PostgreSQLBubble extends ServiceBubble<PostgreSQLParams, Po
98
98
  credentials?: Partial<Record<CredentialType, string>> | undefined;
99
99
  }, {
100
100
  query: string;
101
+ parameters?: unknown[] | undefined;
101
102
  credentials?: Partial<Record<CredentialType, string>> | undefined;
102
103
  timeout?: number | undefined;
103
- parameters?: unknown[] | undefined;
104
104
  ignoreSSL?: boolean | undefined;
105
105
  allowedOperations?: ("SELECT" | "INSERT" | "UPDATE" | "DELETE" | "WITH" | "EXPLAIN" | "ANALYZE" | "SHOW" | "DESCRIBE" | "DESC" | "CREATE")[] | undefined;
106
106
  maxRows?: number | undefined;