@keystrokehq/mixpanel 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (263) hide show
  1. package/dist/actions/add-unique-to-profile-list-property.cjs +3 -3
  2. package/dist/actions/add-unique-to-profile-list-property.cjs.map +1 -1
  3. package/dist/actions/add-unique-to-profile-list-property.d.cts +5 -4
  4. package/dist/actions/add-unique-to-profile-list-property.d.cts.map +1 -1
  5. package/dist/actions/add-unique-to-profile-list-property.d.mts +5 -4
  6. package/dist/actions/add-unique-to-profile-list-property.d.mts.map +1 -1
  7. package/dist/actions/add-unique-to-profile-list-property.mjs +3 -3
  8. package/dist/actions/add-unique-to-profile-list-property.mjs.map +1 -1
  9. package/dist/actions/aggregate-events.cjs +3 -3
  10. package/dist/actions/aggregate-events.cjs.map +1 -1
  11. package/dist/actions/aggregate-events.d.cts +3 -3
  12. package/dist/actions/aggregate-events.d.mts +3 -3
  13. package/dist/actions/aggregate-events.mjs +3 -3
  14. package/dist/actions/aggregate-events.mjs.map +1 -1
  15. package/dist/actions/aggregated-event-property-values.cjs +2 -2
  16. package/dist/actions/aggregated-event-property-values.cjs.map +1 -1
  17. package/dist/actions/aggregated-event-property-values.d.cts +2 -2
  18. package/dist/actions/aggregated-event-property-values.d.mts +2 -2
  19. package/dist/actions/aggregated-event-property-values.mjs +2 -2
  20. package/dist/actions/aggregated-event-property-values.mjs.map +1 -1
  21. package/dist/actions/cohorts-list.cjs +2 -2
  22. package/dist/actions/cohorts-list.cjs.map +1 -1
  23. package/dist/actions/cohorts-list.d.cts +2 -2
  24. package/dist/actions/cohorts-list.d.mts +2 -2
  25. package/dist/actions/cohorts-list.mjs +2 -2
  26. package/dist/actions/cohorts-list.mjs.map +1 -1
  27. package/dist/actions/create-annotation-tag.cjs +1 -1
  28. package/dist/actions/create-annotation-tag.cjs.map +1 -1
  29. package/dist/actions/create-annotation-tag.d.cts +1 -1
  30. package/dist/actions/create-annotation-tag.d.mts +1 -1
  31. package/dist/actions/create-annotation-tag.mjs +1 -1
  32. package/dist/actions/create-annotation-tag.mjs.map +1 -1
  33. package/dist/actions/create-identity.cjs +1 -1
  34. package/dist/actions/create-identity.cjs.map +1 -1
  35. package/dist/actions/create-identity.d.cts +1 -1
  36. package/dist/actions/create-identity.d.mts +1 -1
  37. package/dist/actions/create-identity.mjs +1 -1
  38. package/dist/actions/create-identity.mjs.map +1 -1
  39. package/dist/actions/create-service-account.cjs +3 -3
  40. package/dist/actions/create-service-account.cjs.map +1 -1
  41. package/dist/actions/create-service-account.d.cts +4 -3
  42. package/dist/actions/create-service-account.d.mts +4 -3
  43. package/dist/actions/create-service-account.mjs +3 -3
  44. package/dist/actions/create-service-account.mjs.map +1 -1
  45. package/dist/actions/delete-group.cjs +1 -1
  46. package/dist/actions/delete-group.cjs.map +1 -1
  47. package/dist/actions/delete-group.d.cts +1 -1
  48. package/dist/actions/delete-group.d.mts +1 -1
  49. package/dist/actions/delete-group.mjs +1 -1
  50. package/dist/actions/delete-group.mjs.map +1 -1
  51. package/dist/actions/delete-profile-batch.cjs +2 -2
  52. package/dist/actions/delete-profile-batch.cjs.map +1 -1
  53. package/dist/actions/delete-profile-batch.d.cts +3 -2
  54. package/dist/actions/delete-profile-batch.d.mts +3 -2
  55. package/dist/actions/delete-profile-batch.mjs +2 -2
  56. package/dist/actions/delete-profile-batch.mjs.map +1 -1
  57. package/dist/actions/delete-profile-property.cjs +1 -1
  58. package/dist/actions/delete-profile-property.cjs.map +1 -1
  59. package/dist/actions/delete-profile-property.d.cts +1 -1
  60. package/dist/actions/delete-profile-property.d.mts +1 -1
  61. package/dist/actions/delete-profile-property.mjs +1 -1
  62. package/dist/actions/delete-profile-property.mjs.map +1 -1
  63. package/dist/actions/delete-profile.cjs +1 -1
  64. package/dist/actions/delete-profile.cjs.map +1 -1
  65. package/dist/actions/delete-profile.d.cts +1 -1
  66. package/dist/actions/delete-profile.d.mts +1 -1
  67. package/dist/actions/delete-profile.mjs +1 -1
  68. package/dist/actions/delete-profile.mjs.map +1 -1
  69. package/dist/actions/get-all-projects.cjs +1 -1
  70. package/dist/actions/get-all-projects.cjs.map +1 -1
  71. package/dist/actions/get-all-projects.d.cts +2 -2
  72. package/dist/actions/get-all-projects.d.mts +2 -2
  73. package/dist/actions/get-all-projects.mjs +1 -1
  74. package/dist/actions/get-all-projects.mjs.map +1 -1
  75. package/dist/actions/get-annotation-tags-alt1.cjs +2 -2
  76. package/dist/actions/get-annotation-tags-alt1.cjs.map +1 -1
  77. package/dist/actions/get-annotation-tags-alt1.d.cts +2 -2
  78. package/dist/actions/get-annotation-tags-alt1.d.mts +2 -2
  79. package/dist/actions/get-annotation-tags-alt1.mjs +2 -2
  80. package/dist/actions/get-annotation-tags-alt1.mjs.map +1 -1
  81. package/dist/actions/group-batch-update.cjs +3 -3
  82. package/dist/actions/group-batch-update.cjs.map +1 -1
  83. package/dist/actions/group-batch-update.d.cts +5 -4
  84. package/dist/actions/group-batch-update.d.mts +5 -4
  85. package/dist/actions/group-batch-update.mjs +3 -3
  86. package/dist/actions/group-batch-update.mjs.map +1 -1
  87. package/dist/actions/group-delete-property.cjs +1 -1
  88. package/dist/actions/group-delete-property.cjs.map +1 -1
  89. package/dist/actions/group-delete-property.d.cts +1 -1
  90. package/dist/actions/group-delete-property.d.mts +1 -1
  91. package/dist/actions/group-delete-property.mjs +1 -1
  92. package/dist/actions/group-delete-property.mjs.map +1 -1
  93. package/dist/actions/identity-create-alias.cjs +1 -1
  94. package/dist/actions/identity-create-alias.cjs.map +1 -1
  95. package/dist/actions/identity-create-alias.d.cts +1 -1
  96. package/dist/actions/identity-create-alias.d.mts +1 -1
  97. package/dist/actions/identity-create-alias.mjs +1 -1
  98. package/dist/actions/identity-create-alias.mjs.map +1 -1
  99. package/dist/actions/jql-query.cjs +1 -1
  100. package/dist/actions/jql-query.cjs.map +1 -1
  101. package/dist/actions/jql-query.d.cts +1 -1
  102. package/dist/actions/jql-query.d.mts +1 -1
  103. package/dist/actions/jql-query.mjs +1 -1
  104. package/dist/actions/jql-query.mjs.map +1 -1
  105. package/dist/actions/list-funnels.cjs +2 -2
  106. package/dist/actions/list-funnels.cjs.map +1 -1
  107. package/dist/actions/list-funnels.d.cts +2 -2
  108. package/dist/actions/list-funnels.d.mts +2 -2
  109. package/dist/actions/list-funnels.mjs +2 -2
  110. package/dist/actions/list-funnels.mjs.map +1 -1
  111. package/dist/actions/list-service-accounts.cjs +2 -2
  112. package/dist/actions/list-service-accounts.cjs.map +1 -1
  113. package/dist/actions/list-service-accounts.d.cts +2 -2
  114. package/dist/actions/list-service-accounts.d.mts +2 -2
  115. package/dist/actions/list-service-accounts.mjs +2 -2
  116. package/dist/actions/list-service-accounts.mjs.map +1 -1
  117. package/dist/actions/profile-append-to-list-property.cjs +2 -2
  118. package/dist/actions/profile-append-to-list-property.cjs.map +1 -1
  119. package/dist/actions/profile-append-to-list-property.d.cts +3 -2
  120. package/dist/actions/profile-append-to-list-property.d.cts.map +1 -1
  121. package/dist/actions/profile-append-to-list-property.d.mts +3 -2
  122. package/dist/actions/profile-append-to-list-property.d.mts.map +1 -1
  123. package/dist/actions/profile-append-to-list-property.mjs +2 -2
  124. package/dist/actions/profile-append-to-list-property.mjs.map +1 -1
  125. package/dist/actions/profile-batch-update.cjs +5 -5
  126. package/dist/actions/profile-batch-update.cjs.map +1 -1
  127. package/dist/actions/profile-batch-update.d.cts +8 -7
  128. package/dist/actions/profile-batch-update.d.mts +8 -7
  129. package/dist/actions/profile-batch-update.mjs +5 -5
  130. package/dist/actions/profile-batch-update.mjs.map +1 -1
  131. package/dist/actions/profile-event-activity.cjs +4 -4
  132. package/dist/actions/profile-event-activity.cjs.map +1 -1
  133. package/dist/actions/profile-event-activity.d.cts +4 -4
  134. package/dist/actions/profile-event-activity.d.mts +4 -4
  135. package/dist/actions/profile-event-activity.mjs +4 -4
  136. package/dist/actions/profile-event-activity.mjs.map +1 -1
  137. package/dist/actions/profile-numerical-add.cjs +2 -2
  138. package/dist/actions/profile-numerical-add.cjs.map +1 -1
  139. package/dist/actions/profile-numerical-add.d.cts +3 -3
  140. package/dist/actions/profile-numerical-add.d.mts +3 -3
  141. package/dist/actions/profile-numerical-add.mjs +2 -2
  142. package/dist/actions/profile-numerical-add.mjs.map +1 -1
  143. package/dist/actions/profile-remove-from-list-property.cjs +2 -2
  144. package/dist/actions/profile-remove-from-list-property.cjs.map +1 -1
  145. package/dist/actions/profile-remove-from-list-property.d.cts +3 -2
  146. package/dist/actions/profile-remove-from-list-property.d.cts.map +1 -1
  147. package/dist/actions/profile-remove-from-list-property.d.mts +3 -2
  148. package/dist/actions/profile-remove-from-list-property.d.mts.map +1 -1
  149. package/dist/actions/profile-remove-from-list-property.mjs +2 -2
  150. package/dist/actions/profile-remove-from-list-property.mjs.map +1 -1
  151. package/dist/actions/profile-set.cjs +1 -1
  152. package/dist/actions/profile-set.cjs.map +1 -1
  153. package/dist/actions/profile-set.d.cts +1 -1
  154. package/dist/actions/profile-set.d.mts +1 -1
  155. package/dist/actions/profile-set.mjs +1 -1
  156. package/dist/actions/profile-set.mjs.map +1 -1
  157. package/dist/actions/query-frequency-report.cjs +1 -1
  158. package/dist/actions/query-frequency-report.cjs.map +1 -1
  159. package/dist/actions/query-frequency-report.d.cts +2 -2
  160. package/dist/actions/query-frequency-report.d.mts +2 -2
  161. package/dist/actions/query-frequency-report.mjs +1 -1
  162. package/dist/actions/query-frequency-report.mjs.map +1 -1
  163. package/dist/actions/query-funnel.cjs +3 -3
  164. package/dist/actions/query-funnel.cjs.map +1 -1
  165. package/dist/actions/query-funnel.d.cts +3 -3
  166. package/dist/actions/query-funnel.d.mts +3 -3
  167. package/dist/actions/query-funnel.mjs +3 -3
  168. package/dist/actions/query-funnel.mjs.map +1 -1
  169. package/dist/actions/query-insight.cjs +3 -3
  170. package/dist/actions/query-insight.cjs.map +1 -1
  171. package/dist/actions/query-insight.d.cts +3 -3
  172. package/dist/actions/query-insight.d.mts +3 -3
  173. package/dist/actions/query-insight.mjs +3 -3
  174. package/dist/actions/query-insight.mjs.map +1 -1
  175. package/dist/actions/query-numeric-average.cjs +2 -2
  176. package/dist/actions/query-numeric-average.cjs.map +1 -1
  177. package/dist/actions/query-numeric-average.d.cts +2 -2
  178. package/dist/actions/query-numeric-average.d.mts +2 -2
  179. package/dist/actions/query-numeric-average.mjs +2 -2
  180. package/dist/actions/query-numeric-average.mjs.map +1 -1
  181. package/dist/actions/query-numeric-sum.cjs +2 -2
  182. package/dist/actions/query-numeric-sum.cjs.map +1 -1
  183. package/dist/actions/query-numeric-sum.d.cts +2 -2
  184. package/dist/actions/query-numeric-sum.d.mts +2 -2
  185. package/dist/actions/query-numeric-sum.mjs +2 -2
  186. package/dist/actions/query-numeric-sum.mjs.map +1 -1
  187. package/dist/actions/query-profiles.cjs +3 -3
  188. package/dist/actions/query-profiles.cjs.map +1 -1
  189. package/dist/actions/query-profiles.d.cts +4 -4
  190. package/dist/actions/query-profiles.d.mts +4 -4
  191. package/dist/actions/query-profiles.mjs +3 -3
  192. package/dist/actions/query-profiles.mjs.map +1 -1
  193. package/dist/actions/query-retention-report.cjs +1 -1
  194. package/dist/actions/query-retention-report.cjs.map +1 -1
  195. package/dist/actions/query-retention-report.d.cts +2 -2
  196. package/dist/actions/query-retention-report.d.mts +2 -2
  197. package/dist/actions/query-retention-report.mjs +1 -1
  198. package/dist/actions/query-retention-report.mjs.map +1 -1
  199. package/dist/actions/query-segmentation.cjs +3 -3
  200. package/dist/actions/query-segmentation.cjs.map +1 -1
  201. package/dist/actions/query-segmentation.d.cts +3 -3
  202. package/dist/actions/query-segmentation.d.mts +3 -3
  203. package/dist/actions/query-segmentation.mjs +3 -3
  204. package/dist/actions/query-segmentation.mjs.map +1 -1
  205. package/dist/actions/query-top-events.cjs +2 -2
  206. package/dist/actions/query-top-events.cjs.map +1 -1
  207. package/dist/actions/query-top-events.d.cts +2 -2
  208. package/dist/actions/query-top-events.d.mts +2 -2
  209. package/dist/actions/query-top-events.mjs +2 -2
  210. package/dist/actions/query-top-events.mjs.map +1 -1
  211. package/dist/actions/remove-from-group-list-property.cjs +2 -2
  212. package/dist/actions/remove-from-group-list-property.cjs.map +1 -1
  213. package/dist/actions/remove-from-group-list-property.d.cts +3 -2
  214. package/dist/actions/remove-from-group-list-property.d.cts.map +1 -1
  215. package/dist/actions/remove-from-group-list-property.d.mts +3 -2
  216. package/dist/actions/remove-from-group-list-property.d.mts.map +1 -1
  217. package/dist/actions/remove-from-group-list-property.mjs +2 -2
  218. package/dist/actions/remove-from-group-list-property.mjs.map +1 -1
  219. package/dist/actions/remove-from-list-property.cjs +1 -1
  220. package/dist/actions/remove-from-list-property.cjs.map +1 -1
  221. package/dist/actions/remove-from-list-property.d.cts +1 -1
  222. package/dist/actions/remove-from-list-property.d.mts +1 -1
  223. package/dist/actions/remove-from-list-property.mjs +1 -1
  224. package/dist/actions/remove-from-list-property.mjs.map +1 -1
  225. package/dist/actions/segmentation-numeric-query.cjs +2 -2
  226. package/dist/actions/segmentation-numeric-query.cjs.map +1 -1
  227. package/dist/actions/segmentation-numeric-query.d.cts +2 -2
  228. package/dist/actions/segmentation-numeric-query.d.mts +2 -2
  229. package/dist/actions/segmentation-numeric-query.mjs +2 -2
  230. package/dist/actions/segmentation-numeric-query.mjs.map +1 -1
  231. package/dist/actions/set-group-property-once.cjs +1 -1
  232. package/dist/actions/set-group-property-once.cjs.map +1 -1
  233. package/dist/actions/set-group-property-once.d.cts +1 -1
  234. package/dist/actions/set-group-property-once.d.mts +1 -1
  235. package/dist/actions/set-group-property-once.mjs +1 -1
  236. package/dist/actions/set-group-property-once.mjs.map +1 -1
  237. package/dist/actions/set-profile-property-once.cjs +1 -1
  238. package/dist/actions/set-profile-property-once.cjs.map +1 -1
  239. package/dist/actions/set-profile-property-once.d.cts +1 -1
  240. package/dist/actions/set-profile-property-once.d.mts +1 -1
  241. package/dist/actions/set-profile-property-once.mjs +1 -1
  242. package/dist/actions/set-profile-property-once.mjs.map +1 -1
  243. package/dist/actions/top-event-property-values.cjs +1 -1
  244. package/dist/actions/top-event-property-values.cjs.map +1 -1
  245. package/dist/actions/top-event-property-values.d.cts +1 -1
  246. package/dist/actions/top-event-property-values.d.mts +1 -1
  247. package/dist/actions/top-event-property-values.mjs +1 -1
  248. package/dist/actions/top-event-property-values.mjs.map +1 -1
  249. package/dist/actions/top-events.cjs +1 -1
  250. package/dist/actions/top-events.cjs.map +1 -1
  251. package/dist/actions/top-events.d.cts +1 -1
  252. package/dist/actions/top-events.d.mts +1 -1
  253. package/dist/actions/top-events.mjs +1 -1
  254. package/dist/actions/top-events.mjs.map +1 -1
  255. package/dist/actions/update-group-list-property.cjs +3 -3
  256. package/dist/actions/update-group-list-property.cjs.map +1 -1
  257. package/dist/actions/update-group-list-property.d.cts +5 -4
  258. package/dist/actions/update-group-list-property.d.cts.map +1 -1
  259. package/dist/actions/update-group-list-property.d.mts +5 -4
  260. package/dist/actions/update-group-list-property.d.mts.map +1 -1
  261. package/dist/actions/update-group-list-property.mjs +3 -3
  262. package/dist/actions/update-group-list-property.mjs.map +1 -1
  263. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"query-retention-report.mjs","names":[],"sources":["../../src/actions/query-retention-report.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelQueryRetentionReportInput = z.object({\n on: z.string().describe(\"Property expression for segmentation (segments results by specified property)\").optional(),\n unit: z.enum([\"day\", \"week\", \"month\"]).default(\"day\").describe(\"Medium range time units for Mixpanel operations.\").optional(),\n event: z.string().describe(\"The target event to measure retention against\").optional(),\n limit: z.number().int().describe(\"Maximum number of top segmentation values to return (only valid with 'on' parameter)\").optional(),\n where: z.string().describe(\"Filter expression for event (see Mixpanel expressions documentation)\").optional(),\n to_date: z.string().describe(\"End date for the query range in YYYY-MM-DD format (inclusive)\"),\n from_date: z.string().describe(\"Start date for the query range in YYYY-MM-DD format (inclusive)\"),\n born_event: z.string().describe(\"The initial event that defines the cohort entry (required when retention_type='birth')\").optional(),\n born_where: z.string().describe(\"Filter expression for born_event (see Mixpanel expressions documentation)\").optional(),\n project_id: z.number().int().describe(\"Project identifier (required when using service account authentication)\"),\n workspace_id: z.number().int().describe(\"Workspace identifier if applicable\").optional(),\n interval_count: z.number().int().describe(\"Number of individual buckets/intervals to return\").optional(),\n retention_type: z.enum([\"birth\", \"compounded\"]).default(\"birth\").describe(\"Type of retention analysis: 'birth' for first-time retention or 'compounded' for recurring retention\").optional(),\n unbounded_retention: z.boolean().default(false).describe(\"When true, uses accumulation method where values accumulate from right to left\").optional(),\n}).describe(\"Request model for querying retention report from Mixpanel Query API\");\nexport const MixpanelQueryRetentionReportOutput = z.object({\n data: z.object({}).describe(\"Retention data keyed by date (YYYY-MM-DD format). Each date contains cohort retention counts and initial cohort size\"),\n}).describe(\"Response model for retention report query from Mixpanel Query API\");\n\nexport const mixpanelQueryRetentionReport = action(\"MIXPANEL_QUERY_RETENTION_REPORT\", {\n slug: \"mixpanel-query-retention-report\",\n name: \"Query Retention Report\",\n description: \"Query cohort analysis showing user retention patterns over time. Tracks how users who performed an initial event (born_event) subsequently perform a target event (event). Use the 'unit' parameter to control cohort interval granularity ('day', 'week', 'month'); defaults to 'day'.\",\n input: MixpanelQueryRetentionReportInput,\n output: MixpanelQueryRetentionReportOutput,\n});\n"],"mappings":";;AAwBA,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxB+C,EAAE,OAAO;EACxD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;EAClH,MAAM,EAAE,KAAK;GAAC;GAAO;GAAQ;EAAO,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EAC5H,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACrF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;EAClI,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;EAC5G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;EAC5F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;EAChG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;EACnI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;EACtH,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE;EAC/G,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EACvF,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EACvG,gBAAgB,EAAE,KAAK,CAAC,SAAS,YAAY,CAAC,CAAC,CAAC,QAAQ,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;EAC3L,qBAAqB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CACtJ,CAAC,CAAC,CAAC,SAAS,qEASH;CACP,QATgD,EAAE,OAAO,EACzD,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sHAAsH,EACpJ,CAAC,CAAC,CAAC,SAAS,mEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"query-retention-report.mjs","names":[],"sources":["../../src/actions/query-retention-report.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelQueryRetentionReportInput = z.object({\n on: z.string().describe(\"Property expression for segmentation (segments results by specified property)\").optional(),\n unit: z.enum([\"day\", \"week\", \"month\"]).default(\"day\").describe(\"Medium range time units for Mixpanel operations.\").optional(),\n event: z.string().describe(\"The target event to measure retention against\").optional(),\n limit: z.number().int().describe(\"Maximum number of top segmentation values to return (only valid with 'on' parameter)\").optional(),\n where: z.string().describe(\"Filter expression for event (see Mixpanel expressions documentation)\").optional(),\n to_date: z.string().describe(\"End date for the query range in YYYY-MM-DD format (inclusive)\"),\n from_date: z.string().describe(\"Start date for the query range in YYYY-MM-DD format (inclusive)\"),\n born_event: z.string().describe(\"The initial event that defines the cohort entry (required when retention_type='birth')\").optional(),\n born_where: z.string().describe(\"Filter expression for born_event (see Mixpanel expressions documentation)\").optional(),\n project_id: z.number().int().describe(\"Project identifier (required when using service account authentication)\"),\n workspace_id: z.number().int().describe(\"Workspace identifier if applicable\").optional(),\n interval_count: z.number().int().describe(\"Number of individual buckets/intervals to return\").optional(),\n retention_type: z.enum([\"birth\", \"compounded\"]).default(\"birth\").describe(\"Type of retention analysis: 'birth' for first-time retention or 'compounded' for recurring retention\").optional(),\n unbounded_retention: z.boolean().default(false).describe(\"When true, uses accumulation method where values accumulate from right to left\").optional(),\n}).describe(\"Request model for querying retention report from Mixpanel Query API\");\nexport const MixpanelQueryRetentionReportOutput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Retention data keyed by date (YYYY-MM-DD format). Each date contains cohort retention counts and initial cohort size\"),\n}).passthrough().describe(\"Response model for retention report query from Mixpanel Query API\");\n\nexport const mixpanelQueryRetentionReport = action(\"MIXPANEL_QUERY_RETENTION_REPORT\", {\n slug: \"mixpanel-query-retention-report\",\n name: \"Query Retention Report\",\n description: \"Query cohort analysis showing user retention patterns over time. Tracks how users who performed an initial event (born_event) subsequently perform a target event (event). Use the 'unit' parameter to control cohort interval granularity ('day', 'week', 'month'); defaults to 'day'.\",\n input: MixpanelQueryRetentionReportInput,\n output: MixpanelQueryRetentionReportOutput,\n});\n"],"mappings":";;AAwBA,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxB+C,EAAE,OAAO;EACxD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;EAClH,MAAM,EAAE,KAAK;GAAC;GAAO;GAAQ;EAAO,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EAC5H,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACrF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;EAClI,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;EAC5G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;EAC5F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;EAChG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;EACnI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;EACtH,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE;EAC/G,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EACvF,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EACvG,gBAAgB,EAAE,KAAK,CAAC,SAAS,YAAY,CAAC,CAAC,CAAC,QAAQ,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;EAC3L,qBAAqB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CACtJ,CAAC,CAAC,CAAC,SAAS,qEASH;CACP,QATgD,EAAE,OAAO,EACzD,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sHAAsH,EACzK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAOhB;AACV,CAAC"}
@@ -24,12 +24,12 @@ const MixpanelQuerySegmentationInput = zod.z.object({
24
24
  }).describe("Request model for querying segmentation data");
25
25
  const MixpanelQuerySegmentation_SegmentationDataSchema = zod.z.object({
26
26
  series: zod.z.array(zod.z.string()).describe("All dates we have data for in the response"),
27
- values: zod.z.object({}).describe("A mapping of event names to date-value pairs, where each date maps to the number of specified events that took place")
28
- }).describe("Container for segmentation query results");
27
+ values: zod.z.record(zod.z.string(), zod.z.unknown()).describe("A mapping of event names to date-value pairs, where each date maps to the number of specified events that took place")
28
+ }).passthrough().describe("Container for segmentation query results");
29
29
  const MixpanelQuerySegmentationOutput = zod.z.object({
30
30
  data: MixpanelQuerySegmentation_SegmentationDataSchema.nullable(),
31
31
  legend_size: zod.z.number().int().describe("Count of all events in the values object").nullable()
32
- }).describe("Response model for segmentation query data");
32
+ }).passthrough().describe("Response model for segmentation query data");
33
33
  const mixpanelQuerySegmentation = require_action.action("MIXPANEL_QUERY_SEGMENTATION", {
34
34
  slug: "mixpanel-query-segmentation",
35
35
  name: "Query Segmentation Report",
@@ -1 +1 @@
1
- {"version":3,"file":"query-segmentation.cjs","names":["z","action"],"sources":["../../src/actions/query-segmentation.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelQuerySegmentationInput = z.object({\n on: z.string().describe(\"The property expression to segment the event on Properties unset for many events produce 'undefined' segment buckets; interpret as missing instrumentation, not zero traffic.\").optional(),\n type: z.enum([\"general\", \"unique\", \"average\"]).default(\"general\").describe(\"Analysis types for Mixpanel event aggregation.\").optional(),\n unit: z.enum([\"minute\", \"hour\", \"day\", \"month\"]).default(\"day\").describe(\"Time units for segmentation queries.\").optional(),\n event: z.string().describe(\"The event to get data for (single event name)\"),\n limit: z.number().int().default(60).describe(\"Return the top N property values (max 10000)\").optional(),\n where: z.string().describe(\"An expression to filter events by\").optional(),\n to_date: z.string().describe(\"The date in yyyy-mm-dd format to query to (inclusive)\"),\n from_date: z.string().describe(\"The date in yyyy-mm-dd format to begin querying from (inclusive) Use project timezone to avoid off-by-one-day range errors; reversed or overly narrow ranges yield empty results.\"),\n project_id: z.number().int().describe(\"Required if using service account to authenticate request Region mismatch between the Mixpanel connection and the project's cluster returns 'invalid project id for cluster'; verify region before querying.\"),\n workspace_id: z.number().int().describe(\"The id of the workspace if applicable\").optional(),\n}).describe(\"Request model for querying segmentation data\");\nconst MixpanelQuerySegmentation_SegmentationDataSchema = z.object({\n series: z.array(z.string()).describe(\"All dates we have data for in the response\"),\n values: z.object({}).describe(\"A mapping of event names to date-value pairs, where each date maps to the number of specified events that took place\"),\n}).describe(\"Container for segmentation query results\");\nexport const MixpanelQuerySegmentationOutput = z.object({\n data: MixpanelQuerySegmentation_SegmentationDataSchema.nullable(),\n legend_size: z.number().int().describe(\"Count of all events in the values object\").nullable(),\n}).describe(\"Response model for segmentation query data\");\n\nexport const mixpanelQuerySegmentation = action(\"MIXPANEL_QUERY_SEGMENTATION\", {\n slug: \"mixpanel-query-segmentation\",\n name: \"Query Segmentation Report\",\n description: \"Get data for an event, segmented and filtered by properties with daily/time-series breakdown. Use the 'unit' parameter to control time bucketing ('minute', 'hour', 'day', 'month'). The Query API has a rate limit of 60 queries per hour and 5 concurrent queries, shared across related tools (e.g., MIXPANEL_JQL_QUERY, MIXPANEL_TOP_EVENT_PROPERTY_VALUES); bursts of concurrent calls return 429.\",\n input: MixpanelQuerySegmentationInput,\n output: MixpanelQuerySegmentationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+KAA+K,CAAC,CAAC,SAAS;CAClN,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAU;CAAS,CAAC,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACtI,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAQ;EAAO;CAAO,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC1H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC1E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACtG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACpF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mLAAmL;CAClN,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8MAA8M;CACpP,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C;CACjF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sHAAsH;AACtJ,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAM,iDAAiD,SAAS;CAChE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAExD,MAAa,4BAA4BC,eAAAA,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"query-segmentation.cjs","names":["z","action"],"sources":["../../src/actions/query-segmentation.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelQuerySegmentationInput = z.object({\n on: z.string().describe(\"The property expression to segment the event on Properties unset for many events produce 'undefined' segment buckets; interpret as missing instrumentation, not zero traffic.\").optional(),\n type: z.enum([\"general\", \"unique\", \"average\"]).default(\"general\").describe(\"Analysis types for Mixpanel event aggregation.\").optional(),\n unit: z.enum([\"minute\", \"hour\", \"day\", \"month\"]).default(\"day\").describe(\"Time units for segmentation queries.\").optional(),\n event: z.string().describe(\"The event to get data for (single event name)\"),\n limit: z.number().int().default(60).describe(\"Return the top N property values (max 10000)\").optional(),\n where: z.string().describe(\"An expression to filter events by\").optional(),\n to_date: z.string().describe(\"The date in yyyy-mm-dd format to query to (inclusive)\"),\n from_date: z.string().describe(\"The date in yyyy-mm-dd format to begin querying from (inclusive) Use project timezone to avoid off-by-one-day range errors; reversed or overly narrow ranges yield empty results.\"),\n project_id: z.number().int().describe(\"Required if using service account to authenticate request Region mismatch between the Mixpanel connection and the project's cluster returns 'invalid project id for cluster'; verify region before querying.\"),\n workspace_id: z.number().int().describe(\"The id of the workspace if applicable\").optional(),\n}).describe(\"Request model for querying segmentation data\");\nconst MixpanelQuerySegmentation_SegmentationDataSchema = z.object({\n series: z.array(z.string()).describe(\"All dates we have data for in the response\"),\n values: z.record(z.string(), z.unknown()).describe(\"A mapping of event names to date-value pairs, where each date maps to the number of specified events that took place\"),\n}).passthrough().describe(\"Container for segmentation query results\");\nexport const MixpanelQuerySegmentationOutput = z.object({\n data: MixpanelQuerySegmentation_SegmentationDataSchema.nullable(),\n legend_size: z.number().int().describe(\"Count of all events in the values object\").nullable(),\n}).passthrough().describe(\"Response model for segmentation query data\");\n\nexport const mixpanelQuerySegmentation = action(\"MIXPANEL_QUERY_SEGMENTATION\", {\n slug: \"mixpanel-query-segmentation\",\n name: \"Query Segmentation Report\",\n description: \"Get data for an event, segmented and filtered by properties with daily/time-series breakdown. Use the 'unit' parameter to control time bucketing ('minute', 'hour', 'day', 'month'). The Query API has a rate limit of 60 queries per hour and 5 concurrent queries, shared across related tools (e.g., MIXPANEL_JQL_QUERY, MIXPANEL_TOP_EVENT_PROPERTY_VALUES); bursts of concurrent calls return 429.\",\n input: MixpanelQuerySegmentationInput,\n output: MixpanelQuerySegmentationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+KAA+K,CAAC,CAAC,SAAS;CAClN,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAU;CAAS,CAAC,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACtI,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAQ;EAAO;CAAO,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC1H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC1E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACtG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACpF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mLAAmL;CAClN,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8MAA8M;CACpP,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C;CACjF,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sHAAsH;AAC3K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAM,iDAAiD,SAAS;CAChE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,4BAA4BC,eAAAA,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -25,10 +25,10 @@ declare const MixpanelQuerySegmentationInput: z.ZodObject<{
25
25
  declare const MixpanelQuerySegmentationOutput: z.ZodObject<{
26
26
  data: z.ZodNullable<z.ZodObject<{
27
27
  series: z.ZodArray<z.ZodString>;
28
- values: z.ZodObject<{}, z.core.$strip>;
29
- }, z.core.$strip>>;
28
+ values: z.ZodRecord<z.ZodString, z.ZodUnknown>;
29
+ }, z.core.$loose>>;
30
30
  legend_size: z.ZodNullable<z.ZodNumber>;
31
- }, z.core.$strip>;
31
+ }, z.core.$loose>;
32
32
  declare const mixpanelQuerySegmentation: import("@keystrokehq/action").WorkflowActionDefinition<{
33
33
  event: string;
34
34
  to_date: string;
@@ -25,10 +25,10 @@ declare const MixpanelQuerySegmentationInput: z.ZodObject<{
25
25
  declare const MixpanelQuerySegmentationOutput: z.ZodObject<{
26
26
  data: z.ZodNullable<z.ZodObject<{
27
27
  series: z.ZodArray<z.ZodString>;
28
- values: z.ZodObject<{}, z.core.$strip>;
29
- }, z.core.$strip>>;
28
+ values: z.ZodRecord<z.ZodString, z.ZodUnknown>;
29
+ }, z.core.$loose>>;
30
30
  legend_size: z.ZodNullable<z.ZodNumber>;
31
- }, z.core.$strip>;
31
+ }, z.core.$loose>;
32
32
  declare const mixpanelQuerySegmentation: import("@keystrokehq/action").WorkflowActionDefinition<{
33
33
  event: string;
34
34
  to_date: string;
@@ -24,8 +24,8 @@ const MixpanelQuerySegmentationInput = z.object({
24
24
  }).describe("Request model for querying segmentation data");
25
25
  const MixpanelQuerySegmentation_SegmentationDataSchema = z.object({
26
26
  series: z.array(z.string()).describe("All dates we have data for in the response"),
27
- values: z.object({}).describe("A mapping of event names to date-value pairs, where each date maps to the number of specified events that took place")
28
- }).describe("Container for segmentation query results");
27
+ values: z.record(z.string(), z.unknown()).describe("A mapping of event names to date-value pairs, where each date maps to the number of specified events that took place")
28
+ }).passthrough().describe("Container for segmentation query results");
29
29
  const mixpanelQuerySegmentation = action("MIXPANEL_QUERY_SEGMENTATION", {
30
30
  slug: "mixpanel-query-segmentation",
31
31
  name: "Query Segmentation Report",
@@ -34,7 +34,7 @@ const mixpanelQuerySegmentation = action("MIXPANEL_QUERY_SEGMENTATION", {
34
34
  output: z.object({
35
35
  data: MixpanelQuerySegmentation_SegmentationDataSchema.nullable(),
36
36
  legend_size: z.number().int().describe("Count of all events in the values object").nullable()
37
- }).describe("Response model for segmentation query data")
37
+ }).passthrough().describe("Response model for segmentation query data")
38
38
  });
39
39
  //#endregion
40
40
  export { mixpanelQuerySegmentation };
@@ -1 +1 @@
1
- {"version":3,"file":"query-segmentation.mjs","names":[],"sources":["../../src/actions/query-segmentation.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelQuerySegmentationInput = z.object({\n on: z.string().describe(\"The property expression to segment the event on Properties unset for many events produce 'undefined' segment buckets; interpret as missing instrumentation, not zero traffic.\").optional(),\n type: z.enum([\"general\", \"unique\", \"average\"]).default(\"general\").describe(\"Analysis types for Mixpanel event aggregation.\").optional(),\n unit: z.enum([\"minute\", \"hour\", \"day\", \"month\"]).default(\"day\").describe(\"Time units for segmentation queries.\").optional(),\n event: z.string().describe(\"The event to get data for (single event name)\"),\n limit: z.number().int().default(60).describe(\"Return the top N property values (max 10000)\").optional(),\n where: z.string().describe(\"An expression to filter events by\").optional(),\n to_date: z.string().describe(\"The date in yyyy-mm-dd format to query to (inclusive)\"),\n from_date: z.string().describe(\"The date in yyyy-mm-dd format to begin querying from (inclusive) Use project timezone to avoid off-by-one-day range errors; reversed or overly narrow ranges yield empty results.\"),\n project_id: z.number().int().describe(\"Required if using service account to authenticate request Region mismatch between the Mixpanel connection and the project's cluster returns 'invalid project id for cluster'; verify region before querying.\"),\n workspace_id: z.number().int().describe(\"The id of the workspace if applicable\").optional(),\n}).describe(\"Request model for querying segmentation data\");\nconst MixpanelQuerySegmentation_SegmentationDataSchema = z.object({\n series: z.array(z.string()).describe(\"All dates we have data for in the response\"),\n values: z.object({}).describe(\"A mapping of event names to date-value pairs, where each date maps to the number of specified events that took place\"),\n}).describe(\"Container for segmentation query results\");\nexport const MixpanelQuerySegmentationOutput = z.object({\n data: MixpanelQuerySegmentation_SegmentationDataSchema.nullable(),\n legend_size: z.number().int().describe(\"Count of all events in the values object\").nullable(),\n}).describe(\"Response model for segmentation query data\");\n\nexport const mixpanelQuerySegmentation = action(\"MIXPANEL_QUERY_SEGMENTATION\", {\n slug: \"mixpanel-query-segmentation\",\n name: \"Query Segmentation Report\",\n description: \"Get data for an event, segmented and filtered by properties with daily/time-series breakdown. Use the 'unit' parameter to control time bucketing ('minute', 'hour', 'day', 'month'). The Query API has a rate limit of 60 queries per hour and 5 concurrent queries, shared across related tools (e.g., MIXPANEL_JQL_QUERY, MIXPANEL_TOP_EVENT_PROPERTY_VALUES); bursts of concurrent calls return 429.\",\n input: MixpanelQuerySegmentationInput,\n output: MixpanelQuerySegmentationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+KAA+K,CAAC,CAAC,SAAS;CAClN,MAAM,EAAE,KAAK;EAAC;EAAW;EAAU;CAAS,CAAC,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACtI,MAAM,EAAE,KAAK;EAAC;EAAU;EAAQ;EAAO;CAAO,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC1H,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC1E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACtG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACpF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mLAAmL;CAClN,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8MAA8M;CACpP,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,mDAAmD,EAAE,OAAO;CAChE,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C;CACjF,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sHAAsH;AACtJ,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAMtD,MAAa,4BAA4B,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV6C,EAAE,OAAO;EACtD,MAAM,iDAAiD,SAAS;EAChE,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,SAAS,4CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"query-segmentation.mjs","names":[],"sources":["../../src/actions/query-segmentation.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelQuerySegmentationInput = z.object({\n on: z.string().describe(\"The property expression to segment the event on Properties unset for many events produce 'undefined' segment buckets; interpret as missing instrumentation, not zero traffic.\").optional(),\n type: z.enum([\"general\", \"unique\", \"average\"]).default(\"general\").describe(\"Analysis types for Mixpanel event aggregation.\").optional(),\n unit: z.enum([\"minute\", \"hour\", \"day\", \"month\"]).default(\"day\").describe(\"Time units for segmentation queries.\").optional(),\n event: z.string().describe(\"The event to get data for (single event name)\"),\n limit: z.number().int().default(60).describe(\"Return the top N property values (max 10000)\").optional(),\n where: z.string().describe(\"An expression to filter events by\").optional(),\n to_date: z.string().describe(\"The date in yyyy-mm-dd format to query to (inclusive)\"),\n from_date: z.string().describe(\"The date in yyyy-mm-dd format to begin querying from (inclusive) Use project timezone to avoid off-by-one-day range errors; reversed or overly narrow ranges yield empty results.\"),\n project_id: z.number().int().describe(\"Required if using service account to authenticate request Region mismatch between the Mixpanel connection and the project's cluster returns 'invalid project id for cluster'; verify region before querying.\"),\n workspace_id: z.number().int().describe(\"The id of the workspace if applicable\").optional(),\n}).describe(\"Request model for querying segmentation data\");\nconst MixpanelQuerySegmentation_SegmentationDataSchema = z.object({\n series: z.array(z.string()).describe(\"All dates we have data for in the response\"),\n values: z.record(z.string(), z.unknown()).describe(\"A mapping of event names to date-value pairs, where each date maps to the number of specified events that took place\"),\n}).passthrough().describe(\"Container for segmentation query results\");\nexport const MixpanelQuerySegmentationOutput = z.object({\n data: MixpanelQuerySegmentation_SegmentationDataSchema.nullable(),\n legend_size: z.number().int().describe(\"Count of all events in the values object\").nullable(),\n}).passthrough().describe(\"Response model for segmentation query data\");\n\nexport const mixpanelQuerySegmentation = action(\"MIXPANEL_QUERY_SEGMENTATION\", {\n slug: \"mixpanel-query-segmentation\",\n name: \"Query Segmentation Report\",\n description: \"Get data for an event, segmented and filtered by properties with daily/time-series breakdown. Use the 'unit' parameter to control time bucketing ('minute', 'hour', 'day', 'month'). The Query API has a rate limit of 60 queries per hour and 5 concurrent queries, shared across related tools (e.g., MIXPANEL_JQL_QUERY, MIXPANEL_TOP_EVENT_PROPERTY_VALUES); bursts of concurrent calls return 429.\",\n input: MixpanelQuerySegmentationInput,\n output: MixpanelQuerySegmentationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+KAA+K,CAAC,CAAC,SAAS;CAClN,MAAM,EAAE,KAAK;EAAC;EAAW;EAAU;CAAS,CAAC,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACtI,MAAM,EAAE,KAAK;EAAC;EAAU;EAAQ;EAAO;CAAO,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC1H,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC1E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACtG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACpF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mLAAmL;CAClN,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8MAA8M;CACpP,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,mDAAmD,EAAE,OAAO;CAChE,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C;CACjF,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sHAAsH;AAC3K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAMpE,MAAa,4BAA4B,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV6C,EAAE,OAAO;EACtD,MAAM,iDAAiD,SAAS;EAChE,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAOhB;AACV,CAAC"}
@@ -20,11 +20,11 @@ const MixpanelQueryTopEvents_EventItemSchema = zod.z.object({
20
20
  event: zod.z.string().describe("The name of the event").nullable(),
21
21
  amount: zod.z.number().describe("Number of events (integer for general/unique types, float for average type)").nullable(),
22
22
  percent_change: zod.z.number().describe("The percent change from yesterday").nullable()
23
- }).describe("Model for individual event in the response");
23
+ }).passthrough().describe("Model for individual event in the response");
24
24
  const MixpanelQueryTopEventsOutput = zod.z.object({
25
25
  type: MixpanelQueryTopEvents_AnalysisTypeSchema.nullable(),
26
26
  events: zod.z.array(MixpanelQueryTopEvents_EventItemSchema).describe("List of top events with their statistics")
27
- }).describe("Response model for top events query");
27
+ }).passthrough().describe("Response model for top events query");
28
28
  const mixpanelQueryTopEvents = require_action.action("MIXPANEL_QUERY_TOP_EVENTS", {
29
29
  slug: "mixpanel-query-top-events",
30
30
  name: "Query Top Events",
@@ -1 +1 @@
1
- {"version":3,"file":"query-top-events.cjs","names":["z","action"],"sources":["../../src/actions/query-top-events.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelQueryTopEventsInput = z.object({\n type: z.enum([\"general\", \"unique\", \"average\"]).describe(\"The analysis type - general, unique, or average\"),\n limit: z.number().int().default(100).describe(\"Maximum number of events to return\").optional(),\n project_id: z.number().int().describe(\"The project identifier. Required if using service account to authenticate request\"),\n workspace_id: z.number().int().describe(\"The workspace identifier if applicable\").optional(),\n}).describe(\"Request model for querying top events\");\nconst MixpanelQueryTopEvents_AnalysisTypeSchema = z.enum([\"general\", \"unique\", \"average\"]).describe(\"Analysis types for Mixpanel event aggregation.\");\nconst MixpanelQueryTopEvents_EventItemSchema = z.object({\n event: z.string().describe(\"The name of the event\").nullable(),\n amount: z.number().describe(\"Number of events (integer for general/unique types, float for average type)\").nullable(),\n percent_change: z.number().describe(\"The percent change from yesterday\").nullable(),\n}).describe(\"Model for individual event in the response\");\nexport const MixpanelQueryTopEventsOutput = z.object({\n type: MixpanelQueryTopEvents_AnalysisTypeSchema.nullable(),\n events: z.array(MixpanelQueryTopEvents_EventItemSchema).describe(\"List of top events with their statistics\"),\n}).describe(\"Response model for top events query\");\n\nexport const mixpanelQueryTopEvents = action(\"MIXPANEL_QUERY_TOP_EVENTS\", {\n slug: \"mixpanel-query-top-events\",\n name: \"Query Top Events\",\n description: \"Get the top events for today, with their counts and the normalized percent change from yesterday. Use when you need to analyze today's event performance compared to yesterday.\",\n input: MixpanelQueryTopEventsInput,\n output: MixpanelQueryTopEventsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAU;CAAS,CAAC,CAAC,CAAC,SAAS,iDAAiD;CACzG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC7F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF;CACzH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,4CAA4CA,IAAAA,EAAE,KAAK;CAAC;CAAW;CAAU;AAAS,CAAC,CAAC,CAAC,SAAS,gDAAgD;AACpJ,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC7D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACpH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAM,0CAA0C,SAAS;CACzD,QAAQA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,0CAA0C;AAC7G,CAAC,CAAC,CAAC,SAAS,qCAAqC;AAEjD,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"query-top-events.cjs","names":["z","action"],"sources":["../../src/actions/query-top-events.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelQueryTopEventsInput = z.object({\n type: z.enum([\"general\", \"unique\", \"average\"]).describe(\"The analysis type - general, unique, or average\"),\n limit: z.number().int().default(100).describe(\"Maximum number of events to return\").optional(),\n project_id: z.number().int().describe(\"The project identifier. Required if using service account to authenticate request\"),\n workspace_id: z.number().int().describe(\"The workspace identifier if applicable\").optional(),\n}).describe(\"Request model for querying top events\");\nconst MixpanelQueryTopEvents_AnalysisTypeSchema = z.enum([\"general\", \"unique\", \"average\"]).describe(\"Analysis types for Mixpanel event aggregation.\");\nconst MixpanelQueryTopEvents_EventItemSchema = z.object({\n event: z.string().describe(\"The name of the event\").nullable(),\n amount: z.number().describe(\"Number of events (integer for general/unique types, float for average type)\").nullable(),\n percent_change: z.number().describe(\"The percent change from yesterday\").nullable(),\n}).passthrough().describe(\"Model for individual event in the response\");\nexport const MixpanelQueryTopEventsOutput = z.object({\n type: MixpanelQueryTopEvents_AnalysisTypeSchema.nullable(),\n events: z.array(MixpanelQueryTopEvents_EventItemSchema).describe(\"List of top events with their statistics\"),\n}).passthrough().describe(\"Response model for top events query\");\n\nexport const mixpanelQueryTopEvents = action(\"MIXPANEL_QUERY_TOP_EVENTS\", {\n slug: \"mixpanel-query-top-events\",\n name: \"Query Top Events\",\n description: \"Get the top events for today, with their counts and the normalized percent change from yesterday. Use when you need to analyze today's event performance compared to yesterday.\",\n input: MixpanelQueryTopEventsInput,\n output: MixpanelQueryTopEventsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAU;CAAS,CAAC,CAAC,CAAC,SAAS,iDAAiD;CACzG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC7F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF;CACzH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,4CAA4CA,IAAAA,EAAE,KAAK;CAAC;CAAW;CAAU;AAAS,CAAC,CAAC,CAAC,SAAS,gDAAgD;AACpJ,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC7D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACpH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAM,0CAA0C,SAAS;CACzD,QAAQA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,0CAA0C;AAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAE/D,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -21,8 +21,8 @@ declare const MixpanelQueryTopEventsOutput: z.ZodObject<{
21
21
  event: z.ZodNullable<z.ZodString>;
22
22
  amount: z.ZodNullable<z.ZodNumber>;
23
23
  percent_change: z.ZodNullable<z.ZodNumber>;
24
- }, z.core.$strip>>;
25
- }, z.core.$strip>;
24
+ }, z.core.$loose>>;
25
+ }, z.core.$loose>;
26
26
  declare const mixpanelQueryTopEvents: import("@keystrokehq/action").WorkflowActionDefinition<{
27
27
  type: "general" | "unique" | "average";
28
28
  project_id: number;
@@ -21,8 +21,8 @@ declare const MixpanelQueryTopEventsOutput: z.ZodObject<{
21
21
  event: z.ZodNullable<z.ZodString>;
22
22
  amount: z.ZodNullable<z.ZodNumber>;
23
23
  percent_change: z.ZodNullable<z.ZodNumber>;
24
- }, z.core.$strip>>;
25
- }, z.core.$strip>;
24
+ }, z.core.$loose>>;
25
+ }, z.core.$loose>;
26
26
  declare const mixpanelQueryTopEvents: import("@keystrokehq/action").WorkflowActionDefinition<{
27
27
  type: "general" | "unique" | "average";
28
28
  project_id: number;
@@ -20,7 +20,7 @@ const MixpanelQueryTopEvents_EventItemSchema = z.object({
20
20
  event: z.string().describe("The name of the event").nullable(),
21
21
  amount: z.number().describe("Number of events (integer for general/unique types, float for average type)").nullable(),
22
22
  percent_change: z.number().describe("The percent change from yesterday").nullable()
23
- }).describe("Model for individual event in the response");
23
+ }).passthrough().describe("Model for individual event in the response");
24
24
  const mixpanelQueryTopEvents = action("MIXPANEL_QUERY_TOP_EVENTS", {
25
25
  slug: "mixpanel-query-top-events",
26
26
  name: "Query Top Events",
@@ -29,7 +29,7 @@ const mixpanelQueryTopEvents = action("MIXPANEL_QUERY_TOP_EVENTS", {
29
29
  output: z.object({
30
30
  type: MixpanelQueryTopEvents_AnalysisTypeSchema.nullable(),
31
31
  events: z.array(MixpanelQueryTopEvents_EventItemSchema).describe("List of top events with their statistics")
32
- }).describe("Response model for top events query")
32
+ }).passthrough().describe("Response model for top events query")
33
33
  });
34
34
  //#endregion
35
35
  export { mixpanelQueryTopEvents };
@@ -1 +1 @@
1
- {"version":3,"file":"query-top-events.mjs","names":[],"sources":["../../src/actions/query-top-events.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelQueryTopEventsInput = z.object({\n type: z.enum([\"general\", \"unique\", \"average\"]).describe(\"The analysis type - general, unique, or average\"),\n limit: z.number().int().default(100).describe(\"Maximum number of events to return\").optional(),\n project_id: z.number().int().describe(\"The project identifier. Required if using service account to authenticate request\"),\n workspace_id: z.number().int().describe(\"The workspace identifier if applicable\").optional(),\n}).describe(\"Request model for querying top events\");\nconst MixpanelQueryTopEvents_AnalysisTypeSchema = z.enum([\"general\", \"unique\", \"average\"]).describe(\"Analysis types for Mixpanel event aggregation.\");\nconst MixpanelQueryTopEvents_EventItemSchema = z.object({\n event: z.string().describe(\"The name of the event\").nullable(),\n amount: z.number().describe(\"Number of events (integer for general/unique types, float for average type)\").nullable(),\n percent_change: z.number().describe(\"The percent change from yesterday\").nullable(),\n}).describe(\"Model for individual event in the response\");\nexport const MixpanelQueryTopEventsOutput = z.object({\n type: MixpanelQueryTopEvents_AnalysisTypeSchema.nullable(),\n events: z.array(MixpanelQueryTopEvents_EventItemSchema).describe(\"List of top events with their statistics\"),\n}).describe(\"Response model for top events query\");\n\nexport const mixpanelQueryTopEvents = action(\"MIXPANEL_QUERY_TOP_EVENTS\", {\n slug: \"mixpanel-query-top-events\",\n name: \"Query Top Events\",\n description: \"Get the top events for today, with their counts and the normalized percent change from yesterday. Use when you need to analyze today's event performance compared to yesterday.\",\n input: MixpanelQueryTopEventsInput,\n output: MixpanelQueryTopEventsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,MAAM,EAAE,KAAK;EAAC;EAAW;EAAU;CAAS,CAAC,CAAC,CAAC,SAAS,iDAAiD;CACzG,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF;CACzH,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,4CAA4C,EAAE,KAAK;CAAC;CAAW;CAAU;AAAS,CAAC,CAAC,CAAC,SAAS,gDAAgD;AACpJ,MAAM,yCAAyC,EAAE,OAAO;CACtD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC7D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACpH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAMxD,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV0C,EAAE,OAAO;EACnD,MAAM,0CAA0C,SAAS;EACzD,QAAQ,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,0CAA0C;CAC7G,CAAC,CAAC,CAAC,SAAS,qCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"query-top-events.mjs","names":[],"sources":["../../src/actions/query-top-events.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelQueryTopEventsInput = z.object({\n type: z.enum([\"general\", \"unique\", \"average\"]).describe(\"The analysis type - general, unique, or average\"),\n limit: z.number().int().default(100).describe(\"Maximum number of events to return\").optional(),\n project_id: z.number().int().describe(\"The project identifier. Required if using service account to authenticate request\"),\n workspace_id: z.number().int().describe(\"The workspace identifier if applicable\").optional(),\n}).describe(\"Request model for querying top events\");\nconst MixpanelQueryTopEvents_AnalysisTypeSchema = z.enum([\"general\", \"unique\", \"average\"]).describe(\"Analysis types for Mixpanel event aggregation.\");\nconst MixpanelQueryTopEvents_EventItemSchema = z.object({\n event: z.string().describe(\"The name of the event\").nullable(),\n amount: z.number().describe(\"Number of events (integer for general/unique types, float for average type)\").nullable(),\n percent_change: z.number().describe(\"The percent change from yesterday\").nullable(),\n}).passthrough().describe(\"Model for individual event in the response\");\nexport const MixpanelQueryTopEventsOutput = z.object({\n type: MixpanelQueryTopEvents_AnalysisTypeSchema.nullable(),\n events: z.array(MixpanelQueryTopEvents_EventItemSchema).describe(\"List of top events with their statistics\"),\n}).passthrough().describe(\"Response model for top events query\");\n\nexport const mixpanelQueryTopEvents = action(\"MIXPANEL_QUERY_TOP_EVENTS\", {\n slug: \"mixpanel-query-top-events\",\n name: \"Query Top Events\",\n description: \"Get the top events for today, with their counts and the normalized percent change from yesterday. Use when you need to analyze today's event performance compared to yesterday.\",\n input: MixpanelQueryTopEventsInput,\n output: MixpanelQueryTopEventsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,MAAM,EAAE,KAAK;EAAC;EAAW;EAAU;CAAS,CAAC,CAAC,CAAC,SAAS,iDAAiD;CACzG,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF;CACzH,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,4CAA4C,EAAE,KAAK;CAAC;CAAW;CAAU;AAAS,CAAC,CAAC,CAAC,SAAS,gDAAgD;AACpJ,MAAM,yCAAyC,EAAE,OAAO;CACtD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC7D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACpH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAMtE,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV0C,EAAE,OAAO;EACnD,MAAM,0CAA0C,SAAS;EACzD,QAAQ,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,0CAA0C;CAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAOhB;AACV,CAAC"}
@@ -6,12 +6,12 @@ const MixpanelRemoveFromGroupListPropertyInput = zod.z.object({ data: zod.z.arra
6
6
  remove: zod.z.record(zod.z.string(), zod.z.unknown()).describe("A JSON object containing key-value pairs where each key is a list property name and each value is the item to remove from that list property. If the value doesn't exist in the list, no updates are made."),
7
7
  group_id: zod.z.string().describe("The unique identifier for the group"),
8
8
  group_key: zod.z.string().describe("The group category/type (e.g., 'Company', 'Organization')")
9
- }).describe("Individual group profile update object for removing from list properties.")).describe("A list of group profile update objects. Each object must contain $token, $group_key, $group_id, and $remove properties.") }).describe("Request model for removing values from list properties on group profiles.");
9
+ }).passthrough().describe("Individual group profile update object for removing from list properties.")).describe("A list of group profile update objects. Each object must contain $token, $group_key, $group_id, and $remove properties.") }).describe("Request model for removing values from list properties on group profiles.");
10
10
  const MixpanelRemoveFromGroupListPropertyOutput = zod.z.object({
11
11
  code: zod.z.number().int().describe("HTTP status code (200 for success)").nullable().optional(),
12
12
  error: zod.z.string().describe("Error message if the request failed, null if successful.").nullable().optional(),
13
13
  status: zod.z.union([zod.z.string(), zod.z.number().int()])
14
- }).describe("Response model for group remove operation.");
14
+ }).passthrough().describe("Response model for group remove operation.");
15
15
  const mixpanelRemoveFromGroupListProperty = require_action.action("MIXPANEL_REMOVE_FROM_GROUP_LIST_PROPERTY", {
16
16
  slug: "mixpanel-remove-from-group-list-property",
17
17
  name: "Remove from Group List Property",
@@ -1 +1 @@
1
- {"version":3,"file":"remove-from-group-list-property.cjs","names":["z","action"],"sources":["../../src/actions/remove-from-group-list-property.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelRemoveFromGroupListPropertyInput = z.object({\n data: z.array(z.object({\n token: z.string().describe(\"Your Mixpanel project authentication token\"),\n remove: z.record(z.string(), z.unknown()).describe(\"A JSON object containing key-value pairs where each key is a list property name and each value is the item to remove from that list property. If the value doesn't exist in the list, no updates are made.\"),\n group_id: z.string().describe(\"The unique identifier for the group\"),\n group_key: z.string().describe(\"The group category/type (e.g., 'Company', 'Organization')\"),\n}).describe(\"Individual group profile update object for removing from list properties.\")).describe(\"A list of group profile update objects. Each object must contain $token, $group_key, $group_id, and $remove properties.\"),\n}).describe(\"Request model for removing values from list properties on group profiles.\");\nexport const MixpanelRemoveFromGroupListPropertyOutput = z.object({\n code: z.number().int().describe(\"HTTP status code (200 for success)\").nullable().optional(),\n error: z.string().describe(\"Error message if the request failed, null if successful.\").nullable().optional(),\n status: z.union([z.string(), z.number().int()]),\n}).describe(\"Response model for group remove operation.\");\n\nexport const mixpanelRemoveFromGroupListProperty = action(\"MIXPANEL_REMOVE_FROM_GROUP_LIST_PROPERTY\", {\n slug: \"mixpanel-remove-from-group-list-property\",\n name: \"Remove from Group List Property\",\n description: \"Tool to remove values from list properties on group profiles in Mixpanel. Use when you need to remove specific items from list-type properties on groups (companies, organizations, etc.). If the value doesn't exist in the list, no updates are made. If the property doesn't exist or is not list-valued, the operation is ignored.\",\n input: MixpanelRemoveFromGroupListPropertyInput,\n output: MixpanelRemoveFromGroupListPropertyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAA2CA,IAAAA,EAAE,OAAO,EAC/D,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;CACvB,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACvE,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4MAA4M;CAC/P,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CACnE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;AAC5F,CAAC,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,CAAC,SAAS,yHAAyH,EAC5N,CAAC,CAAC,CAAC,SAAS,2EAA2E;AACvF,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,QAAQA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;AAChD,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAExD,MAAa,sCAAsCC,eAAAA,OAAO,4CAA4C;CACpG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"remove-from-group-list-property.cjs","names":["z","action"],"sources":["../../src/actions/remove-from-group-list-property.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelRemoveFromGroupListPropertyInput = z.object({\n data: z.array(z.object({\n token: z.string().describe(\"Your Mixpanel project authentication token\"),\n remove: z.record(z.string(), z.unknown()).describe(\"A JSON object containing key-value pairs where each key is a list property name and each value is the item to remove from that list property. If the value doesn't exist in the list, no updates are made.\"),\n group_id: z.string().describe(\"The unique identifier for the group\"),\n group_key: z.string().describe(\"The group category/type (e.g., 'Company', 'Organization')\"),\n}).passthrough().describe(\"Individual group profile update object for removing from list properties.\")).describe(\"A list of group profile update objects. Each object must contain $token, $group_key, $group_id, and $remove properties.\"),\n}).describe(\"Request model for removing values from list properties on group profiles.\");\nexport const MixpanelRemoveFromGroupListPropertyOutput = z.object({\n code: z.number().int().describe(\"HTTP status code (200 for success)\").nullable().optional(),\n error: z.string().describe(\"Error message if the request failed, null if successful.\").nullable().optional(),\n status: z.union([z.string(), z.number().int()]),\n}).passthrough().describe(\"Response model for group remove operation.\");\n\nexport const mixpanelRemoveFromGroupListProperty = action(\"MIXPANEL_REMOVE_FROM_GROUP_LIST_PROPERTY\", {\n slug: \"mixpanel-remove-from-group-list-property\",\n name: \"Remove from Group List Property\",\n description: \"Tool to remove values from list properties on group profiles in Mixpanel. Use when you need to remove specific items from list-type properties on groups (companies, organizations, etc.). If the value doesn't exist in the list, no updates are made. If the property doesn't exist or is not list-valued, the operation is ignored.\",\n input: MixpanelRemoveFromGroupListPropertyInput,\n output: MixpanelRemoveFromGroupListPropertyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAA2CA,IAAAA,EAAE,OAAO,EAC/D,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;CACvB,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACvE,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4MAA4M;CAC/P,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CACnE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,CAAC,SAAS,yHAAyH,EAC1O,CAAC,CAAC,CAAC,SAAS,2EAA2E;AACvF,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,QAAQA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;AAChD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,sCAAsCC,eAAAA,OAAO,4CAA4C;CACpG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -7,15 +7,16 @@ declare const MixpanelRemoveFromGroupListPropertyInput: z.ZodObject<{
7
7
  remove: z.ZodRecord<z.ZodString, z.ZodUnknown>;
8
8
  group_id: z.ZodString;
9
9
  group_key: z.ZodString;
10
- }, z.core.$strip>>;
10
+ }, z.core.$loose>>;
11
11
  }, z.core.$strip>;
12
12
  declare const MixpanelRemoveFromGroupListPropertyOutput: z.ZodObject<{
13
13
  code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
14
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
15
  status: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
16
- }, z.core.$strip>;
16
+ }, z.core.$loose>;
17
17
  declare const mixpanelRemoveFromGroupListProperty: import("@keystrokehq/action").WorkflowActionDefinition<{
18
18
  data: {
19
+ [x: string]: unknown;
19
20
  token: string;
20
21
  remove: Record<string, unknown>;
21
22
  group_id: string;
@@ -1 +1 @@
1
- {"version":3,"file":"remove-from-group-list-property.d.cts","names":[],"sources":["../../src/actions/remove-from-group-list-property.ts"],"mappings":";;;cAIa,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;cAQxC,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;cAMzC,mCAAA,gCAAmC,wBAAA;;;YAM9C,MAAA"}
1
+ {"version":3,"file":"remove-from-group-list-property.d.cts","names":[],"sources":["../../src/actions/remove-from-group-list-property.ts"],"mappings":";;;cAIa,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;cAQxC,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;cAMzC,mCAAA,gCAAmC,wBAAA;;;;YAM9C,MAAA"}
@@ -7,15 +7,16 @@ declare const MixpanelRemoveFromGroupListPropertyInput: z.ZodObject<{
7
7
  remove: z.ZodRecord<z.ZodString, z.ZodUnknown>;
8
8
  group_id: z.ZodString;
9
9
  group_key: z.ZodString;
10
- }, z.core.$strip>>;
10
+ }, z.core.$loose>>;
11
11
  }, z.core.$strip>;
12
12
  declare const MixpanelRemoveFromGroupListPropertyOutput: z.ZodObject<{
13
13
  code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
14
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
15
  status: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
16
- }, z.core.$strip>;
16
+ }, z.core.$loose>;
17
17
  declare const mixpanelRemoveFromGroupListProperty: import("@keystrokehq/action").WorkflowActionDefinition<{
18
18
  data: {
19
+ [x: string]: unknown;
19
20
  token: string;
20
21
  remove: Record<string, unknown>;
21
22
  group_id: string;
@@ -1 +1 @@
1
- {"version":3,"file":"remove-from-group-list-property.d.mts","names":[],"sources":["../../src/actions/remove-from-group-list-property.ts"],"mappings":";;;cAIa,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;cAQxC,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;cAMzC,mCAAA,gCAAmC,wBAAA;;;YAM9C,MAAA"}
1
+ {"version":3,"file":"remove-from-group-list-property.d.mts","names":[],"sources":["../../src/actions/remove-from-group-list-property.ts"],"mappings":";;;cAIa,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;cAQxC,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;cAMzC,mCAAA,gCAAmC,wBAAA;;;;YAM9C,MAAA"}
@@ -9,12 +9,12 @@ const mixpanelRemoveFromGroupListProperty = action("MIXPANEL_REMOVE_FROM_GROUP_L
9
9
  remove: z.record(z.string(), z.unknown()).describe("A JSON object containing key-value pairs where each key is a list property name and each value is the item to remove from that list property. If the value doesn't exist in the list, no updates are made."),
10
10
  group_id: z.string().describe("The unique identifier for the group"),
11
11
  group_key: z.string().describe("The group category/type (e.g., 'Company', 'Organization')")
12
- }).describe("Individual group profile update object for removing from list properties.")).describe("A list of group profile update objects. Each object must contain $token, $group_key, $group_id, and $remove properties.") }).describe("Request model for removing values from list properties on group profiles."),
12
+ }).passthrough().describe("Individual group profile update object for removing from list properties.")).describe("A list of group profile update objects. Each object must contain $token, $group_key, $group_id, and $remove properties.") }).describe("Request model for removing values from list properties on group profiles."),
13
13
  output: z.object({
14
14
  code: z.number().int().describe("HTTP status code (200 for success)").nullable().optional(),
15
15
  error: z.string().describe("Error message if the request failed, null if successful.").nullable().optional(),
16
16
  status: z.union([z.string(), z.number().int()])
17
- }).describe("Response model for group remove operation.")
17
+ }).passthrough().describe("Response model for group remove operation.")
18
18
  });
