@bubblelab/bubble-core 0.1.202 → 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 (168) hide show
  1. package/dist/bubble-bundle.d.ts +160 -160
  2. package/dist/bubble-factory.d.ts.map +1 -1
  3. package/dist/bubble-factory.js.map +1 -1
  4. package/dist/bubbles/service-bubble/agi-inc.d.ts +154 -154
  5. package/dist/bubbles/service-bubble/ai-agent.d.ts +8 -8
  6. package/dist/bubbles/service-bubble/ai-agent.js +3 -3
  7. package/dist/bubbles/service-bubble/ai-agent.js.map +1 -1
  8. package/dist/bubbles/service-bubble/airtable.d.ts +102 -102
  9. package/dist/bubbles/service-bubble/apify/actors/google-maps-scraper.d.ts +10 -10
  10. package/dist/bubbles/service-bubble/apify/actors/instagram-hashtag-scraper.d.ts +8 -8
  11. package/dist/bubbles/service-bubble/apify/actors/instagram-scraper.d.ts +22 -22
  12. package/dist/bubbles/service-bubble/apify/actors/linkedin-jobs-scraper.d.ts +2 -2
  13. package/dist/bubbles/service-bubble/apify/actors/linkedin-posts-search.d.ts +14 -14
  14. package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-detail.d.ts +40 -40
  15. package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-posts.d.ts +32 -32
  16. package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.d.ts +18 -18
  17. package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.d.ts +18 -18
  18. package/dist/bubbles/service-bubble/apify/actors/youtube-scraper.d.ts +10 -10
  19. package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts +150 -150
  20. package/dist/bubbles/service-bubble/apify/apify.d.ts +16 -16
  21. package/dist/bubbles/service-bubble/apify/apify.d.ts.map +1 -1
  22. package/dist/bubbles/service-bubble/apify/apify.js +10 -11
  23. package/dist/bubbles/service-bubble/apify/apify.js.map +1 -1
  24. package/dist/bubbles/service-bubble/ashby/ashby.d.ts +118 -118
  25. package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +84 -84
  26. package/dist/bubbles/service-bubble/attio/attio.d.ts +70 -70
  27. package/dist/bubbles/service-bubble/attio/attio.js +11 -12
  28. package/dist/bubbles/service-bubble/attio/attio.js.map +1 -1
  29. package/dist/bubbles/service-bubble/attio/attio.schema.d.ts +48 -48
  30. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +63 -63
  31. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts.map +1 -1
  32. package/dist/bubbles/service-bubble/browserbase/browserbase.js +3 -8
  33. package/dist/bubbles/service-bubble/browserbase/browserbase.js.map +1 -1
  34. package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +37 -37
  35. package/dist/bubbles/service-bubble/confluence/confluence.d.ts +54 -54
  36. package/dist/bubbles/service-bubble/confluence/confluence.d.ts.map +1 -1
  37. package/dist/bubbles/service-bubble/confluence/confluence.js +4 -6
  38. package/dist/bubbles/service-bubble/confluence/confluence.js.map +1 -1
  39. package/dist/bubbles/service-bubble/confluence/confluence.schema.d.ts +26 -26
  40. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +118 -118
  41. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts.map +1 -1
  42. package/dist/bubbles/service-bubble/crustdata/crustdata.js.map +1 -1
  43. package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +102 -102
  44. package/dist/bubbles/service-bubble/eleven-labs.d.ts +56 -56
  45. package/dist/bubbles/service-bubble/firecrawl.d.ts +682 -682
  46. package/dist/bubbles/service-bubble/followupboss.d.ts +530 -530
  47. package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +303 -303
  48. package/dist/bubbles/service-bubble/fullenrich/fullenrich.schema.d.ts +160 -160
  49. package/dist/bubbles/service-bubble/github.d.ts +200 -200
  50. package/dist/bubbles/service-bubble/github.d.ts.map +1 -1
  51. package/dist/bubbles/service-bubble/github.js +14 -17
  52. package/dist/bubbles/service-bubble/github.js.map +1 -1
  53. package/dist/bubbles/service-bubble/gmail.d.ts +200 -200
  54. package/dist/bubbles/service-bubble/gmail.d.ts.map +1 -1
  55. package/dist/bubbles/service-bubble/gmail.js +10 -12
  56. package/dist/bubbles/service-bubble/gmail.js.map +1 -1
  57. package/dist/bubbles/service-bubble/google-calendar.d.ts +66 -66
  58. package/dist/bubbles/service-bubble/google-drive.d.ts +156 -156
  59. package/dist/bubbles/service-bubble/google-drive.d.ts.map +1 -1
  60. package/dist/bubbles/service-bubble/google-drive.js +11 -12
  61. package/dist/bubbles/service-bubble/google-drive.js.map +1 -1
  62. package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +52 -52
  63. package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts.map +1 -1
  64. package/dist/bubbles/service-bubble/google-sheets/google-sheets.js +6 -8
  65. package/dist/bubbles/service-bubble/google-sheets/google-sheets.js.map +1 -1
  66. package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts +30 -30
  67. package/dist/bubbles/service-bubble/hello-world.d.ts +4 -4
  68. package/dist/bubbles/service-bubble/http.d.ts +12 -12
  69. package/dist/bubbles/service-bubble/hubspot/hubspot.d.ts +47 -47
  70. package/dist/bubbles/service-bubble/hubspot/hubspot.js +9 -10
  71. package/dist/bubbles/service-bubble/hubspot/hubspot.js.map +1 -1
  72. package/dist/bubbles/service-bubble/hubspot/hubspot.schema.d.ts +12 -12
  73. package/dist/bubbles/service-bubble/insforge-db.d.ts +8 -8
  74. package/dist/bubbles/service-bubble/insforge-db.d.ts.map +1 -1
  75. package/dist/bubbles/service-bubble/insforge-db.js.map +1 -1
  76. package/dist/bubbles/service-bubble/jira/jira.d.ts +113 -113
  77. package/dist/bubbles/service-bubble/jira/jira.d.ts.map +1 -1
  78. package/dist/bubbles/service-bubble/jira/jira.js +5 -7
  79. package/dist/bubbles/service-bubble/jira/jira.js.map +1 -1
  80. package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +97 -97
  81. package/dist/bubbles/service-bubble/linear/linear.d.ts +49 -49
  82. package/dist/bubbles/service-bubble/linear/linear.d.ts.map +1 -1
  83. package/dist/bubbles/service-bubble/linear/linear.js +5 -7
  84. package/dist/bubbles/service-bubble/linear/linear.js.map +1 -1
  85. package/dist/bubbles/service-bubble/linear/linear.schema.d.ts +33 -33
  86. package/dist/bubbles/service-bubble/notion/notion.d.ts +689 -689
  87. package/dist/bubbles/service-bubble/notion/notion.d.ts.map +1 -1
  88. package/dist/bubbles/service-bubble/notion/notion.js +5 -11
  89. package/dist/bubbles/service-bubble/notion/notion.js.map +1 -1
  90. package/dist/bubbles/service-bubble/postgresql.d.ts +8 -8
  91. package/dist/bubbles/service-bubble/posthog/posthog.d.ts +36 -36
  92. package/dist/bubbles/service-bubble/posthog/posthog.d.ts.map +1 -1
  93. package/dist/bubbles/service-bubble/posthog/posthog.js +17 -18
  94. package/dist/bubbles/service-bubble/posthog/posthog.js.map +1 -1
  95. package/dist/bubbles/service-bubble/posthog/posthog.schema.d.ts +40 -40
  96. package/dist/bubbles/service-bubble/resend.d.ts +16 -16
  97. package/dist/bubbles/service-bubble/s3/index.d.ts +1 -1
  98. package/dist/bubbles/service-bubble/s3/index.d.ts.map +1 -1
  99. package/dist/bubbles/service-bubble/s3/index.js +1 -1
  100. package/dist/bubbles/service-bubble/s3/index.js.map +1 -1
  101. package/dist/bubbles/service-bubble/s3/s3.d.ts +29 -24
  102. package/dist/bubbles/service-bubble/s3/s3.d.ts.map +1 -1
  103. package/dist/bubbles/service-bubble/s3/s3.js +95 -43
  104. package/dist/bubbles/service-bubble/s3/s3.js.map +1 -1
  105. package/dist/bubbles/service-bubble/s3/s3.schema.d.ts +15 -12
  106. package/dist/bubbles/service-bubble/s3/s3.schema.d.ts.map +1 -1
  107. package/dist/bubbles/service-bubble/s3/s3.schema.js +5 -2
  108. package/dist/bubbles/service-bubble/s3/s3.schema.js.map +1 -1
  109. package/dist/bubbles/service-bubble/sendsafely/sendsafely.d.ts +22 -22
  110. package/dist/bubbles/service-bubble/sendsafely/sendsafely.d.ts.map +1 -1
  111. package/dist/bubbles/service-bubble/sendsafely/sendsafely.js +4 -9
  112. package/dist/bubbles/service-bubble/sendsafely/sendsafely.js.map +1 -1
  113. package/dist/bubbles/service-bubble/sendsafely/sendsafely.schema.d.ts +14 -14
  114. package/dist/bubbles/service-bubble/slack/slack.d.ts +552 -552
  115. package/dist/bubbles/service-bubble/slack/slack.d.ts.map +1 -1
  116. package/dist/bubbles/service-bubble/slack/slack.js +4 -3
  117. package/dist/bubbles/service-bubble/slack/slack.js.map +1 -1
  118. package/dist/bubbles/service-bubble/storage.d.ts +60 -60
  119. package/dist/bubbles/service-bubble/stripe/stripe.d.ts +201 -201
  120. package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +103 -103
  121. package/dist/bubbles/service-bubble/telegram.d.ts +414 -414
  122. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +34 -34
  123. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +26 -26
  124. package/dist/bubbles/tool-bubble/browser-tools/_shared/schema.d.ts +2 -2
  125. package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/schema.d.ts +3 -3
  126. package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/tool.d.ts +4 -4
  127. package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/schema.d.ts +2 -2
  128. package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/tool.d.ts +8 -8
  129. package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/schema.d.ts +2 -2
  130. package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/tool.d.ts +4 -4
  131. package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/schema.d.ts +2 -2
  132. package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/tool.d.ts +4 -4
  133. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +8 -8
  134. package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +4 -4
  135. package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +4 -4
  136. package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +104 -104
  137. package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts +4 -4
  138. package/dist/bubbles/tool-bubble/get-trigger-detail-tool.d.ts +4 -4
  139. package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +20 -20
  140. package/dist/bubbles/tool-bubble/instagram-tool.d.ts +16 -16
  141. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +637 -637
  142. package/dist/bubbles/tool-bubble/list-airtable-bases-tool.d.ts +4 -4
  143. package/dist/bubbles/tool-bubble/list-airtable-tables-tool.d.ts +4 -4
  144. package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
  145. package/dist/bubbles/tool-bubble/list-capabilities-tool.d.ts +12 -12
  146. package/dist/bubbles/tool-bubble/people-search-tool.d.ts +118 -118
  147. package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +40 -40
  148. package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +8 -8
  149. package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +8 -8
  150. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +16 -16
  151. package/dist/bubbles/tool-bubble/tool-template.d.ts +4 -4
  152. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +36 -36
  153. package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +8 -8
  154. package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +8 -8
  155. package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +8 -8
  156. package/dist/bubbles/tool-bubble/web-search-tool.d.ts +12 -12
  157. package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +38 -38
  158. package/dist/bubbles/tool-bubble/youtube-tool.d.ts +8 -8
  159. package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
  160. package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +4 -4
  161. package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +4 -4
  162. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +58 -58
  163. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +24 -24
  164. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +6 -6
  165. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +70 -70
  166. package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +4 -4
  167. package/dist/bubbles.json +8 -4
  168. package/package.json +2 -2
