@bubblelab/bubble-core 0.1.157 → 0.1.158

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 (82) hide show
  1. package/dist/bubble-bundle.d.ts +102 -102
  2. package/dist/bubbles/service-bubble/agi-inc.d.ts +144 -144
  3. package/dist/bubbles/service-bubble/ai-agent.d.ts +8 -8
  4. package/dist/bubbles/service-bubble/airtable.d.ts +184 -184
  5. package/dist/bubbles/service-bubble/apify/apify.d.ts +24 -24
  6. package/dist/bubbles/service-bubble/ashby/ashby.d.ts +152 -152
  7. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +55 -55
  8. package/dist/bubbles/service-bubble/confluence/confluence.d.ts +63 -63
  9. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +98 -98
  10. package/dist/bubbles/service-bubble/eleven-labs.d.ts +56 -56
  11. package/dist/bubbles/service-bubble/firecrawl.d.ts +264 -264
  12. package/dist/bubbles/service-bubble/followupboss.d.ts +282 -282
  13. package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +40 -40
  14. package/dist/bubbles/service-bubble/github.d.ts +216 -216
  15. package/dist/bubbles/service-bubble/gmail.d.ts +228 -228
  16. package/dist/bubbles/service-bubble/google-calendar.d.ts +62 -62
  17. package/dist/bubbles/service-bubble/google-drive.d.ts +152 -152
  18. package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +44 -44
  19. package/dist/bubbles/service-bubble/hello-world.d.ts +4 -4
  20. package/dist/bubbles/service-bubble/http.d.ts +12 -12
  21. package/dist/bubbles/service-bubble/insforge-db.d.ts +6 -6
  22. package/dist/bubbles/service-bubble/jira/jira.d.ts +107 -107
  23. package/dist/bubbles/service-bubble/notion/notion.d.ts +932 -932
  24. package/dist/bubbles/service-bubble/postgresql.d.ts +6 -6
  25. package/dist/bubbles/service-bubble/posthog/index.d.ts +1 -1
  26. package/dist/bubbles/service-bubble/posthog/index.d.ts.map +1 -1
  27. package/dist/bubbles/service-bubble/posthog/index.js +1 -1
  28. package/dist/bubbles/service-bubble/posthog/index.js.map +1 -1
  29. package/dist/bubbles/service-bubble/posthog/posthog.d.ts +150 -68
  30. package/dist/bubbles/service-bubble/posthog/posthog.d.ts.map +1 -1
  31. package/dist/bubbles/service-bubble/posthog/posthog.js +18 -0
  32. package/dist/bubbles/service-bubble/posthog/posthog.js.map +1 -1
  33. package/dist/bubbles/service-bubble/posthog/posthog.schema.d.ts +202 -89
  34. package/dist/bubbles/service-bubble/posthog/posthog.schema.d.ts.map +1 -1
  35. package/dist/bubbles/service-bubble/posthog/posthog.schema.js +57 -3
  36. package/dist/bubbles/service-bubble/posthog/posthog.schema.js.map +1 -1
  37. package/dist/bubbles/service-bubble/resend.d.ts +16 -16
  38. package/dist/bubbles/service-bubble/slack/slack.d.ts +384 -384
  39. package/dist/bubbles/service-bubble/storage.d.ts +40 -40
  40. package/dist/bubbles/service-bubble/stripe/stripe.d.ts +161 -161
  41. package/dist/bubbles/service-bubble/telegram.d.ts +264 -264
  42. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +26 -26
  43. package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/tool.d.ts +4 -4
  44. package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/tool.d.ts +4 -4
  45. package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/tool.d.ts +4 -4
  46. package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/tool.d.ts +4 -4
  47. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +8 -8
  48. package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +4 -4
  49. package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +4 -4
  50. package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +18 -18
  51. package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts +4 -4
  52. package/dist/bubbles/tool-bubble/get-trigger-detail-tool.d.ts +4 -4
  53. package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +12 -12
  54. package/dist/bubbles/tool-bubble/instagram-tool.d.ts +22 -22
  55. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +108 -108
  56. package/dist/bubbles/tool-bubble/list-airtable-bases-tool.d.ts +12 -12
  57. package/dist/bubbles/tool-bubble/list-airtable-tables-tool.d.ts +24 -24
  58. package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
  59. package/dist/bubbles/tool-bubble/list-capabilities-tool.d.ts +12 -12
  60. package/dist/bubbles/tool-bubble/people-search-tool.d.ts +42 -42
  61. package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +16 -16
  62. package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +8 -8
  63. package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +8 -8
  64. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +12 -12
  65. package/dist/bubbles/tool-bubble/tool-template.d.ts +4 -4
  66. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +36 -36
  67. package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +8 -8
  68. package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +8 -8
  69. package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +8 -8
  70. package/dist/bubbles/tool-bubble/web-search-tool.d.ts +16 -16
  71. package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +8 -8
  72. package/dist/bubbles/tool-bubble/youtube-tool.d.ts +18 -18
  73. package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
  74. package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +24 -24
  75. package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +4 -4
  76. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +68 -68
  77. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +24 -24
  78. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +10 -10
  79. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +70 -70
  80. package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +4 -4
  81. package/dist/bubbles.json +128 -5
  82. package/package.json +2 -2