19
19
  //#endregion
20
20
  export { mixpanelRemoveFromGroupListProperty };
@@ -1 +1 @@
1
- {"version":3,"file":"remove-from-group-list-property.mjs","names":[],"sources":["../../src/actions/remove-from-group-list-property.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelRemoveFromGroupListPropertyInput = z.object({\n data: z.array(z.object({\n token: z.string().describe(\"Your Mixpanel project authentication token\"),\n remove: z.record(z.string(), z.unknown()).describe(\"A JSON object containing key-value pairs where each key is a list property name and each value is the item to remove from that list property. If the value doesn't exist in the list, no updates are made.\"),\n group_id: z.string().describe(\"The unique identifier for the group\"),\n group_key: z.string().describe(\"The group category/type (e.g., 'Company', 'Organization')\"),\n}).describe(\"Individual group profile update object for removing from list properties.\")).describe(\"A list of group profile update objects. Each object must contain $token, $group_key, $group_id, and $remove properties.\"),\n}).describe(\"Request model for removing values from list properties on group profiles.\");\nexport const MixpanelRemoveFromGroupListPropertyOutput = z.object({\n code: z.number().int().describe(\"HTTP status code (200 for success)\").nullable().optional(),\n error: z.string().describe(\"Error message if the request failed, null if successful.\").nullable().optional(),\n status: z.union([z.string(), z.number().int()]),\n}).describe(\"Response model for group remove operation.\");\n\nexport const mixpanelRemoveFromGroupListProperty = action(\"MIXPANEL_REMOVE_FROM_GROUP_LIST_PROPERTY\", {\n slug: \"mixpanel-remove-from-group-list-property\",\n name: \"Remove from Group List Property\",\n description: \"Tool to remove values from list properties on group profiles in Mixpanel. Use when you need to remove specific items from list-type properties on groups (companies, organizations, etc.). If the value doesn't exist in the list, no updates are made. If the property doesn't exist or is not list-valued, the operation is ignored.\",\n input: MixpanelRemoveFromGroupListPropertyInput,\n output: MixpanelRemoveFromGroupListPropertyOutput,\n});\n"],"mappings":";;AAkBA,MAAa,sCAAsC,OAAO,4CAA4C;CACpG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBsD,EAAE,OAAO,EAC/D,MAAM,EAAE,MAAM,EAAE,OAAO;EACvB,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EACvE,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4MAA4M;EAC/P,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;EACnE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CAC5F,CAAC,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,CAAC,SAAS,yHAAyH,EAC5N,CAAC,CAAC,CAAC,SAAS,2EAWH;CACP,QAXuD,EAAE,OAAO;EAChE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,QAAQ,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;CAChD,CAAC,CAAC,CAAC,SAAS,4CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"remove-from-group-list-property.mjs","names":[],"sources":["../../src/actions/remove-from-group-list-property.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelRemoveFromGroupListPropertyInput = z.object({\n data: z.array(z.object({\n token: z.string().describe(\"Your Mixpanel project authentication token\"),\n remove: z.record(z.string(), z.unknown()).describe(\"A JSON object containing key-value pairs where each key is a list property name and each value is the item to remove from that list property. If the value doesn't exist in the list, no updates are made.\"),\n group_id: z.string().describe(\"The unique identifier for the group\"),\n group_key: z.string().describe(\"The group category/type (e.g., 'Company', 'Organization')\"),\n}).passthrough().describe(\"Individual group profile update object for removing from list properties.\")).describe(\"A list of group profile update objects. Each object must contain $token, $group_key, $group_id, and $remove properties.\"),\n}).describe(\"Request model for removing values from list properties on group profiles.\");\nexport const MixpanelRemoveFromGroupListPropertyOutput = z.object({\n code: z.number().int().describe(\"HTTP status code (200 for success)\").nullable().optional(),\n error: z.string().describe(\"Error message if the request failed, null if successful.\").nullable().optional(),\n status: z.union([z.string(), z.number().int()]),\n}).passthrough().describe(\"Response model for group remove operation.\");\n\nexport const mixpanelRemoveFromGroupListProperty = action(\"MIXPANEL_REMOVE_FROM_GROUP_LIST_PROPERTY\", {\n slug: \"mixpanel-remove-from-group-list-property\",\n name: \"Remove from Group List Property\",\n description: \"Tool to remove values from list properties on group profiles in Mixpanel. Use when you need to remove specific items from list-type properties on groups (companies, organizations, etc.). If the value doesn't exist in the list, no updates are made. If the property doesn't exist or is not list-valued, the operation is ignored.\",\n input: MixpanelRemoveFromGroupListPropertyInput,\n output: MixpanelRemoveFromGroupListPropertyOutput,\n});\n"],"mappings":";;AAkBA,MAAa,sCAAsC,OAAO,4CAA4C;CACpG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBsD,EAAE,OAAO,EAC/D,MAAM,EAAE,MAAM,EAAE,OAAO;EACvB,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EACvE,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4MAA4M;EAC/P,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;EACnE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,CAAC,SAAS,yHAAyH,EAC1O,CAAC,CAAC,CAAC,SAAS,2EAWH;CACP,QAXuD,EAAE,OAAO;EAChE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,QAAQ,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;CAChD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAOhB;AACV,CAAC"}
@@ -12,7 +12,7 @@ const MixpanelRemoveFromListPropertyInput = zod.z.object({
12
12
  const MixpanelRemoveFromListPropertyOutput = zod.z.object({
13
13
  error: zod.z.string().describe("Error message if the request failed, null if successful.").nullable().optional(),
14
14
  status: zod.z.union([zod.z.string(), zod.z.number().int()])
15
- }).describe("Response model for remove from list property operation.");
15
+ }).passthrough().describe("Response model for remove from list property operation.");
16
16
  const mixpanelRemoveFromListProperty = require_action.action("MIXPANEL_REMOVE_FROM_LIST_PROPERTY", {
17
17
  slug: "mixpanel-remove-from-list-property",
18
18
  name: "Remove from Profile List Property",
@@ -1 +1 @@
1
- {"version":3,"file":"remove-from-list-property.cjs","names":["z","action"],"sources":["../../src/actions/remove-from-list-property.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelRemoveFromListPropertyInput = z.object({\n ip: z.string().describe(\"IP address for geolocation enrichment. Set to '0' to prevent updating geolocation data. If not provided, Mixpanel uses the request IP. Geolocation properties ($city, $region, mp_country_code) are derived and the IP is discarded.\").optional(),\n time: z.number().int().describe(\"Unix timestamp (seconds since epoch) indicating when the profile update occurred. Defaults to the current server time if not provided.\").optional(),\n token: z.string().describe(\"Your Mixpanel project authentication token. Required for authenticating the request.\"),\n distinct_id: z.string().describe(\"The unique identifier for the user profile to update. This determines which profile will be modified.\"),\n ignore_time: z.boolean().describe(\"If true, prevents Mixpanel from automatically updating the 'Last Seen' property. Defaults to false.\").optional(),\n remove_properties: z.record(z.string(), z.unknown()).describe(\"A dictionary of list properties and values to remove. Each key is a property name and each value is the item to remove from that list property. If the value doesn't exist in the list, no action is taken.\"),\n}).describe(\"Request model for removing values from list properties on user profiles.\");\nexport const MixpanelRemoveFromListPropertyOutput = z.object({\n error: z.string().describe(\"Error message if the request failed, null if successful.\").nullable().optional(),\n status: z.union([z.string(), z.number().int()]),\n}).describe(\"Response model for remove from list property operation.\");\n\nexport const mixpanelRemoveFromListProperty = action(\"MIXPANEL_REMOVE_FROM_LIST_PROPERTY\", {\n slug: \"mixpanel-remove-from-list-property\",\n name: \"Remove from Profile List Property\",\n description: \"Tool to remove values from list properties on user profiles in Mixpanel using the $remove operation. Use when you need to remove specific items from list-type properties. If the value doesn't exist in the list, no action is taken. The profile will be created if it doesn't exist.\",\n input: MixpanelRemoveFromListPropertyInput,\n output: MixpanelRemoveFromListPropertyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sOAAsO,CAAC,CAAC,SAAS;CACzQ,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;CACnL,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF;CACjH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;CACxI,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAClJ,mBAAmBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6MAA6M;AAC7Q,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,QAAQA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;AAChD,CAAC,CAAC,CAAC,SAAS,yDAAyD;AAErE,MAAa,iCAAiCC,eAAAA,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"remove-from-list-property.cjs","names":["z","action"],"sources":["../../src/actions/remove-from-list-property.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelRemoveFromListPropertyInput = z.object({\n ip: z.string().describe(\"IP address for geolocation enrichment. Set to '0' to prevent updating geolocation data. If not provided, Mixpanel uses the request IP. Geolocation properties ($city, $region, mp_country_code) are derived and the IP is discarded.\").optional(),\n time: z.number().int().describe(\"Unix timestamp (seconds since epoch) indicating when the profile update occurred. Defaults to the current server time if not provided.\").optional(),\n token: z.string().describe(\"Your Mixpanel project authentication token. Required for authenticating the request.\"),\n distinct_id: z.string().describe(\"The unique identifier for the user profile to update. This determines which profile will be modified.\"),\n ignore_time: z.boolean().describe(\"If true, prevents Mixpanel from automatically updating the 'Last Seen' property. Defaults to false.\").optional(),\n remove_properties: z.record(z.string(), z.unknown()).describe(\"A dictionary of list properties and values to remove. Each key is a property name and each value is the item to remove from that list property. If the value doesn't exist in the list, no action is taken.\"),\n}).describe(\"Request model for removing values from list properties on user profiles.\");\nexport const MixpanelRemoveFromListPropertyOutput = z.object({\n error: z.string().describe(\"Error message if the request failed, null if successful.\").nullable().optional(),\n status: z.union([z.string(), z.number().int()]),\n}).passthrough().describe(\"Response model for remove from list property operation.\");\n\nexport const mixpanelRemoveFromListProperty = action(\"MIXPANEL_REMOVE_FROM_LIST_PROPERTY\", {\n slug: \"mixpanel-remove-from-list-property\",\n name: \"Remove from Profile List Property\",\n description: \"Tool to remove values from list properties on user profiles in Mixpanel using the $remove operation. Use when you need to remove specific items from list-type properties. If the value doesn't exist in the list, no action is taken. The profile will be created if it doesn't exist.\",\n input: MixpanelRemoveFromListPropertyInput,\n output: MixpanelRemoveFromListPropertyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sOAAsO,CAAC,CAAC,SAAS;CACzQ,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;CACnL,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF;CACjH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;CACxI,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAClJ,mBAAmBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6MAA6M;AAC7Q,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,QAAQA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;AAChD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAEnF,MAAa,iCAAiCC,eAAAA,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -12,7 +12,7 @@ declare const MixpanelRemoveFromListPropertyInput: z.ZodObject<{
12
12
  declare const MixpanelRemoveFromListPropertyOutput: z.ZodObject<{
13
13
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
14
  status: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
15
- }, z.core.$strip>;
15
+ }, z.core.$loose>;
16
16
  declare const mixpanelRemoveFromListProperty: import("@keystrokehq/action").WorkflowActionDefinition<{
17
17
  token: string;
18
18
  distinct_id: string;
@@ -12,7 +12,7 @@ declare const MixpanelRemoveFromListPropertyInput: z.ZodObject<{
12
12
  declare const MixpanelRemoveFromListPropertyOutput: z.ZodObject<{
13
13
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
14
  status: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
15
- }, z.core.$strip>;
15
+ }, z.core.$loose>;
16
16
  declare const mixpanelRemoveFromListProperty: import("@keystrokehq/action").WorkflowActionDefinition<{
17
17
  token: string;
18
18
  distinct_id: string;
@@ -15,7 +15,7 @@ const mixpanelRemoveFromListProperty = action("MIXPANEL_REMOVE_FROM_LIST_PROPERT
15
15
  output: z.object({
16
16
  error: z.string().describe("Error message if the request failed, null if successful.").nullable().optional(),
17
17
  status: z.union([z.string(), z.number().int()])
18
- }).describe("Response model for remove from list property operation.")
18
+ }).passthrough().describe("Response model for remove from list property operation.")
19
19
  });
20
20
  //#endregion
21
21
  export { mixpanelRemoveFromListProperty };
@@ -1 +1 @@
1
- {"version":3,"file":"remove-from-list-property.mjs","names":[],"sources":["../../src/actions/remove-from-list-property.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelRemoveFromListPropertyInput = z.object({\n ip: z.string().describe(\"IP address for geolocation enrichment. Set to '0' to prevent updating geolocation data. If not provided, Mixpanel uses the request IP. Geolocation properties ($city, $region, mp_country_code) are derived and the IP is discarded.\").optional(),\n time: z.number().int().describe(\"Unix timestamp (seconds since epoch) indicating when the profile update occurred. Defaults to the current server time if not provided.\").optional(),\n token: z.string().describe(\"Your Mixpanel project authentication token. Required for authenticating the request.\"),\n distinct_id: z.string().describe(\"The unique identifier for the user profile to update. This determines which profile will be modified.\"),\n ignore_time: z.boolean().describe(\"If true, prevents Mixpanel from automatically updating the 'Last Seen' property. Defaults to false.\").optional(),\n remove_properties: z.record(z.string(), z.unknown()).describe(\"A dictionary of list properties and values to remove. Each key is a property name and each value is the item to remove from that list property. If the value doesn't exist in the list, no action is taken.\"),\n}).describe(\"Request model for removing values from list properties on user profiles.\");\nexport const MixpanelRemoveFromListPropertyOutput = z.object({\n error: z.string().describe(\"Error message if the request failed, null if successful.\").nullable().optional(),\n status: z.union([z.string(), z.number().int()]),\n}).describe(\"Response model for remove from list property operation.\");\n\nexport const mixpanelRemoveFromListProperty = action(\"MIXPANEL_REMOVE_FROM_LIST_PROPERTY\", {\n slug: \"mixpanel-remove-from-list-property\",\n name: \"Remove from Profile List Property\",\n description: \"Tool to remove values from list properties on user profiles in Mixpanel using the $remove operation. Use when you need to remove specific items from list-type properties. If the value doesn't exist in the list, no action is taken. The profile will be created if it doesn't exist.\",\n input: MixpanelRemoveFromListPropertyInput,\n output: MixpanelRemoveFromListPropertyOutput,\n});\n"],"mappings":";;AAiBA,MAAa,iCAAiC,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBiD,EAAE,OAAO;EAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sOAAsO,CAAC,CAAC,SAAS;EACzQ,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;EACnL,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF;EACjH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;EACxI,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;EAClJ,mBAAmB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6MAA6M;CAC7Q,CAAC,CAAC,CAAC,SAAS,0EAUH;CACP,QAVkD,EAAE,OAAO;EAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,QAAQ,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;CAChD,CAAC,CAAC,CAAC,SAAS,yDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"remove-from-list-property.mjs","names":[],"sources":["../../src/actions/remove-from-list-property.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelRemoveFromListPropertyInput = z.object({\n ip: z.string().describe(\"IP address for geolocation enrichment. Set to '0' to prevent updating geolocation data. If not provided, Mixpanel uses the request IP. Geolocation properties ($city, $region, mp_country_code) are derived and the IP is discarded.\").optional(),\n time: z.number().int().describe(\"Unix timestamp (seconds since epoch) indicating when the profile update occurred. Defaults to the current server time if not provided.\").optional(),\n token: z.string().describe(\"Your Mixpanel project authentication token. Required for authenticating the request.\"),\n distinct_id: z.string().describe(\"The unique identifier for the user profile to update. This determines which profile will be modified.\"),\n ignore_time: z.boolean().describe(\"If true, prevents Mixpanel from automatically updating the 'Last Seen' property. Defaults to false.\").optional(),\n remove_properties: z.record(z.string(), z.unknown()).describe(\"A dictionary of list properties and values to remove. Each key is a property name and each value is the item to remove from that list property. If the value doesn't exist in the list, no action is taken.\"),\n}).describe(\"Request model for removing values from list properties on user profiles.\");\nexport const MixpanelRemoveFromListPropertyOutput = z.object({\n error: z.string().describe(\"Error message if the request failed, null if successful.\").nullable().optional(),\n status: z.union([z.string(), z.number().int()]),\n}).passthrough().describe(\"Response model for remove from list property operation.\");\n\nexport const mixpanelRemoveFromListProperty = action(\"MIXPANEL_REMOVE_FROM_LIST_PROPERTY\", {\n slug: \"mixpanel-remove-from-list-property\",\n name: \"Remove from Profile List Property\",\n description: \"Tool to remove values from list properties on user profiles in Mixpanel using the $remove operation. Use when you need to remove specific items from list-type properties. If the value doesn't exist in the list, no action is taken. The profile will be created if it doesn't exist.\",\n input: MixpanelRemoveFromListPropertyInput,\n output: MixpanelRemoveFromListPropertyOutput,\n});\n"],"mappings":";;AAiBA,MAAa,iCAAiC,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBiD,EAAE,OAAO;EAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sOAAsO,CAAC,CAAC,SAAS;EACzQ,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;EACnL,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF;EACjH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;EACxI,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;EAClJ,mBAAmB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6MAA6M;CAC7Q,CAAC,CAAC,CAAC,SAAS,0EAUH;CACP,QAVkD,EAAE,OAAO;EAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,QAAQ,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;CAChD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAOhB;AACV,CAAC"}
@@ -23,9 +23,9 @@ const MixpanelSegmentationNumericQueryInput = zod.z.object({
23
23
  workspace_id: zod.z.number().int().describe("The id of the workspace if applicable").optional()
24
24
  }).describe("Request model for numeric bucketing segmentation query");
25
25
  const MixpanelSegmentationNumericQueryOutput = zod.z.object({
26
- data: zod.z.object({}).describe("Contains bucketed numeric results with segmentation data including series and values"),
26
+ data: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Contains bucketed numeric results with segmentation data including series and values"),
27
27
  legend_size: zod.z.number().int().describe("Number of legend items in the response").nullable().optional()
28
- }).describe("Response model for numeric bucketing segmentation query");
28
+ }).passthrough().describe("Response model for numeric bucketing segmentation query");
29
29
  const mixpanelSegmentationNumericQuery = require_action.action("MIXPANEL_SEGMENTATION_NUMERIC_QUERY", {
30
30
  slug: "mixpanel-segmentation-numeric-query",
31
31
  name: "Numeric Bucket Segmentation Query",
@@ -1 +1 @@
1
- {"version":3,"file":"segmentation-numeric-query.cjs","names":["z","action"],"sources":["../../src/actions/segmentation-numeric-query.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelSegmentationNumericQueryInput = z.object({\n on: z.string().describe(\"The numeric property expression to bucket by. Use format like 'number(property_name)' or numeric expressions\"),\n type: z.enum([\"general\", \"unique\", \"average\"]).default(\"general\").describe(\"Analysis types for Mixpanel event aggregation.\").optional(),\n unit: z.enum([\"hour\", \"day\", \"week\", \"month\"]).describe(\"Longer time units for certain analytics.\").optional(),\n event: z.string().describe(\"The event name to get data for\"),\n where: z.string().describe(\"An expression to filter events by (e.g., 'properties[\\\"country\\\"] == \\\"US\\\"')\").optional(),\n to_date: z.string().describe(\"The date in yyyy-mm-dd format to query to (inclusive)\"),\n from_date: z.string().describe(\"The date in yyyy-mm-dd format to begin querying from (inclusive)\"),\n project_id: z.number().int().describe(\"Required if using service account to authenticate request\"),\n bucket_size: z.number().int().describe(\"Size of numeric buckets for grouping values. If not specified, Mixpanel will automatically determine bucket size\").optional(),\n workspace_id: z.number().int().describe(\"The id of the workspace if applicable\").optional(),\n}).describe(\"Request model for numeric bucketing segmentation query\");\nexport const MixpanelSegmentationNumericQueryOutput = z.object({\n data: z.object({}).describe(\"Contains bucketed numeric results with segmentation data including series and values\"),\n legend_size: z.number().int().describe(\"Number of legend items in the response\").nullable().optional(),\n}).describe(\"Response model for numeric bucketing segmentation query\");\n\nexport const mixpanelSegmentationNumericQuery = action(\"MIXPANEL_SEGMENTATION_NUMERIC_QUERY\", {\n slug: \"mixpanel-segmentation-numeric-query\",\n name: \"Numeric Bucket Segmentation Query\",\n description: \"Tool to get event data numerically bucketed by property values. Use when you need to analyze distributions of numeric properties like revenue, session duration, or counts with automatic bucketing.\",\n input: MixpanelSegmentationNumericQueryInput,\n output: MixpanelSegmentationNumericQueryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G;CACtI,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAU;CAAS,CAAC,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACtI,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAO;EAAQ;CAAO,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC7G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACrH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACpF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;CACjG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;CACjG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;CACpK,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sFAAsF;CAClH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,SAAS,yDAAyD;AAErE,MAAa,mCAAmCC,eAAAA,OAAO,uCAAuC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"segmentation-numeric-query.cjs","names":["z","action"],"sources":["../../src/actions/segmentation-numeric-query.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelSegmentationNumericQueryInput = z.object({\n on: z.string().describe(\"The numeric property expression to bucket by. Use format like 'number(property_name)' or numeric expressions\"),\n type: z.enum([\"general\", \"unique\", \"average\"]).default(\"general\").describe(\"Analysis types for Mixpanel event aggregation.\").optional(),\n unit: z.enum([\"hour\", \"day\", \"week\", \"month\"]).describe(\"Longer time units for certain analytics.\").optional(),\n event: z.string().describe(\"The event name to get data for\"),\n where: z.string().describe(\"An expression to filter events by (e.g., 'properties[\\\"country\\\"] == \\\"US\\\"')\").optional(),\n to_date: z.string().describe(\"The date in yyyy-mm-dd format to query to (inclusive)\"),\n from_date: z.string().describe(\"The date in yyyy-mm-dd format to begin querying from (inclusive)\"),\n project_id: z.number().int().describe(\"Required if using service account to authenticate request\"),\n bucket_size: z.number().int().describe(\"Size of numeric buckets for grouping values. If not specified, Mixpanel will automatically determine bucket size\").optional(),\n workspace_id: z.number().int().describe(\"The id of the workspace if applicable\").optional(),\n}).describe(\"Request model for numeric bucketing segmentation query\");\nexport const MixpanelSegmentationNumericQueryOutput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Contains bucketed numeric results with segmentation data including series and values\"),\n legend_size: z.number().int().describe(\"Number of legend items in the response\").nullable().optional(),\n}).passthrough().describe(\"Response model for numeric bucketing segmentation query\");\n\nexport const mixpanelSegmentationNumericQuery = action(\"MIXPANEL_SEGMENTATION_NUMERIC_QUERY\", {\n slug: \"mixpanel-segmentation-numeric-query\",\n name: \"Numeric Bucket Segmentation Query\",\n description: \"Tool to get event data numerically bucketed by property values. Use when you need to analyze distributions of numeric properties like revenue, session duration, or counts with automatic bucketing.\",\n input: MixpanelSegmentationNumericQueryInput,\n output: MixpanelSegmentationNumericQueryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G;CACtI,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAU;CAAS,CAAC,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACtI,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAO;EAAQ;CAAO,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC7G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACrH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACpF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;CACjG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;CACjG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;CACpK,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sFAAsF;CACvI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAEnF,MAAa,mCAAmCC,eAAAA,OAAO,uCAAuC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -23,9 +23,9 @@ declare const MixpanelSegmentationNumericQueryInput: z.ZodObject<{
23
23
  workspace_id: z.ZodOptional<z.ZodNumber>;
24
24
  }, z.core.$strip>;
25
25
  declare const MixpanelSegmentationNumericQueryOutput: z.ZodObject<{
26
- data: z.ZodObject<{}, z.core.$strip>;
26
+ data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
27
27
  legend_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
28
- }, z.core.$strip>;
28
+ }, z.core.$loose>;
29
29
  declare const mixpanelSegmentationNumericQuery: import("@keystrokehq/action").WorkflowActionDefinition<{
30
30
  on: string;
31
31
  event: string;
@@ -23,9 +23,9 @@ declare const MixpanelSegmentationNumericQueryInput: z.ZodObject<{
23
23
  workspace_id: z.ZodOptional<z.ZodNumber>;
24
24
  }, z.core.$strip>;
25
25
  declare const MixpanelSegmentationNumericQueryOutput: z.ZodObject<{
26
- data: z.ZodObject<{}, z.core.$strip>;
26
+ data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
27
27
  legend_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
28
- }, z.core.$strip>;
28
+ }, z.core.$loose>;
29
29
  declare const mixpanelSegmentationNumericQuery: import("@keystrokehq/action").WorkflowActionDefinition<{
30
30
  on: string;
31
31
  event: string;
@@ -26,9 +26,9 @@ const mixpanelSegmentationNumericQuery = action("MIXPANEL_SEGMENTATION_NUMERIC_Q
26
26
  workspace_id: z.number().int().describe("The id of the workspace if applicable").optional()
27
27
  }).describe("Request model for numeric bucketing segmentation query"),
28
28
  output: z.object({
29
- data: z.object({}).describe("Contains bucketed numeric results with segmentation data including series and values"),
29
+ data: z.record(z.string(), z.unknown()).describe("Contains bucketed numeric results with segmentation data including series and values"),
30
30
  legend_size: z.number().int().describe("Number of legend items in the response").nullable().optional()
31
- }).describe("Response model for numeric bucketing segmentation query")
31
+ }).passthrough().describe("Response model for numeric bucketing segmentation query")
32
32
  });
33
33
  //#endregion
34
34
  export { mixpanelSegmentationNumericQuery };
@@ -1 +1 @@
1
- {"version":3,"file":"segmentation-numeric-query.mjs","names":[],"sources":["../../src/actions/segmentation-numeric-query.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelSegmentationNumericQueryInput = z.object({\n on: z.string().describe(\"The numeric property expression to bucket by. Use format like 'number(property_name)' or numeric expressions\"),\n type: z.enum([\"general\", \"unique\", \"average\"]).default(\"general\").describe(\"Analysis types for Mixpanel event aggregation.\").optional(),\n unit: z.enum([\"hour\", \"day\", \"week\", \"month\"]).describe(\"Longer time units for certain analytics.\").optional(),\n event: z.string().describe(\"The event name to get data for\"),\n where: z.string().describe(\"An expression to filter events by (e.g., 'properties[\\\"country\\\"] == \\\"US\\\"')\").optional(),\n to_date: z.string().describe(\"The date in yyyy-mm-dd format to query to (inclusive)\"),\n from_date: z.string().describe(\"The date in yyyy-mm-dd format to begin querying from (inclusive)\"),\n project_id: z.number().int().describe(\"Required if using service account to authenticate request\"),\n bucket_size: z.number().int().describe(\"Size of numeric buckets for grouping values. If not specified, Mixpanel will automatically determine bucket size\").optional(),\n workspace_id: z.number().int().describe(\"The id of the workspace if applicable\").optional(),\n}).describe(\"Request model for numeric bucketing segmentation query\");\nexport const MixpanelSegmentationNumericQueryOutput = z.object({\n data: z.object({}).describe(\"Contains bucketed numeric results with segmentation data including series and values\"),\n legend_size: z.number().int().describe(\"Number of legend items in the response\").nullable().optional(),\n}).describe(\"Response model for numeric bucketing segmentation query\");\n\nexport const mixpanelSegmentationNumericQuery = action(\"MIXPANEL_SEGMENTATION_NUMERIC_QUERY\", {\n slug: \"mixpanel-segmentation-numeric-query\",\n name: \"Numeric Bucket Segmentation Query\",\n description: \"Tool to get event data numerically bucketed by property values. Use when you need to analyze distributions of numeric properties like revenue, session duration, or counts with automatic bucketing.\",\n input: MixpanelSegmentationNumericQueryInput,\n output: MixpanelSegmentationNumericQueryOutput,\n});\n"],"mappings":";;AAqBA,MAAa,mCAAmC,OAAO,uCAAuC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArBmD,EAAE,OAAO;EAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G;EACtI,MAAM,EAAE,KAAK;GAAC;GAAW;GAAU;EAAS,CAAC,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EACtI,MAAM,EAAE,KAAK;GAAC;GAAQ;GAAO;GAAQ;EAAO,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EAC7G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;EAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;EACrH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;EACpF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;EACjG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;EACjG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;EACpK,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC5F,CAAC,CAAC,CAAC,SAAS,wDAUH;CACP,QAVoD,EAAE,OAAO;EAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sFAAsF;EAClH,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,CAAC,CAAC,CAAC,SAAS,yDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"segmentation-numeric-query.mjs","names":[],"sources":["../../src/actions/segmentation-numeric-query.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelSegmentationNumericQueryInput = z.object({\n on: z.string().describe(\"The numeric property expression to bucket by. Use format like 'number(property_name)' or numeric expressions\"),\n type: z.enum([\"general\", \"unique\", \"average\"]).default(\"general\").describe(\"Analysis types for Mixpanel event aggregation.\").optional(),\n unit: z.enum([\"hour\", \"day\", \"week\", \"month\"]).describe(\"Longer time units for certain analytics.\").optional(),\n event: z.string().describe(\"The event name to get data for\"),\n where: z.string().describe(\"An expression to filter events by (e.g., 'properties[\\\"country\\\"] == \\\"US\\\"')\").optional(),\n to_date: z.string().describe(\"The date in yyyy-mm-dd format to query to (inclusive)\"),\n from_date: z.string().describe(\"The date in yyyy-mm-dd format to begin querying from (inclusive)\"),\n project_id: z.number().int().describe(\"Required if using service account to authenticate request\"),\n bucket_size: z.number().int().describe(\"Size of numeric buckets for grouping values. If not specified, Mixpanel will automatically determine bucket size\").optional(),\n workspace_id: z.number().int().describe(\"The id of the workspace if applicable\").optional(),\n}).describe(\"Request model for numeric bucketing segmentation query\");\nexport const MixpanelSegmentationNumericQueryOutput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Contains bucketed numeric results with segmentation data including series and values\"),\n legend_size: z.number().int().describe(\"Number of legend items in the response\").nullable().optional(),\n}).passthrough().describe(\"Response model for numeric bucketing segmentation query\");\n\nexport const mixpanelSegmentationNumericQuery = action(\"MIXPANEL_SEGMENTATION_NUMERIC_QUERY\", {\n slug: \"mixpanel-segmentation-numeric-query\",\n name: \"Numeric Bucket Segmentation Query\",\n description: \"Tool to get event data numerically bucketed by property values. Use when you need to analyze distributions of numeric properties like revenue, session duration, or counts with automatic bucketing.\",\n input: MixpanelSegmentationNumericQueryInput,\n output: MixpanelSegmentationNumericQueryOutput,\n});\n"],"mappings":";;AAqBA,MAAa,mCAAmC,OAAO,uCAAuC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArBmD,EAAE,OAAO;EAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G;EACtI,MAAM,EAAE,KAAK;GAAC;GAAW;GAAU;EAAS,CAAC,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EACtI,MAAM,EAAE,KAAK;GAAC;GAAQ;GAAO;GAAQ;EAAO,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EAC7G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;EAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;EACrH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;EACpF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;EACjG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;EACjG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;EACpK,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC5F,CAAC,CAAC,CAAC,SAAS,wDAUH;CACP,QAVoD,EAAE,OAAO;EAC7D,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sFAAsF;EACvI,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAOhB;AACV,CAAC"}
@@ -11,7 +11,7 @@ const MixpanelSetGroupPropertyOnceOutput = zod.z.object({
11
11
  code: zod.z.number().int().describe("HTTP status code (200 for success)").nullable().optional(),
12
12
  error: zod.z.string().describe("Error message if the request failed").nullable().optional(),
13
13
  status: zod.z.union([zod.z.string(), zod.z.number().int()])
14
- }).describe("Response model for group property set once operation.");
14
+ }).passthrough().describe("Response model for group property set once operation.");
15
15
  const mixpanelSetGroupPropertyOnce = require_action.action("MIXPANEL_SET_GROUP_PROPERTY_ONCE", {
16
16
  slug: "mixpanel-set-group-property-once",
17
17
  name: "Set Group Property Once",
@@ -1 +1 @@
1
- {"version":3,"file":"set-group-property-once.cjs","names":["z","action"],"sources":["../../src/actions/set-group-property-once.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelSetGroupPropertyOnceInput = z.object({\n token: z.string().describe(\"Project authentication token for Mixpanel API authentication\"),\n group_id: z.string().describe(\"Unique identifier for the specific group instance\"),\n group_key: z.string().describe(\"Group type identifier (e.g., 'Company', 'Organization', 'Team'). This defines the category of the group.\"),\n properties: z.record(z.string(), z.unknown()).describe(\"Key-value pairs of properties to set on the group profile. Properties will only be set if they don't already exist on the group.\"),\n}).describe(\"Request model for setting group properties only once (if not already set).\");\nexport const MixpanelSetGroupPropertyOnceOutput = z.object({\n code: z.number().int().describe(\"HTTP status code (200 for success)\").nullable().optional(),\n error: z.string().describe(\"Error message if the request failed\").nullable().optional(),\n status: z.union([z.string(), z.number().int()]),\n}).describe(\"Response model for group property set once operation.\");\n\nexport const mixpanelSetGroupPropertyOnce = action(\"MIXPANEL_SET_GROUP_PROPERTY_ONCE\", {\n slug: \"mixpanel-set-group-property-once\",\n name: \"Set Group Property Once\",\n description: \"Tool to set properties on a Mixpanel group profile only if they don't already exist. Use when you need to set initial properties for a group without overwriting existing values. Ideal for setting default values or tracking when a group was first created. Properties that already exist will not be modified.\",\n input: MixpanelSetGroupPropertyOnceInput,\n output: MixpanelSetGroupPropertyOnceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;CACzF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CACjF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G;CACzI,YAAYA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kIAAkI;AAC3L,CAAC,CAAC,CAAC,SAAS,4EAA4E;AACxF,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,QAAQA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;AAChD,CAAC,CAAC,CAAC,SAAS,uDAAuD;AAEnE,MAAa,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"set-group-property-once.cjs","names":["z","action"],"sources":["../../src/actions/set-group-property-once.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelSetGroupPropertyOnceInput = z.object({\n token: z.string().describe(\"Project authentication token for Mixpanel API authentication\"),\n group_id: z.string().describe(\"Unique identifier for the specific group instance\"),\n group_key: z.string().describe(\"Group type identifier (e.g., 'Company', 'Organization', 'Team'). This defines the category of the group.\"),\n properties: z.record(z.string(), z.unknown()).describe(\"Key-value pairs of properties to set on the group profile. Properties will only be set if they don't already exist on the group.\"),\n}).describe(\"Request model for setting group properties only once (if not already set).\");\nexport const MixpanelSetGroupPropertyOnceOutput = z.object({\n code: z.number().int().describe(\"HTTP status code (200 for success)\").nullable().optional(),\n error: z.string().describe(\"Error message if the request failed\").nullable().optional(),\n status: z.union([z.string(), z.number().int()]),\n}).passthrough().describe(\"Response model for group property set once operation.\");\n\nexport const mixpanelSetGroupPropertyOnce = action(\"MIXPANEL_SET_GROUP_PROPERTY_ONCE\", {\n slug: \"mixpanel-set-group-property-once\",\n name: \"Set Group Property Once\",\n description: \"Tool to set properties on a Mixpanel group profile only if they don't already exist. Use when you need to set initial properties for a group without overwriting existing values. Ideal for setting default values or tracking when a group was first created. Properties that already exist will not be modified.\",\n input: MixpanelSetGroupPropertyOnceInput,\n output: MixpanelSetGroupPropertyOnceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;CACzF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CACjF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G;CACzI,YAAYA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kIAAkI;AAC3L,CAAC,CAAC,CAAC,SAAS,4EAA4E;AACxF,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,QAAQA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;AAChD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAEjF,MAAa,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -11,7 +11,7 @@ declare const MixpanelSetGroupPropertyOnceOutput: z.ZodObject<{
11
11
  code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
12
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
13
  status: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
14
- }, z.core.$strip>;
14
+ }, z.core.$loose>;
15
15
  declare const mixpanelSetGroupPropertyOnce: import("@keystrokehq/action").WorkflowActionDefinition<{
16
16
  token: string;
17
17
  group_id: string;
@@ -11,7 +11,7 @@ declare const MixpanelSetGroupPropertyOnceOutput: z.ZodObject<{
11
11
  code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
12
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
13
  status: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
14
- }, z.core.$strip>;
14
+ }, z.core.$loose>;
15
15
  declare const mixpanelSetGroupPropertyOnce: import("@keystrokehq/action").WorkflowActionDefinition<{
16
16
  token: string;
17
17
  group_id: string;