@bubblelab/bubble-core 0.1.6 → 0.1.9
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.
- package/dist/bubble-bundle.d.ts +628 -299
- package/dist/bubble-factory.d.ts.map +1 -1
- package/dist/bubble-factory.js +13 -9
- package/dist/bubble-factory.js.map +1 -1
- package/dist/bubbles/service-bubble/ai-agent.d.ts +129 -111
- package/dist/bubbles/service-bubble/ai-agent.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/ai-agent.js +273 -95
- package/dist/bubbles/service-bubble/ai-agent.js.map +1 -1
- package/dist/bubbles/service-bubble/apify/actors/instagram-hashtag-scraper.d.ts +805 -0
- package/dist/bubbles/service-bubble/apify/actors/instagram-hashtag-scraper.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/apify/actors/instagram-hashtag-scraper.js +131 -0
- package/dist/bubbles/service-bubble/apify/actors/instagram-hashtag-scraper.js.map +1 -0
- package/dist/bubbles/service-bubble/apify/actors/instagram-scraper.d.ts +485 -0
- package/dist/bubbles/service-bubble/apify/actors/instagram-scraper.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/apify/actors/instagram-scraper.js +176 -0
- package/dist/bubbles/service-bubble/apify/actors/instagram-scraper.js.map +1 -0
- package/dist/bubbles/service-bubble/apify/actors/linkedin-posts-search.d.ts +302 -0
- package/dist/bubbles/service-bubble/apify/actors/linkedin-posts-search.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/apify/actors/linkedin-posts-search.js +138 -0
- package/dist/bubbles/service-bubble/apify/actors/linkedin-posts-search.js.map +1 -0
- package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-posts.d.ts +642 -0
- package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-posts.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-posts.js +123 -0
- package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-posts.js.map +1 -0
- package/dist/bubbles/service-bubble/apify/api-scraper.schema.d.ts +370 -0
- package/dist/bubbles/service-bubble/apify/api-scraper.schema.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/apify/api-scraper.schema.js +14 -0
- package/dist/bubbles/service-bubble/apify/api-scraper.schema.js.map +1 -0
- package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts +1770 -0
- package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/apify/apify-scraper.schema.js +38 -0
- package/dist/bubbles/service-bubble/apify/apify-scraper.schema.js.map +1 -0
- package/dist/bubbles/service-bubble/apify/apify.d.ts +143 -0
- package/dist/bubbles/service-bubble/apify/apify.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/apify/apify.js +276 -0
- package/dist/bubbles/service-bubble/apify/apify.js.map +1 -0
- package/dist/bubbles/service-bubble/apify/index.d.ts +4 -0
- package/dist/bubbles/service-bubble/apify/index.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/apify/index.js +3 -0
- package/dist/bubbles/service-bubble/apify/index.js.map +1 -0
- package/dist/bubbles/service-bubble/apify/types.d.ts +7 -0
- package/dist/bubbles/service-bubble/apify/types.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/apify/types.js +6 -0
- package/dist/bubbles/service-bubble/apify/types.js.map +1 -0
- package/dist/bubbles/service-bubble/apify.d.ts +136 -0
- package/dist/bubbles/service-bubble/apify.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/apify.js +282 -0
- package/dist/bubbles/service-bubble/apify.js.map +1 -0
- package/dist/bubbles/service-bubble/gmail.d.ts +376 -376
- package/dist/bubbles/service-bubble/google-calendar.d.ts +24 -24
- package/dist/bubbles/service-bubble/google-drive.d.ts +68 -68
- package/dist/bubbles/service-bubble/google-sheets.d.ts +64 -64
- package/dist/bubbles/service-bubble/hello-world.d.ts +4 -4
- package/dist/bubbles/service-bubble/http.d.ts +16 -16
- package/dist/bubbles/service-bubble/postgresql.d.ts +12 -12
- package/dist/bubbles/service-bubble/resend.d.ts +17 -17
- package/dist/bubbles/service-bubble/resend.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/resend.js +16 -5
- package/dist/bubbles/service-bubble/resend.js.map +1 -1
- package/dist/bubbles/service-bubble/slack.d.ts +470 -470
- package/dist/bubbles/service-bubble/storage.d.ts +32 -32
- package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +12 -12
- package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts +18 -5
- package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts.map +1 -1
- package/dist/bubbles/tool-bubble/get-bubble-details-tool.js +85 -39
- package/dist/bubbles/tool-bubble/get-bubble-details-tool.js.map +1 -1
- package/dist/bubbles/tool-bubble/instagram-tool.d.ts +435 -0
- package/dist/bubbles/tool-bubble/instagram-tool.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/instagram-tool.js +474 -0
- package/dist/bubbles/tool-bubble/instagram-tool.js.map +1 -0
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +2136 -0
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/linkedin-tool.js +608 -0
- package/dist/bubbles/tool-bubble/linkedin-tool.js.map +1 -0
- package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +14 -14
- package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +14 -14
- package/dist/bubbles/tool-bubble/research-agent-tool.js +1 -1
- package/dist/bubbles/tool-bubble/research-agent-tool.js.map +1 -1
- package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/tool-template.d.ts +4 -4
- package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/web-scrape-tool.js +1 -1
- package/dist/bubbles/tool-bubble/web-scrape-tool.js.map +1 -1
- package/dist/bubbles/tool-bubble/web-search-tool.d.ts +10 -10
- package/dist/bubbles/tool-bubble/web-search-tool.js +1 -1
- package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.d.ts +8 -8
- package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.d.ts.map +1 -1
- package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.js +5 -0
- package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.js.map +1 -1
- package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
- package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +14 -14
- package/dist/bubbles/workflow-bubble/generate-document.workflow.js +1 -1
- package/dist/bubbles/workflow-bubble/generate-document.workflow.js.map +1 -1
- package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +14 -14
- package/dist/bubbles/workflow-bubble/parse-document.workflow.js +1 -1
- package/dist/bubbles/workflow-bubble/parse-document.workflow.js.map +1 -1
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +106 -106
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts.map +1 -1
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.js +1 -4
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.js.map +1 -1
- package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +28 -28
- package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.js +1 -1
- package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.js.map +1 -1
- package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +12 -12
- package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.js +1 -1
- package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.js.map +1 -1
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +32 -32
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.js +1 -1
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.js.map +1 -1
- package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +14 -14
- package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts.map +1 -1
- package/dist/bubbles/workflow-bubble/slack-notifier.workflow.js +1 -2
- package/dist/bubbles/workflow-bubble/slack-notifier.workflow.js.map +1 -1
- package/dist/bubbles.json +474 -0
- package/dist/index.d.ts +12 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/dist/logging/BubbleLogger.d.ts +11 -0
- package/dist/logging/BubbleLogger.d.ts.map +1 -1
- package/dist/logging/BubbleLogger.js +69 -22
- package/dist/logging/BubbleLogger.js.map +1 -1
- package/dist/logging/StreamingBubbleLogger.d.ts.map +1 -1
- package/dist/logging/StreamingBubbleLogger.js +18 -11
- package/dist/logging/StreamingBubbleLogger.js.map +1 -1
- package/dist/types/ai-models.d.ts +1 -1
- package/dist/types/ai-models.d.ts.map +1 -1
- package/dist/types/ai-models.js +4 -0
- package/dist/types/ai-models.js.map +1 -1
- package/dist/types/api-scraper.schema.d.ts +453 -0
- package/dist/types/api-scraper.schema.d.ts.map +1 -0
- package/dist/types/api-scraper.schema.js +160 -0
- package/dist/types/api-scraper.schema.js.map +1 -0
- package/dist/types/available-tools.d.ts +1 -1
- package/dist/types/available-tools.d.ts.map +1 -1
- package/dist/types/available-tools.js +2 -0
- package/dist/types/available-tools.js.map +1 -1
- package/dist/types/base-bubble-class.d.ts +5 -0
- package/dist/types/base-bubble-class.d.ts.map +1 -1
- package/dist/types/base-bubble-class.js +18 -3
- package/dist/types/base-bubble-class.js.map +1 -1
- package/dist/types/bubble.d.ts +2 -3
- package/dist/types/bubble.d.ts.map +1 -1
- package/dist/types/service-bubble-class.d.ts +4 -4
- package/dist/types/service-bubble-class.d.ts.map +1 -1
- package/dist/types/service-bubble-class.js +6 -7
- package/dist/types/service-bubble-class.js.map +1 -1
- package/dist/types/tool-bubble-class.d.ts.map +1 -1
- package/dist/types/tool-bubble-class.js +9 -1
- package/dist/types/tool-bubble-class.js.map +1 -1
- package/dist/utils/agent-formatter.d.ts +17 -0
- package/dist/utils/agent-formatter.d.ts.map +1 -0
- package/dist/utils/agent-formatter.js +139 -0
- package/dist/utils/agent-formatter.js.map +1 -0
- package/dist/utils/json-parsing.d.ts +1 -0
- package/dist/utils/json-parsing.d.ts.map +1 -1
- package/dist/utils/json-parsing.js +205 -32
- package/dist/utils/json-parsing.js.map +1 -1
- package/package.json +4 -3
|
@@ -15,15 +15,15 @@ declare const GoogleDriveParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
15
15
|
content: string;
|
|
16
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
22
|
name: string;
|
|
23
23
|
content: string;
|
|
24
24
|
operation: "upload_file";
|
|
25
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
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<{
|
|
@@ -122,7 +122,7 @@ declare const GoogleDriveParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
122
122
|
type: "user" | "group" | "domain" | "anyone";
|
|
123
123
|
operation: "share_file";
|
|
124
124
|
file_id: string;
|
|
125
|
-
role: "
|
|
125
|
+
role: "reader" | "writer" | "commenter" | "owner";
|
|
126
126
|
send_notification: boolean;
|
|
127
127
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
128
128
|
email_address?: string | undefined;
|
|
@@ -132,7 +132,7 @@ declare const GoogleDriveParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
132
132
|
type?: "user" | "group" | "domain" | "anyone" | undefined;
|
|
133
133
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
134
134
|
email_address?: string | undefined;
|
|
135
|
-
role?: "
|
|
135
|
+
role?: "reader" | "writer" | "commenter" | "owner" | undefined;
|
|
136
136
|
send_notification?: boolean | undefined;
|
|
137
137
|
}>]>;
|
|
138
138
|
declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
|
|
@@ -160,8 +160,8 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
160
160
|
emailAddress?: string | undefined;
|
|
161
161
|
}>, "many">>;
|
|
162
162
|
}, "strip", z.ZodTypeAny, {
|
|
163
|
-
name: string;
|
|
164
163
|
mimeType: string;
|
|
164
|
+
name: string;
|
|
165
165
|
id: string;
|
|
166
166
|
size?: string | undefined;
|
|
167
167
|
createdTime?: string | undefined;
|
|
@@ -175,8 +175,8 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
175
175
|
emailAddress?: string | undefined;
|
|
176
176
|
}[] | undefined;
|
|
177
177
|
}, {
|
|
178
|
-
name: string;
|
|
179
178
|
mimeType: string;
|
|
179
|
+
name: string;
|
|
180
180
|
id: string;
|
|
181
181
|
size?: string | undefined;
|
|
182
182
|
createdTime?: string | undefined;
|
|
@@ -192,12 +192,12 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
192
192
|
}>>;
|
|
193
193
|
error: z.ZodString;
|
|
194
194
|
}, "strip", z.ZodTypeAny, {
|
|
195
|
-
success: boolean;
|
|
196
195
|
error: string;
|
|
196
|
+
success: boolean;
|
|
197
197
|
operation: "upload_file";
|
|
198
198
|
file?: {
|
|
199
|
-
name: string;
|
|
200
199
|
mimeType: string;
|
|
200
|
+
name: string;
|
|
201
201
|
id: string;
|
|
202
202
|
size?: string | undefined;
|
|
203
203
|
createdTime?: string | undefined;
|
|
@@ -212,12 +212,12 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
212
212
|
}[] | undefined;
|
|
213
213
|
} | undefined;
|
|
214
214
|
}, {
|
|
215
|
-
success: boolean;
|
|
216
215
|
error: string;
|
|
216
|
+
success: boolean;
|
|
217
217
|
operation: "upload_file";
|
|
218
218
|
file?: {
|
|
219
|
-
name: string;
|
|
220
219
|
mimeType: string;
|
|
220
|
+
name: string;
|
|
221
221
|
id: string;
|
|
222
222
|
size?: string | undefined;
|
|
223
223
|
createdTime?: string | undefined;
|
|
@@ -239,18 +239,18 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
239
239
|
mimeType: z.ZodOptional<z.ZodString>;
|
|
240
240
|
error: z.ZodString;
|
|
241
241
|
}, "strip", z.ZodTypeAny, {
|
|
242
|
-
success: boolean;
|
|
243
242
|
error: string;
|
|
243
|
+
success: boolean;
|
|
244
244
|
operation: "download_file";
|
|
245
|
-
content?: string | undefined;
|
|
246
245
|
mimeType?: string | undefined;
|
|
246
|
+
content?: string | undefined;
|
|
247
247
|
filename?: string | undefined;
|
|
248
248
|
}, {
|
|
249
|
-
success: boolean;
|
|
250
249
|
error: string;
|
|
250
|
+
success: boolean;
|
|
251
251
|
operation: "download_file";
|
|
252
|
-
content?: string | undefined;
|
|
253
252
|
mimeType?: string | undefined;
|
|
253
|
+
content?: string | undefined;
|
|
254
254
|
filename?: string | undefined;
|
|
255
255
|
}>, z.ZodObject<{
|
|
256
256
|
operation: z.ZodLiteral<"list_files">;
|
|
@@ -277,8 +277,8 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
277
277
|
emailAddress?: string | undefined;
|
|
278
278
|
}>, "many">>;
|
|
279
279
|
}, "strip", z.ZodTypeAny, {
|
|
280
|
-
name: string;
|
|
281
280
|
mimeType: string;
|
|
281
|
+
name: string;
|
|
282
282
|
id: string;
|
|
283
283
|
size?: string | undefined;
|
|
284
284
|
createdTime?: string | undefined;
|
|
@@ -292,8 +292,8 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
292
292
|
emailAddress?: string | undefined;
|
|
293
293
|
}[] | undefined;
|
|
294
294
|
}, {
|
|
295
|
-
name: string;
|
|
296
295
|
mimeType: string;
|
|
296
|
+
name: string;
|
|
297
297
|
id: string;
|
|
298
298
|
size?: string | undefined;
|
|
299
299
|
createdTime?: string | undefined;
|
|
@@ -311,12 +311,13 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
311
311
|
next_page_token: z.ZodOptional<z.ZodString>;
|
|
312
312
|
error: z.ZodString;
|
|
313
313
|
}, "strip", z.ZodTypeAny, {
|
|
314
|
-
success: boolean;
|
|
315
314
|
error: string;
|
|
315
|
+
success: boolean;
|
|
316
316
|
operation: "list_files";
|
|
317
|
+
total_count?: number | undefined;
|
|
317
318
|
files?: {
|
|
318
|
-
name: string;
|
|
319
319
|
mimeType: string;
|
|
320
|
+
name: string;
|
|
320
321
|
id: string;
|
|
321
322
|
size?: string | undefined;
|
|
322
323
|
createdTime?: string | undefined;
|
|
@@ -330,15 +331,15 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
330
331
|
emailAddress?: string | undefined;
|
|
331
332
|
}[] | undefined;
|
|
332
333
|
}[] | undefined;
|
|
333
|
-
total_count?: number | undefined;
|
|
334
334
|
next_page_token?: string | undefined;
|
|
335
335
|
}, {
|
|
336
|
-
success: boolean;
|
|
337
336
|
error: string;
|
|
337
|
+
success: boolean;
|
|
338
338
|
operation: "list_files";
|
|
339
|
+
total_count?: number | undefined;
|
|
339
340
|
files?: {
|
|
340
|
-
name: string;
|
|
341
341
|
mimeType: string;
|
|
342
|
+
name: string;
|
|
342
343
|
id: string;
|
|
343
344
|
size?: string | undefined;
|
|
344
345
|
createdTime?: string | undefined;
|
|
@@ -352,7 +353,6 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
352
353
|
emailAddress?: string | undefined;
|
|
353
354
|
}[] | undefined;
|
|
354
355
|
}[] | undefined;
|
|
355
|
-
total_count?: number | undefined;
|
|
356
356
|
next_page_token?: string | undefined;
|
|
357
357
|
}>, z.ZodObject<{
|
|
358
358
|
operation: z.ZodLiteral<"create_folder">;
|
|
@@ -375,8 +375,8 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
375
375
|
}>>;
|
|
376
376
|
error: z.ZodString;
|
|
377
377
|
}, "strip", z.ZodTypeAny, {
|
|
378
|
-
success: boolean;
|
|
379
378
|
error: string;
|
|
379
|
+
success: boolean;
|
|
380
380
|
operation: "create_folder";
|
|
381
381
|
folder?: {
|
|
382
382
|
name: string;
|
|
@@ -385,8 +385,8 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
385
385
|
parents?: string[] | undefined;
|
|
386
386
|
} | undefined;
|
|
387
387
|
}, {
|
|
388
|
-
success: boolean;
|
|
389
388
|
error: string;
|
|
389
|
+
success: boolean;
|
|
390
390
|
operation: "create_folder";
|
|
391
391
|
folder?: {
|
|
392
392
|
name: string;
|
|
@@ -400,13 +400,13 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
400
400
|
deleted_file_id: z.ZodOptional<z.ZodString>;
|
|
401
401
|
error: z.ZodString;
|
|
402
402
|
}, "strip", z.ZodTypeAny, {
|
|
403
|
-
success: boolean;
|
|
404
403
|
error: string;
|
|
404
|
+
success: boolean;
|
|
405
405
|
operation: "delete_file";
|
|
406
406
|
deleted_file_id?: string | undefined;
|
|
407
407
|
}, {
|
|
408
|
-
success: boolean;
|
|
409
408
|
error: string;
|
|
409
|
+
success: boolean;
|
|
410
410
|
operation: "delete_file";
|
|
411
411
|
deleted_file_id?: string | undefined;
|
|
412
412
|
}>, z.ZodObject<{
|
|
@@ -434,8 +434,8 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
434
434
|
emailAddress?: string | undefined;
|
|
435
435
|
}>, "many">>;
|
|
436
436
|
}, "strip", z.ZodTypeAny, {
|
|
437
|
-
name: string;
|
|
438
437
|
mimeType: string;
|
|
438
|
+
name: string;
|
|
439
439
|
id: string;
|
|
440
440
|
size?: string | undefined;
|
|
441
441
|
createdTime?: string | undefined;
|
|
@@ -449,8 +449,8 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
449
449
|
emailAddress?: string | undefined;
|
|
450
450
|
}[] | undefined;
|
|
451
451
|
}, {
|
|
452
|
-
name: string;
|
|
453
452
|
mimeType: string;
|
|
453
|
+
name: string;
|
|
454
454
|
id: string;
|
|
455
455
|
size?: string | undefined;
|
|
456
456
|
createdTime?: string | undefined;
|
|
@@ -485,12 +485,12 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
485
485
|
}>, "many">>;
|
|
486
486
|
error: z.ZodString;
|
|
487
487
|
}, "strip", z.ZodTypeAny, {
|
|
488
|
-
success: boolean;
|
|
489
488
|
error: string;
|
|
489
|
+
success: boolean;
|
|
490
490
|
operation: "get_file_info";
|
|
491
491
|
file?: {
|
|
492
|
-
name: string;
|
|
493
492
|
mimeType: string;
|
|
493
|
+
name: string;
|
|
494
494
|
id: string;
|
|
495
495
|
size?: string | undefined;
|
|
496
496
|
createdTime?: string | undefined;
|
|
@@ -512,12 +512,12 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
512
512
|
emailAddress?: string | undefined;
|
|
513
513
|
}[] | undefined;
|
|
514
514
|
}, {
|
|
515
|
-
success: boolean;
|
|
516
515
|
error: string;
|
|
516
|
+
success: boolean;
|
|
517
517
|
operation: "get_file_info";
|
|
518
518
|
file?: {
|
|
519
|
-
name: string;
|
|
520
519
|
mimeType: string;
|
|
520
|
+
name: string;
|
|
521
521
|
id: string;
|
|
522
522
|
size?: string | undefined;
|
|
523
523
|
createdTime?: string | undefined;
|
|
@@ -545,14 +545,14 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
545
545
|
share_link: z.ZodOptional<z.ZodString>;
|
|
546
546
|
error: z.ZodString;
|
|
547
547
|
}, "strip", z.ZodTypeAny, {
|
|
548
|
-
success: boolean;
|
|
549
548
|
error: string;
|
|
549
|
+
success: boolean;
|
|
550
550
|
operation: "share_file";
|
|
551
551
|
permission_id?: string | undefined;
|
|
552
552
|
share_link?: string | undefined;
|
|
553
553
|
}, {
|
|
554
|
-
success: boolean;
|
|
555
554
|
error: string;
|
|
555
|
+
success: boolean;
|
|
556
556
|
operation: "share_file";
|
|
557
557
|
permission_id?: string | undefined;
|
|
558
558
|
share_link?: string | undefined;
|
|
@@ -583,15 +583,15 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
583
583
|
content: string;
|
|
584
584
|
operation: "upload_file";
|
|
585
585
|
convert_to_google_docs: boolean;
|
|
586
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
587
586
|
mimeType?: string | undefined;
|
|
587
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
588
588
|
parent_folder_id?: string | undefined;
|
|
589
589
|
}, {
|
|
590
590
|
name: string;
|
|
591
591
|
content: string;
|
|
592
592
|
operation: "upload_file";
|
|
593
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
594
593
|
mimeType?: string | undefined;
|
|
594
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
595
595
|
parent_folder_id?: string | undefined;
|
|
596
596
|
convert_to_google_docs?: boolean | undefined;
|
|
597
597
|
}>, z.ZodObject<{
|
|
@@ -690,7 +690,7 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
690
690
|
type: "user" | "group" | "domain" | "anyone";
|
|
691
691
|
operation: "share_file";
|
|
692
692
|
file_id: string;
|
|
693
|
-
role: "
|
|
693
|
+
role: "reader" | "writer" | "commenter" | "owner";
|
|
694
694
|
send_notification: boolean;
|
|
695
695
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
696
696
|
email_address?: string | undefined;
|
|
@@ -700,7 +700,7 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
700
700
|
type?: "user" | "group" | "domain" | "anyone" | undefined;
|
|
701
701
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
702
702
|
email_address?: string | undefined;
|
|
703
|
-
role?: "
|
|
703
|
+
role?: "reader" | "writer" | "commenter" | "owner" | undefined;
|
|
704
704
|
send_notification?: boolean | undefined;
|
|
705
705
|
}>]>;
|
|
706
706
|
static readonly resultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
|
|
@@ -728,8 +728,8 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
728
728
|
emailAddress?: string | undefined;
|
|
729
729
|
}>, "many">>;
|
|
730
730
|
}, "strip", z.ZodTypeAny, {
|
|
731
|
-
name: string;
|
|
732
731
|
mimeType: string;
|
|
732
|
+
name: string;
|
|
733
733
|
id: string;
|
|
734
734
|
size?: string | undefined;
|
|
735
735
|
createdTime?: string | undefined;
|
|
@@ -743,8 +743,8 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
743
743
|
emailAddress?: string | undefined;
|
|
744
744
|
}[] | undefined;
|
|
745
745
|
}, {
|
|
746
|
-
name: string;
|
|
747
746
|
mimeType: string;
|
|
747
|
+
name: string;
|
|
748
748
|
id: string;
|
|
749
749
|
size?: string | undefined;
|
|
750
750
|
createdTime?: string | undefined;
|
|
@@ -760,12 +760,12 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
760
760
|
}>>;
|
|
761
761
|
error: z.ZodString;
|
|
762
762
|
}, "strip", z.ZodTypeAny, {
|
|
763
|
-
success: boolean;
|
|
764
763
|
error: string;
|
|
764
|
+
success: boolean;
|
|
765
765
|
operation: "upload_file";
|
|
766
766
|
file?: {
|
|
767
|
-
name: string;
|
|
768
767
|
mimeType: string;
|
|
768
|
+
name: string;
|
|
769
769
|
id: string;
|
|
770
770
|
size?: string | undefined;
|
|
771
771
|
createdTime?: string | undefined;
|
|
@@ -780,12 +780,12 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
780
780
|
}[] | undefined;
|
|
781
781
|
} | undefined;
|
|
782
782
|
}, {
|
|
783
|
-
success: boolean;
|
|
784
783
|
error: string;
|
|
784
|
+
success: boolean;
|
|
785
785
|
operation: "upload_file";
|
|
786
786
|
file?: {
|
|
787
|
-
name: string;
|
|
788
787
|
mimeType: string;
|
|
788
|
+
name: string;
|
|
789
789
|
id: string;
|
|
790
790
|
size?: string | undefined;
|
|
791
791
|
createdTime?: string | undefined;
|
|
@@ -807,18 +807,18 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
807
807
|
mimeType: z.ZodOptional<z.ZodString>;
|
|
808
808
|
error: z.ZodString;
|
|
809
809
|
}, "strip", z.ZodTypeAny, {
|
|
810
|
-
success: boolean;
|
|
811
810
|
error: string;
|
|
811
|
+
success: boolean;
|
|
812
812
|
operation: "download_file";
|
|
813
|
-
content?: string | undefined;
|
|
814
813
|
mimeType?: string | undefined;
|
|
814
|
+
content?: string | undefined;
|
|
815
815
|
filename?: string | undefined;
|
|
816
816
|
}, {
|
|
817
|
-
success: boolean;
|
|
818
817
|
error: string;
|
|
818
|
+
success: boolean;
|
|
819
819
|
operation: "download_file";
|
|
820
|
-
content?: string | undefined;
|
|
821
820
|
mimeType?: string | undefined;
|
|
821
|
+
content?: string | undefined;
|
|
822
822
|
filename?: string | undefined;
|
|
823
823
|
}>, z.ZodObject<{
|
|
824
824
|
operation: z.ZodLiteral<"list_files">;
|
|
@@ -845,8 +845,8 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
845
845
|
emailAddress?: string | undefined;
|
|
846
846
|
}>, "many">>;
|
|
847
847
|
}, "strip", z.ZodTypeAny, {
|
|
848
|
-
name: string;
|
|
849
848
|
mimeType: string;
|
|
849
|
+
name: string;
|
|
850
850
|
id: string;
|
|
851
851
|
size?: string | undefined;
|
|
852
852
|
createdTime?: string | undefined;
|
|
@@ -860,8 +860,8 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
860
860
|
emailAddress?: string | undefined;
|
|
861
861
|
}[] | undefined;
|
|
862
862
|
}, {
|
|
863
|
-
name: string;
|
|
864
863
|
mimeType: string;
|
|
864
|
+
name: string;
|
|
865
865
|
id: string;
|
|
866
866
|
size?: string | undefined;
|
|
867
867
|
createdTime?: string | undefined;
|
|
@@ -879,12 +879,13 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
879
879
|
next_page_token: z.ZodOptional<z.ZodString>;
|
|
880
880
|
error: z.ZodString;
|
|
881
881
|
}, "strip", z.ZodTypeAny, {
|
|
882
|
-
success: boolean;
|
|
883
882
|
error: string;
|
|
883
|
+
success: boolean;
|
|
884
884
|
operation: "list_files";
|
|
885
|
+
total_count?: number | undefined;
|
|
885
886
|
files?: {
|
|
886
|
-
name: string;
|
|
887
887
|
mimeType: string;
|
|
888
|
+
name: string;
|
|
888
889
|
id: string;
|
|
889
890
|
size?: string | undefined;
|
|
890
891
|
createdTime?: string | undefined;
|
|
@@ -898,15 +899,15 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
898
899
|
emailAddress?: string | undefined;
|
|
899
900
|
}[] | undefined;
|
|
900
901
|
}[] | undefined;
|
|
901
|
-
total_count?: number | undefined;
|
|
902
902
|
next_page_token?: string | undefined;
|
|
903
903
|
}, {
|
|
904
|
-
success: boolean;
|
|
905
904
|
error: string;
|
|
905
|
+
success: boolean;
|
|
906
906
|
operation: "list_files";
|
|
907
|
+
total_count?: number | undefined;
|
|
907
908
|
files?: {
|
|
908
|
-
name: string;
|
|
909
909
|
mimeType: string;
|
|
910
|
+
name: string;
|
|
910
911
|
id: string;
|
|
911
912
|
size?: string | undefined;
|
|
912
913
|
createdTime?: string | undefined;
|
|
@@ -920,7 +921,6 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
920
921
|
emailAddress?: string | undefined;
|
|
921
922
|
}[] | undefined;
|
|
922
923
|
}[] | undefined;
|
|
923
|
-
total_count?: number | undefined;
|
|
924
924
|
next_page_token?: string | undefined;
|
|
925
925
|
}>, z.ZodObject<{
|
|
926
926
|
operation: z.ZodLiteral<"create_folder">;
|
|
@@ -943,8 +943,8 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
943
943
|
}>>;
|
|
944
944
|
error: z.ZodString;
|
|
945
945
|
}, "strip", z.ZodTypeAny, {
|
|
946
|
-
success: boolean;
|
|
947
946
|
error: string;
|
|
947
|
+
success: boolean;
|
|
948
948
|
operation: "create_folder";
|
|
949
949
|
folder?: {
|
|
950
950
|
name: string;
|
|
@@ -953,8 +953,8 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
953
953
|
parents?: string[] | undefined;
|
|
954
954
|
} | undefined;
|
|
955
955
|
}, {
|
|
956
|
-
success: boolean;
|
|
957
956
|
error: string;
|
|
957
|
+
success: boolean;
|
|
958
958
|
operation: "create_folder";
|
|
959
959
|
folder?: {
|
|
960
960
|
name: string;
|
|
@@ -968,13 +968,13 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
968
968
|
deleted_file_id: z.ZodOptional<z.ZodString>;
|
|
969
969
|
error: z.ZodString;
|
|
970
970
|
}, "strip", z.ZodTypeAny, {
|
|
971
|
-
success: boolean;
|
|
972
971
|
error: string;
|
|
972
|
+
success: boolean;
|
|
973
973
|
operation: "delete_file";
|
|
974
974
|
deleted_file_id?: string | undefined;
|
|
975
975
|
}, {
|
|
976
|
-
success: boolean;
|
|
977
976
|
error: string;
|
|
977
|
+
success: boolean;
|
|
978
978
|
operation: "delete_file";
|
|
979
979
|
deleted_file_id?: string | undefined;
|
|
980
980
|
}>, z.ZodObject<{
|
|
@@ -1002,8 +1002,8 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1002
1002
|
emailAddress?: string | undefined;
|
|
1003
1003
|
}>, "many">>;
|
|
1004
1004
|
}, "strip", z.ZodTypeAny, {
|
|
1005
|
-
name: string;
|
|
1006
1005
|
mimeType: string;
|
|
1006
|
+
name: string;
|
|
1007
1007
|
id: string;
|
|
1008
1008
|
size?: string | undefined;
|
|
1009
1009
|
createdTime?: string | undefined;
|
|
@@ -1017,8 +1017,8 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1017
1017
|
emailAddress?: string | undefined;
|
|
1018
1018
|
}[] | undefined;
|
|
1019
1019
|
}, {
|
|
1020
|
-
name: string;
|
|
1021
1020
|
mimeType: string;
|
|
1021
|
+
name: string;
|
|
1022
1022
|
id: string;
|
|
1023
1023
|
size?: string | undefined;
|
|
1024
1024
|
createdTime?: string | undefined;
|
|
@@ -1053,12 +1053,12 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1053
1053
|
}>, "many">>;
|
|
1054
1054
|
error: z.ZodString;
|
|
1055
1055
|
}, "strip", z.ZodTypeAny, {
|
|
1056
|
-
success: boolean;
|
|
1057
1056
|
error: string;
|
|
1057
|
+
success: boolean;
|
|
1058
1058
|
operation: "get_file_info";
|
|
1059
1059
|
file?: {
|
|
1060
|
-
name: string;
|
|
1061
1060
|
mimeType: string;
|
|
1061
|
+
name: string;
|
|
1062
1062
|
id: string;
|
|
1063
1063
|
size?: string | undefined;
|
|
1064
1064
|
createdTime?: string | undefined;
|
|
@@ -1080,12 +1080,12 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1080
1080
|
emailAddress?: string | undefined;
|
|
1081
1081
|
}[] | undefined;
|
|
1082
1082
|
}, {
|
|
1083
|
-
success: boolean;
|
|
1084
1083
|
error: string;
|
|
1084
|
+
success: boolean;
|
|
1085
1085
|
operation: "get_file_info";
|
|
1086
1086
|
file?: {
|
|
1087
|
-
name: string;
|
|
1088
1087
|
mimeType: string;
|
|
1088
|
+
name: string;
|
|
1089
1089
|
id: string;
|
|
1090
1090
|
size?: string | undefined;
|
|
1091
1091
|
createdTime?: string | undefined;
|
|
@@ -1113,14 +1113,14 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1113
1113
|
share_link: z.ZodOptional<z.ZodString>;
|
|
1114
1114
|
error: z.ZodString;
|
|
1115
1115
|
}, "strip", z.ZodTypeAny, {
|
|
1116
|
-
success: boolean;
|
|
1117
1116
|
error: string;
|
|
1117
|
+
success: boolean;
|
|
1118
1118
|
operation: "share_file";
|
|
1119
1119
|
permission_id?: string | undefined;
|
|
1120
1120
|
share_link?: string | undefined;
|
|
1121
1121
|
}, {
|
|
1122
|
-
success: boolean;
|
|
1123
1122
|
error: string;
|
|
1123
|
+
success: boolean;
|
|
1124
1124
|
operation: "share_file";
|
|
1125
1125
|
permission_id?: string | undefined;
|
|
1126
1126
|
share_link?: string | undefined;
|