@bubblelab/bubble-core 0.1.155 → 0.1.157

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 (156) hide show
  1. package/dist/bubble-bundle.d.ts +198 -158
  2. package/dist/bubble-factory.d.ts.map +1 -1
  3. package/dist/bubble-factory.js +4 -0
  4. package/dist/bubble-factory.js.map +1 -1
  5. package/dist/bubble-flow/bubble-flow-class.js.map +1 -1
  6. package/dist/bubble-trigger/index.d.ts +2 -0
  7. package/dist/bubble-trigger/index.d.ts.map +1 -0
  8. package/dist/bubble-trigger/index.js +2 -0
  9. package/dist/bubble-trigger/index.js.map +1 -0
  10. package/dist/bubble-trigger/types.d.ts +87 -0
  11. package/dist/bubble-trigger/types.d.ts.map +1 -0
  12. package/dist/bubble-trigger/types.js +14 -0
  13. package/dist/bubble-trigger/types.js.map +1 -0
  14. package/dist/bubbles/service-bubble/agi-inc.d.ts +60 -60
  15. package/dist/bubbles/service-bubble/ai-agent.d.ts +8 -8
  16. package/dist/bubbles/service-bubble/airtable.d.ts +50 -50
  17. package/dist/bubbles/service-bubble/apify/actors/google-maps-scraper.d.ts +2 -2
  18. package/dist/bubbles/service-bubble/apify/actors/instagram-hashtag-scraper.d.ts +4 -4
  19. package/dist/bubbles/service-bubble/apify/actors/instagram-scraper.d.ts +12 -12
  20. package/dist/bubbles/service-bubble/apify/actors/linkedin-jobs-scraper.d.ts +2 -2
  21. package/dist/bubbles/service-bubble/apify/actors/linkedin-posts-search.d.ts +8 -8
  22. package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-detail.d.ts +52 -52
  23. package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-posts.d.ts +18 -18
  24. package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.d.ts +10 -10
  25. package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.d.ts +27 -27
  26. package/dist/bubbles/service-bubble/apify/actors/youtube-scraper.d.ts +8 -8
  27. package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts +131 -131
  28. package/dist/bubbles/service-bubble/apify/apify.d.ts +12 -12
  29. package/dist/bubbles/service-bubble/ashby/ashby.d.ts +62 -62
  30. package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +84 -84
  31. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +28 -28
  32. package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +30 -30
  33. package/dist/bubbles/service-bubble/confluence/confluence.d.ts +24 -24
  34. package/dist/bubbles/service-bubble/confluence/confluence.schema.d.ts +24 -24
  35. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +126 -126
  36. package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +158 -158
  37. package/dist/bubbles/service-bubble/eleven-labs.d.ts +28 -28
  38. package/dist/bubbles/service-bubble/firecrawl.d.ts +628 -628
  39. package/dist/bubbles/service-bubble/followupboss.d.ts +140 -140
  40. package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +68 -68
  41. package/dist/bubbles/service-bubble/fullenrich/fullenrich.schema.d.ts +108 -108
  42. package/dist/bubbles/service-bubble/github.d.ts +76 -76
  43. package/dist/bubbles/service-bubble/gmail.d.ts +80 -80
  44. package/dist/bubbles/service-bubble/google-calendar.d.ts +138 -138
  45. package/dist/bubbles/service-bubble/google-drive.d.ts +60 -60
  46. package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +44 -44
  47. package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts +48 -48
  48. package/dist/bubbles/service-bubble/google-sheets.d.ts +1811 -0
  49. package/dist/bubbles/service-bubble/google-sheets.d.ts.map +1 -0
  50. package/dist/bubbles/service-bubble/google-sheets.js +904 -0
  51. package/dist/bubbles/service-bubble/google-sheets.js.map +1 -0
  52. package/dist/bubbles/service-bubble/hello-world.d.ts +8 -8
  53. package/dist/bubbles/service-bubble/http.d.ts +16 -16
  54. package/dist/bubbles/service-bubble/insforge-db.d.ts +8 -8
  55. package/dist/bubbles/service-bubble/jira/jira.d.ts +86 -86
  56. package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +94 -94
  57. package/dist/bubbles/service-bubble/notion/notion.d.ts +522 -522
  58. package/dist/bubbles/service-bubble/notion/property-schemas.d.ts +8 -8
  59. package/dist/bubbles/service-bubble/postgresql.d.ts +8 -8
  60. package/dist/bubbles/service-bubble/posthog/index.d.ts +3 -0
  61. package/dist/bubbles/service-bubble/posthog/index.d.ts.map +1 -0
  62. package/dist/bubbles/service-bubble/posthog/index.js +3 -0
  63. package/dist/bubbles/service-bubble/posthog/index.js.map +1 -0
  64. package/dist/bubbles/service-bubble/posthog/posthog.d.ts +387 -0
  65. package/dist/bubbles/service-bubble/posthog/posthog.d.ts.map +1 -0
  66. package/dist/bubbles/service-bubble/posthog/posthog.js +291 -0
  67. package/dist/bubbles/service-bubble/posthog/posthog.js.map +1 -0
  68. package/dist/bubbles/service-bubble/posthog/posthog.schema.d.ts +432 -0
  69. package/dist/bubbles/service-bubble/posthog/posthog.schema.d.ts.map +1 -0
  70. package/dist/bubbles/service-bubble/posthog/posthog.schema.js +298 -0
  71. package/dist/bubbles/service-bubble/posthog/posthog.schema.js.map +1 -0
  72. package/dist/bubbles/service-bubble/resend.d.ts +28 -28
  73. package/dist/bubbles/service-bubble/slack/slack.d.ts +312 -312
  74. package/dist/bubbles/service-bubble/slack.d.ts +5869 -0
  75. package/dist/bubbles/service-bubble/slack.d.ts.map +1 -0
  76. package/dist/bubbles/service-bubble/slack.js +1536 -0
  77. package/dist/bubbles/service-bubble/slack.js.map +1 -0
  78. package/dist/bubbles/service-bubble/storage.d.ts +20 -20
  79. package/dist/bubbles/service-bubble/stripe/stripe.d.ts +125 -125
  80. package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +143 -143
  81. package/dist/bubbles/service-bubble/telegram.d.ts +1537 -1537
  82. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +13 -13
  83. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +13 -13
  84. package/dist/bubbles/tool-bubble/browser-tools/_shared/schema.d.ts +2 -2
  85. package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/schema.d.ts +2 -2
  86. package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/tool.d.ts +2 -2
  87. package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/schema.d.ts +2 -2
  88. package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/tool.d.ts +2 -2
  89. package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/schema.d.ts +2 -2
  90. package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/tool.d.ts +2 -2
  91. package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/schema.d.ts +2 -2
  92. package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/tool.d.ts +2 -2
  93. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +16 -16
  94. package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +26 -26
  95. package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +8 -8
  96. package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +22 -22
  97. package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts +4 -4
  98. package/dist/bubbles/tool-bubble/get-trigger-detail-tool.d.ts +4 -4
  99. package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +4 -4
  100. package/dist/bubbles/tool-bubble/instagram-tool.d.ts +14 -14
  101. package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.d.ts +3 -0
  102. package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.d.ts.map +1 -0
  103. package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.js +3 -0
  104. package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.js.map +1 -0
  105. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts +160 -0
  106. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts.map +1 -0
  107. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.js +706 -0
  108. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.js.map +1 -0
  109. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.d.ts +93 -0
  110. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.d.ts.map +1 -0
  111. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.js +50 -0
  112. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.js.map +1 -0
  113. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +186 -186
  114. package/dist/bubbles/tool-bubble/list-airtable-bases-tool.d.ts +4 -4
  115. package/dist/bubbles/tool-bubble/list-airtable-tables-tool.d.ts +4 -4
  116. package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
  117. package/dist/bubbles/tool-bubble/list-capabilities-tool.d.ts +4 -4
  118. package/dist/bubbles/tool-bubble/people-search-tool.d.ts +14 -14
  119. package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +28 -28
  120. package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +8 -8
  121. package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +4 -4
  122. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +28 -28
  123. package/dist/bubbles/tool-bubble/tool-template.d.ts +4 -4
  124. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +54 -54
  125. package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +22 -22
  126. package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +8 -8
  127. package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +8 -8
  128. package/dist/bubbles/tool-bubble/web-search-tool.d.ts +8 -8
  129. package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +22 -22
  130. package/dist/bubbles/tool-bubble/youtube-tool.d.ts +18 -18
  131. package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.d.ts +114 -0
  132. package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.d.ts.map +1 -0
  133. package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.js +777 -0
  134. package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.js.map +1 -0
  135. package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
  136. package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +28 -28
  137. package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +8 -8
  138. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +72 -72
  139. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +32 -32
  140. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +34 -34
  141. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +98 -98
  142. package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +8 -8
  143. package/dist/bubbles.json +494 -2
  144. package/dist/index.d.ts +2 -0
  145. package/dist/index.d.ts.map +1 -1
  146. package/dist/index.js +1 -0
  147. package/dist/index.js.map +1 -1
  148. package/dist/types/ai-models.d.ts +4 -0
  149. package/dist/types/ai-models.d.ts.map +1 -0
  150. package/dist/types/ai-models.js +16 -0
  151. package/dist/types/ai-models.js.map +1 -0
  152. package/dist/utils/param-helper.d.ts +2 -0
  153. package/dist/utils/param-helper.d.ts.map +1 -0
  154. package/dist/utils/param-helper.js +5 -0
  155. package/dist/utils/param-helper.js.map +1 -0
  156. package/package.json +2 -2
