@keystrokehq/mixpanel 0.1.0 → 0.1.3

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