@@ -55,8 +55,8 @@ export declare class PosthogBubble<T extends PosthogParamsInput = PosthogParamsI
55
55
  credentials?: Partial<Record<CredentialType, string>> | undefined;
56
56
  }, {
57
57
  operation: "list_projects";
58
- limit?: number | undefined;
59
58
  credentials?: Partial<Record<CredentialType, string>> | undefined;
59
+ limit?: number | undefined;
60
60
  host?: string | undefined;
61
61
  }>, import("zod").ZodObject<{
62
62
  operation: import("zod").ZodLiteral<"list_events">;
@@ -77,8 +77,8 @@ export declare class PosthogBubble<T extends PosthogParamsInput = PosthogParamsI
77
77
  project_id: string;
78
78
  properties?: string | undefined;
79
79
  credentials?: Partial<Record<CredentialType, string>> | undefined;
80
- person_id?: string | undefined;
81
80
  event?: string | undefined;
81
+ person_id?: string | undefined;
82
82
  after?: string | undefined;
83
83
  before?: string | undefined;
84
84
  distinct_id?: string | undefined;
@@ -86,14 +86,14 @@ export declare class PosthogBubble<T extends PosthogParamsInput = PosthogParamsI
86
86
  operation: "list_events";
87
87
  project_id: string;
88
88
  properties?: string | undefined;
89
- limit?: number | undefined;
90
89
  credentials?: Partial<Record<CredentialType, string>> | undefined;
91
- person_id?: string | undefined;
90
+ limit?: number | undefined;
92
91
  event?: string | undefined;
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
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
134
135
  search?: string | undefined;
135
136
  limit?: number | undefined;
136
- credentials?: Partial<Record<CredentialType, string>> | 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,20 +290,20 @@ 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;
296
- results?: unknown[][] | undefined;
294
+ success: boolean;
295
+ operation: "query";
297
296
  types?: (string | string[])[] | undefined;
298
297
  hasMore?: boolean | null | undefined;
298
+ results?: unknown[][] | undefined;
299
299
  columns?: string[] | undefined;
300
300
  }, {
301
- operation: "query";
302
- success: boolean;
303
301
  error: string;
304
- results?: unknown[][] | undefined;
302
+ success: boolean;
303
+ operation: "query";
305
304
  types?: (string | string[])[] | undefined;
306
305
  hasMore?: boolean | null | undefined;
306
+ results?: unknown[][] | undefined;
307
307
  columns?: string[] | undefined;
308
308
  }>, import("zod").ZodObject<{
309
309
  operation: import("zod").ZodLiteral<"get_person">;
@@ -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;
@@ -370,9 +370,9 @@ export declare class PosthogBubble<T extends PosthogParamsInput = PosthogParamsI
370
370
  id: number;
371
371
  description?: string | null | undefined;
372
372
  name?: string | null | undefined;
373
- filters?: Record<string, unknown> | undefined;
374
373
  result?: unknown;
375
374
  created_at?: string | undefined;
375
+ filters?: Record<string, unknown> | undefined;
376
376
  short_id?: string | undefined;
377
377
  last_refresh?: string | null | undefined;
378
378
  last_modified_at?: string | undefined;
@@ -380,40 +380,40 @@ export declare class PosthogBubble<T extends PosthogParamsInput = PosthogParamsI
380
380
  id: number;
381
381
  description?: string | null | undefined;
382
382
  name?: string | null | undefined;
383
- filters?: Record<string, unknown> | undefined;
384
383
  result?: unknown;
385
384
  created_at?: string | undefined;
385
+ filters?: Record<string, unknown> | undefined;
386
386
  short_id?: string | undefined;
387
387
  last_refresh?: string | null | undefined;
388
388
  last_modified_at?: string | undefined;
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;
398
398
  name?: string | null | undefined;
399
- filters?: Record<string, unknown> | undefined;
400
399
  result?: unknown;
401
400
  created_at?: string | undefined;
401
+ filters?: Record<string, unknown> | undefined;
402
402
  short_id?: string | undefined;
403
403
  last_refresh?: string | null | undefined;
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;
413
413
  name?: string | null | undefined;
414
- filters?: Record<string, unknown> | undefined;
415
414
  result?: unknown;
416
415
  created_at?: string | undefined;
416
+ filters?: Record<string, unknown> | undefined;
417
417
  short_id?: string | undefined;
418
418
  last_refresh?: string | null | undefined;
419
419
  last_modified_at?: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"posthog.d.ts","sourceRoot":"","sources":["../../../../src/bubbles/service-bubble/posthog/posthog.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AACvE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,EAIL,KAAK,kBAAkB,EACvB,KAAK,aAAa,EAMnB,MAAM,qBAAqB,CAAC;AAE7B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,qBAAa,aAAa,CACxB,CAAC,SAAS,kBAAkB,GAAG,kBAAkB,CACjD,SAAQ,aAAa,CACrB,CAAC,EACD,OAAO,CAAC,aAAa,EAAE;IAAE,SAAS,EAAE,CAAC,CAAC,WAAW,CAAC,CAAA;CAAE,CAAC,CACtD;IAEC,MAAM,CAAC,QAAQ,CAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;SAAuB;IACnD,MAAM,CAAC,QAAQ,CAAC,gBAAgB,iEACgC;IAChE,MAAM,CAAC,QAAQ,CAAC,eAAe,gvBAiB7B;IACF,MAAM,CAAC,QAAQ,CAAC,KAAK,uBAAuB;gBAG1C,MAAM,GAAE,CAIF,EACN,OAAO,CAAC,EAAE,aAAa;IAKzB;;OAEG;IACH,SAAS,CAAC,gBAAgB,IAAI,MAAM,GAAG,SAAS;IAShD;;OAEG;IACG,cAAc,IAAI,OAAO,CAAC,OAAO,CAAC;IA4BxC;;OAEG;cACa,aAAa,CAC3B,OAAO,CAAC,EAAE,aAAa,GACtB,OAAO,CAAC,OAAO,CAAC,aAAa,EAAE;QAAE,SAAS,EAAE,CAAC,CAAC,WAAW,CAAC,CAAA;KAAE,CAAC,CAAC;IA+CjE;;OAEG;YACW,qBAAqB;IA6CnC;;OAEG;YACW,sBAAsB;IAqCpC;;OAEG;YACW,YAAY;IAyB1B;;OAEG;YACW,UAAU;IA+BxB;;OAEG;YACW,YAAY;IA8B1B;;OAEG;YACW,SAAS;IA2BvB;;OAEG;YACW,UAAU;CAkBzB"}
@@ -85,26 +85,25 @@ export class PosthogBubble extends ServiceBubble {
85
85
  * Test if the credential is valid by listing projects
86
86
  */
87
87
  async testCredential() {
88
- try {
89
- const apiKey = this.chooseCredential();
90
- if (!apiKey) {
91
- return false;
92
- }
93
- const params = this.params;
94
- const host = params.host || 'https://us.posthog.com';
95
- // Use the /api/users/@me endpoint to validate the key
96
- const response = await fetch(`${host}/api/users/@me/`, {
97
- method: 'GET',
98
- headers: {
99
- Authorization: `Bearer ${apiKey}`,
100
- 'Content-Type': 'application/json',
101
- },
102
- });
103
- return response.ok;
104
- }
105
- catch {
88
+ const apiKey = this.chooseCredential();
89
+ if (!apiKey) {
106
90
  return false;
107
91
  }
92
+ const params = this.params;
93
+ const host = params.host || 'https://us.posthog.com';
94
+ // Use the /api/users/@me endpoint to validate the key
95
+ const response = await fetch(`${host}/api/users/@me/`, {
96
+ method: 'GET',
97
+ headers: {
98
+ Authorization: `Bearer ${apiKey}`,
99
+ 'Content-Type': 'application/json',
100
+ },
101
+ });
102
+ if (!response.ok) {
103
+ const errorText = await response.text().catch(() => '');
104
+ throw new Error(`PostHog API key validation failed (${response.status}): ${errorText}`);
105
+ }
106
+ return true;
108
107
  }
109
108
  /**
110
109
  * Perform the PostHog operation
@@ -1 +1 @@
1
- {"version":3,"file":"posthog.js","sourceRoot":"","sources":["../../../../src/bubbles/service-bubble/posthog/posthog.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AAEvE,OAAO,EACL,mBAAmB,EACnB,mBAAmB,GASpB,MAAM,qBAAqB,CAAC;AAE7B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,MAAM,OAAO,aAEX,SAAQ,aAGT;IACC,8CAA8C;IAC9C,MAAM,CAAU,OAAO,GAAG,SAAS,CAAC;IACpC,MAAM,CAAU,QAAQ,GAAG,QAAiB,CAAC;IAC7C,MAAM,CAAU,UAAU,GAAG,SAAkB,CAAC;IAChD,MAAM,CAAU,IAAI,GAAG,SAAkB,CAAC;IAC1C,MAAM,CAAU,MAAM,GAAG,mBAAmB,CAAC;IAC7C,MAAM,CAAU,YAAY,GAAG,mBAAmB,CAAC;IACnD,MAAM,CAAU,gBAAgB,GAC9B,6DAA6D,CAAC;IAChE,MAAM,CAAU,eAAe,GAAG;;;;;;;;;;;;;;;;;GAiBjC,CAAC;IACF,M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AAW,CAAC,KAAK,GAAG,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QAEzE,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,qBAAqB,CAC/C,MAAM,CAAC,IAAI,EACX,iBAAiB,MAAM,CAAC,UAAU,WAAW,EAC7C,WAAW,CACZ,CAAC;QAEF,OAAO;YACL,SAAS,EAAE,YAAY;YACvB,OAAO,EAAE,IAAI;YACb,OAAO,EAAE,QAAQ,CAAC,OAGN;YACZ,IAAI,EAAE,QAAQ,CAAC,IAAiC;YAChD,KAAK,EAAE,EAAE;SACV,CAAC;IACJ,CAAC;IAED;;OAEG;IACK,KAAK,CAAC,UAAU,CACtB,MAA+B;QAE/B,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,qBAAqB,CAC/C,MAAM,CAAC,IAAI,EACX,iBAAiB,MAAM,CAAC,UAAU,aAAa,MAAM,CAAC,UAAU,GAAG,CACpE,CAAC;QAEF,OAAO;YACL,SAAS,EAAE,aAAa;YACxB,OAAO,EAAE,IAAI;YACb,OAAO,EAAE,QAGG;YACZ,KAAK,EAAE,EAAE;SACV,CAAC;IACJ,CAAC"}
@@ -19,9 +19,9 @@ export declare const PosthogEventSchema: z.ZodObject<{
19
19
  properties?: Record<string, unknown> | undefined;
20
20
  uuid?: string | undefined;
21
21
  id?: string | undefined;
22
- created_at?: string | undefined;
23
- timestamp?: string | undefined;
24
22
  elements?: unknown[] | undefined;
23
+ timestamp?: string | undefined;
24
+ created_at?: string | undefined;
25
25
  elements_chain?: string | undefined;
26
26
  }, {
27
27
  event: string;
@@ -29,9 +29,9 @@ export declare const PosthogEventSchema: z.ZodObject<{
29
29
  properties?: Record<string, unknown> | undefined;
30
30
  uuid?: string | undefined;
31
31
  id?: string | undefined;
32
- created_at?: string | undefined;
33
- timestamp?: string | undefined;
34
32
  elements?: unknown[] | undefined;
33
+ timestamp?: string | undefined;
34
+ created_at?: string | undefined;
35
35
  elements_chain?: string | undefined;
36
36
  }>;
37
37
  /**
@@ -101,19 +101,19 @@ export declare const PosthogQueryResultSchema: z.ZodObject<{
101
101
  limit: z.ZodOptional<z.ZodNumber>;
102
102
  offset: z.ZodOptional<z.ZodNumber>;
103
103
  }, "strip", z.ZodTypeAny, {
104
- offset?: number | undefined;
104
+ types?: (string | string[])[] | undefined;
105
105
  limit?: number | undefined;
106
+ offset?: number | undefined;
106
107
  hasMore?: boolean | null | undefined;
107
- columns?: string[] | undefined;
108
- types?: (string | string[])[] | undefined;
109
108
  results?: unknown[][] | undefined;
109
+ columns?: string[] | undefined;
110
110
  }, {
111
- offset?: number | undefined;
111
+ types?: (string | string[])[] | undefined;
112
112
  limit?: number | undefined;
113
+ offset?: number | undefined;
113
114
  hasMore?: boolean | null | undefined;
114
- columns?: string[] | undefined;
115
- types?: (string | string[])[] | undefined;
116
115
  results?: unknown[][] | undefined;
116
+ columns?: string[] | undefined;
117
117
  }>;
118
118
  /**
119
119
  * PostHog project object from projects API
@@ -177,8 +177,8 @@ export declare const PosthogParamsSchema: z.ZodDiscriminatedUnion<"operation", [
177
177
  project_id: string;
178
178
  properties?: string | undefined;
179
179
  credentials?: Partial<Record<CredentialType, string>> | undefined;
180
- person_id?: string | undefined;
181
180
  event?: string | undefined;
181
+ person_id?: string | undefined;
182
182
  after?: string | undefined;
183
183
  before?: string | undefined;
184
184
  distinct_id?: string | undefined;
@@ -188,12 +188,12 @@ export declare const PosthogParamsSchema: z.ZodDiscriminatedUnion<"operation", [
188
188
  properties?: string | undefined;
189
189
  credentials?: Partial<Record<CredentialType, string>> | undefined;
190
190
  limit?: number | undefined;
191
- person_id?: string | undefined;
192
191
  event?: string | undefined;
192
+ person_id?: string | undefined;
193
193
  after?: string | undefined;
194
194
  before?: string | undefined;
195
- host?: string | undefined;
196
195
  distinct_id?: string | undefined;
196
+ host?: string | undefined;
197
197
  }>, z.ZodObject<{
198
198
  operation: z.ZodLiteral<"query">;
199
199
  project_id: z.ZodString;
@@ -201,14 +201,14 @@ export declare const PosthogParamsSchema: z.ZodDiscriminatedUnion<"operation", [
201
201
  query: z.ZodString;
202
202
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
203
203
  }, "strip", z.ZodTypeAny, {
204
- operation: "query";
205
204
  query: string;
205
+ operation: "query";
206
206
  host: string;
207
207
  project_id: string;
208
208
  credentials?: Partial<Record<CredentialType, string>> | undefined;
209
209
  }, {
210
- operation: "query";
211
210
  query: string;
211
+ operation: "query";
212
212
  project_id: string;
213
213
  credentials?: Partial<Record<CredentialType, string>> | undefined;
214
214
  host?: string | undefined;
@@ -225,17 +225,17 @@ export declare const PosthogParamsSchema: z.ZodDiscriminatedUnion<"operation", [
225
225
  limit: number;
226
226
  host: string;
227
227
  project_id: string;
228
- search?: string | undefined;
229
228
  credentials?: Partial<Record<CredentialType, string>> | undefined;
229
+ search?: string | undefined;
230
230
  distinct_id?: string | undefined;
231
231
  }, {
232
232
  operation: "get_person";
233
233
  project_id: string;
234
- search?: string | undefined;
235
234
  credentials?: Partial<Record<CredentialType, string>> | undefined;
235
+ search?: string | undefined;
236
236
  limit?: number | undefined;
237
- host?: string | undefined;
238
237
  distinct_id?: string | undefined;
238
+ host?: string | undefined;
239
239
  }>, z.ZodObject<{
240
240
  operation: z.ZodLiteral<"get_insight">;
241
241
  project_id: z.ZodString;
@@ -286,9 +286,9 @@ export declare const PosthogResultSchema: z.ZodDiscriminatedUnion<"operation", [
286
286
  next: z.ZodNullable<z.ZodOptional<z.ZodString>>;
287
287
  error: z.ZodString;
288
288
  }, "strip", z.ZodTypeAny, {
289
- operation: "list_projects";
290
289
  error: string;
291
290
  success: boolean;
291
+ operation: "list_projects";
292
292
  projects?: {
293
293
  name: string;
294
294
  id: number;
@@ -300,9 +300,9 @@ export declare const PosthogResultSchema: z.ZodDiscriminatedUnion<"operation", [
300
300
  }[] | undefined;
301
301
  next?: string | null | undefined;
302
302
  }, {
303
- operation: "list_projects";
304
303
  error: string;
305
304
  success: boolean;
305
+ operation: "list_projects";
306
306
  projects?: {
307
307
  name: string;
308
308
  id: number;
@@ -332,9 +332,9 @@ export declare const PosthogResultSchema: z.ZodDiscriminatedUnion<"operation", [
332
332
  properties?: Record<string, unknown> | undefined;
333
333
  uuid?: string | undefined;
334
334
  id?: string | undefined;
335
- created_at?: string | undefined;
336
- timestamp?: string | undefined;
337
335
  elements?: unknown[] | undefined;
336
+ timestamp?: string | undefined;
337
+ created_at?: string | undefined;
338
338
  elements_chain?: string | undefined;
339
339
  }, {
340
340
  event: string;
@@ -342,42 +342,42 @@ export declare const PosthogResultSchema: z.ZodDiscriminatedUnion<"operation", [
342
342
  properties?: Record<string, unknown> | undefined;
343
343
  uuid?: string | undefined;
344
344
  id?: string | undefined;
345
- created_at?: string | undefined;
346
- timestamp?: string | undefined;
347
345
  elements?: unknown[] | undefined;
346
+ timestamp?: string | undefined;
347
+ created_at?: string | undefined;
348
348
  elements_chain?: string | undefined;
349
349
  }>, "many">>;
350
350
  next: z.ZodNullable<z.ZodOptional<z.ZodString>>;
351
351
  error: z.ZodString;
352
352
  }, "strip", z.ZodTypeAny, {
353
- operation: "list_events";
354
353
  error: string;
355
354
  success: boolean;
355
+ operation: "list_events";
356
356
  events?: {
357
357
  event: string;
358
358
  distinct_id: string;
359
359
  properties?: Record<string, unknown> | undefined;
360
360
  uuid?: string | undefined;
361
361
  id?: string | undefined;
362
- created_at?: string | undefined;
363
- timestamp?: string | undefined;
364
362
  elements?: unknown[] | undefined;
363
+ timestamp?: string | undefined;
364
+ created_at?: string | undefined;
365
365
  elements_chain?: string | undefined;
366
366
  }[] | undefined;
367
367
  next?: string | null | undefined;
368
368
  }, {
369
- operation: "list_events";
370
369
  error: string;
371
370
  success: boolean;
371
+ operation: "list_events";
372
372
  events?: {
373
373
  event: string;
374
374
  distinct_id: string;
375
375
  properties?: Record<string, unknown> | undefined;
376
376
  uuid?: string | undefined;
377
377
  id?: string | undefined;
378
- created_at?: string | undefined;
379
- timestamp?: string | undefined;
380
378
  elements?: unknown[] | undefined;
379
+ timestamp?: string | undefined;
380
+ created_at?: string | undefined;
381
381
  elements_chain?: string | undefined;
382
382
  }[] | undefined;
383
383
  next?: string | null | undefined;
@@ -390,21 +390,21 @@ export declare const PosthogResultSchema: z.ZodDiscriminatedUnion<"operation", [
390
390
  hasMore: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
391
391
  error: z.ZodString;
392
392
  }, "strip", z.ZodTypeAny, {
393
- operation: "query";
394
393
  error: string;
395
394
  success: boolean;
396
- hasMore?: boolean | null | undefined;
397
- columns?: string[] | undefined;
395
+ operation: "query";
398
396
  types?: (string | string[])[] | undefined;
397
+ hasMore?: boolean | null | undefined;
399
398
  results?: unknown[][] | undefined;
399
+ columns?: string[] | undefined;
400
400
  }, {
401
- operation: "query";
402
401
  error: string;
403
402
  success: boolean;
404
- hasMore?: boolean | null | undefined;
405
- columns?: string[] | undefined;
403
+ operation: "query";
406
404
  types?: (string | string[])[] | undefined;
405
+ hasMore?: boolean | null | undefined;
407
406
  results?: unknown[][] | undefined;
407
+ columns?: string[] | undefined;
408
408
  }>, z.ZodObject<{
409
409
  operation: z.ZodLiteral<"get_person">;
410
410
  success: z.ZodBoolean;
@@ -430,9 +430,9 @@ export declare const PosthogResultSchema: z.ZodDiscriminatedUnion<"operation", [
430
430
  next: z.ZodNullable<z.ZodOptional<z.ZodString>>;
431
431
  error: z.ZodString;
432
432
  }, "strip", z.ZodTypeAny, {
433
- operation: "get_person";
434
433
  error: string;
435
434
  success: boolean;
435
+ operation: "get_person";
436
436
  next?: string | null | undefined;
437
437
  persons?: {
438
438
  id: string;
@@ -442,9 +442,9 @@ export declare const PosthogResultSchema: z.ZodDiscriminatedUnion<"operation", [
442
442
  created_at?: string | undefined;
443
443
  }[] | undefined;
444
444
  }, {
445
- operation: "get_person";
446
445
  error: string;
447
446
  success: boolean;
447
+ operation: "get_person";
448
448
  next?: string | null | undefined;
449
449
  persons?: {
450
450
  id: string;
@@ -489,9 +489,9 @@ export declare const PosthogResultSchema: z.ZodDiscriminatedUnion<"operation", [
489
489
  }>>;
490
490
  error: z.ZodString;
491
491
  }, "strip", z.ZodTypeAny, {
492
- operation: "get_insight";
493
492
  error: string;
494
493
  success: boolean;
494
+ operation: "get_insight";
495
495
  insight?: {
496
496
  id: number;
497
497
  description?: string | null | undefined;
@@ -504,9 +504,9 @@ export declare const PosthogResultSchema: z.ZodDiscriminatedUnion<"operation", [
504
504
  last_modified_at?: string | undefined;
505
505
  } | undefined;
506
506
  }, {
507
- operation: "get_insight";
508
507
  error: string;
509
508
  success: boolean;
509
+ operation: "get_insight";
510
510
  insight?: {
511
511
  id: number;
512
512
  description?: string | null | 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;
@@ -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;
@@ -1,4 +1,4 @@
1
1
  export { S3Bubble } from './s3.js';
2
2
  export { S3ParamsSchema, S3ResultSchema, type S3Params, type S3ParamsInput, type S3Result, type S3OperationResult, } from './s3.schema.js';
3
- export { parseS3Credential, isBase64, type S3Credentials, } from './s3.utils.js';
3
+ export { parseS3Credential, isBase64, type S3Credentials } from './s3.utils.js';
4
4
  //# sourceMappingURL=index.d.ts.map