@@ -0,0 +1,298 @@
1
+ import { z } from 'zod';
2
+ import { CredentialType } from '@bubblelab/shared-schemas';
3
+ // ============================================================================
4
+ // DATA SCHEMAS - PostHog API Response Types
5
+ // ============================================================================
6
+ /**
7
+ * PostHog event object from events API
8
+ */
9
+ export const PosthogEventSchema = z
10
+ .object({
11
+ uuid: z.string().describe('Unique event identifier'),
12
+ event: z.string().describe('Event name (e.g., $pageview, user_signed_up)'),
13
+ distinct_id: z.string().describe('Distinct ID of the person'),
14
+ properties: z
15
+ .record(z.unknown())
16
+ .optional()
17
+ .describe('Event properties'),
18
+ timestamp: z.string().optional().describe('ISO 8601 event timestamp'),
19
+ created_at: z.string().optional().describe('ISO 8601 creation timestamp'),
20
+ elements: z.array(z.unknown()).optional().describe('DOM elements captured'),
21
+ elements_chain: z
22
+ .string()
23
+ .optional()
24
+ .describe('Serialized element chain'),
25
+ })
26
+ .describe('PostHog event record');
27
+ /**
28
+ * PostHog person object from persons API
29
+ */
30
+ export const PosthogPersonSchema = z
31
+ .object({
32
+ id: z.string().describe('Internal person ID (UUID)'),
33
+ uuid: z.string().optional().describe('Person UUID'),
34
+ distinct_ids: z
35
+ .array(z.string())
36
+ .describe('All distinct IDs associated with this person'),
37
+ properties: z
38
+ .record(z.unknown())
39
+ .optional()
40
+ .describe('Person properties (set via $set)'),
41
+ created_at: z.string().optional().describe('ISO 8601 creation timestamp'),
42
+ })
43
+ .describe('PostHog person record');
44
+ /**
45
+ * PostHog insight object from insights API
46
+ */
47
+ export const PosthogInsightSchema = z
48
+ .object({
49
+ id: z.number().describe('Insight ID'),
50
+ short_id: z.string().optional().describe('Short ID for sharing'),
51
+ name: z.string().optional().nullable().describe('Insight name'),
52
+ description: z
53
+ .string()
54
+ .optional()
55
+ .nullable()
56
+ .describe('Insight description'),
57
+ result: z.unknown().optional().describe('Computed insight results'),
58
+ filters: z
59
+ .record(z.unknown())
60
+ .optional()
61
+ .describe('Insight filter configuration'),
62
+ created_at: z.string().optional().describe('ISO 8601 creation timestamp'),
63
+ last_refresh: z
64
+ .string()
65
+ .optional()
66
+ .nullable()
67
+ .describe('Last time the insight was refreshed'),
68
+ last_modified_at: z
69
+ .string()
70
+ .optional()
71
+ .describe('ISO 8601 last modification timestamp'),
72
+ })
73
+ .describe('PostHog insight record');
74
+ /**
75
+ * HogQL query result
76
+ */
77
+ export const PosthogQueryResultSchema = z
78
+ .object({
79
+ columns: z
80
+ .array(z.string())
81
+ .optional()
82
+ .describe('Column names in the result'),
83
+ results: z
84
+ .array(z.array(z.unknown()))
85
+ .optional()
86
+ .describe('Rows of query results'),
87
+ types: z
88
+ .array(z.string())
89
+ .optional()
90
+ .describe('Column types in the result'),
91
+ hasMore: z
92
+ .boolean()
93
+ .optional()
94
+ .describe('Whether there are more rows available'),
95
+ limit: z.number().optional().describe('Number of rows returned'),
96
+ offset: z.number().optional().describe('Offset of the first row'),
97
+ })
98
+ .describe('HogQL query result');
99
+ // ============================================================================
100
+ // PARAMETER SCHEMAS - Discriminated Union for Multiple Operations
101
+ // ============================================================================
102
+ export const PosthogParamsSchema = z.discriminatedUnion('operation', [
103
+ // List events operation
104
+ z.object({
105
+ operation: z
106
+ .literal('list_events')
107
+ .describe('List recent events with optional filtering'),
108
+ project_id: z
109
+ .string()
110
+ .min(1)
111
+ .describe('PostHog project ID (found in Project Settings)'),
112
+ host: z
113
+ .string()
114
+ .optional()
115
+ .default('https://us.posthog.com')
116
+ .describe('PostHog host URL (e.g., https://us.posthog.com, https://eu.posthog.com, or your self-hosted URL)'),
117
+ event: z
118
+ .string()
119
+ .optional()
120
+ .describe('Filter by event name (e.g., $pageview, user_signed_up)'),
121
+ person_id: z
122
+ .string()
123
+ .optional()
124
+ .describe('Filter events by person ID'),
125
+ distinct_id: z
126
+ .string()
127
+ .optional()
128
+ .describe('Filter events by distinct ID'),
129
+ after: z
130
+ .string()
131
+ .optional()
132
+ .describe('Only return events after this ISO 8601 timestamp'),
133
+ before: z
134
+ .string()
135
+ .optional()
136
+ .describe('Only return events before this ISO 8601 timestamp'),
137
+ properties: z
138
+ .string()
139
+ .optional()
140
+ .describe('JSON-encoded array of property filters (e.g., [{"key":"$browser","value":"Chrome","operator":"exact"}])'),
141
+ limit: z
142
+ .number()
143
+ .min(1)
144
+ .max(1000)
145
+ .optional()
146
+ .default(100)
147
+ .describe('Maximum number of events to return (1-1000)'),
148
+ credentials: z
149
+ .record(z.nativeEnum(CredentialType), z.string())
150
+ .optional()
151
+ .describe('Object mapping credential types to values (injected at runtime)'),
152
+ }),
153
+ // HogQL query operation
154
+ z.object({
155
+ operation: z
156
+ .literal('query')
157
+ .describe('Execute a HogQL query for custom analytics'),
158
+ project_id: z
159
+ .string()
160
+ .min(1)
161
+ .describe('PostHog project ID (found in Project Settings)'),
162
+ host: z
163
+ .string()
164
+ .optional()
165
+ .default('https://us.posthog.com')
166
+ .describe('PostHog host URL (e.g., https://us.posthog.com, https://eu.posthog.com, or your self-hosted URL)'),
167
+ query: z
168
+ .string()
169
+ .min(1)
170
+ .describe('HogQL query to execute (SQL-like syntax, e.g., SELECT event, count() FROM events GROUP BY event ORDER BY count() DESC LIMIT 10)'),
171
+ credentials: z
172
+ .record(z.nativeEnum(CredentialType), z.string())
173
+ .optional()
174
+ .describe('Object mapping credential types to values (injected at runtime)'),
175
+ }),
176
+ // Get person operation
177
+ z.object({
178
+ operation: z
179
+ .literal('get_person')
180
+ .describe('Look up a person profile by distinct ID or search'),
181
+ project_id: z
182
+ .string()
183
+ .min(1)
184
+ .describe('PostHog project ID (found in Project Settings)'),
185
+ host: z
186
+ .string()
187
+ .optional()
188
+ .default('https://us.posthog.com')
189
+ .describe('PostHog host URL (e.g., https://us.posthog.com, https://eu.posthog.com, or your self-hosted URL)'),
190
+ distinct_id: z
191
+ .string()
192
+ .optional()
193
+ .describe('Look up person by distinct ID'),
194
+ search: z
195
+ .string()
196
+ .optional()
197
+ .describe('Search for persons by email or name in person properties'),
198
+ limit: z
199
+ .number()
200
+ .min(1)
201
+ .max(100)
202
+ .optional()
203
+ .default(10)
204
+ .describe('Maximum number of persons to return (1-100)'),
205
+ credentials: z
206
+ .record(z.nativeEnum(CredentialType), z.string())
207
+ .optional()
208
+ .describe('Object mapping credential types to values (injected at runtime)'),
209
+ }),
210
+ // Get insight operation
211
+ z.object({
212
+ operation: z
213
+ .literal('get_insight')
214
+ .describe("Retrieve a saved insight's results by ID"),
215
+ project_id: z
216
+ .string()
217
+ .min(1)
218
+ .describe('PostHog project ID (found in Project Settings)'),
219
+ host: z
220
+ .string()
221
+ .optional()
222
+ .default('https://us.posthog.com')
223
+ .describe('PostHog host URL (e.g., https://us.posthog.com, https://eu.posthog.com, or your self-hosted URL)'),
224
+ insight_id: z
225
+ .number()
226
+ .min(1)
227
+ .describe('Numeric ID of the insight to retrieve'),
228
+ credentials: z
229
+ .record(z.nativeEnum(CredentialType), z.string())
230
+ .optional()
231
+ .describe('Object mapping credential types to values (injected at runtime)'),
232
+ }),
233
+ ]);
234
+ // ============================================================================
235
+ // RESULT SCHEMAS - Discriminated Union for Operation Results
236
+ // ============================================================================
237
+ export const PosthogResultSchema = z.discriminatedUnion('operation', [
238
+ // List events result
239
+ z.object({
240
+ operation: z.literal('list_events').describe('List events operation'),
241
+ success: z.boolean().describe('Whether the operation was successful'),
242
+ events: z
243
+ .array(PosthogEventSchema)
244
+ .optional()
245
+ .describe('List of events'),
246
+ next: z
247
+ .string()
248
+ .optional()
249
+ .nullable()
250
+ .describe('URL for fetching the next page of results'),
251
+ error: z.string().describe('Error message if operation failed'),
252
+ }),
253
+ // HogQL query result
254
+ z.object({
255
+ operation: z.literal('query').describe('HogQL query operation'),
256
+ success: z.boolean().describe('Whether the operation was successful'),
257
+ columns: z
258
+ .array(z.string())
259
+ .optional()
260
+ .describe('Column names in the result'),
261
+ results: z
262
+ .array(z.array(z.unknown()))
263
+ .optional()
264
+ .describe('Rows of query results'),
265
+ types: z
266
+ .array(z.string())
267
+ .optional()
268
+ .describe('Column types in the result'),
269
+ hasMore: z
270
+ .boolean()
271
+ .optional()
272
+ .describe('Whether more rows are available'),
273
+ error: z.string().describe('Error message if operation failed'),
274
+ }),
275
+ // Get person result
276
+ z.object({
277
+ operation: z.literal('get_person').describe('Get person operation'),
278
+ success: z.boolean().describe('Whether the operation was successful'),
279
+ persons: z
280
+ .array(PosthogPersonSchema)
281
+ .optional()
282
+ .describe('List of matching persons'),
283
+ next: z
284
+ .string()
285
+ .optional()
286
+ .nullable()
287
+ .describe('URL for fetching the next page'),
288
+ error: z.string().describe('Error message if operation failed'),
289
+ }),
290
+ // Get insight result
291
+ z.object({
292
+ operation: z.literal('get_insight').describe('Get insight operation'),
293
+ success: z.boolean().describe('Whether the operation was successful'),
294
+ insight: PosthogInsightSchema.optional().describe('Insight details and results'),
295
+ error: z.string().describe('Error message if operation failed'),
296
+ }),
297
+ ]);
298
+ //# sourceMappingURL=posthog.schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"posthog.schema.js","sourceRoot":"","sources":["../../../../src/bubbles/service-bubble/posthog/posthog.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,+EAA+E;AAC/E,4CAA4C;AAC5C,+EAA+E;AAE/E;;GAEG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC;KAChC,MAAM,CAAC;IACN,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,yBAAyB,CAAC;IACpD,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,8CAA8C,CAAC;IAC1E,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,2BAA2B,CAAC;IAC7D,UAAU,EAAE,CAAC;SACV,MAAM,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;SACnB,QAAQ,EAAE;SACV,QAAQ,CAAC,kBAAkB,CAAC;IAC/B,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,0BAA0B,CAAC;IACrE,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,6BAA6B,CAA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AC"}
@@ -47,6 +47,11 @@ 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
+ tags?: {
51
+ value: string;
52
+ name: string;
53
+ }[] | undefined;
54
+ headers?: Record<string, string> | undefined;
50
55
  text?: string | undefined;
