@keystrokehq/mixpanel 0.1.0

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 (378) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/add-unique-to-profile-list-property.cjs +31 -0
  7. package/dist/actions/add-unique-to-profile-list-property.cjs.map +1 -0
  8. package/dist/actions/add-unique-to-profile-list-property.d.cts +9 -0
  9. package/dist/actions/add-unique-to-profile-list-property.d.cts.map +1 -0
  10. package/dist/actions/add-unique-to-profile-list-property.d.mts +9 -0
  11. package/dist/actions/add-unique-to-profile-list-property.d.mts.map +1 -0
  12. package/dist/actions/add-unique-to-profile-list-property.mjs +28 -0
  13. package/dist/actions/add-unique-to-profile-list-property.mjs.map +1 -0
  14. package/dist/actions/aggregate-events.cjs +46 -0
  15. package/dist/actions/aggregate-events.cjs.map +1 -0
  16. package/dist/actions/aggregate-events.d.cts +9 -0
  17. package/dist/actions/aggregate-events.d.cts.map +1 -0
  18. package/dist/actions/aggregate-events.d.mts +9 -0
  19. package/dist/actions/aggregate-events.d.mts.map +1 -0
  20. package/dist/actions/aggregate-events.mjs +45 -0
  21. package/dist/actions/aggregate-events.mjs.map +1 -0
  22. package/dist/actions/aggregated-event-property-values.cjs +46 -0
  23. package/dist/actions/aggregated-event-property-values.cjs.map +1 -0
  24. package/dist/actions/aggregated-event-property-values.d.cts +9 -0
  25. package/dist/actions/aggregated-event-property-values.d.cts.map +1 -0
  26. package/dist/actions/aggregated-event-property-values.d.mts +9 -0
  27. package/dist/actions/aggregated-event-property-values.d.mts.map +1 -0
  28. package/dist/actions/aggregated-event-property-values.mjs +45 -0
  29. package/dist/actions/aggregated-event-property-values.mjs.map +1 -0
  30. package/dist/actions/cohorts-list.cjs +28 -0
  31. package/dist/actions/cohorts-list.cjs.map +1 -0
  32. package/dist/actions/cohorts-list.d.cts +9 -0
  33. package/dist/actions/cohorts-list.d.cts.map +1 -0
  34. package/dist/actions/cohorts-list.d.mts +9 -0
  35. package/dist/actions/cohorts-list.d.mts.map +1 -0
  36. package/dist/actions/cohorts-list.mjs +27 -0
  37. package/dist/actions/cohorts-list.mjs.map +1 -0
  38. package/dist/actions/create-annotation-tag.cjs +24 -0
  39. package/dist/actions/create-annotation-tag.cjs.map +1 -0
  40. package/dist/actions/create-annotation-tag.d.cts +9 -0
  41. package/dist/actions/create-annotation-tag.d.cts.map +1 -0
  42. package/dist/actions/create-annotation-tag.d.mts +9 -0
  43. package/dist/actions/create-annotation-tag.d.mts.map +1 -0
  44. package/dist/actions/create-annotation-tag.mjs +21 -0
  45. package/dist/actions/create-annotation-tag.mjs.map +1 -0
  46. package/dist/actions/create-identity.cjs +25 -0
  47. package/dist/actions/create-identity.cjs.map +1 -0
  48. package/dist/actions/create-identity.d.cts +9 -0
  49. package/dist/actions/create-identity.d.cts.map +1 -0
  50. package/dist/actions/create-identity.d.mts +9 -0
  51. package/dist/actions/create-identity.d.mts.map +1 -0
  52. package/dist/actions/create-identity.mjs +22 -0
  53. package/dist/actions/create-identity.mjs.map +1 -0
  54. package/dist/actions/create-service-account.cjs +48 -0
  55. package/dist/actions/create-service-account.cjs.map +1 -0
  56. package/dist/actions/create-service-account.d.cts +9 -0
  57. package/dist/actions/create-service-account.d.cts.map +1 -0
  58. package/dist/actions/create-service-account.d.mts +9 -0
  59. package/dist/actions/create-service-account.d.mts.map +1 -0
  60. package/dist/actions/create-service-account.mjs +47 -0
  61. package/dist/actions/create-service-account.mjs.map +1 -0
  62. package/dist/actions/delete-group.cjs +24 -0
  63. package/dist/actions/delete-group.cjs.map +1 -0
  64. package/dist/actions/delete-group.d.cts +9 -0
  65. package/dist/actions/delete-group.d.cts.map +1 -0
  66. package/dist/actions/delete-group.d.mts +9 -0
  67. package/dist/actions/delete-group.d.mts.map +1 -0
  68. package/dist/actions/delete-group.mjs +21 -0
  69. package/dist/actions/delete-group.mjs.map +1 -0
  70. package/dist/actions/delete-profile-batch.cjs +24 -0
  71. package/dist/actions/delete-profile-batch.cjs.map +1 -0
  72. package/dist/actions/delete-profile-batch.d.cts +9 -0
  73. package/dist/actions/delete-profile-batch.d.cts.map +1 -0
  74. package/dist/actions/delete-profile-batch.d.mts +9 -0
  75. package/dist/actions/delete-profile-batch.d.mts.map +1 -0
  76. package/dist/actions/delete-profile-batch.mjs +21 -0
  77. package/dist/actions/delete-profile-batch.mjs.map +1 -0
  78. package/dist/actions/delete-profile-property.cjs +27 -0
  79. package/dist/actions/delete-profile-property.cjs.map +1 -0
  80. package/dist/actions/delete-profile-property.d.cts +9 -0
  81. package/dist/actions/delete-profile-property.d.cts.map +1 -0
  82. package/dist/actions/delete-profile-property.d.mts +9 -0
  83. package/dist/actions/delete-profile-property.d.mts.map +1 -0
  84. package/dist/actions/delete-profile-property.mjs +24 -0
  85. package/dist/actions/delete-profile-property.mjs.map +1 -0
  86. package/dist/actions/delete-profile.cjs +22 -0
  87. package/dist/actions/delete-profile.cjs.map +1 -0
  88. package/dist/actions/delete-profile.d.cts +9 -0
  89. package/dist/actions/delete-profile.d.cts.map +1 -0
  90. package/dist/actions/delete-profile.d.mts +9 -0
  91. package/dist/actions/delete-profile.d.mts.map +1 -0
  92. package/dist/actions/delete-profile.mjs +19 -0
  93. package/dist/actions/delete-profile.mjs.map +1 -0
  94. package/dist/actions/get-all-projects.cjs +16 -0
  95. package/dist/actions/get-all-projects.cjs.map +1 -0
  96. package/dist/actions/get-all-projects.d.cts +9 -0
  97. package/dist/actions/get-all-projects.d.cts.map +1 -0
  98. package/dist/actions/get-all-projects.d.mts +9 -0
  99. package/dist/actions/get-all-projects.d.mts.map +1 -0
  100. package/dist/actions/get-all-projects.mjs +13 -0
  101. package/dist/actions/get-all-projects.mjs.map +1 -0
  102. package/dist/actions/get-annotation-tags-alt1.cjs +22 -0
  103. package/dist/actions/get-annotation-tags-alt1.cjs.map +1 -0
  104. package/dist/actions/get-annotation-tags-alt1.d.cts +9 -0
  105. package/dist/actions/get-annotation-tags-alt1.d.cts.map +1 -0
  106. package/dist/actions/get-annotation-tags-alt1.d.mts +9 -0
  107. package/dist/actions/get-annotation-tags-alt1.d.mts.map +1 -0
  108. package/dist/actions/get-annotation-tags-alt1.mjs +21 -0
  109. package/dist/actions/get-annotation-tags-alt1.mjs.map +1 -0
  110. package/dist/actions/group-batch-update.cjs +37 -0
  111. package/dist/actions/group-batch-update.cjs.map +1 -0
  112. package/dist/actions/group-batch-update.d.cts +9 -0
  113. package/dist/actions/group-batch-update.d.cts.map +1 -0
  114. package/dist/actions/group-batch-update.d.mts +9 -0
  115. package/dist/actions/group-batch-update.d.mts.map +1 -0
  116. package/dist/actions/group-batch-update.mjs +34 -0
  117. package/dist/actions/group-batch-update.mjs.map +1 -0
  118. package/dist/actions/group-delete-property.cjs +25 -0
  119. package/dist/actions/group-delete-property.cjs.map +1 -0
  120. package/dist/actions/group-delete-property.d.cts +9 -0
  121. package/dist/actions/group-delete-property.d.cts.map +1 -0
  122. package/dist/actions/group-delete-property.d.mts +9 -0
  123. package/dist/actions/group-delete-property.d.mts.map +1 -0
  124. package/dist/actions/group-delete-property.mjs +22 -0
  125. package/dist/actions/group-delete-property.mjs.map +1 -0
  126. package/dist/actions/identity-create-alias.cjs +20 -0
  127. package/dist/actions/identity-create-alias.cjs.map +1 -0
  128. package/dist/actions/identity-create-alias.d.cts +9 -0
  129. package/dist/actions/identity-create-alias.d.cts.map +1 -0
  130. package/dist/actions/identity-create-alias.d.mts +9 -0
  131. package/dist/actions/identity-create-alias.d.mts.map +1 -0
  132. package/dist/actions/identity-create-alias.mjs +17 -0
  133. package/dist/actions/identity-create-alias.mjs.map +1 -0
  134. package/dist/actions/index.cjs +87 -0
  135. package/dist/actions/index.d.cts +44 -0
  136. package/dist/actions/index.d.mts +44 -0
  137. package/dist/actions/index.mjs +44 -0
  138. package/dist/actions/jql-query.cjs +28 -0
  139. package/dist/actions/jql-query.cjs.map +1 -0
  140. package/dist/actions/jql-query.d.cts +9 -0
  141. package/dist/actions/jql-query.d.cts.map +1 -0
  142. package/dist/actions/jql-query.d.mts +9 -0
  143. package/dist/actions/jql-query.d.mts.map +1 -0
  144. package/dist/actions/jql-query.mjs +25 -0
  145. package/dist/actions/jql-query.mjs.map +1 -0
  146. package/dist/actions/list-funnels.cjs +23 -0
  147. package/dist/actions/list-funnels.cjs.map +1 -0
  148. package/dist/actions/list-funnels.d.cts +9 -0
  149. package/dist/actions/list-funnels.d.cts.map +1 -0
  150. package/dist/actions/list-funnels.d.mts +9 -0
  151. package/dist/actions/list-funnels.d.mts.map +1 -0
  152. package/dist/actions/list-funnels.mjs +22 -0
  153. package/dist/actions/list-funnels.mjs.map +1 -0
  154. package/dist/actions/list-service-accounts.cjs +28 -0
  155. package/dist/actions/list-service-accounts.cjs.map +1 -0
  156. package/dist/actions/list-service-accounts.d.cts +9 -0
  157. package/dist/actions/list-service-accounts.d.cts.map +1 -0
  158. package/dist/actions/list-service-accounts.d.mts +9 -0
  159. package/dist/actions/list-service-accounts.d.mts.map +1 -0
  160. package/dist/actions/list-service-accounts.mjs +27 -0
  161. package/dist/actions/list-service-accounts.mjs.map +1 -0
  162. package/dist/actions/profile-append-to-list-property.cjs +28 -0
  163. package/dist/actions/profile-append-to-list-property.cjs.map +1 -0
  164. package/dist/actions/profile-append-to-list-property.d.cts +9 -0
  165. package/dist/actions/profile-append-to-list-property.d.cts.map +1 -0
  166. package/dist/actions/profile-append-to-list-property.d.mts +9 -0
  167. package/dist/actions/profile-append-to-list-property.d.mts.map +1 -0
  168. package/dist/actions/profile-append-to-list-property.mjs +25 -0
  169. package/dist/actions/profile-append-to-list-property.mjs.map +1 -0
  170. package/dist/actions/profile-batch-update.cjs +41 -0
  171. package/dist/actions/profile-batch-update.cjs.map +1 -0
  172. package/dist/actions/profile-batch-update.d.cts +9 -0
  173. package/dist/actions/profile-batch-update.d.cts.map +1 -0
  174. package/dist/actions/profile-batch-update.d.mts +9 -0
  175. package/dist/actions/profile-batch-update.d.mts.map +1 -0
  176. package/dist/actions/profile-batch-update.mjs +40 -0
  177. package/dist/actions/profile-batch-update.mjs.map +1 -0
  178. package/dist/actions/profile-event-activity.cjs +67 -0
  179. package/dist/actions/profile-event-activity.cjs.map +1 -0
  180. package/dist/actions/profile-event-activity.d.cts +9 -0
  181. package/dist/actions/profile-event-activity.d.cts.map +1 -0
  182. package/dist/actions/profile-event-activity.d.mts +9 -0
  183. package/dist/actions/profile-event-activity.d.mts.map +1 -0
  184. package/dist/actions/profile-event-activity.mjs +66 -0
  185. package/dist/actions/profile-event-activity.mjs.map +1 -0
  186. package/dist/actions/profile-numerical-add.cjs +27 -0
  187. package/dist/actions/profile-numerical-add.cjs.map +1 -0
  188. package/dist/actions/profile-numerical-add.d.cts +9 -0
  189. package/dist/actions/profile-numerical-add.d.cts.map +1 -0
  190. package/dist/actions/profile-numerical-add.d.mts +9 -0
  191. package/dist/actions/profile-numerical-add.d.mts.map +1 -0
  192. package/dist/actions/profile-numerical-add.mjs +24 -0
  193. package/dist/actions/profile-numerical-add.mjs.map +1 -0
  194. package/dist/actions/profile-remove-from-list-property.cjs +28 -0
  195. package/dist/actions/profile-remove-from-list-property.cjs.map +1 -0
  196. package/dist/actions/profile-remove-from-list-property.d.cts +9 -0
  197. package/dist/actions/profile-remove-from-list-property.d.cts.map +1 -0
  198. package/dist/actions/profile-remove-from-list-property.d.mts +9 -0
  199. package/dist/actions/profile-remove-from-list-property.d.mts.map +1 -0
  200. package/dist/actions/profile-remove-from-list-property.mjs +25 -0
  201. package/dist/actions/profile-remove-from-list-property.mjs.map +1 -0
  202. package/dist/actions/profile-set.cjs +26 -0
  203. package/dist/actions/profile-set.cjs.map +1 -0
  204. package/dist/actions/profile-set.d.cts +9 -0
  205. package/dist/actions/profile-set.d.cts.map +1 -0
  206. package/dist/actions/profile-set.d.mts +9 -0
  207. package/dist/actions/profile-set.d.mts.map +1 -0
  208. package/dist/actions/profile-set.mjs +23 -0
  209. package/dist/actions/profile-set.mjs.map +1 -0
  210. package/dist/actions/query-frequency-report.cjs +31 -0
  211. package/dist/actions/query-frequency-report.cjs.map +1 -0
  212. package/dist/actions/query-frequency-report.d.cts +9 -0
  213. package/dist/actions/query-frequency-report.d.cts.map +1 -0
  214. package/dist/actions/query-frequency-report.d.mts +9 -0
  215. package/dist/actions/query-frequency-report.d.mts.map +1 -0
  216. package/dist/actions/query-frequency-report.mjs +28 -0
  217. package/dist/actions/query-frequency-report.mjs.map +1 -0
  218. package/dist/actions/query-funnel.cjs +42 -0
  219. package/dist/actions/query-funnel.cjs.map +1 -0
  220. package/dist/actions/query-funnel.d.cts +9 -0
  221. package/dist/actions/query-funnel.d.cts.map +1 -0
  222. package/dist/actions/query-funnel.d.mts +9 -0
  223. package/dist/actions/query-funnel.d.mts.map +1 -0
  224. package/dist/actions/query-funnel.mjs +41 -0
  225. package/dist/actions/query-funnel.mjs.map +1 -0
  226. package/dist/actions/query-insight.cjs +29 -0
  227. package/dist/actions/query-insight.cjs.map +1 -0
  228. package/dist/actions/query-insight.d.cts +9 -0
  229. package/dist/actions/query-insight.d.cts.map +1 -0
  230. package/dist/actions/query-insight.d.mts +9 -0
  231. package/dist/actions/query-insight.d.mts.map +1 -0
  232. package/dist/actions/query-insight.mjs +28 -0
  233. package/dist/actions/query-insight.mjs.map +1 -0
  234. package/dist/actions/query-numeric-average.cjs +28 -0
  235. package/dist/actions/query-numeric-average.cjs.map +1 -0
  236. package/dist/actions/query-numeric-average.d.cts +9 -0
  237. package/dist/actions/query-numeric-average.d.cts.map +1 -0
  238. package/dist/actions/query-numeric-average.d.mts +9 -0
  239. package/dist/actions/query-numeric-average.d.mts.map +1 -0
  240. package/dist/actions/query-numeric-average.mjs +25 -0
  241. package/dist/actions/query-numeric-average.mjs.map +1 -0
  242. package/dist/actions/query-numeric-sum.cjs +29 -0
  243. package/dist/actions/query-numeric-sum.cjs.map +1 -0
  244. package/dist/actions/query-numeric-sum.d.cts +9 -0
  245. package/dist/actions/query-numeric-sum.d.cts.map +1 -0
  246. package/dist/actions/query-numeric-sum.d.mts +9 -0
  247. package/dist/actions/query-numeric-sum.d.mts.map +1 -0
  248. package/dist/actions/query-numeric-sum.mjs +26 -0
  249. package/dist/actions/query-numeric-sum.mjs.map +1 -0
  250. package/dist/actions/query-profiles.cjs +41 -0
  251. package/dist/actions/query-profiles.cjs.map +1 -0
  252. package/dist/actions/query-profiles.d.cts +9 -0
  253. package/dist/actions/query-profiles.d.cts.map +1 -0
  254. package/dist/actions/query-profiles.d.mts +9 -0
  255. package/dist/actions/query-profiles.d.mts.map +1 -0
  256. package/dist/actions/query-profiles.mjs +40 -0
  257. package/dist/actions/query-profiles.mjs.map +1 -0
  258. package/dist/actions/query-retention-report.cjs +35 -0
  259. package/dist/actions/query-retention-report.cjs.map +1 -0
  260. package/dist/actions/query-retention-report.d.cts +9 -0
  261. package/dist/actions/query-retention-report.d.cts.map +1 -0
  262. package/dist/actions/query-retention-report.d.mts +9 -0
  263. package/dist/actions/query-retention-report.d.mts.map +1 -0
  264. package/dist/actions/query-retention-report.mjs +32 -0
  265. package/dist/actions/query-retention-report.mjs.map +1 -0
  266. package/dist/actions/query-segmentation.cjs +43 -0
  267. package/dist/actions/query-segmentation.cjs.map +1 -0
  268. package/dist/actions/query-segmentation.d.cts +9 -0
  269. package/dist/actions/query-segmentation.d.cts.map +1 -0
  270. package/dist/actions/query-segmentation.d.mts +9 -0
  271. package/dist/actions/query-segmentation.d.mts.map +1 -0
  272. package/dist/actions/query-segmentation.mjs +42 -0
  273. package/dist/actions/query-segmentation.mjs.map +1 -0
  274. package/dist/actions/query-top-events.cjs +38 -0
  275. package/dist/actions/query-top-events.cjs.map +1 -0
  276. package/dist/actions/query-top-events.d.cts +9 -0
  277. package/dist/actions/query-top-events.d.cts.map +1 -0
  278. package/dist/actions/query-top-events.d.mts +9 -0
  279. package/dist/actions/query-top-events.d.mts.map +1 -0
  280. package/dist/actions/query-top-events.mjs +37 -0
  281. package/dist/actions/query-top-events.mjs.map +1 -0
  282. package/dist/actions/remove-from-group-list-property.cjs +25 -0
  283. package/dist/actions/remove-from-group-list-property.cjs.map +1 -0
  284. package/dist/actions/remove-from-group-list-property.d.cts +9 -0
  285. package/dist/actions/remove-from-group-list-property.d.cts.map +1 -0
  286. package/dist/actions/remove-from-group-list-property.d.mts +9 -0
  287. package/dist/actions/remove-from-group-list-property.d.mts.map +1 -0
  288. package/dist/actions/remove-from-group-list-property.mjs +22 -0
  289. package/dist/actions/remove-from-group-list-property.mjs.map +1 -0
  290. package/dist/actions/remove-from-list-property.cjs +26 -0
  291. package/dist/actions/remove-from-list-property.cjs.map +1 -0
  292. package/dist/actions/remove-from-list-property.d.cts +9 -0
  293. package/dist/actions/remove-from-list-property.d.cts.map +1 -0
  294. package/dist/actions/remove-from-list-property.d.mts +9 -0
  295. package/dist/actions/remove-from-list-property.d.mts.map +1 -0
  296. package/dist/actions/remove-from-list-property.mjs +23 -0
  297. package/dist/actions/remove-from-list-property.mjs.map +1 -0
  298. package/dist/actions/segmentation-numeric-query.cjs +39 -0
  299. package/dist/actions/segmentation-numeric-query.cjs.map +1 -0
  300. package/dist/actions/segmentation-numeric-query.d.cts +9 -0
  301. package/dist/actions/segmentation-numeric-query.d.cts.map +1 -0
  302. package/dist/actions/segmentation-numeric-query.d.mts +9 -0
  303. package/dist/actions/segmentation-numeric-query.d.mts.map +1 -0
  304. package/dist/actions/segmentation-numeric-query.mjs +36 -0
  305. package/dist/actions/segmentation-numeric-query.mjs.map +1 -0
  306. package/dist/actions/set-group-property-once.cjs +25 -0
  307. package/dist/actions/set-group-property-once.cjs.map +1 -0
  308. package/dist/actions/set-group-property-once.d.cts +9 -0
  309. package/dist/actions/set-group-property-once.d.cts.map +1 -0
  310. package/dist/actions/set-group-property-once.d.mts +9 -0
  311. package/dist/actions/set-group-property-once.d.mts.map +1 -0
  312. package/dist/actions/set-group-property-once.mjs +22 -0
  313. package/dist/actions/set-group-property-once.mjs.map +1 -0
  314. package/dist/actions/set-profile-property-once.cjs +26 -0
  315. package/dist/actions/set-profile-property-once.cjs.map +1 -0
  316. package/dist/actions/set-profile-property-once.d.cts +9 -0
  317. package/dist/actions/set-profile-property-once.d.cts.map +1 -0
  318. package/dist/actions/set-profile-property-once.d.mts +9 -0
  319. package/dist/actions/set-profile-property-once.d.mts.map +1 -0
  320. package/dist/actions/set-profile-property-once.mjs +23 -0
  321. package/dist/actions/set-profile-property-once.mjs.map +1 -0
  322. package/dist/actions/top-event-properties.cjs +21 -0
  323. package/dist/actions/top-event-properties.cjs.map +1 -0
  324. package/dist/actions/top-event-properties.d.cts +9 -0
  325. package/dist/actions/top-event-properties.d.cts.map +1 -0
  326. package/dist/actions/top-event-properties.d.mts +9 -0
  327. package/dist/actions/top-event-properties.d.mts.map +1 -0
  328. package/dist/actions/top-event-properties.mjs +18 -0
  329. package/dist/actions/top-event-properties.mjs.map +1 -0
  330. package/dist/actions/top-event-property-values.cjs +22 -0
  331. package/dist/actions/top-event-property-values.cjs.map +1 -0
  332. package/dist/actions/top-event-property-values.d.cts +9 -0
  333. package/dist/actions/top-event-property-values.d.cts.map +1 -0
  334. package/dist/actions/top-event-property-values.d.mts +9 -0
  335. package/dist/actions/top-event-property-values.d.mts.map +1 -0
  336. package/dist/actions/top-event-property-values.mjs +19 -0
  337. package/dist/actions/top-event-property-values.mjs.map +1 -0
  338. package/dist/actions/top-events.cjs +25 -0
  339. package/dist/actions/top-events.cjs.map +1 -0
  340. package/dist/actions/top-events.d.cts +9 -0
  341. package/dist/actions/top-events.d.cts.map +1 -0
  342. package/dist/actions/top-events.d.mts +9 -0
  343. package/dist/actions/top-events.d.mts.map +1 -0
  344. package/dist/actions/top-events.mjs +22 -0
  345. package/dist/actions/top-events.mjs.map +1 -0
  346. package/dist/actions/update-group-list-property.cjs +29 -0
  347. package/dist/actions/update-group-list-property.cjs.map +1 -0
  348. package/dist/actions/update-group-list-property.d.cts +9 -0
  349. package/dist/actions/update-group-list-property.d.cts.map +1 -0
  350. package/dist/actions/update-group-list-property.d.mts +9 -0
  351. package/dist/actions/update-group-list-property.d.mts.map +1 -0
  352. package/dist/actions/update-group-list-property.mjs +26 -0
  353. package/dist/actions/update-group-list-property.mjs.map +1 -0
  354. package/dist/app.cjs +9 -0
  355. package/dist/app.cjs.map +1 -0
  356. package/dist/app.d.cts +5 -0
  357. package/dist/app.d.cts.map +1 -0
  358. package/dist/app.d.mts +5 -0
  359. package/dist/app.d.mts.map +1 -0
  360. package/dist/app.mjs +10 -0
  361. package/dist/app.mjs.map +1 -0
  362. package/dist/catalog.cjs +15 -0
  363. package/dist/catalog.cjs.map +1 -0
  364. package/dist/catalog.d.cts +14 -0
  365. package/dist/catalog.d.cts.map +1 -0
  366. package/dist/catalog.d.mts +14 -0
  367. package/dist/catalog.d.mts.map +1 -0
  368. package/dist/catalog.mjs +15 -0
  369. package/dist/catalog.mjs.map +1 -0
  370. package/dist/execute.cjs +18 -0
  371. package/dist/execute.cjs.map +1 -0
  372. package/dist/execute.mjs +18 -0
  373. package/dist/execute.mjs.map +1 -0
  374. package/dist/index.cjs +92 -0
  375. package/dist/index.d.cts +46 -0
  376. package/dist/index.d.mts +46 -0
  377. package/dist/index.mjs +47 -0
  378. package/package.json +49 -0
