@keystrokehq/mixpanel 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (378) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/add-unique-to-profile-list-property.cjs +31 -0
  7. package/dist/actions/add-unique-to-profile-list-property.cjs.map +1 -0
  8. package/dist/actions/add-unique-to-profile-list-property.d.cts +9 -0
  9. package/dist/actions/add-unique-to-profile-list-property.d.cts.map +1 -0
  10. package/dist/actions/add-unique-to-profile-list-property.d.mts +9 -0
  11. package/dist/actions/add-unique-to-profile-list-property.d.mts.map +1 -0
  12. package/dist/actions/add-unique-to-profile-list-property.mjs +28 -0
  13. package/dist/actions/add-unique-to-profile-list-property.mjs.map +1 -0
  14. package/dist/actions/aggregate-events.cjs +46 -0
  15. package/dist/actions/aggregate-events.cjs.map +1 -0
  16. package/dist/actions/aggregate-events.d.cts +9 -0
  17. package/dist/actions/aggregate-events.d.cts.map +1 -0
  18. package/dist/actions/aggregate-events.d.mts +9 -0
  19. package/dist/actions/aggregate-events.d.mts.map +1 -0
  20. package/dist/actions/aggregate-events.mjs +45 -0
  21. package/dist/actions/aggregate-events.mjs.map +1 -0
  22. package/dist/actions/aggregated-event-property-values.cjs +46 -0
  23. package/dist/actions/aggregated-event-property-values.cjs.map +1 -0
  24. package/dist/actions/aggregated-event-property-values.d.cts +9 -0
  25. package/dist/actions/aggregated-event-property-values.d.cts.map +1 -0
  26. package/dist/actions/aggregated-event-property-values.d.mts +9 -0
  27. package/dist/actions/aggregated-event-property-values.d.mts.map +1 -0
  28. package/dist/actions/aggregated-event-property-values.mjs +45 -0
  29. package/dist/actions/aggregated-event-property-values.mjs.map +1 -0
  30. package/dist/actions/cohorts-list.cjs +28 -0
  31. package/dist/actions/cohorts-list.cjs.map +1 -0
  32. package/dist/actions/cohorts-list.d.cts +9 -0
  33. package/dist/actions/cohorts-list.d.cts.map +1 -0
  34. package/dist/actions/cohorts-list.d.mts +9 -0
  35. package/dist/actions/cohorts-list.d.mts.map +1 -0
  36. package/dist/actions/cohorts-list.mjs +27 -0
  37. package/dist/actions/cohorts-list.mjs.map +1 -0
  38. package/dist/actions/create-annotation-tag.cjs +24 -0
  39. package/dist/actions/create-annotation-tag.cjs.map +1 -0
  40. package/dist/actions/create-annotation-tag.d.cts +9 -0
  41. package/dist/actions/create-annotation-tag.d.cts.map +1 -0
  42. package/dist/actions/create-annotation-tag.d.mts +9 -0
  43. package/dist/actions/create-annotation-tag.d.mts.map +1 -0
  44. package/dist/actions/create-annotation-tag.mjs +21 -0
  45. package/dist/actions/create-annotation-tag.mjs.map +1 -0
  46. package/dist/actions/create-identity.cjs +25 -0
  47. package/dist/actions/create-identity.cjs.map +1 -0
  48. package/dist/actions/create-identity.d.cts +9 -0
  49. package/dist/actions/create-identity.d.cts.map +1 -0
  50. package/dist/actions/create-identity.d.mts +9 -0
  51. package/dist/actions/create-identity.d.mts.map +1 -0
  52. package/dist/actions/create-identity.mjs +22 -0
  53. package/dist/actions/create-identity.mjs.map +1 -0
  54. package/dist/actions/create-service-account.cjs +48 -0
  55. package/dist/actions/create-service-account.cjs.map +1 -0
  56. package/dist/actions/create-service-account.d.cts +9 -0
  57. package/dist/actions/create-service-account.d.cts.map +1 -0
  58. package/dist/actions/create-service-account.d.mts +9 -0
  59. package/dist/actions/create-service-account.d.mts.map +1 -0
  60. package/dist/actions/create-service-account.mjs +47 -0
  61. package/dist/actions/create-service-account.mjs.map +1 -0
  62. package/dist/actions/delete-group.cjs +24 -0
  63. package/dist/actions/delete-group.cjs.map +1 -0
  64. package/dist/actions/delete-group.d.cts +9 -0
  65. package/dist/actions/delete-group.d.cts.map +1 -0
  66. package/dist/actions/delete-group.d.mts +9 -0
  67. package/dist/actions/delete-group.d.mts.map +1 -0
  68. package/dist/actions/delete-group.mjs +21 -0
  69. package/dist/actions/delete-group.mjs.map +1 -0
  70. package/dist/actions/delete-profile-batch.cjs +24 -0
  71. package/dist/actions/delete-profile-batch.cjs.map +1 -0
  72. package/dist/actions/delete-profile-batch.d.cts +9 -0
  73. package/dist/actions/delete-profile-batch.d.cts.map +1 -0
  74. package/dist/actions/delete-profile-batch.d.mts +9 -0
  75. package/dist/actions/delete-profile-batch.d.mts.map +1 -0
  76. package/dist/actions/delete-profile-batch.mjs +21 -0
  77. package/dist/actions/delete-profile-batch.mjs.map +1 -0
  78. package/dist/actions/delete-profile-property.cjs +27 -0
  79. package/dist/actions/delete-profile-property.cjs.map +1 -0
  80. package/dist/actions/delete-profile-property.d.cts +9 -0
  81. package/dist/actions/delete-profile-property.d.cts.map +1 -0
  82. package/dist/actions/delete-profile-property.d.mts +9 -0
  83. package/dist/actions/delete-profile-property.d.mts.map +1 -0
  84. package/dist/actions/delete-profile-property.mjs +24 -0
  85. package/dist/actions/delete-profile-property.mjs.map +1 -0
  86. package/dist/actions/delete-profile.cjs +22 -0
  87. package/dist/actions/delete-profile.cjs.map +1 -0
  88. package/dist/actions/delete-profile.d.cts +9 -0
  89. package/dist/actions/delete-profile.d.cts.map +1 -0
  90. package/dist/actions/delete-profile.d.mts +9 -0
  91. package/dist/actions/delete-profile.d.mts.map +1 -0
  92. package/dist/actions/delete-profile.mjs +19 -0
  93. package/dist/actions/delete-profile.mjs.map +1 -0
  94. package/dist/actions/get-all-projects.cjs +16 -0
  95. package/dist/actions/get-all-projects.cjs.map +1 -0
  96. package/dist/actions/get-all-projects.d.cts +9 -0
  97. package/dist/actions/get-all-projects.d.cts.map +1 -0
  98. package/dist/actions/get-all-projects.d.mts +9 -0
  99. package/dist/actions/get-all-projects.d.mts.map +1 -0
  100. package/dist/actions/get-all-projects.mjs +13 -0
  101. package/dist/actions/get-all-projects.mjs.map +1 -0
  102. package/dist/actions/get-annotation-tags-alt1.cjs +22 -0
  103. package/dist/actions/get-annotation-tags-alt1.cjs.map +1 -0
  104. package/dist/actions/get-annotation-tags-alt1.d.cts +9 -0
  105. package/dist/actions/get-annotation-tags-alt1.d.cts.map +1 -0
  106. package/dist/actions/get-annotation-tags-alt1.d.mts +9 -0
  107. package/dist/actions/get-annotation-tags-alt1.d.mts.map +1 -0
  108. package/dist/actions/get-annotation-tags-alt1.mjs +21 -0
  109. package/dist/actions/get-annotation-tags-alt1.mjs.map +1 -0
  110. package/dist/actions/group-batch-update.cjs +37 -0
  111. package/dist/actions/group-batch-update.cjs.map +1 -0
  112. package/dist/actions/group-batch-update.d.cts +9 -0
  113. package/dist/actions/group-batch-update.d.cts.map +1 -0
  114. package/dist/actions/group-batch-update.d.mts +9 -0
  115. package/dist/actions/group-batch-update.d.mts.map +1 -0
  116. package/dist/actions/group-batch-update.mjs +34 -0
  117. package/dist/actions/group-batch-update.mjs.map +1 -0
  118. package/dist/actions/group-delete-property.cjs +25 -0
  119. package/dist/actions/group-delete-property.cjs.map +1 -0
  120. package/dist/actions/group-delete-property.d.cts +9 -0
  121. package/dist/actions/group-delete-property.d.cts.map +1 -0
  122. package/dist/actions/group-delete-property.d.mts +9 -0
  123. package/dist/actions/group-delete-property.d.mts.map +1 -0
  124. package/dist/actions/group-delete-property.mjs +22 -0
  125. package/dist/actions/group-delete-property.mjs.map +1 -0
  126. package/dist/actions/identity-create-alias.cjs +20 -0
  127. package/dist/actions/identity-create-alias.cjs.map +1 -0
  128. package/dist/actions/identity-create-alias.d.cts +9 -0
  129. package/dist/actions/identity-create-alias.d.cts.map +1 -0
  130. package/dist/actions/identity-create-alias.d.mts +9 -0
  131. package/dist/actions/identity-create-alias.d.mts.map +1 -0
  132. package/dist/actions/identity-create-alias.mjs +17 -0
  133. package/dist/actions/identity-create-alias.mjs.map +1 -0
  134. package/dist/actions/index.cjs +87 -0
  135. package/dist/actions/index.d.cts +44 -0
  136. package/dist/actions/index.d.mts +44 -0
  137. package/dist/actions/index.mjs +44 -0
  138. package/dist/actions/jql-query.cjs +28 -0
  139. package/dist/actions/jql-query.cjs.map +1 -0
  140. package/dist/actions/jql-query.d.cts +9 -0
  141. package/dist/actions/jql-query.d.cts.map +1 -0
  142. package/dist/actions/jql-query.d.mts +9 -0
  143. package/dist/actions/jql-query.d.mts.map +1 -0
  144. package/dist/actions/jql-query.mjs +25 -0
  145. package/dist/actions/jql-query.mjs.map +1 -0
  146. package/dist/actions/list-funnels.cjs +23 -0
  147. package/dist/actions/list-funnels.cjs.map +1 -0
  148. package/dist/actions/list-funnels.d.cts +9 -0
  149. package/dist/actions/list-funnels.d.cts.map +1 -0
  150. package/dist/actions/list-funnels.d.mts +9 -0
  151. package/dist/actions/list-funnels.d.mts.map +1 -0
  152. package/dist/actions/list-funnels.mjs +22 -0
  153. package/dist/actions/list-funnels.mjs.map +1 -0
  154. package/dist/actions/list-service-accounts.cjs +28 -0
  155. package/dist/actions/list-service-accounts.cjs.map +1 -0
  156. package/dist/actions/list-service-accounts.d.cts +9 -0
  157. package/dist/actions/list-service-accounts.d.cts.map +1 -0
  158. package/dist/actions/list-service-accounts.d.mts +9 -0
  159. package/dist/actions/list-service-accounts.d.mts.map +1 -0
  160. package/dist/actions/list-service-accounts.mjs +27 -0
  161. package/dist/actions/list-service-accounts.mjs.map +1 -0
  162. package/dist/actions/profile-append-to-list-property.cjs +28 -0
  163. package/dist/actions/profile-append-to-list-property.cjs.map +1 -0
  164. package/dist/actions/profile-append-to-list-property.d.cts +9 -0
  165. package/dist/actions/profile-append-to-list-property.d.cts.map +1 -0
  166. package/dist/actions/profile-append-to-list-property.d.mts +9 -0
  167. package/dist/actions/profile-append-to-list-property.d.mts.map +1 -0
  168. package/dist/actions/profile-append-to-list-property.mjs +25 -0
  169. package/dist/actions/profile-append-to-list-property.mjs.map +1 -0
  170. package/dist/actions/profile-batch-update.cjs +41 -0
  171. package/dist/actions/profile-batch-update.cjs.map +1 -0
  172. package/dist/actions/profile-batch-update.d.cts +9 -0
  173. package/dist/actions/profile-batch-update.d.cts.map +1 -0
  174. package/dist/actions/profile-batch-update.d.mts +9 -0
  175. package/dist/actions/profile-batch-update.d.mts.map +1 -0
  176. package/dist/actions/profile-batch-update.mjs +40 -0
  177. package/dist/actions/profile-batch-update.mjs.map +1 -0
  178. package/dist/actions/profile-event-activity.cjs +67 -0
  179. package/dist/actions/profile-event-activity.cjs.map +1 -0
  180. package/dist/actions/profile-event-activity.d.cts +9 -0
  181. package/dist/actions/profile-event-activity.d.cts.map +1 -0
  182. package/dist/actions/profile-event-activity.d.mts +9 -0
  183. package/dist/actions/profile-event-activity.d.mts.map +1 -0
  184. package/dist/actions/profile-event-activity.mjs +66 -0
  185. package/dist/actions/profile-event-activity.mjs.map +1 -0
  186. package/dist/actions/profile-numerical-add.cjs +27 -0
  187. package/dist/actions/profile-numerical-add.cjs.map +1 -0
  188. package/dist/actions/profile-numerical-add.d.cts +9 -0
  189. package/dist/actions/profile-numerical-add.d.cts.map +1 -0
  190. package/dist/actions/profile-numerical-add.d.mts +9 -0
  191. package/dist/actions/profile-numerical-add.d.mts.map +1 -0
  192. package/dist/actions/profile-numerical-add.mjs +24 -0
  193. package/dist/actions/profile-numerical-add.mjs.map +1 -0
  194. package/dist/actions/profile-remove-from-list-property.cjs +28 -0
  195. package/dist/actions/profile-remove-from-list-property.cjs.map +1 -0
  196. package/dist/actions/profile-remove-from-list-property.d.cts +9 -0
  197. package/dist/actions/profile-remove-from-list-property.d.cts.map +1 -0
  198. package/dist/actions/profile-remove-from-list-property.d.mts +9 -0
  199. package/dist/actions/profile-remove-from-list-property.d.mts.map +1 -0
  200. package/dist/actions/profile-remove-from-list-property.mjs +25 -0
  201. package/dist/actions/profile-remove-from-list-property.mjs.map +1 -0
  202. package/dist/actions/profile-set.cjs +26 -0
  203. package/dist/actions/profile-set.cjs.map +1 -0
  204. package/dist/actions/profile-set.d.cts +9 -0
  205. package/dist/actions/profile-set.d.cts.map +1 -0
  206. package/dist/actions/profile-set.d.mts +9 -0
  207. package/dist/actions/profile-set.d.mts.map +1 -0
  208. package/dist/actions/profile-set.mjs +23 -0
  209. package/dist/actions/profile-set.mjs.map +1 -0
  210. package/dist/actions/query-frequency-report.cjs +31 -0
  211. package/dist/actions/query-frequency-report.cjs.map +1 -0
  212. package/dist/actions/query-frequency-report.d.cts +9 -0
  213. package/dist/actions/query-frequency-report.d.cts.map +1 -0
  214. package/dist/actions/query-frequency-report.d.mts +9 -0
  215. package/dist/actions/query-frequency-report.d.mts.map +1 -0
  216. package/dist/actions/query-frequency-report.mjs +28 -0
  217. package/dist/actions/query-frequency-report.mjs.map +1 -0
  218. package/dist/actions/query-funnel.cjs +42 -0
  219. package/dist/actions/query-funnel.cjs.map +1 -0
  220. package/dist/actions/query-funnel.d.cts +9 -0
  221. package/dist/actions/query-funnel.d.cts.map +1 -0
  222. package/dist/actions/query-funnel.d.mts +9 -0
  223. package/dist/actions/query-funnel.d.mts.map +1 -0
  224. package/dist/actions/query-funnel.mjs +41 -0
  225. package/dist/actions/query-funnel.mjs.map +1 -0
  226. package/dist/actions/query-insight.cjs +29 -0
  227. package/dist/actions/query-insight.cjs.map +1 -0
  228. package/dist/actions/query-insight.d.cts +9 -0
  229. package/dist/actions/query-insight.d.cts.map +1 -0
  230. package/dist/actions/query-insight.d.mts +9 -0
  231. package/dist/actions/query-insight.d.mts.map +1 -0
  232. package/dist/actions/query-insight.mjs +28 -0
  233. package/dist/actions/query-insight.mjs.map +1 -0
  234. package/dist/actions/query-numeric-average.cjs +28 -0
  235. package/dist/actions/query-numeric-average.cjs.map +1 -0
  236. package/dist/actions/query-numeric-average.d.cts +9 -0
  237. package/dist/actions/query-numeric-average.d.cts.map +1 -0
  238. package/dist/actions/query-numeric-average.d.mts +9 -0
  239. package/dist/actions/query-numeric-average.d.mts.map +1 -0
  240. package/dist/actions/query-numeric-average.mjs +25 -0
  241. package/dist/actions/query-numeric-average.mjs.map +1 -0
  242. package/dist/actions/query-numeric-sum.cjs +29 -0
  243. package/dist/actions/query-numeric-sum.cjs.map +1 -0
  244. package/dist/actions/query-numeric-sum.d.cts +9 -0
  245. package/dist/actions/query-numeric-sum.d.cts.map +1 -0
  246. package/dist/actions/query-numeric-sum.d.mts +9 -0
  247. package/dist/actions/query-numeric-sum.d.mts.map +1 -0
  248. package/dist/actions/query-numeric-sum.mjs +26 -0
  249. package/dist/actions/query-numeric-sum.mjs.map +1 -0
  250. package/dist/actions/query-profiles.cjs +41 -0
  251. package/dist/actions/query-profiles.cjs.map +1 -0
  252. package/dist/actions/query-profiles.d.cts +9 -0
  253. package/dist/actions/query-profiles.d.cts.map +1 -0
  254. package/dist/actions/query-profiles.d.mts +9 -0
  255. package/dist/actions/query-profiles.d.mts.map +1 -0
  256. package/dist/actions/query-profiles.mjs +40 -0
  257. package/dist/actions/query-profiles.mjs.map +1 -0
  258. package/dist/actions/query-retention-report.cjs +35 -0
  259. package/dist/actions/query-retention-report.cjs.map +1 -0
  260. package/dist/actions/query-retention-report.d.cts +9 -0
  261. package/dist/actions/query-retention-report.d.cts.map +1 -0
  262. package/dist/actions/query-retention-report.d.mts +9 -0
  263. package/dist/actions/query-retention-report.d.mts.map +1 -0
  264. package/dist/actions/query-retention-report.mjs +32 -0
  265. package/dist/actions/query-retention-report.mjs.map +1 -0
  266. package/dist/actions/query-segmentation.cjs +43 -0
  267. package/dist/actions/query-segmentation.cjs.map +1 -0
  268. package/dist/actions/query-segmentation.d.cts +9 -0
  269. package/dist/actions/query-segmentation.d.cts.map +1 -0
  270. package/dist/actions/query-segmentation.d.mts +9 -0
  271. package/dist/actions/query-segmentation.d.mts.map +1 -0
  272. package/dist/actions/query-segmentation.mjs +42 -0
  273. package/dist/actions/query-segmentation.mjs.map +1 -0
  274. package/dist/actions/query-top-events.cjs +38 -0
  275. package/dist/actions/query-top-events.cjs.map +1 -0
  276. package/dist/actions/query-top-events.d.cts +9 -0
  277. package/dist/actions/query-top-events.d.cts.map +1 -0
  278. package/dist/actions/query-top-events.d.mts +9 -0
  279. package/dist/actions/query-top-events.d.mts.map +1 -0
  280. package/dist/actions/query-top-events.mjs +37 -0
  281. package/dist/actions/query-top-events.mjs.map +1 -0
  282. package/dist/actions/remove-from-group-list-property.cjs +25 -0
  283. package/dist/actions/remove-from-group-list-property.cjs.map +1 -0
  284. package/dist/actions/remove-from-group-list-property.d.cts +9 -0
  285. package/dist/actions/remove-from-group-list-property.d.cts.map +1 -0
  286. package/dist/actions/remove-from-group-list-property.d.mts +9 -0
  287. package/dist/actions/remove-from-group-list-property.d.mts.map +1 -0
  288. package/dist/actions/remove-from-group-list-property.mjs +22 -0
  289. package/dist/actions/remove-from-group-list-property.mjs.map +1 -0
  290. package/dist/actions/remove-from-list-property.cjs +26 -0
  291. package/dist/actions/remove-from-list-property.cjs.map +1 -0
  292. package/dist/actions/remove-from-list-property.d.cts +9 -0
  293. package/dist/actions/remove-from-list-property.d.cts.map +1 -0
  294. package/dist/actions/remove-from-list-property.d.mts +9 -0
  295. package/dist/actions/remove-from-list-property.d.mts.map +1 -0
  296. package/dist/actions/remove-from-list-property.mjs +23 -0
  297. package/dist/actions/remove-from-list-property.mjs.map +1 -0
  298. package/dist/actions/segmentation-numeric-query.cjs +39 -0
  299. package/dist/actions/segmentation-numeric-query.cjs.map +1 -0
  300. package/dist/actions/segmentation-numeric-query.d.cts +9 -0
  301. package/dist/actions/segmentation-numeric-query.d.cts.map +1 -0
  302. package/dist/actions/segmentation-numeric-query.d.mts +9 -0
  303. package/dist/actions/segmentation-numeric-query.d.mts.map +1 -0
  304. package/dist/actions/segmentation-numeric-query.mjs +36 -0
  305. package/dist/actions/segmentation-numeric-query.mjs.map +1 -0
  306. package/dist/actions/set-group-property-once.cjs +25 -0
  307. package/dist/actions/set-group-property-once.cjs.map +1 -0
  308. package/dist/actions/set-group-property-once.d.cts +9 -0
  309. package/dist/actions/set-group-property-once.d.cts.map +1 -0
  310. package/dist/actions/set-group-property-once.d.mts +9 -0
  311. package/dist/actions/set-group-property-once.d.mts.map +1 -0
  312. package/dist/actions/set-group-property-once.mjs +22 -0
  313. package/dist/actions/set-group-property-once.mjs.map +1 -0
  314. package/dist/actions/set-profile-property-once.cjs +26 -0
  315. package/dist/actions/set-profile-property-once.cjs.map +1 -0
  316. package/dist/actions/set-profile-property-once.d.cts +9 -0
  317. package/dist/actions/set-profile-property-once.d.cts.map +1 -0
  318. package/dist/actions/set-profile-property-once.d.mts +9 -0
  319. package/dist/actions/set-profile-property-once.d.mts.map +1 -0
  320. package/dist/actions/set-profile-property-once.mjs +23 -0
  321. package/dist/actions/set-profile-property-once.mjs.map +1 -0
  322. package/dist/actions/top-event-properties.cjs +21 -0
  323. package/dist/actions/top-event-properties.cjs.map +1 -0
  324. package/dist/actions/top-event-properties.d.cts +9 -0
  325. package/dist/actions/top-event-properties.d.cts.map +1 -0
  326. package/dist/actions/top-event-properties.d.mts +9 -0
  327. package/dist/actions/top-event-properties.d.mts.map +1 -0
  328. package/dist/actions/top-event-properties.mjs +18 -0
  329. package/dist/actions/top-event-properties.mjs.map +1 -0
  330. package/dist/actions/top-event-property-values.cjs +22 -0
  331. package/dist/actions/top-event-property-values.cjs.map +1 -0
  332. package/dist/actions/top-event-property-values.d.cts +9 -0
  333. package/dist/actions/top-event-property-values.d.cts.map +1 -0
  334. package/dist/actions/top-event-property-values.d.mts +9 -0
  335. package/dist/actions/top-event-property-values.d.mts.map +1 -0
  336. package/dist/actions/top-event-property-values.mjs +19 -0
  337. package/dist/actions/top-event-property-values.mjs.map +1 -0
  338. package/dist/actions/top-events.cjs +25 -0
  339. package/dist/actions/top-events.cjs.map +1 -0
  340. package/dist/actions/top-events.d.cts +9 -0
  341. package/dist/actions/top-events.d.cts.map +1 -0
  342. package/dist/actions/top-events.d.mts +9 -0
  343. package/dist/actions/top-events.d.mts.map +1 -0
  344. package/dist/actions/top-events.mjs +22 -0
  345. package/dist/actions/top-events.mjs.map +1 -0
  346. package/dist/actions/update-group-list-property.cjs +29 -0
  347. package/dist/actions/update-group-list-property.cjs.map +1 -0
  348. package/dist/actions/update-group-list-property.d.cts +9 -0
  349. package/dist/actions/update-group-list-property.d.cts.map +1 -0
  350. package/dist/actions/update-group-list-property.d.mts +9 -0
  351. package/dist/actions/update-group-list-property.d.mts.map +1 -0
  352. package/dist/actions/update-group-list-property.mjs +26 -0
  353. package/dist/actions/update-group-list-property.mjs.map +1 -0
  354. package/dist/app.cjs +9 -0
  355. package/dist/app.cjs.map +1 -0
  356. package/dist/app.d.cts +5 -0
  357. package/dist/app.d.cts.map +1 -0
  358. package/dist/app.d.mts +5 -0
  359. package/dist/app.d.mts.map +1 -0
  360. package/dist/app.mjs +10 -0
  361. package/dist/app.mjs.map +1 -0
  362. package/dist/catalog.cjs +15 -0
  363. package/dist/catalog.cjs.map +1 -0
  364. package/dist/catalog.d.cts +14 -0
  365. package/dist/catalog.d.cts.map +1 -0
  366. package/dist/catalog.d.mts +14 -0
  367. package/dist/catalog.d.mts.map +1 -0
  368. package/dist/catalog.mjs +15 -0
  369. package/dist/catalog.mjs.map +1 -0
  370. package/dist/execute.cjs +18 -0
  371. package/dist/execute.cjs.map +1 -0
  372. package/dist/execute.mjs +18 -0
  373. package/dist/execute.mjs.map +1 -0
  374. package/dist/index.cjs +92 -0
  375. package/dist/index.d.cts +46 -0
  376. package/dist/index.d.mts +46 -0
  377. package/dist/index.mjs +47 -0
  378. package/package.json +49 -0
