@keystrokehq/mixpanel 0.1.3 → 0.1.5

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 (357) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/add-unique-to-profile-list-property.cjs +1 -0
  4. package/dist/actions/add-unique-to-profile-list-property.cjs.map +1 -1
  5. package/dist/actions/add-unique-to-profile-list-property.d.cts +3 -14
  6. package/dist/actions/add-unique-to-profile-list-property.d.cts.map +1 -1
  7. package/dist/actions/add-unique-to-profile-list-property.d.mts +3 -14
  8. package/dist/actions/add-unique-to-profile-list-property.d.mts.map +1 -1
  9. package/dist/actions/add-unique-to-profile-list-property.mjs +1 -0
  10. package/dist/actions/add-unique-to-profile-list-property.mjs.map +1 -1
  11. package/dist/actions/aggregate-events.cjs +1 -0
  12. package/dist/actions/aggregate-events.cjs.map +1 -1
  13. package/dist/actions/aggregate-events.d.cts +3 -13
  14. package/dist/actions/aggregate-events.d.cts.map +1 -1
  15. package/dist/actions/aggregate-events.d.mts +3 -13
  16. package/dist/actions/aggregate-events.d.mts.map +1 -1
  17. package/dist/actions/aggregate-events.mjs +1 -0
  18. package/dist/actions/aggregate-events.mjs.map +1 -1
  19. package/dist/actions/aggregated-event-property-values.cjs +1 -0
  20. package/dist/actions/aggregated-event-property-values.cjs.map +1 -1
  21. package/dist/actions/aggregated-event-property-values.d.cts +3 -14
  22. package/dist/actions/aggregated-event-property-values.d.cts.map +1 -1
  23. package/dist/actions/aggregated-event-property-values.d.mts +3 -14
  24. package/dist/actions/aggregated-event-property-values.d.mts.map +1 -1
  25. package/dist/actions/aggregated-event-property-values.mjs +1 -0
  26. package/dist/actions/aggregated-event-property-values.mjs.map +1 -1
  27. package/dist/actions/cohorts-list.cjs +1 -0
  28. package/dist/actions/cohorts-list.cjs.map +1 -1
  29. package/dist/actions/cohorts-list.d.cts +3 -4
  30. package/dist/actions/cohorts-list.d.cts.map +1 -1
  31. package/dist/actions/cohorts-list.d.mts +3 -4
  32. package/dist/actions/cohorts-list.d.mts.map +1 -1
  33. package/dist/actions/cohorts-list.mjs +1 -0
  34. package/dist/actions/cohorts-list.mjs.map +1 -1
  35. package/dist/actions/create-annotation-tag.cjs +1 -0
  36. package/dist/actions/create-annotation-tag.cjs.map +1 -1
  37. package/dist/actions/create-annotation-tag.d.cts +3 -4
  38. package/dist/actions/create-annotation-tag.d.cts.map +1 -1
  39. package/dist/actions/create-annotation-tag.d.mts +3 -4
  40. package/dist/actions/create-annotation-tag.d.mts.map +1 -1
  41. package/dist/actions/create-annotation-tag.mjs +1 -0
  42. package/dist/actions/create-annotation-tag.mjs.map +1 -1
  43. package/dist/actions/create-identity.cjs +1 -0
  44. package/dist/actions/create-identity.cjs.map +1 -1
  45. package/dist/actions/create-identity.d.cts +3 -7
  46. package/dist/actions/create-identity.d.cts.map +1 -1
  47. package/dist/actions/create-identity.d.mts +3 -7
  48. package/dist/actions/create-identity.d.mts.map +1 -1
  49. package/dist/actions/create-identity.mjs +1 -0
  50. package/dist/actions/create-identity.mjs.map +1 -1
  51. package/dist/actions/create-service-account.cjs +1 -0
  52. package/dist/actions/create-service-account.cjs.map +1 -1
  53. package/dist/actions/create-service-account.d.cts +3 -11
  54. package/dist/actions/create-service-account.d.cts.map +1 -1
  55. package/dist/actions/create-service-account.d.mts +3 -11
  56. package/dist/actions/create-service-account.d.mts.map +1 -1
  57. package/dist/actions/create-service-account.mjs +1 -0
  58. package/dist/actions/create-service-account.mjs.map +1 -1
  59. package/dist/actions/delete-group.cjs +1 -0
  60. package/dist/actions/delete-group.cjs.map +1 -1
  61. package/dist/actions/delete-group.d.cts +3 -6
  62. package/dist/actions/delete-group.d.cts.map +1 -1
  63. package/dist/actions/delete-group.d.mts +3 -6
  64. package/dist/actions/delete-group.d.mts.map +1 -1
  65. package/dist/actions/delete-group.mjs +1 -0
  66. package/dist/actions/delete-group.mjs.map +1 -1
  67. package/dist/actions/delete-profile-batch.cjs +1 -0
  68. package/dist/actions/delete-profile-batch.cjs.map +1 -1
  69. package/dist/actions/delete-profile-batch.d.cts +3 -9
  70. package/dist/actions/delete-profile-batch.d.cts.map +1 -1
  71. package/dist/actions/delete-profile-batch.d.mts +3 -9
  72. package/dist/actions/delete-profile-batch.d.mts.map +1 -1
  73. package/dist/actions/delete-profile-batch.mjs +1 -0
  74. package/dist/actions/delete-profile-batch.mjs.map +1 -1
  75. package/dist/actions/delete-profile-property.cjs +1 -0
  76. package/dist/actions/delete-profile-property.cjs.map +1 -1
  77. package/dist/actions/delete-profile-property.d.cts +3 -9
  78. package/dist/actions/delete-profile-property.d.cts.map +1 -1
  79. package/dist/actions/delete-profile-property.d.mts +3 -9
  80. package/dist/actions/delete-profile-property.d.mts.map +1 -1
  81. package/dist/actions/delete-profile-property.mjs +1 -0
  82. package/dist/actions/delete-profile-property.mjs.map +1 -1
  83. package/dist/actions/delete-profile.cjs +1 -0
  84. package/dist/actions/delete-profile.cjs.map +1 -1
  85. package/dist/actions/delete-profile.d.cts +3 -7
  86. package/dist/actions/delete-profile.d.cts.map +1 -1
  87. package/dist/actions/delete-profile.d.mts +3 -7
  88. package/dist/actions/delete-profile.d.mts.map +1 -1
  89. package/dist/actions/delete-profile.mjs +1 -0
  90. package/dist/actions/delete-profile.mjs.map +1 -1
  91. package/dist/actions/get-all-projects.cjs +1 -0
  92. package/dist/actions/get-all-projects.cjs.map +1 -1
  93. package/dist/actions/get-all-projects.d.cts +3 -1
  94. package/dist/actions/get-all-projects.d.cts.map +1 -1
  95. package/dist/actions/get-all-projects.d.mts +3 -1
  96. package/dist/actions/get-all-projects.d.mts.map +1 -1
  97. package/dist/actions/get-all-projects.mjs +1 -0
  98. package/dist/actions/get-all-projects.mjs.map +1 -1
  99. package/dist/actions/get-annotation-tags-alt1.cjs +1 -0
  100. package/dist/actions/get-annotation-tags-alt1.cjs.map +1 -1
  101. package/dist/actions/get-annotation-tags-alt1.d.cts +3 -3
  102. package/dist/actions/get-annotation-tags-alt1.d.cts.map +1 -1
  103. package/dist/actions/get-annotation-tags-alt1.d.mts +3 -3
  104. package/dist/actions/get-annotation-tags-alt1.d.mts.map +1 -1
  105. package/dist/actions/get-annotation-tags-alt1.mjs +1 -0
  106. package/dist/actions/get-annotation-tags-alt1.mjs.map +1 -1
  107. package/dist/actions/group-batch-update.cjs +1 -0
  108. package/dist/actions/group-batch-update.cjs.map +1 -1
  109. package/dist/actions/group-batch-update.d.cts +3 -15
  110. package/dist/actions/group-batch-update.d.cts.map +1 -1
  111. package/dist/actions/group-batch-update.d.mts +3 -15
  112. package/dist/actions/group-batch-update.d.mts.map +1 -1
  113. package/dist/actions/group-batch-update.mjs +1 -0
  114. package/dist/actions/group-batch-update.mjs.map +1 -1
  115. package/dist/actions/group-delete-property.cjs +1 -0
  116. package/dist/actions/group-delete-property.cjs.map +1 -1
  117. package/dist/actions/group-delete-property.d.cts +3 -6
  118. package/dist/actions/group-delete-property.d.cts.map +1 -1
  119. package/dist/actions/group-delete-property.d.mts +3 -6
  120. package/dist/actions/group-delete-property.d.mts.map +1 -1
  121. package/dist/actions/group-delete-property.mjs +1 -0
  122. package/dist/actions/group-delete-property.mjs.map +1 -1
  123. package/dist/actions/identity-create-alias.cjs +1 -0
  124. package/dist/actions/identity-create-alias.cjs.map +1 -1
  125. package/dist/actions/identity-create-alias.d.cts +3 -5
  126. package/dist/actions/identity-create-alias.d.cts.map +1 -1
  127. package/dist/actions/identity-create-alias.d.mts +3 -5
  128. package/dist/actions/identity-create-alias.d.mts.map +1 -1
  129. package/dist/actions/identity-create-alias.mjs +1 -0
  130. package/dist/actions/identity-create-alias.mjs.map +1 -1
  131. package/dist/actions/jql-query.cjs +1 -0
  132. package/dist/actions/jql-query.cjs.map +1 -1
  133. package/dist/actions/jql-query.d.cts +3 -6
  134. package/dist/actions/jql-query.d.cts.map +1 -1
  135. package/dist/actions/jql-query.d.mts +3 -6
  136. package/dist/actions/jql-query.d.mts.map +1 -1
  137. package/dist/actions/jql-query.mjs +1 -0
  138. package/dist/actions/jql-query.mjs.map +1 -1
  139. package/dist/actions/list-funnels.cjs +1 -0
  140. package/dist/actions/list-funnels.cjs.map +1 -1
  141. package/dist/actions/list-funnels.d.cts +3 -4
  142. package/dist/actions/list-funnels.d.cts.map +1 -1
  143. package/dist/actions/list-funnels.d.mts +3 -4
  144. package/dist/actions/list-funnels.d.mts.map +1 -1
  145. package/dist/actions/list-funnels.mjs +1 -0
  146. package/dist/actions/list-funnels.mjs.map +1 -1
  147. package/dist/actions/list-service-accounts.cjs +1 -0
  148. package/dist/actions/list-service-accounts.cjs.map +1 -1
  149. package/dist/actions/list-service-accounts.d.cts +3 -3
  150. package/dist/actions/list-service-accounts.d.cts.map +1 -1
  151. package/dist/actions/list-service-accounts.d.mts +3 -3
  152. package/dist/actions/list-service-accounts.d.mts.map +1 -1
  153. package/dist/actions/list-service-accounts.mjs +1 -0
  154. package/dist/actions/list-service-accounts.mjs.map +1 -1
  155. package/dist/actions/profile-append-to-list-property.cjs +1 -0
  156. package/dist/actions/profile-append-to-list-property.cjs.map +1 -1
  157. package/dist/actions/profile-append-to-list-property.d.cts +3 -11
  158. package/dist/actions/profile-append-to-list-property.d.cts.map +1 -1
  159. package/dist/actions/profile-append-to-list-property.d.mts +3 -11
  160. package/dist/actions/profile-append-to-list-property.d.mts.map +1 -1
  161. package/dist/actions/profile-append-to-list-property.mjs +1 -0
  162. package/dist/actions/profile-append-to-list-property.mjs.map +1 -1
  163. package/dist/actions/profile-batch-update.cjs +1 -0
  164. package/dist/actions/profile-batch-update.cjs.map +1 -1
  165. package/dist/actions/profile-batch-update.d.cts +3 -19
  166. package/dist/actions/profile-batch-update.d.cts.map +1 -1
  167. package/dist/actions/profile-batch-update.d.mts +3 -19
  168. package/dist/actions/profile-batch-update.d.mts.map +1 -1
  169. package/dist/actions/profile-batch-update.mjs +1 -0
  170. package/dist/actions/profile-batch-update.mjs.map +1 -1
  171. package/dist/actions/profile-event-activity.cjs +1 -0
  172. package/dist/actions/profile-event-activity.cjs.map +1 -1
  173. package/dist/actions/profile-event-activity.d.cts +3 -7
  174. package/dist/actions/profile-event-activity.d.cts.map +1 -1
  175. package/dist/actions/profile-event-activity.d.mts +3 -7
  176. package/dist/actions/profile-event-activity.d.mts.map +1 -1
  177. package/dist/actions/profile-event-activity.mjs +1 -0
  178. package/dist/actions/profile-event-activity.mjs.map +1 -1
  179. package/dist/actions/profile-numerical-add.cjs +1 -0
  180. package/dist/actions/profile-numerical-add.cjs.map +1 -1
  181. package/dist/actions/profile-numerical-add.d.cts +3 -9
  182. package/dist/actions/profile-numerical-add.d.cts.map +1 -1
  183. package/dist/actions/profile-numerical-add.d.mts +3 -9
  184. package/dist/actions/profile-numerical-add.d.mts.map +1 -1
  185. package/dist/actions/profile-numerical-add.mjs +1 -0
  186. package/dist/actions/profile-numerical-add.mjs.map +1 -1
  187. package/dist/actions/profile-remove-from-list-property.cjs +1 -0
  188. package/dist/actions/profile-remove-from-list-property.cjs.map +1 -1
  189. package/dist/actions/profile-remove-from-list-property.d.cts +3 -11
  190. package/dist/actions/profile-remove-from-list-property.d.cts.map +1 -1
  191. package/dist/actions/profile-remove-from-list-property.d.mts +3 -11
  192. package/dist/actions/profile-remove-from-list-property.d.mts.map +1 -1
  193. package/dist/actions/profile-remove-from-list-property.mjs +1 -0
  194. package/dist/actions/profile-remove-from-list-property.mjs.map +1 -1
  195. package/dist/actions/profile-set.cjs +1 -0
  196. package/dist/actions/profile-set.cjs.map +1 -1
  197. package/dist/actions/profile-set.d.cts +3 -8
  198. package/dist/actions/profile-set.d.cts.map +1 -1
  199. package/dist/actions/profile-set.d.mts +3 -8
  200. package/dist/actions/profile-set.d.mts.map +1 -1
  201. package/dist/actions/profile-set.mjs +1 -0
  202. package/dist/actions/profile-set.mjs.map +1 -1
  203. package/dist/actions/query-frequency-report.cjs +1 -0
  204. package/dist/actions/query-frequency-report.cjs.map +1 -1
  205. package/dist/actions/query-frequency-report.d.cts +3 -12
  206. package/dist/actions/query-frequency-report.d.cts.map +1 -1
  207. package/dist/actions/query-frequency-report.d.mts +3 -12
  208. package/dist/actions/query-frequency-report.d.mts.map +1 -1
  209. package/dist/actions/query-frequency-report.mjs +1 -0
  210. package/dist/actions/query-frequency-report.mjs.map +1 -1
  211. package/dist/actions/query-funnel.cjs +1 -0
  212. package/dist/actions/query-funnel.cjs.map +1 -1
  213. package/dist/actions/query-funnel.d.cts +3 -14
  214. package/dist/actions/query-funnel.d.cts.map +1 -1
  215. package/dist/actions/query-funnel.d.mts +3 -14
  216. package/dist/actions/query-funnel.d.mts.map +1 -1
  217. package/dist/actions/query-funnel.mjs +1 -0
  218. package/dist/actions/query-funnel.mjs.map +1 -1
  219. package/dist/actions/query-insight.cjs +1 -0
  220. package/dist/actions/query-insight.cjs.map +1 -1
  221. package/dist/actions/query-insight.d.cts +3 -5
  222. package/dist/actions/query-insight.d.cts.map +1 -1
  223. package/dist/actions/query-insight.d.mts +3 -5
  224. package/dist/actions/query-insight.d.mts.map +1 -1
  225. package/dist/actions/query-insight.mjs +1 -0
  226. package/dist/actions/query-insight.mjs.map +1 -1
  227. package/dist/actions/query-numeric-average.cjs +1 -0
  228. package/dist/actions/query-numeric-average.cjs.map +1 -1
  229. package/dist/actions/query-numeric-average.d.cts +3 -10
  230. package/dist/actions/query-numeric-average.d.cts.map +1 -1
  231. package/dist/actions/query-numeric-average.d.mts +3 -10
  232. package/dist/actions/query-numeric-average.d.mts.map +1 -1
  233. package/dist/actions/query-numeric-average.mjs +1 -0
  234. package/dist/actions/query-numeric-average.mjs.map +1 -1
  235. package/dist/actions/query-numeric-sum.cjs +1 -0
  236. package/dist/actions/query-numeric-sum.cjs.map +1 -1
  237. package/dist/actions/query-numeric-sum.d.cts +3 -10
  238. package/dist/actions/query-numeric-sum.d.cts.map +1 -1
  239. package/dist/actions/query-numeric-sum.d.mts +3 -10
  240. package/dist/actions/query-numeric-sum.d.mts.map +1 -1
  241. package/dist/actions/query-numeric-sum.mjs +1 -0
  242. package/dist/actions/query-numeric-sum.mjs.map +1 -1
  243. package/dist/actions/query-profiles.cjs +1 -0
  244. package/dist/actions/query-profiles.cjs.map +1 -1
  245. package/dist/actions/query-profiles.d.cts +3 -15
  246. package/dist/actions/query-profiles.d.cts.map +1 -1
  247. package/dist/actions/query-profiles.d.mts +3 -15
  248. package/dist/actions/query-profiles.d.mts.map +1 -1
  249. package/dist/actions/query-profiles.mjs +1 -0
  250. package/dist/actions/query-profiles.mjs.map +1 -1
  251. package/dist/actions/query-retention-report.cjs +1 -0
  252. package/dist/actions/query-retention-report.cjs.map +1 -1
  253. package/dist/actions/query-retention-report.d.cts +3 -16
  254. package/dist/actions/query-retention-report.d.cts.map +1 -1
  255. package/dist/actions/query-retention-report.d.mts +3 -16
  256. package/dist/actions/query-retention-report.d.mts.map +1 -1
  257. package/dist/actions/query-retention-report.mjs +1 -0
  258. package/dist/actions/query-retention-report.mjs.map +1 -1
  259. package/dist/actions/query-segmentation.cjs +1 -0
  260. package/dist/actions/query-segmentation.cjs.map +1 -1
  261. package/dist/actions/query-segmentation.d.cts +3 -12
  262. package/dist/actions/query-segmentation.d.cts.map +1 -1
  263. package/dist/actions/query-segmentation.d.mts +3 -12
  264. package/dist/actions/query-segmentation.d.mts.map +1 -1
  265. package/dist/actions/query-segmentation.mjs +1 -0
  266. package/dist/actions/query-segmentation.mjs.map +1 -1
  267. package/dist/actions/query-top-events.cjs +1 -0
  268. package/dist/actions/query-top-events.cjs.map +1 -1
  269. package/dist/actions/query-top-events.d.cts +3 -6
  270. package/dist/actions/query-top-events.d.cts.map +1 -1
  271. package/dist/actions/query-top-events.d.mts +3 -6
  272. package/dist/actions/query-top-events.d.mts.map +1 -1
  273. package/dist/actions/query-top-events.mjs +1 -0
  274. package/dist/actions/query-top-events.mjs.map +1 -1
  275. package/dist/actions/remove-from-group-list-property.cjs +1 -0
  276. package/dist/actions/remove-from-group-list-property.cjs.map +1 -1
  277. package/dist/actions/remove-from-group-list-property.d.cts +3 -9
  278. package/dist/actions/remove-from-group-list-property.d.cts.map +1 -1
  279. package/dist/actions/remove-from-group-list-property.d.mts +3 -9
  280. package/dist/actions/remove-from-group-list-property.d.mts.map +1 -1
  281. package/dist/actions/remove-from-group-list-property.mjs +1 -0
  282. package/dist/actions/remove-from-group-list-property.mjs.map +1 -1
  283. package/dist/actions/remove-from-list-property.cjs +1 -0
  284. package/dist/actions/remove-from-list-property.cjs.map +1 -1
  285. package/dist/actions/remove-from-list-property.d.cts +3 -8
  286. package/dist/actions/remove-from-list-property.d.cts.map +1 -1
  287. package/dist/actions/remove-from-list-property.d.mts +3 -8
  288. package/dist/actions/remove-from-list-property.d.mts.map +1 -1
  289. package/dist/actions/remove-from-list-property.mjs +1 -0
  290. package/dist/actions/remove-from-list-property.mjs.map +1 -1
  291. package/dist/actions/segmentation-numeric-query.cjs +1 -0
  292. package/dist/actions/segmentation-numeric-query.cjs.map +1 -1
  293. package/dist/actions/segmentation-numeric-query.d.cts +3 -12
  294. package/dist/actions/segmentation-numeric-query.d.cts.map +1 -1
  295. package/dist/actions/segmentation-numeric-query.d.mts +3 -12
  296. package/dist/actions/segmentation-numeric-query.d.mts.map +1 -1
  297. package/dist/actions/segmentation-numeric-query.mjs +1 -0
  298. package/dist/actions/segmentation-numeric-query.mjs.map +1 -1
  299. package/dist/actions/set-group-property-once.cjs +1 -0
  300. package/dist/actions/set-group-property-once.cjs.map +1 -1
  301. package/dist/actions/set-group-property-once.d.cts +3 -6
  302. package/dist/actions/set-group-property-once.d.cts.map +1 -1
  303. package/dist/actions/set-group-property-once.d.mts +3 -6
  304. package/dist/actions/set-group-property-once.d.mts.map +1 -1
  305. package/dist/actions/set-group-property-once.mjs +1 -0
  306. package/dist/actions/set-group-property-once.mjs.map +1 -1
  307. package/dist/actions/set-profile-property-once.cjs +1 -0
  308. package/dist/actions/set-profile-property-once.cjs.map +1 -1
  309. package/dist/actions/set-profile-property-once.d.cts +3 -8
  310. package/dist/actions/set-profile-property-once.d.cts.map +1 -1
  311. package/dist/actions/set-profile-property-once.d.mts +3 -8
  312. package/dist/actions/set-profile-property-once.d.mts.map +1 -1
  313. package/dist/actions/set-profile-property-once.mjs +1 -0
  314. package/dist/actions/set-profile-property-once.mjs.map +1 -1
  315. package/dist/actions/top-event-properties.cjs +1 -0
  316. package/dist/actions/top-event-properties.cjs.map +1 -1
  317. package/dist/actions/top-event-properties.d.cts +3 -6
  318. package/dist/actions/top-event-properties.d.cts.map +1 -1
  319. package/dist/actions/top-event-properties.d.mts +3 -6
  320. package/dist/actions/top-event-properties.d.mts.map +1 -1
  321. package/dist/actions/top-event-properties.mjs +1 -0
  322. package/dist/actions/top-event-properties.mjs.map +1 -1
  323. package/dist/actions/top-event-property-values.cjs +1 -0
  324. package/dist/actions/top-event-property-values.cjs.map +1 -1
  325. package/dist/actions/top-event-property-values.d.cts +3 -7
  326. package/dist/actions/top-event-property-values.d.cts.map +1 -1
  327. package/dist/actions/top-event-property-values.d.mts +3 -7
  328. package/dist/actions/top-event-property-values.d.mts.map +1 -1
  329. package/dist/actions/top-event-property-values.mjs +1 -0
  330. package/dist/actions/top-event-property-values.mjs.map +1 -1
  331. package/dist/actions/top-events.cjs +1 -0
  332. package/dist/actions/top-events.cjs.map +1 -1
  333. package/dist/actions/top-events.d.cts +3 -6
  334. package/dist/actions/top-events.d.cts.map +1 -1
  335. package/dist/actions/top-events.d.mts +3 -6
  336. package/dist/actions/top-events.d.mts.map +1 -1
  337. package/dist/actions/top-events.mjs +1 -0
  338. package/dist/actions/top-events.mjs.map +1 -1
  339. package/dist/actions/update-group-list-property.cjs +1 -0
  340. package/dist/actions/update-group-list-property.cjs.map +1 -1
  341. package/dist/actions/update-group-list-property.d.cts +3 -12
  342. package/dist/actions/update-group-list-property.d.cts.map +1 -1
  343. package/dist/actions/update-group-list-property.d.mts +3 -12
  344. package/dist/actions/update-group-list-property.d.mts.map +1 -1
  345. package/dist/actions/update-group-list-property.mjs +1 -0
  346. package/dist/actions/update-group-list-property.mjs.map +1 -1
  347. package/dist/app.cjs +10 -2
  348. package/dist/app.cjs.map +1 -1
  349. package/dist/app.d.cts +9 -1
  350. package/dist/app.d.cts.map +1 -1
  351. package/dist/app.d.mts +9 -1
  352. package/dist/app.d.mts.map +1 -1
  353. package/dist/app.mjs +7 -2
  354. package/dist/app.mjs.map +1 -1
  355. package/dist/index.d.cts +1 -1
  356. package/dist/index.d.mts +1 -1
  357. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"query-profiles.mjs","names":[],"sources":["../../src/actions/query-profiles.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelQueryProfilesInput = z.object({\n page: z.number().int().describe(\"Which page of results to retrieve (starts at 0)\").optional(),\n where: z.string().describe(\"An expression to filter users (or groups) by\").optional(),\n behaviors: z.number().int().describe(\"Required when using event selector for user profiles\").optional(),\n project_id: z.number().int().describe(\"The ID of the project to query. Required if using service account authentication.\"),\n session_id: z.string().describe(\"Session ID from a previous query for pagination\").optional(),\n distinct_id: z.string().describe(\"A unique identifier used to distinguish an individual profile\").optional(),\n distinct_ids: z.array(z.string()).describe(\"A list of distinct_ids to retrieve profiles for\").optional(),\n workspace_id: z.number().int().describe(\"The ID of the workspace if applicable\").optional(),\n data_group_id: z.string().describe(\"The ID of the group key, used when querying group profiles\").optional(),\n as_of_timestamp: z.number().int().describe(\"Used with behaviors parameter for large exports\").optional(),\n filter_by_cohort: z.record(z.string(), z.unknown()).describe(\"Filter by cohort ID. Example: {'id': 12345}\").optional(),\n include_all_users: z.boolean().default(true).describe(\"When using filter_by_cohort, whether to include all distinct_ids even without profiles\").optional(),\n output_properties: z.array(z.string()).describe(\"List of property names to return in the response\").optional(),\n}).describe(\"Request model for querying profile data from Mixpanel.\");\nconst MixpanelQueryProfiles_ProfileResultSchema = z.object({\n $properties: z.record(z.string(), z.unknown()).describe(\"Object containing all profile properties for this user or group. Common properties include $created (account creation timestamp), $email (user email), $first_name, $last_name, $last_seen (last activity timestamp), and custom properties defined by the user\"),\n $distinct_id: z.string().describe(\"The unique identifier of the user or group profile\").nullable(),\n}).passthrough().describe(\"Model for a single profile result.\");\nexport const MixpanelQueryProfilesOutput = z.object({\n page: z.number().int().describe(\"The page number of the results\").nullable(),\n total: z.number().int().describe(\"The number of users in the results payload\").nullable(),\n status: z.string().describe(\"Indicates whether the request was successful\").nullable(),\n results: z.array(MixpanelQueryProfiles_ProfileResultSchema).describe(\"Array of user or group profile objects matching the query criteria\"),\n page_size: z.number().int().describe(\"The max number of results in a single page\").nullable(),\n session_id: z.string().describe(\"Session identifier for pagination and caching purposes\").nullable(),\n}).passthrough().describe(\"Response model for profile query data.\");\n\nexport const mixpanelQueryProfiles = action(\"MIXPANEL_QUERY_PROFILES\", {\n slug: \"mixpanel-query-profiles\",\n name: \"Query Profiles\",\n description: \"Query user or group profile data from Mixpanel. Returns list of profiles that match specified parameters. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.\",\n input: MixpanelQueryProfilesInput,\n output: MixpanelQueryProfilesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO;CACjD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC5F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACpF,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACtG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF;CACzH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC5F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC3G,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACvG,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC1F,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CAC1G,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACvG,kBAAkB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACrH,mBAAmB,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CACzJ,mBAAmB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,4CAA4C,EAAE,OAAO;CACzD,aAAa,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iQAAiQ;CACzT,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAU9D,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdyC,EAAE,OAAO;EAClD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EAC3E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACxF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACrF,SAAS,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,oEAAoE;EACzI,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EAC5F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"query-profiles.mjs","names":[],"sources":["../../src/actions/query-profiles.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mixpanel } from \"../app\";\n\nexport const MixpanelQueryProfilesInput = z.object({\n page: z.number().int().describe(\"Which page of results to retrieve (starts at 0)\").optional(),\n where: z.string().describe(\"An expression to filter users (or groups) by\").optional(),\n behaviors: z.number().int().describe(\"Required when using event selector for user profiles\").optional(),\n project_id: z.number().int().describe(\"The ID of the project to query. Required if using service account authentication.\"),\n session_id: z.string().describe(\"Session ID from a previous query for pagination\").optional(),\n distinct_id: z.string().describe(\"A unique identifier used to distinguish an individual profile\").optional(),\n distinct_ids: z.array(z.string()).describe(\"A list of distinct_ids to retrieve profiles for\").optional(),\n workspace_id: z.number().int().describe(\"The ID of the workspace if applicable\").optional(),\n data_group_id: z.string().describe(\"The ID of the group key, used when querying group profiles\").optional(),\n as_of_timestamp: z.number().int().describe(\"Used with behaviors parameter for large exports\").optional(),\n filter_by_cohort: z.record(z.string(), z.unknown()).describe(\"Filter by cohort ID. Example: {'id': 12345}\").optional(),\n include_all_users: z.boolean().default(true).describe(\"When using filter_by_cohort, whether to include all distinct_ids even without profiles\").optional(),\n output_properties: z.array(z.string()).describe(\"List of property names to return in the response\").optional(),\n}).describe(\"Request model for querying profile data from Mixpanel.\");\nconst MixpanelQueryProfiles_ProfileResultSchema = z.object({\n $properties: z.record(z.string(), z.unknown()).describe(\"Object containing all profile properties for this user or group. Common properties include $created (account creation timestamp), $email (user email), $first_name, $last_name, $last_seen (last activity timestamp), and custom properties defined by the user\"),\n $distinct_id: z.string().describe(\"The unique identifier of the user or group profile\").nullable(),\n}).passthrough().describe(\"Model for a single profile result.\");\nexport const MixpanelQueryProfilesOutput = z.object({\n page: z.number().int().describe(\"The page number of the results\").nullable(),\n total: z.number().int().describe(\"The number of users in the results payload\").nullable(),\n status: z.string().describe(\"Indicates whether the request was successful\").nullable(),\n results: z.array(MixpanelQueryProfiles_ProfileResultSchema).describe(\"Array of user or group profile objects matching the query criteria\"),\n page_size: z.number().int().describe(\"The max number of results in a single page\").nullable(),\n session_id: z.string().describe(\"Session identifier for pagination and caching purposes\").nullable(),\n}).passthrough().describe(\"Response model for profile query data.\");\n\nexport const mixpanelQueryProfiles: AppAction<\n typeof MixpanelQueryProfilesInput,\n typeof MixpanelQueryProfilesOutput,\n typeof mixpanel.credential\n> = action(\"MIXPANEL_QUERY_PROFILES\", {\n slug: \"mixpanel-query-profiles\",\n name: \"Query Profiles\",\n description: \"Query user or group profile data from Mixpanel. Returns list of profiles that match specified parameters. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.\",\n input: MixpanelQueryProfilesInput,\n output: MixpanelQueryProfilesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6B,EAAE,OAAO;CACjD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC5F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACpF,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACtG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF;CACzH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC5F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC3G,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACvG,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC1F,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CAC1G,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACvG,kBAAkB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACrH,mBAAmB,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CACzJ,mBAAmB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,4CAA4C,EAAE,OAAO;CACzD,aAAa,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iQAAiQ;CACzT,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAU9D,MAAa,wBAIT,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAlByC,EAAE,OAAO;EAClD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EAC3E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACxF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACrF,SAAS,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,oEAAoE;EACzI,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EAC5F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/query-retention-report.ts
