@bubblelab/bubble-core 0.1.202 → 0.1.203
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 +132 -132
- package/dist/bubble-factory.d.ts.map +1 -1
- package/dist/bubble-factory.js.map +1 -1
- package/dist/bubbles/service-bubble/agi-inc.d.ts +22 -22
- package/dist/bubbles/service-bubble/ai-agent.js +3 -3
- package/dist/bubbles/service-bubble/ai-agent.js.map +1 -1
- package/dist/bubbles/service-bubble/airtable.d.ts +36 -36
- package/dist/bubbles/service-bubble/apify/actors/google-maps-scraper.d.ts +10 -10
- package/dist/bubbles/service-bubble/apify/actors/instagram-hashtag-scraper.d.ts +8 -8
- package/dist/bubbles/service-bubble/apify/actors/instagram-scraper.d.ts +22 -22
- package/dist/bubbles/service-bubble/apify/actors/linkedin-jobs-scraper.d.ts +2 -2
- package/dist/bubbles/service-bubble/apify/actors/linkedin-posts-search.d.ts +14 -14
- package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-detail.d.ts +40 -40
- package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-posts.d.ts +32 -32
- package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.d.ts +18 -18
- package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.d.ts +18 -18
- package/dist/bubbles/service-bubble/apify/actors/youtube-scraper.d.ts +10 -10
- package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts +150 -150
- package/dist/bubbles/service-bubble/apify/apify.d.ts +4 -4
- package/dist/bubbles/service-bubble/apify/apify.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/apify/apify.js +10 -11
- package/dist/bubbles/service-bubble/apify/apify.js.map +1 -1
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts +54 -54
- package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +84 -84
- package/dist/bubbles/service-bubble/attio/attio.d.ts +6 -6
- package/dist/bubbles/service-bubble/attio/attio.js +11 -12
- package/dist/bubbles/service-bubble/attio/attio.js.map +1 -1
- package/dist/bubbles/service-bubble/attio/attio.schema.d.ts +48 -48
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +6 -6
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/browserbase/browserbase.js +3 -8
- package/dist/bubbles/service-bubble/browserbase/browserbase.js.map +1 -1
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +37 -37
- package/dist/bubbles/service-bubble/confluence/confluence.d.ts +12 -12
- package/dist/bubbles/service-bubble/confluence/confluence.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/confluence/confluence.js +4 -6
- package/dist/bubbles/service-bubble/confluence/confluence.js.map +1 -1
- package/dist/bubbles/service-bubble/confluence/confluence.schema.d.ts +26 -26
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +30 -30
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/crustdata/crustdata.js.map +1 -1
- package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +102 -102
- package/dist/bubbles/service-bubble/eleven-labs.d.ts +8 -8
- package/dist/bubbles/service-bubble/firecrawl.d.ts +484 -484
- package/dist/bubbles/service-bubble/followupboss.d.ts +274 -274
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +277 -277
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.schema.d.ts +160 -160
- package/dist/bubbles/service-bubble/github.d.ts +60 -60
- package/dist/bubbles/service-bubble/github.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/github.js +14 -17
- package/dist/bubbles/service-bubble/github.js.map +1 -1
- package/dist/bubbles/service-bubble/gmail.d.ts +84 -84
- package/dist/bubbles/service-bubble/gmail.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/gmail.js +10 -12
- package/dist/bubbles/service-bubble/gmail.js.map +1 -1
- package/dist/bubbles/service-bubble/google-calendar.d.ts +88 -88
- package/dist/bubbles/service-bubble/google-drive.d.ts +40 -40
- package/dist/bubbles/service-bubble/google-drive.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/google-drive.js +11 -12
- package/dist/bubbles/service-bubble/google-drive.js.map +1 -1
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.js +6 -8
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.js.map +1 -1
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts +30 -30
- package/dist/bubbles/service-bubble/http.d.ts +10 -10
- package/dist/bubbles/service-bubble/hubspot/hubspot.d.ts +27 -27
- package/dist/bubbles/service-bubble/hubspot/hubspot.js +9 -10
- package/dist/bubbles/service-bubble/hubspot/hubspot.js.map +1 -1
- package/dist/bubbles/service-bubble/hubspot/hubspot.schema.d.ts +12 -12
- package/dist/bubbles/service-bubble/insforge-db.d.ts +4 -4
- package/dist/bubbles/service-bubble/insforge-db.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/insforge-db.js.map +1 -1
- package/dist/bubbles/service-bubble/jira/jira.d.ts +18 -18
- package/dist/bubbles/service-bubble/jira/jira.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/jira/jira.js +5 -7
- package/dist/bubbles/service-bubble/jira/jira.js.map +1 -1
- package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +97 -97
- package/dist/bubbles/service-bubble/linear/linear.d.ts +5 -5
- package/dist/bubbles/service-bubble/linear/linear.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/linear/linear.js +5 -7
- package/dist/bubbles/service-bubble/linear/linear.js.map +1 -1
- package/dist/bubbles/service-bubble/linear/linear.schema.d.ts +33 -33
- package/dist/bubbles/service-bubble/notion/notion.d.ts +36 -36
- package/dist/bubbles/service-bubble/notion/notion.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/notion/notion.js +5 -11
- package/dist/bubbles/service-bubble/notion/notion.js.map +1 -1
- package/dist/bubbles/service-bubble/postgresql.d.ts +4 -4
- package/dist/bubbles/service-bubble/posthog/posthog.d.ts +11 -11
- package/dist/bubbles/service-bubble/posthog/posthog.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/posthog/posthog.js +17 -18
- package/dist/bubbles/service-bubble/posthog/posthog.js.map +1 -1
- package/dist/bubbles/service-bubble/posthog/posthog.schema.d.ts +40 -40
- package/dist/bubbles/service-bubble/resend.d.ts +12 -12
- package/dist/bubbles/service-bubble/s3/index.d.ts +1 -1
- package/dist/bubbles/service-bubble/s3/index.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/s3/index.js +1 -1
- package/dist/bubbles/service-bubble/s3/index.js.map +1 -1
- package/dist/bubbles/service-bubble/s3/s3.d.ts +27 -22
- package/dist/bubbles/service-bubble/s3/s3.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/s3/s3.js +92 -43
- package/dist/bubbles/service-bubble/s3/s3.js.map +1 -1
- package/dist/bubbles/service-bubble/s3/s3.schema.d.ts +15 -12
- package/dist/bubbles/service-bubble/s3/s3.schema.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/s3/s3.schema.js +3 -2
- package/dist/bubbles/service-bubble/s3/s3.schema.js.map +1 -1
- package/dist/bubbles/service-bubble/sendsafely/sendsafely.d.ts +4 -4
- package/dist/bubbles/service-bubble/sendsafely/sendsafely.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/sendsafely/sendsafely.js +4 -9
- package/dist/bubbles/service-bubble/sendsafely/sendsafely.js.map +1 -1
- package/dist/bubbles/service-bubble/sendsafely/sendsafely.schema.d.ts +14 -14
- package/dist/bubbles/service-bubble/slack/slack.d.ts +224 -224
- package/dist/bubbles/service-bubble/slack/slack.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/slack/slack.js +4 -3
- package/dist/bubbles/service-bubble/slack/slack.js.map +1 -1
- package/dist/bubbles/service-bubble/storage.d.ts +60 -60
- package/dist/bubbles/service-bubble/stripe/stripe.d.ts +102 -102
- package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +103 -103
- package/dist/bubbles/service-bubble/telegram.d.ts +298 -298
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +26 -26
- package/dist/bubbles/tool-bubble/browser-tools/_shared/schema.d.ts +2 -2
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/schema.d.ts +3 -3
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/schema.d.ts +2 -2
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/schema.d.ts +2 -2
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/schema.d.ts +2 -2
- package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +102 -102
- package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +12 -12
- package/dist/bubbles/tool-bubble/instagram-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +631 -631
- package/dist/bubbles/tool-bubble/list-capabilities-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/people-search-tool.d.ts +80 -80
- package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +26 -26
- package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/twitter-tool.d.ts +28 -28
- package/dist/bubbles/tool-bubble/web-search-tool.d.ts +12 -12
- package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +30 -30
- package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +4 -4
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +16 -16
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +56 -56
- package/dist/bubbles.json +8 -4
- package/package.json +2 -2
|
@@ -123,7 +123,7 @@ declare const GoogleDriveParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
123
123
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
124
124
|
}, "strip", z.ZodTypeAny, {
|
|
125
125
|
operation: "share_file";
|
|
126
|
-
type: "
|
|
126
|
+
type: "user" | "group" | "domain" | "anyone";
|
|
127
127
|
file_id: string;
|
|
128
128
|
role: "writer" | "reader" | "commenter" | "owner";
|
|
129
129
|
send_notification: boolean;
|
|
@@ -132,7 +132,7 @@ declare const GoogleDriveParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
132
132
|
}, {
|
|
133
133
|
operation: "share_file";
|
|
134
134
|
file_id: string;
|
|
135
|
-
type?: "
|
|
135
|
+
type?: "user" | "group" | "domain" | "anyone" | undefined;
|
|
136
136
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
137
137
|
email_address?: string | undefined;
|
|
138
138
|
role?: "writer" | "reader" | "commenter" | "owner" | undefined;
|
|
@@ -277,8 +277,8 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
277
277
|
}>, "many">>;
|
|
278
278
|
}, "strip", z.ZodTypeAny, {
|
|
279
279
|
name: string;
|
|
280
|
-
id: string;
|
|
281
280
|
mimeType: string;
|
|
281
|
+
id: string;
|
|
282
282
|
size?: string | undefined;
|
|
283
283
|
createdTime?: string | undefined;
|
|
284
284
|
modifiedTime?: string | undefined;
|
|
@@ -292,8 +292,8 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
292
292
|
}[] | undefined;
|
|
293
293
|
}, {
|
|
294
294
|
name: string;
|
|
295
|
-
id: string;
|
|
296
295
|
mimeType: string;
|
|
296
|
+
id: string;
|
|
297
297
|
size?: string | undefined;
|
|
298
298
|
createdTime?: string | undefined;
|
|
299
299
|
modifiedTime?: string | undefined;
|
|
@@ -313,8 +313,8 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
313
313
|
error: string;
|
|
314
314
|
file?: {
|
|
315
315
|
name: string;
|
|
316
|
-
id: string;
|
|
317
316
|
mimeType: string;
|
|
317
|
+
id: string;
|
|
318
318
|
size?: string | undefined;
|
|
319
319
|
createdTime?: string | undefined;
|
|
320
320
|
modifiedTime?: string | undefined;
|
|
@@ -333,8 +333,8 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
333
333
|
error: string;
|
|
334
334
|
file?: {
|
|
335
335
|
name: string;
|
|
336
|
-
id: string;
|
|
337
336
|
mimeType: string;
|
|
337
|
+
id: string;
|
|
338
338
|
size?: string | undefined;
|
|
339
339
|
createdTime?: string | undefined;
|
|
340
340
|
modifiedTime?: string | undefined;
|
|
@@ -394,8 +394,8 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
394
394
|
}>, "many">>;
|
|
395
395
|
}, "strip", z.ZodTypeAny, {
|
|
396
396
|
name: string;
|
|
397
|
-
id: string;
|
|
398
397
|
mimeType: string;
|
|
398
|
+
id: string;
|
|
399
399
|
size?: string | undefined;
|
|
400
400
|
createdTime?: string | undefined;
|
|
401
401
|
modifiedTime?: string | undefined;
|
|
@@ -409,8 +409,8 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
409
409
|
}[] | undefined;
|
|
410
410
|
}, {
|
|
411
411
|
name: string;
|
|
412
|
-
id: string;
|
|
413
412
|
mimeType: string;
|
|
413
|
+
id: string;
|
|
414
414
|
size?: string | undefined;
|
|
415
415
|
createdTime?: string | undefined;
|
|
416
416
|
modifiedTime?: string | undefined;
|
|
@@ -430,11 +430,10 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
430
430
|
operation: "list_files";
|
|
431
431
|
success: boolean;
|
|
432
432
|
error: string;
|
|
433
|
-
total_count?: number | undefined;
|
|
434
433
|
files?: {
|
|
435
434
|
name: string;
|
|
436
|
-
id: string;
|
|
437
435
|
mimeType: string;
|
|
436
|
+
id: string;
|
|
438
437
|
size?: string | undefined;
|
|
439
438
|
createdTime?: string | undefined;
|
|
440
439
|
modifiedTime?: string | undefined;
|
|
@@ -447,16 +446,16 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
447
446
|
emailAddress?: string | undefined;
|
|
448
447
|
}[] | undefined;
|
|
449
448
|
}[] | undefined;
|
|
449
|
+
total_count?: number | undefined;
|
|
450
450
|
next_page_token?: string | undefined;
|
|
451
451
|
}, {
|
|
452
452
|
operation: "list_files";
|
|
453
453
|
success: boolean;
|
|
454
454
|
error: string;
|
|
455
|
-
total_count?: number | undefined;
|
|
456
455
|
files?: {
|
|
457
456
|
name: string;
|
|
458
|
-
id: string;
|
|
459
457
|
mimeType: string;
|
|
458
|
+
id: string;
|
|
460
459
|
size?: string | undefined;
|
|
461
460
|
createdTime?: string | undefined;
|
|
462
461
|
modifiedTime?: string | undefined;
|
|
@@ -469,6 +468,7 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
469
468
|
emailAddress?: string | undefined;
|
|
470
469
|
}[] | undefined;
|
|
471
470
|
}[] | undefined;
|
|
471
|
+
total_count?: number | undefined;
|
|
472
472
|
next_page_token?: string | undefined;
|
|
473
473
|
}>, z.ZodObject<{
|
|
474
474
|
operation: z.ZodLiteral<"create_folder">;
|
|
@@ -551,8 +551,8 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
551
551
|
}>, "many">>;
|
|
552
552
|
}, "strip", z.ZodTypeAny, {
|
|
553
553
|
name: string;
|
|
554
|
-
id: string;
|
|
555
554
|
mimeType: string;
|
|
555
|
+
id: string;
|
|
556
556
|
size?: string | undefined;
|
|
557
557
|
createdTime?: string | undefined;
|
|
558
558
|
modifiedTime?: string | undefined;
|
|
@@ -566,8 +566,8 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
566
566
|
}[] | undefined;
|
|
567
567
|
}, {
|
|
568
568
|
name: string;
|
|
569
|
-
id: string;
|
|
570
569
|
mimeType: string;
|
|
570
|
+
id: string;
|
|
571
571
|
size?: string | undefined;
|
|
572
572
|
createdTime?: string | undefined;
|
|
573
573
|
modifiedTime?: string | undefined;
|
|
@@ -606,8 +606,8 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
606
606
|
error: string;
|
|
607
607
|
file?: {
|
|
608
608
|
name: string;
|
|
609
|
-
id: string;
|
|
610
609
|
mimeType: string;
|
|
610
|
+
id: string;
|
|
611
611
|
size?: string | undefined;
|
|
612
612
|
createdTime?: string | undefined;
|
|
613
613
|
modifiedTime?: string | undefined;
|
|
@@ -633,8 +633,8 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
633
633
|
error: string;
|
|
634
634
|
file?: {
|
|
635
635
|
name: string;
|
|
636
|
-
id: string;
|
|
637
636
|
mimeType: string;
|
|
637
|
+
id: string;
|
|
638
638
|
size?: string | undefined;
|
|
639
639
|
createdTime?: string | undefined;
|
|
640
640
|
modifiedTime?: string | undefined;
|
|
@@ -698,8 +698,8 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
698
698
|
}>, "many">>;
|
|
699
699
|
}, "strip", z.ZodTypeAny, {
|
|
700
700
|
name: string;
|
|
701
|
-
id: string;
|
|
702
701
|
mimeType: string;
|
|
702
|
+
id: string;
|
|
703
703
|
size?: string | undefined;
|
|
704
704
|
createdTime?: string | undefined;
|
|
705
705
|
modifiedTime?: string | undefined;
|
|
@@ -713,8 +713,8 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
713
713
|
}[] | undefined;
|
|
714
714
|
}, {
|
|
715
715
|
name: string;
|
|
716
|
-
id: string;
|
|
717
716
|
mimeType: string;
|
|
717
|
+
id: string;
|
|
718
718
|
size?: string | undefined;
|
|
719
719
|
createdTime?: string | undefined;
|
|
720
720
|
modifiedTime?: string | undefined;
|
|
@@ -734,8 +734,8 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
734
734
|
error: string;
|
|
735
735
|
file?: {
|
|
736
736
|
name: string;
|
|
737
|
-
id: string;
|
|
738
737
|
mimeType: string;
|
|
738
|
+
id: string;
|
|
739
739
|
size?: string | undefined;
|
|
740
740
|
createdTime?: string | undefined;
|
|
741
741
|
modifiedTime?: string | undefined;
|
|
@@ -754,8 +754,8 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
754
754
|
error: string;
|
|
755
755
|
file?: {
|
|
756
756
|
name: string;
|
|
757
|
-
id: string;
|
|
758
757
|
mimeType: string;
|
|
758
|
+
id: string;
|
|
759
759
|
size?: string | undefined;
|
|
760
760
|
createdTime?: string | undefined;
|
|
761
761
|
modifiedTime?: string | undefined;
|
|
@@ -1040,7 +1040,7 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1040
1040
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
1041
1041
|
}, "strip", z.ZodTypeAny, {
|
|
1042
1042
|
operation: "share_file";
|
|
1043
|
-
type: "
|
|
1043
|
+
type: "user" | "group" | "domain" | "anyone";
|
|
1044
1044
|
file_id: string;
|
|
1045
1045
|
role: "writer" | "reader" | "commenter" | "owner";
|
|
1046
1046
|
send_notification: boolean;
|
|
@@ -1049,7 +1049,7 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1049
1049
|
}, {
|
|
1050
1050
|
operation: "share_file";
|
|
1051
1051
|
file_id: string;
|
|
1052
|
-
type?: "
|
|
1052
|
+
type?: "user" | "group" | "domain" | "anyone" | undefined;
|
|
1053
1053
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
1054
1054
|
email_address?: string | undefined;
|
|
1055
1055
|
role?: "writer" | "reader" | "commenter" | "owner" | undefined;
|
|
@@ -1194,8 +1194,8 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1194
1194
|
}>, "many">>;
|
|
1195
1195
|
}, "strip", z.ZodTypeAny, {
|
|
1196
1196
|
name: string;
|
|
1197
|
-
id: string;
|
|
1198
1197
|
mimeType: string;
|
|
1198
|
+
id: string;
|
|
1199
1199
|
size?: string | undefined;
|
|
1200
1200
|
createdTime?: string | undefined;
|
|
1201
1201
|
modifiedTime?: string | undefined;
|
|
@@ -1209,8 +1209,8 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1209
1209
|
}[] | undefined;
|
|
1210
1210
|
}, {
|
|
1211
1211
|
name: string;
|
|
1212
|
-
id: string;
|
|
1213
1212
|
mimeType: string;
|
|
1213
|
+
id: string;
|
|
1214
1214
|
size?: string | undefined;
|
|
1215
1215
|
createdTime?: string | undefined;
|
|
1216
1216
|
modifiedTime?: string | undefined;
|
|
@@ -1230,8 +1230,8 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1230
1230
|
error: string;
|
|
1231
1231
|
file?: {
|
|
1232
1232
|
name: string;
|
|
1233
|
-
id: string;
|
|
1234
1233
|
mimeType: string;
|
|
1234
|
+
id: string;
|
|
1235
1235
|
size?: string | undefined;
|
|
1236
1236
|
createdTime?: string | undefined;
|
|
1237
1237
|
modifiedTime?: string | undefined;
|
|
@@ -1250,8 +1250,8 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1250
1250
|
error: string;
|
|
1251
1251
|
file?: {
|
|
1252
1252
|
name: string;
|
|
1253
|
-
id: string;
|
|
1254
1253
|
mimeType: string;
|
|
1254
|
+
id: string;
|
|
1255
1255
|
size?: string | undefined;
|
|
1256
1256
|
createdTime?: string | undefined;
|
|
1257
1257
|
modifiedTime?: string | undefined;
|
|
@@ -1311,8 +1311,8 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1311
1311
|
}>, "many">>;
|
|
1312
1312
|
}, "strip", z.ZodTypeAny, {
|
|
1313
1313
|
name: string;
|
|
1314
|
-
id: string;
|
|
1315
1314
|
mimeType: string;
|
|
1315
|
+
id: string;
|
|
1316
1316
|
size?: string | undefined;
|
|
1317
1317
|
createdTime?: string | undefined;
|
|
1318
1318
|
modifiedTime?: string | undefined;
|
|
@@ -1326,8 +1326,8 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1326
1326
|
}[] | undefined;
|
|
1327
1327
|
}, {
|
|
1328
1328
|
name: string;
|
|
1329
|
-
id: string;
|
|
1330
1329
|
mimeType: string;
|
|
1330
|
+
id: string;
|
|
1331
1331
|
size?: string | undefined;
|
|
1332
1332
|
createdTime?: string | undefined;
|
|
1333
1333
|
modifiedTime?: string | undefined;
|
|
@@ -1347,11 +1347,10 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1347
1347
|
operation: "list_files";
|
|
1348
1348
|
success: boolean;
|
|
1349
1349
|
error: string;
|
|
1350
|
-
total_count?: number | undefined;
|
|
1351
1350
|
files?: {
|
|
1352
1351
|
name: string;
|
|
1353
|
-
id: string;
|
|
1354
1352
|
mimeType: string;
|
|
1353
|
+
id: string;
|
|
1355
1354
|
size?: string | undefined;
|
|
1356
1355
|
createdTime?: string | undefined;
|
|
1357
1356
|
modifiedTime?: string | undefined;
|
|
@@ -1364,16 +1363,16 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1364
1363
|
emailAddress?: string | undefined;
|
|
1365
1364
|
}[] | undefined;
|
|
1366
1365
|
}[] | undefined;
|
|
1366
|
+
total_count?: number | undefined;
|
|
1367
1367
|
next_page_token?: string | undefined;
|
|
1368
1368
|
}, {
|
|
1369
1369
|
operation: "list_files";
|
|
1370
1370
|
success: boolean;
|
|
1371
1371
|
error: string;
|
|
1372
|
-
total_count?: number | undefined;
|
|
1373
1372
|
files?: {
|
|
1374
1373
|
name: string;
|
|
1375
|
-
id: string;
|
|
1376
1374
|
mimeType: string;
|
|
1375
|
+
id: string;
|
|
1377
1376
|
size?: string | undefined;
|
|
1378
1377
|
createdTime?: string | undefined;
|
|
1379
1378
|
modifiedTime?: string | undefined;
|
|
@@ -1386,6 +1385,7 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1386
1385
|
emailAddress?: string | undefined;
|
|
1387
1386
|
}[] | undefined;
|
|
1388
1387
|
}[] | undefined;
|
|
1388
|
+
total_count?: number | undefined;
|
|
1389
1389
|
next_page_token?: string | undefined;
|
|
1390
1390
|
}>, z.ZodObject<{
|
|
1391
1391
|
operation: z.ZodLiteral<"create_folder">;
|
|
@@ -1468,8 +1468,8 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1468
1468
|
}>, "many">>;
|
|
1469
1469
|
}, "strip", z.ZodTypeAny, {
|
|
1470
1470
|
name: string;
|
|
1471
|
-
id: string;
|
|
1472
1471
|
mimeType: string;
|
|
1472
|
+
id: string;
|
|
1473
1473
|
size?: string | undefined;
|
|
1474
1474
|
createdTime?: string | undefined;
|
|
1475
1475
|
modifiedTime?: string | undefined;
|
|
@@ -1483,8 +1483,8 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1483
1483
|
}[] | undefined;
|
|
1484
1484
|
}, {
|
|
1485
1485
|
name: string;
|
|
1486
|
-
id: string;
|
|
1487
1486
|
mimeType: string;
|
|
1487
|
+
id: string;
|
|
1488
1488
|
size?: string | undefined;
|
|
1489
1489
|
createdTime?: string | undefined;
|
|
1490
1490
|
modifiedTime?: string | undefined;
|
|
@@ -1523,8 +1523,8 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1523
1523
|
error: string;
|
|
1524
1524
|
file?: {
|
|
1525
1525
|
name: string;
|
|
1526
|
-
id: string;
|
|
1527
1526
|
mimeType: string;
|
|
1527
|
+
id: string;
|
|
1528
1528
|
size?: string | undefined;
|
|
1529
1529
|
createdTime?: string | undefined;
|
|
1530
1530
|
modifiedTime?: string | undefined;
|
|
@@ -1550,8 +1550,8 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1550
1550
|
error: string;
|
|
1551
1551
|
file?: {
|
|
1552
1552
|
name: string;
|
|
1553
|
-
id: string;
|
|
1554
1553
|
mimeType: string;
|
|
1554
|
+
id: string;
|
|
1555
1555
|
size?: string | undefined;
|
|
1556
1556
|
createdTime?: string | undefined;
|
|
1557
1557
|
modifiedTime?: string | undefined;
|
|
@@ -1615,8 +1615,8 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1615
1615
|
}>, "many">>;
|
|
1616
1616
|
}, "strip", z.ZodTypeAny, {
|
|
1617
1617
|
name: string;
|
|
1618
|
-
id: string;
|
|
1619
1618
|
mimeType: string;
|
|
1619
|
+
id: string;
|
|
1620
1620
|
size?: string | undefined;
|
|
1621
1621
|
createdTime?: string | undefined;
|
|
1622
1622
|
modifiedTime?: string | undefined;
|
|
@@ -1630,8 +1630,8 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1630
1630
|
}[] | undefined;
|
|
1631
1631
|
}, {
|
|
1632
1632
|
name: string;
|
|
1633
|
-
id: string;
|
|
1634
1633
|
mimeType: string;
|
|
1634
|
+
id: string;
|
|
1635
1635
|
size?: string | undefined;
|
|
1636
1636
|
createdTime?: string | undefined;
|
|
1637
1637
|
modifiedTime?: string | undefined;
|
|
@@ -1651,8 +1651,8 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1651
1651
|
error: string;
|
|
1652
1652
|
file?: {
|
|
1653
1653
|
name: string;
|
|
1654
|
-
id: string;
|
|
1655
1654
|
mimeType: string;
|
|
1655
|
+
id: string;
|
|
1656
1656
|
size?: string | undefined;
|
|
1657
1657
|
createdTime?: string | undefined;
|
|
1658
1658
|
modifiedTime?: string | undefined;
|
|
@@ -1671,8 +1671,8 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1671
1671
|
error: string;
|
|
1672
1672
|
file?: {
|
|
1673
1673
|
name: string;
|
|
1674
|
-
id: string;
|
|
1675
1674
|
mimeType: string;
|
|
1675
|
+
id: string;
|
|
1676
1676
|
size?: string | undefined;
|
|
1677
1677
|
createdTime?: string | undefined;
|
|
1678
1678
|
modifiedTime?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"google-drive.d.ts","sourceRoot":"","sources":["../../../src/bubbles/service-bubble/google-drive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AA2U3D,QAAA,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,SAAS,CAAC,gBAAgB,IAAI,MAAM,GAAG,SAAS;CAYjD"}
|
|
@@ -808,19 +808,18 @@ export class GoogleDriveBubble extends ServiceBubble {
|
|
|
808
808
|
if (!credential) {
|
|
809
809
|
throw new Error('Google Drive credentials are required');
|
|
810
810
|
}
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
catch {
|
|
822
|
-
return false;
|
|
811
|
+
// Test the credentials by making a simple API call
|
|
812
|
+
const response = await fetch('https://www.googleapis.com/drive/v3/about?fields=user&supportsAllDrives=true', {
|
|
813
|
+
headers: {
|
|
814
|
+
Authorization: `Bearer ${credential}`,
|
|
815
|
+
'Content-Type': 'application/json',
|
|
816
|
+
},
|
|
817
|
+
});
|
|
818
|
+
if (!response.ok) {
|
|
819
|
+
const errorText = await response.text().catch(() => '');
|
|
820
|
+
throw new Error(`Google Drive API error (${response.status}): ${errorText}`);
|
|
823
821
|
}
|
|
822
|
+
return true;
|
|
824
823
|
}
|
|
825
824
|
async makeGoogleApiRequest(endpoint, method = 'GET', body, headers = {}, responseType = 'auto') {
|
|
826
825
|
const url = endpoint.startsWith('https://')
|