@@ -0,0 +1,28 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/profile-remove-from-list-property.ts
4
+ const MixpanelProfileRemoveFromListPropertyInput = zod.z.object({
5
+ data: zod.z.array(zod.z.object({
6
+ ip: zod.z.string().describe("IP address for geolocation. Set to '0' to avoid updating location data. Defaults to the request IP address if not provided.").optional(),
7
+ token: zod.z.string().describe("Your Mixpanel project authentication token"),
8
+ remove: zod.z.record(zod.z.string(), zod.z.unknown()).describe("A JSON object containing key-value pairs where each key is a property name and each value is the item to remove from that list property. If the value doesn't exist in the list, no updates are made."),
9
+ distinct_id: zod.z.string().describe("The unique identifier for the user profile"),
10
+ ignore_time: zod.z.boolean().describe("If true, prevents updating the 'Last Seen' property. Defaults to false.").optional()
11
+ }).describe("Individual profile update object for removing from list properties.")).describe("A list of profile update objects. Each object must contain $token, $distinct_id, and $remove properties."),
12
+ verbose: zod.z.number().int().describe("When set to 1, returns detailed JSON response with status and error fields. When set to 0 (default), returns plain text status (1 for success, 0 for failure).").optional()
13
+ }).describe("Request model for removing values from list properties on user profiles.");
14
+ const MixpanelProfileRemoveFromListPropertyOutput = zod.z.object({
15
+ error: zod.z.string().describe("Error message if the request failed, null if successful.").nullable().optional(),
16
+ status: zod.z.union([zod.z.string(), zod.z.number().int()])
17
+ }).describe("Response model for profile remove operation.");
18
+ const mixpanelProfileRemoveFromListProperty = require_action.action("MIXPANEL_PROFILE_REMOVE_FROM_LIST_PROPERTY", {
19
+ slug: "mixpanel-profile-remove-from-list-property",
20
+ name: "Remove from Profile List Property",
21
+ description: "Tool to remove values from list properties on user profiles in Mixpanel. Use when you need to remove specific items from list-type properties. If the value doesn't exist in the list, no updates are made. If the property doesn't exist or is not list-valued, the operation is ignored.",
22
+ input: MixpanelProfileRemoveFromListPropertyInput,
23
+ output: MixpanelProfileRemoveFromListPropertyOutput
24
+ });
25
+ //#endregion
26
+ exports.mixpanelProfileRemoveFromListProperty = mixpanelProfileRemoveFromListProperty;
27
+
28
+ //# sourceMappingURL=profile-remove-from-list-property.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"profile-remove-from-list-property.cjs","names":["z","action"],"sources":["../../src/actions/profile-remove-from-list-property.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelProfileRemoveFromListPropertyInput: z.ZodTypeAny = z.object({\n data: z.array(z.object({\n ip: z.string().describe(\"IP address for geolocation. Set to '0' to avoid updating location data. Defaults to the request IP address if not provided.\").optional(),\n token: z.string().describe(\"Your Mixpanel project authentication token\"),\n remove: z.record(z.string(), z.unknown()).describe(\"A JSON object containing key-value pairs where each key is a property name and each value is the item to remove from that list property. If the value doesn't exist in the list, no updates are made.\"),\n distinct_id: z.string().describe(\"The unique identifier for the user profile\"),\n ignore_time: z.boolean().describe(\"If true, prevents updating the 'Last Seen' property. Defaults to false.\").optional(),\n}).describe(\"Individual profile update object for removing from list properties.\")).describe(\"A list of profile update objects. Each object must contain $token, $distinct_id, and $remove properties.\"),\n verbose: z.number().int().describe(\"When set to 1, returns detailed JSON response with status and error fields. When set to 0 (default), returns plain text status (1 for success, 0 for failure).\").optional(),\n}).describe(\"Request model for removing values from list properties on user profiles.\");\nexport const MixpanelProfileRemoveFromListPropertyOutput: z.ZodTypeAny = z.object({\n error: z.string().describe(\"Error message if the request failed, null if successful.\").nullable().optional(),\n status: z.union([z.string(), z.number().int()]),\n}).describe(\"Response model for profile remove operation.\");\n\nexport const mixpanelProfileRemoveFromListProperty = action(\"MIXPANEL_PROFILE_REMOVE_FROM_LIST_PROPERTY\", {\n slug: \"mixpanel-profile-remove-from-list-property\",\n name: \"Remove from Profile List Property\",\n description: \"Tool to remove values from list properties on user profiles in Mixpanel. Use when you need to remove specific items from list-type properties. If the value doesn't exist in the list, no updates are made. If the property doesn't exist or is not list-valued, the operation is ignored.\",\n input: MixpanelProfileRemoveFromListPropertyInput,\n output: MixpanelProfileRemoveFromListPropertyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6CAA2DA,IAAAA,EAAE,OAAO;CAC/E,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACvB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;EAChK,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EACvE,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uMAAuM;EAC1P,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EAC7E,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACxH,CAAC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,CAAC,SAAS,0GAA0G;CACrM,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gKAAgK,CAAC,CAAC,SAAS;AAChN,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAa,8CAA4DA,IAAAA,EAAE,OAAO;CAChF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,QAAQA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;AAChD,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAE1D,MAAa,wCAAwCC,eAAAA,OAAO,8CAA8C;CACxG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/profile-remove-from-list-property.d.ts
4
+ declare const MixpanelProfileRemoveFromListPropertyInput: z.ZodTypeAny;
5
+ declare const MixpanelProfileRemoveFromListPropertyOutput: z.ZodTypeAny;
6
+ declare const mixpanelProfileRemoveFromListProperty: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { mixpanelProfileRemoveFromListProperty };
9
+ //# sourceMappingURL=profile-remove-from-list-property.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"profile-remove-from-list-property.d.cts","names":[],"sources":["../../src/actions/profile-remove-from-list-property.ts"],"mappings":";;;cAIa,0CAAA,EAA4C,CAAA,CAAE,UAS4B;AAAA,cAC1E,2CAAA,EAA6C,CAAA,CAAE,UAGD;AAAA,cAE9C,qCAAA,gCAAqC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/profile-remove-from-list-property.d.ts
4
+ declare const MixpanelProfileRemoveFromListPropertyInput: z.ZodTypeAny;
5
+ declare const MixpanelProfileRemoveFromListPropertyOutput: z.ZodTypeAny;
6
+ declare const mixpanelProfileRemoveFromListProperty: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { mixpanelProfileRemoveFromListProperty };
9
+ //# sourceMappingURL=profile-remove-from-list-property.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"profile-remove-from-list-property.d.mts","names":[],"sources":["../../src/actions/profile-remove-from-list-property.ts"],"mappings":";;;cAIa,0CAAA,EAA4C,CAAA,CAAE,UAS4B;AAAA,cAC1E,2CAAA,EAA6C,CAAA,CAAE,UAGD;AAAA,cAE9C,qCAAA,gCAAqC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,25 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const mixpanelProfileRemoveFromListProperty = action("MIXPANEL_PROFILE_REMOVE_FROM_LIST_PROPERTY", {
4
+ slug: "mixpanel-profile-remove-from-list-property",
5
+ name: "Remove from Profile List Property",
6
+ description: "Tool to remove values from list properties on user profiles in Mixpanel. Use when you need to remove specific items from list-type properties. If the value doesn't exist in the list, no updates are made. If the property doesn't exist or is not list-valued, the operation is ignored.",
7
+ input: z.object({
8
+ data: z.array(z.object({
9
+ ip: z.string().describe("IP address for geolocation. Set to '0' to avoid updating location data. Defaults to the request IP address if not provided.").optional(),
10
+ token: z.string().describe("Your Mixpanel project authentication token"),
11
+ remove: z.record(z.string(), z.unknown()).describe("A JSON object containing key-value pairs where each key is a property name and each value is the item to remove from that list property. If the value doesn't exist in the list, no updates are made."),
12
+ distinct_id: z.string().describe("The unique identifier for the user profile"),
13
+ ignore_time: z.boolean().describe("If true, prevents updating the 'Last Seen' property. Defaults to false.").optional()
14
+ }).describe("Individual profile update object for removing from list properties.")).describe("A list of profile update objects. Each object must contain $token, $distinct_id, and $remove properties."),
15
+ verbose: z.number().int().describe("When set to 1, returns detailed JSON response with status and error fields. When set to 0 (default), returns plain text status (1 for success, 0 for failure).").optional()
16
+ }).describe("Request model for removing values from list properties on user profiles."),
17
+ output: z.object({
18
+ error: z.string().describe("Error message if the request failed, null if successful.").nullable().optional(),
19
+ status: z.union([z.string(), z.number().int()])
20
+ }).describe("Response model for profile remove operation.")
21
+ });
22
+ //#endregion
23
+ export { mixpanelProfileRemoveFromListProperty };
24
+
25
+ //# sourceMappingURL=profile-remove-from-list-property.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"profile-remove-from-list-property.mjs","names":[],"sources":["../../src/actions/profile-remove-from-list-property.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelProfileRemoveFromListPropertyInput: z.ZodTypeAny = z.object({\n data: z.array(z.object({\n ip: z.string().describe(\"IP address for geolocation. Set to '0' to avoid updating location data. Defaults to the request IP address if not provided.\").optional(),\n token: z.string().describe(\"Your Mixpanel project authentication token\"),\n remove: z.record(z.string(), z.unknown()).describe(\"A JSON object containing key-value pairs where each key is a property name and each value is the item to remove from that list property. If the value doesn't exist in the list, no updates are made.\"),\n distinct_id: z.string().describe(\"The unique identifier for the user profile\"),\n ignore_time: z.boolean().describe(\"If true, prevents updating the 'Last Seen' property. Defaults to false.\").optional(),\n}).describe(\"Individual profile update object for removing from list properties.\")).describe(\"A list of profile update objects. Each object must contain $token, $distinct_id, and $remove properties.\"),\n verbose: z.number().int().describe(\"When set to 1, returns detailed JSON response with status and error fields. When set to 0 (default), returns plain text status (1 for success, 0 for failure).\").optional(),\n}).describe(\"Request model for removing values from list properties on user profiles.\");\nexport const MixpanelProfileRemoveFromListPropertyOutput: z.ZodTypeAny = z.object({\n error: z.string().describe(\"Error message if the request failed, null if successful.\").nullable().optional(),\n status: z.union([z.string(), z.number().int()]),\n}).describe(\"Response model for profile remove operation.\");\n\nexport const mixpanelProfileRemoveFromListProperty = action(\"MIXPANEL_PROFILE_REMOVE_FROM_LIST_PROPERTY\", {\n slug: \"mixpanel-profile-remove-from-list-property\",\n name: \"Remove from Profile List Property\",\n description: \"Tool to remove values from list properties on user profiles in Mixpanel. Use when you need to remove specific items from list-type properties. If the value doesn't exist in the list, no updates are made. If the property doesn't exist or is not list-valued, the operation is ignored.\",\n input: MixpanelProfileRemoveFromListPropertyInput,\n output: MixpanelProfileRemoveFromListPropertyOutput,\n});\n"],"mappings":";;AAmBA,MAAa,wCAAwC,OAAO,8CAA8C;CACxG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBsE,EAAE,OAAO;EAC/E,MAAM,EAAE,MAAM,EAAE,OAAO;GACvB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;GAChK,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;GACvE,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uMAAuM;GAC1P,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;GAC7E,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;EACxH,CAAC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,CAAC,SAAS,0GAA0G;EACrM,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gKAAgK,CAAC,CAAC,SAAS;CAChN,CAAC,CAAC,CAAC,SAAS,0EAUH;CACP,QAVuE,EAAE,OAAO;EAChF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,QAAQ,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;CAChD,CAAC,CAAC,CAAC,SAAS,8CAOF;AACV,CAAC"}
@@ -0,0 +1,26 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/profile-set.ts
4
+ const MixpanelProfileSetInput = zod.z.object({
5
+ ip: zod.z.string().describe("IP address for geolocation enrichment. Set to '0' to prevent updating geolocation data. If not provided, Mixpanel uses the request IP. Geolocation properties ($city, $region, mp_country_code) are derived and the IP is discarded.").optional(),
6
+ time: zod.z.number().int().describe("Unix timestamp (seconds since epoch) indicating when the profile update occurred. Defaults to the current server time if not provided.").optional(),
7
+ token: zod.z.string().describe("Your Mixpanel project authentication token. Required for authenticating the request."),
8
+ distinct_id: zod.z.string().describe("The unique identifier for the user profile to update. This determines which profile will be modified."),
9
+ ignore_time: zod.z.boolean().describe("If true, prevents Mixpanel from automatically updating the 'Last Seen' property. Defaults to false.").optional(),
10
+ set_properties: zod.z.record(zod.z.string(), zod.z.unknown()).describe("A dictionary of properties to set on the user profile. These properties will be created if they don't exist, or overwritten if they do. Common properties include 'name', 'email', 'status', etc.")
11
+ }).describe("Request model for setting user profile properties.");
12
+ const MixpanelProfileSetOutput = zod.z.object({
13
+ error: zod.z.string().describe("Error message if the request failed, null if successful.").nullable().optional(),
14
+ status: zod.z.union([zod.z.string(), zod.z.number().int()])
15
+ }).describe("Response model for profile set operation.");
16
+ const mixpanelProfileSet = require_action.action("MIXPANEL_PROFILE_SET", {
17
+ slug: "mixpanel-profile-set",
18
+ name: "Set Profile Properties",
19
+ description: "Tool to set user profile properties in Mixpanel using the $set operation. Use when you need to create or update properties on a user profile. Properties specified will be created if they don't exist, or overwritten if they do. If the profile doesn't exist, it will be created with these properties.",
20
+ input: MixpanelProfileSetInput,
21
+ output: MixpanelProfileSetOutput
22
+ });
23
+ //#endregion
24
+ exports.mixpanelProfileSet = mixpanelProfileSet;
25
+
26
+ //# sourceMappingURL=profile-set.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"profile-set.cjs","names":["z","action"],"sources":["../../src/actions/profile-set.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelProfileSetInput: z.ZodTypeAny = z.object({\n ip: z.string().describe(\"IP address for geolocation enrichment. Set to '0' to prevent updating geolocation data. If not provided, Mixpanel uses the request IP. Geolocation properties ($city, $region, mp_country_code) are derived and the IP is discarded.\").optional(),\n time: z.number().int().describe(\"Unix timestamp (seconds since epoch) indicating when the profile update occurred. Defaults to the current server time if not provided.\").optional(),\n token: z.string().describe(\"Your Mixpanel project authentication token. Required for authenticating the request.\"),\n distinct_id: z.string().describe(\"The unique identifier for the user profile to update. This determines which profile will be modified.\"),\n ignore_time: z.boolean().describe(\"If true, prevents Mixpanel from automatically updating the 'Last Seen' property. Defaults to false.\").optional(),\n set_properties: z.record(z.string(), z.unknown()).describe(\"A dictionary of properties to set on the user profile. These properties will be created if they don't exist, or overwritten if they do. Common properties include 'name', 'email', 'status', etc.\"),\n}).describe(\"Request model for setting user profile properties.\");\nexport const MixpanelProfileSetOutput: z.ZodTypeAny = z.object({\n error: z.string().describe(\"Error message if the request failed, null if successful.\").nullable().optional(),\n status: z.union([z.string(), z.number().int()]),\n}).describe(\"Response model for profile set operation.\");\n\nexport const mixpanelProfileSet = action(\"MIXPANEL_PROFILE_SET\", {\n slug: \"mixpanel-profile-set\",\n name: \"Set Profile Properties\",\n description: \"Tool to set user profile properties in Mixpanel using the $set operation. Use when you need to create or update properties on a user profile. Properties specified will be created if they don't exist, or overwritten if they do. If the profile doesn't exist, it will be created with these properties.\",\n input: MixpanelProfileSetInput,\n output: MixpanelProfileSetOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sOAAsO,CAAC,CAAC,SAAS;CACzQ,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;CACnL,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF;CACjH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;CACxI,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAClJ,gBAAgBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mMAAmM;AAChQ,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,QAAQA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;AAChD,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAEvD,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/profile-set.d.ts
4
+ declare const MixpanelProfileSetInput: z.ZodTypeAny;
5
+ declare const MixpanelProfileSetOutput: z.ZodTypeAny;
6
+ declare const mixpanelProfileSet: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { mixpanelProfileSet };
9
+ //# sourceMappingURL=profile-set.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"profile-set.d.cts","names":[],"sources":["../../src/actions/profile-set.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAOyB;AAAA,cACpD,wBAAA,EAA0B,CAAA,CAAE,UAGe;AAAA,cAE3C,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/profile-set.d.ts
4
+ declare const MixpanelProfileSetInput: z.ZodTypeAny;
5
+ declare const MixpanelProfileSetOutput: z.ZodTypeAny;
6
+ declare const mixpanelProfileSet: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { mixpanelProfileSet };
9
+ //# sourceMappingURL=profile-set.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"profile-set.d.mts","names":[],"sources":["../../src/actions/profile-set.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAOyB;AAAA,cACpD,wBAAA,EAA0B,CAAA,CAAE,UAGe;AAAA,cAE3C,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,23 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const mixpanelProfileSet = action("MIXPANEL_PROFILE_SET", {
4
+ slug: "mixpanel-profile-set",
5
+ name: "Set Profile Properties",
6
+ description: "Tool to set user profile properties in Mixpanel using the $set operation. Use when you need to create or update properties on a user profile. Properties specified will be created if they don't exist, or overwritten if they do. If the profile doesn't exist, it will be created with these properties.",
7
+ input: z.object({
8
+ ip: z.string().describe("IP address for geolocation enrichment. Set to '0' to prevent updating geolocation data. If not provided, Mixpanel uses the request IP. Geolocation properties ($city, $region, mp_country_code) are derived and the IP is discarded.").optional(),
9
+ time: z.number().int().describe("Unix timestamp (seconds since epoch) indicating when the profile update occurred. Defaults to the current server time if not provided.").optional(),
10
+ token: z.string().describe("Your Mixpanel project authentication token. Required for authenticating the request."),
11
+ distinct_id: z.string().describe("The unique identifier for the user profile to update. This determines which profile will be modified."),
12
+ ignore_time: z.boolean().describe("If true, prevents Mixpanel from automatically updating the 'Last Seen' property. Defaults to false.").optional(),
13
+ set_properties: z.record(z.string(), z.unknown()).describe("A dictionary of properties to set on the user profile. These properties will be created if they don't exist, or overwritten if they do. Common properties include 'name', 'email', 'status', etc.")
14
+ }).describe("Request model for setting user profile properties."),
15
+ output: z.object({
16
+ error: z.string().describe("Error message if the request failed, null if successful.").nullable().optional(),
17
+ status: z.union([z.string(), z.number().int()])
18
+ }).describe("Response model for profile set operation.")
19
+ });
20
+ //#endregion
21
+ export { mixpanelProfileSet };
22
+
23
+ //# sourceMappingURL=profile-set.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"profile-set.mjs","names":[],"sources":["../../src/actions/profile-set.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelProfileSetInput: z.ZodTypeAny = z.object({\n ip: z.string().describe(\"IP address for geolocation enrichment. Set to '0' to prevent updating geolocation data. If not provided, Mixpanel uses the request IP. Geolocation properties ($city, $region, mp_country_code) are derived and the IP is discarded.\").optional(),\n time: z.number().int().describe(\"Unix timestamp (seconds since epoch) indicating when the profile update occurred. Defaults to the current server time if not provided.\").optional(),\n token: z.string().describe(\"Your Mixpanel project authentication token. Required for authenticating the request.\"),\n distinct_id: z.string().describe(\"The unique identifier for the user profile to update. This determines which profile will be modified.\"),\n ignore_time: z.boolean().describe(\"If true, prevents Mixpanel from automatically updating the 'Last Seen' property. Defaults to false.\").optional(),\n set_properties: z.record(z.string(), z.unknown()).describe(\"A dictionary of properties to set on the user profile. These properties will be created if they don't exist, or overwritten if they do. Common properties include 'name', 'email', 'status', etc.\"),\n}).describe(\"Request model for setting user profile properties.\");\nexport const MixpanelProfileSetOutput: z.ZodTypeAny = z.object({\n error: z.string().describe(\"Error message if the request failed, null if successful.\").nullable().optional(),\n status: z.union([z.string(), z.number().int()]),\n}).describe(\"Response model for profile set operation.\");\n\nexport const mixpanelProfileSet = action(\"MIXPANEL_PROFILE_SET\", {\n slug: \"mixpanel-profile-set\",\n name: \"Set Profile Properties\",\n description: \"Tool to set user profile properties in Mixpanel using the $set operation. Use when you need to create or update properties on a user profile. Properties specified will be created if they don't exist, or overwritten if they do. If the profile doesn't exist, it will be created with these properties.\",\n input: MixpanelProfileSetInput,\n output: MixpanelProfileSetOutput,\n});\n"],"mappings":";;AAiBA,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBmD,EAAE,OAAO;EAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sOAAsO,CAAC,CAAC,SAAS;EACzQ,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;EACnL,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF;EACjH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;EACxI,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;EAClJ,gBAAgB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mMAAmM;CAChQ,CAAC,CAAC,CAAC,SAAS,oDAUH;CACP,QAVoD,EAAE,OAAO;EAC7D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,QAAQ,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;CAChD,CAAC,CAAC,CAAC,SAAS,2CAOF;AACV,CAAC"}
@@ -0,0 +1,31 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/query-frequency-report.ts
4
+ const MixpanelQueryFrequencyReportInput = zod.z.object({
5
+ on: zod.z.string().describe("The property expression to segment the second event on").optional(),
6
+ unit: zod.z.enum([
7
+ "day",
8
+ "week",
9
+ "month"
10
+ ]).describe("The overall time period to return frequency of actions for"),
11
+ event: zod.z.string().describe("The event to generate returning counts for").optional(),
12
+ limit: zod.z.number().int().describe("Return the top limit segmentation values").optional(),
13
+ where: zod.z.string().describe("An expression to filter the returning events by").optional(),
14
+ to_date: zod.z.string().describe("The date in yyyy-mm-dd format to query to (inclusive)"),
15
+ from_date: zod.z.string().describe("The date in yyyy-mm-dd format to begin querying from (inclusive)"),
16
+ project_id: zod.z.number().int().describe("Required if using service account to authenticate request"),
17
+ workspace_id: zod.z.number().int().describe("The id of the workspace if applicable").optional(),
18
+ addiction_unit: zod.z.enum(["hour", "day"]).describe("The granularity to return frequency of actions at")
19
+ }).describe("Request model for querying frequency data");
20
+ const MixpanelQueryFrequencyReportOutput = zod.z.object({ data: zod.z.object({}).describe("Contains date keys mapping to frequency arrays. Each date key is formatted as YYYY-MM-DD and contains an array of integers representing cumulative user counts at each frequency interval.") }).describe("Response model for frequency query data");
21
+ const mixpanelQueryFrequencyReport = require_action.action("MIXPANEL_QUERY_FREQUENCY_REPORT", {
22
+ slug: "mixpanel-query-frequency-report",
23
+ name: "Query Frequency Report",
24
+ description: "Get data about how frequently users are performing events. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries. Example response with unit=\"day\" and addiction_unit=\"hour\": { \"2012-01-01\": [305, 107, 60, 41, ...], # Users who did event in 1+ hours, 2+ hours, etc. \"2012-01-02\": [495, 204, 117, 77, ...], \"2012-01-03\": [671, 324, 176, 122, ...] }",
25
+ input: MixpanelQueryFrequencyReportInput,
26
+ output: MixpanelQueryFrequencyReportOutput
27
+ });
28
+ //#endregion
29
+ exports.mixpanelQueryFrequencyReport = mixpanelQueryFrequencyReport;
30
+
31
+ //# sourceMappingURL=query-frequency-report.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"query-frequency-report.cjs","names":["z","action"],"sources":["../../src/actions/query-frequency-report.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelQueryFrequencyReportInput: z.ZodTypeAny = z.object({\n on: z.string().describe(\"The property expression to segment the second event on\").optional(),\n unit: z.enum([\"day\", \"week\", \"month\"]).describe(\"The overall time period to return frequency of actions for\"),\n event: z.string().describe(\"The event to generate returning counts for\").optional(),\n limit: z.number().int().describe(\"Return the top limit segmentation values\").optional(),\n where: z.string().describe(\"An expression to filter the returning events by\").optional(),\n to_date: z.string().describe(\"The date in yyyy-mm-dd format to query to (inclusive)\"),\n from_date: z.string().describe(\"The date in yyyy-mm-dd format to begin querying from (inclusive)\"),\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 addiction_unit: z.enum([\"hour\", \"day\"]).describe(\"The granularity to return frequency of actions at\"),\n}).describe(\"Request model for querying frequency data\");\nexport const MixpanelQueryFrequencyReportOutput: z.ZodTypeAny = z.object({\n data: z.object({}).describe(\"Contains date keys mapping to frequency arrays. Each date key is formatted as YYYY-MM-DD and contains an array of integers representing cumulative user counts at each frequency interval.\"),\n}).describe(\"Response model for frequency query data\");\n\nexport const mixpanelQueryFrequencyReport = action(\"MIXPANEL_QUERY_FREQUENCY_REPORT\", {\n slug: \"mixpanel-query-frequency-report\",\n name: \"Query Frequency Report\",\n description: \"Get data about how frequently users are performing events. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries. Example response with unit=\\\"day\\\" and addiction_unit=\\\"hour\\\": { \\\"2012-01-01\\\": [305, 107, 60, 41, ...], # Users who did event in 1+ hours, 2+ hours, etc. \\\"2012-01-02\\\": [495, 204, 117, 77, ...], \\\"2012-01-03\\\": [671, 324, 176, 122, ...] }\",\n input: MixpanelQueryFrequencyReportInput,\n output: MixpanelQueryFrequencyReportOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAC3F,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAQ;CAAO,CAAC,CAAC,CAAC,SAAS,4DAA4D;CAC5G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAClF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACtF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACvF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACpF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;CACjG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;CACjG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC1F,gBAAgBA,IAAAA,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,SAAS,mDAAmD;AACtG,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAa,qCAAmDA,IAAAA,EAAE,OAAO,EACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,4LAA4L,EAC1N,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAErD,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/query-frequency-report.d.ts
4
+ declare const MixpanelQueryFrequencyReportInput: z.ZodTypeAny;
5
+ declare const MixpanelQueryFrequencyReportOutput: z.ZodTypeAny;
6
+ declare const mixpanelQueryFrequencyReport: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { mixpanelQueryFrequencyReport };
9
+ //# sourceMappingURL=query-frequency-report.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"query-frequency-report.d.cts","names":[],"sources":["../../src/actions/query-frequency-report.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAWM;AAAA,cAC3C,kCAAA,EAAoC,CAAA,CAAE,UAEG;AAAA,cAEzC,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/query-frequency-report.d.ts
4
+ declare const MixpanelQueryFrequencyReportInput: z.ZodTypeAny;
5
+ declare const MixpanelQueryFrequencyReportOutput: z.ZodTypeAny;
6
+ declare const mixpanelQueryFrequencyReport: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { mixpanelQueryFrequencyReport };
9
+ //# sourceMappingURL=query-frequency-report.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"query-frequency-report.d.mts","names":[],"sources":["../../src/actions/query-frequency-report.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAWM;AAAA,cAC3C,kCAAA,EAAoC,CAAA,CAAE,UAEG;AAAA,cAEzC,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,28 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const mixpanelQueryFrequencyReport = action("MIXPANEL_QUERY_FREQUENCY_REPORT", {
4
+ slug: "mixpanel-query-frequency-report",
5
+ name: "Query Frequency Report",
6
+ description: "Get data about how frequently users are performing events. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries. Example response with unit=\"day\" and addiction_unit=\"hour\": { \"2012-01-01\": [305, 107, 60, 41, ...], # Users who did event in 1+ hours, 2+ hours, etc. \"2012-01-02\": [495, 204, 117, 77, ...], \"2012-01-03\": [671, 324, 176, 122, ...] }",
7
+ input: z.object({
8
+ on: z.string().describe("The property expression to segment the second event on").optional(),
9
+ unit: z.enum([
10
+ "day",
11
+ "week",
12
+ "month"
13
+ ]).describe("The overall time period to return frequency of actions for"),
14
+ event: z.string().describe("The event to generate returning counts for").optional(),
15
+ limit: z.number().int().describe("Return the top limit segmentation values").optional(),
16
+ where: z.string().describe("An expression to filter the returning events by").optional(),
17
+ to_date: z.string().describe("The date in yyyy-mm-dd format to query to (inclusive)"),
18
+ from_date: z.string().describe("The date in yyyy-mm-dd format to begin querying from (inclusive)"),
19
+ project_id: z.number().int().describe("Required if using service account to authenticate request"),
20
+ workspace_id: z.number().int().describe("The id of the workspace if applicable").optional(),
21
+ addiction_unit: z.enum(["hour", "day"]).describe("The granularity to return frequency of actions at")
22
+ }).describe("Request model for querying frequency data"),
23
+ output: z.object({ data: z.object({}).describe("Contains date keys mapping to frequency arrays. Each date key is formatted as YYYY-MM-DD and contains an array of integers representing cumulative user counts at each frequency interval.") }).describe("Response model for frequency query data")
24
+ });
25
+ //#endregion
26
+ export { mixpanelQueryFrequencyReport };
27
+
28
+ //# sourceMappingURL=query-frequency-report.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"query-frequency-report.mjs","names":[],"sources":["../../src/actions/query-frequency-report.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelQueryFrequencyReportInput: z.ZodTypeAny = z.object({\n on: z.string().describe(\"The property expression to segment the second event on\").optional(),\n unit: z.enum([\"day\", \"week\", \"month\"]).describe(\"The overall time period to return frequency of actions for\"),\n event: z.string().describe(\"The event to generate returning counts for\").optional(),\n limit: z.number().int().describe(\"Return the top limit segmentation values\").optional(),\n where: z.string().describe(\"An expression to filter the returning events by\").optional(),\n to_date: z.string().describe(\"The date in yyyy-mm-dd format to query to (inclusive)\"),\n from_date: z.string().describe(\"The date in yyyy-mm-dd format to begin querying from (inclusive)\"),\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 addiction_unit: z.enum([\"hour\", \"day\"]).describe(\"The granularity to return frequency of actions at\"),\n}).describe(\"Request model for querying frequency data\");\nexport const MixpanelQueryFrequencyReportOutput: z.ZodTypeAny = z.object({\n data: z.object({}).describe(\"Contains date keys mapping to frequency arrays. Each date key is formatted as YYYY-MM-DD and contains an array of integers representing cumulative user counts at each frequency interval.\"),\n}).describe(\"Response model for frequency query data\");\n\nexport const mixpanelQueryFrequencyReport = action(\"MIXPANEL_QUERY_FREQUENCY_REPORT\", {\n slug: \"mixpanel-query-frequency-report\",\n name: \"Query Frequency Report\",\n description: \"Get data about how frequently users are performing events. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries. Example response with unit=\\\"day\\\" and addiction_unit=\\\"hour\\\": { \\\"2012-01-01\\\": [305, 107, 60, 41, ...], # Users who did event in 1+ hours, 2+ hours, etc. \\\"2012-01-02\\\": [495, 204, 117, 77, ...], \\\"2012-01-03\\\": [671, 324, 176, 122, ...] }\",\n input: MixpanelQueryFrequencyReportInput,\n output: MixpanelQueryFrequencyReportOutput,\n});\n"],"mappings":";;AAoBA,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApB6D,EAAE,OAAO;EACtE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;EAC3F,MAAM,EAAE,KAAK;GAAC;GAAO;GAAQ;EAAO,CAAC,CAAC,CAAC,SAAS,4DAA4D;EAC5G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EAClF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EACtF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EACvF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;EACpF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;EACjG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;EACjG,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAC1F,gBAAgB,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,SAAS,mDAAmD;CACtG,CAAC,CAAC,CAAC,SAAS,2CASH;CACP,QAT8D,EAAE,OAAO,EACvE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,4LAA4L,EAC1N,CAAC,CAAC,CAAC,SAAS,yCAOF;AACV,CAAC"}
@@ -0,0 +1,42 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/query-funnel.ts
4
+ const MixpanelQueryFunnelInput = zod.z.object({
5
+ on: zod.z.string().describe("The property expression to segment the event on").optional(),
6
+ unit: zod.z.enum([
7
+ "day",
8
+ "week",
9
+ "month"
10
+ ]).describe("Medium range time units for Mixpanel operations.").optional(),
11
+ limit: zod.z.number().int().default(255).describe("Return the top property values. Maximum value 10,000").optional(),
12
+ where: zod.z.string().describe("An expression to filter events by").optional(),
13
+ length: zod.z.number().int().describe("The number of units each user has to complete the funnel. May not be greater than 90 days").optional(),
14
+ to_date: zod.z.string().describe("The date in yyyy-mm-dd format to query to (inclusive)"),
15
+ interval: zod.z.number().int().default(1).describe("The number of days you want each bucket to contain").optional(),
16
+ from_date: zod.z.string().describe("The date in yyyy-mm-dd format to begin querying from (inclusive)"),
17
+ funnel_id: zod.z.number().int().describe("The funnel that you wish to get data for"),
18
+ project_id: zod.z.number().int().describe("Required if using service account to authenticate request"),
19
+ length_unit: zod.z.enum([
20
+ "second",
21
+ "minute",
22
+ "hour",
23
+ "day"
24
+ ]).describe("Extended time units including seconds for funnel analysis.").optional(),
25
+ workspace_id: zod.z.number().int().describe("The id of the workspace if applicable").optional()
26
+ }).describe("Request model for querying funnel data");
27
+ const MixpanelQueryFunnel_FunnelMetaSchema = zod.z.object({ dates: zod.z.array(zod.z.string()).describe("Date in YYYY-mm-dd format for each data point") }).describe("Model for funnel metadata");
28
+ const MixpanelQueryFunnelOutput = zod.z.object({
29
+ data: zod.z.object({}).describe("Maps dates to funnel step data. Each key is a date string in YYYY-mm-dd format, and each value contains steps and analysis for that date bucket"),
30
+ meta: MixpanelQueryFunnel_FunnelMetaSchema.nullable()
31
+ }).describe("Response model for funnel query data");
32
+ const mixpanelQueryFunnel = require_action.action("MIXPANEL_QUERY_FUNNEL", {
33
+ slug: "mixpanel-query-funnel",
34
+ name: "Query Saved Funnel",
35
+ description: "Get data for a funnel. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.",
36
+ input: MixpanelQueryFunnelInput,
37
+ output: MixpanelQueryFunnelOutput
38
+ });
39
+ //#endregion
40
+ exports.mixpanelQueryFunnel = mixpanelQueryFunnel;
41
+
42
+ //# sourceMappingURL=query-funnel.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"query-funnel.cjs","names":["z","action"],"sources":["../../src/actions/query-funnel.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelQueryFunnelInput: z.ZodTypeAny = z.object({\n on: z.string().describe(\"The property expression to segment the event on\").optional(),\n unit: z.enum([\"day\", \"week\", \"month\"]).describe(\"Medium range time units for Mixpanel operations.\").optional(),\n limit: z.number().int().default(255).describe(\"Return the top property values. Maximum value 10,000\").optional(),\n where: z.string().describe(\"An expression to filter events by\").optional(),\n length: z.number().int().describe(\"The number of units each user has to complete the funnel. May not be greater than 90 days\").optional(),\n to_date: z.string().describe(\"The date in yyyy-mm-dd format to query to (inclusive)\"),\n interval: z.number().int().default(1).describe(\"The number of days you want each bucket to contain\").optional(),\n from_date: z.string().describe(\"The date in yyyy-mm-dd format to begin querying from (inclusive)\"),\n funnel_id: z.number().int().describe(\"The funnel that you wish to get data for\"),\n project_id: z.number().int().describe(\"Required if using service account to authenticate request\"),\n length_unit: z.enum([\"second\", \"minute\", \"hour\", \"day\"]).describe(\"Extended time units including seconds for funnel analysis.\").optional(),\n workspace_id: z.number().int().describe(\"The id of the workspace if applicable\").optional(),\n}).describe(\"Request model for querying funnel data\");\nconst MixpanelQueryFunnel_FunnelMetaSchema: z.ZodTypeAny = z.object({\n dates: z.array(z.string()).describe(\"Date in YYYY-mm-dd format for each data point\"),\n}).describe(\"Model for funnel metadata\");\nexport const MixpanelQueryFunnelOutput: z.ZodTypeAny = z.object({\n data: z.object({}).describe(\"Maps dates to funnel step data. Each key is a date string in YYYY-mm-dd format, and each value contains steps and analysis for that date bucket\"),\n meta: MixpanelQueryFunnel_FunnelMetaSchema.nullable(),\n}).describe(\"Response model for funnel query data\");\n\nexport const mixpanelQueryFunnel = action(\"MIXPANEL_QUERY_FUNNEL\", {\n slug: \"mixpanel-query-funnel\",\n name: \"Query Saved Funnel\",\n description: \"Get data for a funnel. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.\",\n input: MixpanelQueryFunnelInput,\n output: MixpanelQueryFunnelOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACpF,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAQ;CAAO,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC7G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC/G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CACxI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACpF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC9G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;CACjG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C;CAC/E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;CACjG,aAAaA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAU;EAAQ;CAAK,CAAC,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACzI,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,uCAAqDA,IAAAA,EAAE,OAAO,EAClE,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+CAA+C,EACrF,CAAC,CAAC,CAAC,SAAS,2BAA2B;AACvC,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iJAAiJ;CAC7K,MAAM,qCAAqC,SAAS;AACtD,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAElD,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/query-funnel.d.ts
4
+ declare const MixpanelQueryFunnelInput: z.ZodTypeAny;
5
+ declare const MixpanelQueryFunnelOutput: z.ZodTypeAny;
6
+ declare const mixpanelQueryFunnel: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { mixpanelQueryFunnel };
9
+ //# sourceMappingURL=query-funnel.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"query-funnel.d.cts","names":[],"sources":["../../src/actions/query-funnel.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAaY;AAAA,cAIxC,yBAAA,EAA2B,CAAA,CAAE,UAGS;AAAA,cAEtC,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/query-funnel.d.ts
4
+ declare const MixpanelQueryFunnelInput: z.ZodTypeAny;
5
+ declare const MixpanelQueryFunnelOutput: z.ZodTypeAny;
6
+ declare const mixpanelQueryFunnel: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { mixpanelQueryFunnel };
9
+ //# sourceMappingURL=query-funnel.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"query-funnel.d.mts","names":[],"sources":["../../src/actions/query-funnel.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAaY;AAAA,cAIxC,yBAAA,EAA2B,CAAA,CAAE,UAGS;AAAA,cAEtC,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,41 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/query-funnel.ts
4
+ const MixpanelQueryFunnelInput = z.object({
5
+ on: z.string().describe("The property expression to segment the event on").optional(),
6
+ unit: z.enum([
7
+ "day",
8
+ "week",
9
+ "month"
10
+ ]).describe("Medium range time units for Mixpanel operations.").optional(),
11
+ limit: z.number().int().default(255).describe("Return the top property values. Maximum value 10,000").optional(),
12
+ where: z.string().describe("An expression to filter events by").optional(),
13
+ length: z.number().int().describe("The number of units each user has to complete the funnel. May not be greater than 90 days").optional(),
14
+ to_date: z.string().describe("The date in yyyy-mm-dd format to query to (inclusive)"),
15
+ interval: z.number().int().default(1).describe("The number of days you want each bucket to contain").optional(),
16
+ from_date: z.string().describe("The date in yyyy-mm-dd format to begin querying from (inclusive)"),
17
+ funnel_id: z.number().int().describe("The funnel that you wish to get data for"),
18
+ project_id: z.number().int().describe("Required if using service account to authenticate request"),
19
+ length_unit: z.enum([
20
+ "second",
21
+ "minute",
22
+ "hour",
23
+ "day"
24
+ ]).describe("Extended time units including seconds for funnel analysis.").optional(),
25
+ workspace_id: z.number().int().describe("The id of the workspace if applicable").optional()
26
+ }).describe("Request model for querying funnel data");
27
+ const MixpanelQueryFunnel_FunnelMetaSchema = z.object({ dates: z.array(z.string()).describe("Date in YYYY-mm-dd format for each data point") }).describe("Model for funnel metadata");
28
+ const mixpanelQueryFunnel = action("MIXPANEL_QUERY_FUNNEL", {
29
+ slug: "mixpanel-query-funnel",
30
+ name: "Query Saved Funnel",
31
+ description: "Get data for a funnel. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.",
32
+ input: MixpanelQueryFunnelInput,
33
+ output: z.object({
34
+ data: z.object({}).describe("Maps dates to funnel step data. Each key is a date string in YYYY-mm-dd format, and each value contains steps and analysis for that date bucket"),
35
+ meta: MixpanelQueryFunnel_FunnelMetaSchema.nullable()
36
+ }).describe("Response model for funnel query data")
37
+ });
38
+ //#endregion
39
+ export { mixpanelQueryFunnel };
40
+
41
+ //# sourceMappingURL=query-funnel.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"query-funnel.mjs","names":[],"sources":["../../src/actions/query-funnel.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelQueryFunnelInput: z.ZodTypeAny = z.object({\n on: z.string().describe(\"The property expression to segment the event on\").optional(),\n unit: z.enum([\"day\", \"week\", \"month\"]).describe(\"Medium range time units for Mixpanel operations.\").optional(),\n limit: z.number().int().default(255).describe(\"Return the top property values. Maximum value 10,000\").optional(),\n where: z.string().describe(\"An expression to filter events by\").optional(),\n length: z.number().int().describe(\"The number of units each user has to complete the funnel. May not be greater than 90 days\").optional(),\n to_date: z.string().describe(\"The date in yyyy-mm-dd format to query to (inclusive)\"),\n interval: z.number().int().default(1).describe(\"The number of days you want each bucket to contain\").optional(),\n from_date: z.string().describe(\"The date in yyyy-mm-dd format to begin querying from (inclusive)\"),\n funnel_id: z.number().int().describe(\"The funnel that you wish to get data for\"),\n project_id: z.number().int().describe(\"Required if using service account to authenticate request\"),\n length_unit: z.enum([\"second\", \"minute\", \"hour\", \"day\"]).describe(\"Extended time units including seconds for funnel analysis.\").optional(),\n workspace_id: z.number().int().describe(\"The id of the workspace if applicable\").optional(),\n}).describe(\"Request model for querying funnel data\");\nconst MixpanelQueryFunnel_FunnelMetaSchema: z.ZodTypeAny = z.object({\n dates: z.array(z.string()).describe(\"Date in YYYY-mm-dd format for each data point\"),\n}).describe(\"Model for funnel metadata\");\nexport const MixpanelQueryFunnelOutput: z.ZodTypeAny = z.object({\n data: z.object({}).describe(\"Maps dates to funnel step data. Each key is a date string in YYYY-mm-dd format, and each value contains steps and analysis for that date bucket\"),\n meta: MixpanelQueryFunnel_FunnelMetaSchema.nullable(),\n}).describe(\"Response model for funnel query data\");\n\nexport const mixpanelQueryFunnel = action(\"MIXPANEL_QUERY_FUNNEL\", {\n slug: \"mixpanel-query-funnel\",\n name: \"Query Saved Funnel\",\n description: \"Get data for a funnel. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.\",\n input: MixpanelQueryFunnelInput,\n output: MixpanelQueryFunnelOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyC,EAAE,OAAO;CAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACpF,MAAM,EAAE,KAAK;EAAC;EAAO;EAAQ;CAAO,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC7G,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC/G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CACxI,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACpF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC9G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;CACjG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C;CAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;CACjG,aAAa,EAAE,KAAK;EAAC;EAAU;EAAU;EAAQ;CAAK,CAAC,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACzI,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,uCAAqD,EAAE,OAAO,EAClE,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+CAA+C,EACrF,CAAC,CAAC,CAAC,SAAS,2BAA2B;AAMvC,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVqD,EAAE,OAAO;EAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iJAAiJ;EAC7K,MAAM,qCAAqC,SAAS;CACtD,CAAC,CAAC,CAAC,SAAS,sCAOF;AACV,CAAC"}
@@ -0,0 +1,29 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/query-insight.ts
4
+ const MixpanelQueryInsightInput = zod.z.object({
5
+ project_id: zod.z.number().int().describe("Required if using service account to authenticate request Must match the configured connection region/cluster; a mismatch returns 'invalid project id for cluster'."),
6
+ bookmark_id: zod.z.number().int().describe("The ID of your Insights report"),
7
+ workspace_id: zod.z.number().int().describe("The id of the workspace if applicable").optional()
8
+ }).describe("Request model for querying insight data");
9
+ const MixpanelQueryInsight_DateRangeSchema = zod.z.object({
10
+ toDate: zod.z.string().describe("End date of the query range in ISO 8601 format with timezone."),
11
+ fromDate: zod.z.string().describe("Start date of the query range in ISO 8601 format with timezone.")
12
+ }).describe("Model for date range information");
13
+ const MixpanelQueryInsightOutput = zod.z.object({
14
+ series: zod.z.object({}).describe("Object mapping event names to time-series data. Each event name key contains an object with ISO 8601 date strings as keys and integer event counts as values."),
15
+ headers: zod.z.array(zod.z.string()).describe("Array of strings explaining what the nested keys mean in the series object. Typically contains '$event' to indicate event names."),
16
+ dateRange: MixpanelQueryInsight_DateRangeSchema.nullable(),
17
+ computedAt: zod.z.string().describe("ISO 8601 timestamp indicating when the query results were computed.")
18
+ }).describe("Response model for insight query data");
19
+ const mixpanelQueryInsight = require_action.action("MIXPANEL_QUERY_INSIGHT", {
20
+ slug: "mixpanel-query-insight",
21
+ name: "Query Saved Insight",
22
+ description: "Get data from your Insights reports. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.",
23
+ input: MixpanelQueryInsightInput,
24
+ output: MixpanelQueryInsightOutput
25
+ });
26
+ //#endregion
27
+ exports.mixpanelQueryInsight = mixpanelQueryInsight;
28
+
29
+ //# sourceMappingURL=query-insight.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"query-insight.cjs","names":["z","action"],"sources":["../../src/actions/query-insight.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelQueryInsightInput: z.ZodTypeAny = z.object({\n project_id: z.number().int().describe(\"Required if using service account to authenticate request Must match the configured connection region/cluster; a mismatch returns 'invalid project id for cluster'.\"),\n bookmark_id: z.number().int().describe(\"The ID of your Insights report\"),\n workspace_id: z.number().int().describe(\"The id of the workspace if applicable\").optional(),\n}).describe(\"Request model for querying insight data\");\nconst MixpanelQueryInsight_DateRangeSchema: z.ZodTypeAny = z.object({\n toDate: z.string().describe(\"End date of the query range in ISO 8601 format with timezone.\"),\n fromDate: z.string().describe(\"Start date of the query range in ISO 8601 format with timezone.\"),\n}).describe(\"Model for date range information\");\nexport const MixpanelQueryInsightOutput: z.ZodTypeAny = z.object({\n series: z.object({}).describe(\"Object mapping event names to time-series data. Each event name key contains an object with ISO 8601 date strings as keys and integer event counts as values.\"),\n headers: z.array(z.string()).describe(\"Array of strings explaining what the nested keys mean in the series object. Typically contains '$event' to indicate event names.\"),\n dateRange: MixpanelQueryInsight_DateRangeSchema.nullable(),\n computedAt: z.string().describe(\"ISO 8601 timestamp indicating when the query results were computed.\"),\n}).describe(\"Response model for insight query data\");\n\nexport const mixpanelQueryInsight = action(\"MIXPANEL_QUERY_INSIGHT\", {\n slug: \"mixpanel-query-insight\",\n name: \"Query Saved Insight\",\n description: \"Get data from your Insights reports. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.\",\n input: MixpanelQueryInsightInput,\n output: MixpanelQueryInsightOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qKAAqK;CAC3M,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC;CACvE,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,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;CAC3F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;AACjG,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAC9C,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+JAA+J;CAC7L,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kIAAkI;CACxK,WAAW,qCAAqC,SAAS;CACzD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;AACvG,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAEnD,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/query-insight.d.ts
4
+ declare const MixpanelQueryInsightInput: z.ZodTypeAny;
5
+ declare const MixpanelQueryInsightOutput: z.ZodTypeAny;
6
+ declare const mixpanelQueryInsight: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { mixpanelQueryInsight };
9
+ //# sourceMappingURL=query-insight.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"query-insight.d.cts","names":[],"sources":["../../src/actions/query-insight.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAIY;AAAA,cAKzC,0BAAA,EAA4B,CAAA,CAAE,UAKS;AAAA,cAEvC,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/query-insight.d.ts
4
+ declare const MixpanelQueryInsightInput: z.ZodTypeAny;
5
+ declare const MixpanelQueryInsightOutput: z.ZodTypeAny;
6
+ declare const mixpanelQueryInsight: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { mixpanelQueryInsight };
9
+ //# sourceMappingURL=query-insight.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"query-insight.d.mts","names":[],"sources":["../../src/actions/query-insight.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAIY;AAAA,cAKzC,0BAAA,EAA4B,CAAA,CAAE,UAKS;AAAA,cAEvC,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,28 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/query-insight.ts
4
+ const MixpanelQueryInsightInput = z.object({
5
+ project_id: z.number().int().describe("Required if using service account to authenticate request Must match the configured connection region/cluster; a mismatch returns 'invalid project id for cluster'."),
6
+ bookmark_id: z.number().int().describe("The ID of your Insights report"),
7
+ workspace_id: z.number().int().describe("The id of the workspace if applicable").optional()
8
+ }).describe("Request model for querying insight data");
9
+ const MixpanelQueryInsight_DateRangeSchema = z.object({
10
+ toDate: z.string().describe("End date of the query range in ISO 8601 format with timezone."),
11
+ fromDate: z.string().describe("Start date of the query range in ISO 8601 format with timezone.")
12
+ }).describe("Model for date range information");
13
+ const mixpanelQueryInsight = action("MIXPANEL_QUERY_INSIGHT", {
14
+ slug: "mixpanel-query-insight",
15
+ name: "Query Saved Insight",
16
+ description: "Get data from your Insights reports. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.",
17
+ input: MixpanelQueryInsightInput,
18
+ output: z.object({
19
+ series: z.object({}).describe("Object mapping event names to time-series data. Each event name key contains an object with ISO 8601 date strings as keys and integer event counts as values."),
20
+ headers: z.array(z.string()).describe("Array of strings explaining what the nested keys mean in the series object. Typically contains '$event' to indicate event names."),
21
+ dateRange: MixpanelQueryInsight_DateRangeSchema.nullable(),
22
+ computedAt: z.string().describe("ISO 8601 timestamp indicating when the query results were computed.")
23
+ }).describe("Response model for insight query data")
24
+ });
25
+ //#endregion
26
+ export { mixpanelQueryInsight };
27
+
28
+ //# sourceMappingURL=query-insight.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"query-insight.mjs","names":[],"sources":["../../src/actions/query-insight.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelQueryInsightInput: z.ZodTypeAny = z.object({\n project_id: z.number().int().describe(\"Required if using service account to authenticate request Must match the configured connection region/cluster; a mismatch returns 'invalid project id for cluster'.\"),\n bookmark_id: z.number().int().describe(\"The ID of your Insights report\"),\n workspace_id: z.number().int().describe(\"The id of the workspace if applicable\").optional(),\n}).describe(\"Request model for querying insight data\");\nconst MixpanelQueryInsight_DateRangeSchema: z.ZodTypeAny = z.object({\n toDate: z.string().describe(\"End date of the query range in ISO 8601 format with timezone.\"),\n fromDate: z.string().describe(\"Start date of the query range in ISO 8601 format with timezone.\"),\n}).describe(\"Model for date range information\");\nexport const MixpanelQueryInsightOutput: z.ZodTypeAny = z.object({\n series: z.object({}).describe(\"Object mapping event names to time-series data. Each event name key contains an object with ISO 8601 date strings as keys and integer event counts as values.\"),\n headers: z.array(z.string()).describe(\"Array of strings explaining what the nested keys mean in the series object. Typically contains '$event' to indicate event names.\"),\n dateRange: MixpanelQueryInsight_DateRangeSchema.nullable(),\n computedAt: z.string().describe(\"ISO 8601 timestamp indicating when the query results were computed.\"),\n}).describe(\"Response model for insight query data\");\n\nexport const mixpanelQueryInsight = action(\"MIXPANEL_QUERY_INSIGHT\", {\n slug: \"mixpanel-query-insight\",\n name: \"Query Saved Insight\",\n description: \"Get data from your Insights reports. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.\",\n input: MixpanelQueryInsightInput,\n output: MixpanelQueryInsightOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0C,EAAE,OAAO;CAC9D,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qKAAqK;CAC3M,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC;CACvE,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,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;CAC3F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;AACjG,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAQ9C,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZsD,EAAE,OAAO;EAC/D,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+JAA+J;EAC7L,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kIAAkI;EACxK,WAAW,qCAAqC,SAAS;EACzD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;CACvG,CAAC,CAAC,CAAC,SAAS,uCAOF;AACV,CAAC"}