@keystrokehq/mixpanel 0.1.4 → 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 -30
  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 -30
  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 -29
  14. package/dist/actions/aggregate-events.d.cts.map +1 -1
  15. package/dist/actions/aggregate-events.d.mts +3 -29
  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 -30
  22. package/dist/actions/aggregated-event-property-values.d.cts.map +1 -1
  23. package/dist/actions/aggregated-event-property-values.d.mts +3 -30
  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 -20
  30. package/dist/actions/cohorts-list.d.cts.map +1 -1
  31. package/dist/actions/cohorts-list.d.mts +3 -20
  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 -20
  38. package/dist/actions/create-annotation-tag.d.cts.map +1 -1
  39. package/dist/actions/create-annotation-tag.d.mts +3 -20
  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 -23
  46. package/dist/actions/create-identity.d.cts.map +1 -1
  47. package/dist/actions/create-identity.d.mts +3 -23
  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 -27
  54. package/dist/actions/create-service-account.d.cts.map +1 -1
  55. package/dist/actions/create-service-account.d.mts +3 -27
  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 -22
  62. package/dist/actions/delete-group.d.cts.map +1 -1
  63. package/dist/actions/delete-group.d.mts +3 -22
  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 -25
  70. package/dist/actions/delete-profile-batch.d.cts.map +1 -1
  71. package/dist/actions/delete-profile-batch.d.mts +3 -25
  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 -25
  78. package/dist/actions/delete-profile-property.d.cts.map +1 -1
  79. package/dist/actions/delete-profile-property.d.mts +3 -25
  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 -23
  86. package/dist/actions/delete-profile.d.cts.map +1 -1
  87. package/dist/actions/delete-profile.d.mts +3 -23
  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 -17
  94. package/dist/actions/get-all-projects.d.cts.map +1 -1
  95. package/dist/actions/get-all-projects.d.mts +3 -17
  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 -19
  102. package/dist/actions/get-annotation-tags-alt1.d.cts.map +1 -1
  103. package/dist/actions/get-annotation-tags-alt1.d.mts +3 -19
  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 -31
  110. package/dist/actions/group-batch-update.d.cts.map +1 -1
  111. package/dist/actions/group-batch-update.d.mts +3 -31
  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 -22
  118. package/dist/actions/group-delete-property.d.cts.map +1 -1
  119. package/dist/actions/group-delete-property.d.mts +3 -22
  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 -21
  126. package/dist/actions/identity-create-alias.d.cts.map +1 -1
  127. package/dist/actions/identity-create-alias.d.mts +3 -21
  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 -22
  134. package/dist/actions/jql-query.d.cts.map +1 -1
  135. package/dist/actions/jql-query.d.mts +3 -22
  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 -20
  142. package/dist/actions/list-funnels.d.cts.map +1 -1
  143. package/dist/actions/list-funnels.d.mts +3 -20
  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 -19
  150. package/dist/actions/list-service-accounts.d.cts.map +1 -1
  151. package/dist/actions/list-service-accounts.d.mts +3 -19
  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 -27
  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 -27
  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 -35
  166. package/dist/actions/profile-batch-update.d.cts.map +1 -1
  167. package/dist/actions/profile-batch-update.d.mts +3 -35
  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 -23
  174. package/dist/actions/profile-event-activity.d.cts.map +1 -1
  175. package/dist/actions/profile-event-activity.d.mts +3 -23
  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 -25
  182. package/dist/actions/profile-numerical-add.d.cts.map +1 -1
  183. package/dist/actions/profile-numerical-add.d.mts +3 -25
  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 -27
  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 -27
  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 -24
  198. package/dist/actions/profile-set.d.cts.map +1 -1
  199. package/dist/actions/profile-set.d.mts +3 -24
  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 -28
  206. package/dist/actions/query-frequency-report.d.cts.map +1 -1
  207. package/dist/actions/query-frequency-report.d.mts +3 -28
  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 -30
  214. package/dist/actions/query-funnel.d.cts.map +1 -1
  215. package/dist/actions/query-funnel.d.mts +3 -30
  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 -21
  222. package/dist/actions/query-insight.d.cts.map +1 -1
  223. package/dist/actions/query-insight.d.mts +3 -21
  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 -26
  230. package/dist/actions/query-numeric-average.d.cts.map +1 -1
  231. package/dist/actions/query-numeric-average.d.mts +3 -26
  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 -26
  238. package/dist/actions/query-numeric-sum.d.cts.map +1 -1
  239. package/dist/actions/query-numeric-sum.d.mts +3 -26
  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 -31
  246. package/dist/actions/query-profiles.d.cts.map +1 -1
  247. package/dist/actions/query-profiles.d.mts +3 -31
  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 -32
  254. package/dist/actions/query-retention-report.d.cts.map +1 -1
  255. package/dist/actions/query-retention-report.d.mts +3 -32
  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 -28
  262. package/dist/actions/query-segmentation.d.cts.map +1 -1
  263. package/dist/actions/query-segmentation.d.mts +3 -28
  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 -22
  270. package/dist/actions/query-top-events.d.cts.map +1 -1
  271. package/dist/actions/query-top-events.d.mts +3 -22
  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 -25
  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 -25
  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 -24
  286. package/dist/actions/remove-from-list-property.d.cts.map +1 -1
  287. package/dist/actions/remove-from-list-property.d.mts +3 -24
  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 -28
  294. package/dist/actions/segmentation-numeric-query.d.cts.map +1 -1
  295. package/dist/actions/segmentation-numeric-query.d.mts +3 -28
  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 -22
  302. package/dist/actions/set-group-property-once.d.cts.map +1 -1
  303. package/dist/actions/set-group-property-once.d.mts +3 -22
  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 -24
  310. package/dist/actions/set-profile-property-once.d.cts.map +1 -1
  311. package/dist/actions/set-profile-property-once.d.mts +3 -24
  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 -22
  318. package/dist/actions/top-event-properties.d.cts.map +1 -1
  319. package/dist/actions/top-event-properties.d.mts +3 -22
  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 -23
  326. package/dist/actions/top-event-property-values.d.cts.map +1 -1
  327. package/dist/actions/top-event-property-values.d.mts +3 -23
  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 -22
  334. package/dist/actions/top-events.d.cts.map +1 -1
  335. package/dist/actions/top-events.d.mts +3 -22
  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 -28
  342. package/dist/actions/update-group-list-property.d.cts.map +1 -1
  343. package/dist/actions/update-group-list-property.d.mts +3 -28
  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 +6 -5
  348. package/dist/app.cjs.map +1 -1
  349. package/dist/app.d.cts +4 -6
  350. package/dist/app.d.cts.map +1 -1
  351. package/dist/app.d.mts +4 -6
  352. package/dist/app.d.mts.map +1 -1
  353. package/dist/app.mjs +0 -1
  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":"set-group-property-once.cjs","names":["z","action"],"sources":["../../src/actions/set-group-property-once.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelSetGroupPropertyOnceInput = z.object({\n token: z.string().describe(\"Project authentication token for Mixpanel API authentication\"),\n group_id: z.string().describe(\"Unique identifier for the specific group instance\"),\n group_key: z.string().describe(\"Group type identifier (e.g., 'Company', 'Organization', 'Team'). This defines the category of the group.\"),\n properties: z.record(z.string(), z.unknown()).describe(\"Key-value pairs of properties to set on the group profile. Properties will only be set if they don't already exist on the group.\"),\n}).describe(\"Request model for setting group properties only once (if not already set).\");\nexport const MixpanelSetGroupPropertyOnceOutput = z.object({\n code: z.number().int().describe(\"HTTP status code (200 for success)\").nullable().optional(),\n error: z.string().describe(\"Error message if the request failed\").nullable().optional(),\n status: z.union([z.string(), z.number().int()]),\n}).passthrough().describe(\"Response model for group property set once operation.\");\n\nexport const mixpanelSetGroupPropertyOnce = action(\"MIXPANEL_SET_GROUP_PROPERTY_ONCE\", {\n slug: \"mixpanel-set-group-property-once\",\n name: \"Set Group Property Once\",\n description: \"Tool to set properties on a Mixpanel group profile only if they don't already exist. Use when you need to set initial properties for a group without overwriting existing values. Ideal for setting default values or tracking when a group was first created. Properties that already exist will not be modified.\",\n input: MixpanelSetGroupPropertyOnceInput,\n output: MixpanelSetGroupPropertyOnceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;CACzF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CACjF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G;CACzI,YAAYA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kIAAkI;AAC3L,CAAC,CAAC,CAAC,SAAS,4EAA4E;AACxF,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,QAAQA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;AAChD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAEjF,MAAa,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"set-group-property-once.cjs","names":["z","action"],"sources":["../../src/actions/set-group-property-once.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 MixpanelSetGroupPropertyOnceInput = z.object({\n token: z.string().describe(\"Project authentication token for Mixpanel API authentication\"),\n group_id: z.string().describe(\"Unique identifier for the specific group instance\"),\n group_key: z.string().describe(\"Group type identifier (e.g., 'Company', 'Organization', 'Team'). This defines the category of the group.\"),\n properties: z.record(z.string(), z.unknown()).describe(\"Key-value pairs of properties to set on the group profile. Properties will only be set if they don't already exist on the group.\"),\n}).describe(\"Request model for setting group properties only once (if not already set).\");\nexport const MixpanelSetGroupPropertyOnceOutput = z.object({\n code: z.number().int().describe(\"HTTP status code (200 for success)\").nullable().optional(),\n error: z.string().describe(\"Error message if the request failed\").nullable().optional(),\n status: z.union([z.string(), z.number().int()]),\n}).passthrough().describe(\"Response model for group property set once operation.\");\n\nexport const mixpanelSetGroupPropertyOnce: AppAction<\n typeof MixpanelSetGroupPropertyOnceInput,\n typeof MixpanelSetGroupPropertyOnceOutput,\n typeof mixpanel.credential\n> = action(\"MIXPANEL_SET_GROUP_PROPERTY_ONCE\", {\n slug: \"mixpanel-set-group-property-once\",\n name: \"Set Group Property Once\",\n description: \"Tool to set properties on a Mixpanel group profile only if they don't already exist. Use when you need to set initial properties for a group without overwriting existing values. Ideal for setting default values or tracking when a group was first created. Properties that already exist will not be modified.\",\n input: MixpanelSetGroupPropertyOnceInput,\n output: MixpanelSetGroupPropertyOnceOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;CACzF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CACjF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G;CACzI,YAAYA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kIAAkI;AAC3L,CAAC,CAAC,CAAC,SAAS,4EAA4E;AACxF,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,QAAQA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;AAChD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAEjF,MAAa,+BAITC,eAAAA,OAAO,oCAAoC;CAC7C,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/set-group-property-once.d.ts
@@ -12,28 +14,7 @@ declare const MixpanelSetGroupPropertyOnceOutput: z.ZodObject<{
12
14
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
15
  status: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
14
16
  }, z.core.$loose>;
15
- declare const mixpanelSetGroupPropertyOnce: import("@keystrokehq/action").WorkflowActionDefinition<{
16
- token: string;
17
- group_id: string;
18
- group_key: string;
19
- properties: Record<string, unknown>;
20
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
21
- connectionId: z.ZodString;
22
- entityId: z.ZodString;
23
- instanceId: z.ZodString;
24
- }, z.core.$strip>, z.ZodObject<{
25
- username: z.ZodString;
26
- password: z.ZodString;
27
- region: z.ZodString;
28
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
29
- connectionId: z.ZodString;
30
- entityId: z.ZodString;
31
- instanceId: z.ZodString;
32
- }, z.core.$strip>, z.ZodObject<{
33
- username: z.ZodString;
34
- password: z.ZodString;
35
- region: z.ZodString;
36
- }, z.core.$strip>>]>;
17
+ declare const mixpanelSetGroupPropertyOnce: AppAction<typeof MixpanelSetGroupPropertyOnceInput, typeof MixpanelSetGroupPropertyOnceOutput, typeof mixpanel.credential>;
37
18
  //#endregion
38
19
  export { mixpanelSetGroupPropertyOnce };
39
20
  //# sourceMappingURL=set-group-property-once.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"set-group-property-once.d.cts","names":[],"sources":["../../src/actions/set-group-property-once.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;cAMjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;cAMlC,4BAAA,gCAA4B,wBAAA"}
1
+ {"version":3,"file":"set-group-property-once.d.cts","names":[],"sources":["../../src/actions/set-group-property-once.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;cAMjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;cAMlC,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/set-group-property-once.d.ts
@@ -12,28 +14,7 @@ declare const MixpanelSetGroupPropertyOnceOutput: z.ZodObject<{
12
14
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
15
  status: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
14
16
  }, z.core.$loose>;
15
- declare const mixpanelSetGroupPropertyOnce: import("@keystrokehq/action").WorkflowActionDefinition<{
16
- token: string;
17
- group_id: string;
18
- group_key: string;
19
- properties: Record<string, unknown>;
20
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
21
- connectionId: z.ZodString;
22
- entityId: z.ZodString;
23
- instanceId: z.ZodString;
24
- }, z.core.$strip>, z.ZodObject<{
25
- username: z.ZodString;
26
- password: z.ZodString;
27
- region: z.ZodString;
28
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
29
- connectionId: z.ZodString;
30
- entityId: z.ZodString;
31
- instanceId: z.ZodString;
32
- }, z.core.$strip>, z.ZodObject<{
33
- username: z.ZodString;
34
- password: z.ZodString;
35
- region: z.ZodString;
36
- }, z.core.$strip>>]>;
17
+ declare const mixpanelSetGroupPropertyOnce: AppAction<typeof MixpanelSetGroupPropertyOnceInput, typeof MixpanelSetGroupPropertyOnceOutput, typeof mixpanel.credential>;
37
18
  //#endregion
38
19
  export { mixpanelSetGroupPropertyOnce };
39
20
  //# sourceMappingURL=set-group-property-once.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"set-group-property-once.d.mts","names":[],"sources":["../../src/actions/set-group-property-once.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;cAMjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;cAMlC,4BAAA,gCAA4B,wBAAA"}
1
+ {"version":3,"file":"set-group-property-once.d.mts","names":[],"sources":["../../src/actions/set-group-property-once.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;cAMjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;cAMlC,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 mixpanelSetGroupPropertyOnce = action("MIXPANEL_SET_GROUP_PROPERTY_ONCE", {
@@ -1 +1 @@
1
- {"version":3,"file":"set-group-property-once.mjs","names":[],"sources":["../../src/actions/set-group-property-once.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelSetGroupPropertyOnceInput = z.object({\n token: z.string().describe(\"Project authentication token for Mixpanel API authentication\"),\n group_id: z.string().describe(\"Unique identifier for the specific group instance\"),\n group_key: z.string().describe(\"Group type identifier (e.g., 'Company', 'Organization', 'Team'). This defines the category of the group.\"),\n properties: z.record(z.string(), z.unknown()).describe(\"Key-value pairs of properties to set on the group profile. Properties will only be set if they don't already exist on the group.\"),\n}).describe(\"Request model for setting group properties only once (if not already set).\");\nexport const MixpanelSetGroupPropertyOnceOutput = z.object({\n code: z.number().int().describe(\"HTTP status code (200 for success)\").nullable().optional(),\n error: z.string().describe(\"Error message if the request failed\").nullable().optional(),\n status: z.union([z.string(), z.number().int()]),\n}).passthrough().describe(\"Response model for group property set once operation.\");\n\nexport const mixpanelSetGroupPropertyOnce = action(\"MIXPANEL_SET_GROUP_PROPERTY_ONCE\", {\n slug: \"mixpanel-set-group-property-once\",\n name: \"Set Group Property Once\",\n description: \"Tool to set properties on a Mixpanel group profile only if they don't already exist. Use when you need to set initial properties for a group without overwriting existing values. Ideal for setting default values or tracking when a group was first created. Properties that already exist will not be modified.\",\n input: MixpanelSetGroupPropertyOnceInput,\n output: MixpanelSetGroupPropertyOnceOutput,\n});\n"],"mappings":";;AAgBA,MAAa,+BAA+B,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB+C,EAAE,OAAO;EACxD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;EACzF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;EACjF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G;EACzI,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kIAAkI;CAC3L,CAAC,CAAC,CAAC,SAAS,4EAWH;CACP,QAXgD,EAAE,OAAO;EACzD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,QAAQ,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;CAChD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"set-group-property-once.mjs","names":[],"sources":["../../src/actions/set-group-property-once.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 MixpanelSetGroupPropertyOnceInput = z.object({\n token: z.string().describe(\"Project authentication token for Mixpanel API authentication\"),\n group_id: z.string().describe(\"Unique identifier for the specific group instance\"),\n group_key: z.string().describe(\"Group type identifier (e.g., 'Company', 'Organization', 'Team'). This defines the category of the group.\"),\n properties: z.record(z.string(), z.unknown()).describe(\"Key-value pairs of properties to set on the group profile. Properties will only be set if they don't already exist on the group.\"),\n}).describe(\"Request model for setting group properties only once (if not already set).\");\nexport const MixpanelSetGroupPropertyOnceOutput = z.object({\n code: z.number().int().describe(\"HTTP status code (200 for success)\").nullable().optional(),\n error: z.string().describe(\"Error message if the request failed\").nullable().optional(),\n status: z.union([z.string(), z.number().int()]),\n}).passthrough().describe(\"Response model for group property set once operation.\");\n\nexport const mixpanelSetGroupPropertyOnce: AppAction<\n typeof MixpanelSetGroupPropertyOnceInput,\n typeof MixpanelSetGroupPropertyOnceOutput,\n typeof mixpanel.credential\n> = action(\"MIXPANEL_SET_GROUP_PROPERTY_ONCE\", {\n slug: \"mixpanel-set-group-property-once\",\n name: \"Set Group Property Once\",\n description: \"Tool to set properties on a Mixpanel group profile only if they don't already exist. Use when you need to set initial properties for a group without overwriting existing values. Ideal for setting default values or tracking when a group was first created. Properties that already exist will not be modified.\",\n input: MixpanelSetGroupPropertyOnceInput,\n output: MixpanelSetGroupPropertyOnceOutput,\n});\n"],"mappings":";;;AAkBA,MAAa,+BAIT,OAAO,oCAAoC;CAC7C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApB+C,EAAE,OAAO;EACxD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;EACzF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;EACjF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G;EACzI,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kIAAkI;CAC3L,CAAC,CAAC,CAAC,SAAS,4EAeH;CACP,QAfgD,EAAE,OAAO;EACzD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,QAAQ,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;CAChD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAWhB;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/set-profile-property-once.ts
@@ -1 +1 @@
1
- {"version":3,"file":"set-profile-property-once.cjs","names":["z","action"],"sources":["../../src/actions/set-profile-property-once.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelSetProfilePropertyOnceInput = z.object({\n ip: z.string().describe(\"IP address for geolocation enrichment. Set to '0' to prevent updating geolocation data. If not provided, Mixpanel uses the request IP. Geolocation properties ($city, $region, mp_country_code) are derived and the IP is discarded.\").optional(),\n time: z.number().int().describe(\"Unix timestamp (seconds since epoch) indicating when the profile update occurred. Defaults to the current server time if not provided.\").optional(),\n token: z.string().describe(\"Your Mixpanel project authentication token. Required for authenticating the request.\"),\n distinct_id: z.string().describe(\"The unique identifier for the user profile to update. This determines which profile will be modified.\"),\n ignore_time: z.boolean().describe(\"If true, prevents Mixpanel from automatically updating the 'Last Seen' property. Defaults to false.\").optional(),\n set_once_properties: z.record(z.string(), z.unknown()).describe(\"A dictionary of properties to set on the user profile only if they don't already exist. If a property already has a value, it will not be overwritten. Useful for tracking initial values like 'First Login', 'Signup Source', 'Initial Referrer', etc.\"),\n}).describe(\"Request model for setting user profile properties once (only if not already set).\");\nexport const MixpanelSetProfilePropertyOnceOutput = 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 profile set once operation.\");\n\nexport const mixpanelSetProfilePropertyOnce = action(\"MIXPANEL_SET_PROFILE_PROPERTY_ONCE\", {\n slug: \"mixpanel-set-profile-property-once\",\n name: \"Set Profile Property Once\",\n description: \"Tool to set user profile properties in Mixpanel using the $set_once operation. Use when you need to set properties that should only be recorded on their initial value. Properties specified will be created only if they don't already exist on the profile. If a property already has a value, it will not be overwritten. Ideal for tracking first-time values like signup source, initial referrer, or first login date.\",\n input: MixpanelSetProfilePropertyOnceInput,\n output: MixpanelSetProfilePropertyOnceOutput,\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,qBAAqBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yPAAyP;AAC3T,CAAC,CAAC,CAAC,SAAS,mFAAmF;AAC/F,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,gDAAgD;AAE1E,MAAa,iCAAiCC,eAAAA,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"set-profile-property-once.cjs","names":["z","action"],"sources":["../../src/actions/set-profile-property-once.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 MixpanelSetProfilePropertyOnceInput = z.object({\n ip: z.string().describe(\"IP address for geolocation enrichment. Set to '0' to prevent updating geolocation data. If not provided, Mixpanel uses the request IP. Geolocation properties ($city, $region, mp_country_code) are derived and the IP is discarded.\").optional(),\n time: z.number().int().describe(\"Unix timestamp (seconds since epoch) indicating when the profile update occurred. Defaults to the current server time if not provided.\").optional(),\n token: z.string().describe(\"Your Mixpanel project authentication token. Required for authenticating the request.\"),\n distinct_id: z.string().describe(\"The unique identifier for the user profile to update. This determines which profile will be modified.\"),\n ignore_time: z.boolean().describe(\"If true, prevents Mixpanel from automatically updating the 'Last Seen' property. Defaults to false.\").optional(),\n set_once_properties: z.record(z.string(), z.unknown()).describe(\"A dictionary of properties to set on the user profile only if they don't already exist. If a property already has a value, it will not be overwritten. Useful for tracking initial values like 'First Login', 'Signup Source', 'Initial Referrer', etc.\"),\n}).describe(\"Request model for setting user profile properties once (only if not already set).\");\nexport const MixpanelSetProfilePropertyOnceOutput = 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 profile set once operation.\");\n\nexport const mixpanelSetProfilePropertyOnce: AppAction<\n typeof MixpanelSetProfilePropertyOnceInput,\n typeof MixpanelSetProfilePropertyOnceOutput,\n typeof mixpanel.credential\n> = action(\"MIXPANEL_SET_PROFILE_PROPERTY_ONCE\", {\n slug: \"mixpanel-set-profile-property-once\",\n name: \"Set Profile Property Once\",\n description: \"Tool to set user profile properties in Mixpanel using the $set_once operation. Use when you need to set properties that should only be recorded on their initial value. Properties specified will be created only if they don't already exist on the profile. If a property already has a value, it will not be overwritten. Ideal for tracking first-time values like signup source, initial referrer, or first login date.\",\n input: MixpanelSetProfilePropertyOnceInput,\n output: MixpanelSetProfilePropertyOnceOutput,\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,qBAAqBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yPAAyP;AAC3T,CAAC,CAAC,CAAC,SAAS,mFAAmF;AAC/F,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,gDAAgD;AAE1E,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/set-profile-property-once.d.ts
@@ -13,30 +15,7 @@ declare const MixpanelSetProfilePropertyOnceOutput: 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 mixpanelSetProfilePropertyOnce: import("@keystrokehq/action").WorkflowActionDefinition<{
17
- token: string;
18
- distinct_id: string;
19
- set_once_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<"mixpanel", z.ZodObject<{
24
- connectionId: z.ZodString;
25
- entityId: z.ZodString;
26
- instanceId: z.ZodString;
27
- }, z.core.$strip>, z.ZodObject<{
28
- username: z.ZodString;
29
- password: z.ZodString;
30
- region: z.ZodString;
31
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
32
- connectionId: z.ZodString;
33
- entityId: z.ZodString;
34
- instanceId: z.ZodString;
35
- }, z.core.$strip>, z.ZodObject<{
36
- username: z.ZodString;
37
- password: z.ZodString;
38
- region: z.ZodString;
39
- }, z.core.$strip>>]>;
18
+ declare const mixpanelSetProfilePropertyOnce: AppAction<typeof MixpanelSetProfilePropertyOnceInput, typeof MixpanelSetProfilePropertyOnceOutput, typeof mixpanel.credential>;
40
19
  //#endregion
41
20
  export { mixpanelSetProfilePropertyOnce };
42
21
  //# sourceMappingURL=set-profile-property-once.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"set-profile-property-once.d.cts","names":[],"sources":["../../src/actions/set-profile-property-once.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;cAQnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;cAKpC,8BAAA,gCAA8B,wBAAA"}
1
+ {"version":3,"file":"set-profile-property-once.d.cts","names":[],"sources":["../../src/actions/set-profile-property-once.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/set-profile-property-once.d.ts
@@ -13,30 +15,7 @@ declare const MixpanelSetProfilePropertyOnceOutput: 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 mixpanelSetProfilePropertyOnce: import("@keystrokehq/action").WorkflowActionDefinition<{
17
- token: string;
18
- distinct_id: string;
19
- set_once_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<"mixpanel", z.ZodObject<{
24
- connectionId: z.ZodString;
25
- entityId: z.ZodString;
26
- instanceId: z.ZodString;
27
- }, z.core.$strip>, z.ZodObject<{
28
- username: z.ZodString;
29
- password: z.ZodString;
30
- region: z.ZodString;
31
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
32
- connectionId: z.ZodString;
33
- entityId: z.ZodString;
34
- instanceId: z.ZodString;
35
- }, z.core.$strip>, z.ZodObject<{
36
- username: z.ZodString;
37
- password: z.ZodString;
38
- region: z.ZodString;
39
- }, z.core.$strip>>]>;
18
+ declare const mixpanelSetProfilePropertyOnce: AppAction<typeof MixpanelSetProfilePropertyOnceInput, typeof MixpanelSetProfilePropertyOnceOutput, typeof mixpanel.credential>;
40
19
  //#endregion
41
20
  export { mixpanelSetProfilePropertyOnce };
42
21
  //# sourceMappingURL=set-profile-property-once.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"set-profile-property-once.d.mts","names":[],"sources":["../../src/actions/set-profile-property-once.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;cAQnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;cAKpC,8BAAA,gCAA8B,wBAAA"}
1
+ {"version":3,"file":"set-profile-property-once.d.mts","names":[],"sources":["../../src/actions/set-profile-property-once.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,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const mixpanelSetProfilePropertyOnce = action("MIXPANEL_SET_PROFILE_PROPERTY_ONCE", {
@@ -1 +1 @@
1
- {"version":3,"file":"set-profile-property-once.mjs","names":[],"sources":["../../src/actions/set-profile-property-once.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelSetProfilePropertyOnceInput = z.object({\n ip: z.string().describe(\"IP address for geolocation enrichment. Set to '0' to prevent updating geolocation data. If not provided, Mixpanel uses the request IP. Geolocation properties ($city, $region, mp_country_code) are derived and the IP is discarded.\").optional(),\n time: z.number().int().describe(\"Unix timestamp (seconds since epoch) indicating when the profile update occurred. Defaults to the current server time if not provided.\").optional(),\n token: z.string().describe(\"Your Mixpanel project authentication token. Required for authenticating the request.\"),\n distinct_id: z.string().describe(\"The unique identifier for the user profile to update. This determines which profile will be modified.\"),\n ignore_time: z.boolean().describe(\"If true, prevents Mixpanel from automatically updating the 'Last Seen' property. Defaults to false.\").optional(),\n set_once_properties: z.record(z.string(), z.unknown()).describe(\"A dictionary of properties to set on the user profile only if they don't already exist. If a property already has a value, it will not be overwritten. Useful for tracking initial values like 'First Login', 'Signup Source', 'Initial Referrer', etc.\"),\n}).describe(\"Request model for setting user profile properties once (only if not already set).\");\nexport const MixpanelSetProfilePropertyOnceOutput = 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 profile set once operation.\");\n\nexport const mixpanelSetProfilePropertyOnce = action(\"MIXPANEL_SET_PROFILE_PROPERTY_ONCE\", {\n slug: \"mixpanel-set-profile-property-once\",\n name: \"Set Profile Property Once\",\n description: \"Tool to set user profile properties in Mixpanel using the $set_once operation. Use when you need to set properties that should only be recorded on their initial value. Properties specified will be created only if they don't already exist on the profile. If a property already has a value, it will not be overwritten. Ideal for tracking first-time values like signup source, initial referrer, or first login date.\",\n input: MixpanelSetProfilePropertyOnceInput,\n output: MixpanelSetProfilePropertyOnceOutput,\n});\n"],"mappings":";;AAiBA,MAAa,iCAAiC,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBiD,EAAE,OAAO;EAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sOAAsO,CAAC,CAAC,SAAS;EACzQ,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;EACnL,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF;EACjH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;EACxI,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;EAClJ,qBAAqB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yPAAyP;CAC3T,CAAC,CAAC,CAAC,SAAS,mFAUH;CACP,QAVkD,EAAE,OAAO;EAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,QAAQ,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;CAChD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"set-profile-property-once.mjs","names":[],"sources":["../../src/actions/set-profile-property-once.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 MixpanelSetProfilePropertyOnceInput = z.object({\n ip: z.string().describe(\"IP address for geolocation enrichment. Set to '0' to prevent updating geolocation data. If not provided, Mixpanel uses the request IP. Geolocation properties ($city, $region, mp_country_code) are derived and the IP is discarded.\").optional(),\n time: z.number().int().describe(\"Unix timestamp (seconds since epoch) indicating when the profile update occurred. Defaults to the current server time if not provided.\").optional(),\n token: z.string().describe(\"Your Mixpanel project authentication token. Required for authenticating the request.\"),\n distinct_id: z.string().describe(\"The unique identifier for the user profile to update. This determines which profile will be modified.\"),\n ignore_time: z.boolean().describe(\"If true, prevents Mixpanel from automatically updating the 'Last Seen' property. Defaults to false.\").optional(),\n set_once_properties: z.record(z.string(), z.unknown()).describe(\"A dictionary of properties to set on the user profile only if they don't already exist. If a property already has a value, it will not be overwritten. Useful for tracking initial values like 'First Login', 'Signup Source', 'Initial Referrer', etc.\"),\n}).describe(\"Request model for setting user profile properties once (only if not already set).\");\nexport const MixpanelSetProfilePropertyOnceOutput = 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 profile set once operation.\");\n\nexport const mixpanelSetProfilePropertyOnce: AppAction<\n typeof MixpanelSetProfilePropertyOnceInput,\n typeof MixpanelSetProfilePropertyOnceOutput,\n typeof mixpanel.credential\n> = action(\"MIXPANEL_SET_PROFILE_PROPERTY_ONCE\", {\n slug: \"mixpanel-set-profile-property-once\",\n name: \"Set Profile Property Once\",\n description: \"Tool to set user profile properties in Mixpanel using the $set_once operation. Use when you need to set properties that should only be recorded on their initial value. Properties specified will be created only if they don't already exist on the profile. If a property already has a value, it will not be overwritten. Ideal for tracking first-time values like signup source, initial referrer, or first login date.\",\n input: MixpanelSetProfilePropertyOnceInput,\n output: MixpanelSetProfilePropertyOnceOutput,\n});\n"],"mappings":";;;AAmBA,MAAa,iCAIT,OAAO,sCAAsC;CAC/C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArBiD,EAAE,OAAO;EAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sOAAsO,CAAC,CAAC,SAAS;EACzQ,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;EACnL,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF;EACjH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;EACxI,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;EAClJ,qBAAqB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yPAAyP;CAC3T,CAAC,CAAC,CAAC,SAAS,mFAcH;CACP,QAdkD,EAAE,OAAO;EAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,QAAQ,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;CAChD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAWhB;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/top-event-properties.ts
@@ -1 +1 @@
1
- {"version":3,"file":"top-event-properties.cjs","names":["z","action"],"sources":["../../src/actions/top-event-properties.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelTopEventPropertiesInput = z.object({\n event: z.string().describe(\"The event that you wish to get data for. Note: this is a single event name, not an array\"),\n limit: z.number().int().default(10).describe(\"The maximum number of properties to return\").optional(),\n project_id: z.number().int().describe(\"Required if using service account to authenticate request\"),\n workspace_id: z.number().int().describe(\"The id of the workspace if applicable\").optional(),\n}).describe(\"Request model for getting top event properties\");\nexport const MixpanelTopEventPropertiesOutput = z.record(z.string(), z.unknown()).describe(\"Response model for top event properties data.\\nDynamic object where each key is a property name that has been tracked with the event.\\nReturns the top property names and their occurrence counts.\\nExample: {\\\"ad version\\\": {\\\"count\\\": 295}, \\\"user type\\\": {\\\"count\\\": 91}}\");\n\nexport const mixpanelTopEventProperties = action(\"MIXPANEL_TOP_EVENT_PROPERTIES\", {\n slug: \"mixpanel-top-event-properties\",\n name: \"Get Top Event Properties\",\n description: \"Get the top property names for an event. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.\",\n input: MixpanelTopEventPropertiesInput,\n output: MixpanelTopEventPropertiesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F;CACrH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACpG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;CACjG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAa,mCAAmCA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iRAAiR;AAE5W,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"top-event-properties.cjs","names":["z","action"],"sources":["../../src/actions/top-event-properties.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 MixpanelTopEventPropertiesInput = z.object({\n event: z.string().describe(\"The event that you wish to get data for. Note: this is a single event name, not an array\"),\n limit: z.number().int().default(10).describe(\"The maximum number of properties to return\").optional(),\n project_id: z.number().int().describe(\"Required if using service account to authenticate request\"),\n workspace_id: z.number().int().describe(\"The id of the workspace if applicable\").optional(),\n}).describe(\"Request model for getting top event properties\");\nexport const MixpanelTopEventPropertiesOutput = z.record(z.string(), z.unknown()).describe(\"Response model for top event properties data.\\nDynamic object where each key is a property name that has been tracked with the event.\\nReturns the top property names and their occurrence counts.\\nExample: {\\\"ad version\\\": {\\\"count\\\": 295}, \\\"user type\\\": {\\\"count\\\": 91}}\");\n\nexport const mixpanelTopEventProperties: AppAction<\n typeof MixpanelTopEventPropertiesInput,\n typeof MixpanelTopEventPropertiesOutput,\n typeof mixpanel.credential\n> = action(\"MIXPANEL_TOP_EVENT_PROPERTIES\", {\n slug: \"mixpanel-top-event-properties\",\n name: \"Get Top Event Properties\",\n description: \"Get the top property names for an event. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.\",\n input: MixpanelTopEventPropertiesInput,\n output: MixpanelTopEventPropertiesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F;CACrH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACpG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;CACjG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAa,mCAAmCA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iRAAiR;AAE5W,MAAa,6BAITC,eAAAA,OAAO,iCAAiC;CAC1C,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/top-event-properties.d.ts
@@ -8,28 +10,7 @@ declare const MixpanelTopEventPropertiesInput: z.ZodObject<{
8
10
  workspace_id: z.ZodOptional<z.ZodNumber>;
9
11
  }, z.core.$strip>;
10
12
  declare const MixpanelTopEventPropertiesOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
11
- declare const mixpanelTopEventProperties: import("@keystrokehq/action").WorkflowActionDefinition<{
12
- event: string;
13
- project_id: number;
14
- limit?: number | undefined;
15
- workspace_id?: number | undefined;
16
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
17
- connectionId: z.ZodString;
18
- entityId: z.ZodString;
19
- instanceId: z.ZodString;
20
- }, z.core.$strip>, z.ZodObject<{
21
- username: z.ZodString;
22
- password: z.ZodString;
23
- region: z.ZodString;
24
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
25
- connectionId: z.ZodString;
26
- entityId: z.ZodString;
27
- instanceId: z.ZodString;
28
- }, z.core.$strip>, z.ZodObject<{
29
- username: z.ZodString;
30
- password: z.ZodString;
31
- region: z.ZodString;
32
- }, z.core.$strip>>]>;
13
+ declare const mixpanelTopEventProperties: AppAction<typeof MixpanelTopEventPropertiesInput, typeof MixpanelTopEventPropertiesOutput, typeof mixpanel.credential>;
33
14
  //#endregion
34
15
  export { mixpanelTopEventProperties };
35
16
  //# sourceMappingURL=top-event-properties.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"top-event-properties.d.cts","names":[],"sources":["../../src/actions/top-event-properties.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;cAM/B,gCAAA,EAAgC,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAEhC,0BAAA,gCAA0B,wBAAA"}
1
+ {"version":3,"file":"top-event-properties.d.cts","names":[],"sources":["../../src/actions/top-event-properties.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;cAM/B,gCAAA,EAAgC,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAEhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,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/top-event-properties.d.ts
@@ -8,28 +10,7 @@ declare const MixpanelTopEventPropertiesInput: z.ZodObject<{
8
10
  workspace_id: z.ZodOptional<z.ZodNumber>;
9
11
  }, z.core.$strip>;
10
12
  declare const MixpanelTopEventPropertiesOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
11
- declare const mixpanelTopEventProperties: import("@keystrokehq/action").WorkflowActionDefinition<{
12
- event: string;
13
- project_id: number;
14
- limit?: number | undefined;
15
- workspace_id?: number | undefined;
16
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
17
- connectionId: z.ZodString;
18
- entityId: z.ZodString;
19
- instanceId: z.ZodString;
20
- }, z.core.$strip>, z.ZodObject<{
21
- username: z.ZodString;
22
- password: z.ZodString;
23
- region: z.ZodString;
24
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
25
- connectionId: z.ZodString;
26
- entityId: z.ZodString;
27
- instanceId: z.ZodString;
28
- }, z.core.$strip>, z.ZodObject<{
29
- username: z.ZodString;
30
- password: z.ZodString;
31
- region: z.ZodString;
32
- }, z.core.$strip>>]>;
13
+ declare const mixpanelTopEventProperties: AppAction<typeof MixpanelTopEventPropertiesInput, typeof MixpanelTopEventPropertiesOutput, typeof mixpanel.credential>;
33
14
  //#endregion
34
15
  export { mixpanelTopEventProperties };
35
16
  //# sourceMappingURL=top-event-properties.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"top-event-properties.d.mts","names":[],"sources":["../../src/actions/top-event-properties.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;cAM/B,gCAAA,EAAgC,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAEhC,0BAAA,gCAA0B,wBAAA"}
1
+ {"version":3,"file":"top-event-properties.d.mts","names":[],"sources":["../../src/actions/top-event-properties.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;cAM/B,gCAAA,EAAgC,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAEhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,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 mixpanelTopEventProperties = action("MIXPANEL_TOP_EVENT_PROPERTIES", {
@@ -1 +1 @@
1
- {"version":3,"file":"top-event-properties.mjs","names":[],"sources":["../../src/actions/top-event-properties.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelTopEventPropertiesInput = z.object({\n event: z.string().describe(\"The event that you wish to get data for. Note: this is a single event name, not an array\"),\n limit: z.number().int().default(10).describe(\"The maximum number of properties to return\").optional(),\n project_id: z.number().int().describe(\"Required if using service account to authenticate request\"),\n workspace_id: z.number().int().describe(\"The id of the workspace if applicable\").optional(),\n}).describe(\"Request model for getting top event properties\");\nexport const MixpanelTopEventPropertiesOutput = z.record(z.string(), z.unknown()).describe(\"Response model for top event properties data.\\nDynamic object where each key is a property name that has been tracked with the event.\\nReturns the top property names and their occurrence counts.\\nExample: {\\\"ad version\\\": {\\\"count\\\": 295}, \\\"user type\\\": {\\\"count\\\": 91}}\");\n\nexport const mixpanelTopEventProperties = action(\"MIXPANEL_TOP_EVENT_PROPERTIES\", {\n slug: \"mixpanel-top-event-properties\",\n name: \"Get Top Event Properties\",\n description: \"Get the top property names for an event. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.\",\n input: MixpanelTopEventPropertiesInput,\n output: MixpanelTopEventPropertiesOutput,\n});\n"],"mappings":";;AAYA,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ6C,EAAE,OAAO;EACtD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F;EACrH,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACpG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;EACjG,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC5F,CAAC,CAAC,CAAC,SAAS,gDAOH;CACP,QAP8C,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iRAOjF;AACV,CAAC"}
1
+ {"version":3,"file":"top-event-properties.mjs","names":[],"sources":["../../src/actions/top-event-properties.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 MixpanelTopEventPropertiesInput = z.object({\n event: z.string().describe(\"The event that you wish to get data for. Note: this is a single event name, not an array\"),\n limit: z.number().int().default(10).describe(\"The maximum number of properties to return\").optional(),\n project_id: z.number().int().describe(\"Required if using service account to authenticate request\"),\n workspace_id: z.number().int().describe(\"The id of the workspace if applicable\").optional(),\n}).describe(\"Request model for getting top event properties\");\nexport const MixpanelTopEventPropertiesOutput = z.record(z.string(), z.unknown()).describe(\"Response model for top event properties data.\\nDynamic object where each key is a property name that has been tracked with the event.\\nReturns the top property names and their occurrence counts.\\nExample: {\\\"ad version\\\": {\\\"count\\\": 295}, \\\"user type\\\": {\\\"count\\\": 91}}\");\n\nexport const mixpanelTopEventProperties: AppAction<\n typeof MixpanelTopEventPropertiesInput,\n typeof MixpanelTopEventPropertiesOutput,\n typeof mixpanel.credential\n> = action(\"MIXPANEL_TOP_EVENT_PROPERTIES\", {\n slug: \"mixpanel-top-event-properties\",\n name: \"Get Top Event Properties\",\n description: \"Get the top property names for an event. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.\",\n input: MixpanelTopEventPropertiesInput,\n output: MixpanelTopEventPropertiesOutput,\n});\n"],"mappings":";;;AAcA,MAAa,6BAIT,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB6C,EAAE,OAAO;EACtD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F;EACrH,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACpG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;EACjG,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC5F,CAAC,CAAC,CAAC,SAAS,gDAWH;CACP,QAX8C,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iRAWjF;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/top-event-property-values.ts
@@ -1 +1 @@
1
- {"version":3,"file":"top-event-property-values.cjs","names":["z","action"],"sources":["../../src/actions/top-event-property-values.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelTopEventPropertyValuesInput = z.object({\n name: z.string().describe(\"The name of the property you would like to get data for\"),\n event: z.string().describe(\"The event that you wish to get data for. Note: this is a single event name, not an array\"),\n limit: z.number().int().default(255).describe(\"The maximum number of values to return\").optional(),\n project_id: z.number().int().describe(\"Required if using service account to authenticate request\"),\n workspace_id: z.number().int().describe(\"The id of the workspace if applicable\").optional(),\n}).describe(\"Request model for getting top event property values\");\nexport const MixpanelTopEventPropertyValuesOutput = z.object({\n values: z.array(z.string()).describe(\"List of top property values ordered by frequency (most common first)\"),\n}).passthrough().describe(\"Response model for top event property values data\");\n\nexport const mixpanelTopEventPropertyValues = action(\"MIXPANEL_TOP_EVENT_PROPERTY_VALUES\", {\n slug: \"mixpanel-top-event-property-values\",\n name: \"Get Top Event Property Values\",\n description: \"Tool to get the top values for a property ordered by frequency. Use when you need to understand the most common values for a specific property on an event. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries. This limit is shared across all Query API tools (e.g., MIXPANEL_QUERY_SEGMENTATION); on a 429 response, apply exponential backoff.\",\n input: MixpanelTopEventPropertyValuesInput,\n output: MixpanelTopEventPropertyValuesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACnF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F;CACrH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACjG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;CACjG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,EAC3D,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sEAAsE,EAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAE7E,MAAa,iCAAiCC,eAAAA,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"top-event-property-values.cjs","names":["z","action"],"sources":["../../src/actions/top-event-property-values.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 MixpanelTopEventPropertyValuesInput = z.object({\n name: z.string().describe(\"The name of the property you would like to get data for\"),\n event: z.string().describe(\"The event that you wish to get data for. Note: this is a single event name, not an array\"),\n limit: z.number().int().default(255).describe(\"The maximum number of values to return\").optional(),\n project_id: z.number().int().describe(\"Required if using service account to authenticate request\"),\n workspace_id: z.number().int().describe(\"The id of the workspace if applicable\").optional(),\n}).describe(\"Request model for getting top event property values\");\nexport const MixpanelTopEventPropertyValuesOutput = z.object({\n values: z.array(z.string()).describe(\"List of top property values ordered by frequency (most common first)\"),\n}).passthrough().describe(\"Response model for top event property values data\");\n\nexport const mixpanelTopEventPropertyValues: AppAction<\n typeof MixpanelTopEventPropertyValuesInput,\n typeof MixpanelTopEventPropertyValuesOutput,\n typeof mixpanel.credential\n> = action(\"MIXPANEL_TOP_EVENT_PROPERTY_VALUES\", {\n slug: \"mixpanel-top-event-property-values\",\n name: \"Get Top Event Property Values\",\n description: \"Tool to get the top values for a property ordered by frequency. Use when you need to understand the most common values for a specific property on an event. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries. This limit is shared across all Query API tools (e.g., MIXPANEL_QUERY_SEGMENTATION); on a 429 response, apply exponential backoff.\",\n input: MixpanelTopEventPropertyValuesInput,\n output: MixpanelTopEventPropertyValuesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACnF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F;CACrH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACjG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;CACjG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,EAC3D,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sEAAsE,EAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAE7E,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/top-event-property-values.d.ts
@@ -11,29 +13,7 @@ declare const MixpanelTopEventPropertyValuesInput: z.ZodObject<{
11
13
  declare const MixpanelTopEventPropertyValuesOutput: z.ZodObject<{
12
14
  values: z.ZodArray<z.ZodString>;
13
15
  }, z.core.$loose>;
14
- declare const mixpanelTopEventPropertyValues: import("@keystrokehq/action").WorkflowActionDefinition<{
15
- name: string;
16
- event: string;
17
- project_id: number;
18
- limit?: number | undefined;
19
- workspace_id?: number | undefined;
20
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
21
- connectionId: z.ZodString;
22
- entityId: z.ZodString;
23
- instanceId: z.ZodString;
24
- }, z.core.$strip>, z.ZodObject<{
25
- username: z.ZodString;
26
- password: z.ZodString;
27
- region: z.ZodString;
28
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
29
- connectionId: z.ZodString;
30
- entityId: z.ZodString;
31
- instanceId: z.ZodString;
32
- }, z.core.$strip>, z.ZodObject<{
33
- username: z.ZodString;
34
- password: z.ZodString;
35
- region: z.ZodString;
36
- }, z.core.$strip>>]>;
16
+ declare const mixpanelTopEventPropertyValues: AppAction<typeof MixpanelTopEventPropertyValuesInput, typeof MixpanelTopEventPropertyValuesOutput, typeof mixpanel.credential>;
37
17
  //#endregion
38
18
  export { mixpanelTopEventPropertyValues };
39
19
  //# sourceMappingURL=top-event-property-values.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"top-event-property-values.d.cts","names":[],"sources":["../../src/actions/top-event-property-values.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;cAOnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;cAIpC,8BAAA,gCAA8B,wBAAA"}
1
+ {"version":3,"file":"top-event-property-values.d.cts","names":[],"sources":["../../src/actions/top-event-property-values.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;cAOnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;cAIpC,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/top-event-property-values.d.ts
@@ -11,29 +13,7 @@ declare const MixpanelTopEventPropertyValuesInput: z.ZodObject<{
11
13
  declare const MixpanelTopEventPropertyValuesOutput: z.ZodObject<{
12
14
  values: z.ZodArray<z.ZodString>;
13
15
  }, z.core.$loose>;
14
- declare const mixpanelTopEventPropertyValues: import("@keystrokehq/action").WorkflowActionDefinition<{
15
- name: string;
16
- event: string;
17
- project_id: number;
18
- limit?: number | undefined;
19
- workspace_id?: number | undefined;
20
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
21
- connectionId: z.ZodString;
22
- entityId: z.ZodString;
23
- instanceId: z.ZodString;
24
- }, z.core.$strip>, z.ZodObject<{
25
- username: z.ZodString;
26
- password: z.ZodString;
27
- region: z.ZodString;
28
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
29
- connectionId: z.ZodString;
30
- entityId: z.ZodString;
31
- instanceId: z.ZodString;
32
- }, z.core.$strip>, z.ZodObject<{
33
- username: z.ZodString;
34
- password: z.ZodString;
35
- region: z.ZodString;
36
- }, z.core.$strip>>]>;
16
+ declare const mixpanelTopEventPropertyValues: AppAction<typeof MixpanelTopEventPropertyValuesInput, typeof MixpanelTopEventPropertyValuesOutput, typeof mixpanel.credential>;
37
17
  //#endregion
38
18
  export { mixpanelTopEventPropertyValues };
39
19
  //# sourceMappingURL=top-event-property-values.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"top-event-property-values.d.mts","names":[],"sources":["../../src/actions/top-event-property-values.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;cAOnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;cAIpC,8BAAA,gCAA8B,wBAAA"}
1
+ {"version":3,"file":"top-event-property-values.d.mts","names":[],"sources":["../../src/actions/top-event-property-values.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;cAOnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;cAIpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,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 mixpanelTopEventPropertyValues = action("MIXPANEL_TOP_EVENT_PROPERTY_VALUES", {
@@ -1 +1 @@
1
- {"version":3,"file":"top-event-property-values.mjs","names":[],"sources":["../../src/actions/top-event-property-values.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelTopEventPropertyValuesInput = z.object({\n name: z.string().describe(\"The name of the property you would like to get data for\"),\n event: z.string().describe(\"The event that you wish to get data for. Note: this is a single event name, not an array\"),\n limit: z.number().int().default(255).describe(\"The maximum number of values to return\").optional(),\n project_id: z.number().int().describe(\"Required if using service account to authenticate request\"),\n workspace_id: z.number().int().describe(\"The id of the workspace if applicable\").optional(),\n}).describe(\"Request model for getting top event property values\");\nexport const MixpanelTopEventPropertyValuesOutput = z.object({\n values: z.array(z.string()).describe(\"List of top property values ordered by frequency (most common first)\"),\n}).passthrough().describe(\"Response model for top event property values data\");\n\nexport const mixpanelTopEventPropertyValues = action(\"MIXPANEL_TOP_EVENT_PROPERTY_VALUES\", {\n slug: \"mixpanel-top-event-property-values\",\n name: \"Get Top Event Property Values\",\n description: \"Tool to get the top values for a property ordered by frequency. Use when you need to understand the most common values for a specific property on an event. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries. This limit is shared across all Query API tools (e.g., MIXPANEL_QUERY_SEGMENTATION); on a 429 response, apply exponential backoff.\",\n input: MixpanelTopEventPropertyValuesInput,\n output: MixpanelTopEventPropertyValuesOutput,\n});\n"],"mappings":";;AAeA,MAAa,iCAAiC,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfiD,EAAE,OAAO;EAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;EACnF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F;EACrH,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EACjG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;EACjG,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC5F,CAAC,CAAC,CAAC,SAAS,qDASH;CACP,QATkD,EAAE,OAAO,EAC3D,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sEAAsE,EAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"top-event-property-values.mjs","names":[],"sources":["../../src/actions/top-event-property-values.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 MixpanelTopEventPropertyValuesInput = z.object({\n name: z.string().describe(\"The name of the property you would like to get data for\"),\n event: z.string().describe(\"The event that you wish to get data for. Note: this is a single event name, not an array\"),\n limit: z.number().int().default(255).describe(\"The maximum number of values to return\").optional(),\n project_id: z.number().int().describe(\"Required if using service account to authenticate request\"),\n workspace_id: z.number().int().describe(\"The id of the workspace if applicable\").optional(),\n}).describe(\"Request model for getting top event property values\");\nexport const MixpanelTopEventPropertyValuesOutput = z.object({\n values: z.array(z.string()).describe(\"List of top property values ordered by frequency (most common first)\"),\n}).passthrough().describe(\"Response model for top event property values data\");\n\nexport const mixpanelTopEventPropertyValues: AppAction<\n typeof MixpanelTopEventPropertyValuesInput,\n typeof MixpanelTopEventPropertyValuesOutput,\n typeof mixpanel.credential\n> = action(\"MIXPANEL_TOP_EVENT_PROPERTY_VALUES\", {\n slug: \"mixpanel-top-event-property-values\",\n name: \"Get Top Event Property Values\",\n description: \"Tool to get the top values for a property ordered by frequency. Use when you need to understand the most common values for a specific property on an event. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries. This limit is shared across all Query API tools (e.g., MIXPANEL_QUERY_SEGMENTATION); on a 429 response, apply exponential backoff.\",\n input: MixpanelTopEventPropertyValuesInput,\n output: MixpanelTopEventPropertyValuesOutput,\n});\n"],"mappings":";;;AAiBA,MAAa,iCAIT,OAAO,sCAAsC;CAC/C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBiD,EAAE,OAAO;EAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;EACnF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F;EACrH,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EACjG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;EACjG,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC5F,CAAC,CAAC,CAAC,SAAS,qDAaH;CACP,QAbkD,EAAE,OAAO,EAC3D,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sEAAsE,EAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAWhB;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/top-events.ts
@@ -1 +1 @@
1
- {"version":3,"file":"top-events.cjs","names":["z","action"],"sources":["../../src/actions/top-events.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelTopEventsInput = z.object({\n type: z.enum([\"general\", \"unique\", \"average\"]).describe(\"The analysis type you would like to get data for - such as general, unique, or average events\"),\n limit: z.number().int().default(255).describe(\"The maximum number of values to return\").optional(),\n project_id: z.number().int().describe(\"Required if using service account to authenticate request\"),\n workspace_id: z.number().int().describe(\"The id of the workspace if applicable\").optional(),\n}).describe(\"Request model for getting top events\");\nexport const MixpanelTopEventsOutput = z.object({\n data: z.union([z.array(z.unknown()), z.record(z.string(), z.unknown())]),\n}).passthrough().describe(\"Response model for top events data\");\n\nexport const mixpanelTopEvents = action(\"MIXPANEL_TOP_EVENTS\", {\n slug: \"mixpanel-top-events\",\n name: \"Get Top Events\",\n description: \"Get a list of the most common events over the last 31 days. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.\",\n input: MixpanelTopEventsInput,\n output: MixpanelTopEventsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAU;CAAS,CAAC,CAAC,CAAC,SAAS,+FAA+F;CACvJ,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACjG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;CACjG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,MAAMA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,GAAGA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,EACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAE9D,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"top-events.cjs","names":["z","action"],"sources":["../../src/actions/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 MixpanelTopEventsInput = z.object({\n type: z.enum([\"general\", \"unique\", \"average\"]).describe(\"The analysis type you would like to get data for - such as general, unique, or average events\"),\n limit: z.number().int().default(255).describe(\"The maximum number of values to return\").optional(),\n project_id: z.number().int().describe(\"Required if using service account to authenticate request\"),\n workspace_id: z.number().int().describe(\"The id of the workspace if applicable\").optional(),\n}).describe(\"Request model for getting top events\");\nexport const MixpanelTopEventsOutput = z.object({\n data: z.union([z.array(z.unknown()), z.record(z.string(), z.unknown())]),\n}).passthrough().describe(\"Response model for top events data\");\n\nexport const mixpanelTopEvents: AppAction<\n typeof MixpanelTopEventsInput,\n typeof MixpanelTopEventsOutput,\n typeof mixpanel.credential\n> = action(\"MIXPANEL_TOP_EVENTS\", {\n slug: \"mixpanel-top-events\",\n name: \"Get Top Events\",\n description: \"Get a list of the most common events over the last 31 days. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.\",\n input: MixpanelTopEventsInput,\n output: MixpanelTopEventsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAU;CAAS,CAAC,CAAC,CAAC,SAAS,+FAA+F;CACvJ,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACjG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;CACjG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,MAAMA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,GAAGA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,EACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAE9D,MAAa,oBAITC,eAAAA,OAAO,uBAAuB;CAChC,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/top-events.d.ts
@@ -14,28 +16,7 @@ declare const MixpanelTopEventsInput: z.ZodObject<{
14
16
  declare const MixpanelTopEventsOutput: z.ZodObject<{
15
17
  data: z.ZodUnion<readonly [z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
16
18
  }, z.core.$loose>;
17
- declare const mixpanelTopEvents: import("@keystrokehq/action").WorkflowActionDefinition<{
18
- type: "general" | "unique" | "average";
19
- project_id: number;
20
- limit?: number | undefined;
21
- workspace_id?: number | undefined;
22
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
23
- connectionId: z.ZodString;
24
- entityId: z.ZodString;
25
- instanceId: z.ZodString;
26
- }, z.core.$strip>, z.ZodObject<{
27
- username: z.ZodString;
28
- password: z.ZodString;
29
- region: z.ZodString;
30
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
31
- connectionId: z.ZodString;
32
- entityId: z.ZodString;
33
- instanceId: z.ZodString;
34
- }, z.core.$strip>, z.ZodObject<{
35
- username: z.ZodString;
36
- password: z.ZodString;
37
- region: z.ZodString;
38
- }, z.core.$strip>>]>;
19
+ declare const mixpanelTopEvents: AppAction<typeof MixpanelTopEventsInput, typeof MixpanelTopEventsOutput, typeof mixpanel.credential>;
39
20
  //#endregion
40
21
  export { mixpanelTopEvents };
41
22
  //# sourceMappingURL=top-events.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"top-events.d.cts","names":[],"sources":["../../src/actions/top-events.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;cAMtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAIvB,iBAAA,gCAAiB,wBAAA"}
1
+ {"version":3,"file":"top-events.d.cts","names":[],"sources":["../../src/actions/top-events.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;cAMtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAIvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,QAAA,CAAS,UAAA"}