51
56
  attachments?: {
52
57
  filename: string;
@@ -59,16 +64,16 @@ declare const ResendParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
59
64
  html?: string | undefined;
60
65
  reply_to?: string | string[] | undefined;
61
66
  scheduled_at?: string | undefined;
62
- tags?: {
63
- value: string;
64
- name: string;
65
- }[] | undefined;
66
- headers?: Record<string, string> | undefined;
67
67
  }, {
68
68
  operation: "send_email";
69
69
  to: string | string[];
70
70
  subject: string;
71
71
  credentials?: Partial<Record<CredentialType, string>> | undefined;
72
+ tags?: {
73
+ value: string;
74
+ name: string;
75
+ }[] | undefined;
76
+ headers?: Record<string, string> | undefined;
72
77
  text?: string | undefined;
73
78
  attachments?: {
74
79
  filename: string;
@@ -82,11 +87,6 @@ declare const ResendParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
82
87
  html?: string | undefined;
83
88
  reply_to?: string | string[] | undefined;
84
89
  scheduled_at?: string | undefined;
85
- tags?: {
86
- value: string;
87
- name: string;
88
- }[] | undefined;
89
- headers?: Record<string, string> | undefined;
90
90
  }>, z.ZodObject<{
91
91
  operation: z.ZodLiteral<"get_email_status">;
92
92
  email_id: z.ZodString;
@@ -106,13 +106,13 @@ 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
- success: boolean;
110
109
  error: string;
110
+ success: boolean;
111
111
  operation: "send_email";
112
112
  email_id?: string | undefined;
113
113
  }, {
114
- success: boolean;
115
114
  error: string;
115
+ success: boolean;
116
116
  operation: "send_email";
117
117
  email_id?: string | undefined;
118
118
  }>, z.ZodObject<{
@@ -123,15 +123,15 @@ 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
- success: boolean;
127
126
  error: string;
127
+ success: boolean;
128
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
- success: boolean;
134
133
  error: string;
134
+ success: boolean;
135
135
  operation: "get_email_status";
136
136
  status?: string | undefined;
137
137
  created_at?: string | undefined;
@@ -194,6 +194,11 @@ 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
+ tags?: {
198
+ value: string;
199
+ name: string;
200
+ }[] | undefined;
201
+ headers?: Record<string, string> | undefined;
197
202
  text?: string | undefined;
198
203
  attachments?: {
199
204
  filename: string;
@@ -206,16 +211,16 @@ export declare class ResendBubble<T extends ResendParams = ResendParams> extends
206
211
  html?: string | undefined;
207
212
  reply_to?: string | string[] | undefined;
208
213
  scheduled_at?: string | undefined;
209
- tags?: {
210
- value: string;
211
- name: string;
212
- }[] | undefined;
213
- headers?: Record<string, string> | undefined;
214
214
  }, {
215
215
  operation: "send_email";
216
216
  to: string | string[];
217
217
  subject: string;
218
218
  credentials?: Partial<Record<CredentialType, string>> | undefined;
219
+ tags?: {
220
+ value: string;
221
+ name: string;
222
+ }[] | undefined;
223
+ headers?: Record<string, string> | undefined;
219
224
  text?: string | undefined;
220
225
  attachments?: {
221
226
  filename: string;
@@ -229,11 +234,6 @@ export declare class ResendBubble<T extends ResendParams = ResendParams> extends
229
234
  html?: string | undefined;
230
235
  reply_to?: string | string[] | undefined;
231
236
  scheduled_at?: string | undefined;
232
- tags?: {
233
- value: string;
234
- name: string;
235
- }[] | undefined;
236
- headers?: Record<string, string> | undefined;
237
237
  }>, z.ZodObject<{
238
238
  operation: z.ZodLiteral<"get_email_status">;
239
239
  email_id: z.ZodString;
@@ -253,13 +253,13 @@ 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
- success: boolean;
257
256
  error: string;
257
+ success: boolean;
258
258
  operation: "send_email";
259
259
  email_id?: string | undefined;
260
260
  }, {
261
- success: boolean;
262
261
  error: string;
262
+ success: boolean;
263
263
  operation: "send_email";
264
264
  email_id?: string | undefined;
265
265
  }>, z.ZodObject<{
@@ -270,15 +270,15 @@ 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
- success: boolean;
274
273
  error: string;
274
+ success: boolean;
275
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
- success: boolean;
281
280
  error: string;
281
+ success: boolean;
282
282
  operation: "get_email_status";
283
283
  status?: string | undefined;
284
284
  created_at?: string | undefined;