@keystrokehq/mixpanel 0.1.0 → 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 (356) hide show
  1. package/README.md +1 -1
  2. package/dist/action.cjs.map +1 -1
  3. package/dist/action.mjs.map +1 -1
  4. package/dist/actions/add-unique-to-profile-list-property.cjs +3 -3
  5. package/dist/actions/add-unique-to-profile-list-property.cjs.map +1 -1
  6. package/dist/actions/add-unique-to-profile-list-property.d.cts +31 -3
  7. package/dist/actions/add-unique-to-profile-list-property.d.cts.map +1 -1
  8. package/dist/actions/add-unique-to-profile-list-property.d.mts +31 -3
  9. package/dist/actions/add-unique-to-profile-list-property.d.mts.map +1 -1
  10. package/dist/actions/add-unique-to-profile-list-property.mjs +3 -3
  11. package/dist/actions/add-unique-to-profile-list-property.mjs.map +1 -1
  12. package/dist/actions/aggregate-events.cjs +4 -4
  13. package/dist/actions/aggregate-events.cjs.map +1 -1
  14. package/dist/actions/aggregate-events.d.cts +44 -3
  15. package/dist/actions/aggregate-events.d.cts.map +1 -1
  16. package/dist/actions/aggregate-events.d.mts +44 -3
  17. package/dist/actions/aggregate-events.d.mts.map +1 -1
  18. package/dist/actions/aggregate-events.mjs +4 -4
  19. package/dist/actions/aggregate-events.mjs.map +1 -1
  20. package/dist/actions/aggregated-event-property-values.cjs +3 -3
  21. package/dist/actions/aggregated-event-property-values.cjs.map +1 -1
  22. package/dist/actions/aggregated-event-property-values.d.cts +48 -3
  23. package/dist/actions/aggregated-event-property-values.d.cts.map +1 -1
  24. package/dist/actions/aggregated-event-property-values.d.mts +48 -3
  25. package/dist/actions/aggregated-event-property-values.d.mts.map +1 -1
  26. package/dist/actions/aggregated-event-property-values.mjs +3 -3
  27. package/dist/actions/aggregated-event-property-values.mjs.map +1 -1
  28. package/dist/actions/cohorts-list.cjs +8 -8
  29. package/dist/actions/cohorts-list.cjs.map +1 -1
  30. package/dist/actions/cohorts-list.d.cts +19 -3
  31. package/dist/actions/cohorts-list.d.cts.map +1 -1
  32. package/dist/actions/cohorts-list.d.mts +19 -3
  33. package/dist/actions/cohorts-list.d.mts.map +1 -1
  34. package/dist/actions/cohorts-list.mjs +8 -8
  35. package/dist/actions/cohorts-list.mjs.map +1 -1
  36. package/dist/actions/create-annotation-tag.cjs +4 -4
  37. package/dist/actions/create-annotation-tag.cjs.map +1 -1
  38. package/dist/actions/create-annotation-tag.d.cts +14 -3
  39. package/dist/actions/create-annotation-tag.d.cts.map +1 -1
  40. package/dist/actions/create-annotation-tag.d.mts +14 -3
  41. package/dist/actions/create-annotation-tag.d.mts.map +1 -1
  42. package/dist/actions/create-annotation-tag.mjs +4 -4
  43. package/dist/actions/create-annotation-tag.mjs.map +1 -1
  44. package/dist/actions/create-identity.cjs +1 -1
  45. package/dist/actions/create-identity.cjs.map +1 -1
  46. package/dist/actions/create-identity.d.cts +18 -3
  47. package/dist/actions/create-identity.d.cts.map +1 -1
  48. package/dist/actions/create-identity.d.mts +18 -3
  49. package/dist/actions/create-identity.d.mts.map +1 -1
  50. package/dist/actions/create-identity.mjs +1 -1
  51. package/dist/actions/create-identity.mjs.map +1 -1
  52. package/dist/actions/create-service-account.cjs +9 -9
  53. package/dist/actions/create-service-account.cjs.map +1 -1
  54. package/dist/actions/create-service-account.d.cts +44 -3
  55. package/dist/actions/create-service-account.d.cts.map +1 -1
  56. package/dist/actions/create-service-account.d.mts +44 -3
  57. package/dist/actions/create-service-account.d.mts.map +1 -1
  58. package/dist/actions/create-service-account.mjs +9 -9
  59. package/dist/actions/create-service-account.mjs.map +1 -1
  60. package/dist/actions/delete-group.cjs +1 -1
  61. package/dist/actions/delete-group.cjs.map +1 -1
  62. package/dist/actions/delete-group.d.cts +16 -3
  63. package/dist/actions/delete-group.d.cts.map +1 -1
  64. package/dist/actions/delete-group.d.mts +16 -3
  65. package/dist/actions/delete-group.d.mts.map +1 -1
  66. package/dist/actions/delete-group.mjs +1 -1
  67. package/dist/actions/delete-group.mjs.map +1 -1
  68. package/dist/actions/delete-profile-batch.cjs +2 -2
  69. package/dist/actions/delete-profile-batch.cjs.map +1 -1
  70. package/dist/actions/delete-profile-batch.d.cts +21 -3
  71. package/dist/actions/delete-profile-batch.d.cts.map +1 -1
  72. package/dist/actions/delete-profile-batch.d.mts +21 -3
  73. package/dist/actions/delete-profile-batch.d.mts.map +1 -1
  74. package/dist/actions/delete-profile-batch.mjs +2 -2
  75. package/dist/actions/delete-profile-batch.mjs.map +1 -1
  76. package/dist/actions/delete-profile-property.cjs +1 -1
  77. package/dist/actions/delete-profile-property.cjs.map +1 -1
  78. package/dist/actions/delete-profile-property.d.cts +22 -3
  79. package/dist/actions/delete-profile-property.d.cts.map +1 -1
  80. package/dist/actions/delete-profile-property.d.mts +22 -3
  81. package/dist/actions/delete-profile-property.d.mts.map +1 -1
  82. package/dist/actions/delete-profile-property.mjs +1 -1
  83. package/dist/actions/delete-profile-property.mjs.map +1 -1
  84. package/dist/actions/delete-profile.cjs +1 -1
  85. package/dist/actions/delete-profile.cjs.map +1 -1
  86. package/dist/actions/delete-profile.d.cts +17 -3
  87. package/dist/actions/delete-profile.d.cts.map +1 -1
  88. package/dist/actions/delete-profile.d.mts +17 -3
  89. package/dist/actions/delete-profile.d.mts.map +1 -1
  90. package/dist/actions/delete-profile.mjs +1 -1
  91. package/dist/actions/delete-profile.mjs.map +1 -1
  92. package/dist/actions/get-all-projects.cjs +1 -1
  93. package/dist/actions/get-all-projects.cjs.map +1 -1
  94. package/dist/actions/get-all-projects.d.cts +5 -3
  95. package/dist/actions/get-all-projects.d.cts.map +1 -1
  96. package/dist/actions/get-all-projects.d.mts +5 -3
  97. package/dist/actions/get-all-projects.d.mts.map +1 -1
  98. package/dist/actions/get-all-projects.mjs +1 -1
  99. package/dist/actions/get-all-projects.mjs.map +1 -1
  100. package/dist/actions/get-annotation-tags-alt1.cjs +6 -6
  101. package/dist/actions/get-annotation-tags-alt1.cjs.map +1 -1
  102. package/dist/actions/get-annotation-tags-alt1.d.cts +14 -3
  103. package/dist/actions/get-annotation-tags-alt1.d.cts.map +1 -1
  104. package/dist/actions/get-annotation-tags-alt1.d.mts +14 -3
  105. package/dist/actions/get-annotation-tags-alt1.d.mts.map +1 -1
  106. package/dist/actions/get-annotation-tags-alt1.mjs +6 -6
  107. package/dist/actions/get-annotation-tags-alt1.mjs.map +1 -1
  108. package/dist/actions/group-batch-update.cjs +5 -5
  109. package/dist/actions/group-batch-update.cjs.map +1 -1
  110. package/dist/actions/group-batch-update.d.cts +38 -3
  111. package/dist/actions/group-batch-update.d.cts.map +1 -1
  112. package/dist/actions/group-batch-update.d.mts +38 -3
  113. package/dist/actions/group-batch-update.d.mts.map +1 -1
  114. package/dist/actions/group-batch-update.mjs +5 -5
  115. package/dist/actions/group-batch-update.mjs.map +1 -1
  116. package/dist/actions/group-delete-property.cjs +2 -2
  117. package/dist/actions/group-delete-property.cjs.map +1 -1
  118. package/dist/actions/group-delete-property.d.cts +17 -3
  119. package/dist/actions/group-delete-property.d.cts.map +1 -1
  120. package/dist/actions/group-delete-property.d.mts +17 -3
  121. package/dist/actions/group-delete-property.d.mts.map +1 -1
  122. package/dist/actions/group-delete-property.mjs +2 -2
  123. package/dist/actions/group-delete-property.mjs.map +1 -1
  124. package/dist/actions/identity-create-alias.cjs +1 -1
  125. package/dist/actions/identity-create-alias.cjs.map +1 -1
  126. package/dist/actions/identity-create-alias.d.cts +13 -3
  127. package/dist/actions/identity-create-alias.d.cts.map +1 -1
  128. package/dist/actions/identity-create-alias.d.mts +13 -3
  129. package/dist/actions/identity-create-alias.d.mts.map +1 -1
  130. package/dist/actions/identity-create-alias.mjs +1 -1
  131. package/dist/actions/identity-create-alias.mjs.map +1 -1
  132. package/dist/actions/jql-query.cjs +1 -1
  133. package/dist/actions/jql-query.cjs.map +1 -1
  134. package/dist/actions/jql-query.d.cts +15 -3
  135. package/dist/actions/jql-query.d.cts.map +1 -1
  136. package/dist/actions/jql-query.d.mts +15 -3
  137. package/dist/actions/jql-query.d.mts.map +1 -1
  138. package/dist/actions/jql-query.mjs +1 -1
  139. package/dist/actions/jql-query.mjs.map +1 -1
  140. package/dist/actions/list-funnels.cjs +4 -4
  141. package/dist/actions/list-funnels.cjs.map +1 -1
  142. package/dist/actions/list-funnels.d.cts +14 -3
  143. package/dist/actions/list-funnels.d.cts.map +1 -1
  144. package/dist/actions/list-funnels.d.mts +14 -3
  145. package/dist/actions/list-funnels.d.mts.map +1 -1
  146. package/dist/actions/list-funnels.mjs +4 -4
  147. package/dist/actions/list-funnels.mjs.map +1 -1
  148. package/dist/actions/list-service-accounts.cjs +5 -5
  149. package/dist/actions/list-service-accounts.cjs.map +1 -1
  150. package/dist/actions/list-service-accounts.d.cts +18 -3
  151. package/dist/actions/list-service-accounts.d.cts.map +1 -1
  152. package/dist/actions/list-service-accounts.d.mts +18 -3
  153. package/dist/actions/list-service-accounts.d.mts.map +1 -1
  154. package/dist/actions/list-service-accounts.mjs +5 -5
  155. package/dist/actions/list-service-accounts.mjs.map +1 -1
  156. package/dist/actions/profile-append-to-list-property.cjs +2 -2
  157. package/dist/actions/profile-append-to-list-property.cjs.map +1 -1
  158. package/dist/actions/profile-append-to-list-property.d.cts +25 -3
  159. package/dist/actions/profile-append-to-list-property.d.cts.map +1 -1
  160. package/dist/actions/profile-append-to-list-property.d.mts +25 -3
  161. package/dist/actions/profile-append-to-list-property.d.mts.map +1 -1
  162. package/dist/actions/profile-append-to-list-property.mjs +2 -2
  163. package/dist/actions/profile-append-to-list-property.mjs.map +1 -1
  164. package/dist/actions/profile-batch-update.cjs +7 -7
  165. package/dist/actions/profile-batch-update.cjs.map +1 -1
  166. package/dist/actions/profile-batch-update.d.cts +47 -3
  167. package/dist/actions/profile-batch-update.d.cts.map +1 -1
  168. package/dist/actions/profile-batch-update.d.mts +47 -3
  169. package/dist/actions/profile-batch-update.d.mts.map +1 -1
  170. package/dist/actions/profile-batch-update.mjs +7 -7
  171. package/dist/actions/profile-batch-update.mjs.map +1 -1
  172. package/dist/actions/profile-event-activity.cjs +6 -6
  173. package/dist/actions/profile-event-activity.cjs.map +1 -1
  174. package/dist/actions/profile-event-activity.d.cts +59 -3
  175. package/dist/actions/profile-event-activity.d.cts.map +1 -1
  176. package/dist/actions/profile-event-activity.d.mts +59 -3
  177. package/dist/actions/profile-event-activity.d.mts.map +1 -1
  178. package/dist/actions/profile-event-activity.mjs +6 -6
  179. package/dist/actions/profile-event-activity.mjs.map +1 -1
  180. package/dist/actions/profile-numerical-add.cjs +2 -2
  181. package/dist/actions/profile-numerical-add.cjs.map +1 -1
  182. package/dist/actions/profile-numerical-add.d.cts +22 -3
  183. package/dist/actions/profile-numerical-add.d.cts.map +1 -1
  184. package/dist/actions/profile-numerical-add.d.mts +22 -3
  185. package/dist/actions/profile-numerical-add.d.mts.map +1 -1
  186. package/dist/actions/profile-numerical-add.mjs +2 -2
  187. package/dist/actions/profile-numerical-add.mjs.map +1 -1
  188. package/dist/actions/profile-remove-from-list-property.cjs +2 -2
  189. package/dist/actions/profile-remove-from-list-property.cjs.map +1 -1
  190. package/dist/actions/profile-remove-from-list-property.d.cts +25 -3
  191. package/dist/actions/profile-remove-from-list-property.d.cts.map +1 -1
  192. package/dist/actions/profile-remove-from-list-property.d.mts +25 -3
  193. package/dist/actions/profile-remove-from-list-property.d.mts.map +1 -1
  194. package/dist/actions/profile-remove-from-list-property.mjs +2 -2
  195. package/dist/actions/profile-remove-from-list-property.mjs.map +1 -1
  196. package/dist/actions/profile-set.cjs +1 -1
  197. package/dist/actions/profile-set.cjs.map +1 -1
  198. package/dist/actions/profile-set.d.cts +20 -3
  199. package/dist/actions/profile-set.d.cts.map +1 -1
  200. package/dist/actions/profile-set.d.mts +20 -3
  201. package/dist/actions/profile-set.d.mts.map +1 -1
  202. package/dist/actions/profile-set.mjs +1 -1
  203. package/dist/actions/profile-set.mjs.map +1 -1
  204. package/dist/actions/query-frequency-report.cjs +1 -1
  205. package/dist/actions/query-frequency-report.cjs.map +1 -1
  206. package/dist/actions/query-frequency-report.d.cts +34 -3
  207. package/dist/actions/query-frequency-report.d.cts.map +1 -1
  208. package/dist/actions/query-frequency-report.d.mts +34 -3
  209. package/dist/actions/query-frequency-report.d.mts.map +1 -1
  210. package/dist/actions/query-frequency-report.mjs +1 -1
  211. package/dist/actions/query-frequency-report.mjs.map +1 -1
  212. package/dist/actions/query-funnel.cjs +3 -3
  213. package/dist/actions/query-funnel.cjs.map +1 -1
  214. package/dist/actions/query-funnel.d.cts +43 -3
  215. package/dist/actions/query-funnel.d.cts.map +1 -1
  216. package/dist/actions/query-funnel.d.mts +43 -3
  217. package/dist/actions/query-funnel.d.mts.map +1 -1
  218. package/dist/actions/query-funnel.mjs +3 -3
  219. package/dist/actions/query-funnel.mjs.map +1 -1
  220. package/dist/actions/query-insight.cjs +6 -6
  221. package/dist/actions/query-insight.cjs.map +1 -1
  222. package/dist/actions/query-insight.d.cts +19 -3
  223. package/dist/actions/query-insight.d.cts.map +1 -1
  224. package/dist/actions/query-insight.d.mts +19 -3
  225. package/dist/actions/query-insight.d.mts.map +1 -1
  226. package/dist/actions/query-insight.mjs +6 -6
  227. package/dist/actions/query-insight.mjs.map +1 -1
  228. package/dist/actions/query-numeric-average.cjs +3 -3
  229. package/dist/actions/query-numeric-average.cjs.map +1 -1
  230. package/dist/actions/query-numeric-average.d.cts +27 -3
  231. package/dist/actions/query-numeric-average.d.cts.map +1 -1
  232. package/dist/actions/query-numeric-average.d.mts +27 -3
  233. package/dist/actions/query-numeric-average.d.mts.map +1 -1
  234. package/dist/actions/query-numeric-average.mjs +3 -3
  235. package/dist/actions/query-numeric-average.mjs.map +1 -1
  236. package/dist/actions/query-numeric-sum.cjs +4 -4
  237. package/dist/actions/query-numeric-sum.cjs.map +1 -1
  238. package/dist/actions/query-numeric-sum.d.cts +28 -3
  239. package/dist/actions/query-numeric-sum.d.cts.map +1 -1
  240. package/dist/actions/query-numeric-sum.d.mts +28 -3
  241. package/dist/actions/query-numeric-sum.d.mts.map +1 -1
  242. package/dist/actions/query-numeric-sum.mjs +4 -4
  243. package/dist/actions/query-numeric-sum.mjs.map +1 -1
  244. package/dist/actions/query-profiles.cjs +9 -9
  245. package/dist/actions/query-profiles.cjs.map +1 -1
  246. package/dist/actions/query-profiles.d.cts +41 -3
  247. package/dist/actions/query-profiles.d.cts.map +1 -1
  248. package/dist/actions/query-profiles.d.mts +41 -3
  249. package/dist/actions/query-profiles.d.mts.map +1 -1
  250. package/dist/actions/query-profiles.mjs +9 -9
  251. package/dist/actions/query-profiles.mjs.map +1 -1
  252. package/dist/actions/query-retention-report.cjs +1 -1
  253. package/dist/actions/query-retention-report.cjs.map +1 -1
  254. package/dist/actions/query-retention-report.d.cts +42 -3
  255. package/dist/actions/query-retention-report.d.cts.map +1 -1
  256. package/dist/actions/query-retention-report.d.mts +42 -3
  257. package/dist/actions/query-retention-report.d.mts.map +1 -1
  258. package/dist/actions/query-retention-report.mjs +1 -1
  259. package/dist/actions/query-retention-report.mjs.map +1 -1
  260. package/dist/actions/query-segmentation.cjs +4 -4
  261. package/dist/actions/query-segmentation.cjs.map +1 -1
  262. package/dist/actions/query-segmentation.d.cts +40 -3
  263. package/dist/actions/query-segmentation.d.cts.map +1 -1
  264. package/dist/actions/query-segmentation.d.mts +40 -3
  265. package/dist/actions/query-segmentation.d.mts.map +1 -1
  266. package/dist/actions/query-segmentation.mjs +4 -4
  267. package/dist/actions/query-segmentation.mjs.map +1 -1
  268. package/dist/actions/query-top-events.cjs +5 -5
  269. package/dist/actions/query-top-events.cjs.map +1 -1
  270. package/dist/actions/query-top-events.d.cts +28 -3
  271. package/dist/actions/query-top-events.d.cts.map +1 -1
  272. package/dist/actions/query-top-events.d.mts +28 -3
  273. package/dist/actions/query-top-events.d.mts.map +1 -1
  274. package/dist/actions/query-top-events.mjs +5 -5
  275. package/dist/actions/query-top-events.mjs.map +1 -1
  276. package/dist/actions/remove-from-group-list-property.cjs +2 -2
  277. package/dist/actions/remove-from-group-list-property.cjs.map +1 -1
  278. package/dist/actions/remove-from-group-list-property.d.cts +22 -3
  279. package/dist/actions/remove-from-group-list-property.d.cts.map +1 -1
  280. package/dist/actions/remove-from-group-list-property.d.mts +22 -3
  281. package/dist/actions/remove-from-group-list-property.d.mts.map +1 -1
  282. package/dist/actions/remove-from-group-list-property.mjs +2 -2
  283. package/dist/actions/remove-from-group-list-property.mjs.map +1 -1
  284. package/dist/actions/remove-from-list-property.cjs +1 -1
  285. package/dist/actions/remove-from-list-property.cjs.map +1 -1
  286. package/dist/actions/remove-from-list-property.d.cts +20 -3
  287. package/dist/actions/remove-from-list-property.d.cts.map +1 -1
  288. package/dist/actions/remove-from-list-property.d.mts +20 -3
  289. package/dist/actions/remove-from-list-property.d.mts.map +1 -1
  290. package/dist/actions/remove-from-list-property.mjs +1 -1
  291. package/dist/actions/remove-from-list-property.mjs.map +1 -1
  292. package/dist/actions/segmentation-numeric-query.cjs +2 -2
  293. package/dist/actions/segmentation-numeric-query.cjs.map +1 -1
  294. package/dist/actions/segmentation-numeric-query.d.cts +37 -3
  295. package/dist/actions/segmentation-numeric-query.d.cts.map +1 -1
  296. package/dist/actions/segmentation-numeric-query.d.mts +37 -3
  297. package/dist/actions/segmentation-numeric-query.d.mts.map +1 -1
  298. package/dist/actions/segmentation-numeric-query.mjs +2 -2
  299. package/dist/actions/segmentation-numeric-query.mjs.map +1 -1
  300. package/dist/actions/set-group-property-once.cjs +1 -1
  301. package/dist/actions/set-group-property-once.cjs.map +1 -1
  302. package/dist/actions/set-group-property-once.d.cts +17 -3
  303. package/dist/actions/set-group-property-once.d.cts.map +1 -1
  304. package/dist/actions/set-group-property-once.d.mts +17 -3
  305. package/dist/actions/set-group-property-once.d.mts.map +1 -1
  306. package/dist/actions/set-group-property-once.mjs +1 -1
  307. package/dist/actions/set-group-property-once.mjs.map +1 -1
  308. package/dist/actions/set-profile-property-once.cjs +1 -1
  309. package/dist/actions/set-profile-property-once.cjs.map +1 -1
  310. package/dist/actions/set-profile-property-once.d.cts +20 -3
  311. package/dist/actions/set-profile-property-once.d.cts.map +1 -1
  312. package/dist/actions/set-profile-property-once.d.mts +20 -3
  313. package/dist/actions/set-profile-property-once.d.mts.map +1 -1
  314. package/dist/actions/set-profile-property-once.mjs +1 -1
  315. package/dist/actions/set-profile-property-once.mjs.map +1 -1
  316. package/dist/actions/top-event-properties.cjs.map +1 -1
  317. package/dist/actions/top-event-properties.d.cts +13 -3
  318. package/dist/actions/top-event-properties.d.cts.map +1 -1
  319. package/dist/actions/top-event-properties.d.mts +13 -3
  320. package/dist/actions/top-event-properties.d.mts.map +1 -1
  321. package/dist/actions/top-event-properties.mjs.map +1 -1
  322. package/dist/actions/top-event-property-values.cjs +1 -1
  323. package/dist/actions/top-event-property-values.cjs.map +1 -1
  324. package/dist/actions/top-event-property-values.d.cts +17 -3
  325. package/dist/actions/top-event-property-values.d.cts.map +1 -1
  326. package/dist/actions/top-event-property-values.d.mts +17 -3
  327. package/dist/actions/top-event-property-values.d.mts.map +1 -1
  328. package/dist/actions/top-event-property-values.mjs +1 -1
  329. package/dist/actions/top-event-property-values.mjs.map +1 -1
  330. package/dist/actions/top-events.cjs +1 -1
  331. package/dist/actions/top-events.cjs.map +1 -1
  332. package/dist/actions/top-events.d.cts +19 -3
  333. package/dist/actions/top-events.d.cts.map +1 -1
  334. package/dist/actions/top-events.d.mts +19 -3
  335. package/dist/actions/top-events.d.mts.map +1 -1
  336. package/dist/actions/top-events.mjs +1 -1
  337. package/dist/actions/top-events.mjs.map +1 -1
  338. package/dist/actions/update-group-list-property.cjs +3 -3
  339. package/dist/actions/update-group-list-property.cjs.map +1 -1
  340. package/dist/actions/update-group-list-property.d.cts +27 -3
  341. package/dist/actions/update-group-list-property.d.cts.map +1 -1
  342. package/dist/actions/update-group-list-property.d.mts +27 -3
  343. package/dist/actions/update-group-list-property.d.mts.map +1 -1
  344. package/dist/actions/update-group-list-property.mjs +3 -3
  345. package/dist/actions/update-group-list-property.mjs.map +1 -1
  346. package/dist/catalog.cjs +18 -1
  347. package/dist/catalog.cjs.map +1 -1
  348. package/dist/catalog.d.cts +17 -0
  349. package/dist/catalog.d.mts +17 -0
  350. package/dist/catalog.mjs +18 -1
  351. package/dist/catalog.mjs.map +1 -1
  352. package/dist/execute.cjs +1 -1
  353. package/dist/execute.cjs.map +1 -1
  354. package/dist/execute.mjs +1 -1
  355. package/dist/execute.mjs.map +1 -1
  356. package/package.json +2 -2
