@keystrokehq/posthog 0.0.7 → 0.0.8
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/actions.mjs +5 -5
- package/dist/annotations.mjs +5 -5
- package/dist/capture.mjs +7 -7
- package/dist/cohorts.mjs +8 -8
- package/dist/dashboards.mjs +16 -16
- package/dist/decide.mjs +2 -2
- package/dist/events-management.mjs +10 -10
- package/dist/feature-flags.mjs +15 -15
- package/dist/insights.mjs +16 -16
- package/dist/organizations.mjs +11 -11
- package/dist/persons.mjs +15 -15
- package/dist/projects.mjs +13 -13
- package/dist/session-recordings.mjs +14 -14
- package/dist/surveys.mjs +9 -9
- package/dist/webhook-management.mjs +6 -6
- package/package.json +2 -2
package/dist/actions.mjs
CHANGED
|
@@ -25,7 +25,7 @@ const writeShape = {
|
|
|
25
25
|
deleted: z.boolean().optional()
|
|
26
26
|
};
|
|
27
27
|
const listActions = posthogOperation({
|
|
28
|
-
id: "
|
|
28
|
+
id: "posthog.actions-list",
|
|
29
29
|
name: "PostHog List Actions",
|
|
30
30
|
description: "List actions in a project",
|
|
31
31
|
input: z.object({
|
|
@@ -50,7 +50,7 @@ const listActions = posthogOperation({
|
|
|
50
50
|
}
|
|
51
51
|
});
|
|
52
52
|
const getAction = posthogOperation({
|
|
53
|
-
id: "
|
|
53
|
+
id: "posthog.actions-get",
|
|
54
54
|
name: "PostHog Get Action",
|
|
55
55
|
description: "Retrieve an action by id",
|
|
56
56
|
input: z.object(idInput),
|
|
@@ -65,7 +65,7 @@ const getAction = posthogOperation({
|
|
|
65
65
|
}
|
|
66
66
|
});
|
|
67
67
|
const createAction = posthogOperation({
|
|
68
|
-
id: "
|
|
68
|
+
id: "posthog.actions-create",
|
|
69
69
|
name: "PostHog Create Action",
|
|
70
70
|
description: "Create a new action",
|
|
71
71
|
input: z.object({
|
|
@@ -87,7 +87,7 @@ const createAction = posthogOperation({
|
|
|
87
87
|
}
|
|
88
88
|
});
|
|
89
89
|
const updateAction = posthogOperation({
|
|
90
|
-
id: "
|
|
90
|
+
id: "posthog.actions-update",
|
|
91
91
|
name: "PostHog Update Action",
|
|
92
92
|
description: "Partial update to an action",
|
|
93
93
|
input: z.object({
|
|
@@ -108,7 +108,7 @@ const updateAction = posthogOperation({
|
|
|
108
108
|
}
|
|
109
109
|
});
|
|
110
110
|
const deleteAction = posthogOperation({
|
|
111
|
-
id: "
|
|
111
|
+
id: "posthog.actions-delete",
|
|
112
112
|
name: "PostHog Delete Action",
|
|
113
113
|
description: "Soft-delete an action",
|
|
114
114
|
input: z.object(idInput),
|
package/dist/annotations.mjs
CHANGED
|
@@ -28,7 +28,7 @@ const writeShape = {
|
|
|
28
28
|
deleted: z.boolean().optional()
|
|
29
29
|
};
|
|
30
30
|
const listAnnotations = posthogOperation({
|
|
31
|
-
id: "
|
|
31
|
+
id: "posthog.annotations-list",
|
|
32
32
|
name: "PostHog List Annotations",
|
|
33
33
|
description: "List annotations in a project",
|
|
34
34
|
input: z.object({
|
|
@@ -61,7 +61,7 @@ const listAnnotations = posthogOperation({
|
|
|
61
61
|
}
|
|
62
62
|
});
|
|
63
63
|
const getAnnotation = posthogOperation({
|
|
64
|
-
id: "
|
|
64
|
+
id: "posthog.annotations-get",
|
|
65
65
|
name: "PostHog Get Annotation",
|
|
66
66
|
description: "Retrieve an annotation by id",
|
|
67
67
|
input: z.object(idInput),
|
|
@@ -76,7 +76,7 @@ const getAnnotation = posthogOperation({
|
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
78
|
const createAnnotation = posthogOperation({
|
|
79
|
-
id: "
|
|
79
|
+
id: "posthog.annotations-create",
|
|
80
80
|
name: "PostHog Create Annotation",
|
|
81
81
|
description: "Create a new annotation",
|
|
82
82
|
input: z.object({
|
|
@@ -99,7 +99,7 @@ const createAnnotation = posthogOperation({
|
|
|
99
99
|
}
|
|
100
100
|
});
|
|
101
101
|
const updateAnnotation = posthogOperation({
|
|
102
|
-
id: "
|
|
102
|
+
id: "posthog.annotations-update",
|
|
103
103
|
name: "PostHog Update Annotation",
|
|
104
104
|
description: "Partial update to an annotation",
|
|
105
105
|
input: z.object({
|
|
@@ -120,7 +120,7 @@ const updateAnnotation = posthogOperation({
|
|
|
120
120
|
}
|
|
121
121
|
});
|
|
122
122
|
const deleteAnnotation = posthogOperation({
|
|
123
|
-
id: "
|
|
123
|
+
id: "posthog.annotations-delete",
|
|
124
124
|
name: "PostHog Delete Annotation",
|
|
125
125
|
description: "Delete an annotation",
|
|
126
126
|
input: z.object(idInput),
|
package/dist/capture.mjs
CHANGED
|
@@ -25,7 +25,7 @@ const eventNameInput = {
|
|
|
25
25
|
* Maps Sim archive tool S1 (`posthog_capture_event`).
|
|
26
26
|
*/
|
|
27
27
|
const captureEvent = posthogOperation({
|
|
28
|
-
id: "
|
|
28
|
+
id: "posthog.capture-event",
|
|
29
29
|
name: "PostHog Capture Event",
|
|
30
30
|
description: "Capture a single analytics event via the PostHog /capture endpoint",
|
|
31
31
|
input: z.object(eventNameInput),
|
|
@@ -52,7 +52,7 @@ const captureEvent = posthogOperation({
|
|
|
52
52
|
* Maps Sim archive tool S2 (`posthog_capture_batch_events`).
|
|
53
53
|
*/
|
|
54
54
|
const captureBatch = posthogOperation({
|
|
55
|
-
id: "
|
|
55
|
+
id: "posthog.capture-batch-events",
|
|
56
56
|
name: "PostHog Capture Batch",
|
|
57
57
|
description: "Capture up to 100 analytics events via the PostHog /batch endpoint",
|
|
58
58
|
input: z.object({ events: z.array(z.object({
|
|
@@ -81,7 +81,7 @@ const captureBatch = posthogOperation({
|
|
|
81
81
|
* Maps Sim archive tool S3 (`posthog_identify_person`).
|
|
82
82
|
*/
|
|
83
83
|
const identifyPerson = posthogOperation({
|
|
84
|
-
id: "
|
|
84
|
+
id: "posthog.identify-person",
|
|
85
85
|
name: "PostHog Identify Person",
|
|
86
86
|
description: "Associate a distinct_id with person properties via a $identify event",
|
|
87
87
|
input: z.object({
|
|
@@ -115,7 +115,7 @@ const identifyPerson = posthogOperation({
|
|
|
115
115
|
* Maps Sim archive tool S4 (`posthog_alias_person`).
|
|
116
116
|
*/
|
|
117
117
|
const aliasPerson = posthogOperation({
|
|
118
|
-
id: "
|
|
118
|
+
id: "posthog.alias-person",
|
|
119
119
|
name: "PostHog Alias Person",
|
|
120
120
|
description: "Merge one distinct_id into another via a $create_alias event",
|
|
121
121
|
input: z.object({
|
|
@@ -145,7 +145,7 @@ const aliasPerson = posthogOperation({
|
|
|
145
145
|
* Maps Sim archive tool S5 (`posthog_group_identify`).
|
|
146
146
|
*/
|
|
147
147
|
const groupIdentify = posthogOperation({
|
|
148
|
-
id: "
|
|
148
|
+
id: "posthog.group-identify",
|
|
149
149
|
name: "PostHog Group Identify",
|
|
150
150
|
description: "Attach properties to a group (organization, project, etc.) via $groupidentify",
|
|
151
151
|
input: z.object({
|
|
@@ -181,7 +181,7 @@ const groupIdentify = posthogOperation({
|
|
|
181
181
|
* Maps Sim archive tool S6 (`posthog_set_person_properties`).
|
|
182
182
|
*/
|
|
183
183
|
const setPersonProperties = posthogOperation({
|
|
184
|
-
id: "
|
|
184
|
+
id: "posthog.set-person-properties",
|
|
185
185
|
name: "PostHog Set Person Properties",
|
|
186
186
|
description: "Set (overwrite) properties on a person via a $set event",
|
|
187
187
|
input: z.object({
|
|
@@ -211,7 +211,7 @@ const setPersonProperties = posthogOperation({
|
|
|
211
211
|
* Maps Sim archive tool S7 (`posthog_set_person_properties_once`).
|
|
212
212
|
*/
|
|
213
213
|
const setPersonPropertiesOnce = posthogOperation({
|
|
214
|
-
id: "
|
|
214
|
+
id: "posthog.set-person-properties-once",
|
|
215
215
|
name: "PostHog Set Person Properties Once",
|
|
216
216
|
description: "Set properties on a person only if not already set ($set_once)",
|
|
217
217
|
input: z.object({
|
package/dist/cohorts.mjs
CHANGED
|
@@ -23,7 +23,7 @@ const writeShape = {
|
|
|
23
23
|
deleted: z.boolean().optional()
|
|
24
24
|
};
|
|
25
25
|
const listCohorts = posthogOperation({
|
|
26
|
-
id: "
|
|
26
|
+
id: "posthog.cohorts-list",
|
|
27
27
|
name: "PostHog List Cohorts",
|
|
28
28
|
description: "List cohorts in a project",
|
|
29
29
|
input: z.object({
|
|
@@ -48,7 +48,7 @@ const listCohorts = posthogOperation({
|
|
|
48
48
|
}
|
|
49
49
|
});
|
|
50
50
|
const getCohort = posthogOperation({
|
|
51
|
-
id: "
|
|
51
|
+
id: "posthog.cohorts-get",
|
|
52
52
|
name: "PostHog Get Cohort",
|
|
53
53
|
description: "Retrieve a cohort by id",
|
|
54
54
|
input: z.object(idInput),
|
|
@@ -63,7 +63,7 @@ const getCohort = posthogOperation({
|
|
|
63
63
|
}
|
|
64
64
|
});
|
|
65
65
|
const createCohort = posthogOperation({
|
|
66
|
-
id: "
|
|
66
|
+
id: "posthog.cohorts-create",
|
|
67
67
|
name: "PostHog Create Cohort",
|
|
68
68
|
description: "Create a new cohort",
|
|
69
69
|
input: z.object({
|
|
@@ -85,7 +85,7 @@ const createCohort = posthogOperation({
|
|
|
85
85
|
}
|
|
86
86
|
});
|
|
87
87
|
const updateCohort = posthogOperation({
|
|
88
|
-
id: "
|
|
88
|
+
id: "posthog.cohorts-update",
|
|
89
89
|
name: "PostHog Update Cohort",
|
|
90
90
|
description: "Partial update to a cohort",
|
|
91
91
|
input: z.object({
|
|
@@ -106,7 +106,7 @@ const updateCohort = posthogOperation({
|
|
|
106
106
|
}
|
|
107
107
|
});
|
|
108
108
|
const deleteCohort = posthogOperation({
|
|
109
|
-
id: "
|
|
109
|
+
id: "posthog.cohorts-delete",
|
|
110
110
|
name: "PostHog Delete Cohort",
|
|
111
111
|
description: "Soft-delete a cohort",
|
|
112
112
|
input: z.object(idInput),
|
|
@@ -123,7 +123,7 @@ const deleteCohort = posthogOperation({
|
|
|
123
123
|
}
|
|
124
124
|
});
|
|
125
125
|
const getCohortPersons = posthogOperation({
|
|
126
|
-
id: "
|
|
126
|
+
id: "posthog.cohorts-persons",
|
|
127
127
|
name: "PostHog List Cohort Persons",
|
|
128
128
|
description: "List persons in a cohort",
|
|
129
129
|
input: z.object({
|
|
@@ -146,7 +146,7 @@ const getCohortPersons = posthogOperation({
|
|
|
146
146
|
}
|
|
147
147
|
});
|
|
148
148
|
const getCohortActivity = posthogOperation({
|
|
149
|
-
id: "
|
|
149
|
+
id: "posthog.cohorts-activity",
|
|
150
150
|
name: "PostHog Cohort Activity",
|
|
151
151
|
description: "Fetch activity log for a cohort",
|
|
152
152
|
input: z.object({
|
|
@@ -165,7 +165,7 @@ const getCohortActivity = posthogOperation({
|
|
|
165
165
|
}
|
|
166
166
|
});
|
|
167
167
|
const duplicateCohortAsStatic = posthogOperation({
|
|
168
|
-
id: "
|
|
168
|
+
id: "posthog.cohorts-duplicate-as-static",
|
|
169
169
|
name: "PostHog Duplicate Cohort As Static",
|
|
170
170
|
description: "Duplicate a cohort as a static cohort",
|
|
171
171
|
input: z.object(idInput),
|
package/dist/dashboards.mjs
CHANGED
|
@@ -24,7 +24,7 @@ const writeShape = {
|
|
|
24
24
|
deleted: z.boolean().optional()
|
|
25
25
|
};
|
|
26
26
|
const listDashboards = posthogOperation({
|
|
27
|
-
id: "
|
|
27
|
+
id: "posthog.dashboards-list",
|
|
28
28
|
name: "PostHog List Dashboards",
|
|
29
29
|
description: "List dashboards in a project",
|
|
30
30
|
input: z.object({
|
|
@@ -51,7 +51,7 @@ const listDashboards = posthogOperation({
|
|
|
51
51
|
}
|
|
52
52
|
});
|
|
53
53
|
const getDashboard = posthogOperation({
|
|
54
|
-
id: "
|
|
54
|
+
id: "posthog.dashboards-get",
|
|
55
55
|
name: "PostHog Get Dashboard",
|
|
56
56
|
description: "Retrieve a dashboard by id",
|
|
57
57
|
input: z.object(idInput),
|
|
@@ -66,7 +66,7 @@ const getDashboard = posthogOperation({
|
|
|
66
66
|
}
|
|
67
67
|
});
|
|
68
68
|
const createDashboard = posthogOperation({
|
|
69
|
-
id: "
|
|
69
|
+
id: "posthog.dashboards-create",
|
|
70
70
|
name: "PostHog Create Dashboard",
|
|
71
71
|
description: "Create a new dashboard",
|
|
72
72
|
input: z.object({
|
|
@@ -88,7 +88,7 @@ const createDashboard = posthogOperation({
|
|
|
88
88
|
}
|
|
89
89
|
});
|
|
90
90
|
const updateDashboard = posthogOperation({
|
|
91
|
-
id: "
|
|
91
|
+
id: "posthog.dashboards-update",
|
|
92
92
|
name: "PostHog Update Dashboard",
|
|
93
93
|
description: "Partial update to a dashboard",
|
|
94
94
|
input: z.object({
|
|
@@ -109,7 +109,7 @@ const updateDashboard = posthogOperation({
|
|
|
109
109
|
}
|
|
110
110
|
});
|
|
111
111
|
const deleteDashboard = posthogOperation({
|
|
112
|
-
id: "
|
|
112
|
+
id: "posthog.dashboards-delete",
|
|
113
113
|
name: "PostHog Delete Dashboard",
|
|
114
114
|
description: "Soft-delete a dashboard",
|
|
115
115
|
input: z.object(idInput),
|
|
@@ -126,7 +126,7 @@ const deleteDashboard = posthogOperation({
|
|
|
126
126
|
}
|
|
127
127
|
});
|
|
128
128
|
const getDashboardSharing = posthogOperation({
|
|
129
|
-
id: "
|
|
129
|
+
id: "posthog.dashboards-sharing-get",
|
|
130
130
|
name: "PostHog Get Dashboard Sharing",
|
|
131
131
|
description: "Fetch sharing configuration for a dashboard",
|
|
132
132
|
input: z.object(idInput),
|
|
@@ -141,7 +141,7 @@ const getDashboardSharing = posthogOperation({
|
|
|
141
141
|
}
|
|
142
142
|
});
|
|
143
143
|
const updateDashboardSharing = posthogOperation({
|
|
144
|
-
id: "
|
|
144
|
+
id: "posthog.dashboards-sharing-update",
|
|
145
145
|
name: "PostHog Update Dashboard Sharing",
|
|
146
146
|
description: "Enable or disable sharing for a dashboard",
|
|
147
147
|
input: z.object({
|
|
@@ -161,7 +161,7 @@ const updateDashboardSharing = posthogOperation({
|
|
|
161
161
|
}
|
|
162
162
|
});
|
|
163
163
|
const listDashboardCollaborators = posthogOperation({
|
|
164
|
-
id: "
|
|
164
|
+
id: "posthog.dashboards-collaborators-list",
|
|
165
165
|
name: "PostHog List Dashboard Collaborators",
|
|
166
166
|
description: "List collaborators on a dashboard",
|
|
167
167
|
input: z.object(idInput),
|
|
@@ -176,7 +176,7 @@ const listDashboardCollaborators = posthogOperation({
|
|
|
176
176
|
}
|
|
177
177
|
});
|
|
178
178
|
const addDashboardCollaborator = posthogOperation({
|
|
179
|
-
id: "
|
|
179
|
+
id: "posthog.dashboards-collaborators-add",
|
|
180
180
|
name: "PostHog Add Dashboard Collaborator",
|
|
181
181
|
description: "Add a collaborator to a dashboard",
|
|
182
182
|
input: z.object({
|
|
@@ -200,7 +200,7 @@ const addDashboardCollaborator = posthogOperation({
|
|
|
200
200
|
}
|
|
201
201
|
});
|
|
202
202
|
const removeDashboardCollaborator = posthogOperation({
|
|
203
|
-
id: "
|
|
203
|
+
id: "posthog.dashboards-collaborators-remove",
|
|
204
204
|
name: "PostHog Remove Dashboard Collaborator",
|
|
205
205
|
description: "Remove a collaborator from a dashboard",
|
|
206
206
|
input: z.object({
|
|
@@ -220,7 +220,7 @@ const removeDashboardCollaborator = posthogOperation({
|
|
|
220
220
|
}
|
|
221
221
|
});
|
|
222
222
|
const listDashboardTemplates = posthogOperation({
|
|
223
|
-
id: "
|
|
223
|
+
id: "posthog.dashboard-templates-list",
|
|
224
224
|
name: "PostHog List Dashboard Templates",
|
|
225
225
|
description: "List dashboard templates available in a project",
|
|
226
226
|
input: z.object({
|
|
@@ -243,7 +243,7 @@ const listDashboardTemplates = posthogOperation({
|
|
|
243
243
|
}
|
|
244
244
|
});
|
|
245
245
|
const getDashboardTemplate = posthogOperation({
|
|
246
|
-
id: "
|
|
246
|
+
id: "posthog.dashboard-templates-get",
|
|
247
247
|
name: "PostHog Get Dashboard Template",
|
|
248
248
|
description: "Retrieve a dashboard template by id",
|
|
249
249
|
input: z.object({
|
|
@@ -261,7 +261,7 @@ const getDashboardTemplate = posthogOperation({
|
|
|
261
261
|
}
|
|
262
262
|
});
|
|
263
263
|
const createDashboardTemplate = posthogOperation({
|
|
264
|
-
id: "
|
|
264
|
+
id: "posthog.dashboard-templates-create",
|
|
265
265
|
name: "PostHog Create Dashboard Template",
|
|
266
266
|
description: "Create a dashboard template from a dashboard",
|
|
267
267
|
input: z.object({
|
|
@@ -286,7 +286,7 @@ const createDashboardTemplate = posthogOperation({
|
|
|
286
286
|
}
|
|
287
287
|
});
|
|
288
288
|
const updateDashboardTemplate = posthogOperation({
|
|
289
|
-
id: "
|
|
289
|
+
id: "posthog.dashboard-templates-update",
|
|
290
290
|
name: "PostHog Update Dashboard Template",
|
|
291
291
|
description: "Partial update to a dashboard template",
|
|
292
292
|
input: z.object({
|
|
@@ -313,7 +313,7 @@ const updateDashboardTemplate = posthogOperation({
|
|
|
313
313
|
}
|
|
314
314
|
});
|
|
315
315
|
const deleteDashboardTemplate = posthogOperation({
|
|
316
|
-
id: "
|
|
316
|
+
id: "posthog.dashboard-templates-delete",
|
|
317
317
|
name: "PostHog Delete Dashboard Template",
|
|
318
318
|
description: "Delete a dashboard template",
|
|
319
319
|
input: z.object({
|
|
@@ -333,7 +333,7 @@ const deleteDashboardTemplate = posthogOperation({
|
|
|
333
333
|
}
|
|
334
334
|
});
|
|
335
335
|
const getDashboardActivity = posthogOperation({
|
|
336
|
-
id: "
|
|
336
|
+
id: "posthog.dashboards-activity",
|
|
337
337
|
name: "PostHog Dashboard Activity",
|
|
338
338
|
description: "Fetch activity log for a dashboard",
|
|
339
339
|
input: z.object({
|
package/dist/decide.mjs
CHANGED
|
@@ -20,7 +20,7 @@ import { z } from "zod";
|
|
|
20
20
|
*/
|
|
21
21
|
/** Evaluate feature flags for a distinct_id (server-side). Maps Sim tool S8. */
|
|
22
22
|
const decideFeatureFlags = posthogOperation({
|
|
23
|
-
id: "
|
|
23
|
+
id: "posthog.decide-feature-flags",
|
|
24
24
|
name: "PostHog Decide Feature Flags",
|
|
25
25
|
description: "Evaluate all feature flags for a distinct_id via the /decide endpoint",
|
|
26
26
|
input: z.object({
|
|
@@ -52,7 +52,7 @@ const decideFeatureFlags = posthogOperation({
|
|
|
52
52
|
* Maps Sim tool S9 and Composio slug `manage_project_feature_flags_for_local_evaluation`.
|
|
53
53
|
*/
|
|
54
54
|
const decideFeatureFlagsLocal = posthogOperation({
|
|
55
|
-
id: "
|
|
55
|
+
id: "posthog.decide-feature-flags-local",
|
|
56
56
|
name: "PostHog Local Evaluation Payload",
|
|
57
57
|
description: "Fetch the local-evaluation payload for all feature flags in a project",
|
|
58
58
|
input: z.object({
|
|
@@ -16,7 +16,7 @@ const eventDefIdInput = {
|
|
|
16
16
|
id: z.string().min(1)
|
|
17
17
|
};
|
|
18
18
|
const listEvents = posthogOperation({
|
|
19
|
-
id: "
|
|
19
|
+
id: "posthog.events-list",
|
|
20
20
|
name: "PostHog List Events",
|
|
21
21
|
description: "Query captured events",
|
|
22
22
|
input: z.object({
|
|
@@ -49,7 +49,7 @@ const listEvents = posthogOperation({
|
|
|
49
49
|
}
|
|
50
50
|
});
|
|
51
51
|
const getEvent = posthogOperation({
|
|
52
|
-
id: "
|
|
52
|
+
id: "posthog.events-get",
|
|
53
53
|
name: "PostHog Get Event",
|
|
54
54
|
description: "Retrieve a single event by id",
|
|
55
55
|
input: z.object({
|
|
@@ -67,7 +67,7 @@ const getEvent = posthogOperation({
|
|
|
67
67
|
}
|
|
68
68
|
});
|
|
69
69
|
const getEventValues = posthogOperation({
|
|
70
|
-
id: "
|
|
70
|
+
id: "posthog.events-values",
|
|
71
71
|
name: "PostHog Event Property Values",
|
|
72
72
|
description: "Fetch distinct values for an event property",
|
|
73
73
|
input: z.object({
|
|
@@ -90,7 +90,7 @@ const getEventValues = posthogOperation({
|
|
|
90
90
|
}
|
|
91
91
|
});
|
|
92
92
|
const listEventDefinitions = posthogOperation({
|
|
93
|
-
id: "
|
|
93
|
+
id: "posthog.event-definitions-list",
|
|
94
94
|
name: "PostHog List Event Definitions",
|
|
95
95
|
description: "List event definitions (the schema for captured events)",
|
|
96
96
|
input: z.object({
|
|
@@ -115,7 +115,7 @@ const listEventDefinitions = posthogOperation({
|
|
|
115
115
|
}
|
|
116
116
|
});
|
|
117
117
|
const getEventDefinition = posthogOperation({
|
|
118
|
-
id: "
|
|
118
|
+
id: "posthog.event-definitions-get",
|
|
119
119
|
name: "PostHog Get Event Definition",
|
|
120
120
|
description: "Retrieve an event definition by id",
|
|
121
121
|
input: z.object(eventDefIdInput),
|
|
@@ -130,7 +130,7 @@ const getEventDefinition = posthogOperation({
|
|
|
130
130
|
}
|
|
131
131
|
});
|
|
132
132
|
const updateEventDefinition = posthogOperation({
|
|
133
|
-
id: "
|
|
133
|
+
id: "posthog.event-definitions-update",
|
|
134
134
|
name: "PostHog Update Event Definition",
|
|
135
135
|
description: "Update description, owner, tags, or verified status on an event definition",
|
|
136
136
|
input: z.object({
|
|
@@ -154,7 +154,7 @@ const updateEventDefinition = posthogOperation({
|
|
|
154
154
|
}
|
|
155
155
|
});
|
|
156
156
|
const deleteEventDefinition = posthogOperation({
|
|
157
|
-
id: "
|
|
157
|
+
id: "posthog.event-definitions-delete",
|
|
158
158
|
name: "PostHog Delete Event Definition",
|
|
159
159
|
description: "Delete an event definition",
|
|
160
160
|
input: z.object(eventDefIdInput),
|
|
@@ -171,7 +171,7 @@ const deleteEventDefinition = posthogOperation({
|
|
|
171
171
|
}
|
|
172
172
|
});
|
|
173
173
|
const listPropertyDefinitions = posthogOperation({
|
|
174
|
-
id: "
|
|
174
|
+
id: "posthog.property-definitions-list",
|
|
175
175
|
name: "PostHog List Property Definitions",
|
|
176
176
|
description: "List property definitions",
|
|
177
177
|
input: z.object({
|
|
@@ -200,7 +200,7 @@ const listPropertyDefinitions = posthogOperation({
|
|
|
200
200
|
}
|
|
201
201
|
});
|
|
202
202
|
const getPropertyDefinition = posthogOperation({
|
|
203
|
-
id: "
|
|
203
|
+
id: "posthog.property-definitions-get",
|
|
204
204
|
name: "PostHog Get Property Definition",
|
|
205
205
|
description: "Retrieve a property definition by id",
|
|
206
206
|
input: z.object(eventDefIdInput),
|
|
@@ -215,7 +215,7 @@ const getPropertyDefinition = posthogOperation({
|
|
|
215
215
|
}
|
|
216
216
|
});
|
|
217
217
|
const updatePropertyDefinition = posthogOperation({
|
|
218
|
-
id: "
|
|
218
|
+
id: "posthog.property-definitions-update",
|
|
219
219
|
name: "PostHog Update Property Definition",
|
|
220
220
|
description: "Update description, owner, tags, or verified status on a property definition",
|
|
221
221
|
input: z.object({
|
package/dist/feature-flags.mjs
CHANGED
|
@@ -37,7 +37,7 @@ const listInput = z.object({
|
|
|
37
37
|
});
|
|
38
38
|
const listOutput = paginatedResponseSchema(featureFlagSchema);
|
|
39
39
|
const listFeatureFlags = posthogOperation({
|
|
40
|
-
id: "
|
|
40
|
+
id: "posthog.feature-flags-list",
|
|
41
41
|
name: "PostHog List Feature Flags",
|
|
42
42
|
description: "List feature flags for a project",
|
|
43
43
|
input: listInput,
|
|
@@ -60,7 +60,7 @@ const listFeatureFlags = posthogOperation({
|
|
|
60
60
|
}
|
|
61
61
|
});
|
|
62
62
|
const getFeatureFlag = posthogOperation({
|
|
63
|
-
id: "
|
|
63
|
+
id: "posthog.feature-flags-get",
|
|
64
64
|
name: "PostHog Get Feature Flag",
|
|
65
65
|
description: "Retrieve a feature flag by numeric id",
|
|
66
66
|
input: z.object(idInput),
|
|
@@ -75,7 +75,7 @@ const getFeatureFlag = posthogOperation({
|
|
|
75
75
|
}
|
|
76
76
|
});
|
|
77
77
|
const createFeatureFlag = posthogOperation({
|
|
78
|
-
id: "
|
|
78
|
+
id: "posthog.feature-flags-create",
|
|
79
79
|
name: "PostHog Create Feature Flag",
|
|
80
80
|
description: "Create a new feature flag",
|
|
81
81
|
input: z.object({
|
|
@@ -96,7 +96,7 @@ const createFeatureFlag = posthogOperation({
|
|
|
96
96
|
}
|
|
97
97
|
});
|
|
98
98
|
const updateFeatureFlag = posthogOperation({
|
|
99
|
-
id: "
|
|
99
|
+
id: "posthog.feature-flags-update",
|
|
100
100
|
name: "PostHog Update Feature Flag",
|
|
101
101
|
description: "Partially update a feature flag",
|
|
102
102
|
input: z.object({
|
|
@@ -124,7 +124,7 @@ const updateFeatureFlag = posthogOperation({
|
|
|
124
124
|
}
|
|
125
125
|
});
|
|
126
126
|
const deleteFeatureFlag = posthogOperation({
|
|
127
|
-
id: "
|
|
127
|
+
id: "posthog.feature-flags-delete",
|
|
128
128
|
name: "PostHog Delete Feature Flag",
|
|
129
129
|
description: "Soft-delete a feature flag",
|
|
130
130
|
input: z.object(idInput),
|
|
@@ -141,7 +141,7 @@ const deleteFeatureFlag = posthogOperation({
|
|
|
141
141
|
}
|
|
142
142
|
});
|
|
143
143
|
const enableFeatureFlag = posthogOperation({
|
|
144
|
-
id: "
|
|
144
|
+
id: "posthog.feature-flags-enable",
|
|
145
145
|
name: "PostHog Enable Feature Flag",
|
|
146
146
|
description: "Activate a feature flag",
|
|
147
147
|
input: z.object(idInput),
|
|
@@ -158,7 +158,7 @@ const enableFeatureFlag = posthogOperation({
|
|
|
158
158
|
}
|
|
159
159
|
});
|
|
160
160
|
const disableFeatureFlag = posthogOperation({
|
|
161
|
-
id: "
|
|
161
|
+
id: "posthog.feature-flags-disable",
|
|
162
162
|
name: "PostHog Disable Feature Flag",
|
|
163
163
|
description: "Deactivate a feature flag",
|
|
164
164
|
input: z.object(idInput),
|
|
@@ -175,7 +175,7 @@ const disableFeatureFlag = posthogOperation({
|
|
|
175
175
|
}
|
|
176
176
|
});
|
|
177
177
|
const getFeatureFlagActivity = posthogOperation({
|
|
178
|
-
id: "
|
|
178
|
+
id: "posthog.feature-flags-activity",
|
|
179
179
|
name: "PostHog Feature Flag Activity",
|
|
180
180
|
description: "Fetch activity log for a feature flag",
|
|
181
181
|
input: z.object({
|
|
@@ -194,7 +194,7 @@ const getFeatureFlagActivity = posthogOperation({
|
|
|
194
194
|
}
|
|
195
195
|
});
|
|
196
196
|
const getMyFeatureFlags = posthogOperation({
|
|
197
|
-
id: "
|
|
197
|
+
id: "posthog.feature-flags-my-flags",
|
|
198
198
|
name: "PostHog My Feature Flags",
|
|
199
199
|
description: "Fetch the feature flags evaluated for the calling user",
|
|
200
200
|
input: z.object(projectIdInputShape),
|
|
@@ -209,7 +209,7 @@ const getMyFeatureFlags = posthogOperation({
|
|
|
209
209
|
}
|
|
210
210
|
});
|
|
211
211
|
const getFeatureFlagRoleAccess = posthogOperation({
|
|
212
|
-
id: "
|
|
212
|
+
id: "posthog.feature-flags-role-access-list",
|
|
213
213
|
name: "PostHog List Feature Flag Role Access",
|
|
214
214
|
description: "List role access rules for a feature flag",
|
|
215
215
|
input: z.object(idInput),
|
|
@@ -224,7 +224,7 @@ const getFeatureFlagRoleAccess = posthogOperation({
|
|
|
224
224
|
}
|
|
225
225
|
});
|
|
226
226
|
const createFeatureFlagRoleAccess = posthogOperation({
|
|
227
|
-
id: "
|
|
227
|
+
id: "posthog.feature-flags-role-access-create",
|
|
228
228
|
name: "PostHog Create Feature Flag Role Access",
|
|
229
229
|
description: "Grant a role access to a feature flag",
|
|
230
230
|
input: z.object({
|
|
@@ -244,7 +244,7 @@ const createFeatureFlagRoleAccess = posthogOperation({
|
|
|
244
244
|
}
|
|
245
245
|
});
|
|
246
246
|
const deleteFeatureFlagRoleAccess = posthogOperation({
|
|
247
|
-
id: "
|
|
247
|
+
id: "posthog.feature-flags-role-access-delete",
|
|
248
248
|
name: "PostHog Delete Feature Flag Role Access",
|
|
249
249
|
description: "Revoke a role access rule for a feature flag",
|
|
250
250
|
input: z.object({
|
|
@@ -264,7 +264,7 @@ const deleteFeatureFlagRoleAccess = posthogOperation({
|
|
|
264
264
|
}
|
|
265
265
|
});
|
|
266
266
|
const getFeatureFlagDashboards = posthogOperation({
|
|
267
|
-
id: "
|
|
267
|
+
id: "posthog.feature-flags-dashboards",
|
|
268
268
|
name: "PostHog Feature Flag Dashboards",
|
|
269
269
|
description: "Fetch dashboards linked to a feature flag",
|
|
270
270
|
input: z.object(idInput),
|
|
@@ -279,7 +279,7 @@ const getFeatureFlagDashboards = posthogOperation({
|
|
|
279
279
|
}
|
|
280
280
|
});
|
|
281
281
|
const getFeatureFlagRemoteConfig = posthogOperation({
|
|
282
|
-
id: "
|
|
282
|
+
id: "posthog.feature-flags-remote-config",
|
|
283
283
|
name: "PostHog Feature Flag Remote Config",
|
|
284
284
|
description: "Fetch the remote-config payload for a feature flag",
|
|
285
285
|
input: z.object({
|
|
@@ -298,7 +298,7 @@ const getFeatureFlagRemoteConfig = posthogOperation({
|
|
|
298
298
|
}
|
|
299
299
|
});
|
|
300
300
|
const getFeatureFlagStatus = posthogOperation({
|
|
301
|
-
id: "
|
|
301
|
+
id: "posthog.feature-flags-status",
|
|
302
302
|
name: "PostHog Feature Flag Status",
|
|
303
303
|
description: "Fetch computed status summary for a feature flag",
|
|
304
304
|
input: z.object(idInput),
|
package/dist/insights.mjs
CHANGED
|
@@ -27,7 +27,7 @@ const writeShape = {
|
|
|
27
27
|
deleted: z.boolean().optional()
|
|
28
28
|
};
|
|
29
29
|
const listInsights = posthogOperation({
|
|
30
|
-
id: "
|
|
30
|
+
id: "posthog.insights-list",
|
|
31
31
|
name: "PostHog List Insights",
|
|
32
32
|
description: "List insights in a project",
|
|
33
33
|
input: z.object({
|
|
@@ -60,7 +60,7 @@ const listInsights = posthogOperation({
|
|
|
60
60
|
}
|
|
61
61
|
});
|
|
62
62
|
const getInsight = posthogOperation({
|
|
63
|
-
id: "
|
|
63
|
+
id: "posthog.insights-get",
|
|
64
64
|
name: "PostHog Get Insight",
|
|
65
65
|
description: "Retrieve a single insight by id",
|
|
66
66
|
input: z.object(idInput),
|
|
@@ -75,7 +75,7 @@ const getInsight = posthogOperation({
|
|
|
75
75
|
}
|
|
76
76
|
});
|
|
77
77
|
const createInsight = posthogOperation({
|
|
78
|
-
id: "
|
|
78
|
+
id: "posthog.insights-create",
|
|
79
79
|
name: "PostHog Create Insight",
|
|
80
80
|
description: "Create a new insight",
|
|
81
81
|
input: z.object({
|
|
@@ -96,7 +96,7 @@ const createInsight = posthogOperation({
|
|
|
96
96
|
}
|
|
97
97
|
});
|
|
98
98
|
const updateInsight = posthogOperation({
|
|
99
|
-
id: "
|
|
99
|
+
id: "posthog.insights-update",
|
|
100
100
|
name: "PostHog Update Insight",
|
|
101
101
|
description: "Partial update to an insight",
|
|
102
102
|
input: z.object({
|
|
@@ -117,7 +117,7 @@ const updateInsight = posthogOperation({
|
|
|
117
117
|
}
|
|
118
118
|
});
|
|
119
119
|
const deleteInsight = posthogOperation({
|
|
120
|
-
id: "
|
|
120
|
+
id: "posthog.insights-delete",
|
|
121
121
|
name: "PostHog Delete Insight",
|
|
122
122
|
description: "Soft-delete an insight",
|
|
123
123
|
input: z.object(idInput),
|
|
@@ -134,7 +134,7 @@ const deleteInsight = posthogOperation({
|
|
|
134
134
|
}
|
|
135
135
|
});
|
|
136
136
|
const getInsightActivity = posthogOperation({
|
|
137
|
-
id: "
|
|
137
|
+
id: "posthog.insights-activity",
|
|
138
138
|
name: "PostHog Insight Activity",
|
|
139
139
|
description: "Fetch activity log for an insight",
|
|
140
140
|
input: z.object({
|
|
@@ -153,7 +153,7 @@ const getInsightActivity = posthogOperation({
|
|
|
153
153
|
}
|
|
154
154
|
});
|
|
155
155
|
const getInsightsActivityFeed = posthogOperation({
|
|
156
|
-
id: "
|
|
156
|
+
id: "posthog.insights-activity-feed",
|
|
157
157
|
name: "PostHog Insights Activity Feed",
|
|
158
158
|
description: "Fetch the project-wide insights activity feed",
|
|
159
159
|
input: z.object({
|
|
@@ -172,7 +172,7 @@ const getInsightsActivityFeed = posthogOperation({
|
|
|
172
172
|
}
|
|
173
173
|
});
|
|
174
174
|
const getInsightSharing = posthogOperation({
|
|
175
|
-
id: "
|
|
175
|
+
id: "posthog.insights-sharing-get",
|
|
176
176
|
name: "PostHog Get Insight Sharing",
|
|
177
177
|
description: "Fetch sharing configuration for an insight",
|
|
178
178
|
input: z.object(idInput),
|
|
@@ -187,7 +187,7 @@ const getInsightSharing = posthogOperation({
|
|
|
187
187
|
}
|
|
188
188
|
});
|
|
189
189
|
const updateInsightSharing = posthogOperation({
|
|
190
|
-
id: "
|
|
190
|
+
id: "posthog.insights-sharing-update",
|
|
191
191
|
name: "PostHog Update Insight Sharing",
|
|
192
192
|
description: "Enable or disable sharing for an insight",
|
|
193
193
|
input: z.object({
|
|
@@ -207,7 +207,7 @@ const updateInsightSharing = posthogOperation({
|
|
|
207
207
|
}
|
|
208
208
|
});
|
|
209
209
|
const getMyInsights = posthogOperation({
|
|
210
|
-
id: "
|
|
210
|
+
id: "posthog.insights-my-insights",
|
|
211
211
|
name: "PostHog My Insights",
|
|
212
212
|
description: "Fetch insights owned by the calling user",
|
|
213
213
|
input: z.object({
|
|
@@ -226,7 +226,7 @@ const getMyInsights = posthogOperation({
|
|
|
226
226
|
}
|
|
227
227
|
});
|
|
228
228
|
const markInsightViewed = posthogOperation({
|
|
229
|
-
id: "
|
|
229
|
+
id: "posthog.insights-viewed",
|
|
230
230
|
name: "PostHog Mark Insight Viewed",
|
|
231
231
|
description: "Record that the calling user viewed an insight",
|
|
232
232
|
input: z.object(idInput),
|
|
@@ -243,7 +243,7 @@ const markInsightViewed = posthogOperation({
|
|
|
243
243
|
}
|
|
244
244
|
});
|
|
245
245
|
const executeInsightQuery = posthogOperation({
|
|
246
|
-
id: "
|
|
246
|
+
id: "posthog.insights-trend",
|
|
247
247
|
name: "PostHog Execute Insight Query",
|
|
248
248
|
description: "Execute an ad-hoc trend/funnel/retention/etc. query",
|
|
249
249
|
input: z.object({
|
|
@@ -266,7 +266,7 @@ const executeInsightQuery = posthogOperation({
|
|
|
266
266
|
}
|
|
267
267
|
});
|
|
268
268
|
const getInsightRetention = posthogOperation({
|
|
269
|
-
id: "
|
|
269
|
+
id: "posthog.insights-retention",
|
|
270
270
|
name: "PostHog Insight Retention",
|
|
271
271
|
description: "Fetch retention report for an insight/query combination",
|
|
272
272
|
input: z.object({
|
|
@@ -285,7 +285,7 @@ const getInsightRetention = posthogOperation({
|
|
|
285
285
|
}
|
|
286
286
|
});
|
|
287
287
|
const getInsightFunnel = posthogOperation({
|
|
288
|
-
id: "
|
|
288
|
+
id: "posthog.insights-funnel",
|
|
289
289
|
name: "PostHog Insight Funnel",
|
|
290
290
|
description: "Execute a funnel query",
|
|
291
291
|
input: z.object({
|
|
@@ -304,7 +304,7 @@ const getInsightFunnel = posthogOperation({
|
|
|
304
304
|
}
|
|
305
305
|
});
|
|
306
306
|
const getInsightPath = posthogOperation({
|
|
307
|
-
id: "
|
|
307
|
+
id: "posthog.insights-path",
|
|
308
308
|
name: "PostHog Insight Path",
|
|
309
309
|
description: "Execute a user-path query",
|
|
310
310
|
input: z.object({
|
|
@@ -323,7 +323,7 @@ const getInsightPath = posthogOperation({
|
|
|
323
323
|
}
|
|
324
324
|
});
|
|
325
325
|
const getInsightTrend = posthogOperation({
|
|
326
|
-
id: "
|
|
326
|
+
id: "posthog.insights-trend-chart",
|
|
327
327
|
name: "PostHog Insight Trend",
|
|
328
328
|
description: "Execute a trend query",
|
|
329
329
|
input: z.object({
|
package/dist/organizations.mjs
CHANGED
|
@@ -13,7 +13,7 @@ import { z } from "zod";
|
|
|
13
13
|
*/
|
|
14
14
|
const orgInput = { organizationId: z.string().min(1) };
|
|
15
15
|
const listOrganizations = posthogOperation({
|
|
16
|
-
id: "
|
|
16
|
+
id: "posthog.organizations-list",
|
|
17
17
|
name: "PostHog List Organizations",
|
|
18
18
|
description: "List organizations the personal API key can access",
|
|
19
19
|
input: z.object({
|
|
@@ -33,7 +33,7 @@ const listOrganizations = posthogOperation({
|
|
|
33
33
|
}
|
|
34
34
|
});
|
|
35
35
|
const getOrganization = posthogOperation({
|
|
36
|
-
id: "
|
|
36
|
+
id: "posthog.organizations-get",
|
|
37
37
|
name: "PostHog Get Organization",
|
|
38
38
|
description: "Retrieve an organization by id",
|
|
39
39
|
input: z.object(orgInput),
|
|
@@ -46,7 +46,7 @@ const getOrganization = posthogOperation({
|
|
|
46
46
|
}
|
|
47
47
|
});
|
|
48
48
|
const createOrganization = posthogOperation({
|
|
49
|
-
id: "
|
|
49
|
+
id: "posthog.organizations-create",
|
|
50
50
|
name: "PostHog Create Organization",
|
|
51
51
|
description: "Create a new organization",
|
|
52
52
|
input: z.object({
|
|
@@ -64,7 +64,7 @@ const createOrganization = posthogOperation({
|
|
|
64
64
|
}
|
|
65
65
|
});
|
|
66
66
|
const updateOrganization = posthogOperation({
|
|
67
|
-
id: "
|
|
67
|
+
id: "posthog.organizations-update",
|
|
68
68
|
name: "PostHog Update Organization",
|
|
69
69
|
description: "Partial update to an organization",
|
|
70
70
|
input: z.object({
|
|
@@ -85,7 +85,7 @@ const updateOrganization = posthogOperation({
|
|
|
85
85
|
}
|
|
86
86
|
});
|
|
87
87
|
const deleteOrganization = posthogOperation({
|
|
88
|
-
id: "
|
|
88
|
+
id: "posthog.organizations-delete",
|
|
89
89
|
name: "PostHog Delete Organization",
|
|
90
90
|
description: "Delete an organization",
|
|
91
91
|
input: z.object(orgInput),
|
|
@@ -100,7 +100,7 @@ const deleteOrganization = posthogOperation({
|
|
|
100
100
|
}
|
|
101
101
|
});
|
|
102
102
|
const listOrganizationMembers = posthogOperation({
|
|
103
|
-
id: "
|
|
103
|
+
id: "posthog.organization-members-list",
|
|
104
104
|
name: "PostHog List Organization Members",
|
|
105
105
|
description: "List members of an organization",
|
|
106
106
|
input: z.object({
|
|
@@ -121,7 +121,7 @@ const listOrganizationMembers = posthogOperation({
|
|
|
121
121
|
}
|
|
122
122
|
});
|
|
123
123
|
const updateOrganizationMember = posthogOperation({
|
|
124
|
-
id: "
|
|
124
|
+
id: "posthog.organization-members-update",
|
|
125
125
|
name: "PostHog Update Organization Member",
|
|
126
126
|
description: "Update an organization member's role",
|
|
127
127
|
input: z.object({
|
|
@@ -140,7 +140,7 @@ const updateOrganizationMember = posthogOperation({
|
|
|
140
140
|
}
|
|
141
141
|
});
|
|
142
142
|
const removeOrganizationMember = posthogOperation({
|
|
143
|
-
id: "
|
|
143
|
+
id: "posthog.organization-members-remove",
|
|
144
144
|
name: "PostHog Remove Organization Member",
|
|
145
145
|
description: "Remove a user from an organization",
|
|
146
146
|
input: z.object({
|
|
@@ -158,7 +158,7 @@ const removeOrganizationMember = posthogOperation({
|
|
|
158
158
|
}
|
|
159
159
|
});
|
|
160
160
|
const listOrganizationInvites = posthogOperation({
|
|
161
|
-
id: "
|
|
161
|
+
id: "posthog.organization-invites-list",
|
|
162
162
|
name: "PostHog List Organization Invites",
|
|
163
163
|
description: "List outstanding invites for an organization",
|
|
164
164
|
input: z.object({
|
|
@@ -175,7 +175,7 @@ const listOrganizationInvites = posthogOperation({
|
|
|
175
175
|
}
|
|
176
176
|
});
|
|
177
177
|
const createOrganizationInvite = posthogOperation({
|
|
178
|
-
id: "
|
|
178
|
+
id: "posthog.organization-invites-create",
|
|
179
179
|
name: "PostHog Create Organization Invite",
|
|
180
180
|
description: "Invite a user to an organization",
|
|
181
181
|
input: z.object({
|
|
@@ -197,7 +197,7 @@ const createOrganizationInvite = posthogOperation({
|
|
|
197
197
|
}
|
|
198
198
|
});
|
|
199
199
|
const deleteOrganizationInvite = posthogOperation({
|
|
200
|
-
id: "
|
|
200
|
+
id: "posthog.organization-invites-delete",
|
|
201
201
|
name: "PostHog Delete Organization Invite",
|
|
202
202
|
description: "Revoke an organization invite",
|
|
203
203
|
input: z.object({
|
package/dist/persons.mjs
CHANGED
|
@@ -18,7 +18,7 @@ const idInput = {
|
|
|
18
18
|
};
|
|
19
19
|
const listSchema = paginatedResponseSchema(personSchema);
|
|
20
20
|
const listPersons = posthogOperation({
|
|
21
|
-
id: "
|
|
21
|
+
id: "posthog.persons-list",
|
|
22
22
|
name: "PostHog List Persons",
|
|
23
23
|
description: "List persons with optional search, email, or distinct-id filters",
|
|
24
24
|
input: z.object({
|
|
@@ -49,7 +49,7 @@ const listPersons = posthogOperation({
|
|
|
49
49
|
}
|
|
50
50
|
});
|
|
51
51
|
const getPerson = posthogOperation({
|
|
52
|
-
id: "
|
|
52
|
+
id: "posthog.persons-get",
|
|
53
53
|
name: "PostHog Get Person",
|
|
54
54
|
description: "Retrieve a single person by id",
|
|
55
55
|
input: z.object(idInput),
|
|
@@ -64,7 +64,7 @@ const getPerson = posthogOperation({
|
|
|
64
64
|
}
|
|
65
65
|
});
|
|
66
66
|
const updatePerson = posthogOperation({
|
|
67
|
-
id: "
|
|
67
|
+
id: "posthog.persons-update",
|
|
68
68
|
name: "PostHog Update Person",
|
|
69
69
|
description: "Update a person (partial update)",
|
|
70
70
|
input: z.object({
|
|
@@ -86,7 +86,7 @@ const updatePerson = posthogOperation({
|
|
|
86
86
|
}
|
|
87
87
|
});
|
|
88
88
|
const deletePerson = posthogOperation({
|
|
89
|
-
id: "
|
|
89
|
+
id: "posthog.persons-delete",
|
|
90
90
|
name: "PostHog Delete Person",
|
|
91
91
|
description: "Delete a person and optionally their associated events",
|
|
92
92
|
input: z.object({
|
|
@@ -107,7 +107,7 @@ const deletePerson = posthogOperation({
|
|
|
107
107
|
}
|
|
108
108
|
});
|
|
109
109
|
const mergePersons = posthogOperation({
|
|
110
|
-
id: "
|
|
110
|
+
id: "posthog.persons-merge",
|
|
111
111
|
name: "PostHog Merge Persons",
|
|
112
112
|
description: "Merge two persons together (destination receives events from source)",
|
|
113
113
|
input: z.object({
|
|
@@ -127,7 +127,7 @@ const mergePersons = posthogOperation({
|
|
|
127
127
|
}
|
|
128
128
|
});
|
|
129
129
|
const splitPerson = posthogOperation({
|
|
130
|
-
id: "
|
|
130
|
+
id: "posthog.persons-split",
|
|
131
131
|
name: "PostHog Split Person",
|
|
132
132
|
description: "Split a person by separating their distinct_ids",
|
|
133
133
|
input: z.object({
|
|
@@ -148,7 +148,7 @@ const splitPerson = posthogOperation({
|
|
|
148
148
|
}
|
|
149
149
|
});
|
|
150
150
|
const updatePersonProperty = posthogOperation({
|
|
151
|
-
id: "
|
|
151
|
+
id: "posthog.persons-update-property",
|
|
152
152
|
name: "PostHog Update Person Property",
|
|
153
153
|
description: "Set a single property on a person",
|
|
154
154
|
input: z.object({
|
|
@@ -172,7 +172,7 @@ const updatePersonProperty = posthogOperation({
|
|
|
172
172
|
}
|
|
173
173
|
});
|
|
174
174
|
const deletePersonProperty = posthogOperation({
|
|
175
|
-
id: "
|
|
175
|
+
id: "posthog.persons-delete-property",
|
|
176
176
|
name: "PostHog Delete Person Property",
|
|
177
177
|
description: "Remove a single property from a person",
|
|
178
178
|
input: z.object({
|
|
@@ -193,7 +193,7 @@ const deletePersonProperty = posthogOperation({
|
|
|
193
193
|
}
|
|
194
194
|
});
|
|
195
195
|
const getPersonActivity = posthogOperation({
|
|
196
|
-
id: "
|
|
196
|
+
id: "posthog.persons-activity",
|
|
197
197
|
name: "PostHog Person Activity",
|
|
198
198
|
description: "Fetch recent activity for a person",
|
|
199
199
|
input: z.object({
|
|
@@ -212,7 +212,7 @@ const getPersonActivity = posthogOperation({
|
|
|
212
212
|
}
|
|
213
213
|
});
|
|
214
214
|
const getPersonsActivityFeed = posthogOperation({
|
|
215
|
-
id: "
|
|
215
|
+
id: "posthog.persons-activity-feed",
|
|
216
216
|
name: "PostHog Persons Activity Feed",
|
|
217
217
|
description: "Fetch the project-wide persons activity feed",
|
|
218
218
|
input: z.object({
|
|
@@ -231,7 +231,7 @@ const getPersonsActivityFeed = posthogOperation({
|
|
|
231
231
|
}
|
|
232
232
|
});
|
|
233
233
|
const getPersonsValues = posthogOperation({
|
|
234
|
-
id: "
|
|
234
|
+
id: "posthog.persons-values",
|
|
235
235
|
name: "PostHog Person Property Values",
|
|
236
236
|
description: "Fetch distinct values for a person property",
|
|
237
237
|
input: z.object({
|
|
@@ -254,7 +254,7 @@ const getPersonsValues = posthogOperation({
|
|
|
254
254
|
}
|
|
255
255
|
});
|
|
256
256
|
const getPersonsFunnel = posthogOperation({
|
|
257
|
-
id: "
|
|
257
|
+
id: "posthog.persons-funnel",
|
|
258
258
|
name: "PostHog Persons Funnel",
|
|
259
259
|
description: "Fetch persons dropping through a funnel",
|
|
260
260
|
input: z.object({
|
|
@@ -279,7 +279,7 @@ const getPersonsFunnel = posthogOperation({
|
|
|
279
279
|
}
|
|
280
280
|
});
|
|
281
281
|
const getPersonsTrends = posthogOperation({
|
|
282
|
-
id: "
|
|
282
|
+
id: "posthog.persons-trends",
|
|
283
283
|
name: "PostHog Persons Trends",
|
|
284
284
|
description: "Fetch persons matching a trend query",
|
|
285
285
|
input: z.object({
|
|
@@ -304,7 +304,7 @@ const getPersonsTrends = posthogOperation({
|
|
|
304
304
|
}
|
|
305
305
|
});
|
|
306
306
|
const getPersonsLifecycle = posthogOperation({
|
|
307
|
-
id: "
|
|
307
|
+
id: "posthog.persons-lifecycle",
|
|
308
308
|
name: "PostHog Persons Lifecycle",
|
|
309
309
|
description: "Fetch persons matching a lifecycle query",
|
|
310
310
|
input: z.object({
|
|
@@ -325,7 +325,7 @@ const getPersonsLifecycle = posthogOperation({
|
|
|
325
325
|
}
|
|
326
326
|
});
|
|
327
327
|
const resetPersonName = posthogOperation({
|
|
328
|
-
id: "
|
|
328
|
+
id: "posthog.persons-reset-name",
|
|
329
329
|
name: "PostHog Reset Person Name",
|
|
330
330
|
description: "Reset a person displayed-name override",
|
|
331
331
|
input: z.object(idInput),
|
package/dist/projects.mjs
CHANGED
|
@@ -30,7 +30,7 @@ const writeShape = {
|
|
|
30
30
|
autocapture_opt_out: z.boolean().optional()
|
|
31
31
|
};
|
|
32
32
|
const listProjects = posthogOperation({
|
|
33
|
-
id: "
|
|
33
|
+
id: "posthog.projects-list",
|
|
34
34
|
name: "PostHog List Projects",
|
|
35
35
|
description: "List projects in an organization",
|
|
36
36
|
input: z.object({
|
|
@@ -51,7 +51,7 @@ const listProjects = posthogOperation({
|
|
|
51
51
|
}
|
|
52
52
|
});
|
|
53
53
|
const getProject = posthogOperation({
|
|
54
|
-
id: "
|
|
54
|
+
id: "posthog.projects-get",
|
|
55
55
|
name: "PostHog Get Project",
|
|
56
56
|
description: "Retrieve a project by id",
|
|
57
57
|
input: z.object(projectIdInput),
|
|
@@ -66,7 +66,7 @@ const getProject = posthogOperation({
|
|
|
66
66
|
}
|
|
67
67
|
});
|
|
68
68
|
const createProject = posthogOperation({
|
|
69
|
-
id: "
|
|
69
|
+
id: "posthog.projects-create",
|
|
70
70
|
name: "PostHog Create Project",
|
|
71
71
|
description: "Create a new project in an organization",
|
|
72
72
|
input: z.object({
|
|
@@ -87,7 +87,7 @@ const createProject = posthogOperation({
|
|
|
87
87
|
}
|
|
88
88
|
});
|
|
89
89
|
const updateProject = posthogOperation({
|
|
90
|
-
id: "
|
|
90
|
+
id: "posthog.projects-update",
|
|
91
91
|
name: "PostHog Update Project",
|
|
92
92
|
description: "Partial update to a project",
|
|
93
93
|
input: z.object({
|
|
@@ -108,7 +108,7 @@ const updateProject = posthogOperation({
|
|
|
108
108
|
}
|
|
109
109
|
});
|
|
110
110
|
const deleteProject = posthogOperation({
|
|
111
|
-
id: "
|
|
111
|
+
id: "posthog.projects-delete",
|
|
112
112
|
name: "PostHog Delete Project",
|
|
113
113
|
description: "Delete a project",
|
|
114
114
|
input: z.object(projectIdInput),
|
|
@@ -125,7 +125,7 @@ const deleteProject = posthogOperation({
|
|
|
125
125
|
}
|
|
126
126
|
});
|
|
127
127
|
const rotateProjectApiKey = posthogOperation({
|
|
128
|
-
id: "
|
|
128
|
+
id: "posthog.projects-reset-token",
|
|
129
129
|
name: "PostHog Rotate Project API Key",
|
|
130
130
|
description: "Reset (rotate) the project API token",
|
|
131
131
|
input: z.object(projectIdInput),
|
|
@@ -141,7 +141,7 @@ const rotateProjectApiKey = posthogOperation({
|
|
|
141
141
|
}
|
|
142
142
|
});
|
|
143
143
|
const getProjectActivity = posthogOperation({
|
|
144
|
-
id: "
|
|
144
|
+
id: "posthog.projects-activity",
|
|
145
145
|
name: "PostHog Project Activity",
|
|
146
146
|
description: "Fetch the project-level activity feed",
|
|
147
147
|
input: z.object({
|
|
@@ -160,7 +160,7 @@ const getProjectActivity = posthogOperation({
|
|
|
160
160
|
}
|
|
161
161
|
});
|
|
162
162
|
const getProjectIsGeneric = posthogOperation({
|
|
163
|
-
id: "
|
|
163
|
+
id: "posthog.projects-is-generic-email-provider",
|
|
164
164
|
name: "PostHog Check Generic Email",
|
|
165
165
|
description: "Check if an email domain is a generic provider",
|
|
166
166
|
input: z.object({
|
|
@@ -179,7 +179,7 @@ const getProjectIsGeneric = posthogOperation({
|
|
|
179
179
|
}
|
|
180
180
|
});
|
|
181
181
|
const addUserIntegration = posthogOperation({
|
|
182
|
-
id: "
|
|
182
|
+
id: "posthog.projects-add-user-integration",
|
|
183
183
|
name: "PostHog Add Project User Integration",
|
|
184
184
|
description: "Attach arbitrary user-integration properties to a project",
|
|
185
185
|
input: z.object({
|
|
@@ -199,7 +199,7 @@ const addUserIntegration = posthogOperation({
|
|
|
199
199
|
}
|
|
200
200
|
});
|
|
201
201
|
const listProjectMembers = posthogOperation({
|
|
202
|
-
id: "
|
|
202
|
+
id: "posthog.project-members-list",
|
|
203
203
|
name: "PostHog List Project Members",
|
|
204
204
|
description: "List members of a project",
|
|
205
205
|
input: z.object({
|
|
@@ -222,7 +222,7 @@ const listProjectMembers = posthogOperation({
|
|
|
222
222
|
}
|
|
223
223
|
});
|
|
224
224
|
const addProjectMember = posthogOperation({
|
|
225
|
-
id: "
|
|
225
|
+
id: "posthog.project-members-add",
|
|
226
226
|
name: "PostHog Add Project Member",
|
|
227
227
|
description: "Add a user to a project with a given access level",
|
|
228
228
|
input: z.object({
|
|
@@ -246,7 +246,7 @@ const addProjectMember = posthogOperation({
|
|
|
246
246
|
}
|
|
247
247
|
});
|
|
248
248
|
const updateProjectMember = posthogOperation({
|
|
249
|
-
id: "
|
|
249
|
+
id: "posthog.project-members-update",
|
|
250
250
|
name: "PostHog Update Project Member",
|
|
251
251
|
description: "Update a project member's access level",
|
|
252
252
|
input: z.object({
|
|
@@ -266,7 +266,7 @@ const updateProjectMember = posthogOperation({
|
|
|
266
266
|
}
|
|
267
267
|
});
|
|
268
268
|
const removeProjectMember = posthogOperation({
|
|
269
|
-
id: "
|
|
269
|
+
id: "posthog.project-members-remove",
|
|
270
270
|
name: "PostHog Remove Project Member",
|
|
271
271
|
description: "Remove a user from a project",
|
|
272
272
|
input: z.object(memberIdInput),
|
|
@@ -17,7 +17,7 @@ const idInput = {
|
|
|
17
17
|
id: z.string().min(1)
|
|
18
18
|
};
|
|
19
19
|
const listSessionRecordings = posthogOperation({
|
|
20
|
-
id: "
|
|
20
|
+
id: "posthog.session-recordings-list",
|
|
21
21
|
name: "PostHog List Session Recordings",
|
|
22
22
|
description: "List session recordings, optionally filtered",
|
|
23
23
|
input: z.object({
|
|
@@ -48,7 +48,7 @@ const listSessionRecordings = posthogOperation({
|
|
|
48
48
|
}
|
|
49
49
|
});
|
|
50
50
|
const getSessionRecording = posthogOperation({
|
|
51
|
-
id: "
|
|
51
|
+
id: "posthog.session-recordings-get",
|
|
52
52
|
name: "PostHog Get Session Recording",
|
|
53
53
|
description: "Retrieve a session recording by id",
|
|
54
54
|
input: z.object(idInput),
|
|
@@ -63,7 +63,7 @@ const getSessionRecording = posthogOperation({
|
|
|
63
63
|
}
|
|
64
64
|
});
|
|
65
65
|
const updateSessionRecording = posthogOperation({
|
|
66
|
-
id: "
|
|
66
|
+
id: "posthog.session-recordings-update",
|
|
67
67
|
name: "PostHog Update Session Recording",
|
|
68
68
|
description: "Mark a session recording as viewed or update summary metadata",
|
|
69
69
|
input: z.object({
|
|
@@ -87,7 +87,7 @@ const updateSessionRecording = posthogOperation({
|
|
|
87
87
|
}
|
|
88
88
|
});
|
|
89
89
|
const deleteSessionRecording = posthogOperation({
|
|
90
|
-
id: "
|
|
90
|
+
id: "posthog.session-recordings-delete",
|
|
91
91
|
name: "PostHog Delete Session Recording",
|
|
92
92
|
description: "Delete a session recording",
|
|
93
93
|
input: z.object(idInput),
|
|
@@ -104,7 +104,7 @@ const deleteSessionRecording = posthogOperation({
|
|
|
104
104
|
}
|
|
105
105
|
});
|
|
106
106
|
const getSessionRecordingSnapshots = posthogOperation({
|
|
107
|
-
id: "
|
|
107
|
+
id: "posthog.session-recordings-snapshots",
|
|
108
108
|
name: "PostHog Session Recording Snapshots",
|
|
109
109
|
description: "Fetch rrweb snapshot urls for a session recording",
|
|
110
110
|
input: z.object({
|
|
@@ -123,7 +123,7 @@ const getSessionRecordingSnapshots = posthogOperation({
|
|
|
123
123
|
}
|
|
124
124
|
});
|
|
125
125
|
const getSessionRecordingProperties = posthogOperation({
|
|
126
|
-
id: "
|
|
126
|
+
id: "posthog.session-recordings-properties",
|
|
127
127
|
name: "PostHog Session Recording Properties",
|
|
128
128
|
description: "Fetch aggregated properties for a session recording",
|
|
129
129
|
input: z.object(idInput),
|
|
@@ -142,7 +142,7 @@ const playlistIdInput = {
|
|
|
142
142
|
playlistId: z.union([z.string(), z.number().int()])
|
|
143
143
|
};
|
|
144
144
|
const listPlaylists = posthogOperation({
|
|
145
|
-
id: "
|
|
145
|
+
id: "posthog.session-recording-playlists-list",
|
|
146
146
|
name: "PostHog List Replay Playlists",
|
|
147
147
|
description: "List session replay playlists",
|
|
148
148
|
input: z.object({
|
|
@@ -165,7 +165,7 @@ const listPlaylists = posthogOperation({
|
|
|
165
165
|
}
|
|
166
166
|
});
|
|
167
167
|
const getPlaylist = posthogOperation({
|
|
168
|
-
id: "
|
|
168
|
+
id: "posthog.session-recording-playlists-get",
|
|
169
169
|
name: "PostHog Get Replay Playlist",
|
|
170
170
|
description: "Retrieve a session replay playlist by id",
|
|
171
171
|
input: z.object(playlistIdInput),
|
|
@@ -180,7 +180,7 @@ const getPlaylist = posthogOperation({
|
|
|
180
180
|
}
|
|
181
181
|
});
|
|
182
182
|
const createPlaylist = posthogOperation({
|
|
183
|
-
id: "
|
|
183
|
+
id: "posthog.session-recording-playlists-create",
|
|
184
184
|
name: "PostHog Create Replay Playlist",
|
|
185
185
|
description: "Create a new session replay playlist",
|
|
186
186
|
input: z.object({
|
|
@@ -204,7 +204,7 @@ const createPlaylist = posthogOperation({
|
|
|
204
204
|
}
|
|
205
205
|
});
|
|
206
206
|
const updatePlaylist = posthogOperation({
|
|
207
|
-
id: "
|
|
207
|
+
id: "posthog.session-recording-playlists-update",
|
|
208
208
|
name: "PostHog Update Replay Playlist",
|
|
209
209
|
description: "Partial update to a session replay playlist",
|
|
210
210
|
input: z.object({
|
|
@@ -229,7 +229,7 @@ const updatePlaylist = posthogOperation({
|
|
|
229
229
|
}
|
|
230
230
|
});
|
|
231
231
|
const deletePlaylist = posthogOperation({
|
|
232
|
-
id: "
|
|
232
|
+
id: "posthog.session-recording-playlists-delete",
|
|
233
233
|
name: "PostHog Delete Replay Playlist",
|
|
234
234
|
description: "Delete a session replay playlist",
|
|
235
235
|
input: z.object(playlistIdInput),
|
|
@@ -246,7 +246,7 @@ const deletePlaylist = posthogOperation({
|
|
|
246
246
|
}
|
|
247
247
|
});
|
|
248
248
|
const listPlaylistRecordings = posthogOperation({
|
|
249
|
-
id: "
|
|
249
|
+
id: "posthog.session-recording-playlists-recordings-list",
|
|
250
250
|
name: "PostHog List Playlist Recordings",
|
|
251
251
|
description: "List recordings in a session replay playlist",
|
|
252
252
|
input: z.object({
|
|
@@ -265,7 +265,7 @@ const listPlaylistRecordings = posthogOperation({
|
|
|
265
265
|
}
|
|
266
266
|
});
|
|
267
267
|
const addRecordingToPlaylist = posthogOperation({
|
|
268
|
-
id: "
|
|
268
|
+
id: "posthog.session-recording-playlists-add-recording",
|
|
269
269
|
name: "PostHog Add Recording To Playlist",
|
|
270
270
|
description: "Add a recording to a session replay playlist",
|
|
271
271
|
input: z.object({
|
|
@@ -284,7 +284,7 @@ const addRecordingToPlaylist = posthogOperation({
|
|
|
284
284
|
}
|
|
285
285
|
});
|
|
286
286
|
const removeRecordingFromPlaylist = posthogOperation({
|
|
287
|
-
id: "
|
|
287
|
+
id: "posthog.session-recording-playlists-remove-recording",
|
|
288
288
|
name: "PostHog Remove Recording From Playlist",
|
|
289
289
|
description: "Remove a recording from a session replay playlist",
|
|
290
290
|
input: z.object({
|
package/dist/surveys.mjs
CHANGED
|
@@ -36,7 +36,7 @@ const writeShape = {
|
|
|
36
36
|
archived: z.boolean().optional()
|
|
37
37
|
};
|
|
38
38
|
const listSurveys = posthogOperation({
|
|
39
|
-
id: "
|
|
39
|
+
id: "posthog.surveys-list",
|
|
40
40
|
name: "PostHog List Surveys",
|
|
41
41
|
description: "List surveys in a project",
|
|
42
42
|
input: z.object({
|
|
@@ -61,7 +61,7 @@ const listSurveys = posthogOperation({
|
|
|
61
61
|
}
|
|
62
62
|
});
|
|
63
63
|
const getSurvey = posthogOperation({
|
|
64
|
-
id: "
|
|
64
|
+
id: "posthog.surveys-get",
|
|
65
65
|
name: "PostHog Get Survey",
|
|
66
66
|
description: "Retrieve a survey by id",
|
|
67
67
|
input: z.object(idInput),
|
|
@@ -76,7 +76,7 @@ const getSurvey = posthogOperation({
|
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
78
|
const createSurvey = posthogOperation({
|
|
79
|
-
id: "
|
|
79
|
+
id: "posthog.surveys-create",
|
|
80
80
|
name: "PostHog Create Survey",
|
|
81
81
|
description: "Create a new survey",
|
|
82
82
|
input: z.object({
|
|
@@ -98,7 +98,7 @@ const createSurvey = posthogOperation({
|
|
|
98
98
|
}
|
|
99
99
|
});
|
|
100
100
|
const updateSurvey = posthogOperation({
|
|
101
|
-
id: "
|
|
101
|
+
id: "posthog.surveys-update",
|
|
102
102
|
name: "PostHog Update Survey",
|
|
103
103
|
description: "Partial update to a survey",
|
|
104
104
|
input: z.object({
|
|
@@ -119,7 +119,7 @@ const updateSurvey = posthogOperation({
|
|
|
119
119
|
}
|
|
120
120
|
});
|
|
121
121
|
const deleteSurvey = posthogOperation({
|
|
122
|
-
id: "
|
|
122
|
+
id: "posthog.surveys-delete",
|
|
123
123
|
name: "PostHog Delete Survey",
|
|
124
124
|
description: "Delete (archive) a survey",
|
|
125
125
|
input: z.object(idInput),
|
|
@@ -136,7 +136,7 @@ const deleteSurvey = posthogOperation({
|
|
|
136
136
|
}
|
|
137
137
|
});
|
|
138
138
|
const getSurveyActivity = posthogOperation({
|
|
139
|
-
id: "
|
|
139
|
+
id: "posthog.surveys-activity",
|
|
140
140
|
name: "PostHog Survey Activity",
|
|
141
141
|
description: "Fetch activity log for a survey",
|
|
142
142
|
input: z.object({
|
|
@@ -155,7 +155,7 @@ const getSurveyActivity = posthogOperation({
|
|
|
155
155
|
}
|
|
156
156
|
});
|
|
157
157
|
const getSurveysActivityFeed = posthogOperation({
|
|
158
|
-
id: "
|
|
158
|
+
id: "posthog.surveys-activity-feed",
|
|
159
159
|
name: "PostHog Surveys Activity Feed",
|
|
160
160
|
description: "Fetch project-wide survey activity feed",
|
|
161
161
|
input: z.object({
|
|
@@ -174,7 +174,7 @@ const getSurveysActivityFeed = posthogOperation({
|
|
|
174
174
|
}
|
|
175
175
|
});
|
|
176
176
|
const getSurveyResponsesCount = posthogOperation({
|
|
177
|
-
id: "
|
|
177
|
+
id: "posthog.surveys-responses-count",
|
|
178
178
|
name: "PostHog Survey Responses Count",
|
|
179
179
|
description: "Fetch the responses count for all surveys",
|
|
180
180
|
input: z.object(projectIdInputShape),
|
|
@@ -189,7 +189,7 @@ const getSurveyResponsesCount = posthogOperation({
|
|
|
189
189
|
}
|
|
190
190
|
});
|
|
191
191
|
const getSurveyStats = posthogOperation({
|
|
192
|
-
id: "
|
|
192
|
+
id: "posthog.surveys-stats",
|
|
193
193
|
name: "PostHog Survey Stats",
|
|
194
194
|
description: "Fetch aggregate statistics for a survey",
|
|
195
195
|
input: z.object(idInput),
|
|
@@ -20,7 +20,7 @@ const actionIdInput = {
|
|
|
20
20
|
actionId: z.number().int()
|
|
21
21
|
};
|
|
22
22
|
const listActionWebhooks = posthogOperation({
|
|
23
|
-
id: "
|
|
23
|
+
id: "posthog.action-webhooks-list",
|
|
24
24
|
name: "PostHog List Action Webhooks",
|
|
25
25
|
description: "List actions configured to post to a Slack webhook",
|
|
26
26
|
input: z.object({
|
|
@@ -42,7 +42,7 @@ const listActionWebhooks = posthogOperation({
|
|
|
42
42
|
}
|
|
43
43
|
});
|
|
44
44
|
const attachActionWebhook = posthogOperation({
|
|
45
|
-
id: "
|
|
45
|
+
id: "posthog.action-webhooks-attach",
|
|
46
46
|
name: "PostHog Attach Action Webhook",
|
|
47
47
|
description: "Enable Slack-webhook posting on an action with a message format",
|
|
48
48
|
input: z.object({
|
|
@@ -65,7 +65,7 @@ const attachActionWebhook = posthogOperation({
|
|
|
65
65
|
}
|
|
66
66
|
});
|
|
67
67
|
const detachActionWebhook = posthogOperation({
|
|
68
|
-
id: "
|
|
68
|
+
id: "posthog.action-webhooks-detach",
|
|
69
69
|
name: "PostHog Detach Action Webhook",
|
|
70
70
|
description: "Disable Slack-webhook posting on an action",
|
|
71
71
|
input: z.object(actionIdInput),
|
|
@@ -85,7 +85,7 @@ const detachActionWebhook = posthogOperation({
|
|
|
85
85
|
}
|
|
86
86
|
});
|
|
87
87
|
const listPipelineDestinations = posthogOperation({
|
|
88
|
-
id: "
|
|
88
|
+
id: "posthog.pipeline-destinations-list",
|
|
89
89
|
name: "PostHog List Pipeline Destinations",
|
|
90
90
|
description: "List configured pipeline destinations (plugin-configs)",
|
|
91
91
|
input: z.object({
|
|
@@ -104,7 +104,7 @@ const listPipelineDestinations = posthogOperation({
|
|
|
104
104
|
}
|
|
105
105
|
});
|
|
106
106
|
const createPipelineDestination = posthogOperation({
|
|
107
|
-
id: "
|
|
107
|
+
id: "posthog.pipeline-destinations-create",
|
|
108
108
|
name: "PostHog Create Pipeline Destination",
|
|
109
109
|
description: "Configure a pipeline destination plugin (e.g. webhook delivery)",
|
|
110
110
|
input: z.object({
|
|
@@ -128,7 +128,7 @@ const createPipelineDestination = posthogOperation({
|
|
|
128
128
|
}
|
|
129
129
|
});
|
|
130
130
|
const deletePipelineDestination = posthogOperation({
|
|
131
|
-
id: "
|
|
131
|
+
id: "posthog.pipeline-destinations-delete",
|
|
132
132
|
name: "PostHog Delete Pipeline Destination",
|
|
133
133
|
description: "Remove a pipeline destination configuration",
|
|
134
134
|
input: z.object({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keystrokehq/posthog",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.8",
|
|
4
4
|
"private": false,
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"type": "module",
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
"LICENSE"
|
|
105
105
|
],
|
|
106
106
|
"dependencies": {
|
|
107
|
-
"@keystrokehq/integration-authoring": "^0.0.
|
|
107
|
+
"@keystrokehq/integration-authoring": "^0.0.8",
|
|
108
108
|
"zod": "^4.3.6"
|
|
109
109
|
},
|
|
110
110
|
"peerDependencies": {
|