@bubblelab/bubble-core 0.1.203 → 0.1.204

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (86) hide show
  1. package/dist/bubble-bundle.d.ts +107 -107
  2. package/dist/bubbles/service-bubble/agi-inc.d.ts +132 -132
  3. package/dist/bubbles/service-bubble/ai-agent.d.ts +8 -8
  4. package/dist/bubbles/service-bubble/airtable.d.ts +106 -106
  5. package/dist/bubbles/service-bubble/apify/apify.d.ts +12 -12
  6. package/dist/bubbles/service-bubble/ashby/ashby.d.ts +88 -88
  7. package/dist/bubbles/service-bubble/attio/attio.d.ts +64 -64
  8. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +57 -57
  9. package/dist/bubbles/service-bubble/confluence/confluence.d.ts +43 -43
  10. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +94 -94
  11. package/dist/bubbles/service-bubble/eleven-labs.d.ts +48 -48
  12. package/dist/bubbles/service-bubble/firecrawl.d.ts +366 -366
  13. package/dist/bubbles/service-bubble/followupboss.d.ts +256 -256
  14. package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +44 -44
  15. package/dist/bubbles/service-bubble/github.d.ts +162 -162
  16. package/dist/bubbles/service-bubble/gmail.d.ts +284 -284
  17. package/dist/bubbles/service-bubble/google-calendar.d.ts +138 -138
  18. package/dist/bubbles/service-bubble/google-drive.d.ts +118 -118
  19. package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +52 -52
  20. package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts.map +1 -1
  21. package/dist/bubbles/service-bubble/google-sheets/google-sheets.js.map +1 -1
  22. package/dist/bubbles/service-bubble/hello-world.d.ts +4 -4
  23. package/dist/bubbles/service-bubble/http.d.ts +10 -10
  24. package/dist/bubbles/service-bubble/hubspot/hubspot.d.ts +20 -20
  25. package/dist/bubbles/service-bubble/insforge-db.d.ts +4 -4
  26. package/dist/bubbles/service-bubble/jira/jira.d.ts +96 -96
  27. package/dist/bubbles/service-bubble/jira/jira.d.ts.map +1 -1
  28. package/dist/bubbles/service-bubble/jira/jira.js.map +1 -1
  29. package/dist/bubbles/service-bubble/linear/linear.d.ts +44 -44
  30. package/dist/bubbles/service-bubble/notion/notion.d.ts +794 -794
  31. package/dist/bubbles/service-bubble/postgresql.d.ts +4 -4
  32. package/dist/bubbles/service-bubble/posthog/posthog.d.ts +26 -26
  33. package/dist/bubbles/service-bubble/resend.d.ts +28 -28
  34. package/dist/bubbles/service-bubble/s3/s3.d.ts +44 -44
  35. package/dist/bubbles/service-bubble/s3/s3.d.ts.map +1 -1
  36. package/dist/bubbles/service-bubble/s3/s3.js +8 -5
  37. package/dist/bubbles/service-bubble/s3/s3.js.map +1 -1
  38. package/dist/bubbles/service-bubble/s3/s3.schema.d.ts.map +1 -1
  39. package/dist/bubbles/service-bubble/s3/s3.schema.js +3 -1
  40. package/dist/bubbles/service-bubble/s3/s3.schema.js.map +1 -1
  41. package/dist/bubbles/service-bubble/sendsafely/sendsafely.d.ts +18 -18
  42. package/dist/bubbles/service-bubble/slack/slack.d.ts +364 -364
  43. package/dist/bubbles/service-bubble/storage.d.ts +92 -92
  44. package/dist/bubbles/service-bubble/stripe/stripe.d.ts +99 -99
  45. package/dist/bubbles/service-bubble/telegram.d.ts +116 -116
  46. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +26 -26
  47. package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/tool.d.ts +4 -4
  48. package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/tool.d.ts +4 -4
  49. package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/tool.d.ts +4 -4
  50. package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/tool.d.ts +4 -4
  51. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +8 -8
  52. package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +8 -8
  53. package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +4 -4
  54. package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +14 -14
  55. package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts +4 -4
  56. package/dist/bubbles/tool-bubble/get-trigger-detail-tool.d.ts +4 -4
  57. package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +8 -8
  58. package/dist/bubbles/tool-bubble/instagram-tool.d.ts +8 -8
  59. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +40 -40
  60. package/dist/bubbles/tool-bubble/list-airtable-bases-tool.d.ts +4 -4
  61. package/dist/bubbles/tool-bubble/list-airtable-tables-tool.d.ts +4 -4
  62. package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
  63. package/dist/bubbles/tool-bubble/list-capabilities-tool.d.ts +4 -4
  64. package/dist/bubbles/tool-bubble/people-search-tool.d.ts +38 -38
  65. package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +14 -14
  66. package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +8 -8
  67. package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +4 -4
  68. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +8 -8
  69. package/dist/bubbles/tool-bubble/tool-template.d.ts +4 -4
  70. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +8 -8
  71. package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +8 -8
  72. package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +8 -8
  73. package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +8 -8
  74. package/dist/bubbles/tool-bubble/web-search-tool.d.ts +8 -8
  75. package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +8 -8
  76. package/dist/bubbles/tool-bubble/youtube-tool.d.ts +8 -8
  77. package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
  78. package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +4 -4
  79. package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +8 -8
  80. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +58 -58
  81. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +24 -24
  82. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +6 -6
  83. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +22 -22
  84. package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +4 -4
  85. package/dist/bubbles.json +1 -1
  86. package/package.json +2 -2
