@keystrokehq/mixpanel 0.1.3 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (357) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/add-unique-to-profile-list-property.cjs +1 -0
  4. package/dist/actions/add-unique-to-profile-list-property.cjs.map +1 -1
  5. package/dist/actions/add-unique-to-profile-list-property.d.cts +3 -14
  6. package/dist/actions/add-unique-to-profile-list-property.d.cts.map +1 -1
  7. package/dist/actions/add-unique-to-profile-list-property.d.mts +3 -14
  8. package/dist/actions/add-unique-to-profile-list-property.d.mts.map +1 -1
  9. package/dist/actions/add-unique-to-profile-list-property.mjs +1 -0
  10. package/dist/actions/add-unique-to-profile-list-property.mjs.map +1 -1
  11. package/dist/actions/aggregate-events.cjs +1 -0
  12. package/dist/actions/aggregate-events.cjs.map +1 -1
  13. package/dist/actions/aggregate-events.d.cts +3 -13
  14. package/dist/actions/aggregate-events.d.cts.map +1 -1
  15. package/dist/actions/aggregate-events.d.mts +3 -13
  16. package/dist/actions/aggregate-events.d.mts.map +1 -1
  17. package/dist/actions/aggregate-events.mjs +1 -0
  18. package/dist/actions/aggregate-events.mjs.map +1 -1
  19. package/dist/actions/aggregated-event-property-values.cjs +1 -0
  20. package/dist/actions/aggregated-event-property-values.cjs.map +1 -1
  21. package/dist/actions/aggregated-event-property-values.d.cts +3 -14
  22. package/dist/actions/aggregated-event-property-values.d.cts.map +1 -1
  23. package/dist/actions/aggregated-event-property-values.d.mts +3 -14
  24. package/dist/actions/aggregated-event-property-values.d.mts.map +1 -1
  25. package/dist/actions/aggregated-event-property-values.mjs +1 -0
  26. package/dist/actions/aggregated-event-property-values.mjs.map +1 -1
  27. package/dist/actions/cohorts-list.cjs +1 -0
  28. package/dist/actions/cohorts-list.cjs.map +1 -1
  29. package/dist/actions/cohorts-list.d.cts +3 -4
  30. package/dist/actions/cohorts-list.d.cts.map +1 -1
  31. package/dist/actions/cohorts-list.d.mts +3 -4
  32. package/dist/actions/cohorts-list.d.mts.map +1 -1
  33. package/dist/actions/cohorts-list.mjs +1 -0
  34. package/dist/actions/cohorts-list.mjs.map +1 -1
  35. package/dist/actions/create-annotation-tag.cjs +1 -0
  36. package/dist/actions/create-annotation-tag.cjs.map +1 -1
  37. package/dist/actions/create-annotation-tag.d.cts +3 -4
  38. package/dist/actions/create-annotation-tag.d.cts.map +1 -1
  39. package/dist/actions/create-annotation-tag.d.mts +3 -4
  40. package/dist/actions/create-annotation-tag.d.mts.map +1 -1
  41. package/dist/actions/create-annotation-tag.mjs +1 -0
  42. package/dist/actions/create-annotation-tag.mjs.map +1 -1
  43. package/dist/actions/create-identity.cjs +1 -0
  44. package/dist/actions/create-identity.cjs.map +1 -1
  45. package/dist/actions/create-identity.d.cts +3 -7
  46. package/dist/actions/create-identity.d.cts.map +1 -1
  47. package/dist/actions/create-identity.d.mts +3 -7
  48. package/dist/actions/create-identity.d.mts.map +1 -1
  49. package/dist/actions/create-identity.mjs +1 -0
  50. package/dist/actions/create-identity.mjs.map +1 -1
  51. package/dist/actions/create-service-account.cjs +1 -0
  52. package/dist/actions/create-service-account.cjs.map +1 -1
  53. package/dist/actions/create-service-account.d.cts +3 -11
  54. package/dist/actions/create-service-account.d.cts.map +1 -1
  55. package/dist/actions/create-service-account.d.mts +3 -11
  56. package/dist/actions/create-service-account.d.mts.map +1 -1
  57. package/dist/actions/create-service-account.mjs +1 -0
  58. package/dist/actions/create-service-account.mjs.map +1 -1
  59. package/dist/actions/delete-group.cjs +1 -0
  60. package/dist/actions/delete-group.cjs.map +1 -1
  61. package/dist/actions/delete-group.d.cts +3 -6
  62. package/dist/actions/delete-group.d.cts.map +1 -1
  63. package/dist/actions/delete-group.d.mts +3 -6
  64. package/dist/actions/delete-group.d.mts.map +1 -1
  65. package/dist/actions/delete-group.mjs +1 -0
  66. package/dist/actions/delete-group.mjs.map +1 -1
  67. package/dist/actions/delete-profile-batch.cjs +1 -0
  68. package/dist/actions/delete-profile-batch.cjs.map +1 -1
  69. package/dist/actions/delete-profile-batch.d.cts +3 -9
  70. package/dist/actions/delete-profile-batch.d.cts.map +1 -1
  71. package/dist/actions/delete-profile-batch.d.mts +3 -9
  72. package/dist/actions/delete-profile-batch.d.mts.map +1 -1
  73. package/dist/actions/delete-profile-batch.mjs +1 -0
  74. package/dist/actions/delete-profile-batch.mjs.map +1 -1
  75. package/dist/actions/delete-profile-property.cjs +1 -0
  76. package/dist/actions/delete-profile-property.cjs.map +1 -1
  77. package/dist/actions/delete-profile-property.d.cts +3 -9
  78. package/dist/actions/delete-profile-property.d.cts.map +1 -1
  79. package/dist/actions/delete-profile-property.d.mts +3 -9
  80. package/dist/actions/delete-profile-property.d.mts.map +1 -1
  81. package/dist/actions/delete-profile-property.mjs +1 -0
  82. package/dist/actions/delete-profile-property.mjs.map +1 -1
  83. package/dist/actions/delete-profile.cjs +1 -0
  84. package/dist/actions/delete-profile.cjs.map +1 -1
  85. package/dist/actions/delete-profile.d.cts +3 -7
  86. package/dist/actions/delete-profile.d.cts.map +1 -1
  87. package/dist/actions/delete-profile.d.mts +3 -7
  88. package/dist/actions/delete-profile.d.mts.map +1 -1
  89. package/dist/actions/delete-profile.mjs +1 -0
  90. package/dist/actions/delete-profile.mjs.map +1 -1
  91. package/dist/actions/get-all-projects.cjs +1 -0
  92. package/dist/actions/get-all-projects.cjs.map +1 -1
  93. package/dist/actions/get-all-projects.d.cts +3 -1
  94. package/dist/actions/get-all-projects.d.cts.map +1 -1
  95. package/dist/actions/get-all-projects.d.mts +3 -1
  96. package/dist/actions/get-all-projects.d.mts.map +1 -1
  97. package/dist/actions/get-all-projects.mjs +1 -0
  98. package/dist/actions/get-all-projects.mjs.map +1 -1
  99. package/dist/actions/get-annotation-tags-alt1.cjs +1 -0
  100. package/dist/actions/get-annotation-tags-alt1.cjs.map +1 -1
  101. package/dist/actions/get-annotation-tags-alt1.d.cts +3 -3
  102. package/dist/actions/get-annotation-tags-alt1.d.cts.map +1 -1
  103. package/dist/actions/get-annotation-tags-alt1.d.mts +3 -3
  104. package/dist/actions/get-annotation-tags-alt1.d.mts.map +1 -1
  105. package/dist/actions/get-annotation-tags-alt1.mjs +1 -0
  106. package/dist/actions/get-annotation-tags-alt1.mjs.map +1 -1
  107. package/dist/actions/group-batch-update.cjs +1 -0
  108. package/dist/actions/group-batch-update.cjs.map +1 -1
  109. package/dist/actions/group-batch-update.d.cts +3 -15
  110. package/dist/actions/group-batch-update.d.cts.map +1 -1
  111. package/dist/actions/group-batch-update.d.mts +3 -15
  112. package/dist/actions/group-batch-update.d.mts.map +1 -1
  113. package/dist/actions/group-batch-update.mjs +1 -0
  114. package/dist/actions/group-batch-update.mjs.map +1 -1
  115. package/dist/actions/group-delete-property.cjs +1 -0
  116. package/dist/actions/group-delete-property.cjs.map +1 -1
  117. package/dist/actions/group-delete-property.d.cts +3 -6
  118. package/dist/actions/group-delete-property.d.cts.map +1 -1
  119. package/dist/actions/group-delete-property.d.mts +3 -6
  120. package/dist/actions/group-delete-property.d.mts.map +1 -1
  121. package/dist/actions/group-delete-property.mjs +1 -0
  122. package/dist/actions/group-delete-property.mjs.map +1 -1
  123. package/dist/actions/identity-create-alias.cjs +1 -0
  124. package/dist/actions/identity-create-alias.cjs.map +1 -1
  125. package/dist/actions/identity-create-alias.d.cts +3 -5
  126. package/dist/actions/identity-create-alias.d.cts.map +1 -1
  127. package/dist/actions/identity-create-alias.d.mts +3 -5
  128. package/dist/actions/identity-create-alias.d.mts.map +1 -1
  129. package/dist/actions/identity-create-alias.mjs +1 -0
  130. package/dist/actions/identity-create-alias.mjs.map +1 -1
  131. package/dist/actions/jql-query.cjs +1 -0
  132. package/dist/actions/jql-query.cjs.map +1 -1
  133. package/dist/actions/jql-query.d.cts +3 -6
  134. package/dist/actions/jql-query.d.cts.map +1 -1
  135. package/dist/actions/jql-query.d.mts +3 -6
  136. package/dist/actions/jql-query.d.mts.map +1 -1
  137. package/dist/actions/jql-query.mjs +1 -0
  138. package/dist/actions/jql-query.mjs.map +1 -1
  139. package/dist/actions/list-funnels.cjs +1 -0
  140. package/dist/actions/list-funnels.cjs.map +1 -1
  141. package/dist/actions/list-funnels.d.cts +3 -4
  142. package/dist/actions/list-funnels.d.cts.map +1 -1
  143. package/dist/actions/list-funnels.d.mts +3 -4
  144. package/dist/actions/list-funnels.d.mts.map +1 -1
  145. package/dist/actions/list-funnels.mjs +1 -0
  146. package/dist/actions/list-funnels.mjs.map +1 -1
  147. package/dist/actions/list-service-accounts.cjs +1 -0
  148. package/dist/actions/list-service-accounts.cjs.map +1 -1
  149. package/dist/actions/list-service-accounts.d.cts +3 -3
  150. package/dist/actions/list-service-accounts.d.cts.map +1 -1
  151. package/dist/actions/list-service-accounts.d.mts +3 -3
  152. package/dist/actions/list-service-accounts.d.mts.map +1 -1
  153. package/dist/actions/list-service-accounts.mjs +1 -0
  154. package/dist/actions/list-service-accounts.mjs.map +1 -1
  155. package/dist/actions/profile-append-to-list-property.cjs +1 -0
  156. package/dist/actions/profile-append-to-list-property.cjs.map +1 -1
  157. package/dist/actions/profile-append-to-list-property.d.cts +3 -11
  158. package/dist/actions/profile-append-to-list-property.d.cts.map +1 -1
  159. package/dist/actions/profile-append-to-list-property.d.mts +3 -11
  160. package/dist/actions/profile-append-to-list-property.d.mts.map +1 -1
  161. package/dist/actions/profile-append-to-list-property.mjs +1 -0
  162. package/dist/actions/profile-append-to-list-property.mjs.map +1 -1
  163. package/dist/actions/profile-batch-update.cjs +1 -0
  164. package/dist/actions/profile-batch-update.cjs.map +1 -1
  165. package/dist/actions/profile-batch-update.d.cts +3 -19
  166. package/dist/actions/profile-batch-update.d.cts.map +1 -1
  167. package/dist/actions/profile-batch-update.d.mts +3 -19
  168. package/dist/actions/profile-batch-update.d.mts.map +1 -1
  169. package/dist/actions/profile-batch-update.mjs +1 -0
  170. package/dist/actions/profile-batch-update.mjs.map +1 -1
  171. package/dist/actions/profile-event-activity.cjs +1 -0
  172. package/dist/actions/profile-event-activity.cjs.map +1 -1
  173. package/dist/actions/profile-event-activity.d.cts +3 -7
  174. package/dist/actions/profile-event-activity.d.cts.map +1 -1
  175. package/dist/actions/profile-event-activity.d.mts +3 -7
  176. package/dist/actions/profile-event-activity.d.mts.map +1 -1
  177. package/dist/actions/profile-event-activity.mjs +1 -0
  178. package/dist/actions/profile-event-activity.mjs.map +1 -1
  179. package/dist/actions/profile-numerical-add.cjs +1 -0
  180. package/dist/actions/profile-numerical-add.cjs.map +1 -1
  181. package/dist/actions/profile-numerical-add.d.cts +3 -9
  182. package/dist/actions/profile-numerical-add.d.cts.map +1 -1
  183. package/dist/actions/profile-numerical-add.d.mts +3 -9
  184. package/dist/actions/profile-numerical-add.d.mts.map +1 -1
  185. package/dist/actions/profile-numerical-add.mjs +1 -0
  186. package/dist/actions/profile-numerical-add.mjs.map +1 -1
  187. package/dist/actions/profile-remove-from-list-property.cjs +1 -0
  188. package/dist/actions/profile-remove-from-list-property.cjs.map +1 -1
  189. package/dist/actions/profile-remove-from-list-property.d.cts +3 -11
  190. package/dist/actions/profile-remove-from-list-property.d.cts.map +1 -1
  191. package/dist/actions/profile-remove-from-list-property.d.mts +3 -11
  192. package/dist/actions/profile-remove-from-list-property.d.mts.map +1 -1
  193. package/dist/actions/profile-remove-from-list-property.mjs +1 -0
  194. package/dist/actions/profile-remove-from-list-property.mjs.map +1 -1
  195. package/dist/actions/profile-set.cjs +1 -0
  196. package/dist/actions/profile-set.cjs.map +1 -1
  197. package/dist/actions/profile-set.d.cts +3 -8
  198. package/dist/actions/profile-set.d.cts.map +1 -1
  199. package/dist/actions/profile-set.d.mts +3 -8
  200. package/dist/actions/profile-set.d.mts.map +1 -1
  201. package/dist/actions/profile-set.mjs +1 -0
  202. package/dist/actions/profile-set.mjs.map +1 -1
  203. package/dist/actions/query-frequency-report.cjs +1 -0
  204. package/dist/actions/query-frequency-report.cjs.map +1 -1
  205. package/dist/actions/query-frequency-report.d.cts +3 -12
  206. package/dist/actions/query-frequency-report.d.cts.map +1 -1
  207. package/dist/actions/query-frequency-report.d.mts +3 -12
  208. package/dist/actions/query-frequency-report.d.mts.map +1 -1
  209. package/dist/actions/query-frequency-report.mjs +1 -0
  210. package/dist/actions/query-frequency-report.mjs.map +1 -1
  211. package/dist/actions/query-funnel.cjs +1 -0
  212. package/dist/actions/query-funnel.cjs.map +1 -1
  213. package/dist/actions/query-funnel.d.cts +3 -14
  214. package/dist/actions/query-funnel.d.cts.map +1 -1
  215. package/dist/actions/query-funnel.d.mts +3 -14
  216. package/dist/actions/query-funnel.d.mts.map +1 -1
  217. package/dist/actions/query-funnel.mjs +1 -0
  218. package/dist/actions/query-funnel.mjs.map +1 -1
  219. package/dist/actions/query-insight.cjs +1 -0
  220. package/dist/actions/query-insight.cjs.map +1 -1
  221. package/dist/actions/query-insight.d.cts +3 -5
  222. package/dist/actions/query-insight.d.cts.map +1 -1
  223. package/dist/actions/query-insight.d.mts +3 -5
  224. package/dist/actions/query-insight.d.mts.map +1 -1
  225. package/dist/actions/query-insight.mjs +1 -0
  226. package/dist/actions/query-insight.mjs.map +1 -1
  227. package/dist/actions/query-numeric-average.cjs +1 -0
  228. package/dist/actions/query-numeric-average.cjs.map +1 -1
  229. package/dist/actions/query-numeric-average.d.cts +3 -10
  230. package/dist/actions/query-numeric-average.d.cts.map +1 -1
  231. package/dist/actions/query-numeric-average.d.mts +3 -10
  232. package/dist/actions/query-numeric-average.d.mts.map +1 -1
  233. package/dist/actions/query-numeric-average.mjs +1 -0
  234. package/dist/actions/query-numeric-average.mjs.map +1 -1
  235. package/dist/actions/query-numeric-sum.cjs +1 -0
  236. package/dist/actions/query-numeric-sum.cjs.map +1 -1
  237. package/dist/actions/query-numeric-sum.d.cts +3 -10
  238. package/dist/actions/query-numeric-sum.d.cts.map +1 -1
  239. package/dist/actions/query-numeric-sum.d.mts +3 -10
  240. package/dist/actions/query-numeric-sum.d.mts.map +1 -1
  241. package/dist/actions/query-numeric-sum.mjs +1 -0
  242. package/dist/actions/query-numeric-sum.mjs.map +1 -1
  243. package/dist/actions/query-profiles.cjs +1 -0
  244. package/dist/actions/query-profiles.cjs.map +1 -1
  245. package/dist/actions/query-profiles.d.cts +3 -15
  246. package/dist/actions/query-profiles.d.cts.map +1 -1
  247. package/dist/actions/query-profiles.d.mts +3 -15
  248. package/dist/actions/query-profiles.d.mts.map +1 -1
  249. package/dist/actions/query-profiles.mjs +1 -0
  250. package/dist/actions/query-profiles.mjs.map +1 -1
  251. package/dist/actions/query-retention-report.cjs +1 -0
  252. package/dist/actions/query-retention-report.cjs.map +1 -1
  253. package/dist/actions/query-retention-report.d.cts +3 -16
  254. package/dist/actions/query-retention-report.d.cts.map +1 -1
  255. package/dist/actions/query-retention-report.d.mts +3 -16
  256. package/dist/actions/query-retention-report.d.mts.map +1 -1
  257. package/dist/actions/query-retention-report.mjs +1 -0
  258. package/dist/actions/query-retention-report.mjs.map +1 -1
  259. package/dist/actions/query-segmentation.cjs +1 -0
  260. package/dist/actions/query-segmentation.cjs.map +1 -1
  261. package/dist/actions/query-segmentation.d.cts +3 -12
  262. package/dist/actions/query-segmentation.d.cts.map +1 -1
  263. package/dist/actions/query-segmentation.d.mts +3 -12
  264. package/dist/actions/query-segmentation.d.mts.map +1 -1
  265. package/dist/actions/query-segmentation.mjs +1 -0
  266. package/dist/actions/query-segmentation.mjs.map +1 -1
  267. package/dist/actions/query-top-events.cjs +1 -0
  268. package/dist/actions/query-top-events.cjs.map +1 -1
  269. package/dist/actions/query-top-events.d.cts +3 -6
  270. package/dist/actions/query-top-events.d.cts.map +1 -1
  271. package/dist/actions/query-top-events.d.mts +3 -6
  272. package/dist/actions/query-top-events.d.mts.map +1 -1
  273. package/dist/actions/query-top-events.mjs +1 -0
  274. package/dist/actions/query-top-events.mjs.map +1 -1
  275. package/dist/actions/remove-from-group-list-property.cjs +1 -0
  276. package/dist/actions/remove-from-group-list-property.cjs.map +1 -1
  277. package/dist/actions/remove-from-group-list-property.d.cts +3 -9
  278. package/dist/actions/remove-from-group-list-property.d.cts.map +1 -1
  279. package/dist/actions/remove-from-group-list-property.d.mts +3 -9
  280. package/dist/actions/remove-from-group-list-property.d.mts.map +1 -1
  281. package/dist/actions/remove-from-group-list-property.mjs +1 -0
  282. package/dist/actions/remove-from-group-list-property.mjs.map +1 -1
  283. package/dist/actions/remove-from-list-property.cjs +1 -0
  284. package/dist/actions/remove-from-list-property.cjs.map +1 -1
  285. package/dist/actions/remove-from-list-property.d.cts +3 -8
  286. package/dist/actions/remove-from-list-property.d.cts.map +1 -1
  287. package/dist/actions/remove-from-list-property.d.mts +3 -8
  288. package/dist/actions/remove-from-list-property.d.mts.map +1 -1
  289. package/dist/actions/remove-from-list-property.mjs +1 -0
  290. package/dist/actions/remove-from-list-property.mjs.map +1 -1
  291. package/dist/actions/segmentation-numeric-query.cjs +1 -0
  292. package/dist/actions/segmentation-numeric-query.cjs.map +1 -1
  293. package/dist/actions/segmentation-numeric-query.d.cts +3 -12
  294. package/dist/actions/segmentation-numeric-query.d.cts.map +1 -1
  295. package/dist/actions/segmentation-numeric-query.d.mts +3 -12
  296. package/dist/actions/segmentation-numeric-query.d.mts.map +1 -1
  297. package/dist/actions/segmentation-numeric-query.mjs +1 -0
  298. package/dist/actions/segmentation-numeric-query.mjs.map +1 -1
  299. package/dist/actions/set-group-property-once.cjs +1 -0
  300. package/dist/actions/set-group-property-once.cjs.map +1 -1
  301. package/dist/actions/set-group-property-once.d.cts +3 -6
  302. package/dist/actions/set-group-property-once.d.cts.map +1 -1
  303. package/dist/actions/set-group-property-once.d.mts +3 -6
  304. package/dist/actions/set-group-property-once.d.mts.map +1 -1
  305. package/dist/actions/set-group-property-once.mjs +1 -0
  306. package/dist/actions/set-group-property-once.mjs.map +1 -1
  307. package/dist/actions/set-profile-property-once.cjs +1 -0
  308. package/dist/actions/set-profile-property-once.cjs.map +1 -1
  309. package/dist/actions/set-profile-property-once.d.cts +3 -8
  310. package/dist/actions/set-profile-property-once.d.cts.map +1 -1
  311. package/dist/actions/set-profile-property-once.d.mts +3 -8
  312. package/dist/actions/set-profile-property-once.d.mts.map +1 -1
  313. package/dist/actions/set-profile-property-once.mjs +1 -0
  314. package/dist/actions/set-profile-property-once.mjs.map +1 -1
  315. package/dist/actions/top-event-properties.cjs +1 -0
  316. package/dist/actions/top-event-properties.cjs.map +1 -1
  317. package/dist/actions/top-event-properties.d.cts +3 -6
  318. package/dist/actions/top-event-properties.d.cts.map +1 -1
  319. package/dist/actions/top-event-properties.d.mts +3 -6
  320. package/dist/actions/top-event-properties.d.mts.map +1 -1
  321. package/dist/actions/top-event-properties.mjs +1 -0
  322. package/dist/actions/top-event-properties.mjs.map +1 -1
  323. package/dist/actions/top-event-property-values.cjs +1 -0
  324. package/dist/actions/top-event-property-values.cjs.map +1 -1
  325. package/dist/actions/top-event-property-values.d.cts +3 -7
  326. package/dist/actions/top-event-property-values.d.cts.map +1 -1
  327. package/dist/actions/top-event-property-values.d.mts +3 -7
  328. package/dist/actions/top-event-property-values.d.mts.map +1 -1
  329. package/dist/actions/top-event-property-values.mjs +1 -0
  330. package/dist/actions/top-event-property-values.mjs.map +1 -1
  331. package/dist/actions/top-events.cjs +1 -0
  332. package/dist/actions/top-events.cjs.map +1 -1
  333. package/dist/actions/top-events.d.cts +3 -6
  334. package/dist/actions/top-events.d.cts.map +1 -1
  335. package/dist/actions/top-events.d.mts +3 -6
  336. package/dist/actions/top-events.d.mts.map +1 -1
  337. package/dist/actions/top-events.mjs +1 -0
  338. package/dist/actions/top-events.mjs.map +1 -1
  339. package/dist/actions/update-group-list-property.cjs +1 -0
  340. package/dist/actions/update-group-list-property.cjs.map +1 -1
  341. package/dist/actions/update-group-list-property.d.cts +3 -12
  342. package/dist/actions/update-group-list-property.d.cts.map +1 -1
  343. package/dist/actions/update-group-list-property.d.mts +3 -12
  344. package/dist/actions/update-group-list-property.d.mts.map +1 -1
  345. package/dist/actions/update-group-list-property.mjs +1 -0
  346. package/dist/actions/update-group-list-property.mjs.map +1 -1
  347. package/dist/app.cjs +10 -2
  348. package/dist/app.cjs.map +1 -1
  349. package/dist/app.d.cts +9 -1
  350. package/dist/app.d.cts.map +1 -1
  351. package/dist/app.d.mts +9 -1
  352. package/dist/app.d.mts.map +1 -1
  353. package/dist/app.mjs +7 -2
  354. package/dist/app.mjs.map +1 -1
  355. package/dist/index.d.cts +1 -1
  356. package/dist/index.d.mts +1 -1
  357. package/package.json +2 -2
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const mixpanelQueryFrequencyReport = action("MIXPANEL_QUERY_FREQUENCY_REPORT", {
@@ -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.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"}
1
+ {"version":3,"file":"query-frequency-report.mjs","names":[],"sources":["../../src/actions/query-frequency-report.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mixpanel } from \"../app\";\n\nexport const 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: AppAction<\n typeof MixpanelQueryFrequencyReportInput,\n typeof MixpanelQueryFrequencyReportOutput,\n typeof mixpanel.credential\n> = 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":";;;AAsBA,MAAa,+BAIT,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxB+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,2CAaH;CACP,QAbgD,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,yCAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/query-funnel.ts
@@ -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.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
+ {"version":3,"file":"query-funnel.cjs","names":["z","action"],"sources":["../../src/actions/query-funnel.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 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: AppAction<\n typeof MixpanelQueryFunnelInput,\n typeof MixpanelQueryFunnelOutput,\n typeof mixpanel.credential\n> = 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":";;;;AAMA,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,sBAITC,eAAAA,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { mixpanel } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/query-funnel.d.ts
@@ -30,20 +32,7 @@ declare const MixpanelQueryFunnelOutput: z.ZodObject<{
30
32
  dates: z.ZodArray<z.ZodString>;
31
33
  }, z.core.$loose>>;
32
34
  }, 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]>;
35
+ declare const mixpanelQueryFunnel: AppAction<typeof MixpanelQueryFunnelInput, typeof MixpanelQueryFunnelOutput, typeof mixpanel.credential>;
47
36
  //#endregion
48
37
  export { mixpanelQueryFunnel };
49
38
  //# 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,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAiBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;cAKzB,mBAAA,gCAAmB,wBAAA"}
1
+ {"version":3,"file":"query-funnel.d.cts","names":[],"sources":["../../src/actions/query-funnel.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAiBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;cAKzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { mixpanel } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/query-funnel.d.ts
@@ -30,20 +32,7 @@ declare const MixpanelQueryFunnelOutput: z.ZodObject<{
30
32
  dates: z.ZodArray<z.ZodString>;
31
33
  }, z.core.$loose>>;
32
34
  }, 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]>;
35
+ declare const mixpanelQueryFunnel: AppAction<typeof MixpanelQueryFunnelInput, typeof MixpanelQueryFunnelOutput, typeof mixpanel.credential>;
47
36
  //#endregion
48
37
  export { mixpanelQueryFunnel };
49
38
  //# 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,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAiBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;cAKzB,mBAAA,gCAAmB,wBAAA"}
1
+ {"version":3,"file":"query-funnel.d.mts","names":[],"sources":["../../src/actions/query-funnel.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAiBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;cAKzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/query-funnel.ts
@@ -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.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"}
1
+ {"version":3,"file":"query-funnel.mjs","names":[],"sources":["../../src/actions/query-funnel.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 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: AppAction<\n typeof MixpanelQueryFunnelInput,\n typeof MixpanelQueryFunnelOutput,\n typeof mixpanel.credential\n> = 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":";;;;AAMA,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,sBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAduC,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,sCAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/query-insight.ts
@@ -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.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
+ {"version":3,"file":"query-insight.cjs","names":["z","action"],"sources":["../../src/actions/query-insight.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 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: AppAction<\n typeof MixpanelQueryInsightInput,\n typeof MixpanelQueryInsightOutput,\n typeof mixpanel.credential\n> = 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":";;;;AAMA,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,uBAITC,eAAAA,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { mixpanel } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/query-insight.d.ts
@@ -15,11 +17,7 @@ declare const MixpanelQueryInsightOutput: z.ZodObject<{
15
17
  }, z.core.$loose>>;
16
18
  computedAt: z.ZodNullable<z.ZodString>;
17
19
  }, 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]>;
20
+ declare const mixpanelQueryInsight: AppAction<typeof MixpanelQueryInsightInput, typeof MixpanelQueryInsightOutput, typeof mixpanel.credential>;
23
21
  //#endregion
24
22
  export { mixpanelQueryInsight };
25
23
  //# 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,EAAyB,CAAA,CAAA,SAAA;;;;;cASzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;cAO1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"query-insight.d.cts","names":[],"sources":["../../src/actions/query-insight.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;cASzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;cAO1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { mixpanel } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/query-insight.d.ts
@@ -15,11 +17,7 @@ declare const MixpanelQueryInsightOutput: z.ZodObject<{
15
17
  }, z.core.$loose>>;
16
18
  computedAt: z.ZodNullable<z.ZodString>;
17
19
  }, 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]>;
20
+ declare const mixpanelQueryInsight: AppAction<typeof MixpanelQueryInsightInput, typeof MixpanelQueryInsightOutput, typeof mixpanel.credential>;
23
21
  //#endregion
24
22
  export { mixpanelQueryInsight };
25
23
  //# 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,EAAyB,CAAA,CAAA,SAAA;;;;;cASzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;cAO1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"query-insight.d.mts","names":[],"sources":["../../src/actions/query-insight.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;cASzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;cAO1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/query-insight.ts
@@ -1 +1 @@
1
- {"version":3,"file":"query-insight.mjs","names":[],"sources":["../../src/actions/query-insight.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelQueryInsightInput = z.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,4BAA4B,EAAE,OAAO;CAChD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qKAAqK;CAC3M,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC;CACvE,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,uCAAuC,EAAE,OAAO;CACpD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACtG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAQ5D,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZwC,EAAE,OAAO;EACjD,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+JAA+J;EAClN,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kIAAkI;EACxK,WAAW,qCAAqC,SAAS;EACzD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"query-insight.mjs","names":[],"sources":["../../src/actions/query-insight.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 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: AppAction<\n typeof MixpanelQueryInsightInput,\n typeof MixpanelQueryInsightOutput,\n typeof mixpanel.credential\n> = 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":";;;;AAMA,MAAa,4BAA4B,EAAE,OAAO;CAChD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qKAAqK;CAC3M,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC;CACvE,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,uCAAuC,EAAE,OAAO;CACpD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACtG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAQ5D,MAAa,uBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhBwC,EAAE,OAAO;EACjD,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+JAA+J;EAClN,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kIAAkI;EACxK,WAAW,qCAAqC,SAAS;EACzD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/query-numeric-average.ts
@@ -1 +1 @@
1
- {"version":3,"file":"query-numeric-average.cjs","names":["z","action"],"sources":["../../src/actions/query-numeric-average.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelQueryNumericAverageInput = z.object({\n on: z.string().describe(\"The numeric expression to average per unit time (should evaluate to a number)\"),\n unit: z.enum([\"hour\", \"day\"]).default(\"day\").describe(\"Shorter time units for certain Mixpanel operations.\").optional(),\n event: z.string().describe(\"The event to get data for (single event name)\"),\n where: z.string().describe(\"An expression to filter events by\").optional(),\n to_date: z.string().describe(\"The date in yyyy-mm-dd format to query to (inclusive)\"),\n from_date: z.string().describe(\"The date in yyyy-mm-dd format to begin querying from (inclusive)\"),\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 averaging numeric expressions\");\nexport const MixpanelQueryNumericAverageOutput = z.object({\n status: z.string().describe(\"Status of the query\").nullable(),\n results: z.record(z.string(), z.unknown()).describe(\"Map of dates to averaged values (can be null if no data)\"),\n}).passthrough().describe(\"Response model for numeric average query data\");\n\nexport const mixpanelQueryNumericAverage = action(\"MIXPANEL_QUERY_NUMERIC_AVERAGE\", {\n slug: \"mixpanel-query-numeric-average\",\n name: \"Query Numeric Average Report\",\n description: \"Averages an expression for events per unit time. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries. Example response: { \\\"status\\\": \\\"ok\\\", \\\"results\\\": { \\\"2024-01-01\\\": 25.5, \\\"2024-01-02\\\": 32.75, \\\"2024-01-03\\\": 28.25 } }\",\n input: MixpanelQueryNumericAverageInput,\n output: MixpanelQueryNumericAverageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E;CACvG,MAAMA,IAAAA,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACtH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC1E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACpF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,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;AAC5F,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC5D,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"query-numeric-average.cjs","names":["z","action"],"sources":["../../src/actions/query-numeric-average.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 MixpanelQueryNumericAverageInput = z.object({\n on: z.string().describe(\"The numeric expression to average per unit time (should evaluate to a number)\"),\n unit: z.enum([\"hour\", \"day\"]).default(\"day\").describe(\"Shorter time units for certain Mixpanel operations.\").optional(),\n event: z.string().describe(\"The event to get data for (single event name)\"),\n where: z.string().describe(\"An expression to filter events by\").optional(),\n to_date: z.string().describe(\"The date in yyyy-mm-dd format to query to (inclusive)\"),\n from_date: z.string().describe(\"The date in yyyy-mm-dd format to begin querying from (inclusive)\"),\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 averaging numeric expressions\");\nexport const MixpanelQueryNumericAverageOutput = z.object({\n status: z.string().describe(\"Status of the query\").nullable(),\n results: z.record(z.string(), z.unknown()).describe(\"Map of dates to averaged values (can be null if no data)\"),\n}).passthrough().describe(\"Response model for numeric average query data\");\n\nexport const mixpanelQueryNumericAverage: AppAction<\n typeof MixpanelQueryNumericAverageInput,\n typeof MixpanelQueryNumericAverageOutput,\n typeof mixpanel.credential\n> = action(\"MIXPANEL_QUERY_NUMERIC_AVERAGE\", {\n slug: \"mixpanel-query-numeric-average\",\n name: \"Query Numeric Average Report\",\n description: \"Averages an expression for events per unit time. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries. Example response: { \\\"status\\\": \\\"ok\\\", \\\"results\\\": { \\\"2024-01-01\\\": 25.5, \\\"2024-01-02\\\": 32.75, \\\"2024-01-03\\\": 28.25 } }\",\n input: MixpanelQueryNumericAverageInput,\n output: MixpanelQueryNumericAverageOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E;CACvG,MAAMA,IAAAA,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACtH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC1E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACpF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,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;AAC5F,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC5D,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,MAAa,8BAITC,eAAAA,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { mixpanel } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/query-numeric-average.d.ts
@@ -18,16 +20,7 @@ declare const MixpanelQueryNumericAverageOutput: z.ZodObject<{
18
20
  status: z.ZodNullable<z.ZodString>;
19
21
  results: z.ZodRecord<z.ZodString, z.ZodUnknown>;
20
22
  }, z.core.$loose>;
21
- declare const mixpanelQueryNumericAverage: import("@keystrokehq/action").WorkflowActionDefinition<{
22
- on: string;
23
- event: string;
24
- to_date: string;
25
- from_date: string;
26
- project_id: number;
27
- unit?: "hour" | "day" | undefined;
28
- where?: string | undefined;
29
- workspace_id?: number | undefined;
30
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
23
+ declare const mixpanelQueryNumericAverage: AppAction<typeof MixpanelQueryNumericAverageInput, typeof MixpanelQueryNumericAverageOutput, typeof mixpanel.credential>;
31
24
  //#endregion
32
25
  export { mixpanelQueryNumericAverage };
33
26
  //# sourceMappingURL=query-numeric-average.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"query-numeric-average.d.cts","names":[],"sources":["../../src/actions/query-numeric-average.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAUhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;cAKjC,2BAAA,gCAA2B,wBAAA"}
1
+ {"version":3,"file":"query-numeric-average.d.cts","names":[],"sources":["../../src/actions/query-numeric-average.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAUhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;cAKjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { mixpanel } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/query-numeric-average.d.ts
@@ -18,16 +20,7 @@ declare const MixpanelQueryNumericAverageOutput: z.ZodObject<{
18
20
  status: z.ZodNullable<z.ZodString>;
19
21
  results: z.ZodRecord<z.ZodString, z.ZodUnknown>;
20
22
  }, z.core.$loose>;
21
- declare const mixpanelQueryNumericAverage: import("@keystrokehq/action").WorkflowActionDefinition<{
22
- on: string;
23
- event: string;
24
- to_date: string;
25
- from_date: string;
26
- project_id: number;
27
- unit?: "hour" | "day" | undefined;
28
- where?: string | undefined;
29
- workspace_id?: number | undefined;
30
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
23
+ declare const mixpanelQueryNumericAverage: AppAction<typeof MixpanelQueryNumericAverageInput, typeof MixpanelQueryNumericAverageOutput, typeof mixpanel.credential>;
31
24
  //#endregion
32
25
  export { mixpanelQueryNumericAverage };
33
26
  //# sourceMappingURL=query-numeric-average.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"query-numeric-average.d.mts","names":[],"sources":["../../src/actions/query-numeric-average.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAUhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;cAKjC,2BAAA,gCAA2B,wBAAA"}
1
+ {"version":3,"file":"query-numeric-average.d.mts","names":[],"sources":["../../src/actions/query-numeric-average.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAUhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;cAKjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,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 mixpanelQueryNumericAverage = action("MIXPANEL_QUERY_NUMERIC_AVERAGE", {
@@ -1 +1 @@
1
- {"version":3,"file":"query-numeric-average.mjs","names":[],"sources":["../../src/actions/query-numeric-average.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelQueryNumericAverageInput = z.object({\n on: z.string().describe(\"The numeric expression to average per unit time (should evaluate to a number)\"),\n unit: z.enum([\"hour\", \"day\"]).default(\"day\").describe(\"Shorter time units for certain Mixpanel operations.\").optional(),\n event: z.string().describe(\"The event to get data for (single event name)\"),\n where: z.string().describe(\"An expression to filter events by\").optional(),\n to_date: z.string().describe(\"The date in yyyy-mm-dd format to query to (inclusive)\"),\n from_date: z.string().describe(\"The date in yyyy-mm-dd format to begin querying from (inclusive)\"),\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 averaging numeric expressions\");\nexport const MixpanelQueryNumericAverageOutput = z.object({\n status: z.string().describe(\"Status of the query\").nullable(),\n results: z.record(z.string(), z.unknown()).describe(\"Map of dates to averaged values (can be null if no data)\"),\n}).passthrough().describe(\"Response model for numeric average query data\");\n\nexport const mixpanelQueryNumericAverage = action(\"MIXPANEL_QUERY_NUMERIC_AVERAGE\", {\n slug: \"mixpanel-query-numeric-average\",\n name: \"Query Numeric Average Report\",\n description: \"Averages an expression for events per unit time. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries. Example response: { \\\"status\\\": \\\"ok\\\", \\\"results\\\": { \\\"2024-01-01\\\": 25.5, \\\"2024-01-02\\\": 32.75, \\\"2024-01-03\\\": 28.25 } }\",\n input: MixpanelQueryNumericAverageInput,\n output: MixpanelQueryNumericAverageOutput,\n});\n"],"mappings":";;AAmBA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnB8C,EAAE,OAAO;EACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E;EACvG,MAAM,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EACtH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;EAC1E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACzE,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;CAC5F,CAAC,CAAC,CAAC,SAAS,iDAUH;CACP,QAV+C,EAAE,OAAO;EACxD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EAC5D,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0DAA0D;CAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"query-numeric-average.mjs","names":[],"sources":["../../src/actions/query-numeric-average.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 MixpanelQueryNumericAverageInput = z.object({\n on: z.string().describe(\"The numeric expression to average per unit time (should evaluate to a number)\"),\n unit: z.enum([\"hour\", \"day\"]).default(\"day\").describe(\"Shorter time units for certain Mixpanel operations.\").optional(),\n event: z.string().describe(\"The event to get data for (single event name)\"),\n where: z.string().describe(\"An expression to filter events by\").optional(),\n to_date: z.string().describe(\"The date in yyyy-mm-dd format to query to (inclusive)\"),\n from_date: z.string().describe(\"The date in yyyy-mm-dd format to begin querying from (inclusive)\"),\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 averaging numeric expressions\");\nexport const MixpanelQueryNumericAverageOutput = z.object({\n status: z.string().describe(\"Status of the query\").nullable(),\n results: z.record(z.string(), z.unknown()).describe(\"Map of dates to averaged values (can be null if no data)\"),\n}).passthrough().describe(\"Response model for numeric average query data\");\n\nexport const mixpanelQueryNumericAverage: AppAction<\n typeof MixpanelQueryNumericAverageInput,\n typeof MixpanelQueryNumericAverageOutput,\n typeof mixpanel.credential\n> = action(\"MIXPANEL_QUERY_NUMERIC_AVERAGE\", {\n slug: \"mixpanel-query-numeric-average\",\n name: \"Query Numeric Average Report\",\n description: \"Averages an expression for events per unit time. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries. Example response: { \\\"status\\\": \\\"ok\\\", \\\"results\\\": { \\\"2024-01-01\\\": 25.5, \\\"2024-01-02\\\": 32.75, \\\"2024-01-03\\\": 28.25 } }\",\n input: MixpanelQueryNumericAverageInput,\n output: MixpanelQueryNumericAverageOutput,\n});\n"],"mappings":";;;AAqBA,MAAa,8BAIT,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvB8C,EAAE,OAAO;EACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E;EACvG,MAAM,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EACtH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;EAC1E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACzE,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;CAC5F,CAAC,CAAC,CAAC,SAAS,iDAcH;CACP,QAd+C,EAAE,OAAO;EACxD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EAC5D,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0DAA0D;CAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/query-numeric-sum.ts
@@ -1 +1 @@
1
- {"version":3,"file":"query-numeric-sum.cjs","names":["z","action"],"sources":["../../src/actions/query-numeric-sum.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelQueryNumericSumInput = z.object({\n on: z.string().describe(\"The numeric expression to sum per unit time (should evaluate to a number)\"),\n unit: z.enum([\"hour\", \"day\"]).default(\"day\").describe(\"Shorter time units for certain Mixpanel operations.\").optional(),\n event: z.string().describe(\"The event to get data for (single event name)\"),\n where: z.string().describe(\"An expression to filter events by\").optional(),\n to_date: z.string().describe(\"The date in yyyy-mm-dd format to query to (inclusive)\"),\n from_date: z.string().describe(\"The date in yyyy-mm-dd format to begin querying from (inclusive)\"),\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 summing numeric expressions\");\nexport const MixpanelQueryNumericSumOutput = z.object({\n status: z.string().describe(\"Indicates whether the request was successful (e.g., 'ok').\").nullable(),\n results: z.record(z.string(), z.unknown()).describe(\"Maps date strings to numeric sum values. Each key is a date in 'YYYY-MM-DD' format and each value is the summed expression result for that date.\"),\n computed_at: z.string().describe(\"ISO 8601 timestamp showing when the computation occurred.\").nullable(),\n}).passthrough().describe(\"Response model for numeric sum query data\");\n\nexport const mixpanelQueryNumericSum = action(\"MIXPANEL_QUERY_NUMERIC_SUM\", {\n slug: \"mixpanel-query-numeric-sum\",\n name: \"Query Numeric Sum Report\",\n description: \"Sums an expression for events per unit time. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries. Example response: { \\\"status\\\": \\\"ok\\\", \\\"computed_at\\\": \\\"2024-01-20T12:00:00\\\", \\\"results\\\": { \\\"2024-01-01\\\": 150.5, \\\"2024-01-02\\\": 245.75, \\\"2024-01-03\\\": 198.25 } }\",\n input: MixpanelQueryNumericSumInput,\n output: MixpanelQueryNumericSumOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;CACnG,MAAMA,IAAAA,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACtH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC1E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACpF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,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;AAC5F,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACnG,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kJAAkJ;CACtM,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,0BAA0BC,eAAAA,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"query-numeric-sum.cjs","names":["z","action"],"sources":["../../src/actions/query-numeric-sum.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 MixpanelQueryNumericSumInput = z.object({\n on: z.string().describe(\"The numeric expression to sum per unit time (should evaluate to a number)\"),\n unit: z.enum([\"hour\", \"day\"]).default(\"day\").describe(\"Shorter time units for certain Mixpanel operations.\").optional(),\n event: z.string().describe(\"The event to get data for (single event name)\"),\n where: z.string().describe(\"An expression to filter events by\").optional(),\n to_date: z.string().describe(\"The date in yyyy-mm-dd format to query to (inclusive)\"),\n from_date: z.string().describe(\"The date in yyyy-mm-dd format to begin querying from (inclusive)\"),\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 summing numeric expressions\");\nexport const MixpanelQueryNumericSumOutput = z.object({\n status: z.string().describe(\"Indicates whether the request was successful (e.g., 'ok').\").nullable(),\n results: z.record(z.string(), z.unknown()).describe(\"Maps date strings to numeric sum values. Each key is a date in 'YYYY-MM-DD' format and each value is the summed expression result for that date.\"),\n computed_at: z.string().describe(\"ISO 8601 timestamp showing when the computation occurred.\").nullable(),\n}).passthrough().describe(\"Response model for numeric sum query data\");\n\nexport const mixpanelQueryNumericSum: AppAction<\n typeof MixpanelQueryNumericSumInput,\n typeof MixpanelQueryNumericSumOutput,\n typeof mixpanel.credential\n> = action(\"MIXPANEL_QUERY_NUMERIC_SUM\", {\n slug: \"mixpanel-query-numeric-sum\",\n name: \"Query Numeric Sum Report\",\n description: \"Sums an expression for events per unit time. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries. Example response: { \\\"status\\\": \\\"ok\\\", \\\"computed_at\\\": \\\"2024-01-20T12:00:00\\\", \\\"results\\\": { \\\"2024-01-01\\\": 150.5, \\\"2024-01-02\\\": 245.75, \\\"2024-01-03\\\": 198.25 } }\",\n input: MixpanelQueryNumericSumInput,\n output: MixpanelQueryNumericSumOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;CACnG,MAAMA,IAAAA,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACtH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC1E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACpF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,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;AAC5F,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACnG,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kJAAkJ;CACtM,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,0BAITC,eAAAA,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { mixpanel } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/query-numeric-sum.d.ts
@@ -19,16 +21,7 @@ declare const MixpanelQueryNumericSumOutput: z.ZodObject<{
19
21
  results: z.ZodRecord<z.ZodString, z.ZodUnknown>;
20
22
  computed_at: z.ZodNullable<z.ZodString>;
21
23
  }, z.core.$loose>;
22
- declare const mixpanelQueryNumericSum: import("@keystrokehq/action").WorkflowActionDefinition<{
23
- on: string;
24
- event: string;
25
- to_date: string;
26
- from_date: string;
27
- project_id: number;
28
- unit?: "hour" | "day" | undefined;
29
- where?: string | undefined;
30
- workspace_id?: number | undefined;
31
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
24
+ declare const mixpanelQueryNumericSum: AppAction<typeof MixpanelQueryNumericSumInput, typeof MixpanelQueryNumericSumOutput, typeof mixpanel.credential>;
32
25
  //#endregion
33
26
  export { mixpanelQueryNumericSum };
34
27
  //# sourceMappingURL=query-numeric-sum.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"query-numeric-sum.d.cts","names":[],"sources":["../../src/actions/query-numeric-sum.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAU5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;cAM7B,uBAAA,gCAAuB,wBAAA"}
1
+ {"version":3,"file":"query-numeric-sum.d.cts","names":[],"sources":["../../src/actions/query-numeric-sum.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAU5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;cAM7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { mixpanel } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/query-numeric-sum.d.ts
@@ -19,16 +21,7 @@ declare const MixpanelQueryNumericSumOutput: z.ZodObject<{
19
21
  results: z.ZodRecord<z.ZodString, z.ZodUnknown>;
20
22
  computed_at: z.ZodNullable<z.ZodString>;
21
23
  }, z.core.$loose>;
22
- declare const mixpanelQueryNumericSum: import("@keystrokehq/action").WorkflowActionDefinition<{
23
- on: string;
24
- event: string;
25
- to_date: string;
26
- from_date: string;
27
- project_id: number;
28
- unit?: "hour" | "day" | undefined;
29
- where?: string | undefined;
30
- workspace_id?: number | undefined;
31
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
24
+ declare const mixpanelQueryNumericSum: AppAction<typeof MixpanelQueryNumericSumInput, typeof MixpanelQueryNumericSumOutput, typeof mixpanel.credential>;
32
25
  //#endregion
33
26
  export { mixpanelQueryNumericSum };
34
27
  //# sourceMappingURL=query-numeric-sum.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"query-numeric-sum.d.mts","names":[],"sources":["../../src/actions/query-numeric-sum.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAU5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;cAM7B,uBAAA,gCAAuB,wBAAA"}
1
+ {"version":3,"file":"query-numeric-sum.d.mts","names":[],"sources":["../../src/actions/query-numeric-sum.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAU5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;cAM7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,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 mixpanelQueryNumericSum = action("MIXPANEL_QUERY_NUMERIC_SUM", {
@@ -1 +1 @@
1
- {"version":3,"file":"query-numeric-sum.mjs","names":[],"sources":["../../src/actions/query-numeric-sum.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelQueryNumericSumInput = z.object({\n on: z.string().describe(\"The numeric expression to sum per unit time (should evaluate to a number)\"),\n unit: z.enum([\"hour\", \"day\"]).default(\"day\").describe(\"Shorter time units for certain Mixpanel operations.\").optional(),\n event: z.string().describe(\"The event to get data for (single event name)\"),\n where: z.string().describe(\"An expression to filter events by\").optional(),\n to_date: z.string().describe(\"The date in yyyy-mm-dd format to query to (inclusive)\"),\n from_date: z.string().describe(\"The date in yyyy-mm-dd format to begin querying from (inclusive)\"),\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 summing numeric expressions\");\nexport const MixpanelQueryNumericSumOutput = z.object({\n status: z.string().describe(\"Indicates whether the request was successful (e.g., 'ok').\").nullable(),\n results: z.record(z.string(), z.unknown()).describe(\"Maps date strings to numeric sum values. Each key is a date in 'YYYY-MM-DD' format and each value is the summed expression result for that date.\"),\n computed_at: z.string().describe(\"ISO 8601 timestamp showing when the computation occurred.\").nullable(),\n}).passthrough().describe(\"Response model for numeric sum query data\");\n\nexport const mixpanelQueryNumericSum = action(\"MIXPANEL_QUERY_NUMERIC_SUM\", {\n slug: \"mixpanel-query-numeric-sum\",\n name: \"Query Numeric Sum Report\",\n description: \"Sums an expression for events per unit time. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries. Example response: { \\\"status\\\": \\\"ok\\\", \\\"computed_at\\\": \\\"2024-01-20T12:00:00\\\", \\\"results\\\": { \\\"2024-01-01\\\": 150.5, \\\"2024-01-02\\\": 245.75, \\\"2024-01-03\\\": 198.25 } }\",\n input: MixpanelQueryNumericSumInput,\n output: MixpanelQueryNumericSumOutput,\n});\n"],"mappings":";;AAoBA,MAAa,0BAA0B,OAAO,8BAA8B;CAC1E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApB0C,EAAE,OAAO;EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;EACnG,MAAM,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EACtH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;EAC1E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACzE,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;CAC5F,CAAC,CAAC,CAAC,SAAS,+CAWH;CACP,QAX2C,EAAE,OAAO;EACpD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;EACnG,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kJAAkJ;EACtM,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"query-numeric-sum.mjs","names":[],"sources":["../../src/actions/query-numeric-sum.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 MixpanelQueryNumericSumInput = z.object({\n on: z.string().describe(\"The numeric expression to sum per unit time (should evaluate to a number)\"),\n unit: z.enum([\"hour\", \"day\"]).default(\"day\").describe(\"Shorter time units for certain Mixpanel operations.\").optional(),\n event: z.string().describe(\"The event to get data for (single event name)\"),\n where: z.string().describe(\"An expression to filter events by\").optional(),\n to_date: z.string().describe(\"The date in yyyy-mm-dd format to query to (inclusive)\"),\n from_date: z.string().describe(\"The date in yyyy-mm-dd format to begin querying from (inclusive)\"),\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 summing numeric expressions\");\nexport const MixpanelQueryNumericSumOutput = z.object({\n status: z.string().describe(\"Indicates whether the request was successful (e.g., 'ok').\").nullable(),\n results: z.record(z.string(), z.unknown()).describe(\"Maps date strings to numeric sum values. Each key is a date in 'YYYY-MM-DD' format and each value is the summed expression result for that date.\"),\n computed_at: z.string().describe(\"ISO 8601 timestamp showing when the computation occurred.\").nullable(),\n}).passthrough().describe(\"Response model for numeric sum query data\");\n\nexport const mixpanelQueryNumericSum: AppAction<\n typeof MixpanelQueryNumericSumInput,\n typeof MixpanelQueryNumericSumOutput,\n typeof mixpanel.credential\n> = action(\"MIXPANEL_QUERY_NUMERIC_SUM\", {\n slug: \"mixpanel-query-numeric-sum\",\n name: \"Query Numeric Sum Report\",\n description: \"Sums an expression for events per unit time. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries. Example response: { \\\"status\\\": \\\"ok\\\", \\\"computed_at\\\": \\\"2024-01-20T12:00:00\\\", \\\"results\\\": { \\\"2024-01-01\\\": 150.5, \\\"2024-01-02\\\": 245.75, \\\"2024-01-03\\\": 198.25 } }\",\n input: MixpanelQueryNumericSumInput,\n output: MixpanelQueryNumericSumOutput,\n});\n"],"mappings":";;;AAsBA,MAAa,0BAIT,OAAO,8BAA8B;CACvC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxB0C,EAAE,OAAO;EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;EACnG,MAAM,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EACtH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;EAC1E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACzE,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;CAC5F,CAAC,CAAC,CAAC,SAAS,+CAeH;CACP,QAf2C,EAAE,OAAO;EACpD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;EACnG,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kJAAkJ;EACtM,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/query-profiles.ts
@@ -1 +1 @@
1
- {"version":3,"file":"query-profiles.cjs","names":["z","action"],"sources":["../../src/actions/query-profiles.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelQueryProfilesInput = z.object({\n page: z.number().int().describe(\"Which page of results to retrieve (starts at 0)\").optional(),\n where: z.string().describe(\"An expression to filter users (or groups) by\").optional(),\n behaviors: z.number().int().describe(\"Required when using event selector for user profiles\").optional(),\n project_id: z.number().int().describe(\"The ID of the project to query. Required if using service account authentication.\"),\n session_id: z.string().describe(\"Session ID from a previous query for pagination\").optional(),\n distinct_id: z.string().describe(\"A unique identifier used to distinguish an individual profile\").optional(),\n distinct_ids: z.array(z.string()).describe(\"A list of distinct_ids to retrieve profiles for\").optional(),\n workspace_id: z.number().int().describe(\"The ID of the workspace if applicable\").optional(),\n data_group_id: z.string().describe(\"The ID of the group key, used when querying group profiles\").optional(),\n as_of_timestamp: z.number().int().describe(\"Used with behaviors parameter for large exports\").optional(),\n filter_by_cohort: z.record(z.string(), z.unknown()).describe(\"Filter by cohort ID. Example: {'id': 12345}\").optional(),\n include_all_users: z.boolean().default(true).describe(\"When using filter_by_cohort, whether to include all distinct_ids even without profiles\").optional(),\n output_properties: z.array(z.string()).describe(\"List of property names to return in the response\").optional(),\n}).describe(\"Request model for querying profile data from Mixpanel.\");\nconst MixpanelQueryProfiles_ProfileResultSchema = z.object({\n $properties: z.record(z.string(), z.unknown()).describe(\"Object containing all profile properties for this user or group. Common properties include $created (account creation timestamp), $email (user email), $first_name, $last_name, $last_seen (last activity timestamp), and custom properties defined by the user\"),\n $distinct_id: z.string().describe(\"The unique identifier of the user or group profile\").nullable(),\n}).passthrough().describe(\"Model for a single profile result.\");\nexport const MixpanelQueryProfilesOutput = z.object({\n page: z.number().int().describe(\"The page number of the results\").nullable(),\n total: z.number().int().describe(\"The number of users in the results payload\").nullable(),\n status: z.string().describe(\"Indicates whether the request was successful\").nullable(),\n results: z.array(MixpanelQueryProfiles_ProfileResultSchema).describe(\"Array of user or group profile objects matching the query criteria\"),\n page_size: z.number().int().describe(\"The max number of results in a single page\").nullable(),\n session_id: z.string().describe(\"Session identifier for pagination and caching purposes\").nullable(),\n}).passthrough().describe(\"Response model for profile query data.\");\n\nexport const mixpanelQueryProfiles = action(\"MIXPANEL_QUERY_PROFILES\", {\n slug: \"mixpanel-query-profiles\",\n name: \"Query Profiles\",\n description: \"Query user or group profile data from Mixpanel. Returns list of profiles that match specified parameters. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.\",\n input: MixpanelQueryProfilesInput,\n output: MixpanelQueryProfilesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC5F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACpF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACtG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF;CACzH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC5F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC3G,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACvG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC1F,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CAC1G,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACvG,kBAAkBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACrH,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CACzJ,mBAAmBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,aAAaA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iQAAiQ;CACzT,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAC9D,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC3E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACxF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACrF,SAASA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,oEAAoE;CACzI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC5F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"query-profiles.cjs","names":["z","action"],"sources":["../../src/actions/query-profiles.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mixpanel } from \"../app\";\n\nexport const MixpanelQueryProfilesInput = z.object({\n page: z.number().int().describe(\"Which page of results to retrieve (starts at 0)\").optional(),\n where: z.string().describe(\"An expression to filter users (or groups) by\").optional(),\n behaviors: z.number().int().describe(\"Required when using event selector for user profiles\").optional(),\n project_id: z.number().int().describe(\"The ID of the project to query. Required if using service account authentication.\"),\n session_id: z.string().describe(\"Session ID from a previous query for pagination\").optional(),\n distinct_id: z.string().describe(\"A unique identifier used to distinguish an individual profile\").optional(),\n distinct_ids: z.array(z.string()).describe(\"A list of distinct_ids to retrieve profiles for\").optional(),\n workspace_id: z.number().int().describe(\"The ID of the workspace if applicable\").optional(),\n data_group_id: z.string().describe(\"The ID of the group key, used when querying group profiles\").optional(),\n as_of_timestamp: z.number().int().describe(\"Used with behaviors parameter for large exports\").optional(),\n filter_by_cohort: z.record(z.string(), z.unknown()).describe(\"Filter by cohort ID. Example: {'id': 12345}\").optional(),\n include_all_users: z.boolean().default(true).describe(\"When using filter_by_cohort, whether to include all distinct_ids even without profiles\").optional(),\n output_properties: z.array(z.string()).describe(\"List of property names to return in the response\").optional(),\n}).describe(\"Request model for querying profile data from Mixpanel.\");\nconst MixpanelQueryProfiles_ProfileResultSchema = z.object({\n $properties: z.record(z.string(), z.unknown()).describe(\"Object containing all profile properties for this user or group. Common properties include $created (account creation timestamp), $email (user email), $first_name, $last_name, $last_seen (last activity timestamp), and custom properties defined by the user\"),\n $distinct_id: z.string().describe(\"The unique identifier of the user or group profile\").nullable(),\n}).passthrough().describe(\"Model for a single profile result.\");\nexport const MixpanelQueryProfilesOutput = z.object({\n page: z.number().int().describe(\"The page number of the results\").nullable(),\n total: z.number().int().describe(\"The number of users in the results payload\").nullable(),\n status: z.string().describe(\"Indicates whether the request was successful\").nullable(),\n results: z.array(MixpanelQueryProfiles_ProfileResultSchema).describe(\"Array of user or group profile objects matching the query criteria\"),\n page_size: z.number().int().describe(\"The max number of results in a single page\").nullable(),\n session_id: z.string().describe(\"Session identifier for pagination and caching purposes\").nullable(),\n}).passthrough().describe(\"Response model for profile query data.\");\n\nexport const mixpanelQueryProfiles: AppAction<\n typeof MixpanelQueryProfilesInput,\n typeof MixpanelQueryProfilesOutput,\n typeof mixpanel.credential\n> = action(\"MIXPANEL_QUERY_PROFILES\", {\n slug: \"mixpanel-query-profiles\",\n name: \"Query Profiles\",\n description: \"Query user or group profile data from Mixpanel. Returns list of profiles that match specified parameters. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.\",\n input: MixpanelQueryProfilesInput,\n output: MixpanelQueryProfilesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC5F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACpF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACtG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF;CACzH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC5F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CAC3G,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACvG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC1F,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CAC1G,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACvG,kBAAkBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACrH,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CACzJ,mBAAmBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,aAAaA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iQAAiQ;CACzT,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAC9D,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC3E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACxF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACrF,SAASA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,oEAAoE;CACzI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC5F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAElE,MAAa,wBAITC,eAAAA,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { mixpanel } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/query-profiles.d.ts
@@ -27,21 +29,7 @@ declare const MixpanelQueryProfilesOutput: z.ZodObject<{
27
29
  page_size: z.ZodNullable<z.ZodNumber>;
28
30
  session_id: z.ZodNullable<z.ZodString>;
29
31
  }, z.core.$loose>;
30
- declare const mixpanelQueryProfiles: import("@keystrokehq/action").WorkflowActionDefinition<{
31
- project_id: number;
32
- page?: number | undefined;
33
- where?: string | undefined;
34
- behaviors?: number | undefined;
35
- session_id?: string | undefined;
36
- distinct_id?: string | undefined;
37
- distinct_ids?: string[] | undefined;
38
- workspace_id?: number | undefined;
39
- data_group_id?: string | undefined;
40
- as_of_timestamp?: number | undefined;
41
- filter_by_cohort?: Record<string, unknown> | undefined;
42
- include_all_users?: boolean | undefined;
43
- output_properties?: string[] | undefined;
44
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
32
+ declare const mixpanelQueryProfiles: AppAction<typeof MixpanelQueryProfilesInput, typeof MixpanelQueryProfilesOutput, typeof mixpanel.credential>;
45
33
  //#endregion
46
34
  export { mixpanelQueryProfiles };
47
35
  //# sourceMappingURL=query-profiles.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"query-profiles.d.cts","names":[],"sources":["../../src/actions/query-profiles.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAmB1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;cAS3B,qBAAA,gCAAqB,wBAAA;;;;;;;;;;;qBAMhC,MAAA"}
1
+ {"version":3,"file":"query-profiles.d.cts","names":[],"sources":["../../src/actions/query-profiles.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAmB1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;cAS3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { mixpanel } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/query-profiles.d.ts
@@ -27,21 +29,7 @@ declare const MixpanelQueryProfilesOutput: z.ZodObject<{
27
29
  page_size: z.ZodNullable<z.ZodNumber>;
28
30
  session_id: z.ZodNullable<z.ZodString>;
29
31
  }, z.core.$loose>;
30
- declare const mixpanelQueryProfiles: import("@keystrokehq/action").WorkflowActionDefinition<{
31
- project_id: number;
32
- page?: number | undefined;
33
- where?: string | undefined;
34
- behaviors?: number | undefined;
35
- session_id?: string | undefined;
36
- distinct_id?: string | undefined;
37
- distinct_ids?: string[] | undefined;
38
- workspace_id?: number | undefined;
39
- data_group_id?: string | undefined;
40
- as_of_timestamp?: number | undefined;
41
- filter_by_cohort?: Record<string, unknown> | undefined;
42
- include_all_users?: boolean | undefined;
43
- output_properties?: string[] | undefined;
44
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
32
+ declare const mixpanelQueryProfiles: AppAction<typeof MixpanelQueryProfilesInput, typeof MixpanelQueryProfilesOutput, typeof mixpanel.credential>;
45
33
  //#endregion
46
34
  export { mixpanelQueryProfiles };
47
35
  //# sourceMappingURL=query-profiles.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"query-profiles.d.mts","names":[],"sources":["../../src/actions/query-profiles.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAmB1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;cAS3B,qBAAA,gCAAqB,wBAAA;;;;;;;;;;;qBAMhC,MAAA"}
1
+ {"version":3,"file":"query-profiles.d.mts","names":[],"sources":["../../src/actions/query-profiles.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAmB1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;cAS3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/query-profiles.ts