@bubblelab/bubble-core 0.1.203 → 0.1.205
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 +219 -219
- package/dist/bubbles/service-bubble/agi-inc.d.ts +112 -112
- package/dist/bubbles/service-bubble/ai-agent-slack-tools.d.ts +11 -0
- package/dist/bubbles/service-bubble/ai-agent-slack-tools.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/ai-agent-slack-tools.js +61 -0
- package/dist/bubbles/service-bubble/ai-agent-slack-tools.js.map +1 -0
- package/dist/bubbles/service-bubble/ai-agent.d.ts +17 -17
- package/dist/bubbles/service-bubble/ai-agent.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/ai-agent.js +12 -2
- package/dist/bubbles/service-bubble/ai-agent.js.map +1 -1
- package/dist/bubbles/service-bubble/airtable.d.ts +130 -130
- package/dist/bubbles/service-bubble/apify/apify.d.ts +16 -16
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts +160 -160
- package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +100 -100
- package/dist/bubbles/service-bubble/attio/attio.d.ts +64 -64
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +59 -59
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +2 -2
- package/dist/bubbles/service-bubble/confluence/confluence.d.ts +43 -43
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +94 -94
- package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +8 -8
- package/dist/bubbles/service-bubble/eleven-labs.d.ts +48 -48
- package/dist/bubbles/service-bubble/firecrawl.d.ts +326 -326
- package/dist/bubbles/service-bubble/followupboss.d.ts +256 -256
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +44 -44
- package/dist/bubbles/service-bubble/github.d.ts +114 -114
- package/dist/bubbles/service-bubble/gmail.d.ts +308 -308
- package/dist/bubbles/service-bubble/google-calendar.d.ts +132 -132
- package/dist/bubbles/service-bubble/google-drive.d.ts +150 -150
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +52 -52
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.js.map +1 -1
- package/dist/bubbles/service-bubble/hello-world.d.ts +4 -4
- package/dist/bubbles/service-bubble/http.d.ts +6 -6
- package/dist/bubbles/service-bubble/hubspot/hubspot.d.ts +20 -20
- package/dist/bubbles/service-bubble/insforge-db.d.ts +12 -12
- package/dist/bubbles/service-bubble/jira/jira.d.ts +58 -58
- package/dist/bubbles/service-bubble/jira/jira.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/jira/jira.js.map +1 -1
- package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +46 -46
- package/dist/bubbles/service-bubble/linear/linear.d.ts +44 -44
- package/dist/bubbles/service-bubble/notion/notion.d.ts +164 -164
- package/dist/bubbles/service-bubble/postgresql.d.ts +12 -12
- package/dist/bubbles/service-bubble/posthog/posthog.d.ts +25 -25
- package/dist/bubbles/service-bubble/posthog/posthog.schema.d.ts +2 -2
- package/dist/bubbles/service-bubble/resend.d.ts +28 -28
- package/dist/bubbles/service-bubble/s3/s3.d.ts +44 -44
- package/dist/bubbles/service-bubble/s3/s3.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/s3/s3.js +8 -5
- package/dist/bubbles/service-bubble/s3/s3.js.map +1 -1
- package/dist/bubbles/service-bubble/s3/s3.schema.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/s3/s3.schema.js +3 -1
- package/dist/bubbles/service-bubble/s3/s3.schema.js.map +1 -1
- package/dist/bubbles/service-bubble/sendsafely/sendsafely.d.ts +18 -18
- package/dist/bubbles/service-bubble/slack/slack.d.ts +196 -196
- package/dist/bubbles/service-bubble/slack/slack.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/slack/slack.js +17 -6
- package/dist/bubbles/service-bubble/slack/slack.js.map +1 -1
- package/dist/bubbles/service-bubble/storage.d.ts +92 -92
- package/dist/bubbles/service-bubble/stripe/stripe.d.ts +99 -99
- package/dist/bubbles/service-bubble/telegram.d.ts +116 -116
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +26 -26
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +4 -4
- 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 +8 -8
- package/dist/bubbles/tool-bubble/instagram-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +282 -282
- package/dist/bubbles/tool-bubble/list-airtable-bases-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/list-airtable-tables-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/list-capabilities-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/people-search-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +64 -64
- package/dist/bubbles/tool-bubble/tool-template.d.ts +4 -4
- package/dist/bubbles/tool-bubble/twitter-tool.d.ts +88 -88
- 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 +8 -8
- package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +4 -4
- 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 +8 -8
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +90 -90
- package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +8 -8
- package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +6 -6
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +22 -22
- package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +4 -4
- package/dist/bubbles.json +1 -1
- package/dist/types/base-bubble-class.d.ts +6 -0
- package/dist/types/base-bubble-class.d.ts.map +1 -1
- package/dist/types/base-bubble-class.js +11 -0
- package/dist/types/base-bubble-class.js.map +1 -1
- package/package.json +2 -2
|
@@ -18,20 +18,20 @@ declare const StorageParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodOb
|
|
|
18
18
|
fileName: string;
|
|
19
19
|
region: string;
|
|
20
20
|
expirationMinutes: number;
|
|
21
|
-
contentType?: string | undefined;
|
|
22
|
-
userId?: string | undefined;
|
|
23
21
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
22
|
+
contentType?: string | undefined;
|
|
24
23
|
accountId?: string | undefined;
|
|
24
|
+
userId?: string | undefined;
|
|
25
25
|
}, {
|
|
26
26
|
operation: "getUploadUrl";
|
|
27
27
|
bucketName: string;
|
|
28
28
|
fileName: string;
|
|
29
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
30
|
+
contentType?: string | undefined;
|
|
31
|
+
accountId?: string | undefined;
|
|
29
32
|
region?: string | undefined;
|
|
30
33
|
expirationMinutes?: number | undefined;
|
|
31
|
-
contentType?: string | undefined;
|
|
32
34
|
userId?: string | undefined;
|
|
33
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
34
|
-
accountId?: string | undefined;
|
|
35
35
|
}>, z.ZodObject<{
|
|
36
36
|
operation: z.ZodLiteral<"getFile">;
|
|
37
37
|
bucketName: z.ZodString;
|
|
@@ -47,18 +47,18 @@ declare const StorageParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodOb
|
|
|
47
47
|
fileName: string;
|
|
48
48
|
region: string;
|
|
49
49
|
expirationMinutes: number;
|
|
50
|
-
userId?: string | undefined;
|
|
51
50
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
52
51
|
accountId?: string | undefined;
|
|
52
|
+
userId?: string | undefined;
|
|
53
53
|
}, {
|
|
54
54
|
operation: "getFile";
|
|
55
55
|
bucketName: string;
|
|
56
56
|
fileName: string;
|
|
57
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
58
|
+
accountId?: string | undefined;
|
|
57
59
|
region?: string | undefined;
|
|
58
60
|
expirationMinutes?: number | undefined;
|
|
59
61
|
userId?: string | undefined;
|
|
60
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
61
|
-
accountId?: string | undefined;
|
|
62
62
|
}>, z.ZodObject<{
|
|
63
63
|
operation: z.ZodLiteral<"deleteFile">;
|
|
64
64
|
bucketName: z.ZodString;
|
|
@@ -77,9 +77,9 @@ declare const StorageParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodOb
|
|
|
77
77
|
operation: "deleteFile";
|
|
78
78
|
bucketName: string;
|
|
79
79
|
fileName: string;
|
|
80
|
-
region?: string | undefined;
|
|
81
80
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
82
81
|
accountId?: string | undefined;
|
|
82
|
+
region?: string | undefined;
|
|
83
83
|
}>, z.ZodObject<{
|
|
84
84
|
operation: z.ZodLiteral<"updateFile">;
|
|
85
85
|
bucketName: z.ZodDefault<z.ZodString>;
|
|
@@ -95,18 +95,18 @@ declare const StorageParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodOb
|
|
|
95
95
|
fileName: string;
|
|
96
96
|
region: string;
|
|
97
97
|
fileContent: string;
|
|
98
|
-
contentType?: string | undefined;
|
|
99
98
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
99
|
+
contentType?: string | undefined;
|
|
100
100
|
accountId?: string | undefined;
|
|
101
101
|
}, {
|
|
102
102
|
operation: "updateFile";
|
|
103
103
|
fileName: string;
|
|
104
104
|
fileContent: string;
|
|
105
|
-
bucketName?: string | undefined;
|
|
106
|
-
region?: string | undefined;
|
|
107
|
-
contentType?: string | undefined;
|
|
108
105
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
106
|
+
contentType?: string | undefined;
|
|
107
|
+
bucketName?: string | undefined;
|
|
109
108
|
accountId?: string | undefined;
|
|
109
|
+
region?: string | undefined;
|
|
110
110
|
}>, z.ZodObject<{
|
|
111
111
|
operation: z.ZodLiteral<"getMultipleUploadUrls">;
|
|
112
112
|
bucketName: z.ZodString;
|
|
@@ -124,19 +124,19 @@ declare const StorageParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodOb
|
|
|
124
124
|
expirationMinutes: number;
|
|
125
125
|
pdfFileName: string;
|
|
126
126
|
pageCount: number;
|
|
127
|
-
userId?: string | undefined;
|
|
128
127
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
129
128
|
accountId?: string | undefined;
|
|
129
|
+
userId?: string | undefined;
|
|
130
130
|
}, {
|
|
131
131
|
operation: "getMultipleUploadUrls";
|
|
132
132
|
bucketName: string;
|
|
133
133
|
pdfFileName: string;
|
|
134
134
|
pageCount: number;
|
|
135
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
136
|
+
accountId?: string | undefined;
|
|
135
137
|
region?: string | undefined;
|
|
136
138
|
expirationMinutes?: number | undefined;
|
|
137
139
|
userId?: string | undefined;
|
|
138
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
139
|
-
accountId?: string | undefined;
|
|
140
140
|
}>]>;
|
|
141
141
|
declare const StorageResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
|
|
142
142
|
operation: z.ZodLiteral<"getUploadUrl">;
|
|
@@ -146,18 +146,18 @@ declare const StorageResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodOb
|
|
|
146
146
|
contentType: z.ZodOptional<z.ZodString>;
|
|
147
147
|
error: z.ZodString;
|
|
148
148
|
}, "strip", z.ZodTypeAny, {
|
|
149
|
-
operation: "getUploadUrl";
|
|
150
|
-
success: boolean;
|
|
151
149
|
error: string;
|
|
152
|
-
|
|
150
|
+
success: boolean;
|
|
151
|
+
operation: "getUploadUrl";
|
|
153
152
|
contentType?: string | undefined;
|
|
153
|
+
fileName?: string | undefined;
|
|
154
154
|
uploadUrl?: string | undefined;
|
|
155
155
|
}, {
|
|
156
|
-
operation: "getUploadUrl";
|
|
157
|
-
success: boolean;
|
|
158
156
|
error: string;
|
|
159
|
-
|
|
157
|
+
success: boolean;
|
|
158
|
+
operation: "getUploadUrl";
|
|
160
159
|
contentType?: string | undefined;
|
|
160
|
+
fileName?: string | undefined;
|
|
161
161
|
uploadUrl?: string | undefined;
|
|
162
162
|
}>, z.ZodObject<{
|
|
163
163
|
operation: z.ZodLiteral<"getFile">;
|
|
@@ -170,21 +170,21 @@ declare const StorageResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodOb
|
|
|
170
170
|
lastModified: z.ZodOptional<z.ZodString>;
|
|
171
171
|
error: z.ZodString;
|
|
172
172
|
}, "strip", z.ZodTypeAny, {
|
|
173
|
-
operation: "getFile";
|
|
174
|
-
success: boolean;
|
|
175
173
|
error: string;
|
|
176
|
-
|
|
174
|
+
success: boolean;
|
|
175
|
+
operation: "getFile";
|
|
177
176
|
contentType?: string | undefined;
|
|
177
|
+
fileName?: string | undefined;
|
|
178
178
|
downloadUrl?: string | undefined;
|
|
179
179
|
fileUrl?: string | undefined;
|
|
180
180
|
fileSize?: number | undefined;
|
|
181
181
|
lastModified?: string | undefined;
|
|
182
182
|
}, {
|
|
183
|
-
operation: "getFile";
|
|
184
|
-
success: boolean;
|
|
185
183
|
error: string;
|
|
186
|
-
|
|
184
|
+
success: boolean;
|
|
185
|
+
operation: "getFile";
|
|
187
186
|
contentType?: string | undefined;
|
|
187
|
+
fileName?: string | undefined;
|
|
188
188
|
downloadUrl?: string | undefined;
|
|
189
189
|
fileUrl?: string | undefined;
|
|
190
190
|
fileSize?: number | undefined;
|
|
@@ -196,17 +196,17 @@ declare const StorageResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodOb
|
|
|
196
196
|
deleted: z.ZodOptional<z.ZodBoolean>;
|
|
197
197
|
error: z.ZodString;
|
|
198
198
|
}, "strip", z.ZodTypeAny, {
|
|
199
|
-
operation: "deleteFile";
|
|
200
|
-
success: boolean;
|
|
201
199
|
error: string;
|
|
202
|
-
|
|
200
|
+
success: boolean;
|
|
201
|
+
operation: "deleteFile";
|
|
203
202
|
deleted?: boolean | undefined;
|
|
203
|
+
fileName?: string | undefined;
|
|
204
204
|
}, {
|
|
205
|
-
operation: "deleteFile";
|
|
206
|
-
success: boolean;
|
|
207
205
|
error: string;
|
|
208
|
-
|
|
206
|
+
success: boolean;
|
|
207
|
+
operation: "deleteFile";
|
|
209
208
|
deleted?: boolean | undefined;
|
|
209
|
+
fileName?: string | undefined;
|
|
210
210
|
}>, z.ZodObject<{
|
|
211
211
|
operation: z.ZodLiteral<"updateFile">;
|
|
212
212
|
success: z.ZodBoolean;
|
|
@@ -215,19 +215,19 @@ declare const StorageResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodOb
|
|
|
215
215
|
contentType: z.ZodOptional<z.ZodString>;
|
|
216
216
|
error: z.ZodString;
|
|
217
217
|
}, "strip", z.ZodTypeAny, {
|
|
218
|
-
operation: "updateFile";
|
|
219
|
-
success: boolean;
|
|
220
218
|
error: string;
|
|
221
|
-
|
|
222
|
-
|
|
219
|
+
success: boolean;
|
|
220
|
+
operation: "updateFile";
|
|
223
221
|
updated?: boolean | undefined;
|
|
222
|
+
contentType?: string | undefined;
|
|
223
|
+
fileName?: string | undefined;
|
|
224
224
|
}, {
|
|
225
|
-
operation: "updateFile";
|
|
226
|
-
success: boolean;
|
|
227
225
|
error: string;
|
|
228
|
-
|
|
229
|
-
|
|
226
|
+
success: boolean;
|
|
227
|
+
operation: "updateFile";
|
|
230
228
|
updated?: boolean | undefined;
|
|
229
|
+
contentType?: string | undefined;
|
|
230
|
+
fileName?: string | undefined;
|
|
231
231
|
}>, z.ZodObject<{
|
|
232
232
|
operation: z.ZodLiteral<"getMultipleUploadUrls">;
|
|
233
233
|
success: z.ZodBoolean;
|
|
@@ -248,9 +248,9 @@ declare const StorageResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodOb
|
|
|
248
248
|
}>, "many">>;
|
|
249
249
|
error: z.ZodString;
|
|
250
250
|
}, "strip", z.ZodTypeAny, {
|
|
251
|
-
operation: "getMultipleUploadUrls";
|
|
252
|
-
success: boolean;
|
|
253
251
|
error: string;
|
|
252
|
+
success: boolean;
|
|
253
|
+
operation: "getMultipleUploadUrls";
|
|
254
254
|
pdfFileName?: string | undefined;
|
|
255
255
|
pdfUploadUrl?: string | undefined;
|
|
256
256
|
pageUploadUrls?: {
|
|
@@ -259,9 +259,9 @@ declare const StorageResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodOb
|
|
|
259
259
|
pageNumber: number;
|
|
260
260
|
}[] | undefined;
|
|
261
261
|
}, {
|
|
262
|
-
operation: "getMultipleUploadUrls";
|
|
263
|
-
success: boolean;
|
|
264
262
|
error: string;
|
|
263
|
+
success: boolean;
|
|
264
|
+
operation: "getMultipleUploadUrls";
|
|
265
265
|
pdfFileName?: string | undefined;
|
|
266
266
|
pdfUploadUrl?: string | undefined;
|
|
267
267
|
pageUploadUrls?: {
|
|
@@ -298,20 +298,20 @@ export declare class StorageBubble<T extends StorageParams = StorageParams> exte
|
|
|
298
298
|
fileName: string;
|
|
299
299
|
region: string;
|
|
300
300
|
expirationMinutes: number;
|
|
301
|
-
contentType?: string | undefined;
|
|
302
|
-
userId?: string | undefined;
|
|
303
301
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
302
|
+
contentType?: string | undefined;
|
|
304
303
|
accountId?: string | undefined;
|
|
304
|
+
userId?: string | undefined;
|
|
305
305
|
}, {
|
|
306
306
|
operation: "getUploadUrl";
|
|
307
307
|
bucketName: string;
|
|
308
308
|
fileName: string;
|
|
309
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
310
|
+
contentType?: string | undefined;
|
|
311
|
+
accountId?: string | undefined;
|
|
309
312
|
region?: string | undefined;
|
|
310
313
|
expirationMinutes?: number | undefined;
|
|
311
|
-
contentType?: string | undefined;
|
|
312
314
|
userId?: string | undefined;
|
|
313
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
314
|
-
accountId?: string | undefined;
|
|
315
315
|
}>, z.ZodObject<{
|
|
316
316
|
operation: z.ZodLiteral<"getFile">;
|
|
317
317
|
bucketName: z.ZodString;
|
|
@@ -327,18 +327,18 @@ export declare class StorageBubble<T extends StorageParams = StorageParams> exte
|
|
|
327
327
|
fileName: string;
|
|
328
328
|
region: string;
|
|
329
329
|
expirationMinutes: number;
|
|
330
|
-
userId?: string | undefined;
|
|
331
330
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
332
331
|
accountId?: string | undefined;
|
|
332
|
+
userId?: string | undefined;
|
|
333
333
|
}, {
|
|
334
334
|
operation: "getFile";
|
|
335
335
|
bucketName: string;
|
|
336
336
|
fileName: string;
|
|
337
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
338
|
+
accountId?: string | undefined;
|
|
337
339
|
region?: string | undefined;
|
|
338
340
|
expirationMinutes?: number | undefined;
|
|
339
341
|
userId?: string | undefined;
|
|
340
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
341
|
-
accountId?: string | undefined;
|
|
342
342
|
}>, z.ZodObject<{
|
|
343
343
|
operation: z.ZodLiteral<"deleteFile">;
|
|
344
344
|
bucketName: z.ZodString;
|
|
@@ -357,9 +357,9 @@ export declare class StorageBubble<T extends StorageParams = StorageParams> exte
|
|
|
357
357
|
operation: "deleteFile";
|
|
358
358
|
bucketName: string;
|
|
359
359
|
fileName: string;
|
|
360
|
-
region?: string | undefined;
|
|
361
360
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
362
361
|
accountId?: string | undefined;
|
|
362
|
+
region?: string | undefined;
|
|
363
363
|
}>, z.ZodObject<{
|
|
364
364
|
operation: z.ZodLiteral<"updateFile">;
|
|
365
365
|
bucketName: z.ZodDefault<z.ZodString>;
|
|
@@ -375,18 +375,18 @@ export declare class StorageBubble<T extends StorageParams = StorageParams> exte
|
|
|
375
375
|
fileName: string;
|
|
376
376
|
region: string;
|
|
377
377
|
fileContent: string;
|
|
378
|
-
contentType?: string | undefined;
|
|
379
378
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
379
|
+
contentType?: string | undefined;
|
|
380
380
|
accountId?: string | undefined;
|
|
381
381
|
}, {
|
|
382
382
|
operation: "updateFile";
|
|
383
383
|
fileName: string;
|
|
384
384
|
fileContent: string;
|
|
385
|
-
bucketName?: string | undefined;
|
|
386
|
-
region?: string | undefined;
|
|
387
|
-
contentType?: string | undefined;
|
|
388
385
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
386
|
+
contentType?: string | undefined;
|
|
387
|
+
bucketName?: string | undefined;
|
|
389
388
|
accountId?: string | undefined;
|
|
389
|
+
region?: string | undefined;
|
|
390
390
|
}>, z.ZodObject<{
|
|
391
391
|
operation: z.ZodLiteral<"getMultipleUploadUrls">;
|
|
392
392
|
bucketName: z.ZodString;
|
|
@@ -404,19 +404,19 @@ export declare class StorageBubble<T extends StorageParams = StorageParams> exte
|
|
|
404
404
|
expirationMinutes: number;
|
|
405
405
|
pdfFileName: string;
|
|
406
406
|
pageCount: number;
|
|
407
|
-
userId?: string | undefined;
|
|
408
407
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
409
408
|
accountId?: string | undefined;
|
|
409
|
+
userId?: string | undefined;
|
|
410
410
|
}, {
|
|
411
411
|
operation: "getMultipleUploadUrls";
|
|
412
412
|
bucketName: string;
|
|
413
413
|
pdfFileName: string;
|
|
414
414
|
pageCount: number;
|
|
415
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
416
|
+
accountId?: string | undefined;
|
|
415
417
|
region?: string | undefined;
|
|
416
418
|
expirationMinutes?: number | undefined;
|
|
417
419
|
userId?: string | undefined;
|
|
418
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
419
|
-
accountId?: string | undefined;
|
|
420
420
|
}>]>;
|
|
421
421
|
static readonly resultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
|
|
422
422
|
operation: z.ZodLiteral<"getUploadUrl">;
|
|
@@ -426,18 +426,18 @@ export declare class StorageBubble<T extends StorageParams = StorageParams> exte
|
|
|
426
426
|
contentType: z.ZodOptional<z.ZodString>;
|
|
427
427
|
error: z.ZodString;
|
|
428
428
|
}, "strip", z.ZodTypeAny, {
|
|
429
|
-
operation: "getUploadUrl";
|
|
430
|
-
success: boolean;
|
|
431
429
|
error: string;
|
|
432
|
-
|
|
430
|
+
success: boolean;
|
|
431
|
+
operation: "getUploadUrl";
|
|
433
432
|
contentType?: string | undefined;
|
|
433
|
+
fileName?: string | undefined;
|
|
434
434
|
uploadUrl?: string | undefined;
|
|
435
435
|
}, {
|
|
436
|
-
operation: "getUploadUrl";
|
|
437
|
-
success: boolean;
|
|
438
436
|
error: string;
|
|
439
|
-
|
|
437
|
+
success: boolean;
|
|
438
|
+
operation: "getUploadUrl";
|
|
440
439
|
contentType?: string | undefined;
|
|
440
|
+
fileName?: string | undefined;
|
|
441
441
|
uploadUrl?: string | undefined;
|
|
442
442
|
}>, z.ZodObject<{
|
|
443
443
|
operation: z.ZodLiteral<"getFile">;
|
|
@@ -450,21 +450,21 @@ export declare class StorageBubble<T extends StorageParams = StorageParams> exte
|
|
|
450
450
|
lastModified: z.ZodOptional<z.ZodString>;
|
|
451
451
|
error: z.ZodString;
|
|
452
452
|
}, "strip", z.ZodTypeAny, {
|
|
453
|
-
operation: "getFile";
|
|
454
|
-
success: boolean;
|
|
455
453
|
error: string;
|
|
456
|
-
|
|
454
|
+
success: boolean;
|
|
455
|
+
operation: "getFile";
|
|
457
456
|
contentType?: string | undefined;
|
|
457
|
+
fileName?: string | undefined;
|
|
458
458
|
downloadUrl?: string | undefined;
|
|
459
459
|
fileUrl?: string | undefined;
|
|
460
460
|
fileSize?: number | undefined;
|
|
461
461
|
lastModified?: string | undefined;
|
|
462
462
|
}, {
|
|
463
|
-
operation: "getFile";
|
|
464
|
-
success: boolean;
|
|
465
463
|
error: string;
|
|
466
|
-
|
|
464
|
+
success: boolean;
|
|
465
|
+
operation: "getFile";
|
|
467
466
|
contentType?: string | undefined;
|
|
467
|
+
fileName?: string | undefined;
|
|
468
468
|
downloadUrl?: string | undefined;
|
|
469
469
|
fileUrl?: string | undefined;
|
|
470
470
|
fileSize?: number | undefined;
|
|
@@ -476,17 +476,17 @@ export declare class StorageBubble<T extends StorageParams = StorageParams> exte
|
|
|
476
476
|
deleted: z.ZodOptional<z.ZodBoolean>;
|
|
477
477
|
error: z.ZodString;
|
|
478
478
|
}, "strip", z.ZodTypeAny, {
|
|
479
|
-
operation: "deleteFile";
|
|
480
|
-
success: boolean;
|
|
481
479
|
error: string;
|
|
482
|
-
|
|
480
|
+
success: boolean;
|
|
481
|
+
operation: "deleteFile";
|
|
483
482
|
deleted?: boolean | undefined;
|
|
483
|
+
fileName?: string | undefined;
|
|
484
484
|
}, {
|
|
485
|
-
operation: "deleteFile";
|
|
486
|
-
success: boolean;
|
|
487
485
|
error: string;
|
|
488
|
-
|
|
486
|
+
success: boolean;
|
|
487
|
+
operation: "deleteFile";
|
|
489
488
|
deleted?: boolean | undefined;
|
|
489
|
+
fileName?: string | undefined;
|
|
490
490
|
}>, z.ZodObject<{
|
|
491
491
|
operation: z.ZodLiteral<"updateFile">;
|
|
492
492
|
success: z.ZodBoolean;
|
|
@@ -495,19 +495,19 @@ export declare class StorageBubble<T extends StorageParams = StorageParams> exte
|
|
|
495
495
|
contentType: z.ZodOptional<z.ZodString>;
|
|
496
496
|
error: z.ZodString;
|
|
497
497
|
}, "strip", z.ZodTypeAny, {
|
|
498
|
-
operation: "updateFile";
|
|
499
|
-
success: boolean;
|
|
500
498
|
error: string;
|
|
501
|
-
|
|
502
|
-
|
|
499
|
+
success: boolean;
|
|
500
|
+
operation: "updateFile";
|
|
503
501
|
updated?: boolean | undefined;
|
|
502
|
+
contentType?: string | undefined;
|
|
503
|
+
fileName?: string | undefined;
|
|
504
504
|
}, {
|
|
505
|
-
operation: "updateFile";
|
|
506
|
-
success: boolean;
|
|
507
505
|
error: string;
|
|
508
|
-
|
|
509
|
-
|
|
506
|
+
success: boolean;
|
|
507
|
+
operation: "updateFile";
|
|
510
508
|
updated?: boolean | undefined;
|
|
509
|
+
contentType?: string | undefined;
|
|
510
|
+
fileName?: string | undefined;
|
|
511
511
|
}>, z.ZodObject<{
|
|
512
512
|
operation: z.ZodLiteral<"getMultipleUploadUrls">;
|
|
513
513
|
success: z.ZodBoolean;
|
|
@@ -528,9 +528,9 @@ export declare class StorageBubble<T extends StorageParams = StorageParams> exte
|
|
|
528
528
|
}>, "many">>;
|
|
529
529
|
error: z.ZodString;
|
|
530
530
|
}, "strip", z.ZodTypeAny, {
|
|
531
|
-
operation: "getMultipleUploadUrls";
|
|
532
|
-
success: boolean;
|
|
533
531
|
error: string;
|
|
532
|
+
success: boolean;
|
|
533
|
+
operation: "getMultipleUploadUrls";
|
|
534
534
|
pdfFileName?: string | undefined;
|
|
535
535
|
pdfUploadUrl?: string | undefined;
|
|
536
536
|
pageUploadUrls?: {
|
|
@@ -539,9 +539,9 @@ export declare class StorageBubble<T extends StorageParams = StorageParams> exte
|
|
|
539
539
|
pageNumber: number;
|
|
540
540
|
}[] | undefined;
|
|
541
541
|
}, {
|
|
542
|
-
operation: "getMultipleUploadUrls";
|
|
543
|
-
success: boolean;
|
|
544
542
|
error: string;
|
|
543
|
+
success: boolean;
|
|
544
|
+
operation: "getMultipleUploadUrls";
|
|
545
545
|
pdfFileName?: string | undefined;
|
|
546
546
|
pdfUploadUrl?: string | undefined;
|
|
547
547
|
pageUploadUrls?: {
|