@@ -49,8 +49,8 @@ declare const PostgreSQLResultSchema: z.ZodObject<{
49
49
  error: z.ZodString;
50
50
  cleanedJSONString: z.ZodString;
51
51
  }, "strip", z.ZodTypeAny, {
52
- success: boolean;
53
52
  error: string;
53
+ success: boolean;
54
54
  rows: Record<string, unknown>[];
55
55
  rowCount: number | null;
56
56
  command: string;
@@ -61,8 +61,8 @@ declare const PostgreSQLResultSchema: z.ZodObject<{
61
61
  dataTypeID: number;
62
62
  }[] | undefined;
63
63
  }, {
64
- success: boolean;
65
64
  error: string;
65
+ success: boolean;
66
66
  rows: Record<string, unknown>[];
67
67
  rowCount: number | null;
68
68
  command: string;
@@ -124,8 +124,8 @@ export declare class PostgreSQLBubble extends ServiceBubble<PostgreSQLParams, Po
124
124
  error: z.ZodString;
125
125
  cleanedJSONString: z.ZodString;
126
126
  }, "strip", z.ZodTypeAny, {
127
- success: boolean;
128
127
  error: string;
128
+ success: boolean;
129
129
  rows: Record<string, unknown>[];
130
130
  rowCount: number | null;
131
131
  command: string;
@@ -136,8 +136,8 @@ export declare class PostgreSQLBubble extends ServiceBubble<PostgreSQLParams, Po
136
136
  dataTypeID: number;
137
137
  }[] | undefined;
