@bubblelab/bubble-core 0.1.201 → 0.1.203
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.
- package/dist/bubble-bundle.d.ts +171 -150
- package/dist/bubble-factory.d.ts.map +1 -1
- package/dist/bubble-factory.js +4 -0
- package/dist/bubble-factory.js.map +1 -1
- package/dist/bubbles/service-bubble/agi-inc.d.ts +112 -112
- package/dist/bubbles/service-bubble/agi-inc.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/agi-inc.js +4 -6
- package/dist/bubbles/service-bubble/agi-inc.js.map +1 -1
- package/dist/bubbles/service-bubble/ai-agent.d.ts +74 -74
- package/dist/bubbles/service-bubble/ai-agent.js +3 -3
- package/dist/bubbles/service-bubble/ai-agent.js.map +1 -1
- package/dist/bubbles/service-bubble/airtable.d.ts +158 -158
- package/dist/bubbles/service-bubble/airtable.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/airtable.js +8 -13
- package/dist/bubbles/service-bubble/airtable.js.map +1 -1
- package/dist/bubbles/service-bubble/apify/actors/instagram-hashtag-scraper.d.ts +2 -2
- package/dist/bubbles/service-bubble/apify/actors/instagram-scraper.d.ts +8 -8
- package/dist/bubbles/service-bubble/apify/actors/linkedin-jobs-scraper.d.ts +2 -2
- package/dist/bubbles/service-bubble/apify/actors/linkedin-posts-search.d.ts +22 -22
- package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-detail.d.ts +38 -38
- package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-posts.d.ts +52 -52
- package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.d.ts +6 -6
- package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.d.ts +12 -12
- package/dist/bubbles/service-bubble/apify/actors/youtube-scraper.d.ts +12 -12
- package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts +126 -126
- package/dist/bubbles/service-bubble/apify/apify.d.ts +30 -30
- package/dist/bubbles/service-bubble/apify/apify.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/apify/apify.js +10 -11
- package/dist/bubbles/service-bubble/apify/apify.js.map +1 -1
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts +90 -90
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/ashby/ashby.js +8 -10
- package/dist/bubbles/service-bubble/ashby/ashby.js.map +1 -1
- package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +2 -2
- package/dist/bubbles/service-bubble/attio/attio.d.ts +70 -70
- package/dist/bubbles/service-bubble/attio/attio.js +11 -12
- package/dist/bubbles/service-bubble/attio/attio.js.map +1 -1
- package/dist/bubbles/service-bubble/attio/attio.schema.d.ts +6 -6
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +58 -58
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/browserbase/browserbase.js +3 -8
- package/dist/bubbles/service-bubble/browserbase/browserbase.js.map +1 -1
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +1 -1
- package/dist/bubbles/service-bubble/confluence/confluence.d.ts +43 -43
- package/dist/bubbles/service-bubble/confluence/confluence.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/confluence/confluence.js +4 -6
- package/dist/bubbles/service-bubble/confluence/confluence.js.map +1 -1
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +94 -94
- package/dist/bubbles/service-bubble/crustdata/crustdata.js +16 -17
- package/dist/bubbles/service-bubble/crustdata/crustdata.js.map +1 -1
- package/dist/bubbles/service-bubble/eleven-labs.d.ts +48 -48
- package/dist/bubbles/service-bubble/eleven-labs.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/eleven-labs.js +12 -14
- package/dist/bubbles/service-bubble/eleven-labs.js.map +1 -1
- package/dist/bubbles/service-bubble/firecrawl.d.ts +304 -304
- package/dist/bubbles/service-bubble/firecrawl.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/firecrawl.js +3 -12
- package/dist/bubbles/service-bubble/firecrawl.js.map +1 -1
- package/dist/bubbles/service-bubble/followupboss.d.ts +260 -260
- package/dist/bubbles/service-bubble/followupboss.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/followupboss.js +12 -13
- package/dist/bubbles/service-bubble/followupboss.js.map +1 -1
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +44 -44
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.js +11 -12
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.js.map +1 -1
- package/dist/bubbles/service-bubble/github.d.ts +102 -102
- package/dist/bubbles/service-bubble/github.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/github.js +14 -17
- package/dist/bubbles/service-bubble/github.js.map +1 -1
- package/dist/bubbles/service-bubble/gmail.d.ts +332 -332
- package/dist/bubbles/service-bubble/gmail.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/gmail.js +10 -12
- package/dist/bubbles/service-bubble/gmail.js.map +1 -1
- package/dist/bubbles/service-bubble/google-calendar.d.ts +136 -136
- package/dist/bubbles/service-bubble/google-calendar.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/google-calendar.js +10 -11
- package/dist/bubbles/service-bubble/google-calendar.js.map +1 -1
- package/dist/bubbles/service-bubble/google-drive.d.ts +116 -110
- package/dist/bubbles/service-bubble/google-drive.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/google-drive.js +19 -13
- package/dist/bubbles/service-bubble/google-drive.js.map +1 -1
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +52 -52
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.js +6 -8
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.js.map +1 -1
- package/dist/bubbles/service-bubble/hello-world.d.ts +4 -4
- package/dist/bubbles/service-bubble/http.d.ts +12 -12
- package/dist/bubbles/service-bubble/hubspot/hubspot.d.ts +20 -20
- package/dist/bubbles/service-bubble/hubspot/hubspot.js +9 -10
- package/dist/bubbles/service-bubble/hubspot/hubspot.js.map +1 -1
- package/dist/bubbles/service-bubble/insforge-db.d.ts +12 -12
- package/dist/bubbles/service-bubble/insforge-db.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/insforge-db.js +24 -26
- package/dist/bubbles/service-bubble/insforge-db.js.map +1 -1
- package/dist/bubbles/service-bubble/jira/jira.d.ts +74 -74
- package/dist/bubbles/service-bubble/jira/jira.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/jira/jira.js +5 -7
- package/dist/bubbles/service-bubble/jira/jira.js.map +1 -1
- package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +36 -36
- package/dist/bubbles/service-bubble/linear/linear.d.ts +44 -44
- package/dist/bubbles/service-bubble/linear/linear.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/linear/linear.js +5 -7
- package/dist/bubbles/service-bubble/linear/linear.js.map +1 -1
- package/dist/bubbles/service-bubble/notion/notion.d.ts +408 -408
- package/dist/bubbles/service-bubble/notion/notion.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/notion/notion.js +5 -11
- package/dist/bubbles/service-bubble/notion/notion.js.map +1 -1
- package/dist/bubbles/service-bubble/notion/property-schemas.d.ts +8 -8
- package/dist/bubbles/service-bubble/postgresql.d.ts +12 -12
- package/dist/bubbles/service-bubble/posthog/posthog.d.ts +33 -33
- package/dist/bubbles/service-bubble/posthog/posthog.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/posthog/posthog.js +17 -18
- package/dist/bubbles/service-bubble/posthog/posthog.js.map +1 -1
- package/dist/bubbles/service-bubble/posthog/posthog.schema.d.ts +14 -14
- package/dist/bubbles/service-bubble/resend.d.ts +32 -32
- package/dist/bubbles/service-bubble/resend.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/resend.js +8 -13
- package/dist/bubbles/service-bubble/resend.js.map +1 -1
- package/dist/bubbles/service-bubble/s3/index.d.ts +4 -0
- package/dist/bubbles/service-bubble/s3/index.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/s3/index.js +4 -0
- package/dist/bubbles/service-bubble/s3/index.js.map +1 -0
- package/dist/bubbles/service-bubble/s3/s3.d.ts +306 -0
- package/dist/bubbles/service-bubble/s3/s3.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/s3/s3.js +369 -0
- package/dist/bubbles/service-bubble/s3/s3.js.map +1 -0
- package/dist/bubbles/service-bubble/s3/s3.schema.d.ts +265 -0
- package/dist/bubbles/service-bubble/s3/s3.schema.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/s3/s3.schema.js +213 -0
- package/dist/bubbles/service-bubble/s3/s3.schema.js.map +1 -0
- package/dist/bubbles/service-bubble/s3/s3.utils.d.ts +17 -0
- package/dist/bubbles/service-bubble/s3/s3.utils.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/s3/s3.utils.js +46 -0
- package/dist/bubbles/service-bubble/s3/s3.utils.js.map +1 -0
- package/dist/bubbles/service-bubble/sendsafely/sendsafely.d.ts +18 -18
- package/dist/bubbles/service-bubble/sendsafely/sendsafely.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/sendsafely/sendsafely.js +4 -9
- package/dist/bubbles/service-bubble/sendsafely/sendsafely.js.map +1 -1
- package/dist/bubbles/service-bubble/slack/slack.d.ts +378 -378
- package/dist/bubbles/service-bubble/slack/slack.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/slack/slack.js +4 -3
- package/dist/bubbles/service-bubble/slack/slack.js.map +1 -1
- package/dist/bubbles/service-bubble/storage.d.ts +92 -92
- package/dist/bubbles/service-bubble/stripe/stripe.d.ts +123 -123
- package/dist/bubbles/service-bubble/stripe/stripe.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/stripe/stripe.js +5 -7
- package/dist/bubbles/service-bubble/stripe/stripe.js.map +1 -1
- package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +28 -28
- package/dist/bubbles/service-bubble/telegram.d.ts +116 -116
- package/dist/bubbles/service-bubble/telegram.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/telegram.js +3 -3
- package/dist/bubbles/service-bubble/telegram.js.map +1 -1
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +32 -32
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +8 -8
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +14 -14
- package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/get-trigger-detail-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/instagram-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +405 -405
- package/dist/bubbles/tool-bubble/list-airtable-bases-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/list-airtable-tables-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/list-capabilities-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/people-search-tool.d.ts +14 -14
- package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +68 -68
- package/dist/bubbles/tool-bubble/tool-template.d.ts +4 -4
- package/dist/bubbles/tool-bubble/twitter-tool.d.ts +142 -142
- package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/web-search-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +12 -12
- package/dist/bubbles/tool-bubble/youtube-tool.d.ts +28 -28
- package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
- package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +16 -16
- package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +8 -8
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +66 -66
- package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +24 -24
- package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +4 -4
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +28 -28
- package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +4 -4
- package/dist/bubbles.json +493 -3
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -12,20 +12,20 @@ declare const PostgreSQLParamsSchema: z.ZodObject<{
|
|
|
12
12
|
maxRows: z.ZodDefault<z.ZodNumber>;
|
|
13
13
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
14
14
|
}, "strip", z.ZodTypeAny, {
|
|
15
|
-
parameters: unknown[];
|
|
16
15
|
timeout: number;
|
|
17
16
|
ignoreSSL: boolean;
|
|
18
17
|
query: string;
|
|
19
18
|
allowedOperations: ("SELECT" | "INSERT" | "UPDATE" | "DELETE" | "WITH" | "EXPLAIN" | "ANALYZE" | "SHOW" | "DESCRIBE" | "DESC" | "CREATE")[];
|
|
19
|
+
parameters: unknown[];
|
|
20
20
|
maxRows: number;
|
|
21
21
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
22
22
|
}, {
|
|
23
23
|
query: string;
|
|
24
|
-
parameters?: unknown[] | undefined;
|
|
25
24
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
26
25
|
timeout?: number | undefined;
|
|
27
26
|
ignoreSSL?: boolean | undefined;
|
|
28
27
|
allowedOperations?: ("SELECT" | "INSERT" | "UPDATE" | "DELETE" | "WITH" | "EXPLAIN" | "ANALYZE" | "SHOW" | "DESCRIBE" | "DESC" | "CREATE")[] | undefined;
|
|
28
|
+
parameters?: unknown[] | undefined;
|
|
29
29
|
maxRows?: number | undefined;
|
|
30
30
|
}>;
|
|
31
31
|
type PostgreSQLParamsInput = z.input<typeof PostgreSQLParamsSchema>;
|
|
@@ -49,24 +49,24 @@ declare const PostgreSQLResultSchema: z.ZodObject<{
|
|
|
49
49
|
error: z.ZodString;
|
|
50
50
|
cleanedJSONString: z.ZodString;
|
|
51
51
|
}, "strip", z.ZodTypeAny, {
|
|
52
|
-
executionTime: number;
|
|
53
|
-
error: string;
|
|
54
52
|
success: boolean;
|
|
53
|
+
error: string;
|
|
55
54
|
rows: Record<string, unknown>[];
|
|
56
55
|
rowCount: number | null;
|
|
57
56
|
command: string;
|
|
57
|
+
executionTime: number;
|
|
58
58
|
cleanedJSONString: string;
|
|
59
59
|
fields?: {
|
|
60
60
|
name: string;
|
|
61
61
|
dataTypeID: number;
|
|
62
62
|
}[] | undefined;
|
|
63
63
|
}, {
|
|
64
|
-
executionTime: number;
|
|
65
|
-
error: string;
|
|
66
64
|
success: boolean;
|
|
65
|
+
error: string;
|
|
67
66
|
rows: Record<string, unknown>[];
|
|
68
67
|
rowCount: number | null;
|
|
69
68
|
command: string;
|
|
69
|
+
executionTime: number;
|
|
70
70
|
cleanedJSONString: string;
|
|
71
71
|
fields?: {
|
|
72
72
|
name: string;
|
|
@@ -89,20 +89,20 @@ export declare class PostgreSQLBubble extends ServiceBubble<PostgreSQLParams, Po
|
|
|
89
89
|
maxRows: z.ZodDefault<z.ZodNumber>;
|
|
90
90
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
91
91
|
}, "strip", z.ZodTypeAny, {
|
|
92
|
-
parameters: unknown[];
|
|
93
92
|
timeout: number;
|
|
94
93
|
ignoreSSL: boolean;
|
|
95
94
|
query: string;
|
|
96
95
|
allowedOperations: ("SELECT" | "INSERT" | "UPDATE" | "DELETE" | "WITH" | "EXPLAIN" | "ANALYZE" | "SHOW" | "DESCRIBE" | "DESC" | "CREATE")[];
|
|
96
|
+
parameters: unknown[];
|
|
97
97
|
maxRows: number;
|
|
98
98
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
99
99
|
}, {
|
|
100
100
|
query: string;
|
|
101
|
-
parameters?: unknown[] | undefined;
|
|
102
101
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
103
102
|
timeout?: number | undefined;
|
|
104
103
|
ignoreSSL?: boolean | undefined;
|
|
105
104
|
allowedOperations?: ("SELECT" | "INSERT" | "UPDATE" | "DELETE" | "WITH" | "EXPLAIN" | "ANALYZE" | "SHOW" | "DESCRIBE" | "DESC" | "CREATE")[] | undefined;
|
|
105
|
+
parameters?: unknown[] | undefined;
|
|
106
106
|
maxRows?: number | undefined;
|
|
107
107
|
}>;
|
|
108
108
|
static readonly resultSchema: z.ZodObject<{
|
|
@@ -124,24 +124,24 @@ export declare class PostgreSQLBubble extends ServiceBubble<PostgreSQLParams, Po
|
|
|
124
124
|
error: z.ZodString;
|
|
125
125
|
cleanedJSONString: z.ZodString;
|
|
126
126
|
}, "strip", z.ZodTypeAny, {
|
|
127
|
-
executionTime: number;
|
|
128
|
-
error: string;
|
|
129
127
|
success: boolean;
|
|
128
|
+
error: string;
|
|
130
129
|
rows: Record<string, unknown>[];
|
|
131
130
|
rowCount: number | null;
|
|
132
131
|
command: string;
|
|
132
|
+
executionTime: number;
|
|
133
133
|
cleanedJSONString: string;
|
|
134
134
|
fields?: {
|
|
135
135
|
name: string;
|
|
136
136
|
dataTypeID: number;
|
|
137
137
|
}[] | undefined;
|
|
138
138
|
}, {
|
|
139
|
-
executionTime: number;
|
|
140
|
-
error: string;
|
|
141
139
|
success: boolean;
|
|
140
|
+
error: string;
|
|
142
141
|
rows: Record<string, unknown>[];
|
|
143
142
|
rowCount: number | null;
|
|
144
143
|
command: string;
|
|
144
|
+
executionTime: number;
|
|
145
145
|
cleanedJSONString: string;
|
|
146
146
|
fields?: {
|
|
147
147
|
name: string;
|
|
@@ -91,8 +91,8 @@ export declare class PosthogBubble<T extends PosthogParamsInput = PosthogParamsI
|
|
|
91
91
|
event?: string | undefined;
|
|
92
92
|
person_id?: string | undefined;
|
|
93
93
|
after?: string | undefined;
|
|
94
|
-
host?: string | undefined;
|
|
95
94
|
before?: string | undefined;
|
|
95
|
+
host?: string | undefined;
|
|
96
96
|
distinct_id?: string | undefined;
|
|
97
97
|
}>, import("zod").ZodObject<{
|
|
98
98
|
operation: import("zod").ZodLiteral<"query">;
|
|
@@ -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
|
-
query: string;
|
|
105
104
|
operation: "query";
|
|
105
|
+
query: string;
|
|
106
106
|
host: string;
|
|
107
107
|
project_id: string;
|
|
108
108
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
109
109
|
}, {
|
|
110
|
-
query: string;
|
|
111
110
|
operation: "query";
|
|
111
|
+
query: string;
|
|
112
112
|
project_id: string;
|
|
113
113
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
114
114
|
host?: string | undefined;
|
|
@@ -125,14 +125,14 @@ export declare class PosthogBubble<T extends PosthogParamsInput = PosthogParamsI
|
|
|
125
125
|
limit: number;
|
|
126
126
|
host: string;
|
|
127
127
|
project_id: string;
|
|
128
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
129
128
|
search?: string | undefined;
|
|
129
|
+
credentials?: Partial<Record<CredentialType, 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;
|
|
135
134
|
search?: string | undefined;
|
|
135
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
136
136
|
limit?: number | undefined;
|
|
137
137
|
host?: string | undefined;
|
|
138
138
|
distinct_id?: string | undefined;
|
|
@@ -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
|
-
error: string;
|
|
190
|
-
success: boolean;
|
|
191
189
|
operation: "list_projects";
|
|
190
|
+
success: boolean;
|
|
191
|
+
error: string;
|
|
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
|
-
error: string;
|
|
204
|
-
success: boolean;
|
|
205
203
|
operation: "list_projects";
|
|
204
|
+
success: boolean;
|
|
205
|
+
error: string;
|
|
206
206
|
projects?: {
|
|
207
207
|
name: string;
|
|
208
208
|
id: number;
|
|
@@ -230,8 +230,8 @@ export declare class PosthogBubble<T extends PosthogParamsInput = PosthogParamsI
|
|
|
230
230
|
event: string;
|
|
231
231
|
distinct_id: string;
|
|
232
232
|
properties?: Record<string, unknown> | undefined;
|
|
233
|
-
id?: string | undefined;
|
|
234
233
|
uuid?: string | undefined;
|
|
234
|
+
id?: string | undefined;
|
|
235
235
|
elements?: unknown[] | undefined;
|
|
236
236
|
timestamp?: string | undefined;
|
|
237
237
|
created_at?: string | undefined;
|
|
@@ -240,8 +240,8 @@ export declare class PosthogBubble<T extends PosthogParamsInput = PosthogParamsI
|
|
|
240
240
|
event: string;
|
|
241
241
|
distinct_id: string;
|
|
242
242
|
properties?: Record<string, unknown> | undefined;
|
|
243
|
-
id?: string | undefined;
|
|
244
243
|
uuid?: string | undefined;
|
|
244
|
+
id?: string | undefined;
|
|
245
245
|
elements?: unknown[] | undefined;
|
|
246
246
|
timestamp?: string | undefined;
|
|
247
247
|
created_at?: string | undefined;
|
|
@@ -250,15 +250,15 @@ 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
|
-
error: string;
|
|
254
|
-
success: boolean;
|
|
255
253
|
operation: "list_events";
|
|
254
|
+
success: boolean;
|
|
255
|
+
error: string;
|
|
256
256
|
events?: {
|
|
257
257
|
event: string;
|
|
258
258
|
distinct_id: string;
|
|
259
259
|
properties?: Record<string, unknown> | undefined;
|
|
260
|
-
id?: string | undefined;
|
|
261
260
|
uuid?: string | undefined;
|
|
261
|
+
id?: string | undefined;
|
|
262
262
|
elements?: unknown[] | undefined;
|
|
263
263
|
timestamp?: string | undefined;
|
|
264
264
|
created_at?: string | undefined;
|
|
@@ -266,15 +266,15 @@ export declare class PosthogBubble<T extends PosthogParamsInput = PosthogParamsI
|
|
|
266
266
|
}[] | undefined;
|
|
267
267
|
next?: string | null | undefined;
|
|
268
268
|
}, {
|
|
269
|
-
error: string;
|
|
270
|
-
success: boolean;
|
|
271
269
|
operation: "list_events";
|
|
270
|
+
success: boolean;
|
|
271
|
+
error: string;
|
|
272
272
|
events?: {
|
|
273
273
|
event: string;
|
|
274
274
|
distinct_id: string;
|
|
275
275
|
properties?: Record<string, unknown> | undefined;
|
|
276
|
-
id?: string | undefined;
|
|
277
276
|
uuid?: string | undefined;
|
|
277
|
+
id?: string | undefined;
|
|
278
278
|
elements?: unknown[] | undefined;
|
|
279
279
|
timestamp?: string | undefined;
|
|
280
280
|
created_at?: string | undefined;
|
|
@@ -290,17 +290,17 @@ export declare class PosthogBubble<T extends PosthogParamsInput = PosthogParamsI
|
|
|
290
290
|
hasMore: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBoolean>>;
|
|
291
291
|
error: import("zod").ZodString;
|
|
292
292
|
}, "strip", import("zod").ZodTypeAny, {
|
|
293
|
-
error: string;
|
|
294
|
-
success: boolean;
|
|
295
293
|
operation: "query";
|
|
294
|
+
success: boolean;
|
|
295
|
+
error: string;
|
|
296
296
|
types?: (string | string[])[] | undefined;
|
|
297
297
|
hasMore?: boolean | null | undefined;
|
|
298
298
|
results?: unknown[][] | undefined;
|
|
299
299
|
columns?: string[] | undefined;
|
|
300
300
|
}, {
|
|
301
|
-
error: string;
|
|
302
|
-
success: boolean;
|
|
303
301
|
operation: "query";
|
|
302
|
+
success: boolean;
|
|
303
|
+
error: string;
|
|
304
304
|
types?: (string | string[])[] | undefined;
|
|
305
305
|
hasMore?: boolean | null | undefined;
|
|
306
306
|
results?: unknown[][] | undefined;
|
|
@@ -330,9 +330,9 @@ export declare class PosthogBubble<T extends PosthogParamsInput = PosthogParamsI
|
|
|
330
330
|
next: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
331
331
|
error: import("zod").ZodString;
|
|
332
332
|
}, "strip", import("zod").ZodTypeAny, {
|
|
333
|
-
error: string;
|
|
334
|
-
success: boolean;
|
|
335
333
|
operation: "get_person";
|
|
334
|
+
success: boolean;
|
|
335
|
+
error: string;
|
|
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
|
-
error: string;
|
|
346
|
-
success: boolean;
|
|
347
345
|
operation: "get_person";
|
|
346
|
+
success: boolean;
|
|
347
|
+
error: string;
|
|
348
348
|
next?: string | null | undefined;
|
|
349
349
|
persons?: {
|
|
350
350
|
id: string;
|
|
@@ -368,9 +368,9 @@ export declare class PosthogBubble<T extends PosthogParamsInput = PosthogParamsI
|
|
|
368
368
|
last_modified_at: import("zod").ZodOptional<import("zod").ZodString>;
|
|
369
369
|
}, "strip", import("zod").ZodTypeAny, {
|
|
370
370
|
id: number;
|
|
371
|
-
result?: unknown;
|
|
372
371
|
description?: string | null | undefined;
|
|
373
372
|
name?: string | null | undefined;
|
|
373
|
+
result?: unknown;
|
|
374
374
|
created_at?: string | undefined;
|
|
375
375
|
filters?: Record<string, unknown> | undefined;
|
|
376
376
|
short_id?: string | undefined;
|
|
@@ -378,9 +378,9 @@ export declare class PosthogBubble<T extends PosthogParamsInput = PosthogParamsI
|
|
|
378
378
|
last_modified_at?: string | undefined;
|
|
379
379
|
}, {
|
|
380
380
|
id: number;
|
|
381
|
-
result?: unknown;
|
|
382
381
|
description?: string | null | undefined;
|
|
383
382
|
name?: string | null | undefined;
|
|
383
|
+
result?: unknown;
|
|
384
384
|
created_at?: string | undefined;
|
|
385
385
|
filters?: Record<string, unknown> | undefined;
|
|
386
386
|
short_id?: string | undefined;
|
|
@@ -389,14 +389,14 @@ export declare class PosthogBubble<T extends PosthogParamsInput = PosthogParamsI
|
|
|
389
389
|
}>>;
|
|
390
390
|
error: import("zod").ZodString;
|
|
391
391
|
}, "strip", import("zod").ZodTypeAny, {
|
|
392
|
-
error: string;
|
|
393
|
-
success: boolean;
|
|
394
392
|
operation: "get_insight";
|
|
393
|
+
success: boolean;
|
|
394
|
+
error: string;
|
|
395
395
|
insight?: {
|
|
396
396
|
id: number;
|
|
397
|
-
result?: unknown;
|
|
398
397
|
description?: string | null | undefined;
|
|
399
398
|
name?: string | null | undefined;
|
|
399
|
+
result?: unknown;
|
|
400
400
|
created_at?: string | undefined;
|
|
401
401
|
filters?: Record<string, unknown> | undefined;
|
|
402
402
|
short_id?: string | undefined;
|
|
@@ -404,14 +404,14 @@ export declare class PosthogBubble<T extends PosthogParamsInput = PosthogParamsI
|
|
|
404
404
|
last_modified_at?: string | undefined;
|
|
405
405
|
} | undefined;
|
|
406
406
|
}, {
|
|
407
|
-
error: string;
|
|
408
|
-
success: boolean;
|
|
409
407
|
operation: "get_insight";
|
|
408
|
+
success: boolean;
|
|
409
|
+
error: string;
|
|
410
410
|
insight?: {
|
|
411
411
|
id: number;
|
|
412
|
-
result?: unknown;
|
|
413
412
|
description?: string | null | undefined;
|
|
414
413
|
name?: string | null | undefined;
|
|
414
|
+
result?: unknown;
|
|
415
415
|
created_at?: string | undefined;
|
|
416
416
|
filters?: Record<string, unknown> | undefined;
|
|
417
417
|
short_id?: 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,MA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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
|
-
|
|
89
|
-
|
|
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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ACrB,MAA8B;QAE9B,MAAM,WAAW,GAA2B,EAAE,CAAC;QAE/C,IAAI,MAAM,CAAC,WAAW;YAAE,WAAW,CAAC,WAAW,GAAG,MAAM,CAAC,WAAW,CAAC;QACrE,IAAI,MAAM,CAAC,MAAM;YAAE,WAAW,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;QACtD,IAAI,MAAM,CAAC,KAAK,KAAK,SAAS;YAAE,WAAW,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"}
|
|
@@ -17,8 +17,8 @@ export declare const PosthogEventSchema: z.ZodObject<{
|
|
|
17
17
|
event: string;
|
|
18
18
|
distinct_id: string;
|
|
19
19
|
properties?: Record<string, unknown> | undefined;
|
|
20
|
-
id?: string | undefined;
|
|
21
20
|
uuid?: string | undefined;
|
|
21
|
+
id?: string | undefined;
|
|
22
22
|
elements?: unknown[] | undefined;
|
|
23
23
|
timestamp?: string | undefined;
|
|
24
24
|
created_at?: string | undefined;
|
|
@@ -27,8 +27,8 @@ export declare const PosthogEventSchema: z.ZodObject<{
|
|
|
27
27
|
event: string;
|
|
28
28
|
distinct_id: string;
|
|
29
29
|
properties?: Record<string, unknown> | undefined;
|
|
30
|
-
id?: string | undefined;
|
|
31
30
|
uuid?: string | undefined;
|
|
31
|
+
id?: string | undefined;
|
|
32
32
|
elements?: unknown[] | undefined;
|
|
33
33
|
timestamp?: string | undefined;
|
|
34
34
|
created_at?: string | undefined;
|
|
@@ -71,9 +71,9 @@ export declare const PosthogInsightSchema: z.ZodObject<{
|
|
|
71
71
|
last_modified_at: z.ZodOptional<z.ZodString>;
|
|
72
72
|
}, "strip", z.ZodTypeAny, {
|
|
73
73
|
id: number;
|
|
74
|
-
result?: unknown;
|
|
75
74
|
description?: string | null | undefined;
|
|
76
75
|
name?: string | null | undefined;
|
|
76
|
+
result?: unknown;
|
|
77
77
|
created_at?: string | undefined;
|
|
78
78
|
filters?: Record<string, unknown> | undefined;
|
|
79
79
|
short_id?: string | undefined;
|
|
@@ -81,9 +81,9 @@ export declare const PosthogInsightSchema: z.ZodObject<{
|
|
|
81
81
|
last_modified_at?: string | undefined;
|
|
82
82
|
}, {
|
|
83
83
|
id: number;
|
|
84
|
-
result?: unknown;
|
|
85
84
|
description?: string | null | undefined;
|
|
86
85
|
name?: string | null | undefined;
|
|
86
|
+
result?: unknown;
|
|
87
87
|
created_at?: string | undefined;
|
|
88
88
|
filters?: Record<string, unknown> | undefined;
|
|
89
89
|
short_id?: string | undefined;
|
|
@@ -191,9 +191,9 @@ export declare const PosthogParamsSchema: z.ZodDiscriminatedUnion<"operation", [
|
|
|
191
191
|
event?: string | undefined;
|
|
192
192
|
person_id?: string | undefined;
|
|
193
193
|
after?: string | undefined;
|
|
194
|
-
host?: string | undefined;
|
|
195
194
|
before?: 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;
|
|
@@ -234,8 +234,8 @@ export declare const PosthogParamsSchema: z.ZodDiscriminatedUnion<"operation", [
|
|
|
234
234
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
235
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;
|
|
@@ -330,8 +330,8 @@ export declare const PosthogResultSchema: z.ZodDiscriminatedUnion<"operation", [
|
|
|
330
330
|
event: string;
|
|
331
331
|
distinct_id: string;
|
|
332
332
|
properties?: Record<string, unknown> | undefined;
|
|
333
|
-
id?: string | undefined;
|
|
334
333
|
uuid?: string | undefined;
|
|
334
|
+
id?: string | undefined;
|
|
335
335
|
elements?: unknown[] | undefined;
|
|
336
336
|
timestamp?: string | undefined;
|
|
337
337
|
created_at?: string | undefined;
|
|
@@ -340,8 +340,8 @@ export declare const PosthogResultSchema: z.ZodDiscriminatedUnion<"operation", [
|
|
|
340
340
|
event: string;
|
|
341
341
|
distinct_id: string;
|
|
342
342
|
properties?: Record<string, unknown> | undefined;
|
|
343
|
-
id?: string | undefined;
|
|
344
343
|
uuid?: string | undefined;
|
|
344
|
+
id?: string | undefined;
|
|
345
345
|
elements?: unknown[] | undefined;
|
|
346
346
|
timestamp?: string | undefined;
|
|
347
347
|
created_at?: string | undefined;
|
|
@@ -357,8 +357,8 @@ export declare const PosthogResultSchema: z.ZodDiscriminatedUnion<"operation", [
|
|
|
357
357
|
event: string;
|
|
358
358
|
distinct_id: string;
|
|
359
359
|
properties?: Record<string, unknown> | undefined;
|
|
360
|
-
id?: string | undefined;
|
|
361
360
|
uuid?: string | undefined;
|
|
361
|
+
id?: string | undefined;
|
|
362
362
|
elements?: unknown[] | undefined;
|
|
363
363
|
timestamp?: string | undefined;
|
|
364
364
|
created_at?: string | undefined;
|
|
@@ -373,8 +373,8 @@ export declare const PosthogResultSchema: z.ZodDiscriminatedUnion<"operation", [
|
|
|
373
373
|
event: string;
|
|
374
374
|
distinct_id: string;
|
|
375
375
|
properties?: Record<string, unknown> | undefined;
|
|
376
|
-
id?: string | undefined;
|
|
377
376
|
uuid?: string | undefined;
|
|
377
|
+
id?: string | undefined;
|
|
378
378
|
elements?: unknown[] | undefined;
|
|
379
379
|
timestamp?: string | undefined;
|
|
380
380
|
created_at?: string | undefined;
|
|
@@ -468,9 +468,9 @@ export declare const PosthogResultSchema: z.ZodDiscriminatedUnion<"operation", [
|
|
|
468
468
|
last_modified_at: z.ZodOptional<z.ZodString>;
|
|
469
469
|
}, "strip", z.ZodTypeAny, {
|
|
470
470
|
id: number;
|
|
471
|
-
result?: unknown;
|
|
472
471
|
description?: string | null | undefined;
|
|
473
472
|
name?: string | null | undefined;
|
|
473
|
+
result?: unknown;
|
|
474
474
|
created_at?: string | undefined;
|
|
475
475
|
filters?: Record<string, unknown> | undefined;
|
|
476
476
|
short_id?: string | undefined;
|
|
@@ -478,9 +478,9 @@ export declare const PosthogResultSchema: z.ZodDiscriminatedUnion<"operation", [
|
|
|
478
478
|
last_modified_at?: string | undefined;
|
|
479
479
|
}, {
|
|
480
480
|
id: number;
|
|
481
|
-
result?: unknown;
|
|
482
481
|
description?: string | null | undefined;
|
|
483
482
|
name?: string | null | undefined;
|
|
483
|
+
result?: unknown;
|
|
484
484
|
created_at?: string | undefined;
|
|
485
485
|
filters?: Record<string, unknown> | undefined;
|
|
486
486
|
short_id?: string | undefined;
|
|
@@ -494,9 +494,9 @@ export declare const PosthogResultSchema: z.ZodDiscriminatedUnion<"operation", [
|
|
|
494
494
|
operation: "get_insight";
|
|
495
495
|
insight?: {
|
|
496
496
|
id: number;
|
|
497
|
-
result?: unknown;
|
|
498
497
|
description?: string | null | undefined;
|
|
499
498
|
name?: string | null | undefined;
|
|
499
|
+
result?: unknown;
|
|
500
500
|
created_at?: string | undefined;
|
|
501
501
|
filters?: Record<string, unknown> | undefined;
|
|
502
502
|
short_id?: string | undefined;
|
|
@@ -509,9 +509,9 @@ export declare const PosthogResultSchema: z.ZodDiscriminatedUnion<"operation", [
|
|
|
509
509
|
operation: "get_insight";
|
|
510
510
|
insight?: {
|
|
511
511
|
id: number;
|
|
512
|
-
result?: unknown;
|
|
513
512
|
description?: string | null | undefined;
|
|
514
513
|
name?: string | null | undefined;
|
|
514
|
+
result?: unknown;
|
|
515
515
|
created_at?: string | undefined;
|
|
516
516
|
filters?: Record<string, unknown> | undefined;
|
|
517
517
|
short_id?: string | undefined;
|