@@ -1,9 +1,23 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/group-delete-property.d.ts
4
- declare const MixpanelGroupDeletePropertyInput: z.ZodTypeAny;
5
- declare const MixpanelGroupDeletePropertyOutput: z.ZodTypeAny;
6
- declare const mixpanelGroupDeleteProperty: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MixpanelGroupDeletePropertyInput: z.ZodObject<{
5
+ token: z.ZodString;
6
+ group_id: z.ZodString;
7
+ group_key: z.ZodString;
8
+ properties: z.ZodArray<z.ZodString>;
9
+ }, z.core.$strip>;
10
+ declare const MixpanelGroupDeletePropertyOutput: z.ZodObject<{
11
+ code: z.ZodNullable<z.ZodNumber>;
12
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ status: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
14
+ }, z.core.$loose>;
15
+ declare const mixpanelGroupDeleteProperty: import("@keystrokehq/action").WorkflowActionDefinition<{
16
+ token: string;
17
+ group_id: string;
18
+ group_key: string;
19
+ properties: string[];
20
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
21
  //#endregion
8
22
  export { mixpanelGroupDeleteProperty };
9
23
  //# sourceMappingURL=group-delete-property.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"group-delete-property.d.mts","names":[],"sources":["../../src/actions/group-delete-property.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAKyB;AAAA,cAC7D,iCAAA,EAAmC,CAAA,CAAE,UAIkB;AAAA,cAEvD,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"group-delete-property.d.mts","names":[],"sources":["../../src/actions/group-delete-property.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;cAMhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;cAMjC,2BAAA,gCAA2B,wBAAA"}
@@ -11,10 +11,10 @@ const mixpanelGroupDeleteProperty = action("MIXPANEL_GROUP_DELETE_PROPERTY", {
11
11
  properties: z.array(z.string()).describe("List of property names to delete/unset from the group profile")
12
12
  }).describe("Request model for deleting properties from a group profile."),
13
13
  output: z.object({
14
- code: z.number().int().describe("HTTP status code (200 for success)"),
14
+ code: z.number().int().describe("HTTP status code (200 for success)").nullable(),
15
15
  error: z.string().describe("Error message if the request failed").nullable().optional(),
16
16
  status: z.union([z.string(), z.number().int()])
17
- }).describe("Response model for group property deletion operation.")
17
+ }).passthrough().describe("Response model for group property deletion operation.")
18
18
  });
