@bubblelab/bubble-core 0.1.156 → 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 (66) hide show
  1. package/dist/bubble-bundle.d.ts +67 -28
  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/google-sheets.d.ts +1811 -0
  15. package/dist/bubbles/service-bubble/google-sheets.d.ts.map +1 -0
  16. package/dist/bubbles/service-bubble/google-sheets.js +904 -0
  17. package/dist/bubbles/service-bubble/google-sheets.js.map +1 -0
  18. package/dist/bubbles/service-bubble/notion/notion.d.ts +4 -4
  19. package/dist/bubbles/service-bubble/posthog/index.d.ts +3 -0
  20. package/dist/bubbles/service-bubble/posthog/index.d.ts.map +1 -0
  21. package/dist/bubbles/service-bubble/posthog/index.js +3 -0
  22. package/dist/bubbles/service-bubble/posthog/index.js.map +1 -0
  23. package/dist/bubbles/service-bubble/posthog/posthog.d.ts +387 -0
  24. package/dist/bubbles/service-bubble/posthog/posthog.d.ts.map +1 -0
  25. package/dist/bubbles/service-bubble/posthog/posthog.js +291 -0
  26. package/dist/bubbles/service-bubble/posthog/posthog.js.map +1 -0
  27. package/dist/bubbles/service-bubble/posthog/posthog.schema.d.ts +432 -0
  28. package/dist/bubbles/service-bubble/posthog/posthog.schema.d.ts.map +1 -0
  29. package/dist/bubbles/service-bubble/posthog/posthog.schema.js +298 -0
  30. package/dist/bubbles/service-bubble/posthog/posthog.schema.js.map +1 -0
  31. package/dist/bubbles/service-bubble/slack/slack.d.ts +60 -60
  32. package/dist/bubbles/service-bubble/slack.d.ts +5869 -0
  33. package/dist/bubbles/service-bubble/slack.d.ts.map +1 -0
  34. package/dist/bubbles/service-bubble/slack.js +1536 -0
  35. package/dist/bubbles/service-bubble/slack.js.map +1 -0
  36. package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.d.ts +3 -0
  37. package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.d.ts.map +1 -0
  38. package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.js +3 -0
  39. package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.js.map +1 -0
  40. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts +160 -0
  41. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts.map +1 -0
  42. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.js +706 -0
  43. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.js.map +1 -0
  44. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.d.ts +93 -0
  45. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.d.ts.map +1 -0
  46. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.js +50 -0
  47. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.js.map +1 -0
  48. package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.d.ts +114 -0
  49. package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.d.ts.map +1 -0
  50. package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.js +777 -0
  51. package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.js.map +1 -0
  52. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +16 -16
  53. package/dist/bubbles.json +494 -2
  54. package/dist/index.d.ts +2 -0
  55. package/dist/index.d.ts.map +1 -1
  56. package/dist/index.js +1 -0
  57. package/dist/index.js.map +1 -1
  58. package/dist/types/ai-models.d.ts +4 -0
  59. package/dist/types/ai-models.d.ts.map +1 -0
  60. package/dist/types/ai-models.js +16 -0
  61. package/dist/types/ai-models.js.map +1 -0
  62. package/dist/utils/param-helper.d.ts +2 -0
  63. package/dist/utils/param-helper.d.ts.map +1 -0
  64. package/dist/utils/param-helper.js +5 -0
  65. package/dist/utils/param-helper.js.map +1 -0
  66. package/package.json +2 -2