@@ -1 +1 @@
1
- {"version":3,"file":"query-retention-report.cjs","names":["z","action"],"sources":["../../src/actions/query-retention-report.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelQueryRetentionReportInput = z.object({\n on: z.string().describe(\"Property expression for segmentation (segments results by specified property)\").optional(),\n unit: z.enum([\"day\", \"week\", \"month\"]).default(\"day\").describe(\"Medium range time units for Mixpanel operations.\").optional(),\n event: z.string().describe(\"The target event to measure retention against\").optional(),\n limit: z.number().int().describe(\"Maximum number of top segmentation values to return (only valid with 'on' parameter)\").optional(),\n where: z.string().describe(\"Filter expression for event (see Mixpanel expressions documentation)\").optional(),\n to_date: z.string().describe(\"End date for the query range in YYYY-MM-DD format (inclusive)\"),\n from_date: z.string().describe(\"Start date for the query range in YYYY-MM-DD format (inclusive)\"),\n born_event: z.string().describe(\"The initial event that defines the cohort entry (required when retention_type='birth')\").optional(),\n born_where: z.string().describe(\"Filter expression for born_event (see Mixpanel expressions documentation)\").optional(),\n project_id: z.number().int().describe(\"Project identifier (required when using service account authentication)\"),\n workspace_id: z.number().int().describe(\"Workspace identifier if applicable\").optional(),\n interval_count: z.number().int().describe(\"Number of individual buckets/intervals to return\").optional(),\n retention_type: z.enum([\"birth\", \"compounded\"]).default(\"birth\").describe(\"Type of retention analysis: 'birth' for first-time retention or 'compounded' for recurring retention\").optional(),\n unbounded_retention: z.boolean().default(false).describe(\"When true, uses accumulation method where values accumulate from right to left\").optional(),\n}).describe(\"Request model for querying retention report from Mixpanel Query API\");\nexport const MixpanelQueryRetentionReportOutput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Retention data keyed by date (YYYY-MM-DD format). Each date contains cohort retention counts and initial cohort size\"),\n}).passthrough().describe(\"Response model for retention report query from Mixpanel Query API\");\n\nexport const mixpanelQueryRetentionReport = action(\"MIXPANEL_QUERY_RETENTION_REPORT\", {\n slug: \"mixpanel-query-retention-report\",\n name: \"Query Retention Report\",\n description: \"Query cohort analysis showing user retention patterns over time. Tracks how users who performed an initial event (born_event) subsequently perform a target event (event). Use the 'unit' parameter to control cohort interval granularity ('day', 'week', 'month'); defaults to 'day'.\",\n input: MixpanelQueryRetentionReportInput,\n output: MixpanelQueryRetentionReportOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAClH,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAQ;CAAO,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC5H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACrF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAClI,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC5G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;CAC5F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;CAChG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CACnI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CACtH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE;CAC/G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACvG,gBAAgBA,IAAAA,EAAE,KAAK,CAAC,SAAS,YAAY,CAAC,CAAC,CAAC,QAAQ,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CAC3L,qBAAqBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sHAAsH,EACzK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAAmE;AAE7F,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"query-retention-report.cjs","names":["z","action"],"sources":["../../src/actions/query-retention-report.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mixpanel } from \"../app\";\n\nexport const MixpanelQueryRetentionReportInput = z.object({\n on: z.string().describe(\"Property expression for segmentation (segments results by specified property)\").optional(),\n unit: z.enum([\"day\", \"week\", \"month\"]).default(\"day\").describe(\"Medium range time units for Mixpanel operations.\").optional(),\n event: z.string().describe(\"The target event to measure retention against\").optional(),\n limit: z.number().int().describe(\"Maximum number of top segmentation values to return (only valid with 'on' parameter)\").optional(),\n where: z.string().describe(\"Filter expression for event (see Mixpanel expressions documentation)\").optional(),\n to_date: z.string().describe(\"End date for the query range in YYYY-MM-DD format (inclusive)\"),\n from_date: z.string().describe(\"Start date for the query range in YYYY-MM-DD format (inclusive)\"),\n born_event: z.string().describe(\"The initial event that defines the cohort entry (required when retention_type='birth')\").optional(),\n born_where: z.string().describe(\"Filter expression for born_event (see Mixpanel expressions documentation)\").optional(),\n project_id: z.number().int().describe(\"Project identifier (required when using service account authentication)\"),\n workspace_id: z.number().int().describe(\"Workspace identifier if applicable\").optional(),\n interval_count: z.number().int().describe(\"Number of individual buckets/intervals to return\").optional(),\n retention_type: z.enum([\"birth\", \"compounded\"]).default(\"birth\").describe(\"Type of retention analysis: 'birth' for first-time retention or 'compounded' for recurring retention\").optional(),\n unbounded_retention: z.boolean().default(false).describe(\"When true, uses accumulation method where values accumulate from right to left\").optional(),\n}).describe(\"Request model for querying retention report from Mixpanel Query API\");\nexport const MixpanelQueryRetentionReportOutput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Retention data keyed by date (YYYY-MM-DD format). Each date contains cohort retention counts and initial cohort size\"),\n}).passthrough().describe(\"Response model for retention report query from Mixpanel Query API\");\n\nexport const mixpanelQueryRetentionReport: AppAction<\n typeof MixpanelQueryRetentionReportInput,\n typeof MixpanelQueryRetentionReportOutput,\n typeof mixpanel.credential\n> = action(\"MIXPANEL_QUERY_RETENTION_REPORT\", {\n slug: \"mixpanel-query-retention-report\",\n name: \"Query Retention Report\",\n description: \"Query cohort analysis showing user retention patterns over time. Tracks how users who performed an initial event (born_event) subsequently perform a target event (event). Use the 'unit' parameter to control cohort interval granularity ('day', 'week', 'month'); defaults to 'day'.\",\n input: MixpanelQueryRetentionReportInput,\n output: MixpanelQueryRetentionReportOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAClH,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAQ;CAAO,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC5H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACrF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAClI,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC5G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;CAC5F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;CAChG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CACnI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CACtH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE;CAC/G,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACvG,gBAAgBA,IAAAA,EAAE,KAAK,CAAC,SAAS,YAAY,CAAC,CAAC,CAAC,QAAQ,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CAC3L,qBAAqBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sHAAsH,EACzK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAAmE;AAE7F,MAAa,+BAITC,eAAAA,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { mixpanel } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/query-retention-report.d.ts
@@ -27,22 +29,7 @@ declare const MixpanelQueryRetentionReportInput: z.ZodObject<{
27
29
  declare const MixpanelQueryRetentionReportOutput: z.ZodObject<{
28
30
  data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
29
31
  }, z.core.$loose>;
30
- declare const mixpanelQueryRetentionReport: import("@keystrokehq/action").WorkflowActionDefinition<{
31
- to_date: string;
32
- from_date: string;
33
- project_id: number;
34
- on?: string | undefined;
35
- unit?: "day" | "week" | "month" | undefined;
36
- event?: string | undefined;
37
- limit?: number | undefined;
38
- where?: string | undefined;
39
- born_event?: string | undefined;
40
- born_where?: string | undefined;
41
- workspace_id?: number | undefined;
42
- interval_count?: number | undefined;
43
- retention_type?: "birth" | "compounded" | undefined;
44
- unbounded_retention?: boolean | undefined;
45
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
32
+ declare const mixpanelQueryRetentionReport: AppAction<typeof MixpanelQueryRetentionReportInput, typeof MixpanelQueryRetentionReportOutput, typeof mixpanel.credential>;
46
33
  //#endregion
47
34
  export { mixpanelQueryRetentionReport };
48
35
  //# sourceMappingURL=query-retention-report.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"query-retention-report.d.cts","names":[],"sources":["../../src/actions/query-retention-report.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAgBjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;cAIlC,4BAAA,gCAA4B,wBAAA"}
1
+ {"version":3,"file":"query-retention-report.d.cts","names":[],"sources":["../../src/actions/query-retention-report.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAgBjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;cAIlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { mixpanel } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/query-retention-report.d.ts
@@ -27,22 +29,7 @@ declare const MixpanelQueryRetentionReportInput: z.ZodObject<{
27
29
  declare const MixpanelQueryRetentionReportOutput: z.ZodObject<{
28
30
  data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
29
31
  }, z.core.$loose>;
30
- declare const mixpanelQueryRetentionReport: import("@keystrokehq/action").WorkflowActionDefinition<{
31
- to_date: string;
32
- from_date: string;
33
- project_id: number;
34
- on?: string | undefined;
35
- unit?: "day" | "week" | "month" | undefined;
36
- event?: string | undefined;
37
- limit?: number | undefined;
38
- where?: string | undefined;
39
- born_event?: string | undefined;
40
- born_where?: string | undefined;
41
- workspace_id?: number | undefined;
42
- interval_count?: number | undefined;
43
- retention_type?: "birth" | "compounded" | undefined;
44
- unbounded_retention?: boolean | undefined;
45
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
32
+ declare const mixpanelQueryRetentionReport: AppAction<typeof MixpanelQueryRetentionReportInput, typeof MixpanelQueryRetentionReportOutput, typeof mixpanel.credential>;
46
33
  //#endregion
47
34
  export { mixpanelQueryRetentionReport };
48
35
  //# sourceMappingURL=query-retention-report.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"query-retention-report.d.mts","names":[],"sources":["../../src/actions/query-retention-report.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAgBjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;cAIlC,4BAAA,gCAA4B,wBAAA"}
1
+ {"version":3,"file":"query-retention-report.d.mts","names":[],"sources":["../../src/actions/query-retention-report.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAgBjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;cAIlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const mixpanelQueryRetentionReport = action("MIXPANEL_QUERY_RETENTION_REPORT", {
@@ -1 +1 @@
1
- {"version":3,"file":"query-retention-report.mjs","names":[],"sources":["../../src/actions/query-retention-report.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelQueryRetentionReportInput = z.object({\n on: z.string().describe(\"Property expression for segmentation (segments results by specified property)\").optional(),\n unit: z.enum([\"day\", \"week\", \"month\"]).default(\"day\").describe(\"Medium range time units for Mixpanel operations.\").optional(),\n event: z.string().describe(\"The target event to measure retention against\").optional(),\n limit: z.number().int().describe(\"Maximum number of top segmentation values to return (only valid with 'on' parameter)\").optional(),\n where: z.string().describe(\"Filter expression for event (see Mixpanel expressions documentation)\").optional(),\n to_date: z.string().describe(\"End date for the query range in YYYY-MM-DD format (inclusive)\"),\n from_date: z.string().describe(\"Start date for the query range in YYYY-MM-DD format (inclusive)\"),\n born_event: z.string().describe(\"The initial event that defines the cohort entry (required when retention_type='birth')\").optional(),\n born_where: z.string().describe(\"Filter expression for born_event (see Mixpanel expressions documentation)\").optional(),\n project_id: z.number().int().describe(\"Project identifier (required when using service account authentication)\"),\n workspace_id: z.number().int().describe(\"Workspace identifier if applicable\").optional(),\n interval_count: z.number().int().describe(\"Number of individual buckets/intervals to return\").optional(),\n retention_type: z.enum([\"birth\", \"compounded\"]).default(\"birth\").describe(\"Type of retention analysis: 'birth' for first-time retention or 'compounded' for recurring retention\").optional(),\n unbounded_retention: z.boolean().default(false).describe(\"When true, uses accumulation method where values accumulate from right to left\").optional(),\n}).describe(\"Request model for querying retention report from Mixpanel Query API\");\nexport const MixpanelQueryRetentionReportOutput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Retention data keyed by date (YYYY-MM-DD format). Each date contains cohort retention counts and initial cohort size\"),\n}).passthrough().describe(\"Response model for retention report query from Mixpanel Query API\");\n\nexport const mixpanelQueryRetentionReport = action(\"MIXPANEL_QUERY_RETENTION_REPORT\", {\n slug: \"mixpanel-query-retention-report\",\n name: \"Query Retention Report\",\n description: \"Query cohort analysis showing user retention patterns over time. Tracks how users who performed an initial event (born_event) subsequently perform a target event (event). Use the 'unit' parameter to control cohort interval granularity ('day', 'week', 'month'); defaults to 'day'.\",\n input: MixpanelQueryRetentionReportInput,\n output: MixpanelQueryRetentionReportOutput,\n});\n"],"mappings":";;AAwBA,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxB+C,EAAE,OAAO;EACxD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;EAClH,MAAM,EAAE,KAAK;GAAC;GAAO;GAAQ;EAAO,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EAC5H,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACrF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;EAClI,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;EAC5G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;EAC5F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;EAChG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;EACnI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;EACtH,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE;EAC/G,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EACvF,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EACvG,gBAAgB,EAAE,KAAK,CAAC,SAAS,YAAY,CAAC,CAAC,CAAC,QAAQ,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;EAC3L,qBAAqB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CACtJ,CAAC,CAAC,CAAC,SAAS,qEASH;CACP,QATgD,EAAE,OAAO,EACzD,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sHAAsH,EACzK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"query-retention-report.mjs","names":[],"sources":["../../src/actions/query-retention-report.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mixpanel } from \"../app\";\n\nexport const MixpanelQueryRetentionReportInput = z.object({\n on: z.string().describe(\"Property expression for segmentation (segments results by specified property)\").optional(),\n unit: z.enum([\"day\", \"week\", \"month\"]).default(\"day\").describe(\"Medium range time units for Mixpanel operations.\").optional(),\n event: z.string().describe(\"The target event to measure retention against\").optional(),\n limit: z.number().int().describe(\"Maximum number of top segmentation values to return (only valid with 'on' parameter)\").optional(),\n where: z.string().describe(\"Filter expression for event (see Mixpanel expressions documentation)\").optional(),\n to_date: z.string().describe(\"End date for the query range in YYYY-MM-DD format (inclusive)\"),\n from_date: z.string().describe(\"Start date for the query range in YYYY-MM-DD format (inclusive)\"),\n born_event: z.string().describe(\"The initial event that defines the cohort entry (required when retention_type='birth')\").optional(),\n born_where: z.string().describe(\"Filter expression for born_event (see Mixpanel expressions documentation)\").optional(),\n project_id: z.number().int().describe(\"Project identifier (required when using service account authentication)\"),\n workspace_id: z.number().int().describe(\"Workspace identifier if applicable\").optional(),\n interval_count: z.number().int().describe(\"Number of individual buckets/intervals to return\").optional(),\n retention_type: z.enum([\"birth\", \"compounded\"]).default(\"birth\").describe(\"Type of retention analysis: 'birth' for first-time retention or 'compounded' for recurring retention\").optional(),\n unbounded_retention: z.boolean().default(false).describe(\"When true, uses accumulation method where values accumulate from right to left\").optional(),\n}).describe(\"Request model for querying retention report from Mixpanel Query API\");\nexport const MixpanelQueryRetentionReportOutput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Retention data keyed by date (YYYY-MM-DD format). Each date contains cohort retention counts and initial cohort size\"),\n}).passthrough().describe(\"Response model for retention report query from Mixpanel Query API\");\n\nexport const mixpanelQueryRetentionReport: AppAction<\n typeof MixpanelQueryRetentionReportInput,\n typeof MixpanelQueryRetentionReportOutput,\n typeof mixpanel.credential\n> = action(\"MIXPANEL_QUERY_RETENTION_REPORT\", {\n slug: \"mixpanel-query-retention-report\",\n name: \"Query Retention Report\",\n description: \"Query cohort analysis showing user retention patterns over time. Tracks how users who performed an initial event (born_event) subsequently perform a target event (event). Use the 'unit' parameter to control cohort interval granularity ('day', 'week', 'month'); defaults to 'day'.\",\n input: MixpanelQueryRetentionReportInput,\n output: MixpanelQueryRetentionReportOutput,\n});\n"],"mappings":";;;AA0BA,MAAa,+BAIT,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA5B+C,EAAE,OAAO;EACxD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;EAClH,MAAM,EAAE,KAAK;GAAC;GAAO;GAAQ;EAAO,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EAC5H,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACrF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;EAClI,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;EAC5G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;EAC5F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;EAChG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;EACnI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;EACtH,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE;EAC/G,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EACvF,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EACvG,gBAAgB,EAAE,KAAK,CAAC,SAAS,YAAY,CAAC,CAAC,CAAC,QAAQ,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;EAC3L,qBAAqB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CACtJ,CAAC,CAAC,CAAC,SAAS,qEAaH;CACP,QAbgD,EAAE,OAAO,EACzD,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sHAAsH,EACzK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/query-segmentation.ts
@@ -1 +1 @@
1
- {"version":3,"file":"query-segmentation.cjs","names":["z","action"],"sources":["../../src/actions/query-segmentation.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelQuerySegmentationInput = z.object({\n on: z.string().describe(\"The property expression to segment the event on Properties unset for many events produce 'undefined' segment buckets; interpret as missing instrumentation, not zero traffic.\").optional(),\n type: z.enum([\"general\", \"unique\", \"average\"]).default(\"general\").describe(\"Analysis types for Mixpanel event aggregation.\").optional(),\n unit: z.enum([\"minute\", \"hour\", \"day\", \"month\"]).default(\"day\").describe(\"Time units for segmentation queries.\").optional(),\n event: z.string().describe(\"The event to get data for (single event name)\"),\n limit: z.number().int().default(60).describe(\"Return the top N property values (max 10000)\").optional(),\n where: z.string().describe(\"An expression to filter events by\").optional(),\n to_date: z.string().describe(\"The date in yyyy-mm-dd format to query to (inclusive)\"),\n from_date: z.string().describe(\"The date in yyyy-mm-dd format to begin querying from (inclusive) Use project timezone to avoid off-by-one-day range errors; reversed or overly narrow ranges yield empty results.\"),\n project_id: z.number().int().describe(\"Required if using service account to authenticate request Region mismatch between the Mixpanel connection and the project's cluster returns 'invalid project id for cluster'; verify region before querying.\"),\n workspace_id: z.number().int().describe(\"The id of the workspace if applicable\").optional(),\n}).describe(\"Request model for querying segmentation data\");\nconst MixpanelQuerySegmentation_SegmentationDataSchema = z.object({\n series: z.array(z.string()).describe(\"All dates we have data for in the response\"),\n values: z.record(z.string(), z.unknown()).describe(\"A mapping of event names to date-value pairs, where each date maps to the number of specified events that took place\"),\n}).passthrough().describe(\"Container for segmentation query results\");\nexport const MixpanelQuerySegmentationOutput = z.object({\n data: MixpanelQuerySegmentation_SegmentationDataSchema.nullable(),\n legend_size: z.number().int().describe(\"Count of all events in the values object\").nullable(),\n}).passthrough().describe(\"Response model for segmentation query data\");\n\nexport const mixpanelQuerySegmentation = action(\"MIXPANEL_QUERY_SEGMENTATION\", {\n slug: \"mixpanel-query-segmentation\",\n name: \"Query Segmentation Report\",\n description: \"Get data for an event, segmented and filtered by properties with daily/time-series breakdown. Use the 'unit' parameter to control time bucketing ('minute', 'hour', 'day', 'month'). The Query API has a rate limit of 60 queries per hour and 5 concurrent queries, shared across related tools (e.g., MIXPANEL_JQL_QUERY, MIXPANEL_TOP_EVENT_PROPERTY_VALUES); bursts of concurrent calls return 429.\",\n input: MixpanelQuerySegmentationInput,\n output: MixpanelQuerySegmentationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+KAA+K,CAAC,CAAC,SAAS;CAClN,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAU;CAAS,CAAC,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACtI,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAQ;EAAO;CAAO,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC1H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC1E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACtG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACpF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mLAAmL;CAClN,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8MAA8M;CACpP,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C;CACjF,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sHAAsH;AAC3K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAM,iDAAiD,SAAS;CAChE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,4BAA4BC,eAAAA,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"query-segmentation.cjs","names":["z","action"],"sources":["../../src/actions/query-segmentation.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mixpanel } from \"../app\";\n\nexport const MixpanelQuerySegmentationInput = z.object({\n on: z.string().describe(\"The property expression to segment the event on Properties unset for many events produce 'undefined' segment buckets; interpret as missing instrumentation, not zero traffic.\").optional(),\n type: z.enum([\"general\", \"unique\", \"average\"]).default(\"general\").describe(\"Analysis types for Mixpanel event aggregation.\").optional(),\n unit: z.enum([\"minute\", \"hour\", \"day\", \"month\"]).default(\"day\").describe(\"Time units for segmentation queries.\").optional(),\n event: z.string().describe(\"The event to get data for (single event name)\"),\n limit: z.number().int().default(60).describe(\"Return the top N property values (max 10000)\").optional(),\n where: z.string().describe(\"An expression to filter events by\").optional(),\n to_date: z.string().describe(\"The date in yyyy-mm-dd format to query to (inclusive)\"),\n from_date: z.string().describe(\"The date in yyyy-mm-dd format to begin querying from (inclusive) Use project timezone to avoid off-by-one-day range errors; reversed or overly narrow ranges yield empty results.\"),\n project_id: z.number().int().describe(\"Required if using service account to authenticate request Region mismatch between the Mixpanel connection and the project's cluster returns 'invalid project id for cluster'; verify region before querying.\"),\n workspace_id: z.number().int().describe(\"The id of the workspace if applicable\").optional(),\n}).describe(\"Request model for querying segmentation data\");\nconst MixpanelQuerySegmentation_SegmentationDataSchema = z.object({\n series: z.array(z.string()).describe(\"All dates we have data for in the response\"),\n values: z.record(z.string(), z.unknown()).describe(\"A mapping of event names to date-value pairs, where each date maps to the number of specified events that took place\"),\n}).passthrough().describe(\"Container for segmentation query results\");\nexport const MixpanelQuerySegmentationOutput = z.object({\n data: MixpanelQuerySegmentation_SegmentationDataSchema.nullable(),\n legend_size: z.number().int().describe(\"Count of all events in the values object\").nullable(),\n}).passthrough().describe(\"Response model for segmentation query data\");\n\nexport const mixpanelQuerySegmentation: AppAction<\n typeof MixpanelQuerySegmentationInput,\n typeof MixpanelQuerySegmentationOutput,\n typeof mixpanel.credential\n> = action(\"MIXPANEL_QUERY_SEGMENTATION\", {\n slug: \"mixpanel-query-segmentation\",\n name: \"Query Segmentation Report\",\n description: \"Get data for an event, segmented and filtered by properties with daily/time-series breakdown. Use the 'unit' parameter to control time bucketing ('minute', 'hour', 'day', 'month'). The Query API has a rate limit of 60 queries per hour and 5 concurrent queries, shared across related tools (e.g., MIXPANEL_JQL_QUERY, MIXPANEL_TOP_EVENT_PROPERTY_VALUES); bursts of concurrent calls return 429.\",\n input: MixpanelQuerySegmentationInput,\n output: MixpanelQuerySegmentationOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+KAA+K,CAAC,CAAC,SAAS;CAClN,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAU;CAAS,CAAC,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACtI,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAQ;EAAO;CAAO,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC1H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC1E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACtG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACpF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mLAAmL;CAClN,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8MAA8M;CACpP,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C;CACjF,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sHAAsH;AAC3K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAM,iDAAiD,SAAS;CAChE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,4BAITC,eAAAA,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { mixpanel } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/query-segmentation.d.ts
@@ -29,18 +31,7 @@ declare const MixpanelQuerySegmentationOutput: z.ZodObject<{
29
31
  }, z.core.$loose>>;
30
32
  legend_size: z.ZodNullable<z.ZodNumber>;
31
33
  }, z.core.$loose>;
32
- declare const mixpanelQuerySegmentation: import("@keystrokehq/action").WorkflowActionDefinition<{
33
- event: string;
34
- to_date: string;
35
- from_date: string;
36
- project_id: number;
37
- on?: string | undefined;
38
- type?: "general" | "unique" | "average" | undefined;
39
- unit?: "minute" | "hour" | "day" | "month" | undefined;
40
- limit?: number | undefined;
41
- where?: string | undefined;
42
- workspace_id?: number | undefined;
43
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
34
+ declare const mixpanelQuerySegmentation: AppAction<typeof MixpanelQuerySegmentationInput, typeof MixpanelQuerySegmentationOutput, typeof mixpanel.credential>;
44
35
  //#endregion
45
36
  export { mixpanelQuerySegmentation };
46
37
  //# sourceMappingURL=query-segmentation.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"query-segmentation.d.cts","names":[],"sources":["../../src/actions/query-segmentation.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAgB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;cAK/B,yBAAA,gCAAyB,wBAAA"}
1
+ {"version":3,"file":"query-segmentation.d.cts","names":[],"sources":["../../src/actions/query-segmentation.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAgB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;cAK/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { mixpanel } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/query-segmentation.d.ts
@@ -29,18 +31,7 @@ declare const MixpanelQuerySegmentationOutput: z.ZodObject<{
29
31
  }, z.core.$loose>>;
30
32
  legend_size: z.ZodNullable<z.ZodNumber>;
31
33
  }, z.core.$loose>;
32
- declare const mixpanelQuerySegmentation: import("@keystrokehq/action").WorkflowActionDefinition<{
33
- event: string;
34
- to_date: string;
35
- from_date: string;
36
- project_id: number;
37
- on?: string | undefined;
38
- type?: "general" | "unique" | "average" | undefined;
39
- unit?: "minute" | "hour" | "day" | "month" | undefined;
40
- limit?: number | undefined;
41
- where?: string | undefined;
42
- workspace_id?: number | undefined;
43
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
34
+ declare const mixpanelQuerySegmentation: AppAction<typeof MixpanelQuerySegmentationInput, typeof MixpanelQuerySegmentationOutput, typeof mixpanel.credential>;
44
35
  //#endregion
45
36
  export { mixpanelQuerySegmentation };
46
37
  //# sourceMappingURL=query-segmentation.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"query-segmentation.d.mts","names":[],"sources":["../../src/actions/query-segmentation.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAgB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;cAK/B,yBAAA,gCAAyB,wBAAA"}
1
+ {"version":3,"file":"query-segmentation.d.mts","names":[],"sources":["../../src/actions/query-segmentation.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAgB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;cAK/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/query-segmentation.ts
@@ -1 +1 @@
1
- {"version":3,"file":"query-segmentation.mjs","names":[],"sources":["../../src/actions/query-segmentation.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelQuerySegmentationInput = z.object({\n on: z.string().describe(\"The property expression to segment the event on Properties unset for many events produce 'undefined' segment buckets; interpret as missing instrumentation, not zero traffic.\").optional(),\n type: z.enum([\"general\", \"unique\", \"average\"]).default(\"general\").describe(\"Analysis types for Mixpanel event aggregation.\").optional(),\n unit: z.enum([\"minute\", \"hour\", \"day\", \"month\"]).default(\"day\").describe(\"Time units for segmentation queries.\").optional(),\n event: z.string().describe(\"The event to get data for (single event name)\"),\n limit: z.number().int().default(60).describe(\"Return the top N property values (max 10000)\").optional(),\n where: z.string().describe(\"An expression to filter events by\").optional(),\n to_date: z.string().describe(\"The date in yyyy-mm-dd format to query to (inclusive)\"),\n from_date: z.string().describe(\"The date in yyyy-mm-dd format to begin querying from (inclusive) Use project timezone to avoid off-by-one-day range errors; reversed or overly narrow ranges yield empty results.\"),\n project_id: z.number().int().describe(\"Required if using service account to authenticate request Region mismatch between the Mixpanel connection and the project's cluster returns 'invalid project id for cluster'; verify region before querying.\"),\n workspace_id: z.number().int().describe(\"The id of the workspace if applicable\").optional(),\n}).describe(\"Request model for querying segmentation data\");\nconst MixpanelQuerySegmentation_SegmentationDataSchema = z.object({\n series: z.array(z.string()).describe(\"All dates we have data for in the response\"),\n values: z.record(z.string(), z.unknown()).describe(\"A mapping of event names to date-value pairs, where each date maps to the number of specified events that took place\"),\n}).passthrough().describe(\"Container for segmentation query results\");\nexport const MixpanelQuerySegmentationOutput = z.object({\n data: MixpanelQuerySegmentation_SegmentationDataSchema.nullable(),\n legend_size: z.number().int().describe(\"Count of all events in the values object\").nullable(),\n}).passthrough().describe(\"Response model for segmentation query data\");\n\nexport const mixpanelQuerySegmentation = action(\"MIXPANEL_QUERY_SEGMENTATION\", {\n slug: \"mixpanel-query-segmentation\",\n name: \"Query Segmentation Report\",\n description: \"Get data for an event, segmented and filtered by properties with daily/time-series breakdown. Use the 'unit' parameter to control time bucketing ('minute', 'hour', 'day', 'month'). The Query API has a rate limit of 60 queries per hour and 5 concurrent queries, shared across related tools (e.g., MIXPANEL_JQL_QUERY, MIXPANEL_TOP_EVENT_PROPERTY_VALUES); bursts of concurrent calls return 429.\",\n input: MixpanelQuerySegmentationInput,\n output: MixpanelQuerySegmentationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+KAA+K,CAAC,CAAC,SAAS;CAClN,MAAM,EAAE,KAAK;EAAC;EAAW;EAAU;CAAS,CAAC,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACtI,MAAM,EAAE,KAAK;EAAC;EAAU;EAAQ;EAAO;CAAO,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC1H,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC1E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACtG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACpF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mLAAmL;CAClN,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8MAA8M;CACpP,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,mDAAmD,EAAE,OAAO;CAChE,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C;CACjF,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sHAAsH;AAC3K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAMpE,MAAa,4BAA4B,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV6C,EAAE,OAAO;EACtD,MAAM,iDAAiD,SAAS;EAChE,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"query-segmentation.mjs","names":[],"sources":["../../src/actions/query-segmentation.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mixpanel } from \"../app\";\n\nexport const MixpanelQuerySegmentationInput = z.object({\n on: z.string().describe(\"The property expression to segment the event on Properties unset for many events produce 'undefined' segment buckets; interpret as missing instrumentation, not zero traffic.\").optional(),\n type: z.enum([\"general\", \"unique\", \"average\"]).default(\"general\").describe(\"Analysis types for Mixpanel event aggregation.\").optional(),\n unit: z.enum([\"minute\", \"hour\", \"day\", \"month\"]).default(\"day\").describe(\"Time units for segmentation queries.\").optional(),\n event: z.string().describe(\"The event to get data for (single event name)\"),\n limit: z.number().int().default(60).describe(\"Return the top N property values (max 10000)\").optional(),\n where: z.string().describe(\"An expression to filter events by\").optional(),\n to_date: z.string().describe(\"The date in yyyy-mm-dd format to query to (inclusive)\"),\n from_date: z.string().describe(\"The date in yyyy-mm-dd format to begin querying from (inclusive) Use project timezone to avoid off-by-one-day range errors; reversed or overly narrow ranges yield empty results.\"),\n project_id: z.number().int().describe(\"Required if using service account to authenticate request Region mismatch between the Mixpanel connection and the project's cluster returns 'invalid project id for cluster'; verify region before querying.\"),\n workspace_id: z.number().int().describe(\"The id of the workspace if applicable\").optional(),\n}).describe(\"Request model for querying segmentation data\");\nconst MixpanelQuerySegmentation_SegmentationDataSchema = z.object({\n series: z.array(z.string()).describe(\"All dates we have data for in the response\"),\n values: z.record(z.string(), z.unknown()).describe(\"A mapping of event names to date-value pairs, where each date maps to the number of specified events that took place\"),\n}).passthrough().describe(\"Container for segmentation query results\");\nexport const MixpanelQuerySegmentationOutput = z.object({\n data: MixpanelQuerySegmentation_SegmentationDataSchema.nullable(),\n legend_size: z.number().int().describe(\"Count of all events in the values object\").nullable(),\n}).passthrough().describe(\"Response model for segmentation query data\");\n\nexport const mixpanelQuerySegmentation: AppAction<\n typeof MixpanelQuerySegmentationInput,\n typeof MixpanelQuerySegmentationOutput,\n typeof mixpanel.credential\n> = action(\"MIXPANEL_QUERY_SEGMENTATION\", {\n slug: \"mixpanel-query-segmentation\",\n name: \"Query Segmentation Report\",\n description: \"Get data for an event, segmented and filtered by properties with daily/time-series breakdown. Use the 'unit' parameter to control time bucketing ('minute', 'hour', 'day', 'month'). The Query API has a rate limit of 60 queries per hour and 5 concurrent queries, shared across related tools (e.g., MIXPANEL_JQL_QUERY, MIXPANEL_TOP_EVENT_PROPERTY_VALUES); bursts of concurrent calls return 429.\",\n input: MixpanelQuerySegmentationInput,\n output: MixpanelQuerySegmentationOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+KAA+K,CAAC,CAAC,SAAS;CAClN,MAAM,EAAE,KAAK;EAAC;EAAW;EAAU;CAAS,CAAC,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACtI,MAAM,EAAE,KAAK;EAAC;EAAU;EAAQ;EAAO;CAAO,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC1H,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC1E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACtG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACpF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mLAAmL;CAClN,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8MAA8M;CACpP,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,mDAAmD,EAAE,OAAO;CAChE,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C;CACjF,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sHAAsH;AAC3K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAMpE,MAAa,4BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd6C,EAAE,OAAO;EACtD,MAAM,iDAAiD,SAAS;EAChE,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/query-top-events.ts
@@ -1 +1 @@
1
- {"version":3,"file":"query-top-events.cjs","names":["z","action"],"sources":["../../src/actions/query-top-events.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelQueryTopEventsInput = z.object({\n type: z.enum([\"general\", \"unique\", \"average\"]).describe(\"The analysis type - general, unique, or average\"),\n limit: z.number().int().default(100).describe(\"Maximum number of events to return\").optional(),\n project_id: z.number().int().describe(\"The project identifier. Required if using service account to authenticate request\"),\n workspace_id: z.number().int().describe(\"The workspace identifier if applicable\").optional(),\n}).describe(\"Request model for querying top events\");\nconst MixpanelQueryTopEvents_AnalysisTypeSchema = z.enum([\"general\", \"unique\", \"average\"]).describe(\"Analysis types for Mixpanel event aggregation.\");\nconst MixpanelQueryTopEvents_EventItemSchema = z.object({\n event: z.string().describe(\"The name of the event\").nullable(),\n amount: z.number().describe(\"Number of events (integer for general/unique types, float for average type)\").nullable(),\n percent_change: z.number().describe(\"The percent change from yesterday\").nullable(),\n}).passthrough().describe(\"Model for individual event in the response\");\nexport const MixpanelQueryTopEventsOutput = z.object({\n type: MixpanelQueryTopEvents_AnalysisTypeSchema.nullable(),\n events: z.array(MixpanelQueryTopEvents_EventItemSchema).describe(\"List of top events with their statistics\"),\n}).passthrough().describe(\"Response model for top events query\");\n\nexport const mixpanelQueryTopEvents = action(\"MIXPANEL_QUERY_TOP_EVENTS\", {\n slug: \"mixpanel-query-top-events\",\n name: \"Query Top Events\",\n description: \"Get the top events for today, with their counts and the normalized percent change from yesterday. Use when you need to analyze today's event performance compared to yesterday.\",\n input: MixpanelQueryTopEventsInput,\n output: MixpanelQueryTopEventsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAU;CAAS,CAAC,CAAC,CAAC,SAAS,iDAAiD;CACzG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC7F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF;CACzH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,4CAA4CA,IAAAA,EAAE,KAAK;CAAC;CAAW;CAAU;AAAS,CAAC,CAAC,CAAC,SAAS,gDAAgD;AACpJ,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC7D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACpH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAM,0CAA0C,SAAS;CACzD,QAAQA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,0CAA0C;AAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAE/D,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"query-top-events.cjs","names":["z","action"],"sources":["../../src/actions/query-top-events.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mixpanel } from \"../app\";\n\nexport const MixpanelQueryTopEventsInput = z.object({\n type: z.enum([\"general\", \"unique\", \"average\"]).describe(\"The analysis type - general, unique, or average\"),\n limit: z.number().int().default(100).describe(\"Maximum number of events to return\").optional(),\n project_id: z.number().int().describe(\"The project identifier. Required if using service account to authenticate request\"),\n workspace_id: z.number().int().describe(\"The workspace identifier if applicable\").optional(),\n}).describe(\"Request model for querying top events\");\nconst MixpanelQueryTopEvents_AnalysisTypeSchema = z.enum([\"general\", \"unique\", \"average\"]).describe(\"Analysis types for Mixpanel event aggregation.\");\nconst MixpanelQueryTopEvents_EventItemSchema = z.object({\n event: z.string().describe(\"The name of the event\").nullable(),\n amount: z.number().describe(\"Number of events (integer for general/unique types, float for average type)\").nullable(),\n percent_change: z.number().describe(\"The percent change from yesterday\").nullable(),\n}).passthrough().describe(\"Model for individual event in the response\");\nexport const MixpanelQueryTopEventsOutput = z.object({\n type: MixpanelQueryTopEvents_AnalysisTypeSchema.nullable(),\n events: z.array(MixpanelQueryTopEvents_EventItemSchema).describe(\"List of top events with their statistics\"),\n}).passthrough().describe(\"Response model for top events query\");\n\nexport const mixpanelQueryTopEvents: AppAction<\n typeof MixpanelQueryTopEventsInput,\n typeof MixpanelQueryTopEventsOutput,\n typeof mixpanel.credential\n> = action(\"MIXPANEL_QUERY_TOP_EVENTS\", {\n slug: \"mixpanel-query-top-events\",\n name: \"Query Top Events\",\n description: \"Get the top events for today, with their counts and the normalized percent change from yesterday. Use when you need to analyze today's event performance compared to yesterday.\",\n input: MixpanelQueryTopEventsInput,\n output: MixpanelQueryTopEventsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAU;CAAS,CAAC,CAAC,CAAC,SAAS,iDAAiD;CACzG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC7F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF;CACzH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,4CAA4CA,IAAAA,EAAE,KAAK;CAAC;CAAW;CAAU;AAAS,CAAC,CAAC,CAAC,SAAS,gDAAgD;AACpJ,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC7D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACpH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAM,0CAA0C,SAAS;CACzD,QAAQA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,0CAA0C;AAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAE/D,MAAa,yBAITC,eAAAA,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { mixpanel } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/query-top-events.d.ts
@@ -23,12 +25,7 @@ declare const MixpanelQueryTopEventsOutput: z.ZodObject<{
23
25
  percent_change: z.ZodNullable<z.ZodNumber>;
24
26
  }, z.core.$loose>>;
25
27
  }, z.core.$loose>;
26
- declare const mixpanelQueryTopEvents: import("@keystrokehq/action").WorkflowActionDefinition<{
27
- type: "general" | "unique" | "average";
28
- project_id: number;
29
- limit?: number | undefined;
30
- workspace_id?: number | undefined;
31
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
28
+ declare const mixpanelQueryTopEvents: AppAction<typeof MixpanelQueryTopEventsInput, typeof MixpanelQueryTopEventsOutput, typeof mixpanel.credential>;
32
29
  //#endregion
33
30
  export { mixpanelQueryTopEvents };
34
31
  //# sourceMappingURL=query-top-events.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"query-top-events.d.cts","names":[],"sources":["../../src/actions/query-top-events.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;cAY3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAK5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"query-top-events.d.cts","names":[],"sources":["../../src/actions/query-top-events.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;cAY3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAK5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { mixpanel } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/query-top-events.d.ts
@@ -23,12 +25,7 @@ declare const MixpanelQueryTopEventsOutput: z.ZodObject<{
23
25
  percent_change: z.ZodNullable<z.ZodNumber>;
24
26
  }, z.core.$loose>>;
25
27
  }, z.core.$loose>;
26
- declare const mixpanelQueryTopEvents: import("@keystrokehq/action").WorkflowActionDefinition<{
27
- type: "general" | "unique" | "average";
28
- project_id: number;
29
- limit?: number | undefined;
30
- workspace_id?: number | undefined;
31
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
28
+ declare const mixpanelQueryTopEvents: AppAction<typeof MixpanelQueryTopEventsInput, typeof MixpanelQueryTopEventsOutput, typeof mixpanel.credential>;
32
29
  //#endregion
33
30
  export { mixpanelQueryTopEvents };
34
31
  //# sourceMappingURL=query-top-events.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"query-top-events.d.mts","names":[],"sources":["../../src/actions/query-top-events.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;cAY3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAK5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"query-top-events.d.mts","names":[],"sources":["../../src/actions/query-top-events.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;cAY3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAK5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/query-top-events.ts
@@ -1 +1 @@
1
- {"version":3,"file":"query-top-events.mjs","names":[],"sources":["../../src/actions/query-top-events.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelQueryTopEventsInput = z.object({\n type: z.enum([\"general\", \"unique\", \"average\"]).describe(\"The analysis type - general, unique, or average\"),\n limit: z.number().int().default(100).describe(\"Maximum number of events to return\").optional(),\n project_id: z.number().int().describe(\"The project identifier. Required if using service account to authenticate request\"),\n workspace_id: z.number().int().describe(\"The workspace identifier if applicable\").optional(),\n}).describe(\"Request model for querying top events\");\nconst MixpanelQueryTopEvents_AnalysisTypeSchema = z.enum([\"general\", \"unique\", \"average\"]).describe(\"Analysis types for Mixpanel event aggregation.\");\nconst MixpanelQueryTopEvents_EventItemSchema = z.object({\n event: z.string().describe(\"The name of the event\").nullable(),\n amount: z.number().describe(\"Number of events (integer for general/unique types, float for average type)\").nullable(),\n percent_change: z.number().describe(\"The percent change from yesterday\").nullable(),\n}).passthrough().describe(\"Model for individual event in the response\");\nexport const MixpanelQueryTopEventsOutput = z.object({\n type: MixpanelQueryTopEvents_AnalysisTypeSchema.nullable(),\n events: z.array(MixpanelQueryTopEvents_EventItemSchema).describe(\"List of top events with their statistics\"),\n}).passthrough().describe(\"Response model for top events query\");\n\nexport const mixpanelQueryTopEvents = action(\"MIXPANEL_QUERY_TOP_EVENTS\", {\n slug: \"mixpanel-query-top-events\",\n name: \"Query Top Events\",\n description: \"Get the top events for today, with their counts and the normalized percent change from yesterday. Use when you need to analyze today's event performance compared to yesterday.\",\n input: MixpanelQueryTopEventsInput,\n output: MixpanelQueryTopEventsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,MAAM,EAAE,KAAK;EAAC;EAAW;EAAU;CAAS,CAAC,CAAC,CAAC,SAAS,iDAAiD;CACzG,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF;CACzH,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,4CAA4C,EAAE,KAAK;CAAC;CAAW;CAAU;AAAS,CAAC,CAAC,CAAC,SAAS,gDAAgD;AACpJ,MAAM,yCAAyC,EAAE,OAAO;CACtD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC7D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACpH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAMtE,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV0C,EAAE,OAAO;EACnD,MAAM,0CAA0C,SAAS;EACzD,QAAQ,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,0CAA0C;CAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"query-top-events.mjs","names":[],"sources":["../../src/actions/query-top-events.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mixpanel } from \"../app\";\n\nexport const MixpanelQueryTopEventsInput = z.object({\n type: z.enum([\"general\", \"unique\", \"average\"]).describe(\"The analysis type - general, unique, or average\"),\n limit: z.number().int().default(100).describe(\"Maximum number of events to return\").optional(),\n project_id: z.number().int().describe(\"The project identifier. Required if using service account to authenticate request\"),\n workspace_id: z.number().int().describe(\"The workspace identifier if applicable\").optional(),\n}).describe(\"Request model for querying top events\");\nconst MixpanelQueryTopEvents_AnalysisTypeSchema = z.enum([\"general\", \"unique\", \"average\"]).describe(\"Analysis types for Mixpanel event aggregation.\");\nconst MixpanelQueryTopEvents_EventItemSchema = z.object({\n event: z.string().describe(\"The name of the event\").nullable(),\n amount: z.number().describe(\"Number of events (integer for general/unique types, float for average type)\").nullable(),\n percent_change: z.number().describe(\"The percent change from yesterday\").nullable(),\n}).passthrough().describe(\"Model for individual event in the response\");\nexport const MixpanelQueryTopEventsOutput = z.object({\n type: MixpanelQueryTopEvents_AnalysisTypeSchema.nullable(),\n events: z.array(MixpanelQueryTopEvents_EventItemSchema).describe(\"List of top events with their statistics\"),\n}).passthrough().describe(\"Response model for top events query\");\n\nexport const mixpanelQueryTopEvents: AppAction<\n typeof MixpanelQueryTopEventsInput,\n typeof MixpanelQueryTopEventsOutput,\n typeof mixpanel.credential\n> = action(\"MIXPANEL_QUERY_TOP_EVENTS\", {\n slug: \"mixpanel-query-top-events\",\n name: \"Query Top Events\",\n description: \"Get the top events for today, with their counts and the normalized percent change from yesterday. Use when you need to analyze today's event performance compared to yesterday.\",\n input: MixpanelQueryTopEventsInput,\n output: MixpanelQueryTopEventsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8B,EAAE,OAAO;CAClD,MAAM,EAAE,KAAK;EAAC;EAAW;EAAU;CAAS,CAAC,CAAC,CAAC,SAAS,iDAAiD;CACzG,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF;CACzH,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,4CAA4C,EAAE,KAAK;CAAC;CAAW;CAAU;AAAS,CAAC,CAAC,CAAC,SAAS,gDAAgD;AACpJ,MAAM,yCAAyC,EAAE,OAAO;CACtD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC7D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACpH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAMtE,MAAa,yBAIT,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd0C,EAAE,OAAO;EACnD,MAAM,0CAA0C,SAAS;EACzD,QAAQ,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,0CAA0C;CAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/remove-from-group-list-property.ts
@@ -1 +1 @@
1
- {"version":3,"file":"remove-from-group-list-property.cjs","names":["z","action"],"sources":["../../src/actions/remove-from-group-list-property.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelRemoveFromGroupListPropertyInput = z.object({\n data: z.array(z.object({\n token: z.string().describe(\"Your Mixpanel project authentication token\"),\n remove: z.record(z.string(), z.unknown()).describe(\"A JSON object containing key-value pairs where each key is a list property name and each value is the item to remove from that list property. If the value doesn't exist in the list, no updates are made.\"),\n group_id: z.string().describe(\"The unique identifier for the group\"),\n group_key: z.string().describe(\"The group category/type (e.g., 'Company', 'Organization')\"),\n}).passthrough().describe(\"Individual group profile update object for removing from list properties.\")).describe(\"A list of group profile update objects. Each object must contain $token, $group_key, $group_id, and $remove properties.\"),\n}).describe(\"Request model for removing values from list properties on group profiles.\");\nexport const MixpanelRemoveFromGroupListPropertyOutput = z.object({\n code: z.number().int().describe(\"HTTP status code (200 for success)\").nullable().optional(),\n error: z.string().describe(\"Error message if the request failed, null if successful.\").nullable().optional(),\n status: z.union([z.string(), z.number().int()]),\n}).passthrough().describe(\"Response model for group remove operation.\");\n\nexport const mixpanelRemoveFromGroupListProperty = action(\"MIXPANEL_REMOVE_FROM_GROUP_LIST_PROPERTY\", {\n slug: \"mixpanel-remove-from-group-list-property\",\n name: \"Remove from Group List Property\",\n description: \"Tool to remove values from list properties on group profiles in Mixpanel. Use when you need to remove specific items from list-type properties on groups (companies, organizations, etc.). If the value doesn't exist in the list, no updates are made. If the property doesn't exist or is not list-valued, the operation is ignored.\",\n input: MixpanelRemoveFromGroupListPropertyInput,\n output: MixpanelRemoveFromGroupListPropertyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAA2CA,IAAAA,EAAE,OAAO,EAC/D,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;CACvB,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACvE,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4MAA4M;CAC/P,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CACnE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,CAAC,SAAS,yHAAyH,EAC1O,CAAC,CAAC,CAAC,SAAS,2EAA2E;AACvF,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,QAAQA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;AAChD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,sCAAsCC,eAAAA,OAAO,4CAA4C;CACpG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"remove-from-group-list-property.cjs","names":["z","action"],"sources":["../../src/actions/remove-from-group-list-property.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mixpanel } from \"../app\";\n\nexport const MixpanelRemoveFromGroupListPropertyInput = z.object({\n data: z.array(z.object({\n token: z.string().describe(\"Your Mixpanel project authentication token\"),\n remove: z.record(z.string(), z.unknown()).describe(\"A JSON object containing key-value pairs where each key is a list property name and each value is the item to remove from that list property. If the value doesn't exist in the list, no updates are made.\"),\n group_id: z.string().describe(\"The unique identifier for the group\"),\n group_key: z.string().describe(\"The group category/type (e.g., 'Company', 'Organization')\"),\n}).passthrough().describe(\"Individual group profile update object for removing from list properties.\")).describe(\"A list of group profile update objects. Each object must contain $token, $group_key, $group_id, and $remove properties.\"),\n}).describe(\"Request model for removing values from list properties on group profiles.\");\nexport const MixpanelRemoveFromGroupListPropertyOutput = z.object({\n code: z.number().int().describe(\"HTTP status code (200 for success)\").nullable().optional(),\n error: z.string().describe(\"Error message if the request failed, null if successful.\").nullable().optional(),\n status: z.union([z.string(), z.number().int()]),\n}).passthrough().describe(\"Response model for group remove operation.\");\n\nexport const mixpanelRemoveFromGroupListProperty: AppAction<\n typeof MixpanelRemoveFromGroupListPropertyInput,\n typeof MixpanelRemoveFromGroupListPropertyOutput,\n typeof mixpanel.credential\n> = action(\"MIXPANEL_REMOVE_FROM_GROUP_LIST_PROPERTY\", {\n slug: \"mixpanel-remove-from-group-list-property\",\n name: \"Remove from Group List Property\",\n description: \"Tool to remove values from list properties on group profiles in Mixpanel. Use when you need to remove specific items from list-type properties on groups (companies, organizations, etc.). If the value doesn't exist in the list, no updates are made. If the property doesn't exist or is not list-valued, the operation is ignored.\",\n input: MixpanelRemoveFromGroupListPropertyInput,\n output: MixpanelRemoveFromGroupListPropertyOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2CAA2CA,IAAAA,EAAE,OAAO,EAC/D,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;CACvB,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACvE,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4MAA4M;CAC/P,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CACnE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,CAAC,SAAS,yHAAyH,EAC1O,CAAC,CAAC,CAAC,SAAS,2EAA2E;AACvF,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,QAAQA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;AAChD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,sCAITC,eAAAA,OAAO,4CAA4C;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { mixpanel } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/remove-from-group-list-property.d.ts
@@ -14,15 +16,7 @@ declare const MixpanelRemoveFromGroupListPropertyOutput: z.ZodObject<{
14
16
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
17
  status: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
16
18
  }, z.core.$loose>;
17
- declare const mixpanelRemoveFromGroupListProperty: import("@keystrokehq/action").WorkflowActionDefinition<{
18
- data: {
19
- [x: string]: unknown;
20
- token: string;
21
- remove: Record<string, unknown>;
22
- group_id: string;
23
- group_key: string;
24
- }[];
25
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
19
+ declare const mixpanelRemoveFromGroupListProperty: AppAction<typeof MixpanelRemoveFromGroupListPropertyInput, typeof MixpanelRemoveFromGroupListPropertyOutput, typeof mixpanel.credential>;
26
20
  //#endregion
27
21
  export { mixpanelRemoveFromGroupListProperty };
28
22
  //# sourceMappingURL=remove-from-group-list-property.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"remove-from-group-list-property.d.cts","names":[],"sources":["../../src/actions/remove-from-group-list-property.ts"],"mappings":";;;cAIa,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;cAQxC,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;cAMzC,mCAAA,gCAAmC,wBAAA;;;;YAM9C,MAAA"}
1
+ {"version":3,"file":"remove-from-group-list-property.d.cts","names":[],"sources":["../../src/actions/remove-from-group-list-property.ts"],"mappings":";;;;;cAMa,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;cAQxC,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;cAMzC,mCAAA,EAAqC,SAAA,QACzC,wCAAA,SACA,yCAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { mixpanel } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/remove-from-group-list-property.d.ts
@@ -14,15 +16,7 @@ declare const MixpanelRemoveFromGroupListPropertyOutput: z.ZodObject<{
14
16
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
17
  status: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
16
18
  }, z.core.$loose>;
17
- declare const mixpanelRemoveFromGroupListProperty: import("@keystrokehq/action").WorkflowActionDefinition<{
18
- data: {
19
- [x: string]: unknown;
20
- token: string;
21
- remove: Record<string, unknown>;
22
- group_id: string;
23
- group_key: string;
24
- }[];
25
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
19
+ declare const mixpanelRemoveFromGroupListProperty: AppAction<typeof MixpanelRemoveFromGroupListPropertyInput, typeof MixpanelRemoveFromGroupListPropertyOutput, typeof mixpanel.credential>;
26
20
  //#endregion
27
21
  export { mixpanelRemoveFromGroupListProperty };
28
22
  //# sourceMappingURL=remove-from-group-list-property.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"remove-from-group-list-property.d.mts","names":[],"sources":["../../src/actions/remove-from-group-list-property.ts"],"mappings":";;;cAIa,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;cAQxC,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;cAMzC,mCAAA,gCAAmC,wBAAA;;;;YAM9C,MAAA"}
1
+ {"version":3,"file":"remove-from-group-list-property.d.mts","names":[],"sources":["../../src/actions/remove-from-group-list-property.ts"],"mappings":";;;;;cAMa,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;cAQxC,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;cAMzC,mCAAA,EAAqC,SAAA,QACzC,wCAAA,SACA,yCAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const mixpanelRemoveFromGroupListProperty = action("MIXPANEL_REMOVE_FROM_GROUP_LIST_PROPERTY", {
@@ -1 +1 @@
1
- {"version":3,"file":"remove-from-group-list-property.mjs","names":[],"sources":["../../src/actions/remove-from-group-list-property.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelRemoveFromGroupListPropertyInput = z.object({\n data: z.array(z.object({\n token: z.string().describe(\"Your Mixpanel project authentication token\"),\n remove: z.record(z.string(), z.unknown()).describe(\"A JSON object containing key-value pairs where each key is a list property name and each value is the item to remove from that list property. If the value doesn't exist in the list, no updates are made.\"),\n group_id: z.string().describe(\"The unique identifier for the group\"),\n group_key: z.string().describe(\"The group category/type (e.g., 'Company', 'Organization')\"),\n}).passthrough().describe(\"Individual group profile update object for removing from list properties.\")).describe(\"A list of group profile update objects. Each object must contain $token, $group_key, $group_id, and $remove properties.\"),\n}).describe(\"Request model for removing values from list properties on group profiles.\");\nexport const MixpanelRemoveFromGroupListPropertyOutput = z.object({\n code: z.number().int().describe(\"HTTP status code (200 for success)\").nullable().optional(),\n error: z.string().describe(\"Error message if the request failed, null if successful.\").nullable().optional(),\n status: z.union([z.string(), z.number().int()]),\n}).passthrough().describe(\"Response model for group remove operation.\");\n\nexport const mixpanelRemoveFromGroupListProperty = action(\"MIXPANEL_REMOVE_FROM_GROUP_LIST_PROPERTY\", {\n slug: \"mixpanel-remove-from-group-list-property\",\n name: \"Remove from Group List Property\",\n description: \"Tool to remove values from list properties on group profiles in Mixpanel. Use when you need to remove specific items from list-type properties on groups (companies, organizations, etc.). If the value doesn't exist in the list, no updates are made. If the property doesn't exist or is not list-valued, the operation is ignored.\",\n input: MixpanelRemoveFromGroupListPropertyInput,\n output: MixpanelRemoveFromGroupListPropertyOutput,\n});\n"],"mappings":";;AAkBA,MAAa,sCAAsC,OAAO,4CAA4C;CACpG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBsD,EAAE,OAAO,EAC/D,MAAM,EAAE,MAAM,EAAE,OAAO;EACvB,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EACvE,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4MAA4M;EAC/P,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;EACnE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,CAAC,SAAS,yHAAyH,EAC1O,CAAC,CAAC,CAAC,SAAS,2EAWH;CACP,QAXuD,EAAE,OAAO;EAChE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,QAAQ,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;CAChD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"remove-from-group-list-property.mjs","names":[],"sources":["../../src/actions/remove-from-group-list-property.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mixpanel } from \"../app\";\n\nexport const MixpanelRemoveFromGroupListPropertyInput = z.object({\n data: z.array(z.object({\n token: z.string().describe(\"Your Mixpanel project authentication token\"),\n remove: z.record(z.string(), z.unknown()).describe(\"A JSON object containing key-value pairs where each key is a list property name and each value is the item to remove from that list property. If the value doesn't exist in the list, no updates are made.\"),\n group_id: z.string().describe(\"The unique identifier for the group\"),\n group_key: z.string().describe(\"The group category/type (e.g., 'Company', 'Organization')\"),\n}).passthrough().describe(\"Individual group profile update object for removing from list properties.\")).describe(\"A list of group profile update objects. Each object must contain $token, $group_key, $group_id, and $remove properties.\"),\n}).describe(\"Request model for removing values from list properties on group profiles.\");\nexport const MixpanelRemoveFromGroupListPropertyOutput = z.object({\n code: z.number().int().describe(\"HTTP status code (200 for success)\").nullable().optional(),\n error: z.string().describe(\"Error message if the request failed, null if successful.\").nullable().optional(),\n status: z.union([z.string(), z.number().int()]),\n}).passthrough().describe(\"Response model for group remove operation.\");\n\nexport const mixpanelRemoveFromGroupListProperty: AppAction<\n typeof MixpanelRemoveFromGroupListPropertyInput,\n typeof MixpanelRemoveFromGroupListPropertyOutput,\n typeof mixpanel.credential\n> = action(\"MIXPANEL_REMOVE_FROM_GROUP_LIST_PROPERTY\", {\n slug: \"mixpanel-remove-from-group-list-property\",\n name: \"Remove from Group List Property\",\n description: \"Tool to remove values from list properties on group profiles in Mixpanel. Use when you need to remove specific items from list-type properties on groups (companies, organizations, etc.). If the value doesn't exist in the list, no updates are made. If the property doesn't exist or is not list-valued, the operation is ignored.\",\n input: MixpanelRemoveFromGroupListPropertyInput,\n output: MixpanelRemoveFromGroupListPropertyOutput,\n});\n"],"mappings":";;;AAoBA,MAAa,sCAIT,OAAO,4CAA4C;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtBsD,EAAE,OAAO,EAC/D,MAAM,EAAE,MAAM,EAAE,OAAO;EACvB,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EACvE,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4MAA4M;EAC/P,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;EACnE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,CAAC,SAAS,yHAAyH,EAC1O,CAAC,CAAC,CAAC,SAAS,2EAeH;CACP,QAfuD,EAAE,OAAO;EAChE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,QAAQ,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;CAChD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/remove-from-list-property.ts
@@ -1 +1 @@
1
- {"version":3,"file":"remove-from-list-property.cjs","names":["z","action"],"sources":["../../src/actions/remove-from-list-property.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelRemoveFromListPropertyInput = z.object({\n ip: z.string().describe(\"IP address for geolocation enrichment. Set to '0' to prevent updating geolocation data. If not provided, Mixpanel uses the request IP. Geolocation properties ($city, $region, mp_country_code) are derived and the IP is discarded.\").optional(),\n time: z.number().int().describe(\"Unix timestamp (seconds since epoch) indicating when the profile update occurred. Defaults to the current server time if not provided.\").optional(),\n token: z.string().describe(\"Your Mixpanel project authentication token. Required for authenticating the request.\"),\n distinct_id: z.string().describe(\"The unique identifier for the user profile to update. This determines which profile will be modified.\"),\n ignore_time: z.boolean().describe(\"If true, prevents Mixpanel from automatically updating the 'Last Seen' property. Defaults to false.\").optional(),\n remove_properties: z.record(z.string(), z.unknown()).describe(\"A dictionary of list properties and values to remove. Each key is a property name and each value is the item to remove from that list property. If the value doesn't exist in the list, no action is taken.\"),\n}).describe(\"Request model for removing values from list properties on user profiles.\");\nexport const MixpanelRemoveFromListPropertyOutput = z.object({\n error: z.string().describe(\"Error message if the request failed, null if successful.\").nullable().optional(),\n status: z.union([z.string(), z.number().int()]),\n}).passthrough().describe(\"Response model for remove from list property operation.\");\n\nexport const mixpanelRemoveFromListProperty = action(\"MIXPANEL_REMOVE_FROM_LIST_PROPERTY\", {\n slug: \"mixpanel-remove-from-list-property\",\n name: \"Remove from Profile List Property\",\n description: \"Tool to remove values from list properties on user profiles in Mixpanel using the $remove operation. Use when you need to remove specific items from list-type properties. If the value doesn't exist in the list, no action is taken. The profile will be created if it doesn't exist.\",\n input: MixpanelRemoveFromListPropertyInput,\n output: MixpanelRemoveFromListPropertyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sOAAsO,CAAC,CAAC,SAAS;CACzQ,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;CACnL,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF;CACjH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;CACxI,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAClJ,mBAAmBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6MAA6M;AAC7Q,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,QAAQA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;AAChD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAEnF,MAAa,iCAAiCC,eAAAA,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"remove-from-list-property.cjs","names":["z","action"],"sources":["../../src/actions/remove-from-list-property.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mixpanel } from \"../app\";\n\nexport const MixpanelRemoveFromListPropertyInput = z.object({\n ip: z.string().describe(\"IP address for geolocation enrichment. Set to '0' to prevent updating geolocation data. If not provided, Mixpanel uses the request IP. Geolocation properties ($city, $region, mp_country_code) are derived and the IP is discarded.\").optional(),\n time: z.number().int().describe(\"Unix timestamp (seconds since epoch) indicating when the profile update occurred. Defaults to the current server time if not provided.\").optional(),\n token: z.string().describe(\"Your Mixpanel project authentication token. Required for authenticating the request.\"),\n distinct_id: z.string().describe(\"The unique identifier for the user profile to update. This determines which profile will be modified.\"),\n ignore_time: z.boolean().describe(\"If true, prevents Mixpanel from automatically updating the 'Last Seen' property. Defaults to false.\").optional(),\n remove_properties: z.record(z.string(), z.unknown()).describe(\"A dictionary of list properties and values to remove. Each key is a property name and each value is the item to remove from that list property. If the value doesn't exist in the list, no action is taken.\"),\n}).describe(\"Request model for removing values from list properties on user profiles.\");\nexport const MixpanelRemoveFromListPropertyOutput = z.object({\n error: z.string().describe(\"Error message if the request failed, null if successful.\").nullable().optional(),\n status: z.union([z.string(), z.number().int()]),\n}).passthrough().describe(\"Response model for remove from list property operation.\");\n\nexport const mixpanelRemoveFromListProperty: AppAction<\n typeof MixpanelRemoveFromListPropertyInput,\n typeof MixpanelRemoveFromListPropertyOutput,\n typeof mixpanel.credential\n> = action(\"MIXPANEL_REMOVE_FROM_LIST_PROPERTY\", {\n slug: \"mixpanel-remove-from-list-property\",\n name: \"Remove from Profile List Property\",\n description: \"Tool to remove values from list properties on user profiles in Mixpanel using the $remove operation. Use when you need to remove specific items from list-type properties. If the value doesn't exist in the list, no action is taken. The profile will be created if it doesn't exist.\",\n input: MixpanelRemoveFromListPropertyInput,\n output: MixpanelRemoveFromListPropertyOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sOAAsO,CAAC,CAAC,SAAS;CACzQ,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;CACnL,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF;CACjH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;CACxI,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAClJ,mBAAmBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6MAA6M;AAC7Q,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,QAAQA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;AAChD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAEnF,MAAa,iCAITC,eAAAA,OAAO,sCAAsC;CAC/C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { mixpanel } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/remove-from-list-property.d.ts
@@ -13,14 +15,7 @@ declare const MixpanelRemoveFromListPropertyOutput: z.ZodObject<{
13
15
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
16
  status: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
15
17
  }, z.core.$loose>;
16
- declare const mixpanelRemoveFromListProperty: import("@keystrokehq/action").WorkflowActionDefinition<{
17
- token: string;
18
- distinct_id: string;
19
- remove_properties: Record<string, unknown>;
20
- ip?: string | undefined;
21
- time?: number | undefined;
22
- ignore_time?: boolean | undefined;
23
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
18
+ declare const mixpanelRemoveFromListProperty: AppAction<typeof MixpanelRemoveFromListPropertyInput, typeof MixpanelRemoveFromListPropertyOutput, typeof mixpanel.credential>;
24
19
  //#endregion
25
20
  export { mixpanelRemoveFromListProperty };
26
21
  //# sourceMappingURL=remove-from-list-property.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"remove-from-list-property.d.cts","names":[],"sources":["../../src/actions/remove-from-list-property.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;cAQnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;cAKpC,8BAAA,gCAA8B,wBAAA;;;qBAMzC,MAAA"}
1
+ {"version":3,"file":"remove-from-list-property.d.cts","names":[],"sources":["../../src/actions/remove-from-list-property.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;cAQnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;cAKpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { mixpanel } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/remove-from-list-property.d.ts
@@ -13,14 +15,7 @@ declare const MixpanelRemoveFromListPropertyOutput: z.ZodObject<{
13
15
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
16
  status: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
15
17
  }, z.core.$loose>;
16
- declare const mixpanelRemoveFromListProperty: import("@keystrokehq/action").WorkflowActionDefinition<{
17
- token: string;
18
- distinct_id: string;
19
- remove_properties: Record<string, unknown>;
20
- ip?: string | undefined;
21
- time?: number | undefined;
22
- ignore_time?: boolean | undefined;
23
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
18
+ declare const mixpanelRemoveFromListProperty: AppAction<typeof MixpanelRemoveFromListPropertyInput, typeof MixpanelRemoveFromListPropertyOutput, typeof mixpanel.credential>;
24
19
  //#endregion
25
20
  export { mixpanelRemoveFromListProperty };
26
21
  //# sourceMappingURL=remove-from-list-property.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"remove-from-list-property.d.mts","names":[],"sources":["../../src/actions/remove-from-list-property.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;cAQnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;cAKpC,8BAAA,gCAA8B,wBAAA;;;qBAMzC,MAAA"}
1
+ {"version":3,"file":"remove-from-list-property.d.mts","names":[],"sources":["../../src/actions/remove-from-list-property.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;cAQnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;cAKpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,QAAA,CAAS,UAAA"}