@bubblelab/bubble-core 0.1.68 → 0.1.69
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 +85 -85
- package/dist/bubbles/service-bubble/agi-inc.d.ts +112 -112
- package/dist/bubbles/service-bubble/ai-agent.d.ts +72 -72
- package/dist/bubbles/service-bubble/airtable.d.ts +156 -156
- package/dist/bubbles/service-bubble/apify/apify.d.ts +12 -12
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts +140 -140
- package/dist/bubbles/service-bubble/ashby/ashby.js +1 -1
- package/dist/bubbles/service-bubble/ashby/ashby.js.map +1 -1
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +51 -51
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +32 -32
- package/dist/bubbles/service-bubble/eleven-labs.d.ts +60 -60
- package/dist/bubbles/service-bubble/firecrawl.d.ts +396 -396
- package/dist/bubbles/service-bubble/followupboss.d.ts +492 -492
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +116 -116
- package/dist/bubbles/service-bubble/github.d.ts +152 -152
- package/dist/bubbles/service-bubble/gmail.d.ts +576 -576
- package/dist/bubbles/service-bubble/google-calendar.d.ts +232 -232
- package/dist/bubbles/service-bubble/google-drive.d.ts +422 -156
- package/dist/bubbles/service-bubble/google-drive.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/google-drive.js +282 -30
- package/dist/bubbles/service-bubble/google-drive.js.map +1 -1
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +78 -78
- package/dist/bubbles/service-bubble/hello-world.d.ts +4 -4
- package/dist/bubbles/service-bubble/http.d.ts +20 -20
- package/dist/bubbles/service-bubble/insforge-db.d.ts +10 -10
- package/dist/bubbles/service-bubble/jira/jira.d.ts +54 -54
- package/dist/bubbles/service-bubble/notion/notion.d.ts +624 -624
- package/dist/bubbles/service-bubble/postgresql.d.ts +10 -10
- package/dist/bubbles/service-bubble/resend.d.ts +20 -20
- package/dist/bubbles/service-bubble/slack/slack.d.ts +304 -304
- package/dist/bubbles/service-bubble/storage.d.ts +40 -40
- package/dist/bubbles/service-bubble/stripe/stripe.d.ts +72 -72
- package/dist/bubbles/service-bubble/telegram.d.ts +938 -938
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +26 -26
- package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +24 -24
- package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/get-trigger-detail-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +28 -28
- package/dist/bubbles/tool-bubble/instagram-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts.map +1 -1
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.d.ts +8 -8
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.d.ts.map +1 -1
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.js +31 -25
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.js.map +1 -1
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +116 -116
- package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/people-search-tool.d.ts +38 -38
- package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +14 -14
- package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +12 -12
- package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +16 -16
- package/dist/bubbles/tool-bubble/tool-template.d.ts +4 -4
- package/dist/bubbles/tool-bubble/twitter-tool.d.ts +46 -46
- package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/web-search-tool.d.ts +10 -10
- package/dist/bubbles/tool-bubble/youtube-tool.d.ts +8 -8
- package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
- package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +16 -16
- package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +4 -4
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +90 -90
- package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +16 -16
- package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +10 -10
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +50 -50
- package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +4 -4
- package/dist/bubbles.json +290 -74
- 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";
|
|
14
15
|
name: string;
|
|
15
16
|
content: string;
|
|
16
|
-
operation: "upload_file";
|
|
17
17
|
convert_to_google_docs: boolean;
|
|
18
18
|
mimeType?: string | undefined;
|
|
19
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
20
19
|
parent_folder_id?: string | undefined;
|
|
20
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
21
21
|
}, {
|
|
22
|
+
operation: "upload_file";
|
|
22
23
|
name: string;
|
|
23
24
|
content: string;
|
|
24
|
-
operation: "upload_file";
|
|
25
25
|
mimeType?: string | undefined;
|
|
26
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
27
26
|
parent_folder_id?: string | undefined;
|
|
28
27
|
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
|
-
query?: string | undefined;
|
|
59
58
|
folder_id?: string | undefined;
|
|
59
|
+
query?: string | undefined;
|
|
60
60
|
}, {
|
|
61
61
|
operation: "list_files";
|
|
62
62
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
63
|
-
query?: string | undefined;
|
|
64
63
|
folder_id?: string | undefined;
|
|
64
|
+
query?: 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
|
-
name: string;
|
|
75
74
|
operation: "create_folder";
|
|
76
|
-
|
|
75
|
+
name: string;
|
|
77
76
|
parent_folder_id?: string | undefined;
|
|
77
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
78
78
|
}, {
|
|
79
|
-
name: string;
|
|
80
79
|
operation: "create_folder";
|
|
81
|
-
|
|
80
|
+
name: string;
|
|
82
81
|
parent_folder_id?: string | undefined;
|
|
82
|
+
credentials?: Partial<Record<CredentialType, 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
|
-
type: "user" | "group" | "domain" | "anyone";
|
|
123
122
|
operation: "share_file";
|
|
123
|
+
type: "user" | "group" | "domain" | "anyone";
|
|
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
|
}>, z.ZodObject<{
|
|
138
138
|
operation: z.ZodLiteral<"move_file">;
|
|
@@ -155,33 +155,98 @@ declare const GoogleDriveParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
155
155
|
}>, z.ZodObject<{
|
|
156
156
|
operation: z.ZodLiteral<"get_doc">;
|
|
157
157
|
document_id: z.ZodString;
|
|
158
|
+
tab_id: z.ZodOptional<z.ZodString>;
|
|
159
|
+
include_all_tabs: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
158
160
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
159
161
|
}, "strip", z.ZodTypeAny, {
|
|
160
162
|
operation: "get_doc";
|
|
161
163
|
document_id: string;
|
|
164
|
+
include_all_tabs: boolean;
|
|
162
165
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
166
|
+
tab_id?: string | undefined;
|
|
163
167
|
}, {
|
|
164
168
|
operation: "get_doc";
|
|
165
169
|
document_id: string;
|
|
166
170
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
171
|
+
tab_id?: string | undefined;
|
|
172
|
+
include_all_tabs?: boolean | undefined;
|
|
167
173
|
}>, z.ZodObject<{
|
|
168
174
|
operation: z.ZodLiteral<"update_doc">;
|
|
169
175
|
document_id: z.ZodString;
|
|
170
176
|
content: z.ZodString;
|
|
171
177
|
mode: z.ZodDefault<z.ZodOptional<z.ZodEnum<["replace", "append"]>>>;
|
|
178
|
+
tab_id: z.ZodOptional<z.ZodString>;
|
|
172
179
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
173
180
|
}, "strip", z.ZodTypeAny, {
|
|
174
|
-
content: string;
|
|
175
181
|
operation: "update_doc";
|
|
176
|
-
|
|
182
|
+
content: string;
|
|
177
183
|
document_id: string;
|
|
184
|
+
mode: "replace" | "append";
|
|
178
185
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
186
|
+
tab_id?: string | undefined;
|
|
179
187
|
}, {
|
|
180
|
-
content: string;
|
|
181
188
|
operation: "update_doc";
|
|
189
|
+
content: string;
|
|
182
190
|
document_id: string;
|
|
183
191
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
192
|
+
tab_id?: string | undefined;
|
|
184
193
|
mode?: "replace" | "append" | undefined;
|
|
194
|
+
}>, z.ZodObject<{
|
|
195
|
+
operation: z.ZodLiteral<"replace_text">;
|
|
196
|
+
document_id: z.ZodString;
|
|
197
|
+
replacements: z.ZodArray<z.ZodObject<{
|
|
198
|
+
find: z.ZodString;
|
|
199
|
+
replace: z.ZodString;
|
|
200
|
+
match_case: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
201
|
+
}, "strip", z.ZodTypeAny, {
|
|
202
|
+
find: string;
|
|
203
|
+
replace: string;
|
|
204
|
+
match_case: boolean;
|
|
205
|
+
}, {
|
|
206
|
+
find: string;
|
|
207
|
+
replace: string;
|
|
208
|
+
match_case?: boolean | undefined;
|
|
209
|
+
}>, "many">;
|
|
210
|
+
tab_id: z.ZodOptional<z.ZodString>;
|
|
211
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
212
|
+
}, "strip", z.ZodTypeAny, {
|
|
213
|
+
operation: "replace_text";
|
|
214
|
+
document_id: string;
|
|
215
|
+
replacements: {
|
|
216
|
+
find: string;
|
|
217
|
+
replace: string;
|
|
218
|
+
match_case: boolean;
|
|
219
|
+
}[];
|
|
220
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
221
|
+
tab_id?: string | undefined;
|
|
222
|
+
}, {
|
|
223
|
+
operation: "replace_text";
|
|
224
|
+
document_id: string;
|
|
225
|
+
replacements: {
|
|
226
|
+
find: string;
|
|
227
|
+
replace: string;
|
|
228
|
+
match_case?: boolean | undefined;
|
|
229
|
+
}[];
|
|
230
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
231
|
+
tab_id?: string | undefined;
|
|
232
|
+
}>, z.ZodObject<{
|
|
233
|
+
operation: z.ZodLiteral<"copy_doc">;
|
|
234
|
+
document_id: z.ZodString;
|
|
235
|
+
new_name: z.ZodString;
|
|
236
|
+
parent_folder_id: z.ZodOptional<z.ZodString>;
|
|
237
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
238
|
+
}, "strip", z.ZodTypeAny, {
|
|
239
|
+
operation: "copy_doc";
|
|
240
|
+
document_id: string;
|
|
241
|
+
new_name: string;
|
|
242
|
+
parent_folder_id?: string | undefined;
|
|
243
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
244
|
+
}, {
|
|
245
|
+
operation: "copy_doc";
|
|
246
|
+
document_id: string;
|
|
247
|
+
new_name: string;
|
|
248
|
+
parent_folder_id?: string | undefined;
|
|
249
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
185
250
|
}>]>;
|
|
186
251
|
declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
|
|
187
252
|
operation: z.ZodLiteral<"upload_file">;
|
|
@@ -208,8 +273,8 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
208
273
|
emailAddress?: string | undefined;
|
|
209
274
|
}>, "many">>;
|
|
210
275
|
}, "strip", z.ZodTypeAny, {
|
|
211
|
-
mimeType: string;
|
|
212
276
|
name: string;
|
|
277
|
+
mimeType: string;
|
|
213
278
|
id: string;
|
|
214
279
|
size?: string | undefined;
|
|
215
280
|
createdTime?: string | undefined;
|
|
@@ -223,8 +288,8 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
223
288
|
emailAddress?: string | undefined;
|
|
224
289
|
}[] | undefined;
|
|
225
290
|
}, {
|
|
226
|
-
mimeType: string;
|
|
227
291
|
name: string;
|
|
292
|
+
mimeType: string;
|
|
228
293
|
id: string;
|
|
229
294
|
size?: string | undefined;
|
|
230
295
|
createdTime?: string | undefined;
|
|
@@ -240,12 +305,12 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
240
305
|
}>>;
|
|
241
306
|
error: z.ZodString;
|
|
242
307
|
}, "strip", z.ZodTypeAny, {
|
|
243
|
-
error: string;
|
|
244
|
-
success: boolean;
|
|
245
308
|
operation: "upload_file";
|
|
309
|
+
success: boolean;
|
|
310
|
+
error: string;
|
|
246
311
|
file?: {
|
|
247
|
-
mimeType: string;
|
|
248
312
|
name: string;
|
|
313
|
+
mimeType: string;
|
|
249
314
|
id: string;
|
|
250
315
|
size?: string | undefined;
|
|
251
316
|
createdTime?: string | undefined;
|
|
@@ -260,12 +325,12 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
260
325
|
}[] | undefined;
|
|
261
326
|
} | undefined;
|
|
262
327
|
}, {
|
|
263
|
-
error: string;
|
|
264
|
-
success: boolean;
|
|
265
328
|
operation: "upload_file";
|
|
329
|
+
success: boolean;
|
|
330
|
+
error: string;
|
|
266
331
|
file?: {
|
|
267
|
-
mimeType: string;
|
|
268
332
|
name: string;
|
|
333
|
+
mimeType: string;
|
|
269
334
|
id: string;
|
|
270
335
|
size?: string | undefined;
|
|
271
336
|
createdTime?: string | undefined;
|
|
@@ -287,18 +352,18 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
287
352
|
mimeType: z.ZodOptional<z.ZodString>;
|
|
288
353
|
error: z.ZodString;
|
|
289
354
|
}, "strip", z.ZodTypeAny, {
|
|
290
|
-
error: string;
|
|
291
|
-
success: boolean;
|
|
292
355
|
operation: "download_file";
|
|
293
|
-
|
|
356
|
+
success: boolean;
|
|
357
|
+
error: string;
|
|
294
358
|
content?: string | undefined;
|
|
359
|
+
mimeType?: string | undefined;
|
|
295
360
|
filename?: string | undefined;
|
|
296
361
|
}, {
|
|
297
|
-
error: string;
|
|
298
|
-
success: boolean;
|
|
299
362
|
operation: "download_file";
|
|
300
|
-
|
|
363
|
+
success: boolean;
|
|
364
|
+
error: string;
|
|
301
365
|
content?: string | undefined;
|
|
366
|
+
mimeType?: string | undefined;
|
|
302
367
|
filename?: string | undefined;
|
|
303
368
|
}>, z.ZodObject<{
|
|
304
369
|
operation: z.ZodLiteral<"list_files">;
|
|
@@ -325,8 +390,8 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
325
390
|
emailAddress?: string | undefined;
|
|
326
391
|
}>, "many">>;
|
|
327
392
|
}, "strip", z.ZodTypeAny, {
|
|
328
|
-
mimeType: string;
|
|
329
393
|
name: string;
|
|
394
|
+
mimeType: string;
|
|
330
395
|
id: string;
|
|
331
396
|
size?: string | undefined;
|
|
332
397
|
createdTime?: string | undefined;
|
|
@@ -340,8 +405,8 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
340
405
|
emailAddress?: string | undefined;
|
|
341
406
|
}[] | undefined;
|
|
342
407
|
}, {
|
|
343
|
-
mimeType: string;
|
|
344
408
|
name: string;
|
|
409
|
+
mimeType: string;
|
|
345
410
|
id: string;
|
|
346
411
|
size?: string | undefined;
|
|
347
412
|
createdTime?: string | undefined;
|
|
@@ -359,12 +424,12 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
359
424
|
next_page_token: z.ZodOptional<z.ZodString>;
|
|
360
425
|
error: z.ZodString;
|
|
361
426
|
}, "strip", z.ZodTypeAny, {
|
|
362
|
-
error: string;
|
|
363
|
-
success: boolean;
|
|
364
427
|
operation: "list_files";
|
|
428
|
+
success: boolean;
|
|
429
|
+
error: string;
|
|
365
430
|
files?: {
|
|
366
|
-
mimeType: string;
|
|
367
431
|
name: string;
|
|
432
|
+
mimeType: string;
|
|
368
433
|
id: string;
|
|
369
434
|
size?: string | undefined;
|
|
370
435
|
createdTime?: string | undefined;
|
|
@@ -381,12 +446,12 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
381
446
|
total_count?: number | undefined;
|
|
382
447
|
next_page_token?: string | undefined;
|
|
383
448
|
}, {
|
|
384
|
-
error: string;
|
|
385
|
-
success: boolean;
|
|
386
449
|
operation: "list_files";
|
|
450
|
+
success: boolean;
|
|
451
|
+
error: string;
|
|
387
452
|
files?: {
|
|
388
|
-
mimeType: string;
|
|
389
453
|
name: string;
|
|
454
|
+
mimeType: string;
|
|
390
455
|
id: string;
|
|
391
456
|
size?: string | undefined;
|
|
392
457
|
createdTime?: string | undefined;
|
|
@@ -423,9 +488,9 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
423
488
|
}>>;
|
|
424
489
|
error: z.ZodString;
|
|
425
490
|
}, "strip", z.ZodTypeAny, {
|
|
426
|
-
error: string;
|
|
427
|
-
success: boolean;
|
|
428
491
|
operation: "create_folder";
|
|
492
|
+
success: boolean;
|
|
493
|
+
error: string;
|
|
429
494
|
folder?: {
|
|
430
495
|
name: string;
|
|
431
496
|
id: string;
|
|
@@ -433,9 +498,9 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
433
498
|
parents?: string[] | undefined;
|
|
434
499
|
} | undefined;
|
|
435
500
|
}, {
|
|
436
|
-
error: string;
|
|
437
|
-
success: boolean;
|
|
438
501
|
operation: "create_folder";
|
|
502
|
+
success: boolean;
|
|
503
|
+
error: string;
|
|
439
504
|
folder?: {
|
|
440
505
|
name: string;
|
|
441
506
|
id: string;
|
|
@@ -448,14 +513,14 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
448
513
|
deleted_file_id: z.ZodOptional<z.ZodString>;
|
|
449
514
|
error: z.ZodString;
|
|
450
515
|
}, "strip", z.ZodTypeAny, {
|
|
451
|
-
error: string;
|
|
452
|
-
success: boolean;
|
|
453
516
|
operation: "delete_file";
|
|
517
|
+
success: boolean;
|
|
518
|
+
error: string;
|
|
454
519
|
deleted_file_id?: string | undefined;
|
|
455
520
|
}, {
|
|
456
|
-
error: string;
|
|
457
|
-
success: boolean;
|
|
458
521
|
operation: "delete_file";
|
|
522
|
+
success: boolean;
|
|
523
|
+
error: string;
|
|
459
524
|
deleted_file_id?: string | undefined;
|
|
460
525
|
}>, z.ZodObject<{
|
|
461
526
|
operation: z.ZodLiteral<"get_file_info">;
|
|
@@ -482,8 +547,8 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
482
547
|
emailAddress?: string | undefined;
|
|
483
548
|
}>, "many">>;
|
|
484
549
|
}, "strip", z.ZodTypeAny, {
|
|
485
|
-
mimeType: string;
|
|
486
550
|
name: string;
|
|
551
|
+
mimeType: string;
|
|
487
552
|
id: string;
|
|
488
553
|
size?: string | undefined;
|
|
489
554
|
createdTime?: string | undefined;
|
|
@@ -497,8 +562,8 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
497
562
|
emailAddress?: string | undefined;
|
|
498
563
|
}[] | undefined;
|
|
499
564
|
}, {
|
|
500
|
-
mimeType: string;
|
|
501
565
|
name: string;
|
|
566
|
+
mimeType: string;
|
|
502
567
|
id: string;
|
|
503
568
|
size?: string | undefined;
|
|
504
569
|
createdTime?: string | undefined;
|
|
@@ -520,25 +585,25 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
520
585
|
displayName: z.ZodOptional<z.ZodString>;
|
|
521
586
|
}, "strip", z.ZodTypeAny, {
|
|
522
587
|
type: string;
|
|
523
|
-
id: string;
|
|
524
588
|
role: string;
|
|
589
|
+
id: string;
|
|
525
590
|
displayName?: string | undefined;
|
|
526
591
|
emailAddress?: string | undefined;
|
|
527
592
|
}, {
|
|
528
593
|
type: string;
|
|
529
|
-
id: string;
|
|
530
594
|
role: string;
|
|
595
|
+
id: string;
|
|
531
596
|
displayName?: string | undefined;
|
|
532
597
|
emailAddress?: string | undefined;
|
|
533
598
|
}>, "many">>;
|
|
534
599
|
error: z.ZodString;
|
|
535
600
|
}, "strip", z.ZodTypeAny, {
|
|
536
|
-
error: string;
|
|
537
|
-
success: boolean;
|
|
538
601
|
operation: "get_file_info";
|
|
602
|
+
success: boolean;
|
|
603
|
+
error: string;
|
|
539
604
|
file?: {
|
|
540
|
-
mimeType: string;
|
|
541
605
|
name: string;
|
|
606
|
+
mimeType: string;
|
|
542
607
|
id: string;
|
|
543
608
|
size?: string | undefined;
|
|
544
609
|
createdTime?: string | undefined;
|
|
@@ -554,18 +619,18 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
554
619
|
} | undefined;
|
|
555
620
|
permissions?: {
|
|
556
621
|
type: string;
|
|
557
|
-
id: string;
|
|
558
622
|
role: string;
|
|
623
|
+
id: string;
|
|
559
624
|
displayName?: string | undefined;
|
|
560
625
|
emailAddress?: string | undefined;
|
|
561
626
|
}[] | undefined;
|
|
562
627
|
}, {
|
|
563
|
-
error: string;
|
|
564
|
-
success: boolean;
|
|
565
628
|
operation: "get_file_info";
|
|
629
|
+
success: boolean;
|
|
630
|
+
error: string;
|
|
566
631
|
file?: {
|
|
567
|
-
mimeType: string;
|
|
568
632
|
name: string;
|
|
633
|
+
mimeType: string;
|
|
569
634
|
id: string;
|
|
570
635
|
size?: string | undefined;
|
|
571
636
|
createdTime?: string | undefined;
|
|
@@ -581,8 +646,8 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
581
646
|
} | undefined;
|
|
582
647
|
permissions?: {
|
|
583
648
|
type: string;
|
|
584
|
-
id: string;
|
|
585
649
|
role: string;
|
|
650
|
+
id: string;
|
|
586
651
|
displayName?: string | undefined;
|
|
587
652
|
emailAddress?: string | undefined;
|
|
588
653
|
}[] | undefined;
|
|
@@ -593,15 +658,15 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
593
658
|
share_link: z.ZodOptional<z.ZodString>;
|
|
594
659
|
error: z.ZodString;
|
|
595
660
|
}, "strip", z.ZodTypeAny, {
|
|
596
|
-
error: string;
|
|
597
|
-
success: boolean;
|
|
598
661
|
operation: "share_file";
|
|
662
|
+
success: boolean;
|
|
663
|
+
error: string;
|
|
599
664
|
permission_id?: string | undefined;
|
|
600
665
|
share_link?: string | undefined;
|
|
601
666
|
}, {
|
|
602
|
-
error: string;
|
|
603
|
-
success: boolean;
|
|
604
667
|
operation: "share_file";
|
|
668
|
+
success: boolean;
|
|
669
|
+
error: string;
|
|
605
670
|
permission_id?: string | undefined;
|
|
606
671
|
share_link?: string | undefined;
|
|
607
672
|
}>, z.ZodObject<{
|
|
@@ -629,8 +694,8 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
629
694
|
emailAddress?: string | undefined;
|
|
630
695
|
}>, "many">>;
|
|
631
696
|
}, "strip", z.ZodTypeAny, {
|
|
632
|
-
mimeType: string;
|
|
633
697
|
name: string;
|
|
698
|
+
mimeType: string;
|
|
634
699
|
id: string;
|
|
635
700
|
size?: string | undefined;
|
|
636
701
|
createdTime?: string | undefined;
|
|
@@ -644,8 +709,8 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
644
709
|
emailAddress?: string | undefined;
|
|
645
710
|
}[] | undefined;
|
|
646
711
|
}, {
|
|
647
|
-
mimeType: string;
|
|
648
712
|
name: string;
|
|
713
|
+
mimeType: string;
|
|
649
714
|
id: string;
|
|
650
715
|
size?: string | undefined;
|
|
651
716
|
createdTime?: string | undefined;
|
|
@@ -661,12 +726,12 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
661
726
|
}>>;
|
|
662
727
|
error: z.ZodString;
|
|
663
728
|
}, "strip", z.ZodTypeAny, {
|
|
664
|
-
error: string;
|
|
665
|
-
success: boolean;
|
|
666
729
|
operation: "move_file";
|
|
730
|
+
success: boolean;
|
|
731
|
+
error: string;
|
|
667
732
|
file?: {
|
|
668
|
-
mimeType: string;
|
|
669
733
|
name: string;
|
|
734
|
+
mimeType: string;
|
|
670
735
|
id: string;
|
|
671
736
|
size?: string | undefined;
|
|
672
737
|
createdTime?: string | undefined;
|
|
@@ -681,12 +746,12 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
681
746
|
}[] | undefined;
|
|
682
747
|
} | undefined;
|
|
683
748
|
}, {
|
|
684
|
-
error: string;
|
|
685
|
-
success: boolean;
|
|
686
749
|
operation: "move_file";
|
|
750
|
+
success: boolean;
|
|
751
|
+
error: string;
|
|
687
752
|
file?: {
|
|
688
|
-
mimeType: string;
|
|
689
753
|
name: string;
|
|
754
|
+
mimeType: string;
|
|
690
755
|
id: string;
|
|
691
756
|
size?: string | undefined;
|
|
692
757
|
createdTime?: string | undefined;
|
|
@@ -729,11 +794,27 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
729
794
|
lists: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
730
795
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
731
796
|
plainText: z.ZodOptional<z.ZodString>;
|
|
797
|
+
tabs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
798
|
+
tabId: z.ZodString;
|
|
799
|
+
title: z.ZodString;
|
|
800
|
+
index: z.ZodNumber;
|
|
801
|
+
plainText: z.ZodOptional<z.ZodString>;
|
|
802
|
+
}, "strip", z.ZodTypeAny, {
|
|
803
|
+
title: string;
|
|
804
|
+
tabId: string;
|
|
805
|
+
index: number;
|
|
806
|
+
plainText?: string | undefined;
|
|
807
|
+
}, {
|
|
808
|
+
title: string;
|
|
809
|
+
tabId: string;
|
|
810
|
+
index: number;
|
|
811
|
+
plainText?: string | undefined;
|
|
812
|
+
}>, "many">>;
|
|
732
813
|
error: z.ZodString;
|
|
733
814
|
}, "strip", z.ZodTypeAny, {
|
|
734
|
-
error: string;
|
|
735
|
-
success: boolean;
|
|
736
815
|
operation: "get_doc";
|
|
816
|
+
success: boolean;
|
|
817
|
+
error: string;
|
|
737
818
|
document?: z.objectOutputType<{
|
|
738
819
|
documentId: z.ZodString;
|
|
739
820
|
title: z.ZodString;
|
|
@@ -744,10 +825,16 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
744
825
|
lists: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
745
826
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
746
827
|
plainText?: string | undefined;
|
|
828
|
+
tabs?: {
|
|
829
|
+
title: string;
|
|
830
|
+
tabId: string;
|
|
831
|
+
index: number;
|
|
832
|
+
plainText?: string | undefined;
|
|
833
|
+
}[] | undefined;
|
|
747
834
|
}, {
|
|
748
|
-
error: string;
|
|
749
|
-
success: boolean;
|
|
750
835
|
operation: "get_doc";
|
|
836
|
+
success: boolean;
|
|
837
|
+
error: string;
|
|
751
838
|
document?: z.objectInputType<{
|
|
752
839
|
documentId: z.ZodString;
|
|
753
840
|
title: z.ZodString;
|
|
@@ -758,6 +845,12 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
758
845
|
lists: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
759
846
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
760
847
|
plainText?: string | undefined;
|
|
848
|
+
tabs?: {
|
|
849
|
+
title: string;
|
|
850
|
+
tabId: string;
|
|
851
|
+
index: number;
|
|
852
|
+
plainText?: string | undefined;
|
|
853
|
+
}[] | undefined;
|
|
761
854
|
}>, z.ZodObject<{
|
|
762
855
|
operation: z.ZodLiteral<"update_doc">;
|
|
763
856
|
success: z.ZodBoolean;
|
|
@@ -765,17 +858,50 @@ declare const GoogleDriveResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Z
|
|
|
765
858
|
revisionId: z.ZodOptional<z.ZodString>;
|
|
766
859
|
error: z.ZodString;
|
|
767
860
|
}, "strip", z.ZodTypeAny, {
|
|
768
|
-
error: string;
|
|
769
|
-
success: boolean;
|
|
770
861
|
operation: "update_doc";
|
|
862
|
+
success: boolean;
|
|
863
|
+
error: string;
|
|
771
864
|
documentId?: string | undefined;
|
|
772
865
|
revisionId?: string | undefined;
|
|
773
866
|
}, {
|
|
774
|
-
error: string;
|
|
775
|
-
success: boolean;
|
|
776
867
|
operation: "update_doc";
|
|
868
|
+
success: boolean;
|
|
869
|
+
error: string;
|
|
777
870
|
documentId?: string | undefined;
|
|
778
871
|
revisionId?: string | undefined;
|
|
872
|
+
}>, z.ZodObject<{
|
|
873
|
+
operation: z.ZodLiteral<"replace_text">;
|
|
874
|
+
success: z.ZodBoolean;
|
|
875
|
+
replacements_made: z.ZodOptional<z.ZodNumber>;
|
|
876
|
+
error: z.ZodString;
|
|
877
|
+
}, "strip", z.ZodTypeAny, {
|
|
878
|
+
operation: "replace_text";
|
|
879
|
+
success: boolean;
|
|
880
|
+
error: string;
|
|
881
|
+
replacements_made?: number | undefined;
|
|
882
|
+
}, {
|
|
883
|
+
operation: "replace_text";
|
|
884
|
+
success: boolean;
|
|
885
|
+
error: string;
|
|
886
|
+
replacements_made?: number | undefined;
|
|
887
|
+
}>, z.ZodObject<{
|
|
888
|
+
operation: z.ZodLiteral<"copy_doc">;
|
|
889
|
+
success: z.ZodBoolean;
|
|
890
|
+
new_document_id: z.ZodOptional<z.ZodString>;
|
|
891
|
+
new_document_url: z.ZodOptional<z.ZodString>;
|
|
892
|
+
error: z.ZodString;
|
|
893
|
+
}, "strip", z.ZodTypeAny, {
|
|
894
|
+
operation: "copy_doc";
|
|
895
|
+
success: boolean;
|
|
896
|
+
error: string;
|
|
897
|
+
new_document_id?: string | undefined;
|
|
898
|
+
new_document_url?: string | undefined;
|
|
899
|
+
}, {
|
|
900
|
+
operation: "copy_doc";
|
|
901
|
+
success: boolean;
|
|
902
|
+
error: string;
|
|
903
|
+
new_document_id?: string | undefined;
|
|
904
|
+
new_document_url?: string | undefined;
|
|
779
905
|
}>]>;
|
|
780
906
|
type GoogleDriveResult = z.output<typeof GoogleDriveResultSchema>;
|
|
781
907
|
type GoogleDriveParams = z.input<typeof GoogleDriveParamsSchema>;
|
|
@@ -799,21 +925,21 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
799
925
|
convert_to_google_docs: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
800
926
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
801
927
|
}, "strip", z.ZodTypeAny, {
|
|
928
|
+
operation: "upload_file";
|
|
802
929
|
name: string;
|
|
803
930
|
content: string;
|
|
804
|
-
operation: "upload_file";
|
|
805
931
|
convert_to_google_docs: boolean;
|
|
806
932
|
mimeType?: string | undefined;
|
|
807
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
808
933
|
parent_folder_id?: string | undefined;
|
|
934
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
809
935
|
}, {
|
|
936
|
+
operation: "upload_file";
|
|
810
937
|
name: string;
|
|
811
938
|
content: string;
|
|
812
|
-
operation: "upload_file";
|
|
813
939
|
mimeType?: string | undefined;
|
|
814
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
815
940
|
parent_folder_id?: string | undefined;
|
|
816
941
|
convert_to_google_docs?: boolean | undefined;
|
|
942
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
817
943
|
}>, z.ZodObject<{
|
|
818
944
|
operation: z.ZodLiteral<"download_file">;
|
|
819
945
|
file_id: z.ZodString;
|
|
@@ -843,13 +969,13 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
843
969
|
include_folders: boolean;
|
|
844
970
|
order_by: string;
|
|
845
971
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
846
|
-
query?: string | undefined;
|
|
847
972
|
folder_id?: string | undefined;
|
|
973
|
+
query?: string | undefined;
|
|
848
974
|
}, {
|
|
849
975
|
operation: "list_files";
|
|
850
976
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
851
|
-
query?: string | undefined;
|
|
852
977
|
folder_id?: string | undefined;
|
|
978
|
+
query?: string | undefined;
|
|
853
979
|
max_results?: number | undefined;
|
|
854
980
|
include_folders?: boolean | undefined;
|
|
855
981
|
order_by?: string | undefined;
|
|
@@ -859,15 +985,15 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
859
985
|
parent_folder_id: z.ZodOptional<z.ZodString>;
|
|
860
986
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
861
987
|
}, "strip", z.ZodTypeAny, {
|
|
862
|
-
name: string;
|
|
863
988
|
operation: "create_folder";
|
|
864
|
-
|
|
989
|
+
name: string;
|
|
865
990
|
parent_folder_id?: string | undefined;
|
|
991
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
866
992
|
}, {
|
|
867
|
-
name: string;
|
|
868
993
|
operation: "create_folder";
|
|
869
|
-
|
|
994
|
+
name: string;
|
|
870
995
|
parent_folder_id?: string | undefined;
|
|
996
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
871
997
|
}>, z.ZodObject<{
|
|
872
998
|
operation: z.ZodLiteral<"delete_file">;
|
|
873
999
|
file_id: z.ZodString;
|
|
@@ -907,10 +1033,10 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
907
1033
|
send_notification: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
908
1034
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
909
1035
|
}, "strip", z.ZodTypeAny, {
|
|
910
|
-
type: "user" | "group" | "domain" | "anyone";
|
|
911
1036
|
operation: "share_file";
|
|
1037
|
+
type: "user" | "group" | "domain" | "anyone";
|
|
912
1038
|
file_id: string;
|
|
913
|
-
role: "
|
|
1039
|
+
role: "reader" | "writer" | "commenter" | "owner";
|
|
914
1040
|
send_notification: boolean;
|
|
915
1041
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
916
1042
|
email_address?: string | undefined;
|
|
@@ -920,7 +1046,7 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
920
1046
|
type?: "user" | "group" | "domain" | "anyone" | undefined;
|
|
921
1047
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
922
1048
|
email_address?: string | undefined;
|
|
923
|
-
role?: "
|
|
1049
|
+
role?: "reader" | "writer" | "commenter" | "owner" | undefined;
|
|
924
1050
|
send_notification?: boolean | undefined;
|
|
925
1051
|
}>, z.ZodObject<{
|
|
926
1052
|
operation: z.ZodLiteral<"move_file">;
|
|
@@ -943,33 +1069,98 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
943
1069
|
}>, z.ZodObject<{
|
|
944
1070
|
operation: z.ZodLiteral<"get_doc">;
|
|
945
1071
|
document_id: z.ZodString;
|
|
1072
|
+
tab_id: z.ZodOptional<z.ZodString>;
|
|
1073
|
+
include_all_tabs: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
946
1074
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
947
1075
|
}, "strip", z.ZodTypeAny, {
|
|
948
1076
|
operation: "get_doc";
|
|
949
1077
|
document_id: string;
|
|
1078
|
+
include_all_tabs: boolean;
|
|
950
1079
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
1080
|
+
tab_id?: string | undefined;
|
|
951
1081
|
}, {
|
|
952
1082
|
operation: "get_doc";
|
|
953
1083
|
document_id: string;
|
|
954
1084
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
1085
|
+
tab_id?: string | undefined;
|
|
1086
|
+
include_all_tabs?: boolean | undefined;
|
|
955
1087
|
}>, z.ZodObject<{
|
|
956
1088
|
operation: z.ZodLiteral<"update_doc">;
|
|
957
1089
|
document_id: z.ZodString;
|
|
958
1090
|
content: z.ZodString;
|
|
959
1091
|
mode: z.ZodDefault<z.ZodOptional<z.ZodEnum<["replace", "append"]>>>;
|
|
1092
|
+
tab_id: z.ZodOptional<z.ZodString>;
|
|
960
1093
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
961
1094
|
}, "strip", z.ZodTypeAny, {
|
|
962
|
-
content: string;
|
|
963
1095
|
operation: "update_doc";
|
|
964
|
-
|
|
1096
|
+
content: string;
|
|
965
1097
|
document_id: string;
|
|
1098
|
+
mode: "replace" | "append";
|
|
966
1099
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
1100
|
+
tab_id?: string | undefined;
|
|
967
1101
|
}, {
|
|
968
|
-
content: string;
|
|
969
1102
|
operation: "update_doc";
|
|
1103
|
+
content: string;
|
|
970
1104
|
document_id: string;
|
|
971
1105
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
1106
|
+
tab_id?: string | undefined;
|
|
972
1107
|
mode?: "replace" | "append" | undefined;
|
|
1108
|
+
}>, z.ZodObject<{
|
|
1109
|
+
operation: z.ZodLiteral<"replace_text">;
|
|
1110
|
+
document_id: z.ZodString;
|
|
1111
|
+
replacements: z.ZodArray<z.ZodObject<{
|
|
1112
|
+
find: z.ZodString;
|
|
1113
|
+
replace: z.ZodString;
|
|
1114
|
+
match_case: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1115
|
+
}, "strip", z.ZodTypeAny, {
|
|
1116
|
+
find: string;
|
|
1117
|
+
replace: string;
|
|
1118
|
+
match_case: boolean;
|
|
1119
|
+
}, {
|
|
1120
|
+
find: string;
|
|
1121
|
+
replace: string;
|
|
1122
|
+
match_case?: boolean | undefined;
|
|
1123
|
+
}>, "many">;
|
|
1124
|
+
tab_id: z.ZodOptional<z.ZodString>;
|
|
1125
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
1126
|
+
}, "strip", z.ZodTypeAny, {
|
|
1127
|
+
operation: "replace_text";
|
|
1128
|
+
document_id: string;
|
|
1129
|
+
replacements: {
|
|
1130
|
+
find: string;
|
|
1131
|
+
replace: string;
|
|
1132
|
+
match_case: boolean;
|
|
1133
|
+
}[];
|
|
1134
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
1135
|
+
tab_id?: string | undefined;
|
|
1136
|
+
}, {
|
|
1137
|
+
operation: "replace_text";
|
|
1138
|
+
document_id: string;
|
|
1139
|
+
replacements: {
|
|
1140
|
+
find: string;
|
|
1141
|
+
replace: string;
|
|
1142
|
+
match_case?: boolean | undefined;
|
|
1143
|
+
}[];
|
|
1144
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
1145
|
+
tab_id?: string | undefined;
|
|
1146
|
+
}>, z.ZodObject<{
|
|
1147
|
+
operation: z.ZodLiteral<"copy_doc">;
|
|
1148
|
+
document_id: z.ZodString;
|
|
1149
|
+
new_name: z.ZodString;
|
|
1150
|
+
parent_folder_id: z.ZodOptional<z.ZodString>;
|
|
1151
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
1152
|
+
}, "strip", z.ZodTypeAny, {
|
|
1153
|
+
operation: "copy_doc";
|
|
1154
|
+
document_id: string;
|
|
1155
|
+
new_name: string;
|
|
1156
|
+
parent_folder_id?: string | undefined;
|
|
1157
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
1158
|
+
}, {
|
|
1159
|
+
operation: "copy_doc";
|
|
1160
|
+
document_id: string;
|
|
1161
|
+
new_name: string;
|
|
1162
|
+
parent_folder_id?: string | undefined;
|
|
1163
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
973
1164
|
}>]>;
|
|
974
1165
|
static readonly resultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
|
|
975
1166
|
operation: z.ZodLiteral<"upload_file">;
|
|
@@ -996,8 +1187,8 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
996
1187
|
emailAddress?: string | undefined;
|
|
997
1188
|
}>, "many">>;
|
|
998
1189
|
}, "strip", z.ZodTypeAny, {
|
|
999
|
-
mimeType: string;
|
|
1000
1190
|
name: string;
|
|
1191
|
+
mimeType: string;
|
|
1001
1192
|
id: string;
|
|
1002
1193
|
size?: string | undefined;
|
|
1003
1194
|
createdTime?: string | undefined;
|
|
@@ -1011,8 +1202,8 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1011
1202
|
emailAddress?: string | undefined;
|
|
1012
1203
|
}[] | undefined;
|
|
1013
1204
|
}, {
|
|
1014
|
-
mimeType: string;
|
|
1015
1205
|
name: string;
|
|
1206
|
+
mimeType: string;
|
|
1016
1207
|
id: string;
|
|
1017
1208
|
size?: string | undefined;
|
|
1018
1209
|
createdTime?: string | undefined;
|
|
@@ -1028,12 +1219,12 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1028
1219
|
}>>;
|
|
1029
1220
|
error: z.ZodString;
|
|
1030
1221
|
}, "strip", z.ZodTypeAny, {
|
|
1031
|
-
error: string;
|
|
1032
|
-
success: boolean;
|
|
1033
1222
|
operation: "upload_file";
|
|
1223
|
+
success: boolean;
|
|
1224
|
+
error: string;
|
|
1034
1225
|
file?: {
|
|
1035
|
-
mimeType: string;
|
|
1036
1226
|
name: string;
|
|
1227
|
+
mimeType: string;
|
|
1037
1228
|
id: string;
|
|
1038
1229
|
size?: string | undefined;
|
|
1039
1230
|
createdTime?: string | undefined;
|
|
@@ -1048,12 +1239,12 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1048
1239
|
}[] | undefined;
|
|
1049
1240
|
} | undefined;
|
|
1050
1241
|
}, {
|
|
1051
|
-
error: string;
|
|
1052
|
-
success: boolean;
|
|
1053
1242
|
operation: "upload_file";
|
|
1243
|
+
success: boolean;
|
|
1244
|
+
error: string;
|
|
1054
1245
|
file?: {
|
|
1055
|
-
mimeType: string;
|
|
1056
1246
|
name: string;
|
|
1247
|
+
mimeType: string;
|
|
1057
1248
|
id: string;
|
|
1058
1249
|
size?: string | undefined;
|
|
1059
1250
|
createdTime?: string | undefined;
|
|
@@ -1075,18 +1266,18 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1075
1266
|
mimeType: z.ZodOptional<z.ZodString>;
|
|
1076
1267
|
error: z.ZodString;
|
|
1077
1268
|
}, "strip", z.ZodTypeAny, {
|
|
1078
|
-
error: string;
|
|
1079
|
-
success: boolean;
|
|
1080
1269
|
operation: "download_file";
|
|
1081
|
-
|
|
1270
|
+
success: boolean;
|
|
1271
|
+
error: string;
|
|
1082
1272
|
content?: string | undefined;
|
|
1273
|
+
mimeType?: string | undefined;
|
|
1083
1274
|
filename?: string | undefined;
|
|
1084
1275
|
}, {
|
|
1085
|
-
error: string;
|
|
1086
|
-
success: boolean;
|
|
1087
1276
|
operation: "download_file";
|
|
1088
|
-
|
|
1277
|
+
success: boolean;
|
|
1278
|
+
error: string;
|
|
1089
1279
|
content?: string | undefined;
|
|
1280
|
+
mimeType?: string | undefined;
|
|
1090
1281
|
filename?: string | undefined;
|
|
1091
1282
|
}>, z.ZodObject<{
|
|
1092
1283
|
operation: z.ZodLiteral<"list_files">;
|
|
@@ -1113,8 +1304,8 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1113
1304
|
emailAddress?: string | undefined;
|
|
1114
1305
|
}>, "many">>;
|
|
1115
1306
|
}, "strip", z.ZodTypeAny, {
|
|
1116
|
-
mimeType: string;
|
|
1117
1307
|
name: string;
|
|
1308
|
+
mimeType: string;
|
|
1118
1309
|
id: string;
|
|
1119
1310
|
size?: string | undefined;
|
|
1120
1311
|
createdTime?: string | undefined;
|
|
@@ -1128,8 +1319,8 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1128
1319
|
emailAddress?: string | undefined;
|
|
1129
1320
|
}[] | undefined;
|
|
1130
1321
|
}, {
|
|
1131
|
-
mimeType: string;
|
|
1132
1322
|
name: string;
|
|
1323
|
+
mimeType: string;
|
|
1133
1324
|
id: string;
|
|
1134
1325
|
size?: string | undefined;
|
|
1135
1326
|
createdTime?: string | undefined;
|
|
@@ -1147,12 +1338,12 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1147
1338
|
next_page_token: z.ZodOptional<z.ZodString>;
|
|
1148
1339
|
error: z.ZodString;
|
|
1149
1340
|
}, "strip", z.ZodTypeAny, {
|
|
1150
|
-
error: string;
|
|
1151
|
-
success: boolean;
|
|
1152
1341
|
operation: "list_files";
|
|
1342
|
+
success: boolean;
|
|
1343
|
+
error: string;
|
|
1153
1344
|
files?: {
|
|
1154
|
-
mimeType: string;
|
|
1155
1345
|
name: string;
|
|
1346
|
+
mimeType: string;
|
|
1156
1347
|
id: string;
|
|
1157
1348
|
size?: string | undefined;
|
|
1158
1349
|
createdTime?: string | undefined;
|
|
@@ -1169,12 +1360,12 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1169
1360
|
total_count?: number | undefined;
|
|
1170
1361
|
next_page_token?: string | undefined;
|
|
1171
1362
|
}, {
|
|
1172
|
-
error: string;
|
|
1173
|
-
success: boolean;
|
|
1174
1363
|
operation: "list_files";
|
|
1364
|
+
success: boolean;
|
|
1365
|
+
error: string;
|
|
1175
1366
|
files?: {
|
|
1176
|
-
mimeType: string;
|
|
1177
1367
|
name: string;
|
|
1368
|
+
mimeType: string;
|
|
1178
1369
|
id: string;
|
|
1179
1370
|
size?: string | undefined;
|
|
1180
1371
|
createdTime?: string | undefined;
|
|
@@ -1211,9 +1402,9 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1211
1402
|
}>>;
|
|
1212
1403
|
error: z.ZodString;
|
|
1213
1404
|
}, "strip", z.ZodTypeAny, {
|
|
1214
|
-
error: string;
|
|
1215
|
-
success: boolean;
|
|
1216
1405
|
operation: "create_folder";
|
|
1406
|
+
success: boolean;
|
|
1407
|
+
error: string;
|
|
1217
1408
|
folder?: {
|
|
1218
1409
|
name: string;
|
|
1219
1410
|
id: string;
|
|
@@ -1221,9 +1412,9 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1221
1412
|
parents?: string[] | undefined;
|
|
1222
1413
|
} | undefined;
|
|
1223
1414
|
}, {
|
|
1224
|
-
error: string;
|
|
1225
|
-
success: boolean;
|
|
1226
1415
|
operation: "create_folder";
|
|
1416
|
+
success: boolean;
|
|
1417
|
+
error: string;
|
|
1227
1418
|
folder?: {
|
|
1228
1419
|
name: string;
|
|
1229
1420
|
id: string;
|
|
@@ -1236,14 +1427,14 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1236
1427
|
deleted_file_id: z.ZodOptional<z.ZodString>;
|
|
1237
1428
|
error: z.ZodString;
|
|
1238
1429
|
}, "strip", z.ZodTypeAny, {
|
|
1239
|
-
error: string;
|
|
1240
|
-
success: boolean;
|
|
1241
1430
|
operation: "delete_file";
|
|
1431
|
+
success: boolean;
|
|
1432
|
+
error: string;
|
|
1242
1433
|
deleted_file_id?: string | undefined;
|
|
1243
1434
|
}, {
|
|
1244
|
-
error: string;
|
|
1245
|
-
success: boolean;
|
|
1246
1435
|
operation: "delete_file";
|
|
1436
|
+
success: boolean;
|
|
1437
|
+
error: string;
|
|
1247
1438
|
deleted_file_id?: string | undefined;
|
|
1248
1439
|
}>, z.ZodObject<{
|
|
1249
1440
|
operation: z.ZodLiteral<"get_file_info">;
|
|
@@ -1270,8 +1461,8 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1270
1461
|
emailAddress?: string | undefined;
|
|
1271
1462
|
}>, "many">>;
|
|
1272
1463
|
}, "strip", z.ZodTypeAny, {
|
|
1273
|
-
mimeType: string;
|
|
1274
1464
|
name: string;
|
|
1465
|
+
mimeType: string;
|
|
1275
1466
|
id: string;
|
|
1276
1467
|
size?: string | undefined;
|
|
1277
1468
|
createdTime?: string | undefined;
|
|
@@ -1285,8 +1476,8 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1285
1476
|
emailAddress?: string | undefined;
|
|
1286
1477
|
}[] | undefined;
|
|
1287
1478
|
}, {
|
|
1288
|
-
mimeType: string;
|
|
1289
1479
|
name: string;
|
|
1480
|
+
mimeType: string;
|
|
1290
1481
|
id: string;
|
|
1291
1482
|
size?: string | undefined;
|
|
1292
1483
|
createdTime?: string | undefined;
|
|
@@ -1308,25 +1499,25 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1308
1499
|
displayName: z.ZodOptional<z.ZodString>;
|
|
1309
1500
|
}, "strip", z.ZodTypeAny, {
|
|
1310
1501
|
type: string;
|
|
1311
|
-
id: string;
|
|
1312
1502
|
role: string;
|
|
1503
|
+
id: string;
|
|
1313
1504
|
displayName?: string | undefined;
|
|
1314
1505
|
emailAddress?: string | undefined;
|
|
1315
1506
|
}, {
|
|
1316
1507
|
type: string;
|
|
1317
|
-
id: string;
|
|
1318
1508
|
role: string;
|
|
1509
|
+
id: string;
|
|
1319
1510
|
displayName?: string | undefined;
|
|
1320
1511
|
emailAddress?: string | undefined;
|
|
1321
1512
|
}>, "many">>;
|
|
1322
1513
|
error: z.ZodString;
|
|
1323
1514
|
}, "strip", z.ZodTypeAny, {
|
|
1324
|
-
error: string;
|
|
1325
|
-
success: boolean;
|
|
1326
1515
|
operation: "get_file_info";
|
|
1516
|
+
success: boolean;
|
|
1517
|
+
error: string;
|
|
1327
1518
|
file?: {
|
|
1328
|
-
mimeType: string;
|
|
1329
1519
|
name: string;
|
|
1520
|
+
mimeType: string;
|
|
1330
1521
|
id: string;
|
|
1331
1522
|
size?: string | undefined;
|
|
1332
1523
|
createdTime?: string | undefined;
|
|
@@ -1342,18 +1533,18 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1342
1533
|
} | undefined;
|
|
1343
1534
|
permissions?: {
|
|
1344
1535
|
type: string;
|
|
1345
|
-
id: string;
|
|
1346
1536
|
role: string;
|
|
1537
|
+
id: string;
|
|
1347
1538
|
displayName?: string | undefined;
|
|
1348
1539
|
emailAddress?: string | undefined;
|
|
1349
1540
|
}[] | undefined;
|
|
1350
1541
|
}, {
|
|
1351
|
-
error: string;
|
|
1352
|
-
success: boolean;
|
|
1353
1542
|
operation: "get_file_info";
|
|
1543
|
+
success: boolean;
|
|
1544
|
+
error: string;
|
|
1354
1545
|
file?: {
|
|
1355
|
-
mimeType: string;
|
|
1356
1546
|
name: string;
|
|
1547
|
+
mimeType: string;
|
|
1357
1548
|
id: string;
|
|
1358
1549
|
size?: string | undefined;
|
|
1359
1550
|
createdTime?: string | undefined;
|
|
@@ -1369,8 +1560,8 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1369
1560
|
} | undefined;
|
|
1370
1561
|
permissions?: {
|
|
1371
1562
|
type: string;
|
|
1372
|
-
id: string;
|
|
1373
1563
|
role: string;
|
|
1564
|
+
id: string;
|
|
1374
1565
|
displayName?: string | undefined;
|
|
1375
1566
|
emailAddress?: string | undefined;
|
|
1376
1567
|
}[] | undefined;
|
|
@@ -1381,15 +1572,15 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1381
1572
|
share_link: z.ZodOptional<z.ZodString>;
|
|
1382
1573
|
error: z.ZodString;
|
|
1383
1574
|
}, "strip", z.ZodTypeAny, {
|
|
1384
|
-
error: string;
|
|
1385
|
-
success: boolean;
|
|
1386
1575
|
operation: "share_file";
|
|
1576
|
+
success: boolean;
|
|
1577
|
+
error: string;
|
|
1387
1578
|
permission_id?: string | undefined;
|
|
1388
1579
|
share_link?: string | undefined;
|
|
1389
1580
|
}, {
|
|
1390
|
-
error: string;
|
|
1391
|
-
success: boolean;
|
|
1392
1581
|
operation: "share_file";
|
|
1582
|
+
success: boolean;
|
|
1583
|
+
error: string;
|
|
1393
1584
|
permission_id?: string | undefined;
|
|
1394
1585
|
share_link?: string | undefined;
|
|
1395
1586
|
}>, z.ZodObject<{
|
|
@@ -1417,8 +1608,8 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1417
1608
|
emailAddress?: string | undefined;
|
|
1418
1609
|
}>, "many">>;
|
|
1419
1610
|
}, "strip", z.ZodTypeAny, {
|
|
1420
|
-
mimeType: string;
|
|
1421
1611
|
name: string;
|
|
1612
|
+
mimeType: string;
|
|
1422
1613
|
id: string;
|
|
1423
1614
|
size?: string | undefined;
|
|
1424
1615
|
createdTime?: string | undefined;
|
|
@@ -1432,8 +1623,8 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1432
1623
|
emailAddress?: string | undefined;
|
|
1433
1624
|
}[] | undefined;
|
|
1434
1625
|
}, {
|
|
1435
|
-
mimeType: string;
|
|
1436
1626
|
name: string;
|
|
1627
|
+
mimeType: string;
|
|
1437
1628
|
id: string;
|
|
1438
1629
|
size?: string | undefined;
|
|
1439
1630
|
createdTime?: string | undefined;
|
|
@@ -1449,12 +1640,12 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1449
1640
|
}>>;
|
|
1450
1641
|
error: z.ZodString;
|
|
1451
1642
|
}, "strip", z.ZodTypeAny, {
|
|
1452
|
-
error: string;
|
|
1453
|
-
success: boolean;
|
|
1454
1643
|
operation: "move_file";
|
|
1644
|
+
success: boolean;
|
|
1645
|
+
error: string;
|
|
1455
1646
|
file?: {
|
|
1456
|
-
mimeType: string;
|
|
1457
1647
|
name: string;
|
|
1648
|
+
mimeType: string;
|
|
1458
1649
|
id: string;
|
|
1459
1650
|
size?: string | undefined;
|
|
1460
1651
|
createdTime?: string | undefined;
|
|
@@ -1469,12 +1660,12 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1469
1660
|
}[] | undefined;
|
|
1470
1661
|
} | undefined;
|
|
1471
1662
|
}, {
|
|
1472
|
-
error: string;
|
|
1473
|
-
success: boolean;
|
|
1474
1663
|
operation: "move_file";
|
|
1664
|
+
success: boolean;
|
|
1665
|
+
error: string;
|
|
1475
1666
|
file?: {
|
|
1476
|
-
mimeType: string;
|
|
1477
1667
|
name: string;
|
|
1668
|
+
mimeType: string;
|
|
1478
1669
|
id: string;
|
|
1479
1670
|
size?: string | undefined;
|
|
1480
1671
|
createdTime?: string | undefined;
|
|
@@ -1517,11 +1708,27 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1517
1708
|
lists: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1518
1709
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
1519
1710
|
plainText: z.ZodOptional<z.ZodString>;
|
|
1711
|
+
tabs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1712
|
+
tabId: z.ZodString;
|
|
1713
|
+
title: z.ZodString;
|
|
1714
|
+
index: z.ZodNumber;
|
|
1715
|
+
plainText: z.ZodOptional<z.ZodString>;
|
|
1716
|
+
}, "strip", z.ZodTypeAny, {
|
|
1717
|
+
title: string;
|
|
1718
|
+
tabId: string;
|
|
1719
|
+
index: number;
|
|
1720
|
+
plainText?: string | undefined;
|
|
1721
|
+
}, {
|
|
1722
|
+
title: string;
|
|
1723
|
+
tabId: string;
|
|
1724
|
+
index: number;
|
|
1725
|
+
plainText?: string | undefined;
|
|
1726
|
+
}>, "many">>;
|
|
1520
1727
|
error: z.ZodString;
|
|
1521
1728
|
}, "strip", z.ZodTypeAny, {
|
|
1522
|
-
error: string;
|
|
1523
|
-
success: boolean;
|
|
1524
1729
|
operation: "get_doc";
|
|
1730
|
+
success: boolean;
|
|
1731
|
+
error: string;
|
|
1525
1732
|
document?: z.objectOutputType<{
|
|
1526
1733
|
documentId: z.ZodString;
|
|
1527
1734
|
title: z.ZodString;
|
|
@@ -1532,10 +1739,16 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1532
1739
|
lists: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1533
1740
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1534
1741
|
plainText?: string | undefined;
|
|
1742
|
+
tabs?: {
|
|
1743
|
+
title: string;
|
|
1744
|
+
tabId: string;
|
|
1745
|
+
index: number;
|
|
1746
|
+
plainText?: string | undefined;
|
|
1747
|
+
}[] | undefined;
|
|
1535
1748
|
}, {
|
|
1536
|
-
error: string;
|
|
1537
|
-
success: boolean;
|
|
1538
1749
|
operation: "get_doc";
|
|
1750
|
+
success: boolean;
|
|
1751
|
+
error: string;
|
|
1539
1752
|
document?: z.objectInputType<{
|
|
1540
1753
|
documentId: z.ZodString;
|
|
1541
1754
|
title: z.ZodString;
|
|
@@ -1546,6 +1759,12 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1546
1759
|
lists: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1547
1760
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
1548
1761
|
plainText?: string | undefined;
|
|
1762
|
+
tabs?: {
|
|
1763
|
+
title: string;
|
|
1764
|
+
tabId: string;
|
|
1765
|
+
index: number;
|
|
1766
|
+
plainText?: string | undefined;
|
|
1767
|
+
}[] | undefined;
|
|
1549
1768
|
}>, z.ZodObject<{
|
|
1550
1769
|
operation: z.ZodLiteral<"update_doc">;
|
|
1551
1770
|
success: z.ZodBoolean;
|
|
@@ -1553,17 +1772,50 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1553
1772
|
revisionId: z.ZodOptional<z.ZodString>;
|
|
1554
1773
|
error: z.ZodString;
|
|
1555
1774
|
}, "strip", z.ZodTypeAny, {
|
|
1556
|
-
error: string;
|
|
1557
|
-
success: boolean;
|
|
1558
1775
|
operation: "update_doc";
|
|
1776
|
+
success: boolean;
|
|
1777
|
+
error: string;
|
|
1559
1778
|
documentId?: string | undefined;
|
|
1560
1779
|
revisionId?: string | undefined;
|
|
1561
1780
|
}, {
|
|
1562
|
-
error: string;
|
|
1563
|
-
success: boolean;
|
|
1564
1781
|
operation: "update_doc";
|
|
1782
|
+
success: boolean;
|
|
1783
|
+
error: string;
|
|
1565
1784
|
documentId?: string | undefined;
|
|
1566
1785
|
revisionId?: string | undefined;
|
|
1786
|
+
}>, z.ZodObject<{
|
|
1787
|
+
operation: z.ZodLiteral<"replace_text">;
|
|
1788
|
+
success: z.ZodBoolean;
|
|
1789
|
+
replacements_made: z.ZodOptional<z.ZodNumber>;
|
|
1790
|
+
error: z.ZodString;
|
|
1791
|
+
}, "strip", z.ZodTypeAny, {
|
|
1792
|
+
operation: "replace_text";
|
|
1793
|
+
success: boolean;
|
|
1794
|
+
error: string;
|
|
1795
|
+
replacements_made?: number | undefined;
|
|
1796
|
+
}, {
|
|
1797
|
+
operation: "replace_text";
|
|
1798
|
+
success: boolean;
|
|
1799
|
+
error: string;
|
|
1800
|
+
replacements_made?: number | undefined;
|
|
1801
|
+
}>, z.ZodObject<{
|
|
1802
|
+
operation: z.ZodLiteral<"copy_doc">;
|
|
1803
|
+
success: z.ZodBoolean;
|
|
1804
|
+
new_document_id: z.ZodOptional<z.ZodString>;
|
|
1805
|
+
new_document_url: z.ZodOptional<z.ZodString>;
|
|
1806
|
+
error: z.ZodString;
|
|
1807
|
+
}, "strip", z.ZodTypeAny, {
|
|
1808
|
+
operation: "copy_doc";
|
|
1809
|
+
success: boolean;
|
|
1810
|
+
error: string;
|
|
1811
|
+
new_document_id?: string | undefined;
|
|
1812
|
+
new_document_url?: string | undefined;
|
|
1813
|
+
}, {
|
|
1814
|
+
operation: "copy_doc";
|
|
1815
|
+
success: boolean;
|
|
1816
|
+
error: string;
|
|
1817
|
+
new_document_id?: string | undefined;
|
|
1818
|
+
new_document_url?: string | undefined;
|
|
1567
1819
|
}>]>;
|
|
1568
1820
|
static readonly shortDescription = "Google Drive integration for file management";
|
|
1569
1821
|
static readonly longDescription = "\n Google Drive service integration for comprehensive file and folder management.\n Use cases:\n - Upload files and documents to Google Drive\n - Download files with format conversion support\n - List and search files with advanced filtering\n - Create and organize folders\n - Share files and manage permissions\n - Get detailed file metadata and information\n \n Security Features:\n - OAuth 2.0 authentication with Google\n - Scoped access permissions\n - Secure file handling and validation\n - User-controlled sharing and permissions\n ";
|
|
@@ -1585,10 +1837,24 @@ export declare class GoogleDriveBubble<T extends GoogleDriveParams = GoogleDrive
|
|
|
1585
1837
|
private moveFile;
|
|
1586
1838
|
private getDoc;
|
|
1587
1839
|
private updateDoc;
|
|
1840
|
+
/**
|
|
1841
|
+
* Adds tabId to range objects in formatting requests
|
|
1842
|
+
*/
|
|
1843
|
+
private addTabIdToRequest;
|
|
1844
|
+
private replaceText;
|
|
1845
|
+
private copyDoc;
|
|
1588
1846
|
/**
|
|
1589
1847
|
* Extracts plain text content from a Google Docs document body
|
|
1590
1848
|
*/
|
|
1591
1849
|
private extractPlainTextFromDoc;
|
|
1850
|
+
/**
|
|
1851
|
+
* Extracts plain text content from a Google Docs tab
|
|
1852
|
+
*/
|
|
1853
|
+
private extractPlainTextFromTab;
|
|
1854
|
+
/**
|
|
1855
|
+
* Extracts plain text from a content array
|
|
1856
|
+
*/
|
|
1857
|
+
private extractPlainTextFromContent;
|
|
1592
1858
|
private isBase64;
|
|
1593
1859
|
private extractBase64Content;
|
|
1594
1860
|
private findAndExtractBase64;
|