@@ -0,0 +1,432 @@
1
+ import { z } from 'zod';
2
+ import { CredentialType } from '@bubblelab/shared-schemas';
3
+ /**
4
+ * PostHog event object from events API
5
+ */
6
+ export declare const PosthogEventSchema: z.ZodObject<{
7
+ uuid: z.ZodString;
8
+ event: z.ZodString;
9
+ distinct_id: z.ZodString;
10
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
11
+ timestamp: z.ZodOptional<z.ZodString>;
12
+ created_at: z.ZodOptional<z.ZodString>;
13
+ elements: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
14
+ elements_chain: z.ZodOptional<z.ZodString>;
15
+ }, "strip", z.ZodTypeAny, {
16
+ uuid: string;
17
+ event: string;
18
+ distinct_id: string;
19
+ properties?: Record<string, unknown> | undefined;
20
+ elements?: unknown[] | undefined;
21
+ timestamp?: string | undefined;
22
+ created_at?: string | undefined;
23
+ elements_chain?: string | undefined;
24
+ }, {
25
+ uuid: string;
26
+ event: string;
27
+ distinct_id: string;
28
+ properties?: Record<string, unknown> | undefined;
29
+ elements?: unknown[] | undefined;
30
+ timestamp?: string | undefined;
31
+ created_at?: string | undefined;
32
+ elements_chain?: string | undefined;
33
+ }>;
34
+ /**
35
+ * PostHog person object from persons API
36
+ */
37
+ export declare const PosthogPersonSchema: z.ZodObject<{
38
+ id: z.ZodString;
39
+ uuid: z.ZodOptional<z.ZodString>;
40
+ distinct_ids: z.ZodArray<z.ZodString, "many">;
41
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
42
+ created_at: z.ZodOptional<z.ZodString>;
43
+ }, "strip", z.ZodTypeAny, {
44
+ id: string;
45
+ distinct_ids: string[];
46
+ properties?: Record<string, unknown> | undefined;
47
+ uuid?: string | undefined;
48
+ created_at?: string | undefined;
49
+ }, {
50
+ id: string;
51
+ distinct_ids: string[];
52
+ properties?: Record<string, unknown> | undefined;
53
+ uuid?: string | undefined;
54
+ created_at?: string | undefined;
55
+ }>;
56
+ /**
57
+ * PostHog insight object from insights API
58
+ */
59
+ export declare const PosthogInsightSchema: z.ZodObject<{
60
+ id: z.ZodNumber;
61
+ short_id: z.ZodOptional<z.ZodString>;
62
+ name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
63
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
64
+ result: z.ZodOptional<z.ZodUnknown>;
65
+ filters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
66
+ created_at: z.ZodOptional<z.ZodString>;
67
+ last_refresh: z.ZodNullable<z.ZodOptional<z.ZodString>>;
68
+ last_modified_at: z.ZodOptional<z.ZodString>;
69
+ }, "strip", z.ZodTypeAny, {
70
+ id: number;
71
+ description?: string | null | undefined;
72
+ name?: string | null | undefined;
73
+ result?: unknown;
74
+ created_at?: string | undefined;
75
+ filters?: Record<string, unknown> | undefined;
76
+ short_id?: string | undefined;
77
+ last_refresh?: string | null | undefined;
78
+ last_modified_at?: string | undefined;
79
+ }, {
80
+ id: number;
81
+ description?: string | null | undefined;
82
+ name?: string | null | undefined;
83
+ result?: unknown;
84
+ created_at?: string | undefined;
85
+ filters?: Record<string, unknown> | undefined;
86
+ short_id?: string | undefined;
87
+ last_refresh?: string | null | undefined;
88
+ last_modified_at?: string | undefined;
89
+ }>;
90
+ /**
91
+ * HogQL query result
92
+ */
93
+ export declare const PosthogQueryResultSchema: z.ZodObject<{
94
+ columns: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
95
+ results: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodUnknown, "many">, "many">>;
96
+ types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
97
+ hasMore: z.ZodOptional<z.ZodBoolean>;
98
+ limit: z.ZodOptional<z.ZodNumber>;
99
+ offset: z.ZodOptional<z.ZodNumber>;
100
+ }, "strip", z.ZodTypeAny, {
101
+ types?: string[] | undefined;
102
+ limit?: number | undefined;
103
+ offset?: number | undefined;
104
+ hasMore?: boolean | undefined;
105
+ results?: unknown[][] | undefined;
106
+ columns?: string[] | undefined;
107
+ }, {
108
+ types?: string[] | undefined;
109
+ limit?: number | undefined;
110
+ offset?: number | undefined;
111
+ hasMore?: boolean | undefined;
112
+ results?: unknown[][] | undefined;
113
+ columns?: string[] | undefined;
114
+ }>;
115
+ export declare const PosthogParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
116
+ operation: z.ZodLiteral<"list_events">;
117
+ project_id: z.ZodString;
118
+ host: z.ZodDefault<z.ZodOptional<z.ZodString>>;
119
+ event: z.ZodOptional<z.ZodString>;
120
+ person_id: z.ZodOptional<z.ZodString>;
121
+ distinct_id: z.ZodOptional<z.ZodString>;
122
+ after: z.ZodOptional<z.ZodString>;
123
+ before: z.ZodOptional<z.ZodString>;
124
+ properties: z.ZodOptional<z.ZodString>;
125
+ limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
126
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
127
+ }, "strip", z.ZodTypeAny, {
128
+ operation: "list_events";
129
+ limit: number;
130
+ project_id: string;
131
+ host: string;
132
+ properties?: string | undefined;
133
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
134
+ event?: string | undefined;
135
+ person_id?: string | undefined;
136
+ after?: string | undefined;
137
+ before?: string | undefined;
138
+ distinct_id?: string | undefined;
139
+ }, {
140
+ operation: "list_events";
141
+ project_id: string;
142
+ properties?: string | undefined;
143
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
144
+ limit?: number | undefined;
145
+ event?: string | undefined;
146
+ person_id?: string | undefined;
147
+ after?: string | undefined;
148
+ before?: string | undefined;
149
+ distinct_id?: string | undefined;
150
+ host?: string | undefined;
151
+ }>, z.ZodObject<{
152
+ operation: z.ZodLiteral<"query">;
153
+ project_id: z.ZodString;
154
+ host: z.ZodDefault<z.ZodOptional<z.ZodString>>;
155
+ query: z.ZodString;
156
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
157
+ }, "strip", z.ZodTypeAny, {
158
+ query: string;
159
+ operation: "query";
160
+ project_id: string;
161
+ host: string;
162
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
163
+ }, {
164
+ query: string;
165
+ operation: "query";
166
+ project_id: string;
167
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
168
+ host?: string | undefined;
169
+ }>, z.ZodObject<{
170
+ operation: z.ZodLiteral<"get_person">;
171
+ project_id: z.ZodString;
172
+ host: z.ZodDefault<z.ZodOptional<z.ZodString>>;
173
+ distinct_id: z.ZodOptional<z.ZodString>;
174
+ search: z.ZodOptional<z.ZodString>;
175
+ limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
176
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
177
+ }, "strip", z.ZodTypeAny, {
178
+ operation: "get_person";
179
+ limit: number;
180
+ project_id: string;
181
+ host: string;
182
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
183
+ search?: string | undefined;
184
+ distinct_id?: string | undefined;
185
+ }, {
186
+ operation: "get_person";
187
+ project_id: string;
188
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
189
+ search?: string | undefined;
190
+ limit?: number | undefined;
191
+ distinct_id?: string | undefined;
192
+ host?: string | undefined;
193
+ }>, z.ZodObject<{
194
+ operation: z.ZodLiteral<"get_insight">;
195
+ project_id: z.ZodString;
196
+ host: z.ZodDefault<z.ZodOptional<z.ZodString>>;
197
+ insight_id: z.ZodNumber;
198
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
199
+ }, "strip", z.ZodTypeAny, {
200
+ operation: "get_insight";
201
+ project_id: string;
202
+ host: string;
203
+ insight_id: number;
204
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
205
+ }, {
206
+ operation: "get_insight";
207
+ project_id: string;
208
+ insight_id: number;
209
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
210
+ host?: string | undefined;
211
+ }>]>;
212
+ export declare const PosthogResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
213
+ operation: z.ZodLiteral<"list_events">;
214
+ success: z.ZodBoolean;
215
+ events: z.ZodOptional<z.ZodArray<z.ZodObject<{
216
+ uuid: z.ZodString;
217
+ event: z.ZodString;
218
+ distinct_id: z.ZodString;
219
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
220
+ timestamp: z.ZodOptional<z.ZodString>;
221
+ created_at: z.ZodOptional<z.ZodString>;
222
+ elements: z.ZodOptional<z.ZodArray<z.ZodUnknown, "many">>;
223
+ elements_chain: z.ZodOptional<z.ZodString>;
224
+ }, "strip", z.ZodTypeAny, {
225
+ uuid: string;
226
+ event: string;
227
+ distinct_id: string;
228
+ properties?: Record<string, unknown> | undefined;
229
+ elements?: unknown[] | undefined;
230
+ timestamp?: string | undefined;
231
+ created_at?: string | undefined;
232
+ elements_chain?: string | undefined;
233
+ }, {
234
+ uuid: string;
235
+ event: string;
236
+ distinct_id: string;
237
+ properties?: Record<string, unknown> | undefined;
238
+ elements?: unknown[] | undefined;
239
+ timestamp?: string | undefined;
240
+ created_at?: string | undefined;
241
+ elements_chain?: string | undefined;
242
+ }>, "many">>;
243
+ next: z.ZodNullable<z.ZodOptional<z.ZodString>>;
244
+ error: z.ZodString;
245
+ }, "strip", z.ZodTypeAny, {
246
+ error: string;
247
+ success: boolean;
248
+ operation: "list_events";
249
+ events?: {
250
+ uuid: string;
251
+ event: string;
252
+ distinct_id: string;
253
+ properties?: Record<string, unknown> | undefined;
254
+ elements?: unknown[] | undefined;
255
+ timestamp?: string | undefined;
256
+ created_at?: string | undefined;
257
+ elements_chain?: string | undefined;
258
+ }[] | undefined;
259
+ next?: string | null | undefined;
260
+ }, {
261
+ error: string;
262
+ success: boolean;
263
+ operation: "list_events";
264
+ events?: {
265
+ uuid: string;
266
+ event: string;
267
+ distinct_id: string;
268
+ properties?: Record<string, unknown> | undefined;
269
+ elements?: unknown[] | undefined;
270
+ timestamp?: string | undefined;
271
+ created_at?: string | undefined;
272
+ elements_chain?: string | undefined;
273
+ }[] | undefined;
274
+ next?: string | null | undefined;
275
+ }>, z.ZodObject<{
276
+ operation: z.ZodLiteral<"query">;
277
+ success: z.ZodBoolean;
278
+ columns: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
279
+ results: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodUnknown, "many">, "many">>;
280
+ types: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
281
+ hasMore: z.ZodOptional<z.ZodBoolean>;
282
+ error: z.ZodString;
283
+ }, "strip", z.ZodTypeAny, {
284
+ error: string;
285
+ success: boolean;
286
+ operation: "query";
287
+ types?: string[] | undefined;
288
+ hasMore?: boolean | undefined;
289
+ results?: unknown[][] | undefined;
290
+ columns?: string[] | undefined;
291
+ }, {
292
+ error: string;
293
+ success: boolean;
294
+ operation: "query";
295
+ types?: string[] | undefined;
296
+ hasMore?: boolean | undefined;
297
+ results?: unknown[][] | undefined;
298
+ columns?: string[] | undefined;
299
+ }>, z.ZodObject<{
300
+ operation: z.ZodLiteral<"get_person">;
301
+ success: z.ZodBoolean;
302
+ persons: z.ZodOptional<z.ZodArray<z.ZodObject<{
303
+ id: z.ZodString;
304
+ uuid: z.ZodOptional<z.ZodString>;
305
+ distinct_ids: z.ZodArray<z.ZodString, "many">;
306
+ properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
307
+ created_at: z.ZodOptional<z.ZodString>;
308
+ }, "strip", z.ZodTypeAny, {
309
+ id: string;
310
+ distinct_ids: string[];
311
+ properties?: Record<string, unknown> | undefined;
312
+ uuid?: string | undefined;
313
+ created_at?: string | undefined;
314
+ }, {
315
+ id: string;
316
+ distinct_ids: string[];
317
+ properties?: Record<string, unknown> | undefined;
318
+ uuid?: string | undefined;
319
+ created_at?: string | undefined;
320
+ }>, "many">>;
321
+ next: z.ZodNullable<z.ZodOptional<z.ZodString>>;
322
+ error: z.ZodString;
323
+ }, "strip", z.ZodTypeAny, {
324
+ error: string;
325
+ success: boolean;
326
+ operation: "get_person";
327
+ next?: string | null | undefined;
328
+ persons?: {
329
+ id: string;
330
+ distinct_ids: string[];
331
+ properties?: Record<string, unknown> | undefined;
332
+ uuid?: string | undefined;
333
+ created_at?: string | undefined;
334
+ }[] | undefined;
335
+ }, {
336
+ error: string;
337
+ success: boolean;
338
+ operation: "get_person";
339
+ next?: string | null | undefined;
340
+ persons?: {
341
+ id: string;
342
+ distinct_ids: string[];
343
+ properties?: Record<string, unknown> | undefined;
344
+ uuid?: string | undefined;
345
+ created_at?: string | undefined;
346
+ }[] | undefined;
347
+ }>, z.ZodObject<{
348
+ operation: z.ZodLiteral<"get_insight">;
349
+ success: z.ZodBoolean;
350
+ insight: z.ZodOptional<z.ZodObject<{
351
+ id: z.ZodNumber;
352
+ short_id: z.ZodOptional<z.ZodString>;
353
+ name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
354
+ description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
355
+ result: z.ZodOptional<z.ZodUnknown>;
356
+ filters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
357
+ created_at: z.ZodOptional<z.ZodString>;
358
+ last_refresh: z.ZodNullable<z.ZodOptional<z.ZodString>>;
359
+ last_modified_at: z.ZodOptional<z.ZodString>;
360
+ }, "strip", z.ZodTypeAny, {
361
+ id: number;
362
+ description?: string | null | undefined;
363
+ name?: string | null | undefined;
364
+ result?: unknown;
365
+ created_at?: string | undefined;
366
+ filters?: Record<string, unknown> | undefined;
367
+ short_id?: string | undefined;
368
+ last_refresh?: string | null | undefined;
369
+ last_modified_at?: string | undefined;
370
+ }, {
371
+ id: number;
372
+ description?: string | null | undefined;
373
+ name?: string | null | undefined;
374
+ result?: unknown;
375
+ created_at?: string | undefined;
376
+ filters?: Record<string, unknown> | undefined;
377
+ short_id?: string | undefined;
378
+ last_refresh?: string | null | undefined;
379
+ last_modified_at?: string | undefined;
380
+ }>>;
381
+ error: z.ZodString;
382
+ }, "strip", z.ZodTypeAny, {
383
+ error: string;
384
+ success: boolean;
385
+ operation: "get_insight";
386
+ insight?: {
387
+ id: number;
388
+ description?: string | null | undefined;
389
+ name?: string | null | undefined;
390
+ result?: unknown;
391
+ created_at?: string | undefined;
392
+ filters?: Record<string, unknown> | undefined;
393
+ short_id?: string | undefined;
394
+ last_refresh?: string | null | undefined;
395
+ last_modified_at?: string | undefined;
396
+ } | undefined;
397
+ }, {
398
+ error: string;
399
+ success: boolean;
400
+ operation: "get_insight";
401
+ insight?: {
402
+ id: number;
403
+ description?: string | null | undefined;
404
+ name?: string | null | undefined;
405
+ result?: unknown;
406
+ created_at?: string | undefined;
407
+ filters?: Record<string, unknown> | undefined;
408
+ short_id?: string | undefined;
409
+ last_refresh?: string | null | undefined;
410
+ last_modified_at?: string | undefined;
411
+ } | undefined;
412
+ }>]>;
413
+ export type PosthogParamsInput = z.input<typeof PosthogParamsSchema>;
414
+ export type PosthogParams = z.output<typeof PosthogParamsSchema>;
415
+ export type PosthogResult = z.output<typeof PosthogResultSchema>;
416
+ export type PosthogEvent = z.output<typeof PosthogEventSchema>;
417
+ export type PosthogPerson = z.output<typeof PosthogPersonSchema>;
418
+ export type PosthogInsight = z.output<typeof PosthogInsightSchema>;
419
+ export type PosthogQueryResult = z.output<typeof PosthogQueryResultSchema>;
420
+ export type PosthogListEventsParams = Extract<PosthogParams, {
421
+ operation: 'list_events';
422
+ }>;
423
+ export type PosthogQueryParams = Extract<PosthogParams, {
424
+ operation: 'query';
425
+ }>;
426
+ export type PosthogGetPersonParams = Extract<PosthogParams, {
427
+ operation: 'get_person';
428
+ }>;
429
+ export type PosthogGetInsightParams = Extract<PosthogParams, {
430
+ operation: 'get_insight';
431
+ }>;
432
+ //# sourceMappingURL=posthog.schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"posthog.schema.d.ts","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;AAM3D;;GAEG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiBI,CAAC;AAEpC;;GAEG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;EAaI,CAAC;AAErC;;GAEG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0BI,CAAC;AAEtC;;GAEG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;EAqBJ,CAAC;AAMlC,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA4J9B,CAAC;AAMH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA+D9B,CAAC;AAOH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAGrE,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAGjE,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAGjE,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAC/D,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,mBAAmB,CAAC,CAAC;AACjE,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,oBAAoB,CAAC,CAAC;AACnE,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAG3E,MAAM,MAAM,uBAAuB,GAAG,OAAO,CAC3C,aAAa,EACb;IAAE,SAAS,EAAE,aAAa,CAAA;CAAE,CAC7B,CAAC;AACF,MAAM,MAAM,kBAAkB,GAAG,OAAO,CACtC,aAAa,EACb;IAAE,SAAS,EAAE,OAAO,CAAA;CAAE,CACvB,CAAC;AACF,MAAM,MAAM,sBAAsB,GAAG,OAAO,CAC1C,aAAa,EACb;IAAE,SAAS,EAAE,YAAY,CAAA;CAAE,CAC5B,CAAC;AACF,MAAM,MAAM,uBAAuB,GAAG,OAAO,CAC3C,aAAa,EACb;IAAE,SAAS,EAAE,aAAa,CAAA;CAAE,CAC7B,CAAC"}