138
138
  }, {
139
- success: boolean;
140
139
  error: string;
140
+ success: boolean;
141
141
  rows: Record<string, unknown>[];
142
142
  rowCount: number | null;
143
143
  command: string;
@@ -92,8 +92,8 @@ export declare class PosthogBubble<T extends PosthogParamsInput = PosthogParamsI
92
92
  person_id?: string | undefined;
93
93
  after?: string | undefined;
94
94
  before?: string | undefined;
95
- host?: string | undefined;
96
95
  distinct_id?: string | undefined;
96
+ host?: string | undefined;
97
97
  }>, import("zod").ZodObject<{
98
98
  operation: import("zod").ZodLiteral<"query">;
99
99
  project_id: import("zod").ZodString;
@@ -101,14 +101,14 @@ export declare class PosthogBubble<T extends PosthogParamsInput = PosthogParamsI
101
101
  query: import("zod").ZodString;
102
102
  credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
103
103
  }, "strip", import("zod").ZodTypeAny, {
104
- operation: "query";
105
104
  query: string;
105
+ operation: "query";
106
106
  host: string;
107
107
  project_id: string;
108
108
  credentials?: Partial<Record<CredentialType, string>> | undefined;
109
109
  }, {
110
- operation: "query";
111
110
  query: string;
111
+ operation: "query";
112
112
  project_id: string;
113
113
  credentials?: Partial<Record<CredentialType, string>> | undefined;
114
114
  host?: string | undefined;
@@ -125,17 +125,17 @@ export declare class PosthogBubble<T extends PosthogParamsInput = PosthogParamsI
125
125
  limit: number;
126
126
  host: string;
127
127
  project_id: string;
128
- search?: string | undefined;
129
128
  credentials?: Partial<Record<CredentialType, string>> | undefined;
129
+ search?: string | undefined;
130
130
  distinct_id?: string | undefined;
131
131
  }, {
132
132
  operation: "get_person";
133
133
  project_id: string;
134
- search?: string | undefined;
135
134
  credentials?: Partial<Record<CredentialType, string>> | undefined;
135
+ search?: string | undefined;
136
136
  limit?: number | undefined;
137
- host?: string | undefined;
138
137
  distinct_id?: string | undefined;
138
+ host?: string | undefined;
139
139
  }>, import("zod").ZodObject<{
140
140
  operation: import("zod").ZodLiteral<"get_insight">;
141
141
  project_id: import("zod").ZodString;
@@ -186,9 +186,9 @@ export declare class PosthogBubble<T extends PosthogParamsInput = PosthogParamsI
186
186
  next: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
187
187
  error: import("zod").ZodString;
188
188
  }, "strip", import("zod").ZodTypeAny, {
189
- operation: "list_projects";
190
- success: boolean;
191
189
  error: string;
190
+ success: boolean;
191
+ operation: "list_projects";
192
192
  projects?: {
193
193
  name: string;
194
194
  id: number;
@@ -200,9 +200,9 @@ export declare class PosthogBubble<T extends PosthogParamsInput = PosthogParamsI
200
200
  }[] | undefined;
201
201
  next?: string | null | undefined;
202
202
  }, {
203
- operation: "list_projects";
204
- success: boolean;
205
203
  error: string;
204
+ success: boolean;
205
+ operation: "list_projects";
206
206
  projects?: {
207
207
  name: string;
208
208
  id: number;
@@ -250,9 +250,9 @@ export declare class PosthogBubble<T extends PosthogParamsInput = PosthogParamsI
250
250
  next: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
251
251
  error: import("zod").ZodString;
252
252
  }, "strip", import("zod").ZodTypeAny, {
253
- operation: "list_events";
254
- success: boolean;
255
253
  error: string;
254
+ success: boolean;
255
+ operation: "list_events";
256
256
  events?: {
257
257
  event: string;
258
258
  distinct_id: string;
@@ -266,9 +266,9 @@ export declare class PosthogBubble<T extends PosthogParamsInput = PosthogParamsI
266
266
  }[] | undefined;
267
267
  next?: string | null | undefined;
268
268
  }, {
269
- operation: "list_events";
270
- success: boolean;
271
269
  error: string;
270
+ success: boolean;
271
+ operation: "list_events";
272
272
  events?: {
273
273
  event: string;
274
274
  distinct_id: string;
@@ -290,17 +290,17 @@ export declare class PosthogBubble<T extends PosthogParamsInput = PosthogParamsI
290
290
  hasMore: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBoolean>>;
291
291
  error: import("zod").ZodString;
292
292
  }, "strip", import("zod").ZodTypeAny, {
293
- operation: "query";
294
- success: boolean;
295
293
  error: string;
294
+ success: boolean;
295
+ operation: "query";
296
296
  types?: (string | string[])[] | undefined;
297
297
  hasMore?: boolean | null | undefined;
298
298
  results?: unknown[][] | undefined;
299
299
  columns?: string[] | undefined;
300
300
  }, {
301
- operation: "query";
302
- success: boolean;
303
301
  error: string;
302
+ success: boolean;
303
+ operation: "query";
304
304
  types?: (string | string[])[] | undefined;
305
305
  hasMore?: boolean | null | undefined;
306
306
  results?: unknown[][] | undefined;
@@ -330,9 +330,9 @@ export declare class PosthogBubble<T extends PosthogParamsInput = PosthogParamsI
330
330
  next: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
331
331
  error: import("zod").ZodString;
332
332
  }, "strip", import("zod").ZodTypeAny, {
333
- operation: "get_person";
334
- success: boolean;
335
333
  error: string;
334
+ success: boolean;
335
+ operation: "get_person";
336
336
  next?: string | null | undefined;
337
337
  persons?: {
338
338
  id: string;
@@ -342,9 +342,9 @@ export declare class PosthogBubble<T extends PosthogParamsInput = PosthogParamsI
342
342
  created_at?: string | undefined;
343
343
  }[] | undefined;
344
344
  }, {
345
- operation: "get_person";
346
- success: boolean;
347
345
  error: string;
346
+ success: boolean;
347
+ operation: "get_person";
348
348
  next?: string | null | undefined;
349
349
  persons?: {
350
350
  id: string;
@@ -389,9 +389,9 @@ export declare class PosthogBubble<T extends PosthogParamsInput = PosthogParamsI
389
389
  }>>;
390
390
  error: import("zod").ZodString;
391
391
  }, "strip", import("zod").ZodTypeAny, {
392
- operation: "get_insight";
393
- success: boolean;
394
392
  error: string;
393
+ success: boolean;
394
+ operation: "get_insight";
395
395
  insight?: {
396
396
  id: number;
397
397
  description?: string | null | undefined;
@@ -404,9 +404,9 @@ export declare class PosthogBubble<T extends PosthogParamsInput = PosthogParamsI
404
404
  last_modified_at?: string | undefined;
405
405
  } | undefined;
406
406
  }, {
407
- operation: "get_insight";
408
- success: boolean;
409
407
  error: string;
408
+ success: boolean;
409
+ operation: "get_insight";
410
410
  insight?: {
411
411
  id: number;
412
412
  description?: string | null | undefined;
@@ -21,13 +21,13 @@ declare const ResendParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
21
21
  }, "strip", z.ZodTypeAny, {
22
22
  filename: string;
23
23
  path?: string | undefined;
24
- contentType?: string | undefined;
25
24
  content?: string | undefined;
25
+ contentType?: string | undefined;
26
26
  }, {
27
27
  filename: string;
28
28
  path?: string | undefined;
29
- contentType?: string | undefined;
30
29
  content?: string | undefined;
30
+ contentType?: string | undefined;
31
31
  }>, "many">>;
32
32
  tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
33
33
  name: z.ZodString;
@@ -47,17 +47,17 @@ declare const ResendParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
47
47
  to: string | string[];
48
48
  subject: string;
49
49
  credentials?: Partial<Record<CredentialType, string>> | undefined;
50
- headers?: Record<string, string> | undefined;
51
50
  tags?: {
52
51
  value: string;
53
52
  name: string;
54
53
  }[] | undefined;
54
+ headers?: Record<string, string> | undefined;
55
55
  text?: string | undefined;
56
56
  attachments?: {
57
57
  filename: string;
58
58
  path?: string | undefined;
59
- contentType?: string | undefined;
60
59
  content?: string | undefined;
60
+ contentType?: string | undefined;
61
61
  }[] | undefined;
62
62
  cc?: string | string[] | undefined;
63
63
  bcc?: string | string[] | undefined;
@@ -69,17 +69,17 @@ declare const ResendParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
69
69
  to: string | string[];
70
70
  subject: string;
71
71
  credentials?: Partial<Record<CredentialType, string>> | undefined;
72
- headers?: Record<string, string> | undefined;
73
72
  tags?: {
74
73
  value: string;
75
74
  name: string;
76
75
  }[] | undefined;
76
+ headers?: Record<string, string> | undefined;
77
77
  text?: string | undefined;
78
78
  attachments?: {
79
79
  filename: string;
80
80
  path?: string | undefined;
81
- contentType?: string | undefined;
82
81
  content?: string | undefined;
82
+ contentType?: string | undefined;
83
83
  }[] | undefined;
84
84
  from?: string | undefined;
85
85
  cc?: string | string[] | undefined;
@@ -106,14 +106,14 @@ declare const ResendResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
106
106
  email_id: z.ZodOptional<z.ZodString>;
107
107
  error: z.ZodString;
108
108
  }, "strip", z.ZodTypeAny, {
109
- operation: "send_email";
110
- success: boolean;
111
109
  error: string;
110
+ success: boolean;
111
+ operation: "send_email";
112
112
  email_id?: string | undefined;
113
113
  }, {
114
- operation: "send_email";
115
- success: boolean;
116
114
  error: string;
115
+ success: boolean;
116
+ operation: "send_email";
117
117
  email_id?: string | undefined;
118
118
  }>, z.ZodObject<{
119
119
  operation: z.ZodLiteral<"get_email_status">;
@@ -123,16 +123,16 @@ declare const ResendResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
123
123
  last_event: z.ZodOptional<z.ZodString>;
124
124
  error: z.ZodString;
125
125
  }, "strip", z.ZodTypeAny, {
126
- operation: "get_email_status";
127
- success: boolean;
128
126
  error: string;
127
+ success: boolean;
128
+ operation: "get_email_status";
129
129
  status?: string | undefined;
130
130
  created_at?: string | undefined;
131
131
  last_event?: string | undefined;
132
132
  }, {
133
- operation: "get_email_status";
134
- success: boolean;
135
133
  error: string;
134
+ success: boolean;
135
+ operation: "get_email_status";
136
136
  status?: string | undefined;
137
137
  created_at?: string | undefined;
138
138
  last_event?: string | undefined;
@@ -168,13 +168,13 @@ export declare class ResendBubble<T extends ResendParams = ResendParams> extends
168
168
  }, "strip", z.ZodTypeAny, {
169
169
  filename: string;
170
170
  path?: string | undefined;
171
- contentType?: string | undefined;
172
171
  content?: string | undefined;
172
+ contentType?: string | undefined;
173
173
  }, {
174
174
  filename: string;
175
175
  path?: string | undefined;
176
- contentType?: string | undefined;
177
176
  content?: string | undefined;
177
+ contentType?: string | undefined;
178
178
  }>, "many">>;
179
179
  tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
180
180
  name: z.ZodString;
@@ -194,17 +194,17 @@ export declare class ResendBubble<T extends ResendParams = ResendParams> extends
194
194
  to: string | string[];
195
195
  subject: string;
196
196
  credentials?: Partial<Record<CredentialType, string>> | undefined;
197
- headers?: Record<string, string> | undefined;
198
197
  tags?: {
199
198
  value: string;
200
199
  name: string;
201
200
  }[] | undefined;
201
+ headers?: Record<string, string> | undefined;
202
202
  text?: string | undefined;
203
203
  attachments?: {
204
204
  filename: string;
205
205
  path?: string | undefined;
206
- contentType?: string | undefined;
207
206
  content?: string | undefined;
207
+ contentType?: string | undefined;
208
208
  }[] | undefined;
209
209
  cc?: string | string[] | undefined;
210
210
  bcc?: string | string[] | undefined;
@@ -216,17 +216,17 @@ export declare class ResendBubble<T extends ResendParams = ResendParams> extends
216
216
  to: string | string[];
217
217
  subject: string;
218
218
  credentials?: Partial<Record<CredentialType, string>> | undefined;
219
- headers?: Record<string, string> | undefined;
220
219
  tags?: {
221
220
  value: string;
222
221
  name: string;
223
222
  }[] | undefined;
223
+ headers?: Record<string, string> | undefined;
224
224
  text?: string | undefined;
225
225
  attachments?: {
226
226
  filename: string;
227
227
  path?: string | undefined;
228
- contentType?: string | undefined;
229
228
  content?: string | undefined;
229
+ contentType?: string | undefined;
230
230
  }[] | undefined;
231
231
  from?: string | undefined;
232
232
  cc?: string | string[] | undefined;
@@ -253,14 +253,14 @@ export declare class ResendBubble<T extends ResendParams = ResendParams> extends
253
253
  email_id: z.ZodOptional<z.ZodString>;
254
254
  error: z.ZodString;
255
255
  }, "strip", z.ZodTypeAny, {
256
- operation: "send_email";
257
- success: boolean;
258
256
  error: string;
257
+ success: boolean;
258
+ operation: "send_email";
259
259
  email_id?: string | undefined;
260
260
  }, {
261
- operation: "send_email";
262
- success: boolean;
263
261
  error: string;
262
+ success: boolean;
263
+ operation: "send_email";
264
264
  email_id?: string | undefined;
265
265
  }>, z.ZodObject<{
266
266
  operation: z.ZodLiteral<"get_email_status">;
@@ -270,16 +270,16 @@ export declare class ResendBubble<T extends ResendParams = ResendParams> extends
270
270
  last_event: z.ZodOptional<z.ZodString>;
271
271
  error: z.ZodString;
272
272
  }, "strip", z.ZodTypeAny, {
273
- operation: "get_email_status";
274
- success: boolean;
275
273
  error: string;
274
+ success: boolean;
275
+ operation: "get_email_status";
276
276
  status?: string | undefined;
277
277
  created_at?: string | undefined;
278
278
  last_event?: string | undefined;
279
279
  }, {
280
- operation: "get_email_status";
281
- success: boolean;
282
280
  error: string;
281
+ success: boolean;
282
+ operation: "get_email_status";
283
283
  status?: string | undefined;
284
284
  created_at?: string | undefined;
285
285
  last_event?: string | undefined;
@@ -35,19 +35,19 @@ export declare class S3Bubble<T extends S3ParamsInput = S3ParamsInput> extends S
35
35
  bucketName: string;
36
36
  fileName: string;
37
37
  expirationMinutes: number;
38
- region?: string | undefined;
38
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
39
39
  contentType?: string | undefined;
40
+ region?: string | undefined;
40
41
  userId?: string | undefined;
41
- credentials?: Partial<Record<CredentialType, string>> | undefined;
42
42
  }, {
43
43
  operation: "getUploadUrl";
44
44
  bucketName: string;
45
45
  fileName: string;
46
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
47
+ contentType?: string | undefined;
46
48
  region?: string | undefined;
47
49
  expirationMinutes?: number | undefined;
48
- contentType?: string | undefined;
49
50
  userId?: string | undefined;
50
- credentials?: Partial<Record<CredentialType, string>> | undefined;
51
51
  }>, import("zod").ZodObject<{
52
52
  operation: import("zod").ZodLiteral<"getFile">;
53
53
  bucketName: import("zod").ZodString;
@@ -61,17 +61,17 @@ export declare class S3Bubble<T extends S3ParamsInput = S3ParamsInput> extends S
61
61
  bucketName: string;
62
62
  fileName: string;
63
63
  expirationMinutes: number;
64
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
64
65
  region?: string | undefined;
65
66
  userId?: string | undefined;
66
- credentials?: Partial<Record<CredentialType, string>> | undefined;
67
67
  }, {
68
68
  operation: "getFile";
69
69
  bucketName: string;
70
70
  fileName: string;
71
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
71
72
  region?: string | undefined;
72
73
  expirationMinutes?: number | undefined;
73
74
  userId?: string | undefined;
74
- credentials?: Partial<Record<CredentialType, string>> | undefined;
75
75
  }>, import("zod").ZodObject<{
76
76
  operation: import("zod").ZodLiteral<"deleteFile">;
77
77
  bucketName: import("zod").ZodString;
@@ -82,14 +82,14 @@ export declare class S3Bubble<T extends S3ParamsInput = S3ParamsInput> extends S
82
82
  operation: "deleteFile";
83
83
  bucketName: string;
84
84
  fileName: string;
85
- region?: string | undefined;
86
85
  credentials?: Partial<Record<CredentialType, string>> | undefined;
86
+ region?: string | undefined;
87
87
  }, {
88
88
  operation: "deleteFile";
89
89
  bucketName: string;
90
90
  fileName: string;
91
- region?: string | undefined;
92
91
  credentials?: Partial<Record<CredentialType, string>> | undefined;
92
+ region?: string | undefined;
93
93
  }>, import("zod").ZodObject<{
94
94
  operation: import("zod").ZodLiteral<"updateFile">;
95
95
  bucketName: import("zod").ZodDefault<import("zod").ZodString>;
@@ -104,19 +104,19 @@ export declare class S3Bubble<T extends S3ParamsInput = S3ParamsInput> extends S
104
104
  bucketName: string;
105
105
  fileName: string;
106
106
  fileContent: string;
107
- region?: string | undefined;
107
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
108
108
  contentType?: string | undefined;
109
+ region?: string | undefined;
109
110
  userId?: string | undefined;
110
- credentials?: Partial<Record<CredentialType, string>> | undefined;
111
111
  }, {
112
112
  operation: "updateFile";
113
113
  fileName: string;
114
114
  fileContent: string;
115
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
116
+ contentType?: string | undefined;
115
117
  bucketName?: string | undefined;
116
118
  region?: string | undefined;
117
- contentType?: string | undefined;
118
119
  userId?: string | undefined;
119
- credentials?: Partial<Record<CredentialType, string>> | undefined;
120
120
  }>, import("zod").ZodObject<{
121
121
  operation: import("zod").ZodLiteral<"getMultipleUploadUrls">;
122
122
  bucketName: import("zod").ZodString;
@@ -132,18 +132,18 @@ export declare class S3Bubble<T extends S3ParamsInput = S3ParamsInput> extends S
132
132
  expirationMinutes: number;
133
133
  pdfFileName: string;
134
134
  pageCount: number;
135
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
135
136
  region?: string | undefined;
136
137
  userId?: string | undefined;
137
- credentials?: Partial<Record<CredentialType, string>> | undefined;
138
138
  }, {
139
139
  operation: "getMultipleUploadUrls";
140
140
  bucketName: string;
141
141
  pdfFileName: string;
142
142
  pageCount: number;
143
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
143
144
  region?: string | undefined;
144
145
  expirationMinutes?: number | undefined;
145
146
  userId?: string | undefined;
146
- credentials?: Partial<Record<CredentialType, string>> | undefined;
147
147
  }>]>;