package/README.md ADDED
@@ -0,0 +1,17 @@
1
+ # @keystrokehq/mixpanel
2
+
3
+ Keystroke-managed integration.
4
+
5
+ **App:** `mixpanel`
6
+ **Version:** `20260615_00`
7
+ **Actions:** 43
8
+
9
+ ```ts
10
+ import { defineAgent } from "@keystrokehq/keystroke/agent";
11
+ import { mixpanelAddUniqueToProfileListProperty } from "@keystrokehq/mixpanel/actions";
12
+
13
+ export default defineAgent({
14
+ key: "mixpanel-agent",
15
+ tools: [mixpanelAddUniqueToProfileListProperty],
16
+ });
17
+ ```
@@ -0,0 +1,21 @@
1
+ const require_app = require("./app.cjs");
2
+ const require_execute = require("./execute.cjs");
3
+ require("zod");
4
+ //#region src/action.ts
5
+ /** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */
6
+ function action(tool, def) {
7
+ return require_app.mixpanel.action({
8
+ slug: def.slug,
9
+ name: def.name,
10
+ description: def.description,
11
+ input: def.input,
12
+ output: def.output,
13
+ async run(input) {
14
+ return def.output.parse(await require_execute.executeMixpanelTool(tool, input));
15
+ }
16
+ });
17
+ }
18
+ //#endregion
19
+ exports.action = action;
20
+
21
+ //# sourceMappingURL=action.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"action.cjs","names":["mixpanel","executeMixpanelTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { mixpanel } from \"./app\";\nimport { executeMixpanelTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return mixpanel.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeMixpanelTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,SAAS,OAAO;EACrB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,oBAAoB,MAAM,KAAgC,CAAC;EAC3F;CACF,CAAC;AACH"}
@@ -0,0 +1,21 @@
1
+ import { mixpanel } from "./app.mjs";
2
+ import { executeMixpanelTool } from "./execute.mjs";
3
+ import "zod";
4
+ //#region src/action.ts
5
+ /** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */
6
+ function action(tool, def) {
7
+ return mixpanel.action({
8
+ slug: def.slug,
9
+ name: def.name,
10
+ description: def.description,
11
+ input: def.input,
12
+ output: def.output,
13
+ async run(input) {
14
+ return def.output.parse(await executeMixpanelTool(tool, input));
15
+ }
16
+ });
17
+ }
18
+ //#endregion
19
+ export { action };
20
+
21
+ //# sourceMappingURL=action.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { mixpanel } from \"./app\";\nimport { executeMixpanelTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return mixpanel.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeMixpanelTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,SAAS,OAAO;EACrB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,oBAAoB,MAAM,KAAgC,CAAC;EAC3F;CACF,CAAC;AACH"}
@@ -0,0 +1,31 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/add-unique-to-profile-list-property.ts
4
+ const MixpanelAddUniqueToProfileListPropertyInput = zod.z.object({
5
+ ip: zod.z.number().int().describe("Controls geolocation. Set to 0 to disable geolocation, 1 to enable. Default is 1.").optional(),
6
+ data: zod.z.array(zod.z.object({
7
+ ip: zod.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(),
8
+ token: zod.z.string().describe("Your Mixpanel project authentication token. Required for authenticating the request."),
9
+ union: zod.z.object({}).describe("A JSON object containing key-value pairs where each key is a property name and each value is a list of items to union with that list property. Union adds values to a list property, excluding duplicates. If the property doesn't exist, it creates a new list with the provided values."),
10
+ distinct_id: zod.z.string().describe("The unique identifier for the user profile to update. This determines which profile will be modified."),
11
+ ignore_time: zod.z.boolean().describe("If true, prevents Mixpanel from automatically updating the 'Last Seen' property. Defaults to false.").optional()
12
+ }).describe("Individual profile update object for union operations on list properties.")).describe("A list of profile update objects. Each object must contain $token, $distinct_id, and $union properties. The $union operation adds values to list properties without creating duplicates."),
13
+ strict: zod.z.number().int().describe("Enables validation with per-record error messages. Set to 1 to enable strict mode, 0 to disable. When enabled, returns detailed validation errors for each failed record.").optional(),
14
+ verbose: zod.z.number().int().describe("Returns detailed response object. Set to 1 to get JSON response with status and error fields, 0 for plain text status (1 for success, 0 for failure). Default is 0.").optional(),
15
+ callback: zod.z.string().describe("JSONP callback function name. Used for JSONP requests.").optional()
16
+ }).describe("Request model for union operations on list properties in user profiles.");
17
+ const MixpanelAddUniqueToProfileListPropertyOutput = zod.z.object({
18
+ error: zod.z.string().describe("Error message if the request failed, null if successful.").nullable().optional(),
19
+ status: zod.z.union([zod.z.string(), zod.z.number().int()])
20
+ }).describe("Response model for profile union operation.");
21
+ const mixpanelAddUniqueToProfileListProperty = require_action.action("MIXPANEL_ADD_UNIQUE_TO_PROFILE_LIST_PROPERTY", {
22
+ slug: "mixpanel-add-unique-to-profile-list-property",
23
+ name: "Add Unique Values to Profile List Property",
24
+ description: "Tool to add unique values to list properties on user profiles in Mixpanel using the $union operation. Use when you need to add items to list-type properties without creating duplicates. Unlike $append, $union ensures values are unique in the list. If the property doesn't exist, it creates a new list with the provided values.",
25
+ input: MixpanelAddUniqueToProfileListPropertyInput,
26
+ output: MixpanelAddUniqueToProfileListPropertyOutput
27
+ });
28
+ //#endregion
29
+ exports.mixpanelAddUniqueToProfileListProperty = mixpanelAddUniqueToProfileListProperty;
30
+
31
+ //# sourceMappingURL=add-unique-to-profile-list-property.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"add-unique-to-profile-list-property.cjs","names":["z","action"],"sources":["../../src/actions/add-unique-to-profile-list-property.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelAddUniqueToProfileListPropertyInput: z.ZodTypeAny = z.object({\n ip: z.number().int().describe(\"Controls geolocation. Set to 0 to disable geolocation, 1 to enable. Default is 1.\").optional(),\n data: z.array(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 token: z.string().describe(\"Your Mixpanel project authentication token. Required for authenticating the request.\"),\n union: z.object({}).describe(\"A JSON object containing key-value pairs where each key is a property name and each value is a list of items to union with that list property. Union adds values to a list property, excluding duplicates. If the property doesn't exist, it creates a new list with the provided values.\"),\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}).describe(\"Individual profile update object for union operations on list properties.\")).describe(\"A list of profile update objects. Each object must contain $token, $distinct_id, and $union properties. The $union operation adds values to list properties without creating duplicates.\"),\n strict: z.number().int().describe(\"Enables validation with per-record error messages. Set to 1 to enable strict mode, 0 to disable. When enabled, returns detailed validation errors for each failed record.\").optional(),\n verbose: z.number().int().describe(\"Returns detailed response object. Set to 1 to get JSON response with status and error fields, 0 for plain text status (1 for success, 0 for failure). Default is 0.\").optional(),\n callback: z.string().describe(\"JSONP callback function name. Used for JSONP requests.\").optional(),\n}).describe(\"Request model for union operations on list properties in user profiles.\");\nexport const MixpanelAddUniqueToProfileListPropertyOutput: z.ZodTypeAny = 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 profile union operation.\");\n\nexport const mixpanelAddUniqueToProfileListProperty = action(\"MIXPANEL_ADD_UNIQUE_TO_PROFILE_LIST_PROPERTY\", {\n slug: \"mixpanel-add-unique-to-profile-list-property\",\n name: \"Add Unique Values to Profile List Property\",\n description: \"Tool to add unique values to list properties on user profiles in Mixpanel using the $union operation. Use when you need to add items to list-type properties without creating duplicates. Unlike $append, $union ensures values are unique in the list. If the property doesn't exist, it creates a new list with the provided values.\",\n input: MixpanelAddUniqueToProfileListPropertyInput,\n output: MixpanelAddUniqueToProfileListPropertyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8CAA4DA,IAAAA,EAAE,OAAO;CAChF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAC5H,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACvB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sOAAsO,CAAC,CAAC,SAAS;EACzQ,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF;EACjH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2RAA2R;EACxT,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;EACxI,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CACpJ,CAAC,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,CAAC,SAAS,0LAA0L;CAC3R,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2KAA2K,CAAC,CAAC,SAAS;CACxN,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qKAAqK,CAAC,CAAC,SAAS;CACnN,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAa,+CAA6DA,IAAAA,EAAE,OAAO;CACjF,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,6CAA6C;AAEzD,MAAa,yCAAyCC,eAAAA,OAAO,gDAAgD;CAC3G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/add-unique-to-profile-list-property.d.ts
4
+ declare const MixpanelAddUniqueToProfileListPropertyInput: z.ZodTypeAny;
5
+ declare const MixpanelAddUniqueToProfileListPropertyOutput: z.ZodTypeAny;
6
+ declare const mixpanelAddUniqueToProfileListProperty: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { mixpanelAddUniqueToProfileListProperty };
9
+ //# sourceMappingURL=add-unique-to-profile-list-property.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"add-unique-to-profile-list-property.d.cts","names":[],"sources":["../../src/actions/add-unique-to-profile-list-property.ts"],"mappings":";;;cAIa,2CAAA,EAA6C,CAAA,CAAE,UAY0B;AAAA,cACzE,4CAAA,EAA8C,CAAA,CAAE,UAGH;AAAA,cAE7C,sCAAA,gCAAsC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/add-unique-to-profile-list-property.d.ts
4
+ declare const MixpanelAddUniqueToProfileListPropertyInput: z.ZodTypeAny;
5
+ declare const MixpanelAddUniqueToProfileListPropertyOutput: z.ZodTypeAny;
6
+ declare const mixpanelAddUniqueToProfileListProperty: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { mixpanelAddUniqueToProfileListProperty };
9
+ //# sourceMappingURL=add-unique-to-profile-list-property.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"add-unique-to-profile-list-property.d.mts","names":[],"sources":["../../src/actions/add-unique-to-profile-list-property.ts"],"mappings":";;;cAIa,2CAAA,EAA6C,CAAA,CAAE,UAY0B;AAAA,cACzE,4CAAA,EAA8C,CAAA,CAAE,UAGH;AAAA,cAE7C,sCAAA,gCAAsC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,28 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const mixpanelAddUniqueToProfileListProperty = action("MIXPANEL_ADD_UNIQUE_TO_PROFILE_LIST_PROPERTY", {
4
+ slug: "mixpanel-add-unique-to-profile-list-property",
5
+ name: "Add Unique Values to Profile List Property",
6
+ description: "Tool to add unique values to list properties on user profiles in Mixpanel using the $union operation. Use when you need to add items to list-type properties without creating duplicates. Unlike $append, $union ensures values are unique in the list. If the property doesn't exist, it creates a new list with the provided values.",
7
+ input: z.object({
8
+ ip: z.number().int().describe("Controls geolocation. Set to 0 to disable geolocation, 1 to enable. Default is 1.").optional(),
9
+ data: z.array(z.object({
10
+ 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(),
11
+ token: z.string().describe("Your Mixpanel project authentication token. Required for authenticating the request."),
12
+ union: z.object({}).describe("A JSON object containing key-value pairs where each key is a property name and each value is a list of items to union with that list property. Union adds values to a list property, excluding duplicates. If the property doesn't exist, it creates a new list with the provided values."),
13
+ distinct_id: z.string().describe("The unique identifier for the user profile to update. This determines which profile will be modified."),
14
+ ignore_time: z.boolean().describe("If true, prevents Mixpanel from automatically updating the 'Last Seen' property. Defaults to false.").optional()
15
+ }).describe("Individual profile update object for union operations on list properties.")).describe("A list of profile update objects. Each object must contain $token, $distinct_id, and $union properties. The $union operation adds values to list properties without creating duplicates."),
16
+ strict: z.number().int().describe("Enables validation with per-record error messages. Set to 1 to enable strict mode, 0 to disable. When enabled, returns detailed validation errors for each failed record.").optional(),
17
+ verbose: z.number().int().describe("Returns detailed response object. Set to 1 to get JSON response with status and error fields, 0 for plain text status (1 for success, 0 for failure). Default is 0.").optional(),
18
+ callback: z.string().describe("JSONP callback function name. Used for JSONP requests.").optional()
19
+ }).describe("Request model for union operations on list properties in user profiles."),
20
+ output: z.object({
21
+ error: z.string().describe("Error message if the request failed, null if successful.").nullable().optional(),
22
+ status: z.union([z.string(), z.number().int()])
23
+ }).describe("Response model for profile union operation.")
24
+ });
25
+ //#endregion
26
+ export { mixpanelAddUniqueToProfileListProperty };
27
+
28
+ //# sourceMappingURL=add-unique-to-profile-list-property.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"add-unique-to-profile-list-property.mjs","names":[],"sources":["../../src/actions/add-unique-to-profile-list-property.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelAddUniqueToProfileListPropertyInput: z.ZodTypeAny = z.object({\n ip: z.number().int().describe(\"Controls geolocation. Set to 0 to disable geolocation, 1 to enable. Default is 1.\").optional(),\n data: z.array(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 token: z.string().describe(\"Your Mixpanel project authentication token. Required for authenticating the request.\"),\n union: z.object({}).describe(\"A JSON object containing key-value pairs where each key is a property name and each value is a list of items to union with that list property. Union adds values to a list property, excluding duplicates. If the property doesn't exist, it creates a new list with the provided values.\"),\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}).describe(\"Individual profile update object for union operations on list properties.\")).describe(\"A list of profile update objects. Each object must contain $token, $distinct_id, and $union properties. The $union operation adds values to list properties without creating duplicates.\"),\n strict: z.number().int().describe(\"Enables validation with per-record error messages. Set to 1 to enable strict mode, 0 to disable. When enabled, returns detailed validation errors for each failed record.\").optional(),\n verbose: z.number().int().describe(\"Returns detailed response object. Set to 1 to get JSON response with status and error fields, 0 for plain text status (1 for success, 0 for failure). Default is 0.\").optional(),\n callback: z.string().describe(\"JSONP callback function name. Used for JSONP requests.\").optional(),\n}).describe(\"Request model for union operations on list properties in user profiles.\");\nexport const MixpanelAddUniqueToProfileListPropertyOutput: z.ZodTypeAny = 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 profile union operation.\");\n\nexport const mixpanelAddUniqueToProfileListProperty = action(\"MIXPANEL_ADD_UNIQUE_TO_PROFILE_LIST_PROPERTY\", {\n slug: \"mixpanel-add-unique-to-profile-list-property\",\n name: \"Add Unique Values to Profile List Property\",\n description: \"Tool to add unique values to list properties on user profiles in Mixpanel using the $union operation. Use when you need to add items to list-type properties without creating duplicates. Unlike $append, $union ensures values are unique in the list. If the property doesn't exist, it creates a new list with the provided values.\",\n input: MixpanelAddUniqueToProfileListPropertyInput,\n output: MixpanelAddUniqueToProfileListPropertyOutput,\n});\n"],"mappings":";;AAsBA,MAAa,yCAAyC,OAAO,gDAAgD;CAC3G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtBuE,EAAE,OAAO;EAChF,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;EAC5H,MAAM,EAAE,MAAM,EAAE,OAAO;GACvB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sOAAsO,CAAC,CAAC,SAAS;GACzQ,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF;GACjH,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2RAA2R;GACxT,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;GACxI,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;EACpJ,CAAC,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,CAAC,SAAS,0LAA0L;EAC3R,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2KAA2K,CAAC,CAAC,SAAS;EACxN,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qKAAqK,CAAC,CAAC,SAAS;EACnN,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACnG,CAAC,CAAC,CAAC,SAAS,yEAUH;CACP,QAVwE,EAAE,OAAO;EACjF,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,6CAOF;AACV,CAAC"}
@@ -0,0 +1,46 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/aggregate-events.ts
4
+ const MixpanelAggregateEventsInput = zod.z.object({
5
+ type: zod.z.enum([
6
+ "general",
7
+ "unique",
8
+ "average",
9
+ "sum"
10
+ ]).default("general").describe("Type of aggregation").optional(),
11
+ unit: zod.z.enum([
12
+ "minute",
13
+ "hour",
14
+ "day",
15
+ "week",
16
+ "month"
17
+ ]).default("day").describe("Time unit for grouping results").optional(),
18
+ event: zod.z.string().describe("Name of the event to analyze At least one of `event` or `events` must be provided per request; omitting both returns a 'Missing required parameter: event' error.").optional(),
19
+ limit: zod.z.number().int().describe("Maximum number of results to return").optional(),
20
+ where: zod.z.string().describe("Expression to filter events").optional(),
21
+ events: zod.z.array(zod.z.string()).describe("List of event names to analyze").optional(),
22
+ to_date: zod.z.string().describe("End date for the query (inclusive)"),
23
+ interval: zod.z.number().int().describe("Time interval for the results in seconds").optional(),
24
+ from_date: zod.z.string().describe("Start date for the query (inclusive)"),
25
+ project_id: zod.z.number().int().describe("The ID of the project to query"),
26
+ workspace_id: zod.z.number().int().describe("The ID of the workspace if applicable").optional()
27
+ }).describe("Request model for getting aggregate event counts.");
28
+ const MixpanelAggregateEvents_EventDataSchema = zod.z.object({
29
+ series: zod.z.array(zod.z.string()).describe("All dates included in values"),
30
+ values: zod.z.object({}).describe("Keys are the names of events, each mapping to an object containing date-to-value mappings. Each event name maps to an object where keys are date strings (YYYY-MM-DD format) and values are numeric (int for general/unique aggregations, float for average/sum).")
31
+ }).describe("Model for event breakdown data structure");
32
+ const MixpanelAggregateEventsOutput = zod.z.object({
33
+ data: MixpanelAggregateEvents_EventDataSchema.nullable(),
34
+ legend_size: zod.z.number().int().describe("The number of events defined in values")
35
+ }).describe("Base response model for event breakdown data");
36
+ const mixpanelAggregateEvents = require_action.action("MIXPANEL_AGGREGATE_EVENTS", {
37
+ slug: "mixpanel-aggregate-events",
38
+ name: "Get Aggregate Events",
39
+ description: "Get aggregate event counts over time. Supports different types of aggregation: general, unique, average, sum.",
40
+ input: MixpanelAggregateEventsInput,
41
+ output: MixpanelAggregateEventsOutput
42
+ });
43
+ //#endregion
44
+ exports.mixpanelAggregateEvents = mixpanelAggregateEvents;
45
+
46
+ //# sourceMappingURL=aggregate-events.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aggregate-events.cjs","names":["z","action"],"sources":["../../src/actions/aggregate-events.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelAggregateEventsInput: z.ZodTypeAny = z.object({\n type: z.enum([\"general\", \"unique\", \"average\", \"sum\"]).default(\"general\").describe(\"Type of aggregation\").optional(),\n unit: z.enum([\"minute\", \"hour\", \"day\", \"week\", \"month\"]).default(\"day\").describe(\"Time unit for grouping results\").optional(),\n event: z.string().describe(\"Name of the event to analyze At least one of `event` or `events` must be provided per request; omitting both returns a 'Missing required parameter: event' error.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return\").optional(),\n where: z.string().describe(\"Expression to filter events\").optional(),\n events: z.array(z.string()).describe(\"List of event names to analyze\").optional(),\n to_date: z.string().describe(\"End date for the query (inclusive)\"),\n interval: z.number().int().describe(\"Time interval for the results in seconds\").optional(),\n from_date: z.string().describe(\"Start date for the query (inclusive)\"),\n project_id: z.number().int().describe(\"The ID of the project to query\"),\n workspace_id: z.number().int().describe(\"The ID of the workspace if applicable\").optional(),\n}).describe(\"Request model for getting aggregate event counts.\");\nconst MixpanelAggregateEvents_EventDataSchema: z.ZodTypeAny = z.object({\n series: z.array(z.string()).describe(\"All dates included in values\"),\n values: z.object({}).describe(\"Keys are the names of events, each mapping to an object containing date-to-value mappings. Each event name maps to an object where keys are date strings (YYYY-MM-DD format) and values are numeric (int for general/unique aggregations, float for average/sum).\"),\n}).describe(\"Model for event breakdown data structure\");\nexport const MixpanelAggregateEventsOutput: z.ZodTypeAny = z.object({\n data: MixpanelAggregateEvents_EventDataSchema.nullable(),\n legend_size: z.number().int().describe(\"The number of events defined in values\"),\n}).describe(\"Base response model for event breakdown data\");\n\nexport const mixpanelAggregateEvents = action(\"MIXPANEL_AGGREGATE_EVENTS\", {\n slug: \"mixpanel-aggregate-events\",\n name: \"Get Aggregate Events\",\n description: \"Get aggregate event counts over time. Supports different types of aggregation: general, unique, average, sum.\",\n input: MixpanelAggregateEventsInput,\n output: MixpanelAggregateEventsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAU;EAAW;CAAK,CAAC,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAClH,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAQ;EAAO;EAAQ;CAAO,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC5H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mKAAmK,CAAC,CAAC,SAAS;CACzM,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACjF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACnE,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAChF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACjE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACzF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACrE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC;CACtE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,0CAAwDA,IAAAA,EAAE,OAAO;CACrE,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8BAA8B;CACnE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mQAAmQ;AACnS,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,MAAM,wCAAwC,SAAS;CACvD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC;AACjF,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAE1D,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/aggregate-events.d.ts
4
+ declare const MixpanelAggregateEventsInput: z.ZodTypeAny;
5
+ declare const MixpanelAggregateEventsOutput: z.ZodTypeAny;
6
+ declare const mixpanelAggregateEvents: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { mixpanelAggregateEvents };
9
+ //# sourceMappingURL=aggregate-events.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aggregate-events.d.cts","names":[],"sources":["../../src/actions/aggregate-events.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAYmB;AAAA,cAKnD,6BAAA,EAA+B,CAAA,CAAE,UAGa;AAAA,cAE9C,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/aggregate-events.d.ts
4
+ declare const MixpanelAggregateEventsInput: z.ZodTypeAny;
5
+ declare const MixpanelAggregateEventsOutput: z.ZodTypeAny;
6
+ declare const mixpanelAggregateEvents: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { mixpanelAggregateEvents };
9
+ //# sourceMappingURL=aggregate-events.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aggregate-events.d.mts","names":[],"sources":["../../src/actions/aggregate-events.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAYmB;AAAA,cAKnD,6BAAA,EAA+B,CAAA,CAAE,UAGa;AAAA,cAE9C,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,45 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/aggregate-events.ts
4
+ const MixpanelAggregateEventsInput = z.object({
5
+ type: z.enum([
6
+ "general",
7
+ "unique",
8
+ "average",
9
+ "sum"
10
+ ]).default("general").describe("Type of aggregation").optional(),
11
+ unit: z.enum([
12
+ "minute",
13
+ "hour",
14
+ "day",
15
+ "week",
16
+ "month"
17
+ ]).default("day").describe("Time unit for grouping results").optional(),
18
+ event: z.string().describe("Name of the event to analyze At least one of `event` or `events` must be provided per request; omitting both returns a 'Missing required parameter: event' error.").optional(),
19
+ limit: z.number().int().describe("Maximum number of results to return").optional(),
20
+ where: z.string().describe("Expression to filter events").optional(),
21
+ events: z.array(z.string()).describe("List of event names to analyze").optional(),
22
+ to_date: z.string().describe("End date for the query (inclusive)"),
23
+ interval: z.number().int().describe("Time interval for the results in seconds").optional(),
24
+ from_date: z.string().describe("Start date for the query (inclusive)"),
25
+ project_id: z.number().int().describe("The ID of the project to query"),
26
+ workspace_id: z.number().int().describe("The ID of the workspace if applicable").optional()
27
+ }).describe("Request model for getting aggregate event counts.");
28
+ const MixpanelAggregateEvents_EventDataSchema = z.object({
29
+ series: z.array(z.string()).describe("All dates included in values"),
30
+ values: z.object({}).describe("Keys are the names of events, each mapping to an object containing date-to-value mappings. Each event name maps to an object where keys are date strings (YYYY-MM-DD format) and values are numeric (int for general/unique aggregations, float for average/sum).")
31
+ }).describe("Model for event breakdown data structure");
32
+ const mixpanelAggregateEvents = action("MIXPANEL_AGGREGATE_EVENTS", {
33
+ slug: "mixpanel-aggregate-events",
34
+ name: "Get Aggregate Events",
35
+ description: "Get aggregate event counts over time. Supports different types of aggregation: general, unique, average, sum.",
36
+ input: MixpanelAggregateEventsInput,
37
+ output: z.object({
38
+ data: MixpanelAggregateEvents_EventDataSchema.nullable(),
39
+ legend_size: z.number().int().describe("The number of events defined in values")
40
+ }).describe("Base response model for event breakdown data")
41
+ });
42
+ //#endregion
43
+ export { mixpanelAggregateEvents };
44
+
45
+ //# sourceMappingURL=aggregate-events.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aggregate-events.mjs","names":[],"sources":["../../src/actions/aggregate-events.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelAggregateEventsInput: z.ZodTypeAny = z.object({\n type: z.enum([\"general\", \"unique\", \"average\", \"sum\"]).default(\"general\").describe(\"Type of aggregation\").optional(),\n unit: z.enum([\"minute\", \"hour\", \"day\", \"week\", \"month\"]).default(\"day\").describe(\"Time unit for grouping results\").optional(),\n event: z.string().describe(\"Name of the event to analyze At least one of `event` or `events` must be provided per request; omitting both returns a 'Missing required parameter: event' error.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return\").optional(),\n where: z.string().describe(\"Expression to filter events\").optional(),\n events: z.array(z.string()).describe(\"List of event names to analyze\").optional(),\n to_date: z.string().describe(\"End date for the query (inclusive)\"),\n interval: z.number().int().describe(\"Time interval for the results in seconds\").optional(),\n from_date: z.string().describe(\"Start date for the query (inclusive)\"),\n project_id: z.number().int().describe(\"The ID of the project to query\"),\n workspace_id: z.number().int().describe(\"The ID of the workspace if applicable\").optional(),\n}).describe(\"Request model for getting aggregate event counts.\");\nconst MixpanelAggregateEvents_EventDataSchema: z.ZodTypeAny = z.object({\n series: z.array(z.string()).describe(\"All dates included in values\"),\n values: z.object({}).describe(\"Keys are the names of events, each mapping to an object containing date-to-value mappings. Each event name maps to an object where keys are date strings (YYYY-MM-DD format) and values are numeric (int for general/unique aggregations, float for average/sum).\"),\n}).describe(\"Model for event breakdown data structure\");\nexport const MixpanelAggregateEventsOutput: z.ZodTypeAny = z.object({\n data: MixpanelAggregateEvents_EventDataSchema.nullable(),\n legend_size: z.number().int().describe(\"The number of events defined in values\"),\n}).describe(\"Base response model for event breakdown data\");\n\nexport const mixpanelAggregateEvents = action(\"MIXPANEL_AGGREGATE_EVENTS\", {\n slug: \"mixpanel-aggregate-events\",\n name: \"Get Aggregate Events\",\n description: \"Get aggregate event counts over time. Supports different types of aggregation: general, unique, average, sum.\",\n input: MixpanelAggregateEventsInput,\n output: MixpanelAggregateEventsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA6C,EAAE,OAAO;CACjE,MAAM,EAAE,KAAK;EAAC;EAAW;EAAU;EAAW;CAAK,CAAC,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAClH,MAAM,EAAE,KAAK;EAAC;EAAU;EAAQ;EAAO;EAAQ;CAAO,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC5H,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mKAAmK,CAAC,CAAC,SAAS;CACzM,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACjF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACnE,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAChF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACjE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACzF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACrE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC;CACtE,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,0CAAwD,EAAE,OAAO;CACrE,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8BAA8B;CACnE,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mQAAmQ;AACnS,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAMtD,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVyD,EAAE,OAAO;EAClE,MAAM,wCAAwC,SAAS;EACvD,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC;CACjF,CAAC,CAAC,CAAC,SAAS,8CAOF;AACV,CAAC"}
@@ -0,0 +1,46 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/aggregated-event-property-values.ts
4
+ const MixpanelAggregatedEventPropertyValuesInput = zod.z.object({
5
+ name: zod.z.string().describe("The name of the property you would like to get data for"),
6
+ type: zod.z.enum([
7
+ "general",
8
+ "unique",
9
+ "average"
10
+ ]).describe("The analysis type you would like to get data for"),
11
+ unit: zod.z.enum([
12
+ "minute",
13
+ "hour",
14
+ "day",
15
+ "week",
16
+ "month"
17
+ ]).describe("The level of granularity of the data"),
18
+ event: zod.z.string().describe("The event that you wish to get data for. Note: this is a single event name, not an array"),
19
+ limit: zod.z.number().int().default(255).describe("The maximum number of values to return").optional(),
20
+ format: zod.z.enum(["json", "csv"]).default("json").describe("Data format options for Mixpanel responses.").optional(),
21
+ values: zod.z.array(zod.z.string()).describe("The specific property values that you would like to get data for. Example: ['female', 'unknown']").optional(),
22
+ to_date: zod.z.string().describe("The date in yyyy-mm-dd format to query to (inclusive)").optional(),
23
+ interval: zod.z.number().int().describe("The number of units to return data for. Specify either interval or from_date and to_date").optional(),
24
+ from_date: zod.z.string().describe("The date in yyyy-mm-dd format to begin querying from (inclusive)").optional(),
25
+ project_id: zod.z.number().int().describe("Required if using service account to authenticate request"),
26
+ workspace_id: zod.z.number().int().describe("The id of the workspace if applicable").optional()
27
+ }).describe("Request model for getting aggregated event property values");
28
+ const MixpanelAggregatedEventPropertyValues_SeriesDataSchema = zod.z.object({
29
+ series: zod.z.array(zod.z.string()).describe("Array of series data"),
30
+ values: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Values data")
31
+ }).describe("Model for series data");
32
+ const MixpanelAggregatedEventPropertyValuesOutput = zod.z.object({
33
+ data: MixpanelAggregatedEventPropertyValues_SeriesDataSchema.nullable(),
34
+ legend_size: zod.z.number().int().describe("Size of the legend")
35
+ }).describe("Response model for aggregated event property values data");
36
+ const mixpanelAggregatedEventPropertyValues = require_action.action("MIXPANEL_AGGREGATED_EVENT_PROPERTY_VALUES", {
37
+ slug: "mixpanel-aggregated-event-property-values",
38
+ name: "Get Aggregated Event Property Values",
39
+ description: "Get unique, total, or average data for a single event and property over days, weeks, or months. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.",
40
+ input: MixpanelAggregatedEventPropertyValuesInput,
41
+ output: MixpanelAggregatedEventPropertyValuesOutput
42
+ });
43
+ //#endregion
44
+ exports.mixpanelAggregatedEventPropertyValues = mixpanelAggregatedEventPropertyValues;
45
+
46
+ //# sourceMappingURL=aggregated-event-property-values.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aggregated-event-property-values.cjs","names":["z","action"],"sources":["../../src/actions/aggregated-event-property-values.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelAggregatedEventPropertyValuesInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The name of the property you would like to get data for\"),\n type: z.enum([\"general\", \"unique\", \"average\"]).describe(\"The analysis type you would like to get data for\"),\n unit: z.enum([\"minute\", \"hour\", \"day\", \"week\", \"month\"]).describe(\"The level of granularity of the data\"),\n event: z.string().describe(\"The event that you wish to get data for. Note: this is a single event name, not an array\"),\n limit: z.number().int().default(255).describe(\"The maximum number of values to return\").optional(),\n format: z.enum([\"json\", \"csv\"]).default(\"json\").describe(\"Data format options for Mixpanel responses.\").optional(),\n values: z.array(z.string()).describe(\"The specific property values that you would like to get data for. Example: ['female', 'unknown']\").optional(),\n to_date: z.string().describe(\"The date in yyyy-mm-dd format to query to (inclusive)\").optional(),\n interval: z.number().int().describe(\"The number of units to return data for. Specify either interval or from_date and to_date\").optional(),\n from_date: z.string().describe(\"The date in yyyy-mm-dd format to begin querying from (inclusive)\").optional(),\n project_id: z.number().int().describe(\"Required if using service account to authenticate request\"),\n workspace_id: z.number().int().describe(\"The id of the workspace if applicable\").optional(),\n}).describe(\"Request model for getting aggregated event property values\");\nconst MixpanelAggregatedEventPropertyValues_SeriesDataSchema: z.ZodTypeAny = z.object({\n series: z.array(z.string()).describe(\"Array of series data\"),\n values: z.record(z.string(), z.unknown()).describe(\"Values data\"),\n}).describe(\"Model for series data\");\nexport const MixpanelAggregatedEventPropertyValuesOutput: z.ZodTypeAny = z.object({\n data: MixpanelAggregatedEventPropertyValues_SeriesDataSchema.nullable(),\n legend_size: z.number().int().describe(\"Size of the legend\"),\n}).describe(\"Response model for aggregated event property values data\");\n\nexport const mixpanelAggregatedEventPropertyValues = action(\"MIXPANEL_AGGREGATED_EVENT_PROPERTY_VALUES\", {\n slug: \"mixpanel-aggregated-event-property-values\",\n name: \"Get Aggregated Event Property Values\",\n description: \"Get unique, total, or average data for a single event and property over days, weeks, or months. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.\",\n input: MixpanelAggregatedEventPropertyValuesInput,\n output: MixpanelAggregatedEventPropertyValuesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6CAA2DA,IAAAA,EAAE,OAAO;CAC/E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACnF,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAU;CAAS,CAAC,CAAC,CAAC,SAAS,kDAAkD;CAC1G,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAQ;EAAO;EAAQ;CAAO,CAAC,CAAC,CAAC,SAAS,sCAAsC;CACxG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F;CACrH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACjG,QAAQA,IAAAA,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACjH,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;CAClJ,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC/F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACzI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC5G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;CACjG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,yDAAuEA,IAAAA,EAAE,OAAO;CACpF,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sBAAsB;CAC3D,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,aAAa;AAClE,CAAC,CAAC,CAAC,SAAS,uBAAuB;AACnC,MAAa,8CAA4DA,IAAAA,EAAE,OAAO;CAChF,MAAM,uDAAuD,SAAS;CACtE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB;AAC7D,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAEtE,MAAa,wCAAwCC,eAAAA,OAAO,6CAA6C;CACvG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/aggregated-event-property-values.d.ts
4
+ declare const MixpanelAggregatedEventPropertyValuesInput: z.ZodTypeAny;
5
+ declare const MixpanelAggregatedEventPropertyValuesOutput: z.ZodTypeAny;
6
+ declare const mixpanelAggregatedEventPropertyValues: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { mixpanelAggregatedEventPropertyValues };
9
+ //# sourceMappingURL=aggregated-event-property-values.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aggregated-event-property-values.d.cts","names":[],"sources":["../../src/actions/aggregated-event-property-values.ts"],"mappings":";;;cAIa,0CAAA,EAA4C,CAAA,CAAE,UAac;AAAA,cAK5D,2CAAA,EAA6C,CAAA,CAAE,UAGW;AAAA,cAE1D,qCAAA,gCAAqC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/aggregated-event-property-values.d.ts
4
+ declare const MixpanelAggregatedEventPropertyValuesInput: z.ZodTypeAny;
5
+ declare const MixpanelAggregatedEventPropertyValuesOutput: z.ZodTypeAny;
6
+ declare const mixpanelAggregatedEventPropertyValues: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { mixpanelAggregatedEventPropertyValues };
9
+ //# sourceMappingURL=aggregated-event-property-values.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aggregated-event-property-values.d.mts","names":[],"sources":["../../src/actions/aggregated-event-property-values.ts"],"mappings":";;;cAIa,0CAAA,EAA4C,CAAA,CAAE,UAac;AAAA,cAK5D,2CAAA,EAA6C,CAAA,CAAE,UAGW;AAAA,cAE1D,qCAAA,gCAAqC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,45 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/aggregated-event-property-values.ts
4
+ const MixpanelAggregatedEventPropertyValuesInput = z.object({
5
+ name: z.string().describe("The name of the property you would like to get data for"),
6
+ type: z.enum([
7
+ "general",
8
+ "unique",
9
+ "average"
10
+ ]).describe("The analysis type you would like to get data for"),
11
+ unit: z.enum([
12
+ "minute",
13
+ "hour",
14
+ "day",
15
+ "week",
16
+ "month"
17
+ ]).describe("The level of granularity of the data"),
18
+ event: z.string().describe("The event that you wish to get data for. Note: this is a single event name, not an array"),
19
+ limit: z.number().int().default(255).describe("The maximum number of values to return").optional(),
20
+ format: z.enum(["json", "csv"]).default("json").describe("Data format options for Mixpanel responses.").optional(),
21
+ values: z.array(z.string()).describe("The specific property values that you would like to get data for. Example: ['female', 'unknown']").optional(),
22
+ to_date: z.string().describe("The date in yyyy-mm-dd format to query to (inclusive)").optional(),
23
+ interval: z.number().int().describe("The number of units to return data for. Specify either interval or from_date and to_date").optional(),
24
+ from_date: z.string().describe("The date in yyyy-mm-dd format to begin querying from (inclusive)").optional(),
25
+ project_id: z.number().int().describe("Required if using service account to authenticate request"),
26
+ workspace_id: z.number().int().describe("The id of the workspace if applicable").optional()
27
+ }).describe("Request model for getting aggregated event property values");
28
+ const MixpanelAggregatedEventPropertyValues_SeriesDataSchema = z.object({
29
+ series: z.array(z.string()).describe("Array of series data"),
30
+ values: z.record(z.string(), z.unknown()).describe("Values data")
31
+ }).describe("Model for series data");
32
+ const mixpanelAggregatedEventPropertyValues = action("MIXPANEL_AGGREGATED_EVENT_PROPERTY_VALUES", {
33
+ slug: "mixpanel-aggregated-event-property-values",
34
+ name: "Get Aggregated Event Property Values",
35
+ description: "Get unique, total, or average data for a single event and property over days, weeks, or months. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.",
36
+ input: MixpanelAggregatedEventPropertyValuesInput,
37
+ output: z.object({
38
+ data: MixpanelAggregatedEventPropertyValues_SeriesDataSchema.nullable(),
39
+ legend_size: z.number().int().describe("Size of the legend")
40
+ }).describe("Response model for aggregated event property values data")
41
+ });
42
+ //#endregion
43
+ export { mixpanelAggregatedEventPropertyValues };
44
+
45
+ //# sourceMappingURL=aggregated-event-property-values.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aggregated-event-property-values.mjs","names":[],"sources":["../../src/actions/aggregated-event-property-values.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelAggregatedEventPropertyValuesInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The name of the property you would like to get data for\"),\n type: z.enum([\"general\", \"unique\", \"average\"]).describe(\"The analysis type you would like to get data for\"),\n unit: z.enum([\"minute\", \"hour\", \"day\", \"week\", \"month\"]).describe(\"The level of granularity of the data\"),\n event: z.string().describe(\"The event that you wish to get data for. Note: this is a single event name, not an array\"),\n limit: z.number().int().default(255).describe(\"The maximum number of values to return\").optional(),\n format: z.enum([\"json\", \"csv\"]).default(\"json\").describe(\"Data format options for Mixpanel responses.\").optional(),\n values: z.array(z.string()).describe(\"The specific property values that you would like to get data for. Example: ['female', 'unknown']\").optional(),\n to_date: z.string().describe(\"The date in yyyy-mm-dd format to query to (inclusive)\").optional(),\n interval: z.number().int().describe(\"The number of units to return data for. Specify either interval or from_date and to_date\").optional(),\n from_date: z.string().describe(\"The date in yyyy-mm-dd format to begin querying from (inclusive)\").optional(),\n project_id: z.number().int().describe(\"Required if using service account to authenticate request\"),\n workspace_id: z.number().int().describe(\"The id of the workspace if applicable\").optional(),\n}).describe(\"Request model for getting aggregated event property values\");\nconst MixpanelAggregatedEventPropertyValues_SeriesDataSchema: z.ZodTypeAny = z.object({\n series: z.array(z.string()).describe(\"Array of series data\"),\n values: z.record(z.string(), z.unknown()).describe(\"Values data\"),\n}).describe(\"Model for series data\");\nexport const MixpanelAggregatedEventPropertyValuesOutput: z.ZodTypeAny = z.object({\n data: MixpanelAggregatedEventPropertyValues_SeriesDataSchema.nullable(),\n legend_size: z.number().int().describe(\"Size of the legend\"),\n}).describe(\"Response model for aggregated event property values data\");\n\nexport const mixpanelAggregatedEventPropertyValues = action(\"MIXPANEL_AGGREGATED_EVENT_PROPERTY_VALUES\", {\n slug: \"mixpanel-aggregated-event-property-values\",\n name: \"Get Aggregated Event Property Values\",\n description: \"Get unique, total, or average data for a single event and property over days, weeks, or months. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.\",\n input: MixpanelAggregatedEventPropertyValuesInput,\n output: MixpanelAggregatedEventPropertyValuesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6CAA2D,EAAE,OAAO;CAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACnF,MAAM,EAAE,KAAK;EAAC;EAAW;EAAU;CAAS,CAAC,CAAC,CAAC,SAAS,kDAAkD;CAC1G,MAAM,EAAE,KAAK;EAAC;EAAU;EAAQ;EAAO;EAAQ;CAAO,CAAC,CAAC,CAAC,SAAS,sCAAsC;CACxG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F;CACrH,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACjG,QAAQ,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACjH,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;CAClJ,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC/F,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACzI,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC5G,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;CACjG,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,yDAAuE,EAAE,OAAO;CACpF,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sBAAsB;CAC3D,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,aAAa;AAClE,CAAC,CAAC,CAAC,SAAS,uBAAuB;AAMnC,MAAa,wCAAwC,OAAO,6CAA6C;CACvG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVuE,EAAE,OAAO;EAChF,MAAM,uDAAuD,SAAS;EACtE,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB;CAC7D,CAAC,CAAC,CAAC,SAAS,0DAOF;AACV,CAAC"}
@@ -0,0 +1,28 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/cohorts-list.ts
4
+ const MixpanelCohortsListInput = zod.z.object({
5
+ project_id: zod.z.number().int().describe("The ID of the project to query. Required for listing cohorts."),
6
+ workspace_id: zod.z.number().int().describe("The ID of the workspace if applicable.").optional()
7
+ }).describe("Request model for listing cohorts from Mixpanel.");
8
+ const MixpanelCohortsList_CohortItemSchema = zod.z.object({
9
+ id: zod.z.number().int().describe("Unique cohort identifier"),
10
+ name: zod.z.string().describe("The cohort's display name"),
11
+ count: zod.z.number().int().describe("Number of users in the cohort"),
12
+ created: zod.z.string().describe("Creation timestamp"),
13
+ is_visible: zod.z.number().int().describe("Visibility status flag (0 = not visible, 1 = visible)"),
14
+ project_id: zod.z.number().int().describe("Associated project ID"),
15
+ description: zod.z.string().describe("Cohort description/details").nullable().optional()
16
+ }).describe("Individual cohort details.");
17
+ const MixpanelCohortsListOutput = zod.z.object({ cohorts: zod.z.array(MixpanelCohortsList_CohortItemSchema).describe("List of cohorts in the project").nullable().optional() }).describe("Response model for list cohorts data.");
18
+ const mixpanelCohortsList = require_action.action("MIXPANEL_COHORTS_LIST", {
19
+ slug: "mixpanel-cohorts-list",
20
+ name: "List Saved Cohorts",
21
+ description: "Tool to list all saved cohorts in a Mixpanel project. Use when you need to retrieve cohort metadata including name, id, count, description, creation date, and visibility. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.",
22
+ input: MixpanelCohortsListInput,
23
+ output: MixpanelCohortsListOutput
24
+ });
25
+ //#endregion
26
+ exports.mixpanelCohortsList = mixpanelCohortsList;
27
+
28
+ //# sourceMappingURL=cohorts-list.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cohorts-list.cjs","names":["z","action"],"sources":["../../src/actions/cohorts-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelCohortsListInput: z.ZodTypeAny = z.object({\n project_id: z.number().int().describe(\"The ID of the project to query. Required for listing cohorts.\"),\n workspace_id: z.number().int().describe(\"The ID of the workspace if applicable.\").optional(),\n}).describe(\"Request model for listing cohorts from Mixpanel.\");\nconst MixpanelCohortsList_CohortItemSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique cohort identifier\"),\n name: z.string().describe(\"The cohort's display name\"),\n count: z.number().int().describe(\"Number of users in the cohort\"),\n created: z.string().describe(\"Creation timestamp\"),\n is_visible: z.number().int().describe(\"Visibility status flag (0 = not visible, 1 = visible)\"),\n project_id: z.number().int().describe(\"Associated project ID\"),\n description: z.string().describe(\"Cohort description/details\").nullable().optional(),\n}).describe(\"Individual cohort details.\");\nexport const MixpanelCohortsListOutput: z.ZodTypeAny = z.object({\n cohorts: z.array(MixpanelCohortsList_CohortItemSchema).describe(\"List of cohorts in the project\").nullable().optional(),\n}).describe(\"Response model for list cohorts data.\");\n\nexport const mixpanelCohortsList = action(\"MIXPANEL_COHORTS_LIST\", {\n slug: \"mixpanel-cohorts-list\",\n name: \"List Saved Cohorts\",\n description: \"Tool to list all saved cohorts in a Mixpanel project. Use when you need to retrieve cohort metadata including name, id, count, description, creation date, and visibility. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.\",\n input: MixpanelCohortsListInput,\n output: MixpanelCohortsListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D;CACrG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,uCAAqDA,IAAAA,EAAE,OAAO;CAClE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACrD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B;CAChE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;CACjD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD;CAC7F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB;CAC7D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,SAAS,4BAA4B;AACxC,MAAa,4BAA0CA,IAAAA,EAAE,OAAO,EAC9D,SAASA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxH,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAEnD,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/cohorts-list.d.ts
4
+ declare const MixpanelCohortsListInput: z.ZodTypeAny;
5
+ declare const MixpanelCohortsListOutput: z.ZodTypeAny;
6
+ declare const mixpanelCohortsList: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { mixpanelCohortsList };
9
+ //# sourceMappingURL=cohorts-list.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cohorts-list.d.cts","names":[],"sources":["../../src/actions/cohorts-list.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAGsB;AAAA,cAUlD,yBAAA,EAA2B,CAAA,CAAE,UAEU;AAAA,cAEvC,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/cohorts-list.d.ts
4
+ declare const MixpanelCohortsListInput: z.ZodTypeAny;
5
+ declare const MixpanelCohortsListOutput: z.ZodTypeAny;
6
+ declare const mixpanelCohortsList: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { mixpanelCohortsList };
9
+ //# sourceMappingURL=cohorts-list.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cohorts-list.d.mts","names":[],"sources":["../../src/actions/cohorts-list.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAGsB;AAAA,cAUlD,yBAAA,EAA2B,CAAA,CAAE,UAEU;AAAA,cAEvC,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,27 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/cohorts-list.ts
4
+ const MixpanelCohortsListInput = z.object({
5
+ project_id: z.number().int().describe("The ID of the project to query. Required for listing cohorts."),
6
+ workspace_id: z.number().int().describe("The ID of the workspace if applicable.").optional()
7
+ }).describe("Request model for listing cohorts from Mixpanel.");
8
+ const MixpanelCohortsList_CohortItemSchema = z.object({
9
+ id: z.number().int().describe("Unique cohort identifier"),
10
+ name: z.string().describe("The cohort's display name"),
11
+ count: z.number().int().describe("Number of users in the cohort"),
12
+ created: z.string().describe("Creation timestamp"),
13
+ is_visible: z.number().int().describe("Visibility status flag (0 = not visible, 1 = visible)"),
14
+ project_id: z.number().int().describe("Associated project ID"),
15
+ description: z.string().describe("Cohort description/details").nullable().optional()
16
+ }).describe("Individual cohort details.");
17
+ const mixpanelCohortsList = action("MIXPANEL_COHORTS_LIST", {
18
+ slug: "mixpanel-cohorts-list",
19
+ name: "List Saved Cohorts",
20
+ description: "Tool to list all saved cohorts in a Mixpanel project. Use when you need to retrieve cohort metadata including name, id, count, description, creation date, and visibility. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.",
21
+ input: MixpanelCohortsListInput,
22
+ output: z.object({ cohorts: z.array(MixpanelCohortsList_CohortItemSchema).describe("List of cohorts in the project").nullable().optional() }).describe("Response model for list cohorts data.")
23
+ });
24
+ //#endregion
25
+ export { mixpanelCohortsList };
26
+
27
+ //# sourceMappingURL=cohorts-list.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cohorts-list.mjs","names":[],"sources":["../../src/actions/cohorts-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelCohortsListInput: z.ZodTypeAny = z.object({\n project_id: z.number().int().describe(\"The ID of the project to query. Required for listing cohorts.\"),\n workspace_id: z.number().int().describe(\"The ID of the workspace if applicable.\").optional(),\n}).describe(\"Request model for listing cohorts from Mixpanel.\");\nconst MixpanelCohortsList_CohortItemSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique cohort identifier\"),\n name: z.string().describe(\"The cohort's display name\"),\n count: z.number().int().describe(\"Number of users in the cohort\"),\n created: z.string().describe(\"Creation timestamp\"),\n is_visible: z.number().int().describe(\"Visibility status flag (0 = not visible, 1 = visible)\"),\n project_id: z.number().int().describe(\"Associated project ID\"),\n description: z.string().describe(\"Cohort description/details\").nullable().optional(),\n}).describe(\"Individual cohort details.\");\nexport const MixpanelCohortsListOutput: z.ZodTypeAny = z.object({\n cohorts: z.array(MixpanelCohortsList_CohortItemSchema).describe(\"List of cohorts in the project\").nullable().optional(),\n}).describe(\"Response model for list cohorts data.\");\n\nexport const mixpanelCohortsList = action(\"MIXPANEL_COHORTS_LIST\", {\n slug: \"mixpanel-cohorts-list\",\n name: \"List Saved Cohorts\",\n description: \"Tool to list all saved cohorts in a Mixpanel project. Use when you need to retrieve cohort metadata including name, id, count, description, creation date, and visibility. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.\",\n input: MixpanelCohortsListInput,\n output: MixpanelCohortsListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyC,EAAE,OAAO;CAC7D,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D;CACrG,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,uCAAqD,EAAE,OAAO;CAClE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACrD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B;CAChE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;CACjD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD;CAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB;CAC7D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,SAAS,4BAA4B;AAKxC,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATqD,EAAE,OAAO,EAC9D,SAAS,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxH,CAAC,CAAC,CAAC,SAAS,uCAOF;AACV,CAAC"}