@@ -148,8 +148,8 @@ declare const SlackNotifierResultSchema: z.ZodObject<{
148
148
  originalLength?: number | undefined;
149
149
  }>>;
150
150
  }, "strip", z.ZodTypeAny, {
151
- error: string;
152
151
  success: boolean;
152
+ error: string;
153
153
  messageInfo?: {
154
154
  channelName?: string | undefined;
155
155
  messageTimestamp?: string | undefined;
@@ -163,8 +163,8 @@ declare const SlackNotifierResultSchema: z.ZodObject<{
163
163
  originalLength?: number | undefined;
164
164
  } | undefined;
165
165
  }, {
166
- error: string;
167
166
  success: boolean;
167
+ error: string;
168
168
  messageInfo?: {
169
169
  channelName?: string | undefined;
170
170
  messageTimestamp?: string | undefined;
@@ -344,8 +344,8 @@ export declare class SlackNotifierWorkflowBubble extends WorkflowBubble<SlackNot
344
344
  originalLength?: number | undefined;
345
345
  }>>;
346
346
  }, "strip", z.ZodTypeAny, {
347
- error: string;
348
347
  success: boolean;
348
+ error: string;
349
349
  messageInfo?: {
350
350
  channelName?: string | undefined;
351
351
  messageTimestamp?: string | undefined;
@@ -359,8 +359,8 @@ export declare class SlackNotifierWorkflowBubble extends WorkflowBubble<SlackNot
359
359
  originalLength?: number | undefined;
360
360
  } | undefined;
361
361
  }, {
362
- error: string;
363
362
  success: boolean;
363
+ error: string;
364
364
  messageInfo?: {
365
365
  channelName?: string | undefined;
366
366
  messageTimestamp?: string | undefined;
package/dist/bubbles.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": "2.0.0",
3
- "generatedAt": "2026-02-13T23:19:48.901Z",
3
+ "generatedAt": "2026-02-14T02:15:43.490Z",
4
4
  "totalCount": 65,
5
5
  "bubbles": [
6
6
  {
@@ -64768,6 +64768,41 @@
64768
64768
  "outputSchema": "Complex schema - see usage example for structure",
64769
64769
  "inputJsonSchema": {
64770
64770
  "anyOf": [
64771
+ {
64772
+ "type": "object",
64773
+ "properties": {
64774
+ "operation": {
64775
+ "type": "string",
64776
+ "enum": [
64777
+ "list_projects"
64778
+ ],
64779
+ "description": "List all projects accessible with your API key — use this to discover valid project_id values"
64780
+ },
64781
+ "host": {
64782
+ "type": "string",
64783
+ "default": "https://us.posthog.com",
64784
+ "description": "PostHog host URL (e.g., https://us.posthog.com, https://eu.posthog.com, or your self-hosted URL)"
64785
+ },
64786
+ "limit": {
64787
+ "type": "number",
64788
+ "minimum": 1,
64789
+ "maximum": 100,
64790
+ "default": 100,
64791
+ "description": "Maximum number of projects to return (1-100)"
64792
+ },
64793
+ "credentials": {
64794
+ "type": "object",
64795
+ "additionalProperties": {
64796
+ "type": "string"
64797
+ },
64798
+ "description": "Object mapping credential types to values (injected at runtime)"
64799
+ }
64800
+ },
64801
+ "required": [
64802
+ "operation"
64803
+ ],
64804
+ "additionalProperties": false
64805
+ },
64771
64806
  {
64772
64807
  "type": "object",
64773
64808
  "properties": {
@@ -64966,6 +65001,80 @@
64966
65001
  },
64967
65002
  "outputJsonSchema": {
64968
65003
  "anyOf": [
65004
+ {
65005
+ "type": "object",
65006
+ "properties": {
65007
+ "operation": {
65008
+ "type": "string",
65009
+ "enum": [
65010
+ "list_projects"
65011
+ ],
65012
+ "description": "List projects operation"
65013
+ },
65014
+ "success": {
65015
+ "type": "boolean",
65016
+ "description": "Whether the operation was successful"
65017
+ },
65018
+ "projects": {
65019
+ "type": "array",
65020
+ "items": {
65021
+ "type": "object",
65022
+ "properties": {
65023
+ "id": {
65024
+ "type": "number",
65025
+ "description": "Project ID (use this as project_id in other operations)"
65026
+ },
65027
+ "uuid": {
65028
+ "type": "string",
65029
+ "description": "Project UUID"
65030
+ },
65031
+ "name": {
65032
+ "type": "string",
65033
+ "description": "Project name"
65034
+ },
65035
+ "organization": {
65036
+ "type": "string",
65037
+ "description": "Organization ID"
65038
+ },
65039
+ "created_at": {
65040
+ "type": "string",
65041
+ "description": "ISO 8601 creation timestamp"
65042
+ },
65043
+ "timezone": {
65044
+ "type": "string",
65045
+ "description": "Project timezone (e.g., UTC)"
65046
+ },
65047
+ "is_demo": {
65048
+ "type": "boolean",
65049
+ "description": "Whether this is a demo project"
65050
+ }
65051
+ },
65052
+ "required": [
65053
+ "id",
65054
+ "name"
65055
+ ],
65056
+ "additionalProperties": false,
65057
+ "description": "PostHog project record"
65058
+ },
65059
+ "description": "List of projects"
65060
+ },
65061
+ "next": {
65062
+ "type": "string",
65063
+ "nullable": true,
65064
+ "description": "URL for fetching the next page of results"
65065
+ },
65066
+ "error": {
65067
+ "type": "string",
65068
+ "description": "Error message if operation failed"
65069
+ }
65070
+ },
65071
+ "required": [
65072
+ "operation",
65073
+ "success",
65074
+ "error"
65075
+ ],
65076
+ "additionalProperties": false
65077
+ },
64969
65078
  {
64970
65079
  "type": "object",
64971
65080
  "properties": {
@@ -64985,9 +65094,13 @@
64985
65094
  "items": {
64986
65095
  "type": "object",
64987
65096
  "properties": {
65097
+ "id": {
65098
+ "type": "string",
65099
+ "description": "Event identifier (returned by API as id)"
65100
+ },
64988
65101
  "uuid": {
64989
65102
  "type": "string",
64990
- "description": "Unique event identifier"
65103
+ "description": "Unique event identifier (legacy field name)"
64991
65104
  },
64992
65105
  "event": {
64993
65106
  "type": "string",
@@ -65021,7 +65134,6 @@
65021
65134
  }
65022
65135
  },
65023
65136
  "required": [
65024
- "uuid",
65025
65137
  "event",
65026
65138
  "distinct_id"
65027
65139
  ],
@@ -65079,12 +65191,23 @@
65079
65191
  "types": {
65080
65192
  "type": "array",
65081
65193
  "items": {
65082
- "type": "string"
65194
+ "anyOf": [
65195
+ {
65196
+ "type": "string"
65197
+ },
65198
+ {
65199
+ "type": "array",
65200
+ "items": {
65201
+ "type": "string"
65202
+ }
65203
+ }
65204
+ ]
65083
65205
  },
65084
65206
  "description": "Column types in the result"
65085
65207
  },
65086
65208
  "hasMore": {
65087
65209
  "type": "boolean",
65210
+ "nullable": true,
65088
65211
  "description": "Whether more rows are available"
65089
65212
  },
65090
65213
  "error": {
@@ -65246,7 +65369,7 @@
65246
65369
  }
65247
65370
  ]
65248
65371
  },
65249
- "usageExample": "// List Events example\nconst posthog_list_events = new PosthogBubble({\n operation: \"list_events\", // List recent events with optional filtering\n project_id: \"example string\", // PostHog project ID (found in Project Settings)\n host: \"https://us.posthog.com\" // default, // PostHog host URL (e.g., https://us.posthog.com, https://eu.posthog.com, or your self-hosted URL)\n event: \"example string\", // Filter by event name (e.g., $pageview, user_signed_up)\n person_id: \"example string\", // Filter events by person ID\n distinct_id: \"example string\", // Filter events by distinct ID\n after: \"example string\", // Only return events after this ISO 8601 timestamp\n before: \"example string\", // Only return events before this ISO 8601 timestamp\n properties: \"example string\", // JSON-encoded array of property filters (e.g., [{\"key\":\"$browser\",\"value\":\"Chrome\",\"operator\":\"exact\"}])\n limit: 100 // default, // Maximum number of events to return (1-1000)\n});\n\nconst result = await posthog_list_events.action();\n// outputSchema for result.data when operation === 'list_events':\n// {\n// operation: \"list_events\" // List events operation,\n// success: boolean // Whether the operation was successful,\n// events: { uuid: string // Unique event identifier, event: string // Event name (e.g., $pageview, user_signed_up), distinct_id: string // Distinct ID of the person, properties: Record<string, unknown> | undefined // Event properties, timestamp: string | undefined // ISO 8601 event timestamp, created_at: string | undefined // ISO 8601 creation timestamp, elements: unknown[] | undefined // DOM elements captured, elements_chain: string | undefined // Serialized element chain }[] | undefined // List of events,\n// next: string | undefined | null // URL for fetching the next page of results,\n// error: string // Error message if operation failed\n// }\n\n\n// Query example\nconst posthog_query = new PosthogBubble({\n operation: \"query\", // Execute a HogQL query for custom analytics\n project_id: \"example string\", // PostHog project ID (found in Project Settings)\n host: \"https://us.posthog.com\" // default, // PostHog host URL (e.g., https://us.posthog.com, https://eu.posthog.com, or your self-hosted URL)\n query: \"example string\", // HogQL query to execute (SQL-like syntax, e.g., SELECT event, count() FROM events GROUP BY event ORDER BY count() DESC LIMIT 10)\n});\n\nconst result = await posthog_query.action();\n// outputSchema for result.data when operation === 'query':\n// {\n// operation: \"query\" // HogQL query operation,\n// success: boolean // Whether the operation was successful,\n// columns: string[] | undefined // Column names in the result,\n// results: unknown[][] | undefined // Rows of query results,\n// types: string[] | undefined // Column types in the result,\n// hasMore: boolean | undefined // Whether more rows are available,\n// error: string // Error message if operation failed\n// }\n\n\n// Get Person example\nconst posthog_get_person = new PosthogBubble({\n operation: \"get_person\", // Look up a person profile by distinct ID or search\n project_id: \"example string\", // PostHog project ID (found in Project Settings)\n host: \"https://us.posthog.com\" // default, // PostHog host URL (e.g., https://us.posthog.com, https://eu.posthog.com, or your self-hosted URL)\n distinct_id: \"example string\", // Look up person by distinct ID\n search: \"example string\", // Search for persons by email or name in person properties\n limit: 10 // default, // Maximum number of persons to return (1-100)\n});\n\nconst result = await posthog_get_person.action();\n// outputSchema for result.data when operation === 'get_person':\n// {\n// operation: \"get_person\" // Get person operation,\n// success: boolean // Whether the operation was successful,\n// persons: { id: string // Internal person ID (UUID), uuid: string | undefined // Person UUID, distinct_ids: string[] // All distinct IDs associated with this person, properties: Record<string, unknown> | undefined // Person properties (set via $set), created_at: string | undefined // ISO 8601 creation timestamp }[] | undefined // List of matching persons,\n// next: string | undefined | null // URL for fetching the next page,\n// error: string // Error message if operation failed\n// }\n\n\n// Get Insight example\nconst posthog_get_insight = new PosthogBubble({\n operation: \"get_insight\", // Retrieve a saved insight's results by ID\n project_id: \"example string\", // PostHog project ID (found in Project Settings)\n host: \"https://us.posthog.com\" // default, // PostHog host URL (e.g., https://us.posthog.com, https://eu.posthog.com, or your self-hosted URL)\n insight_id: 42, // Numeric ID of the insight to retrieve\n});\n\nconst result = await posthog_get_insight.action();\n// outputSchema for result.data when operation === 'get_insight':\n// {\n// operation: \"get_insight\" // Get insight operation,\n// success: boolean // Whether the operation was successful,\n// insight: { id: number // Insight ID, short_id: string | undefined // Short ID for sharing, name: string | undefined | null // Insight name, description: string | undefined | null // Insight description, result: unknown | undefined // Computed insight results, filters: Record<string, unknown> | undefined // Insight filter configuration, created_at: string | undefined // ISO 8601 creation timestamp, last_refresh: string | undefined | null // Last time the insight was refreshed, last_modified_at: string | undefined // ISO 8601 last modification timestamp } | undefined // Insight details and results,\n// error: string // Error message if operation failed\n// }\n\n\n// Always check success status before using data\nif (!result.success) {\n throw new Error(`posthog failed: ${result.error}`);\n}\n\n// Access the actual data\nconst actualData = result.data;\nconsole.log(actualData);",
65372
+ "usageExample": "// List Projects example\nconst posthog_list_projects = new PosthogBubble({\n operation: \"list_projects\", // List all projects accessible with your API key — use this to discover valid project_id values\n host: \"https://us.posthog.com\" // default, // PostHog host URL (e.g., https://us.posthog.com, https://eu.posthog.com, or your self-hosted URL)\n limit: 100 // default, // Maximum number of projects to return (1-100)\n});\n\nconst result = await posthog_list_projects.action();\n// outputSchema for result.data when operation === 'list_projects':\n// {\n// operation: \"list_projects\" // List projects operation,\n// success: boolean // Whether the operation was successful,\n// projects: { id: number // Project ID (use this as project_id in other operations), uuid: string | undefined // Project UUID, name: string // Project name, organization: string | undefined // Organization ID, created_at: string | undefined // ISO 8601 creation timestamp, timezone: string | undefined // Project timezone (e.g., UTC), is_demo: boolean | undefined // Whether this is a demo project }[] | undefined // List of projects,\n// next: string | undefined | null // URL for fetching the next page of results,\n// error: string // Error message if operation failed\n// }\n\n\n// List Events example\nconst posthog_list_events = new PosthogBubble({\n operation: \"list_events\", // List recent events with optional filtering\n project_id: \"example string\", // PostHog project ID (found in Project Settings)\n host: \"https://us.posthog.com\" // default, // PostHog host URL (e.g., https://us.posthog.com, https://eu.posthog.com, or your self-hosted URL)\n event: \"example string\", // Filter by event name (e.g., $pageview, user_signed_up)\n person_id: \"example string\", // Filter events by person ID\n distinct_id: \"example string\", // Filter events by distinct ID\n after: \"example string\", // Only return events after this ISO 8601 timestamp\n before: \"example string\", // Only return events before this ISO 8601 timestamp\n properties: \"example string\", // JSON-encoded array of property filters (e.g., [{\"key\":\"$browser\",\"value\":\"Chrome\",\"operator\":\"exact\"}])\n limit: 100 // default, // Maximum number of events to return (1-1000)\n});\n\nconst result = await posthog_list_events.action();\n// outputSchema for result.data when operation === 'list_events':\n// {\n// operation: \"list_events\" // List events operation,\n// success: boolean // Whether the operation was successful,\n// events: { id: string | undefined // Event identifier (returned by API as id), uuid: string | undefined // Unique event identifier (legacy field name), event: string // Event name (e.g., $pageview, user_signed_up), distinct_id: string // Distinct ID of the person, properties: Record<string, unknown> | undefined // Event properties, timestamp: string | undefined // ISO 8601 event timestamp, created_at: string | undefined // ISO 8601 creation timestamp, elements: unknown[] | undefined // DOM elements captured, elements_chain: string | undefined // Serialized element chain }[] | undefined // List of events,\n// next: string | undefined | null // URL for fetching the next page of results,\n// error: string // Error message if operation failed\n// }\n\n\n// Query example\nconst posthog_query = new PosthogBubble({\n operation: \"query\", // Execute a HogQL query for custom analytics\n project_id: \"example string\", // PostHog project ID (found in Project Settings)\n host: \"https://us.posthog.com\" // default, // PostHog host URL (e.g., https://us.posthog.com, https://eu.posthog.com, or your self-hosted URL)\n query: \"example string\", // HogQL query to execute (SQL-like syntax, e.g., SELECT event, count() FROM events GROUP BY event ORDER BY count() DESC LIMIT 10)\n});\n\nconst result = await posthog_query.action();\n// outputSchema for result.data when operation === 'query':\n// {\n// operation: \"query\" // HogQL query operation,\n// success: boolean // Whether the operation was successful,\n// columns: string[] | undefined // Column names in the result,\n// results: unknown[][] | undefined // Rows of query results,\n// types: unknown[] | undefined // Column types in the result,\n// hasMore: boolean | null | undefined // Whether more rows are available,\n// error: string // Error message if operation failed\n// }\n\n\n// Get Person example\nconst posthog_get_person = new PosthogBubble({\n operation: \"get_person\", // Look up a person profile by distinct ID or search\n project_id: \"example string\", // PostHog project ID (found in Project Settings)\n host: \"https://us.posthog.com\" // default, // PostHog host URL (e.g., https://us.posthog.com, https://eu.posthog.com, or your self-hosted URL)\n distinct_id: \"example string\", // Look up person by distinct ID\n search: \"example string\", // Search for persons by email or name in person properties\n limit: 10 // default, // Maximum number of persons to return (1-100)\n});\n\nconst result = await posthog_get_person.action();\n// outputSchema for result.data when operation === 'get_person':\n// {\n// operation: \"get_person\" // Get person operation,\n// success: boolean // Whether the operation was successful,\n// persons: { id: string // Internal person ID (UUID), uuid: string | undefined // Person UUID, distinct_ids: string[] // All distinct IDs associated with this person, properties: Record<string, unknown> | undefined // Person properties (set via $set), created_at: string | undefined // ISO 8601 creation timestamp }[] | undefined // List of matching persons,\n// next: string | undefined | null // URL for fetching the next page,\n// error: string // Error message if operation failed\n// }\n\n\n// Get Insight example\nconst posthog_get_insight = new PosthogBubble({\n operation: \"get_insight\", // Retrieve a saved insight's results by ID\n project_id: \"example string\", // PostHog project ID (found in Project Settings)\n host: \"https://us.posthog.com\" // default, // PostHog host URL (e.g., https://us.posthog.com, https://eu.posthog.com, or your self-hosted URL)\n insight_id: 42, // Numeric ID of the insight to retrieve\n});\n\nconst result = await posthog_get_insight.action();\n// outputSchema for result.data when operation === 'get_insight':\n// {\n// operation: \"get_insight\" // Get insight operation,\n// success: boolean // Whether the operation was successful,\n// insight: { id: number // Insight ID, short_id: string | undefined // Short ID for sharing, name: string | undefined | null // Insight name, description: string | undefined | null // Insight description, result: unknown | undefined // Computed insight results, filters: Record<string, unknown> | undefined // Insight filter configuration, created_at: string | undefined // ISO 8601 creation timestamp, last_refresh: string | undefined | null // Last time the insight was refreshed, last_modified_at: string | undefined // ISO 8601 last modification timestamp } | undefined // Insight details and results,\n// error: string // Error message if operation failed\n// }\n\n\n// Always check success status before using data\nif (!result.success) {\n throw new Error(`posthog failed: ${result.error}`);\n}\n\n// Access the actual data\nconst actualData = result.data;\nconsole.log(actualData);",
65250
65373
  "requiredCredentials": [
65251
65374
  "POSTHOG_API_KEY"
65252
65375
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bubblelab/bubble-core",
3
- "version": "0.1.157",
3
+ "version": "0.1.158",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "main": "./dist/index.js",
@@ -40,7 +40,7 @@
40
40
  "puppeteer-core": "^24.10.0",
41
41
  "resend": "^4.8.0",
42
42
  "zod": "^3.24.1",
43
- "@bubblelab/shared-schemas": "0.1.157"
43
+ "@bubblelab/shared-schemas": "0.1.158"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@types/node": "^20.12.12",