148
148
  static readonly resultSchema: import("zod").ZodDiscriminatedUnion<"operation", [import("zod").ZodObject<{
149
149
  operation: import("zod").ZodLiteral<"getUploadUrl">;
@@ -153,18 +153,18 @@ export declare class S3Bubble<T extends S3ParamsInput = S3ParamsInput> extends S
153
153
  contentType: import("zod").ZodOptional<import("zod").ZodString>;
154
154
  error: import("zod").ZodString;
155
155
  }, "strip", import("zod").ZodTypeAny, {
156
- operation: "getUploadUrl";
157
- success: boolean;
158
156
  error: string;
159
- fileName?: string | undefined;
157
+ success: boolean;
158
+ operation: "getUploadUrl";
160
159
  contentType?: string | undefined;
160
+ fileName?: string | undefined;
161
161
  uploadUrl?: string | undefined;
162
162
  }, {
163
- operation: "getUploadUrl";
164
- success: boolean;
165
163
  error: string;
166
- fileName?: string | undefined;
164
+ success: boolean;
165
+ operation: "getUploadUrl";
167
166
  contentType?: string | undefined;
167
+ fileName?: string | undefined;
168
168
  uploadUrl?: string | undefined;
169
169
  }>, import("zod").ZodObject<{
170
170
  operation: import("zod").ZodLiteral<"getFile">;
@@ -177,21 +177,21 @@ export declare class S3Bubble<T extends S3ParamsInput = S3ParamsInput> extends S
177
177
  lastModified: import("zod").ZodOptional<import("zod").ZodString>;
178
178
  error: import("zod").ZodString;
179
179
  }, "strip", import("zod").ZodTypeAny, {
180
- operation: "getFile";
181
- success: boolean;
182
180
  error: string;
183
- fileName?: string | undefined;
181
+ success: boolean;
182
+ operation: "getFile";
184
183
  contentType?: string | undefined;
184
+ fileName?: string | undefined;
185
185
  downloadUrl?: string | undefined;
186
186
  fileUrl?: string | undefined;
187
187
  fileSize?: number | undefined;
188
188
  lastModified?: string | undefined;
189
189
  }, {
190
- operation: "getFile";
191
- success: boolean;
192
190
  error: string;
193
- fileName?: string | undefined;
191
+ success: boolean;
192
+ operation: "getFile";
194
193
  contentType?: string | undefined;
194
+ fileName?: string | undefined;
195
195
  downloadUrl?: string | undefined;
196
196
  fileUrl?: string | undefined;
197
197
  fileSize?: number | undefined;
@@ -203,17 +203,17 @@ export declare class S3Bubble<T extends S3ParamsInput = S3ParamsInput> extends S
203
203
  deleted: import("zod").ZodOptional<import("zod").ZodBoolean>;
204
204
  error: import("zod").ZodString;
205
205
  }, "strip", import("zod").ZodTypeAny, {
206
- operation: "deleteFile";
207
- success: boolean;
208
206
  error: string;
209
- fileName?: string | undefined;
207
+ success: boolean;
208
+ operation: "deleteFile";
210
209
  deleted?: boolean | undefined;
210
+ fileName?: string | undefined;
211
211
  }, {
212
- operation: "deleteFile";
213
- success: boolean;
214
212
  error: string;
215
- fileName?: string | undefined;
213
+ success: boolean;
214
+ operation: "deleteFile";
216
215
  deleted?: boolean | undefined;
216
+ fileName?: string | undefined;
217
217
  }>, import("zod").ZodObject<{
218
218
  operation: import("zod").ZodLiteral<"updateFile">;
219
219
  success: import("zod").ZodBoolean;
@@ -222,19 +222,19 @@ export declare class S3Bubble<T extends S3ParamsInput = S3ParamsInput> extends S
222
222
  contentType: import("zod").ZodOptional<import("zod").ZodString>;
223
223
  error: import("zod").ZodString;
224
224
  }, "strip", import("zod").ZodTypeAny, {
225
- operation: "updateFile";
226
- success: boolean;
227
225
  error: string;
228
- fileName?: string | undefined;
229
- contentType?: string | undefined;
226
+ success: boolean;
227
+ operation: "updateFile";
230
228
  updated?: boolean | undefined;
229
+ contentType?: string | undefined;
230
+ fileName?: string | undefined;
231
231
  }, {
232
- operation: "updateFile";
233
- success: boolean;
234
232
  error: string;
235
- fileName?: string | undefined;
236
- contentType?: string | undefined;
233
+ success: boolean;
234
+ operation: "updateFile";
237
235
  updated?: boolean | undefined;
236
+ contentType?: string | undefined;
237
+ fileName?: string | undefined;
238
238
  }>, import("zod").ZodObject<{
239
239
  operation: import("zod").ZodLiteral<"getMultipleUploadUrls">;
240
240
  success: import("zod").ZodBoolean;
@@ -255,9 +255,9 @@ export declare class S3Bubble<T extends S3ParamsInput = S3ParamsInput> extends S
255
255
  }>, "many">>;
256
256
  error: import("zod").ZodString;
257
257
  }, "strip", import("zod").ZodTypeAny, {
258
- operation: "getMultipleUploadUrls";
259
- success: boolean;
260
258
  error: string;
259
+ success: boolean;
260
+ operation: "getMultipleUploadUrls";
261
261
  pdfFileName?: string | undefined;
262
262
  pdfUploadUrl?: string | undefined;
263
263
  pageUploadUrls?: {
@@ -266,9 +266,9 @@ export declare class S3Bubble<T extends S3ParamsInput = S3ParamsInput> extends S
266
266
  pageNumber: number;
267
267
  }[] | undefined;
268
268
  }, {
269
- operation: "getMultipleUploadUrls";
270
- success: boolean;
271
269
  error: string;
270
+ success: boolean;
271
+ operation: "getMultipleUploadUrls";
272
272
  pdfFileName?: string | undefined;
273
273
  pdfUploadUrl?: string | undefined;
274
274
  pageUploadUrls?: {
@@ -1 +1 @@
1
- {"version":3,"file":"s3.d.ts","sourceRoot":"","sources":["../../../../src/bubbles/service-bubble/s3/s3.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AACvE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAIL,KAAK,aAAa,EAClB,KAAK,QAAQ,EACd,MAAM,gBAAgB,CAAC;AAGxB;;;;;;;;;;;GAWG;AACH,qBAAa,QAAQ,CACnB,CAAC,SAAS,aAAa,GAAG,aAAa,CACvC,SAAQ,aAAa,CAAC,CAAC,EAAE,OAAO,CAAC,QAAQ,EAAE;IAAE,SAAS,EAAE,CAAC,CAAC,WAAW,CAAC,CAAA;CAAE,CAAC,CAAC;IAC1E,MAAM,CAAC,QAAQ,CAAC,OAAO,QAAQ;IAC/B,MAAM,CAAC,QAAQ,CAAC,QAAQ,EAAG,QAAQ,CAAU;IAC7C,MAAM,CAAC,QAA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IAE7B,OAAO,CAAC,QAAQ,CAAyB;gBAGvC,MAAM,GAAE,CAIF,EACN,OAAO,CAAC,EAAE,aAAa,EACvB,UAAU,CAAC,EAAE,MAAM;IAKrB,SAAS,CAAC,gBAAgB,IAAI,MAAM,GAAG,SAAS;IAYhD,OAAO,CAAC,kBAAkB;IAmC1B;;;;OAIG;IACH,OAAO,CAAC,8BAA8B;IAsCzB,cAAc,IAAI,OAAO,CAAC,OAAO,CAAC;YAwBjC,gBAAgB;cA+Bd,aAAa,CAC3B,OAAO,CAAC,EAAE,aAAa,GACtB,OAAO,CAAC,OAAO,CAAC,QAAQ,EAAE;QAAE,SAAS,EAAE,CAAC,CAAC,WAAW,CAAC,CAAA;KAAE,CAAC,CAAC;YA+D9C,YAAY;YAkCZ,OAAO;YAoCP,UAAU;IAqBxB,+EAA+E;IAC/E,OAAO,CAAC,gBAAgB;YAWV,UAAU;YAiDV,qBAAqB;CA6DpC"}
@@ -85,7 +85,8 @@ export class S3Bubble extends ServiceBubble {
85
85
  // AWS SDK v3 PermanentRedirect errors include region in multiple places
86
86
  const err = error;
87
87
  // Check if this is a PermanentRedirect error
88
- if (err?.name !== 'PermanentRedirect' && err?.Code !== 'PermanentRedirect') {
88
+ if (err?.name !== 'PermanentRedirect' &&
89
+ err?.Code !== 'PermanentRedirect') {
89
90
  return undefined;
90
91
  }
91
92
  // 1. Check $response headers for x-amz-bucket-region
@@ -184,10 +185,12 @@ export class S3Bubble extends ServiceBubble {
184
185
  SignatureDoesNotMatch: 'The secret access key is invalid',
185
186
  };
186
187
  const friendlyMessage = s3ErrorMessages[errorName];
187
- const displayError = friendlyMessage
188
- || (errorMessage && errorMessage !== errorName ? `${errorName}: ${errorMessage}` : '')
189
- || errorName
190
- || 'Unknown error occurred';
188
+ const displayError = friendlyMessage ||
189
+ (errorMessage && errorMessage !== errorName
190
+ ? `${errorName}: ${errorMessage}`
191
+ : '') ||
192
+ errorName ||
193
+ 'Unknown error occurred';
191
194
  return {
192
195
  operation,
193
196
  success: false,