19
19
  //#endregion
20
20
  export { mixpanelGroupDeleteProperty };
@@ -1 +1 @@
1
- {"version":3,"file":"group-delete-property.mjs","names":[],"sources":["../../src/actions/group-delete-property.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelGroupDeletePropertyInput: z.ZodTypeAny = z.object({\n token: z.string().describe(\"Your Mixpanel project authentication token\"),\n group_id: z.string().describe(\"The unique identifier for the specific group to update\"),\n group_key: z.string().describe(\"The group category/type identifier (e.g., 'company', 'organization', 'team')\"),\n properties: z.array(z.string()).describe(\"List of property names to delete/unset from the group profile\"),\n}).describe(\"Request model for deleting properties from a group profile.\");\nexport const MixpanelGroupDeletePropertyOutput: z.ZodTypeAny = z.object({\n code: z.number().int().describe(\"HTTP status code (200 for success)\"),\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 deletion operation.\");\n\nexport const mixpanelGroupDeleteProperty = action(\"MIXPANEL_GROUP_DELETE_PROPERTY\", {\n slug: \"mixpanel-group-delete-property\",\n name: \"Delete Group Properties\",\n description: \"Tool to delete specific properties from a Mixpanel group profile. Use when you need to permanently remove unwanted properties from a group (company, organization, team, etc.). The operation uses the $unset operation to permanently remove the specified properties.\",\n input: MixpanelGroupDeletePropertyInput,\n output: MixpanelGroupDeletePropertyOutput,\n});\n"],"mappings":";;AAgBA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB4D,EAAE,OAAO;EACrE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EACvE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;EACtF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E;EAC7G,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+DAA+D;CAC1G,CAAC,CAAC,CAAC,SAAS,6DAWH;CACP,QAX6D,EAAE,OAAO;EACtE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC;EACpE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,QAAQ,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;CAChD,CAAC,CAAC,CAAC,SAAS,uDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"group-delete-property.mjs","names":[],"sources":["../../src/actions/group-delete-property.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelGroupDeletePropertyInput = z.object({\n token: z.string().describe(\"Your Mixpanel project authentication token\"),\n group_id: z.string().describe(\"The unique identifier for the specific group to update\"),\n group_key: z.string().describe(\"The group category/type identifier (e.g., 'company', 'organization', 'team')\"),\n properties: z.array(z.string()).describe(\"List of property names to delete/unset from the group profile\"),\n}).describe(\"Request model for deleting properties from a group profile.\");\nexport const MixpanelGroupDeletePropertyOutput = z.object({\n code: z.number().int().describe(\"HTTP status code (200 for success)\").nullable(),\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 deletion operation.\");\n\nexport const mixpanelGroupDeleteProperty = action(\"MIXPANEL_GROUP_DELETE_PROPERTY\", {\n slug: \"mixpanel-group-delete-property\",\n name: \"Delete Group Properties\",\n description: \"Tool to delete specific properties from a Mixpanel group profile. Use when you need to permanently remove unwanted properties from a group (company, organization, team, etc.). The operation uses the $unset operation to permanently remove the specified properties.\",\n input: MixpanelGroupDeletePropertyInput,\n output: MixpanelGroupDeletePropertyOutput,\n});\n"],"mappings":";;AAgBA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB8C,EAAE,OAAO;EACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EACvE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;EACtF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E;EAC7G,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+DAA+D;CAC1G,CAAC,CAAC,CAAC,SAAS,6DAWH;CACP,QAX+C,EAAE,OAAO;EACxD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC/E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,QAAQ,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;CAChD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAOhB;AACV,CAAC"}
@@ -6,7 +6,7 @@ const MixpanelIdentityCreateAliasInput = zod.z.object({
6
6
  token: zod.z.string().describe("Project authentication token for client-side authentication."),
7
7
  distinct_id: zod.z.string().describe("The existing distinct ID to be merged with the alias. This is the original identifier that the alias will map to.")
8
8
  }).describe("Request model for creating an identity alias in Mixpanel.");
9
- const MixpanelIdentityCreateAliasOutput = zod.z.object({ status: zod.z.number().int().describe("Status of the request. 1 indicates the alias was successfully created.") }).describe("Response model for identity alias creation.");
9
+ const MixpanelIdentityCreateAliasOutput = zod.z.object({ status: zod.z.number().int().describe("Status of the request. 1 indicates the alias was successfully created.").nullable() }).passthrough().describe("Response model for identity alias creation.");
10
10
  const mixpanelIdentityCreateAlias = require_action.action("MIXPANEL_IDENTITY_CREATE_ALIAS", {
11
11
  slug: "mixpanel-identity-create-alias",
12
12
  name: "Create Identity Alias",
@@ -1 +1 @@
1
- {"version":3,"file":"identity-create-alias.cjs","names":["z","action"],"sources":["../../src/actions/identity-create-alias.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelIdentityCreateAliasInput: z.ZodTypeAny = z.object({\n alias: z.string().describe(\"A new distinct_id value that will be interpreted as the existing distinct_id. Each alias can only map to one distinct_id. Typically set during user signup to connect anonymous pre-signup events with post-signup activity.\"),\n token: z.string().describe(\"Project authentication token for client-side authentication.\"),\n distinct_id: z.string().describe(\"The existing distinct ID to be merged with the alias. This is the original identifier that the alias will map to.\"),\n}).describe(\"Request model for creating an identity alias in Mixpanel.\");\nexport const MixpanelIdentityCreateAliasOutput: z.ZodTypeAny = z.object({\n status: z.number().int().describe(\"Status of the request. 1 indicates the alias was successfully created.\"),\n}).describe(\"Response model for identity alias creation.\");\n\nexport const mixpanelIdentityCreateAlias = action(\"MIXPANEL_IDENTITY_CREATE_ALIAS\", {\n slug: \"mixpanel-identity-create-alias\",\n name: \"Create Identity Alias\",\n description: \"Tool to create an alias mapping between two distinct IDs in Mixpanel. Use when you need to link a new identifier with an existing one. This is only available for projects using the Original ID Merge system and Legacy ID Management System; it has no effect in the Simplified ID Merge system. Typically called once during user signup to connect anonymous pre-signup events with post-signup activity. Each alias can only map to one distinct_id.\",\n input: MixpanelIdentityCreateAliasInput,\n output: MixpanelIdentityCreateAliasOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8NAA8N;CACzP,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;CACzF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH;AACtJ,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,oCAAkDA,IAAAA,EAAE,OAAO,EACtE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wEAAwE,EAC5G,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAEzD,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"identity-create-alias.cjs","names":["z","action"],"sources":["../../src/actions/identity-create-alias.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelIdentityCreateAliasInput = z.object({\n alias: z.string().describe(\"A new distinct_id value that will be interpreted as the existing distinct_id. Each alias can only map to one distinct_id. Typically set during user signup to connect anonymous pre-signup events with post-signup activity.\"),\n token: z.string().describe(\"Project authentication token for client-side authentication.\"),\n distinct_id: z.string().describe(\"The existing distinct ID to be merged with the alias. This is the original identifier that the alias will map to.\"),\n}).describe(\"Request model for creating an identity alias in Mixpanel.\");\nexport const MixpanelIdentityCreateAliasOutput = z.object({\n status: z.number().int().describe(\"Status of the request. 1 indicates the alias was successfully created.\").nullable(),\n}).passthrough().describe(\"Response model for identity alias creation.\");\n\nexport const mixpanelIdentityCreateAlias = action(\"MIXPANEL_IDENTITY_CREATE_ALIAS\", {\n slug: \"mixpanel-identity-create-alias\",\n name: \"Create Identity Alias\",\n description: \"Tool to create an alias mapping between two distinct IDs in Mixpanel. Use when you need to link a new identifier with an existing one. This is only available for projects using the Original ID Merge system and Legacy ID Management System; it has no effect in the Simplified ID Merge system. Typically called once during user signup to connect anonymous pre-signup events with post-signup activity. Each alias can only map to one distinct_id.\",\n input: MixpanelIdentityCreateAliasInput,\n output: MixpanelIdentityCreateAliasOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8NAA8N;CACzP,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;CACzF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH;AACtJ,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,EACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,19 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/identity-create-alias.d.ts
4
- declare const MixpanelIdentityCreateAliasInput: z.ZodTypeAny;
5
- declare const MixpanelIdentityCreateAliasOutput: z.ZodTypeAny;
6
- declare const mixpanelIdentityCreateAlias: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MixpanelIdentityCreateAliasInput: z.ZodObject<{
5
+ alias: z.ZodString;
6
+ token: z.ZodString;
7
+ distinct_id: z.ZodString;
8
+ }, z.core.$strip>;
9
+ declare const MixpanelIdentityCreateAliasOutput: z.ZodObject<{
10
+ status: z.ZodNullable<z.ZodNumber>;
11
+ }, z.core.$loose>;
12
+ declare const mixpanelIdentityCreateAlias: import("@keystrokehq/action").WorkflowActionDefinition<{
13
+ alias: string;
14
+ token: string;
15
+ distinct_id: string;
16
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
17
  //#endregion
8
18
  export { mixpanelIdentityCreateAlias };
9
19
  //# sourceMappingURL=identity-create-alias.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"identity-create-alias.d.cts","names":[],"sources":["../../src/actions/identity-create-alias.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAIuB;AAAA,cAC3D,iCAAA,EAAmC,CAAA,CAAE,UAEQ;AAAA,cAE7C,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"identity-create-alias.d.cts","names":[],"sources":["../../src/actions/identity-create-alias.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAKhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAIjC,2BAAA,gCAA2B,wBAAA"}
@@ -1,9 +1,19 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/identity-create-alias.d.ts
4
- declare const MixpanelIdentityCreateAliasInput: z.ZodTypeAny;
5
- declare const MixpanelIdentityCreateAliasOutput: z.ZodTypeAny;
6
- declare const mixpanelIdentityCreateAlias: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MixpanelIdentityCreateAliasInput: z.ZodObject<{
5
+ alias: z.ZodString;
6
+ token: z.ZodString;
7
+ distinct_id: z.ZodString;
8
+ }, z.core.$strip>;
9
+ declare const MixpanelIdentityCreateAliasOutput: z.ZodObject<{
10
+ status: z.ZodNullable<z.ZodNumber>;
11
+ }, z.core.$loose>;
12
+ declare const mixpanelIdentityCreateAlias: import("@keystrokehq/action").WorkflowActionDefinition<{
13
+ alias: string;
14
+ token: string;
15
+ distinct_id: string;
16
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
17
  //#endregion
8
18
  export { mixpanelIdentityCreateAlias };
9
19
  //# sourceMappingURL=identity-create-alias.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"identity-create-alias.d.mts","names":[],"sources":["../../src/actions/identity-create-alias.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAIuB;AAAA,cAC3D,iCAAA,EAAmC,CAAA,CAAE,UAEQ;AAAA,cAE7C,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"identity-create-alias.d.mts","names":[],"sources":["../../src/actions/identity-create-alias.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAKhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAIjC,2BAAA,gCAA2B,wBAAA"}
@@ -9,7 +9,7 @@ const mixpanelIdentityCreateAlias = action("MIXPANEL_IDENTITY_CREATE_ALIAS", {
9
9
  token: z.string().describe("Project authentication token for client-side authentication."),
10
10
  distinct_id: z.string().describe("The existing distinct ID to be merged with the alias. This is the original identifier that the alias will map to.")
11
11
  }).describe("Request model for creating an identity alias in Mixpanel."),
12
- output: z.object({ status: z.number().int().describe("Status of the request. 1 indicates the alias was successfully created.") }).describe("Response model for identity alias creation.")
12
+ output: z.object({ status: z.number().int().describe("Status of the request. 1 indicates the alias was successfully created.").nullable() }).passthrough().describe("Response model for identity alias creation.")
13
13
  });
14
14
  //#endregion
15
15
  export { mixpanelIdentityCreateAlias };
@@ -1 +1 @@
1
- {"version":3,"file":"identity-create-alias.mjs","names":[],"sources":["../../src/actions/identity-create-alias.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelIdentityCreateAliasInput: z.ZodTypeAny = z.object({\n alias: z.string().describe(\"A new distinct_id value that will be interpreted as the existing distinct_id. Each alias can only map to one distinct_id. Typically set during user signup to connect anonymous pre-signup events with post-signup activity.\"),\n token: z.string().describe(\"Project authentication token for client-side authentication.\"),\n distinct_id: z.string().describe(\"The existing distinct ID to be merged with the alias. This is the original identifier that the alias will map to.\"),\n}).describe(\"Request model for creating an identity alias in Mixpanel.\");\nexport const MixpanelIdentityCreateAliasOutput: z.ZodTypeAny = z.object({\n status: z.number().int().describe(\"Status of the request. 1 indicates the alias was successfully created.\"),\n}).describe(\"Response model for identity alias creation.\");\n\nexport const mixpanelIdentityCreateAlias = action(\"MIXPANEL_IDENTITY_CREATE_ALIAS\", {\n slug: \"mixpanel-identity-create-alias\",\n name: \"Create Identity Alias\",\n description: \"Tool to create an alias mapping between two distinct IDs in Mixpanel. Use when you need to link a new identifier with an existing one. This is only available for projects using the Original ID Merge system and Legacy ID Management System; it has no effect in the Simplified ID Merge system. Typically called once during user signup to connect anonymous pre-signup events with post-signup activity. Each alias can only map to one distinct_id.\",\n input: MixpanelIdentityCreateAliasInput,\n output: MixpanelIdentityCreateAliasOutput,\n});\n"],"mappings":";;AAaA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb4D,EAAE,OAAO;EACrE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8NAA8N;EACzP,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;EACzF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH;CACtJ,CAAC,CAAC,CAAC,SAAS,2DASH;CACP,QAT6D,EAAE,OAAO,EACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wEAAwE,EAC5G,CAAC,CAAC,CAAC,SAAS,6CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"identity-create-alias.mjs","names":[],"sources":["../../src/actions/identity-create-alias.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelIdentityCreateAliasInput = z.object({\n alias: z.string().describe(\"A new distinct_id value that will be interpreted as the existing distinct_id. Each alias can only map to one distinct_id. Typically set during user signup to connect anonymous pre-signup events with post-signup activity.\"),\n token: z.string().describe(\"Project authentication token for client-side authentication.\"),\n distinct_id: z.string().describe(\"The existing distinct ID to be merged with the alias. This is the original identifier that the alias will map to.\"),\n}).describe(\"Request model for creating an identity alias in Mixpanel.\");\nexport const MixpanelIdentityCreateAliasOutput = z.object({\n status: z.number().int().describe(\"Status of the request. 1 indicates the alias was successfully created.\").nullable(),\n}).passthrough().describe(\"Response model for identity alias creation.\");\n\nexport const mixpanelIdentityCreateAlias = action(\"MIXPANEL_IDENTITY_CREATE_ALIAS\", {\n slug: \"mixpanel-identity-create-alias\",\n name: \"Create Identity Alias\",\n description: \"Tool to create an alias mapping between two distinct IDs in Mixpanel. Use when you need to link a new identifier with an existing one. This is only available for projects using the Original ID Merge system and Legacy ID Management System; it has no effect in the Simplified ID Merge system. Typically called once during user signup to connect anonymous pre-signup events with post-signup activity. Each alias can only map to one distinct_id.\",\n input: MixpanelIdentityCreateAliasInput,\n output: MixpanelIdentityCreateAliasOutput,\n});\n"],"mappings":";;AAaA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb8C,EAAE,OAAO;EACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8NAA8N;EACzP,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;EACzF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH;CACtJ,CAAC,CAAC,CAAC,SAAS,2DASH;CACP,QAT+C,EAAE,OAAO,EACxD,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,EACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAOhB;AACV,CAAC"}
@@ -14,7 +14,7 @@ const MixpanelJqlQueryOutput = zod.z.object({ data: zod.z.union([
14
14
  zod.z.number().int(),
15
15
  zod.z.number(),
16
16
  zod.z.string()
17
- ]).nullable() }).describe("Response model for JQL query data");
17
+ ]).nullable() }).passthrough().describe("Response model for JQL query data");
18
18
  const mixpanelJqlQuery = require_action.action("MIXPANEL_JQL_QUERY", {
19
19
  slug: "mixpanel-jql-query",
20
20
  name: "Execute JQL Query",
@@ -1 +1 @@
1
- {"version":3,"file":"jql-query.cjs","names":["z","action"],"sources":["../../src/actions/jql-query.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelJqlQueryInput: z.ZodTypeAny = z.object({\n params: z.record(z.string(), z.unknown()).describe(\"A JSON-encoded object that will be made available in the script as `params`. Use this to pass dynamic date ranges, event names, or other parameters into your JQL query.\").optional(),\n script: z.string().describe(\"A fully valid JavaScript code snippet for Mixpanel's JQL engine. MUST define exactly one top-level `function main() { ... }` that returns the final dataset.\\n\\nDATA SOURCES:\\n- Events({ from_date: 'YYYY-MM-DD', to_date: 'YYYY-MM-DD', event_selectors: [{ event: 'Name', selector: '...' }] }) - returns objects with name, distinct_id, time (ms epoch), properties.\\n- People({ user_selectors: [{ selector: '...' }] }) - returns objects with distinct_id, time, last_seen, properties.\\n- join(Events(...), People(), { type: 'full'|'left'|'right'|'inner', selectors: [...] }) - combines events and profiles on distinct_id; each item has { distinct_id, event, user }.\\n\\nTRANSFORMATIONS (chainable):\\n- .filter(fn) - keep items where fn returns true\\n- .map(fn) - transform each item\\n- .reduce(reducerFn) - aggregate entire collection to one value\\n- .groupBy(keys, reducer) - group by property paths or functions, returns [{ key, value }]\\n- .groupByUser([keys], reducer) - group events per user in chronological order; reducer signature: (state, events) => newState\\n- .sortAsc(accessor) / .sortDesc(accessor) - sort by property or function\\n- .flatten() - flatten nested arrays\\n\\nBUILT-IN REDUCERS (use with .reduce() or .groupBy()):\\nmixpanel.reducer.count(), .sum(accessor), .avg(accessor), .min(accessor), .max(accessor), .min_by(accessor), .max_by(accessor), .numeric_percentiles(accessor, [p1, p2, ...]), .top(N), .any(), .null(), .object_merge()\\n\\nSEGMENTATION EXPRESSIONS (for event_selectors/user_selectors/join selectors):\\nOperators: ==, !=, >, >=, <, <=, in, and, or, not. Typecasts: string(...), number(...), boolean(...). Example: properties[\\\"app_name\\\"] == \\\"gmail\\\" and user[\\\"age\\\"] > 30\\n\\nPARAMS: Pass dynamic values via the `params` field. Accessible in script as the global `params` variable.\\n\\nEXAMPLE:\\n```js\\nfunction main() {\\n return Events({ from_date: '2025-01-01', to_date: '2025-01-31', event_selectors: [{ event: 'purchase' }] })\\n .filter(e => e.properties.country === 'CA')\\n .groupBy(['properties.city'], mixpanel.reducer.count());\\n}\\n```\\n\\nThe return value from main() can be an array of objects, a single number (from .reduce()), or a nested array (from .groupBy()).\"),\n project_id: z.number().int().describe(\"Required if using service account credentials or an API secret for authentication.\"),\n workspace_id: z.number().int().describe(\"The ID of the Mixpanel workspace, if applicable.\").optional(),\n}).describe(\"Request model for executing JQL queries in Mixpanel.\");\nexport const MixpanelJqlQueryOutput: z.ZodTypeAny = z.object({\n data: z.union([z.array(z.record(z.string(), z.unknown())), z.record(z.string(), z.unknown()), z.array(z.unknown()), z.number().int(), z.number(), z.string()]).nullable(),\n}).describe(\"Response model for JQL query data\");\n\nexport const mixpanelJqlQuery = action(\"MIXPANEL_JQL_QUERY\", {\n slug: \"mixpanel-jql-query\",\n name: \"Execute JQL Query\",\n description: \"Execute a custom JQL (JavaScript Query Language) query against Mixpanel's Query API. Key Constraints: - 60 queries/hour, max 5 concurrent queries. - 2-minute execution timeout. - 5 GB data processing limit, 2 GB output limit. - No remote network requests (XMLHttpRequest) are allowed inside the JQL script.\",\n input: MixpanelJqlQueryInput,\n output: MixpanelJqlQueryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAsCA,IAAAA,EAAE,OAAO;CAC1D,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0KAA0K,CAAC,CAAC,SAAS;CACxO,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qqEAAqqE;CACjsE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF;CAC1H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,yBAAuCA,IAAAA,EAAE,OAAO,EAC3D,MAAMA,IAAAA,EAAE,MAAM;CAACA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC;CAAGA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC;CAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC;CAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;CAAGA,IAAAA,EAAE,OAAO;CAAGA,IAAAA,EAAE,OAAO;AAAC,CAAC,CAAC,CAAC,SAAS,EAC1K,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAE/C,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"jql-query.cjs","names":["z","action"],"sources":["../../src/actions/jql-query.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelJqlQueryInput = z.object({\n params: z.record(z.string(), z.unknown()).describe(\"A JSON-encoded object that will be made available in the script as `params`. Use this to pass dynamic date ranges, event names, or other parameters into your JQL query.\").optional(),\n script: z.string().describe(\"A fully valid JavaScript code snippet for Mixpanel's JQL engine. MUST define exactly one top-level `function main() { ... }` that returns the final dataset.\\n\\nDATA SOURCES:\\n- Events({ from_date: 'YYYY-MM-DD', to_date: 'YYYY-MM-DD', event_selectors: [{ event: 'Name', selector: '...' }] }) - returns objects with name, distinct_id, time (ms epoch), properties.\\n- People({ user_selectors: [{ selector: '...' }] }) - returns objects with distinct_id, time, last_seen, properties.\\n- join(Events(...), People(), { type: 'full'|'left'|'right'|'inner', selectors: [...] }) - combines events and profiles on distinct_id; each item has { distinct_id, event, user }.\\n\\nTRANSFORMATIONS (chainable):\\n- .filter(fn) - keep items where fn returns true\\n- .map(fn) - transform each item\\n- .reduce(reducerFn) - aggregate entire collection to one value\\n- .groupBy(keys, reducer) - group by property paths or functions, returns [{ key, value }]\\n- .groupByUser([keys], reducer) - group events per user in chronological order; reducer signature: (state, events) => newState\\n- .sortAsc(accessor) / .sortDesc(accessor) - sort by property or function\\n- .flatten() - flatten nested arrays\\n\\nBUILT-IN REDUCERS (use with .reduce() or .groupBy()):\\nmixpanel.reducer.count(), .sum(accessor), .avg(accessor), .min(accessor), .max(accessor), .min_by(accessor), .max_by(accessor), .numeric_percentiles(accessor, [p1, p2, ...]), .top(N), .any(), .null(), .object_merge()\\n\\nSEGMENTATION EXPRESSIONS (for event_selectors/user_selectors/join selectors):\\nOperators: ==, !=, >, >=, <, <=, in, and, or, not. Typecasts: string(...), number(...), boolean(...). Example: properties[\\\"app_name\\\"] == \\\"gmail\\\" and user[\\\"age\\\"] > 30\\n\\nPARAMS: Pass dynamic values via the `params` field. Accessible in script as the global `params` variable.\\n\\nEXAMPLE:\\n```js\\nfunction main() {\\n return Events({ from_date: '2025-01-01', to_date: '2025-01-31', event_selectors: [{ event: 'purchase' }] })\\n .filter(e => e.properties.country === 'CA')\\n .groupBy(['properties.city'], mixpanel.reducer.count());\\n}\\n```\\n\\nThe return value from main() can be an array of objects, a single number (from .reduce()), or a nested array (from .groupBy()).\"),\n project_id: z.number().int().describe(\"Required if using service account credentials or an API secret for authentication.\"),\n workspace_id: z.number().int().describe(\"The ID of the Mixpanel workspace, if applicable.\").optional(),\n}).describe(\"Request model for executing JQL queries in Mixpanel.\");\nexport const MixpanelJqlQueryOutput = z.object({\n data: z.union([z.array(z.record(z.string(), z.unknown())), z.record(z.string(), z.unknown()), z.array(z.unknown()), z.number().int(), z.number(), z.string()]).nullable(),\n}).passthrough().describe(\"Response model for JQL query data\");\n\nexport const mixpanelJqlQuery = action(\"MIXPANEL_JQL_QUERY\", {\n slug: \"mixpanel-jql-query\",\n name: \"Execute JQL Query\",\n description: \"Execute a custom JQL (JavaScript Query Language) query against Mixpanel's Query API. Key Constraints: - 60 queries/hour, max 5 concurrent queries. - 2-minute execution timeout. - 5 GB data processing limit, 2 GB output limit. - No remote network requests (XMLHttpRequest) are allowed inside the JQL script.\",\n input: MixpanelJqlQueryInput,\n output: MixpanelJqlQueryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0KAA0K,CAAC,CAAC,SAAS;CACxO,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qqEAAqqE;CACjsE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF;CAC1H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,MAAMA,IAAAA,EAAE,MAAM;CAACA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC;CAAGA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC;CAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC;CAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;CAAGA,IAAAA,EAAE,OAAO;CAAGA,IAAAA,EAAE,OAAO;AAAC,CAAC,CAAC,CAAC,SAAS,EAC1K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAE7D,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,21 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/jql-query.d.ts
4
- declare const MixpanelJqlQueryInput: z.ZodTypeAny;
5
- declare const MixpanelJqlQueryOutput: z.ZodTypeAny;
6
- declare const mixpanelJqlQuery: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MixpanelJqlQueryInput: z.ZodObject<{
5
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6
+ script: z.ZodString;
7
+ project_id: z.ZodNumber;
8
+ workspace_id: z.ZodOptional<z.ZodNumber>;
9
+ }, z.core.$strip>;
10
+ declare const MixpanelJqlQueryOutput: z.ZodObject<{
11
+ data: z.ZodNullable<z.ZodUnion<readonly [z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown>, z.ZodNumber, z.ZodNumber, z.ZodString]>>;
12
+ }, z.core.$loose>;
13
+ declare const mixpanelJqlQuery: import("@keystrokehq/action").WorkflowActionDefinition<{
14
+ script: string;
15
+ project_id: number;
16
+ params?: Record<string, unknown> | undefined;
17
+ workspace_id?: number | undefined;
18
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
19
  //#endregion
8
20
  export { mixpanelJqlQuery };
9
21
  //# sourceMappingURL=jql-query.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"jql-query.d.cts","names":[],"sources":["../../src/actions/jql-query.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAK6B;AAAA,cACtD,sBAAA,EAAwB,CAAA,CAAE,UAES;AAAA,cAEnC,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"jql-query.d.cts","names":[],"sources":["../../src/actions/jql-query.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;cAMrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAItB,gBAAA,gCAAgB,wBAAA;;;WAM3B,MAAA"}
@@ -1,9 +1,21 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/jql-query.d.ts
4
- declare const MixpanelJqlQueryInput: z.ZodTypeAny;
5
- declare const MixpanelJqlQueryOutput: z.ZodTypeAny;
6
- declare const mixpanelJqlQuery: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MixpanelJqlQueryInput: z.ZodObject<{
5
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6
+ script: z.ZodString;
7
+ project_id: z.ZodNumber;
8
+ workspace_id: z.ZodOptional<z.ZodNumber>;
9
+ }, z.core.$strip>;
10
+ declare const MixpanelJqlQueryOutput: z.ZodObject<{
11
+ data: z.ZodNullable<z.ZodUnion<readonly [z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown>, z.ZodNumber, z.ZodNumber, z.ZodString]>>;
12
+ }, z.core.$loose>;
13
+ declare const mixpanelJqlQuery: import("@keystrokehq/action").WorkflowActionDefinition<{
14
+ script: string;
15
+ project_id: number;
16
+ params?: Record<string, unknown> | undefined;
17
+ workspace_id?: number | undefined;
18
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
19
  //#endregion
8
20
  export { mixpanelJqlQuery };
9
21
  //# sourceMappingURL=jql-query.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"jql-query.d.mts","names":[],"sources":["../../src/actions/jql-query.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAK6B;AAAA,cACtD,sBAAA,EAAwB,CAAA,CAAE,UAES;AAAA,cAEnC,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"jql-query.d.mts","names":[],"sources":["../../src/actions/jql-query.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;cAMrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAItB,gBAAA,gCAAgB,wBAAA;;;WAM3B,MAAA"}
@@ -17,7 +17,7 @@ const mixpanelJqlQuery = action("MIXPANEL_JQL_QUERY", {
17
17
  z.number().int(),
18
18
  z.number(),
19
19
  z.string()
20
- ]).nullable() }).describe("Response model for JQL query data")
20
+ ]).nullable() }).passthrough().describe("Response model for JQL query data")
21
21
  });
22
22
  //#endregion
23
23
  export { mixpanelJqlQuery };
@@ -1 +1 @@
1
- {"version":3,"file":"jql-query.mjs","names":[],"sources":["../../src/actions/jql-query.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelJqlQueryInput: z.ZodTypeAny = z.object({\n params: z.record(z.string(), z.unknown()).describe(\"A JSON-encoded object that will be made available in the script as `params`. Use this to pass dynamic date ranges, event names, or other parameters into your JQL query.\").optional(),\n script: z.string().describe(\"A fully valid JavaScript code snippet for Mixpanel's JQL engine. MUST define exactly one top-level `function main() { ... }` that returns the final dataset.\\n\\nDATA SOURCES:\\n- Events({ from_date: 'YYYY-MM-DD', to_date: 'YYYY-MM-DD', event_selectors: [{ event: 'Name', selector: '...' }] }) - returns objects with name, distinct_id, time (ms epoch), properties.\\n- People({ user_selectors: [{ selector: '...' }] }) - returns objects with distinct_id, time, last_seen, properties.\\n- join(Events(...), People(), { type: 'full'|'left'|'right'|'inner', selectors: [...] }) - combines events and profiles on distinct_id; each item has { distinct_id, event, user }.\\n\\nTRANSFORMATIONS (chainable):\\n- .filter(fn) - keep items where fn returns true\\n- .map(fn) - transform each item\\n- .reduce(reducerFn) - aggregate entire collection to one value\\n- .groupBy(keys, reducer) - group by property paths or functions, returns [{ key, value }]\\n- .groupByUser([keys], reducer) - group events per user in chronological order; reducer signature: (state, events) => newState\\n- .sortAsc(accessor) / .sortDesc(accessor) - sort by property or function\\n- .flatten() - flatten nested arrays\\n\\nBUILT-IN REDUCERS (use with .reduce() or .groupBy()):\\nmixpanel.reducer.count(), .sum(accessor), .avg(accessor), .min(accessor), .max(accessor), .min_by(accessor), .max_by(accessor), .numeric_percentiles(accessor, [p1, p2, ...]), .top(N), .any(), .null(), .object_merge()\\n\\nSEGMENTATION EXPRESSIONS (for event_selectors/user_selectors/join selectors):\\nOperators: ==, !=, >, >=, <, <=, in, and, or, not. Typecasts: string(...), number(...), boolean(...). Example: properties[\\\"app_name\\\"] == \\\"gmail\\\" and user[\\\"age\\\"] > 30\\n\\nPARAMS: Pass dynamic values via the `params` field. Accessible in script as the global `params` variable.\\n\\nEXAMPLE:\\n```js\\nfunction main() {\\n return Events({ from_date: '2025-01-01', to_date: '2025-01-31', event_selectors: [{ event: 'purchase' }] })\\n .filter(e => e.properties.country === 'CA')\\n .groupBy(['properties.city'], mixpanel.reducer.count());\\n}\\n```\\n\\nThe return value from main() can be an array of objects, a single number (from .reduce()), or a nested array (from .groupBy()).\"),\n project_id: z.number().int().describe(\"Required if using service account credentials or an API secret for authentication.\"),\n workspace_id: z.number().int().describe(\"The ID of the Mixpanel workspace, if applicable.\").optional(),\n}).describe(\"Request model for executing JQL queries in Mixpanel.\");\nexport const MixpanelJqlQueryOutput: z.ZodTypeAny = z.object({\n data: z.union([z.array(z.record(z.string(), z.unknown())), z.record(z.string(), z.unknown()), z.array(z.unknown()), z.number().int(), z.number(), z.string()]).nullable(),\n}).describe(\"Response model for JQL query data\");\n\nexport const mixpanelJqlQuery = action(\"MIXPANEL_JQL_QUERY\", {\n slug: \"mixpanel-jql-query\",\n name: \"Execute JQL Query\",\n description: \"Execute a custom JQL (JavaScript Query Language) query against Mixpanel's Query API. Key Constraints: - 60 queries/hour, max 5 concurrent queries. - 2-minute execution timeout. - 5 GB data processing limit, 2 GB output limit. - No remote network requests (XMLHttpRequest) are allowed inside the JQL script.\",\n input: MixpanelJqlQueryInput,\n output: MixpanelJqlQueryOutput,\n});\n"],"mappings":";;AAcA,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdiD,EAAE,OAAO;EAC1D,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0KAA0K,CAAC,CAAC,SAAS;EACxO,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qqEAAqqE;EACjsE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF;EAC1H,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACvG,CAAC,CAAC,CAAC,SAAS,sDASH;CACP,QATkD,EAAE,OAAO,EAC3D,MAAM,EAAE,MAAM;EAAC,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC;EAAG,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC;EAAG,EAAE,MAAM,EAAE,QAAQ,CAAC;EAAG,EAAE,OAAO,CAAC,CAAC,IAAI;EAAG,EAAE,OAAO;EAAG,EAAE,OAAO;CAAC,CAAC,CAAC,CAAC,SAAS,EAC1K,CAAC,CAAC,CAAC,SAAS,mCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"jql-query.mjs","names":[],"sources":["../../src/actions/jql-query.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelJqlQueryInput = z.object({\n params: z.record(z.string(), z.unknown()).describe(\"A JSON-encoded object that will be made available in the script as `params`. Use this to pass dynamic date ranges, event names, or other parameters into your JQL query.\").optional(),\n script: z.string().describe(\"A fully valid JavaScript code snippet for Mixpanel's JQL engine. MUST define exactly one top-level `function main() { ... }` that returns the final dataset.\\n\\nDATA SOURCES:\\n- Events({ from_date: 'YYYY-MM-DD', to_date: 'YYYY-MM-DD', event_selectors: [{ event: 'Name', selector: '...' }] }) - returns objects with name, distinct_id, time (ms epoch), properties.\\n- People({ user_selectors: [{ selector: '...' }] }) - returns objects with distinct_id, time, last_seen, properties.\\n- join(Events(...), People(), { type: 'full'|'left'|'right'|'inner', selectors: [...] }) - combines events and profiles on distinct_id; each item has { distinct_id, event, user }.\\n\\nTRANSFORMATIONS (chainable):\\n- .filter(fn) - keep items where fn returns true\\n- .map(fn) - transform each item\\n- .reduce(reducerFn) - aggregate entire collection to one value\\n- .groupBy(keys, reducer) - group by property paths or functions, returns [{ key, value }]\\n- .groupByUser([keys], reducer) - group events per user in chronological order; reducer signature: (state, events) => newState\\n- .sortAsc(accessor) / .sortDesc(accessor) - sort by property or function\\n- .flatten() - flatten nested arrays\\n\\nBUILT-IN REDUCERS (use with .reduce() or .groupBy()):\\nmixpanel.reducer.count(), .sum(accessor), .avg(accessor), .min(accessor), .max(accessor), .min_by(accessor), .max_by(accessor), .numeric_percentiles(accessor, [p1, p2, ...]), .top(N), .any(), .null(), .object_merge()\\n\\nSEGMENTATION EXPRESSIONS (for event_selectors/user_selectors/join selectors):\\nOperators: ==, !=, >, >=, <, <=, in, and, or, not. Typecasts: string(...), number(...), boolean(...). Example: properties[\\\"app_name\\\"] == \\\"gmail\\\" and user[\\\"age\\\"] > 30\\n\\nPARAMS: Pass dynamic values via the `params` field. Accessible in script as the global `params` variable.\\n\\nEXAMPLE:\\n```js\\nfunction main() {\\n return Events({ from_date: '2025-01-01', to_date: '2025-01-31', event_selectors: [{ event: 'purchase' }] })\\n .filter(e => e.properties.country === 'CA')\\n .groupBy(['properties.city'], mixpanel.reducer.count());\\n}\\n```\\n\\nThe return value from main() can be an array of objects, a single number (from .reduce()), or a nested array (from .groupBy()).\"),\n project_id: z.number().int().describe(\"Required if using service account credentials or an API secret for authentication.\"),\n workspace_id: z.number().int().describe(\"The ID of the Mixpanel workspace, if applicable.\").optional(),\n}).describe(\"Request model for executing JQL queries in Mixpanel.\");\nexport const MixpanelJqlQueryOutput = z.object({\n data: z.union([z.array(z.record(z.string(), z.unknown())), z.record(z.string(), z.unknown()), z.array(z.unknown()), z.number().int(), z.number(), z.string()]).nullable(),\n}).passthrough().describe(\"Response model for JQL query data\");\n\nexport const mixpanelJqlQuery = action(\"MIXPANEL_JQL_QUERY\", {\n slug: \"mixpanel-jql-query\",\n name: \"Execute JQL Query\",\n description: \"Execute a custom JQL (JavaScript Query Language) query against Mixpanel's Query API. Key Constraints: - 60 queries/hour, max 5 concurrent queries. - 2-minute execution timeout. - 5 GB data processing limit, 2 GB output limit. - No remote network requests (XMLHttpRequest) are allowed inside the JQL script.\",\n input: MixpanelJqlQueryInput,\n output: MixpanelJqlQueryOutput,\n});\n"],"mappings":";;AAcA,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdmC,EAAE,OAAO;EAC5C,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0KAA0K,CAAC,CAAC,SAAS;EACxO,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qqEAAqqE;EACjsE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF;EAC1H,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACvG,CAAC,CAAC,CAAC,SAAS,sDASH;CACP,QAToC,EAAE,OAAO,EAC7C,MAAM,EAAE,MAAM;EAAC,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC;EAAG,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC;EAAG,EAAE,MAAM,EAAE,QAAQ,CAAC;EAAG,EAAE,OAAO,CAAC,CAAC,IAAI;EAAG,EAAE,OAAO;EAAG,EAAE,OAAO;CAAC,CAAC,CAAC,CAAC,SAAS,EAC1K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAOhB;AACV,CAAC"}
@@ -6,10 +6,10 @@ const MixpanelListFunnelsInput = zod.z.object({
6
6
  workspace_id: zod.z.number().int().describe("The id of the workspace if applicable").optional()
7
7
  }).describe("Request model for listing saved funnels");
8
8
  const MixpanelListFunnels_FunnelInfoSchema = zod.z.object({
9
- name: zod.z.string().describe("The name of the funnel"),
10
- funnel_id: zod.z.number().int().describe("The id of the funnel")
11
- }).describe("Model for funnel information");
12
- const MixpanelListFunnelsOutput = zod.z.object({ data: zod.z.array(MixpanelListFunnels_FunnelInfoSchema).describe("Array of funnel information") }).describe("Response model for list funnels data");
9
+ name: zod.z.string().describe("The name of the funnel").nullable(),
10
+ funnel_id: zod.z.number().int().describe("The id of the funnel").nullable()
11
+ }).passthrough().describe("Model for funnel information");
12
+ const MixpanelListFunnelsOutput = zod.z.object({ data: zod.z.array(MixpanelListFunnels_FunnelInfoSchema).describe("Array of funnel information") }).passthrough().describe("Response model for list funnels data");
13
13
  const mixpanelListFunnels = require_action.action("MIXPANEL_LIST_FUNNELS", {
14
14
  slug: "mixpanel-list-funnels",
15
15
  name: "List Saved Funnels",
@@ -1 +1 @@
1
- {"version":3,"file":"list-funnels.cjs","names":["z","action"],"sources":["../../src/actions/list-funnels.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelListFunnelsInput: z.ZodTypeAny = z.object({\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 listing saved funnels\");\nconst MixpanelListFunnels_FunnelInfoSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The name of the funnel\"),\n funnel_id: z.number().int().describe(\"The id of the funnel\"),\n}).describe(\"Model for funnel information\");\nexport const MixpanelListFunnelsOutput: z.ZodTypeAny = z.object({\n data: z.array(MixpanelListFunnels_FunnelInfoSchema).describe(\"Array of funnel information\"),\n}).describe(\"Response model for list funnels data\");\n\nexport const mixpanelListFunnels = action(\"MIXPANEL_LIST_FUNNELS\", {\n slug: \"mixpanel-list-funnels\",\n name: \"List Saved Funnels\",\n description: \"Get the names and funnel_ids of your funnels. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.\",\n input: MixpanelListFunnelsInput,\n output: MixpanelListFunnelsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,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,yCAAyC;AACrD,MAAM,uCAAqDA,IAAAA,EAAE,OAAO;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CAClD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB;AAC7D,CAAC,CAAC,CAAC,SAAS,8BAA8B;AAC1C,MAAa,4BAA0CA,IAAAA,EAAE,OAAO,EAC9D,MAAMA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,6BAA6B,EAC5F,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAElD,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-funnels.cjs","names":["z","action"],"sources":["../../src/actions/list-funnels.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelListFunnelsInput = z.object({\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 listing saved funnels\");\nconst MixpanelListFunnels_FunnelInfoSchema = z.object({\n name: z.string().describe(\"The name of the funnel\").nullable(),\n funnel_id: z.number().int().describe(\"The id of the funnel\").nullable(),\n}).passthrough().describe(\"Model for funnel information\");\nexport const MixpanelListFunnelsOutput = z.object({\n data: z.array(MixpanelListFunnels_FunnelInfoSchema).describe(\"Array of funnel information\"),\n}).passthrough().describe(\"Response model for list funnels data\");\n\nexport const mixpanelListFunnels = action(\"MIXPANEL_LIST_FUNNELS\", {\n slug: \"mixpanel-list-funnels\",\n name: \"List Saved Funnels\",\n description: \"Get the names and funnel_ids of your funnels. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.\",\n input: MixpanelListFunnelsInput,\n output: MixpanelListFunnelsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,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,yCAAyC;AACrD,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC7D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8BAA8B;AACxD,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,MAAMA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,6BAA6B,EAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAEhE,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,20 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-funnels.d.ts
4
- declare const MixpanelListFunnelsInput: z.ZodTypeAny;
5
- declare const MixpanelListFunnelsOutput: z.ZodTypeAny;
6
- declare const mixpanelListFunnels: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MixpanelListFunnelsInput: z.ZodObject<{
5
+ project_id: z.ZodNumber;
6
+ workspace_id: z.ZodOptional<z.ZodNumber>;
7
+ }, z.core.$strip>;
8
+ declare const MixpanelListFunnelsOutput: z.ZodObject<{
9
+ data: z.ZodArray<z.ZodObject<{
10
+ name: z.ZodNullable<z.ZodString>;
11
+ funnel_id: z.ZodNullable<z.ZodNumber>;
12
+ }, z.core.$loose>>;
13
+ }, z.core.$loose>;
14
+ declare const mixpanelListFunnels: import("@keystrokehq/action").WorkflowActionDefinition<{
15
+ project_id: number;
16
+ workspace_id?: number | undefined;
17
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
18
  //#endregion
8
19
  export { mixpanelListFunnels };
9
20
  //# sourceMappingURL=list-funnels.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-funnels.d.cts","names":[],"sources":["../../src/actions/list-funnels.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAGa;AAAA,cAKzC,yBAAA,EAA2B,CAAA,CAAE,UAES;AAAA,cAEtC,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-funnels.d.cts","names":[],"sources":["../../src/actions/list-funnels.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAQxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;cAIzB,mBAAA,gCAAmB,wBAAA"}
@@ -1,9 +1,20 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-funnels.d.ts
4
- declare const MixpanelListFunnelsInput: z.ZodTypeAny;
5
- declare const MixpanelListFunnelsOutput: z.ZodTypeAny;
6
- declare const mixpanelListFunnels: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MixpanelListFunnelsInput: z.ZodObject<{
5
+ project_id: z.ZodNumber;
6
+ workspace_id: z.ZodOptional<z.ZodNumber>;
7
+ }, z.core.$strip>;
8
+ declare const MixpanelListFunnelsOutput: z.ZodObject<{
9
+ data: z.ZodArray<z.ZodObject<{
10
+ name: z.ZodNullable<z.ZodString>;
11
+ funnel_id: z.ZodNullable<z.ZodNumber>;
12
+ }, z.core.$loose>>;
13
+ }, z.core.$loose>;
14
+ declare const mixpanelListFunnels: import("@keystrokehq/action").WorkflowActionDefinition<{
15
+ project_id: number;
16
+ workspace_id?: number | undefined;
17
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
18
  //#endregion
8
19
  export { mixpanelListFunnels };
9
20
  //# sourceMappingURL=list-funnels.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-funnels.d.mts","names":[],"sources":["../../src/actions/list-funnels.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAGa;AAAA,cAKzC,yBAAA,EAA2B,CAAA,CAAE,UAES;AAAA,cAEtC,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-funnels.d.mts","names":[],"sources":["../../src/actions/list-funnels.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAQxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;cAIzB,mBAAA,gCAAmB,wBAAA"}
@@ -6,15 +6,15 @@ const MixpanelListFunnelsInput = z.object({
6
6
  workspace_id: z.number().int().describe("The id of the workspace if applicable").optional()
7
7
  }).describe("Request model for listing saved funnels");
8
8
  const MixpanelListFunnels_FunnelInfoSchema = z.object({
9
- name: z.string().describe("The name of the funnel"),
10
- funnel_id: z.number().int().describe("The id of the funnel")
11
- }).describe("Model for funnel information");
9
+ name: z.string().describe("The name of the funnel").nullable(),
10
+ funnel_id: z.number().int().describe("The id of the funnel").nullable()
11
+ }).passthrough().describe("Model for funnel information");
12
12
  const mixpanelListFunnels = action("MIXPANEL_LIST_FUNNELS", {
13
13
  slug: "mixpanel-list-funnels",
14
14
  name: "List Saved Funnels",
15
15
  description: "Get the names and funnel_ids of your funnels. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.",
16
16
  input: MixpanelListFunnelsInput,
17
- output: z.object({ data: z.array(MixpanelListFunnels_FunnelInfoSchema).describe("Array of funnel information") }).describe("Response model for list funnels data")
17
+ output: z.object({ data: z.array(MixpanelListFunnels_FunnelInfoSchema).describe("Array of funnel information") }).passthrough().describe("Response model for list funnels data")
18
18
  });
19
19
  //#endregion
20
20
  export { mixpanelListFunnels };
@@ -1 +1 @@
1
- {"version":3,"file":"list-funnels.mjs","names":[],"sources":["../../src/actions/list-funnels.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelListFunnelsInput: z.ZodTypeAny = z.object({\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 listing saved funnels\");\nconst MixpanelListFunnels_FunnelInfoSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The name of the funnel\"),\n funnel_id: z.number().int().describe(\"The id of the funnel\"),\n}).describe(\"Model for funnel information\");\nexport const MixpanelListFunnelsOutput: z.ZodTypeAny = z.object({\n data: z.array(MixpanelListFunnels_FunnelInfoSchema).describe(\"Array of funnel information\"),\n}).describe(\"Response model for list funnels data\");\n\nexport const mixpanelListFunnels = action(\"MIXPANEL_LIST_FUNNELS\", {\n slug: \"mixpanel-list-funnels\",\n name: \"List Saved Funnels\",\n description: \"Get the names and funnel_ids of your funnels. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.\",\n input: MixpanelListFunnelsInput,\n output: MixpanelListFunnelsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyC,EAAE,OAAO;CAC7D,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,yCAAyC;AACrD,MAAM,uCAAqD,EAAE,OAAO;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CAClD,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB;AAC7D,CAAC,CAAC,CAAC,SAAS,8BAA8B;AAK1C,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATqD,EAAE,OAAO,EAC9D,MAAM,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,6BAA6B,EAC5F,CAAC,CAAC,CAAC,SAAS,sCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-funnels.mjs","names":[],"sources":["../../src/actions/list-funnels.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelListFunnelsInput = z.object({\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 listing saved funnels\");\nconst MixpanelListFunnels_FunnelInfoSchema = z.object({\n name: z.string().describe(\"The name of the funnel\").nullable(),\n funnel_id: z.number().int().describe(\"The id of the funnel\").nullable(),\n}).passthrough().describe(\"Model for funnel information\");\nexport const MixpanelListFunnelsOutput = z.object({\n data: z.array(MixpanelListFunnels_FunnelInfoSchema).describe(\"Array of funnel information\"),\n}).passthrough().describe(\"Response model for list funnels data\");\n\nexport const mixpanelListFunnels = action(\"MIXPANEL_LIST_FUNNELS\", {\n slug: \"mixpanel-list-funnels\",\n name: \"List Saved Funnels\",\n description: \"Get the names and funnel_ids of your funnels. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.\",\n input: MixpanelListFunnelsInput,\n output: MixpanelListFunnelsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,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,yCAAyC;AACrD,MAAM,uCAAuC,EAAE,OAAO;CACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC7D,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8BAA8B;AAKxD,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATuC,EAAE,OAAO,EAChD,MAAM,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,6BAA6B,EAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAOhB;AACV,CAAC"}
@@ -3,18 +3,18 @@ let zod = require("zod");
3
3
  //#region src/actions/list-service-accounts.ts
4
4
  const MixpanelListServiceAccountsInput = zod.z.object({ organization_id: zod.z.string().describe("The unique identifier for the organization") }).describe("Request model for listing service accounts for an organization.");
5
5
  const MixpanelListServiceAccounts_ServiceAccountSchema = zod.z.object({
6
- id: zod.z.number().int().describe("Unique identifier for the service account"),
6
+ id: zod.z.number().int().describe("Unique identifier for the service account").nullable(),
7
7
  user: zod.z.number().int().describe("Internal identifier; safe to ignore").nullable().optional(),
8
8
  created: zod.z.string().describe("The date/time this service account was created").nullable().optional(),
9
9
  creator: zod.z.number().int().describe("The Mixpanel user id that created this service account").nullable().optional(),
10
10
  expires: zod.z.string().describe("The date/time this service account will expire").nullable().optional(),
11
- username: zod.z.string().describe("Service account username"),
11
+ username: zod.z.string().describe("Service account username").nullable(),
12
12
  last_used: zod.z.string().describe("The date/time this service account was last used for authentication").nullable().optional()
13
- }).describe("Model representing a single service account.");
13
+ }).passthrough().describe("Model representing a single service account.");
14
14
  const MixpanelListServiceAccountsOutput = zod.z.object({
15
- status: zod.z.string().describe("Status of the response"),
15
+ status: zod.z.string().describe("Status of the response").nullable(),
16
16
  results: zod.z.array(MixpanelListServiceAccounts_ServiceAccountSchema).describe("List of service accounts for the organization").nullable().optional()
17
- }).describe("Response model for list service accounts data.");
17
+ }).passthrough().describe("Response model for list service accounts data.");
18
18
  const mixpanelListServiceAccounts = require_action.action("MIXPANEL_LIST_SERVICE_ACCOUNTS", {
19
19
  slug: "mixpanel-list-service-accounts",
20
20
  name: "List Service Accounts",
@@ -1 +1 @@
1
- {"version":3,"file":"list-service-accounts.cjs","names":["z","action"],"sources":["../../src/actions/list-service-accounts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelListServiceAccountsInput: z.ZodTypeAny = z.object({\n organization_id: z.string().describe(\"The unique identifier for the organization\"),\n}).describe(\"Request model for listing service accounts for an organization.\");\nconst MixpanelListServiceAccounts_ServiceAccountSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the service account\"),\n user: z.number().int().describe(\"Internal identifier; safe to ignore\").nullable().optional(),\n created: z.string().describe(\"The date/time this service account was created\").nullable().optional(),\n creator: z.number().int().describe(\"The Mixpanel user id that created this service account\").nullable().optional(),\n expires: z.string().describe(\"The date/time this service account will expire\").nullable().optional(),\n username: z.string().describe(\"Service account username\"),\n last_used: z.string().describe(\"The date/time this service account was last used for authentication\").nullable().optional(),\n}).describe(\"Model representing a single service account.\");\nexport const MixpanelListServiceAccountsOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"Status of the response\"),\n results: z.array(MixpanelListServiceAccounts_ServiceAccountSchema).describe(\"List of service accounts for the organization\").nullable().optional(),\n}).describe(\"Response model for list service accounts data.\");\n\nexport const mixpanelListServiceAccounts = action(\"MIXPANEL_LIST_SERVICE_ACCOUNTS\", {\n slug: \"mixpanel-list-service-accounts\",\n name: \"List Service Accounts\",\n description: \"Tool to list all service accounts for an organization. Use when you need to retrieve service accounts, check when they were last used, or see when they expire. Requires service account with admin or owner role.\",\n input: MixpanelListServiceAccountsInput,\n output: MixpanelListServiceAccountsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiDA,IAAAA,EAAE,OAAO,EACrE,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,EACnF,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,mDAAiEA,IAAAA,EAAE,OAAO;CAC9E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACxD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CACpD,SAASA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnJ,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAE5D,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-service-accounts.cjs","names":["z","action"],"sources":["../../src/actions/list-service-accounts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelListServiceAccountsInput = z.object({\n organization_id: z.string().describe(\"The unique identifier for the organization\"),\n}).describe(\"Request model for listing service accounts for an organization.\");\nconst MixpanelListServiceAccounts_ServiceAccountSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the service account\").nullable(),\n user: z.number().int().describe(\"Internal identifier; safe to ignore\").nullable().optional(),\n created: z.string().describe(\"The date/time this service account was created\").nullable().optional(),\n creator: z.number().int().describe(\"The Mixpanel user id that created this service account\").nullable().optional(),\n expires: z.string().describe(\"The date/time this service account will expire\").nullable().optional(),\n username: z.string().describe(\"Service account username\").nullable(),\n last_used: z.string().describe(\"The date/time this service account was last used for authentication\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single service account.\");\nexport const MixpanelListServiceAccountsOutput = z.object({\n status: z.string().describe(\"Status of the response\").nullable(),\n results: z.array(MixpanelListServiceAccounts_ServiceAccountSchema).describe(\"List of service accounts for the organization\").nullable().optional(),\n}).passthrough().describe(\"Response model for list service accounts data.\");\n\nexport const mixpanelListServiceAccounts = action(\"MIXPANEL_LIST_SERVICE_ACCOUNTS\", {\n slug: \"mixpanel-list-service-accounts\",\n name: \"List Service Accounts\",\n description: \"Tool to list all service accounts for an organization. Use when you need to retrieve service accounts, check when they were last used, or see when they expire. Requires service account with admin or owner role.\",\n input: MixpanelListServiceAccountsInput,\n output: MixpanelListServiceAccountsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,EACnF,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACpF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACnE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AACxE,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC/D,SAASA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,24 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-service-accounts.d.ts
4
- declare const MixpanelListServiceAccountsInput: z.ZodTypeAny;
5
- declare const MixpanelListServiceAccountsOutput: z.ZodTypeAny;
6
- declare const mixpanelListServiceAccounts: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MixpanelListServiceAccountsInput: z.ZodObject<{
5
+ organization_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const MixpanelListServiceAccountsOutput: z.ZodObject<{
8
+ status: z.ZodNullable<z.ZodString>;
9
+ results: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
10
+ id: z.ZodNullable<z.ZodNumber>;
11
+ user: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
+ created: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ creator: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
+ expires: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ username: z.ZodNullable<z.ZodString>;
16
+ last_used: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ }, z.core.$loose>>>>;
18
+ }, z.core.$loose>;
19
+ declare const mixpanelListServiceAccounts: import("@keystrokehq/action").WorkflowActionDefinition<{
20
+ organization_id: string;
21
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
22
  //#endregion
8
23
  export { mixpanelListServiceAccounts };
9
24
  //# sourceMappingURL=list-service-accounts.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-service-accounts.d.cts","names":[],"sources":["../../src/actions/list-service-accounts.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAE6B;AAAA,cAUjE,iCAAA,EAAmC,CAAA,CAAE,UAGW;AAAA,cAEhD,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-service-accounts.d.cts","names":[],"sources":["../../src/actions/list-service-accounts.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAYhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;cAKjC,2BAAA,gCAA2B,wBAAA"}
@@ -1,9 +1,24 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-service-accounts.d.ts
4
- declare const MixpanelListServiceAccountsInput: z.ZodTypeAny;
5
- declare const MixpanelListServiceAccountsOutput: z.ZodTypeAny;
6
- declare const mixpanelListServiceAccounts: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MixpanelListServiceAccountsInput: z.ZodObject<{
5
+ organization_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const MixpanelListServiceAccountsOutput: z.ZodObject<{
8
+ status: z.ZodNullable<z.ZodString>;
9
+ results: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
10
+ id: z.ZodNullable<z.ZodNumber>;
11
+ user: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
+ created: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ creator: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
+ expires: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ username: z.ZodNullable<z.ZodString>;
16
+ last_used: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ }, z.core.$loose>>>>;
18
+ }, z.core.$loose>;
19
+ declare const mixpanelListServiceAccounts: import("@keystrokehq/action").WorkflowActionDefinition<{
20
+ organization_id: string;
21
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
22
  //#endregion
8
23
  export { mixpanelListServiceAccounts };
9
24
  //# sourceMappingURL=list-service-accounts.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-service-accounts.d.mts","names":[],"sources":["../../src/actions/list-service-accounts.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAE6B;AAAA,cAUjE,iCAAA,EAAmC,CAAA,CAAE,UAGW;AAAA,cAEhD,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-service-accounts.d.mts","names":[],"sources":["../../src/actions/list-service-accounts.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAYhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;cAKjC,2BAAA,gCAA2B,wBAAA"}
@@ -3,23 +3,23 @@ import { z } from "zod";
3
3
  //#region src/actions/list-service-accounts.ts
4
4
  const MixpanelListServiceAccountsInput = z.object({ organization_id: z.string().describe("The unique identifier for the organization") }).describe("Request model for listing service accounts for an organization.");
5
5
  const MixpanelListServiceAccounts_ServiceAccountSchema = z.object({
6
- id: z.number().int().describe("Unique identifier for the service account"),
6
+ id: z.number().int().describe("Unique identifier for the service account").nullable(),
7
7
  user: z.number().int().describe("Internal identifier; safe to ignore").nullable().optional(),
8
8
  created: z.string().describe("The date/time this service account was created").nullable().optional(),
9
9
  creator: z.number().int().describe("The Mixpanel user id that created this service account").nullable().optional(),
10
10
  expires: z.string().describe("The date/time this service account will expire").nullable().optional(),
11
- username: z.string().describe("Service account username"),
11
+ username: z.string().describe("Service account username").nullable(),
12
12
  last_used: z.string().describe("The date/time this service account was last used for authentication").nullable().optional()
13
- }).describe("Model representing a single service account.");
13
+ }).passthrough().describe("Model representing a single service account.");
14
14
  const mixpanelListServiceAccounts = action("MIXPANEL_LIST_SERVICE_ACCOUNTS", {
15
15
  slug: "mixpanel-list-service-accounts",
16
16
  name: "List Service Accounts",
17
17
  description: "Tool to list all service accounts for an organization. Use when you need to retrieve service accounts, check when they were last used, or see when they expire. Requires service account with admin or owner role.",
18
18
  input: MixpanelListServiceAccountsInput,
19
19
  output: z.object({
20
- status: z.string().describe("Status of the response"),
20
+ status: z.string().describe("Status of the response").nullable(),
21
21
  results: z.array(MixpanelListServiceAccounts_ServiceAccountSchema).describe("List of service accounts for the organization").nullable().optional()
22
- }).describe("Response model for list service accounts data.")
22
+ }).passthrough().describe("Response model for list service accounts data.")
23
23
  });
24
24
  //#endregion
25
25
  export { mixpanelListServiceAccounts };