@keystrokehq/mixpanel 0.1.0 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (356) hide show
  1. package/README.md +1 -1
  2. package/dist/action.cjs.map +1 -1
  3. package/dist/action.mjs.map +1 -1
  4. package/dist/actions/add-unique-to-profile-list-property.cjs +3 -3
  5. package/dist/actions/add-unique-to-profile-list-property.cjs.map +1 -1
  6. package/dist/actions/add-unique-to-profile-list-property.d.cts +31 -3
  7. package/dist/actions/add-unique-to-profile-list-property.d.cts.map +1 -1
  8. package/dist/actions/add-unique-to-profile-list-property.d.mts +31 -3
  9. package/dist/actions/add-unique-to-profile-list-property.d.mts.map +1 -1
  10. package/dist/actions/add-unique-to-profile-list-property.mjs +3 -3
  11. package/dist/actions/add-unique-to-profile-list-property.mjs.map +1 -1
  12. package/dist/actions/aggregate-events.cjs +4 -4
  13. package/dist/actions/aggregate-events.cjs.map +1 -1
  14. package/dist/actions/aggregate-events.d.cts +44 -3
  15. package/dist/actions/aggregate-events.d.cts.map +1 -1
  16. package/dist/actions/aggregate-events.d.mts +44 -3
  17. package/dist/actions/aggregate-events.d.mts.map +1 -1
  18. package/dist/actions/aggregate-events.mjs +4 -4
  19. package/dist/actions/aggregate-events.mjs.map +1 -1
  20. package/dist/actions/aggregated-event-property-values.cjs +3 -3
  21. package/dist/actions/aggregated-event-property-values.cjs.map +1 -1
  22. package/dist/actions/aggregated-event-property-values.d.cts +48 -3
  23. package/dist/actions/aggregated-event-property-values.d.cts.map +1 -1
  24. package/dist/actions/aggregated-event-property-values.d.mts +48 -3
  25. package/dist/actions/aggregated-event-property-values.d.mts.map +1 -1
  26. package/dist/actions/aggregated-event-property-values.mjs +3 -3
  27. package/dist/actions/aggregated-event-property-values.mjs.map +1 -1
  28. package/dist/actions/cohorts-list.cjs +8 -8
  29. package/dist/actions/cohorts-list.cjs.map +1 -1
  30. package/dist/actions/cohorts-list.d.cts +19 -3
  31. package/dist/actions/cohorts-list.d.cts.map +1 -1
  32. package/dist/actions/cohorts-list.d.mts +19 -3
  33. package/dist/actions/cohorts-list.d.mts.map +1 -1
  34. package/dist/actions/cohorts-list.mjs +8 -8
  35. package/dist/actions/cohorts-list.mjs.map +1 -1
  36. package/dist/actions/create-annotation-tag.cjs +4 -4
  37. package/dist/actions/create-annotation-tag.cjs.map +1 -1
  38. package/dist/actions/create-annotation-tag.d.cts +14 -3
  39. package/dist/actions/create-annotation-tag.d.cts.map +1 -1
  40. package/dist/actions/create-annotation-tag.d.mts +14 -3
  41. package/dist/actions/create-annotation-tag.d.mts.map +1 -1
  42. package/dist/actions/create-annotation-tag.mjs +4 -4
  43. package/dist/actions/create-annotation-tag.mjs.map +1 -1
  44. package/dist/actions/create-identity.cjs +1 -1
  45. package/dist/actions/create-identity.cjs.map +1 -1
  46. package/dist/actions/create-identity.d.cts +18 -3
  47. package/dist/actions/create-identity.d.cts.map +1 -1
  48. package/dist/actions/create-identity.d.mts +18 -3
  49. package/dist/actions/create-identity.d.mts.map +1 -1
  50. package/dist/actions/create-identity.mjs +1 -1
  51. package/dist/actions/create-identity.mjs.map +1 -1
  52. package/dist/actions/create-service-account.cjs +9 -9
  53. package/dist/actions/create-service-account.cjs.map +1 -1
  54. package/dist/actions/create-service-account.d.cts +44 -3
  55. package/dist/actions/create-service-account.d.cts.map +1 -1
  56. package/dist/actions/create-service-account.d.mts +44 -3
  57. package/dist/actions/create-service-account.d.mts.map +1 -1
  58. package/dist/actions/create-service-account.mjs +9 -9
  59. package/dist/actions/create-service-account.mjs.map +1 -1
  60. package/dist/actions/delete-group.cjs +1 -1
  61. package/dist/actions/delete-group.cjs.map +1 -1
  62. package/dist/actions/delete-group.d.cts +16 -3
  63. package/dist/actions/delete-group.d.cts.map +1 -1
  64. package/dist/actions/delete-group.d.mts +16 -3
  65. package/dist/actions/delete-group.d.mts.map +1 -1
  66. package/dist/actions/delete-group.mjs +1 -1
  67. package/dist/actions/delete-group.mjs.map +1 -1
  68. package/dist/actions/delete-profile-batch.cjs +2 -2
  69. package/dist/actions/delete-profile-batch.cjs.map +1 -1
  70. package/dist/actions/delete-profile-batch.d.cts +21 -3
  71. package/dist/actions/delete-profile-batch.d.cts.map +1 -1
  72. package/dist/actions/delete-profile-batch.d.mts +21 -3
  73. package/dist/actions/delete-profile-batch.d.mts.map +1 -1
  74. package/dist/actions/delete-profile-batch.mjs +2 -2
  75. package/dist/actions/delete-profile-batch.mjs.map +1 -1
  76. package/dist/actions/delete-profile-property.cjs +1 -1
  77. package/dist/actions/delete-profile-property.cjs.map +1 -1
  78. package/dist/actions/delete-profile-property.d.cts +22 -3
  79. package/dist/actions/delete-profile-property.d.cts.map +1 -1
  80. package/dist/actions/delete-profile-property.d.mts +22 -3
  81. package/dist/actions/delete-profile-property.d.mts.map +1 -1
  82. package/dist/actions/delete-profile-property.mjs +1 -1
  83. package/dist/actions/delete-profile-property.mjs.map +1 -1
  84. package/dist/actions/delete-profile.cjs +1 -1
  85. package/dist/actions/delete-profile.cjs.map +1 -1
  86. package/dist/actions/delete-profile.d.cts +17 -3
  87. package/dist/actions/delete-profile.d.cts.map +1 -1
  88. package/dist/actions/delete-profile.d.mts +17 -3
  89. package/dist/actions/delete-profile.d.mts.map +1 -1
  90. package/dist/actions/delete-profile.mjs +1 -1
  91. package/dist/actions/delete-profile.mjs.map +1 -1
  92. package/dist/actions/get-all-projects.cjs +1 -1
  93. package/dist/actions/get-all-projects.cjs.map +1 -1
  94. package/dist/actions/get-all-projects.d.cts +5 -3
  95. package/dist/actions/get-all-projects.d.cts.map +1 -1
  96. package/dist/actions/get-all-projects.d.mts +5 -3
  97. package/dist/actions/get-all-projects.d.mts.map +1 -1
  98. package/dist/actions/get-all-projects.mjs +1 -1
  99. package/dist/actions/get-all-projects.mjs.map +1 -1
  100. package/dist/actions/get-annotation-tags-alt1.cjs +6 -6
  101. package/dist/actions/get-annotation-tags-alt1.cjs.map +1 -1
  102. package/dist/actions/get-annotation-tags-alt1.d.cts +14 -3
  103. package/dist/actions/get-annotation-tags-alt1.d.cts.map +1 -1
  104. package/dist/actions/get-annotation-tags-alt1.d.mts +14 -3
  105. package/dist/actions/get-annotation-tags-alt1.d.mts.map +1 -1
  106. package/dist/actions/get-annotation-tags-alt1.mjs +6 -6
  107. package/dist/actions/get-annotation-tags-alt1.mjs.map +1 -1
  108. package/dist/actions/group-batch-update.cjs +5 -5
  109. package/dist/actions/group-batch-update.cjs.map +1 -1
  110. package/dist/actions/group-batch-update.d.cts +38 -3
  111. package/dist/actions/group-batch-update.d.cts.map +1 -1
  112. package/dist/actions/group-batch-update.d.mts +38 -3
  113. package/dist/actions/group-batch-update.d.mts.map +1 -1
  114. package/dist/actions/group-batch-update.mjs +5 -5
  115. package/dist/actions/group-batch-update.mjs.map +1 -1
  116. package/dist/actions/group-delete-property.cjs +2 -2
  117. package/dist/actions/group-delete-property.cjs.map +1 -1
  118. package/dist/actions/group-delete-property.d.cts +17 -3
  119. package/dist/actions/group-delete-property.d.cts.map +1 -1
  120. package/dist/actions/group-delete-property.d.mts +17 -3
  121. package/dist/actions/group-delete-property.d.mts.map +1 -1
  122. package/dist/actions/group-delete-property.mjs +2 -2
  123. package/dist/actions/group-delete-property.mjs.map +1 -1
  124. package/dist/actions/identity-create-alias.cjs +1 -1
  125. package/dist/actions/identity-create-alias.cjs.map +1 -1
  126. package/dist/actions/identity-create-alias.d.cts +13 -3
  127. package/dist/actions/identity-create-alias.d.cts.map +1 -1
  128. package/dist/actions/identity-create-alias.d.mts +13 -3
  129. package/dist/actions/identity-create-alias.d.mts.map +1 -1
  130. package/dist/actions/identity-create-alias.mjs +1 -1
  131. package/dist/actions/identity-create-alias.mjs.map +1 -1
  132. package/dist/actions/jql-query.cjs +1 -1
  133. package/dist/actions/jql-query.cjs.map +1 -1
  134. package/dist/actions/jql-query.d.cts +15 -3
  135. package/dist/actions/jql-query.d.cts.map +1 -1
  136. package/dist/actions/jql-query.d.mts +15 -3
  137. package/dist/actions/jql-query.d.mts.map +1 -1
  138. package/dist/actions/jql-query.mjs +1 -1
  139. package/dist/actions/jql-query.mjs.map +1 -1
  140. package/dist/actions/list-funnels.cjs +4 -4
  141. package/dist/actions/list-funnels.cjs.map +1 -1
  142. package/dist/actions/list-funnels.d.cts +14 -3
  143. package/dist/actions/list-funnels.d.cts.map +1 -1
  144. package/dist/actions/list-funnels.d.mts +14 -3
  145. package/dist/actions/list-funnels.d.mts.map +1 -1
  146. package/dist/actions/list-funnels.mjs +4 -4
  147. package/dist/actions/list-funnels.mjs.map +1 -1
  148. package/dist/actions/list-service-accounts.cjs +5 -5
  149. package/dist/actions/list-service-accounts.cjs.map +1 -1
  150. package/dist/actions/list-service-accounts.d.cts +18 -3
  151. package/dist/actions/list-service-accounts.d.cts.map +1 -1
  152. package/dist/actions/list-service-accounts.d.mts +18 -3
  153. package/dist/actions/list-service-accounts.d.mts.map +1 -1
  154. package/dist/actions/list-service-accounts.mjs +5 -5
  155. package/dist/actions/list-service-accounts.mjs.map +1 -1
  156. package/dist/actions/profile-append-to-list-property.cjs +2 -2
  157. package/dist/actions/profile-append-to-list-property.cjs.map +1 -1
  158. package/dist/actions/profile-append-to-list-property.d.cts +25 -3
  159. package/dist/actions/profile-append-to-list-property.d.cts.map +1 -1
  160. package/dist/actions/profile-append-to-list-property.d.mts +25 -3
  161. package/dist/actions/profile-append-to-list-property.d.mts.map +1 -1
  162. package/dist/actions/profile-append-to-list-property.mjs +2 -2
  163. package/dist/actions/profile-append-to-list-property.mjs.map +1 -1
  164. package/dist/actions/profile-batch-update.cjs +7 -7
  165. package/dist/actions/profile-batch-update.cjs.map +1 -1
  166. package/dist/actions/profile-batch-update.d.cts +47 -3
  167. package/dist/actions/profile-batch-update.d.cts.map +1 -1
  168. package/dist/actions/profile-batch-update.d.mts +47 -3
  169. package/dist/actions/profile-batch-update.d.mts.map +1 -1
  170. package/dist/actions/profile-batch-update.mjs +7 -7
  171. package/dist/actions/profile-batch-update.mjs.map +1 -1
  172. package/dist/actions/profile-event-activity.cjs +6 -6
  173. package/dist/actions/profile-event-activity.cjs.map +1 -1
  174. package/dist/actions/profile-event-activity.d.cts +59 -3
  175. package/dist/actions/profile-event-activity.d.cts.map +1 -1
  176. package/dist/actions/profile-event-activity.d.mts +59 -3
  177. package/dist/actions/profile-event-activity.d.mts.map +1 -1
  178. package/dist/actions/profile-event-activity.mjs +6 -6
  179. package/dist/actions/profile-event-activity.mjs.map +1 -1
  180. package/dist/actions/profile-numerical-add.cjs +2 -2
  181. package/dist/actions/profile-numerical-add.cjs.map +1 -1
  182. package/dist/actions/profile-numerical-add.d.cts +22 -3
  183. package/dist/actions/profile-numerical-add.d.cts.map +1 -1
  184. package/dist/actions/profile-numerical-add.d.mts +22 -3
  185. package/dist/actions/profile-numerical-add.d.mts.map +1 -1
  186. package/dist/actions/profile-numerical-add.mjs +2 -2
  187. package/dist/actions/profile-numerical-add.mjs.map +1 -1
  188. package/dist/actions/profile-remove-from-list-property.cjs +2 -2
  189. package/dist/actions/profile-remove-from-list-property.cjs.map +1 -1
  190. package/dist/actions/profile-remove-from-list-property.d.cts +25 -3
  191. package/dist/actions/profile-remove-from-list-property.d.cts.map +1 -1
  192. package/dist/actions/profile-remove-from-list-property.d.mts +25 -3
  193. package/dist/actions/profile-remove-from-list-property.d.mts.map +1 -1
  194. package/dist/actions/profile-remove-from-list-property.mjs +2 -2
  195. package/dist/actions/profile-remove-from-list-property.mjs.map +1 -1
  196. package/dist/actions/profile-set.cjs +1 -1
  197. package/dist/actions/profile-set.cjs.map +1 -1
  198. package/dist/actions/profile-set.d.cts +20 -3
  199. package/dist/actions/profile-set.d.cts.map +1 -1
  200. package/dist/actions/profile-set.d.mts +20 -3
  201. package/dist/actions/profile-set.d.mts.map +1 -1
  202. package/dist/actions/profile-set.mjs +1 -1
  203. package/dist/actions/profile-set.mjs.map +1 -1
  204. package/dist/actions/query-frequency-report.cjs +1 -1
  205. package/dist/actions/query-frequency-report.cjs.map +1 -1
  206. package/dist/actions/query-frequency-report.d.cts +34 -3
  207. package/dist/actions/query-frequency-report.d.cts.map +1 -1
  208. package/dist/actions/query-frequency-report.d.mts +34 -3
  209. package/dist/actions/query-frequency-report.d.mts.map +1 -1
  210. package/dist/actions/query-frequency-report.mjs +1 -1
  211. package/dist/actions/query-frequency-report.mjs.map +1 -1
  212. package/dist/actions/query-funnel.cjs +3 -3
  213. package/dist/actions/query-funnel.cjs.map +1 -1
  214. package/dist/actions/query-funnel.d.cts +43 -3
  215. package/dist/actions/query-funnel.d.cts.map +1 -1
  216. package/dist/actions/query-funnel.d.mts +43 -3
  217. package/dist/actions/query-funnel.d.mts.map +1 -1
  218. package/dist/actions/query-funnel.mjs +3 -3
  219. package/dist/actions/query-funnel.mjs.map +1 -1
  220. package/dist/actions/query-insight.cjs +6 -6
  221. package/dist/actions/query-insight.cjs.map +1 -1
  222. package/dist/actions/query-insight.d.cts +19 -3
  223. package/dist/actions/query-insight.d.cts.map +1 -1
  224. package/dist/actions/query-insight.d.mts +19 -3
  225. package/dist/actions/query-insight.d.mts.map +1 -1
  226. package/dist/actions/query-insight.mjs +6 -6
  227. package/dist/actions/query-insight.mjs.map +1 -1
  228. package/dist/actions/query-numeric-average.cjs +3 -3
  229. package/dist/actions/query-numeric-average.cjs.map +1 -1
  230. package/dist/actions/query-numeric-average.d.cts +27 -3
  231. package/dist/actions/query-numeric-average.d.cts.map +1 -1
  232. package/dist/actions/query-numeric-average.d.mts +27 -3
  233. package/dist/actions/query-numeric-average.d.mts.map +1 -1
  234. package/dist/actions/query-numeric-average.mjs +3 -3
  235. package/dist/actions/query-numeric-average.mjs.map +1 -1
  236. package/dist/actions/query-numeric-sum.cjs +4 -4
  237. package/dist/actions/query-numeric-sum.cjs.map +1 -1
  238. package/dist/actions/query-numeric-sum.d.cts +28 -3
  239. package/dist/actions/query-numeric-sum.d.cts.map +1 -1
  240. package/dist/actions/query-numeric-sum.d.mts +28 -3
  241. package/dist/actions/query-numeric-sum.d.mts.map +1 -1
  242. package/dist/actions/query-numeric-sum.mjs +4 -4
  243. package/dist/actions/query-numeric-sum.mjs.map +1 -1
  244. package/dist/actions/query-profiles.cjs +9 -9
  245. package/dist/actions/query-profiles.cjs.map +1 -1
  246. package/dist/actions/query-profiles.d.cts +41 -3
  247. package/dist/actions/query-profiles.d.cts.map +1 -1
  248. package/dist/actions/query-profiles.d.mts +41 -3
  249. package/dist/actions/query-profiles.d.mts.map +1 -1
  250. package/dist/actions/query-profiles.mjs +9 -9
  251. package/dist/actions/query-profiles.mjs.map +1 -1
  252. package/dist/actions/query-retention-report.cjs +1 -1
  253. package/dist/actions/query-retention-report.cjs.map +1 -1
  254. package/dist/actions/query-retention-report.d.cts +42 -3
  255. package/dist/actions/query-retention-report.d.cts.map +1 -1
  256. package/dist/actions/query-retention-report.d.mts +42 -3
  257. package/dist/actions/query-retention-report.d.mts.map +1 -1
  258. package/dist/actions/query-retention-report.mjs +1 -1
  259. package/dist/actions/query-retention-report.mjs.map +1 -1
  260. package/dist/actions/query-segmentation.cjs +4 -4
  261. package/dist/actions/query-segmentation.cjs.map +1 -1
  262. package/dist/actions/query-segmentation.d.cts +40 -3
  263. package/dist/actions/query-segmentation.d.cts.map +1 -1
  264. package/dist/actions/query-segmentation.d.mts +40 -3
  265. package/dist/actions/query-segmentation.d.mts.map +1 -1
  266. package/dist/actions/query-segmentation.mjs +4 -4
  267. package/dist/actions/query-segmentation.mjs.map +1 -1
  268. package/dist/actions/query-top-events.cjs +5 -5
  269. package/dist/actions/query-top-events.cjs.map +1 -1
  270. package/dist/actions/query-top-events.d.cts +28 -3
  271. package/dist/actions/query-top-events.d.cts.map +1 -1
  272. package/dist/actions/query-top-events.d.mts +28 -3
  273. package/dist/actions/query-top-events.d.mts.map +1 -1
  274. package/dist/actions/query-top-events.mjs +5 -5
  275. package/dist/actions/query-top-events.mjs.map +1 -1
  276. package/dist/actions/remove-from-group-list-property.cjs +2 -2
  277. package/dist/actions/remove-from-group-list-property.cjs.map +1 -1
  278. package/dist/actions/remove-from-group-list-property.d.cts +22 -3
  279. package/dist/actions/remove-from-group-list-property.d.cts.map +1 -1
  280. package/dist/actions/remove-from-group-list-property.d.mts +22 -3
  281. package/dist/actions/remove-from-group-list-property.d.mts.map +1 -1
  282. package/dist/actions/remove-from-group-list-property.mjs +2 -2
  283. package/dist/actions/remove-from-group-list-property.mjs.map +1 -1
  284. package/dist/actions/remove-from-list-property.cjs +1 -1
  285. package/dist/actions/remove-from-list-property.cjs.map +1 -1
  286. package/dist/actions/remove-from-list-property.d.cts +20 -3
  287. package/dist/actions/remove-from-list-property.d.cts.map +1 -1
  288. package/dist/actions/remove-from-list-property.d.mts +20 -3
  289. package/dist/actions/remove-from-list-property.d.mts.map +1 -1
  290. package/dist/actions/remove-from-list-property.mjs +1 -1
  291. package/dist/actions/remove-from-list-property.mjs.map +1 -1
  292. package/dist/actions/segmentation-numeric-query.cjs +2 -2
  293. package/dist/actions/segmentation-numeric-query.cjs.map +1 -1
  294. package/dist/actions/segmentation-numeric-query.d.cts +37 -3
  295. package/dist/actions/segmentation-numeric-query.d.cts.map +1 -1
  296. package/dist/actions/segmentation-numeric-query.d.mts +37 -3
  297. package/dist/actions/segmentation-numeric-query.d.mts.map +1 -1
  298. package/dist/actions/segmentation-numeric-query.mjs +2 -2
  299. package/dist/actions/segmentation-numeric-query.mjs.map +1 -1
  300. package/dist/actions/set-group-property-once.cjs +1 -1
  301. package/dist/actions/set-group-property-once.cjs.map +1 -1
  302. package/dist/actions/set-group-property-once.d.cts +17 -3
  303. package/dist/actions/set-group-property-once.d.cts.map +1 -1
  304. package/dist/actions/set-group-property-once.d.mts +17 -3
  305. package/dist/actions/set-group-property-once.d.mts.map +1 -1
  306. package/dist/actions/set-group-property-once.mjs +1 -1
  307. package/dist/actions/set-group-property-once.mjs.map +1 -1
  308. package/dist/actions/set-profile-property-once.cjs +1 -1
  309. package/dist/actions/set-profile-property-once.cjs.map +1 -1
  310. package/dist/actions/set-profile-property-once.d.cts +20 -3
  311. package/dist/actions/set-profile-property-once.d.cts.map +1 -1
  312. package/dist/actions/set-profile-property-once.d.mts +20 -3
  313. package/dist/actions/set-profile-property-once.d.mts.map +1 -1
  314. package/dist/actions/set-profile-property-once.mjs +1 -1
  315. package/dist/actions/set-profile-property-once.mjs.map +1 -1
  316. package/dist/actions/top-event-properties.cjs.map +1 -1
  317. package/dist/actions/top-event-properties.d.cts +13 -3
  318. package/dist/actions/top-event-properties.d.cts.map +1 -1
  319. package/dist/actions/top-event-properties.d.mts +13 -3
  320. package/dist/actions/top-event-properties.d.mts.map +1 -1
  321. package/dist/actions/top-event-properties.mjs.map +1 -1
  322. package/dist/actions/top-event-property-values.cjs +1 -1
  323. package/dist/actions/top-event-property-values.cjs.map +1 -1
  324. package/dist/actions/top-event-property-values.d.cts +17 -3
  325. package/dist/actions/top-event-property-values.d.cts.map +1 -1
  326. package/dist/actions/top-event-property-values.d.mts +17 -3
  327. package/dist/actions/top-event-property-values.d.mts.map +1 -1
  328. package/dist/actions/top-event-property-values.mjs +1 -1
  329. package/dist/actions/top-event-property-values.mjs.map +1 -1
  330. package/dist/actions/top-events.cjs +1 -1
  331. package/dist/actions/top-events.cjs.map +1 -1
  332. package/dist/actions/top-events.d.cts +19 -3
  333. package/dist/actions/top-events.d.cts.map +1 -1
  334. package/dist/actions/top-events.d.mts +19 -3
  335. package/dist/actions/top-events.d.mts.map +1 -1
  336. package/dist/actions/top-events.mjs +1 -1
  337. package/dist/actions/top-events.mjs.map +1 -1
  338. package/dist/actions/update-group-list-property.cjs +3 -3
  339. package/dist/actions/update-group-list-property.cjs.map +1 -1
  340. package/dist/actions/update-group-list-property.d.cts +27 -3
  341. package/dist/actions/update-group-list-property.d.cts.map +1 -1
  342. package/dist/actions/update-group-list-property.d.mts +27 -3
  343. package/dist/actions/update-group-list-property.d.mts.map +1 -1
  344. package/dist/actions/update-group-list-property.mjs +3 -3
  345. package/dist/actions/update-group-list-property.mjs.map +1 -1
  346. package/dist/catalog.cjs +18 -1
  347. package/dist/catalog.cjs.map +1 -1
  348. package/dist/catalog.d.cts +17 -0
  349. package/dist/catalog.d.mts +17 -0
  350. package/dist/catalog.mjs +18 -1
  351. package/dist/catalog.mjs.map +1 -1
  352. package/dist/execute.cjs +1 -1
  353. package/dist/execute.cjs.map +1 -1
  354. package/dist/execute.mjs +1 -1
  355. package/dist/execute.mjs.map +1 -1
  356. package/package.json +2 -2
@@ -1,9 +1,65 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/profile-event-activity.d.ts
4
- declare const MixpanelProfileEventActivityInput: z.ZodTypeAny;
5
- declare const MixpanelProfileEventActivityOutput: z.ZodTypeAny;
6
- declare const mixpanelProfileEventActivity: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MixpanelProfileEventActivityInput: z.ZodObject<{
5
+ to_date: z.ZodString;
6
+ from_date: z.ZodString;
7
+ project_id: z.ZodNumber;
8
+ distinct_ids: z.ZodArray<z.ZodString>;
9
+ workspace_id: z.ZodOptional<z.ZodNumber>;
10
+ }, z.core.$strip>;
11
+ declare const MixpanelProfileEventActivityOutput: z.ZodObject<{
12
+ status: z.ZodNullable<z.ZodString>;
13
+ results: z.ZodNullable<z.ZodObject<{
14
+ events: z.ZodArray<z.ZodObject<{
15
+ event: z.ZodNullable<z.ZodString>;
16
+ properties: z.ZodNullable<z.ZodObject<{
17
+ $os: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ time: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
19
+ $city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ $wifi: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
21
+ $brand: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ $model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ mp_lib: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ $import: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
25
+ $region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ $browser: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ $user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ $duration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
29
+ $referrer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ $device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ $insert_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ utm_medium: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ utm_source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ $os_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
+ $current_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
+ $distinct_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
+ $lib_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
+ utm_campaign: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
+ $manufacturer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
+ $screen_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
41
+ $mp_event_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
42
+ $screen_height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
43
+ mp_country_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
44
+ $browser_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45
+ $mp_api_endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
46
+ $initial_referrer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
+ $referring_domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
+ $bluetooth_enabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
49
+ $mp_api_timestamp_ms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
50
+ mp_processing_time_ms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
51
+ $initial_referring_domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52
+ }, z.core.$loose>>;
53
+ }, z.core.$loose>>;
54
+ }, z.core.$loose>>;
55
+ }, z.core.$loose>;
56
+ declare const mixpanelProfileEventActivity: import("@keystrokehq/action").WorkflowActionDefinition<{
57
+ to_date: string;
58
+ from_date: string;
59
+ project_id: number;
60
+ distinct_ids: string[];
61
+ workspace_id?: number | undefined;
62
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
63
  //#endregion
8
64
  export { mixpanelProfileEventActivity };
9
65
  //# sourceMappingURL=profile-event-activity.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"profile-event-activity.d.cts","names":[],"sources":["../../src/actions/profile-event-activity.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAMiC;AAAA,cA6CtE,kCAAA,EAAoC,CAAA,CAAE,UAGW;AAAA,cAEjD,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"profile-event-activity.d.cts","names":[],"sources":["../../src/actions/profile-event-activity.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;cAmDjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKlC,4BAAA,gCAA4B,wBAAA"}
@@ -1,9 +1,65 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/profile-event-activity.d.ts
4
- declare const MixpanelProfileEventActivityInput: z.ZodTypeAny;
5
- declare const MixpanelProfileEventActivityOutput: z.ZodTypeAny;
6
- declare const mixpanelProfileEventActivity: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MixpanelProfileEventActivityInput: z.ZodObject<{
5
+ to_date: z.ZodString;
6
+ from_date: z.ZodString;
7
+ project_id: z.ZodNumber;
8
+ distinct_ids: z.ZodArray<z.ZodString>;
9
+ workspace_id: z.ZodOptional<z.ZodNumber>;
10
+ }, z.core.$strip>;
11
+ declare const MixpanelProfileEventActivityOutput: z.ZodObject<{
12
+ status: z.ZodNullable<z.ZodString>;
13
+ results: z.ZodNullable<z.ZodObject<{
14
+ events: z.ZodArray<z.ZodObject<{
15
+ event: z.ZodNullable<z.ZodString>;
16
+ properties: z.ZodNullable<z.ZodObject<{
17
+ $os: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ time: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
19
+ $city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ $wifi: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
21
+ $brand: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ $model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ mp_lib: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ $import: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
25
+ $region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ $browser: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ $user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ $duration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
29
+ $referrer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
+ $device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ $insert_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ utm_medium: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ utm_source: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ $os_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
+ $current_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
+ $distinct_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
+ $lib_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
+ utm_campaign: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
+ $manufacturer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
+ $screen_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
41
+ $mp_event_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
42
+ $screen_height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
43
+ mp_country_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
44
+ $browser_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45
+ $mp_api_endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
46
+ $initial_referrer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
+ $referring_domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
+ $bluetooth_enabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
49
+ $mp_api_timestamp_ms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
50
+ mp_processing_time_ms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
51
+ $initial_referring_domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52
+ }, z.core.$loose>>;
53
+ }, z.core.$loose>>;
54
+ }, z.core.$loose>>;
55
+ }, z.core.$loose>;
56
+ declare const mixpanelProfileEventActivity: import("@keystrokehq/action").WorkflowActionDefinition<{
57
+ to_date: string;
58
+ from_date: string;
59
+ project_id: number;
60
+ distinct_ids: string[];
61
+ workspace_id?: number | undefined;
62
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
63
  //#endregion
8
64
  export { mixpanelProfileEventActivity };
9
65
  //# sourceMappingURL=profile-event-activity.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"profile-event-activity.d.mts","names":[],"sources":["../../src/actions/profile-event-activity.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAMiC;AAAA,cA6CtE,kCAAA,EAAoC,CAAA,CAAE,UAGW;AAAA,cAEjD,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"profile-event-activity.d.mts","names":[],"sources":["../../src/actions/profile-event-activity.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;cAmDjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKlC,4BAAA,gCAA4B,wBAAA"}
@@ -44,21 +44,21 @@ const MixpanelProfileEventActivity_EventPropertiesSchema = z.object({
44
44
  $mp_api_timestamp_ms: z.number().int().describe("UTC timestamp in milliseconds when the API received the event").nullable().optional(),
45
45
  mp_processing_time_ms: z.number().int().describe("UTC timestamp when Mixpanel servers processed the event").nullable().optional(),
46
46
  $initial_referring_domain: z.string().describe("First-arrival referring domain").nullable().optional()
47
- }).describe("Model for event properties including time, distinct_id, and other attributes.");
47
+ }).passthrough().describe("Model for event properties including time, distinct_id, and other attributes.");
48
48
  const MixpanelProfileEventActivity_EventSchema = z.object({
49
- event: z.string().describe("The name of the event that occurred"),
49
+ event: z.string().describe("The name of the event that occurred").nullable(),
50
50
  properties: MixpanelProfileEventActivity_EventPropertiesSchema.nullable()
51
- }).describe("Model for individual event in the activity feed.");
52
- const MixpanelProfileEventActivity_ResultsSchema = z.object({ events: z.array(MixpanelProfileEventActivity_EventSchema).describe("Array of events in the user's activity feed") }).describe("Container for query results.");
51
+ }).passthrough().describe("Model for individual event in the activity feed.");
52
+ const MixpanelProfileEventActivity_ResultsSchema = z.object({ events: z.array(MixpanelProfileEventActivity_EventSchema).describe("Array of events in the user's activity feed") }).passthrough().describe("Container for query results.");
53
53
  const mixpanelProfileEventActivity = action("MIXPANEL_PROFILE_EVENT_ACTIVITY", {
54
54
  slug: "mixpanel-profile-event-activity",
55
55
  name: "Get Profile Event Activity",
56
56
  description: "Get event activity feed for specified users from Mixpanel Query API. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.",
57
57
  input: MixpanelProfileEventActivityInput,
58
58
  output: z.object({
59
- status: z.string().describe("Indicates whether the API request was successful"),
59
+ status: z.string().describe("Indicates whether the API request was successful").nullable(),
60
60
  results: MixpanelProfileEventActivity_ResultsSchema.nullable()
61
- }).describe("Response model for profile event activity data.")
61
+ }).passthrough().describe("Response model for profile event activity data.")
62
62
  });
63
63
  //#endregion
64
64
  export { mixpanelProfileEventActivity };
@@ -1 +1 @@
1
- {"version":3,"file":"profile-event-activity.mjs","names":[],"sources":["../../src/actions/profile-event-activity.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelProfileEventActivityInput: z.ZodTypeAny = z.object({\n to_date: z.string().describe(\"End date for the query (inclusive, format: YYYY-MM-DD)\"),\n from_date: z.string().describe(\"Start date for the query (inclusive, format: YYYY-MM-DD)\"),\n project_id: z.number().int().describe(\"The ID of the project to query. Required if using service account authentication.\"),\n distinct_ids: z.array(z.string()).describe(\"List of distinct_ids to return activity feeds for\"),\n workspace_id: z.number().int().describe(\"The ID of the workspace if applicable\").optional(),\n}).describe(\"Request model for getting profile event activity data from Mixpanel.\");\nconst MixpanelProfileEventActivity_EventPropertiesSchema: z.ZodTypeAny = z.object({\n $os: z.string().describe(\"Operating system name\").nullable().optional(),\n time: z.number().int().describe(\"Unix timestamp indicating when the event occurred\").nullable().optional(),\n $city: z.string().describe(\"The city of the event sender parsed from the IP property or the Latitude and Longitude properties\").nullable().optional(),\n $wifi: z.boolean().describe(\"WiFi connectivity status\").nullable().optional(),\n $brand: z.string().describe(\"Device brand\").nullable().optional(),\n $model: z.string().describe(\"Device model\").nullable().optional(),\n mp_lib: z.string().describe(\"The Mixpanel library that sent the event (web, android, iphone, swift, etc.)\").nullable().optional(),\n $import: z.boolean().describe(\"Flag indicating events sent through the /import API\").nullable().optional(),\n $region: z.string().describe(\"The state or province derived from IP or coordinates\").nullable().optional(),\n $browser: z.string().describe(\"Browser name\").nullable().optional(),\n $user_id: z.string().describe(\"The identified user ID set via identify()\").nullable().optional(),\n $duration: z.number().describe(\"Elapsed time in seconds between time_event and track calls\").nullable().optional(),\n $referrer: z.string().describe(\"Current session referral source\").nullable().optional(),\n $device_id: z.string().describe(\"Autogenerated local device identifier\").nullable().optional(),\n $insert_id: z.string().describe(\"Unique event identifier for deduplication\").nullable().optional(),\n utm_medium: z.string().describe(\"UTM medium parameter from the arrival URL\").nullable().optional(),\n utm_source: z.string().describe(\"UTM source parameter from the arrival URL\").nullable().optional(),\n $os_version: z.string().describe(\"Operating system version\").nullable().optional(),\n $current_url: z.string().describe(\"The page URL where tracking occurred\").nullable().optional(),\n $distinct_id: z.string().describe(\"User identifier to tie all events belonging to the same user\").nullable().optional(),\n $lib_version: z.string().describe(\"Library version number\").nullable().optional(),\n utm_campaign: z.string().describe(\"UTM campaign parameter from the arrival URL\").nullable().optional(),\n $manufacturer: z.string().describe(\"Device manufacturer\").nullable().optional(),\n $screen_width: z.number().int().describe(\"Display width in pixels\").nullable().optional(),\n $mp_event_size: z.number().int().describe(\"Event size in bytes before transformation\").nullable().optional(),\n $screen_height: z.number().int().describe(\"Display height in pixels\").nullable().optional(),\n mp_country_code: z.string().describe(\"Two-letter country code converted to country name in the UI\").nullable().optional(),\n $browser_version: z.string().describe(\"Browser version number\").nullable().optional(),\n $mp_api_endpoint: z.string().describe(\"Records which ingestion endpoint received the data\").nullable().optional(),\n $initial_referrer: z.string().describe(\"First-arrival referral source\").nullable().optional(),\n $referring_domain: z.string().describe(\"Current session referring domain\").nullable().optional(),\n $bluetooth_enabled: z.boolean().describe(\"Bluetooth connectivity status\").nullable().optional(),\n $mp_api_timestamp_ms: z.number().int().describe(\"UTC timestamp in milliseconds when the API received the event\").nullable().optional(),\n mp_processing_time_ms: z.number().int().describe(\"UTC timestamp when Mixpanel servers processed the event\").nullable().optional(),\n $initial_referring_domain: z.string().describe(\"First-arrival referring domain\").nullable().optional(),\n}).describe(\"Model for event properties including time, distinct_id, and other attributes.\");\nconst MixpanelProfileEventActivity_EventSchema: z.ZodTypeAny = z.object({\n event: z.string().describe(\"The name of the event that occurred\"),\n properties: MixpanelProfileEventActivity_EventPropertiesSchema.nullable(),\n}).describe(\"Model for individual event in the activity feed.\");\nconst MixpanelProfileEventActivity_ResultsSchema: z.ZodTypeAny = z.object({\n events: z.array(MixpanelProfileEventActivity_EventSchema).describe(\"Array of events in the user's activity feed\"),\n}).describe(\"Container for query results.\");\nexport const MixpanelProfileEventActivityOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"Indicates whether the API request was successful\"),\n results: MixpanelProfileEventActivity_ResultsSchema.nullable(),\n}).describe(\"Response model for profile event activity data.\");\n\nexport const mixpanelProfileEventActivity = action(\"MIXPANEL_PROFILE_EVENT_ACTIVITY\", {\n slug: \"mixpanel-profile-event-activity\",\n name: \"Get Profile Event Activity\",\n description: \"Get event activity feed for specified users from Mixpanel Query API. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.\",\n input: MixpanelProfileEventActivityInput,\n output: MixpanelProfileEventActivityOutput,\n});\n"],"mappings":"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"}
1
+ {"version":3,"file":"profile-event-activity.mjs","names":[],"sources":["../../src/actions/profile-event-activity.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelProfileEventActivityInput = z.object({\n to_date: z.string().describe(\"End date for the query (inclusive, format: YYYY-MM-DD)\"),\n from_date: z.string().describe(\"Start date for the query (inclusive, format: YYYY-MM-DD)\"),\n project_id: z.number().int().describe(\"The ID of the project to query. Required if using service account authentication.\"),\n distinct_ids: z.array(z.string()).describe(\"List of distinct_ids to return activity feeds for\"),\n workspace_id: z.number().int().describe(\"The ID of the workspace if applicable\").optional(),\n}).describe(\"Request model for getting profile event activity data from Mixpanel.\");\nconst MixpanelProfileEventActivity_EventPropertiesSchema = z.object({\n $os: z.string().describe(\"Operating system name\").nullable().optional(),\n time: z.number().int().describe(\"Unix timestamp indicating when the event occurred\").nullable().optional(),\n $city: z.string().describe(\"The city of the event sender parsed from the IP property or the Latitude and Longitude properties\").nullable().optional(),\n $wifi: z.boolean().describe(\"WiFi connectivity status\").nullable().optional(),\n $brand: z.string().describe(\"Device brand\").nullable().optional(),\n $model: z.string().describe(\"Device model\").nullable().optional(),\n mp_lib: z.string().describe(\"The Mixpanel library that sent the event (web, android, iphone, swift, etc.)\").nullable().optional(),\n $import: z.boolean().describe(\"Flag indicating events sent through the /import API\").nullable().optional(),\n $region: z.string().describe(\"The state or province derived from IP or coordinates\").nullable().optional(),\n $browser: z.string().describe(\"Browser name\").nullable().optional(),\n $user_id: z.string().describe(\"The identified user ID set via identify()\").nullable().optional(),\n $duration: z.number().describe(\"Elapsed time in seconds between time_event and track calls\").nullable().optional(),\n $referrer: z.string().describe(\"Current session referral source\").nullable().optional(),\n $device_id: z.string().describe(\"Autogenerated local device identifier\").nullable().optional(),\n $insert_id: z.string().describe(\"Unique event identifier for deduplication\").nullable().optional(),\n utm_medium: z.string().describe(\"UTM medium parameter from the arrival URL\").nullable().optional(),\n utm_source: z.string().describe(\"UTM source parameter from the arrival URL\").nullable().optional(),\n $os_version: z.string().describe(\"Operating system version\").nullable().optional(),\n $current_url: z.string().describe(\"The page URL where tracking occurred\").nullable().optional(),\n $distinct_id: z.string().describe(\"User identifier to tie all events belonging to the same user\").nullable().optional(),\n $lib_version: z.string().describe(\"Library version number\").nullable().optional(),\n utm_campaign: z.string().describe(\"UTM campaign parameter from the arrival URL\").nullable().optional(),\n $manufacturer: z.string().describe(\"Device manufacturer\").nullable().optional(),\n $screen_width: z.number().int().describe(\"Display width in pixels\").nullable().optional(),\n $mp_event_size: z.number().int().describe(\"Event size in bytes before transformation\").nullable().optional(),\n $screen_height: z.number().int().describe(\"Display height in pixels\").nullable().optional(),\n mp_country_code: z.string().describe(\"Two-letter country code converted to country name in the UI\").nullable().optional(),\n $browser_version: z.string().describe(\"Browser version number\").nullable().optional(),\n $mp_api_endpoint: z.string().describe(\"Records which ingestion endpoint received the data\").nullable().optional(),\n $initial_referrer: z.string().describe(\"First-arrival referral source\").nullable().optional(),\n $referring_domain: z.string().describe(\"Current session referring domain\").nullable().optional(),\n $bluetooth_enabled: z.boolean().describe(\"Bluetooth connectivity status\").nullable().optional(),\n $mp_api_timestamp_ms: z.number().int().describe(\"UTC timestamp in milliseconds when the API received the event\").nullable().optional(),\n mp_processing_time_ms: z.number().int().describe(\"UTC timestamp when Mixpanel servers processed the event\").nullable().optional(),\n $initial_referring_domain: z.string().describe(\"First-arrival referring domain\").nullable().optional(),\n}).passthrough().describe(\"Model for event properties including time, distinct_id, and other attributes.\");\nconst MixpanelProfileEventActivity_EventSchema = z.object({\n event: z.string().describe(\"The name of the event that occurred\").nullable(),\n properties: MixpanelProfileEventActivity_EventPropertiesSchema.nullable(),\n}).passthrough().describe(\"Model for individual event in the activity feed.\");\nconst MixpanelProfileEventActivity_ResultsSchema = z.object({\n events: z.array(MixpanelProfileEventActivity_EventSchema).describe(\"Array of events in the user's activity feed\"),\n}).passthrough().describe(\"Container for query results.\");\nexport const MixpanelProfileEventActivityOutput = z.object({\n status: z.string().describe(\"Indicates whether the API request was successful\").nullable(),\n results: MixpanelProfileEventActivity_ResultsSchema.nullable(),\n}).passthrough().describe(\"Response model for profile event activity data.\");\n\nexport const mixpanelProfileEventActivity = action(\"MIXPANEL_PROFILE_EVENT_ACTIVITY\", {\n slug: \"mixpanel-profile-event-activity\",\n name: \"Get Profile Event Activity\",\n description: \"Get event activity feed for specified users from Mixpanel Query API. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.\",\n input: MixpanelProfileEventActivityInput,\n output: MixpanelProfileEventActivityOutput,\n});\n"],"mappings":"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"}
@@ -3,7 +3,7 @@ let zod = require("zod");
3
3
  //#region src/actions/profile-numerical-add.ts
4
4
  const MixpanelProfileNumericalAddInput = zod.z.object({
5
5
  ip: zod.z.union([zod.z.string(), zod.z.number().int()]).optional(),
6
- add: zod.z.object({}).describe("A JSON object containing property names as keys and numerical increment values. Properties will be incremented by the specified amount. If a property doesn't exist, the value is added to zero. Use negative values to decrement."),
6
+ add: zod.z.record(zod.z.string(), zod.z.unknown()).describe("A JSON object containing property names as keys and numerical increment values. Properties will be incremented by the specified amount. If a property doesn't exist, the value is added to zero. Use negative values to decrement."),
7
7
  time: zod.z.number().int().describe("Unix timestamp to override the time of the update. If not provided, uses current server time.").optional(),
8
8
  token: zod.z.string().describe("Your Mixpanel project authentication token"),
9
9
  verbose: zod.z.number().int().describe("When set to 1, returns detailed JSON response with status and error fields. When set to 0 (default), returns plain text status (1 for success, 0 for failure).").optional(),
@@ -13,7 +13,7 @@ const MixpanelProfileNumericalAddInput = zod.z.object({
13
13
  const MixpanelProfileNumericalAddOutput = zod.z.object({
14
14
  error: zod.z.string().describe("Error message if the request failed, null if successful.").nullable().optional(),
15
15
  status: zod.z.union([zod.z.string(), zod.z.number().int()])
16
- }).describe("Response model for profile numerical add operation.");
16
+ }).passthrough().describe("Response model for profile numerical add operation.");
17
17
  const mixpanelProfileNumericalAdd = require_action.action("MIXPANEL_PROFILE_NUMERICAL_ADD", {
18
18
  slug: "mixpanel-profile-numerical-add",
19
19
  name: "Increment Profile Numerical Property",
@@ -1 +1 @@
1
- {"version":3,"file":"profile-numerical-add.cjs","names":["z","action"],"sources":["../../src/actions/profile-numerical-add.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelProfileNumericalAddInput: z.ZodTypeAny = z.object({\n ip: z.union([z.string(), z.number().int()]).optional(),\n add: z.object({}).describe(\"A JSON object containing property names as keys and numerical increment values. Properties will be incremented by the specified amount. If a property doesn't exist, the value is added to zero. Use negative values to decrement.\"),\n time: z.number().int().describe(\"Unix timestamp to override the time of the update. If not provided, uses current server time.\").optional(),\n token: z.string().describe(\"Your Mixpanel project authentication token\"),\n verbose: z.number().int().describe(\"When set to 1, returns detailed JSON response with status and error fields. When set to 0 (default), returns plain text status (1 for success, 0 for failure).\").optional(),\n distinct_id: z.string().describe(\"The unique identifier for the user profile\"),\n ignore_time: z.boolean().describe(\"If true, prevents updating the 'Last Seen' property. Defaults to false.\").optional(),\n}).describe(\"Request model for incrementing numerical properties on user profiles.\");\nexport const MixpanelProfileNumericalAddOutput: z.ZodTypeAny = z.object({\n error: z.string().describe(\"Error message if the request failed, null if successful.\").nullable().optional(),\n status: z.union([z.string(), z.number().int()]),\n}).describe(\"Response model for profile numerical add operation.\");\n\nexport const mixpanelProfileNumericalAdd = action(\"MIXPANEL_PROFILE_NUMERICAL_ADD\", {\n slug: \"mixpanel-profile-numerical-add\",\n name: \"Increment Profile Numerical Property\",\n description: \"Tool to increment or decrement numerical properties on user profiles in Mixpanel. Use when you need to add values to existing numerical properties (e.g., login counts, points, credits). Properties are incremented by the specified amount. If a property doesn't exist, the value is added to zero. Use negative values to decrement properties.\",\n input: MixpanelProfileNumericalAddInput,\n output: MixpanelProfileNumericalAddOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,IAAIA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS;CACrD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oOAAoO;CAC/P,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CAC1I,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACvE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gKAAgK,CAAC,CAAC,SAAS;CAC9M,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CAC7E,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,QAAQA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;AAChD,CAAC,CAAC,CAAC,SAAS,qDAAqD;AAEjE,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"profile-numerical-add.cjs","names":["z","action"],"sources":["../../src/actions/profile-numerical-add.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelProfileNumericalAddInput = z.object({\n ip: z.union([z.string(), z.number().int()]).optional(),\n add: z.record(z.string(), z.unknown()).describe(\"A JSON object containing property names as keys and numerical increment values. Properties will be incremented by the specified amount. If a property doesn't exist, the value is added to zero. Use negative values to decrement.\"),\n time: z.number().int().describe(\"Unix timestamp to override the time of the update. If not provided, uses current server time.\").optional(),\n token: z.string().describe(\"Your Mixpanel project authentication token\"),\n verbose: z.number().int().describe(\"When set to 1, returns detailed JSON response with status and error fields. When set to 0 (default), returns plain text status (1 for success, 0 for failure).\").optional(),\n distinct_id: z.string().describe(\"The unique identifier for the user profile\"),\n ignore_time: z.boolean().describe(\"If true, prevents updating the 'Last Seen' property. Defaults to false.\").optional(),\n}).describe(\"Request model for incrementing numerical properties on user profiles.\");\nexport const MixpanelProfileNumericalAddOutput = z.object({\n error: z.string().describe(\"Error message if the request failed, null if successful.\").nullable().optional(),\n status: z.union([z.string(), z.number().int()]),\n}).passthrough().describe(\"Response model for profile numerical add operation.\");\n\nexport const mixpanelProfileNumericalAdd = action(\"MIXPANEL_PROFILE_NUMERICAL_ADD\", {\n slug: \"mixpanel-profile-numerical-add\",\n name: \"Increment Profile Numerical Property\",\n description: \"Tool to increment or decrement numerical properties on user profiles in Mixpanel. Use when you need to add values to existing numerical properties (e.g., login counts, points, credits). Properties are incremented by the specified amount. If a property doesn't exist, the value is added to zero. Use negative values to decrement properties.\",\n input: MixpanelProfileNumericalAddInput,\n output: MixpanelProfileNumericalAddOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS;CACrD,KAAKA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oOAAoO;CACpR,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;CAC1I,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACvE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gKAAgK,CAAC,CAAC,SAAS;CAC9M,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CAC7E,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,QAAQA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;AAChD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,28 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/profile-numerical-add.d.ts
4
- declare const MixpanelProfileNumericalAddInput: z.ZodTypeAny;
5
- declare const MixpanelProfileNumericalAddOutput: z.ZodTypeAny;
6
- declare const mixpanelProfileNumericalAdd: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MixpanelProfileNumericalAddInput: z.ZodObject<{
5
+ ip: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
6
+ add: z.ZodRecord<z.ZodString, z.ZodUnknown>;
7
+ time: z.ZodOptional<z.ZodNumber>;
8
+ token: z.ZodString;
9
+ verbose: z.ZodOptional<z.ZodNumber>;
10
+ distinct_id: z.ZodString;
11
+ ignore_time: z.ZodOptional<z.ZodBoolean>;
12
+ }, z.core.$strip>;
13
+ declare const MixpanelProfileNumericalAddOutput: z.ZodObject<{
14
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ status: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
16
+ }, z.core.$loose>;
17
+ declare const mixpanelProfileNumericalAdd: import("@keystrokehq/action").WorkflowActionDefinition<{
18
+ add: Record<string, unknown>;
19
+ token: string;
20
+ distinct_id: string;
21
+ ip?: string | number | undefined;
22
+ time?: number | undefined;
23
+ verbose?: number | undefined;
24
+ ignore_time?: boolean | undefined;
25
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
26
  //#endregion
8
27
  export { mixpanelProfileNumericalAdd };
9
28
  //# sourceMappingURL=profile-numerical-add.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"profile-numerical-add.d.cts","names":[],"sources":["../../src/actions/profile-numerical-add.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAQmC;AAAA,cACvE,iCAAA,EAAmC,CAAA,CAAE,UAGgB;AAAA,cAErD,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"profile-numerical-add.d.cts","names":[],"sources":["../../src/actions/profile-numerical-add.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;cAShC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;cAKjC,2BAAA,gCAA2B,wBAAA;OAMtC,MAAA"}
@@ -1,9 +1,28 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/profile-numerical-add.d.ts
4
- declare const MixpanelProfileNumericalAddInput: z.ZodTypeAny;
5
- declare const MixpanelProfileNumericalAddOutput: z.ZodTypeAny;
6
- declare const mixpanelProfileNumericalAdd: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MixpanelProfileNumericalAddInput: z.ZodObject<{
5
+ ip: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
6
+ add: z.ZodRecord<z.ZodString, z.ZodUnknown>;
7
+ time: z.ZodOptional<z.ZodNumber>;
8
+ token: z.ZodString;
9
+ verbose: z.ZodOptional<z.ZodNumber>;
10
+ distinct_id: z.ZodString;
11
+ ignore_time: z.ZodOptional<z.ZodBoolean>;
12
+ }, z.core.$strip>;
13
+ declare const MixpanelProfileNumericalAddOutput: z.ZodObject<{
14
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ status: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
16
+ }, z.core.$loose>;
17
+ declare const mixpanelProfileNumericalAdd: import("@keystrokehq/action").WorkflowActionDefinition<{
18
+ add: Record<string, unknown>;
19
+ token: string;
20
+ distinct_id: string;
21
+ ip?: string | number | undefined;
22
+ time?: number | undefined;
23
+ verbose?: number | undefined;
24
+ ignore_time?: boolean | undefined;
25
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
26
  //#endregion
8
27
  export { mixpanelProfileNumericalAdd };
9
28
  //# sourceMappingURL=profile-numerical-add.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"profile-numerical-add.d.mts","names":[],"sources":["../../src/actions/profile-numerical-add.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAQmC;AAAA,cACvE,iCAAA,EAAmC,CAAA,CAAE,UAGgB;AAAA,cAErD,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"profile-numerical-add.d.mts","names":[],"sources":["../../src/actions/profile-numerical-add.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;cAShC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;cAKjC,2BAAA,gCAA2B,wBAAA;OAMtC,MAAA"}
@@ -6,7 +6,7 @@ const mixpanelProfileNumericalAdd = action("MIXPANEL_PROFILE_NUMERICAL_ADD", {
6
6
  description: "Tool to increment or decrement numerical properties on user profiles in Mixpanel. Use when you need to add values to existing numerical properties (e.g., login counts, points, credits). Properties are incremented by the specified amount. If a property doesn't exist, the value is added to zero. Use negative values to decrement properties.",
7
7
  input: z.object({
8
8
  ip: z.union([z.string(), z.number().int()]).optional(),
9
- add: z.object({}).describe("A JSON object containing property names as keys and numerical increment values. Properties will be incremented by the specified amount. If a property doesn't exist, the value is added to zero. Use negative values to decrement."),
9
+ add: z.record(z.string(), z.unknown()).describe("A JSON object containing property names as keys and numerical increment values. Properties will be incremented by the specified amount. If a property doesn't exist, the value is added to zero. Use negative values to decrement."),
10
10
  time: z.number().int().describe("Unix timestamp to override the time of the update. If not provided, uses current server time.").optional(),
11
11
  token: z.string().describe("Your Mixpanel project authentication token"),
12
12
  verbose: z.number().int().describe("When set to 1, returns detailed JSON response with status and error fields. When set to 0 (default), returns plain text status (1 for success, 0 for failure).").optional(),
@@ -16,7 +16,7 @@ const mixpanelProfileNumericalAdd = action("MIXPANEL_PROFILE_NUMERICAL_ADD", {
16
16
  output: z.object({
17
17
  error: z.string().describe("Error message if the request failed, null if successful.").nullable().optional(),
18
18
  status: z.union([z.string(), z.number().int()])
19
- }).describe("Response model for profile numerical add operation.")
19
+ }).passthrough().describe("Response model for profile numerical add operation.")
20
20
  });
21
21
  //#endregion
22
22
  export { mixpanelProfileNumericalAdd };
@@ -1 +1 @@
1
- {"version":3,"file":"profile-numerical-add.mjs","names":[],"sources":["../../src/actions/profile-numerical-add.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelProfileNumericalAddInput: z.ZodTypeAny = z.object({\n ip: z.union([z.string(), z.number().int()]).optional(),\n add: z.object({}).describe(\"A JSON object containing property names as keys and numerical increment values. Properties will be incremented by the specified amount. If a property doesn't exist, the value is added to zero. Use negative values to decrement.\"),\n time: z.number().int().describe(\"Unix timestamp to override the time of the update. If not provided, uses current server time.\").optional(),\n token: z.string().describe(\"Your Mixpanel project authentication token\"),\n verbose: z.number().int().describe(\"When set to 1, returns detailed JSON response with status and error fields. When set to 0 (default), returns plain text status (1 for success, 0 for failure).\").optional(),\n distinct_id: z.string().describe(\"The unique identifier for the user profile\"),\n ignore_time: z.boolean().describe(\"If true, prevents updating the 'Last Seen' property. Defaults to false.\").optional(),\n}).describe(\"Request model for incrementing numerical properties on user profiles.\");\nexport const MixpanelProfileNumericalAddOutput: z.ZodTypeAny = z.object({\n error: z.string().describe(\"Error message if the request failed, null if successful.\").nullable().optional(),\n status: z.union([z.string(), z.number().int()]),\n}).describe(\"Response model for profile numerical add operation.\");\n\nexport const mixpanelProfileNumericalAdd = action(\"MIXPANEL_PROFILE_NUMERICAL_ADD\", {\n slug: \"mixpanel-profile-numerical-add\",\n name: \"Increment Profile Numerical Property\",\n description: \"Tool to increment or decrement numerical properties on user profiles in Mixpanel. Use when you need to add values to existing numerical properties (e.g., login counts, points, credits). Properties are incremented by the specified amount. If a property doesn't exist, the value is added to zero. Use negative values to decrement properties.\",\n input: MixpanelProfileNumericalAddInput,\n output: MixpanelProfileNumericalAddOutput,\n});\n"],"mappings":";;AAkBA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB4D,EAAE,OAAO;EACrE,IAAI,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS;EACrD,KAAK,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oOAAoO;EAC/P,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;EAC1I,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EACvE,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gKAAgK,CAAC,CAAC,SAAS;EAC9M,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EAC7E,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACxH,CAAC,CAAC,CAAC,SAAS,uEAUH;CACP,QAV6D,EAAE,OAAO;EACtE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,QAAQ,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;CAChD,CAAC,CAAC,CAAC,SAAS,qDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"profile-numerical-add.mjs","names":[],"sources":["../../src/actions/profile-numerical-add.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelProfileNumericalAddInput = z.object({\n ip: z.union([z.string(), z.number().int()]).optional(),\n add: z.record(z.string(), z.unknown()).describe(\"A JSON object containing property names as keys and numerical increment values. Properties will be incremented by the specified amount. If a property doesn't exist, the value is added to zero. Use negative values to decrement.\"),\n time: z.number().int().describe(\"Unix timestamp to override the time of the update. If not provided, uses current server time.\").optional(),\n token: z.string().describe(\"Your Mixpanel project authentication token\"),\n verbose: z.number().int().describe(\"When set to 1, returns detailed JSON response with status and error fields. When set to 0 (default), returns plain text status (1 for success, 0 for failure).\").optional(),\n distinct_id: z.string().describe(\"The unique identifier for the user profile\"),\n ignore_time: z.boolean().describe(\"If true, prevents updating the 'Last Seen' property. Defaults to false.\").optional(),\n}).describe(\"Request model for incrementing numerical properties on user profiles.\");\nexport const MixpanelProfileNumericalAddOutput = z.object({\n error: z.string().describe(\"Error message if the request failed, null if successful.\").nullable().optional(),\n status: z.union([z.string(), z.number().int()]),\n}).passthrough().describe(\"Response model for profile numerical add operation.\");\n\nexport const mixpanelProfileNumericalAdd = action(\"MIXPANEL_PROFILE_NUMERICAL_ADD\", {\n slug: \"mixpanel-profile-numerical-add\",\n name: \"Increment Profile Numerical Property\",\n description: \"Tool to increment or decrement numerical properties on user profiles in Mixpanel. Use when you need to add values to existing numerical properties (e.g., login counts, points, credits). Properties are incremented by the specified amount. If a property doesn't exist, the value is added to zero. Use negative values to decrement properties.\",\n input: MixpanelProfileNumericalAddInput,\n output: MixpanelProfileNumericalAddOutput,\n});\n"],"mappings":";;AAkBA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB8C,EAAE,OAAO;EACvD,IAAI,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS;EACrD,KAAK,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,oOAAoO;EACpR,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS;EAC1I,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EACvE,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gKAAgK,CAAC,CAAC,SAAS;EAC9M,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EAC7E,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACxH,CAAC,CAAC,CAAC,SAAS,uEAUH;CACP,QAV+C,EAAE,OAAO;EACxD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,QAAQ,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;CAChD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAOhB;AACV,CAAC"}
@@ -8,13 +8,13 @@ const MixpanelProfileRemoveFromListPropertyInput = zod.z.object({
8
8
  remove: zod.z.record(zod.z.string(), zod.z.unknown()).describe("A JSON object containing key-value pairs where each key is a property name and each value is the item to remove from that list property. If the value doesn't exist in the list, no updates are made."),
9
9
  distinct_id: zod.z.string().describe("The unique identifier for the user profile"),
10
10
  ignore_time: zod.z.boolean().describe("If true, prevents updating the 'Last Seen' property. Defaults to false.").optional()
11
- }).describe("Individual profile update object for removing from list properties.")).describe("A list of profile update objects. Each object must contain $token, $distinct_id, and $remove properties."),
11
+ }).passthrough().describe("Individual profile update object for removing from list properties.")).describe("A list of profile update objects. Each object must contain $token, $distinct_id, and $remove properties."),
12
12
  verbose: zod.z.number().int().describe("When set to 1, returns detailed JSON response with status and error fields. When set to 0 (default), returns plain text status (1 for success, 0 for failure).").optional()
13
13
  }).describe("Request model for removing values from list properties on user profiles.");
14
14
  const MixpanelProfileRemoveFromListPropertyOutput = zod.z.object({
15
15
  error: zod.z.string().describe("Error message if the request failed, null if successful.").nullable().optional(),
16
16
  status: zod.z.union([zod.z.string(), zod.z.number().int()])
17
- }).describe("Response model for profile remove operation.");
17
+ }).passthrough().describe("Response model for profile remove operation.");
18
18
  const mixpanelProfileRemoveFromListProperty = require_action.action("MIXPANEL_PROFILE_REMOVE_FROM_LIST_PROPERTY", {
19
19
  slug: "mixpanel-profile-remove-from-list-property",
20
20
  name: "Remove from Profile List Property",
@@ -1 +1 @@
1
- {"version":3,"file":"profile-remove-from-list-property.cjs","names":["z","action"],"sources":["../../src/actions/profile-remove-from-list-property.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelProfileRemoveFromListPropertyInput: z.ZodTypeAny = z.object({\n data: z.array(z.object({\n ip: z.string().describe(\"IP address for geolocation. Set to '0' to avoid updating location data. Defaults to the request IP address if not provided.\").optional(),\n token: z.string().describe(\"Your Mixpanel project authentication token\"),\n remove: z.record(z.string(), z.unknown()).describe(\"A JSON object containing key-value pairs where each key is a property name and each value is the item to remove from that list property. If the value doesn't exist in the list, no updates are made.\"),\n distinct_id: z.string().describe(\"The unique identifier for the user profile\"),\n ignore_time: z.boolean().describe(\"If true, prevents updating the 'Last Seen' property. Defaults to false.\").optional(),\n}).describe(\"Individual profile update object for removing from list properties.\")).describe(\"A list of profile update objects. Each object must contain $token, $distinct_id, and $remove properties.\"),\n verbose: z.number().int().describe(\"When set to 1, returns detailed JSON response with status and error fields. When set to 0 (default), returns plain text status (1 for success, 0 for failure).\").optional(),\n}).describe(\"Request model for removing values from list properties on user profiles.\");\nexport const MixpanelProfileRemoveFromListPropertyOutput: z.ZodTypeAny = z.object({\n error: z.string().describe(\"Error message if the request failed, null if successful.\").nullable().optional(),\n status: z.union([z.string(), z.number().int()]),\n}).describe(\"Response model for profile remove operation.\");\n\nexport const mixpanelProfileRemoveFromListProperty = action(\"MIXPANEL_PROFILE_REMOVE_FROM_LIST_PROPERTY\", {\n slug: \"mixpanel-profile-remove-from-list-property\",\n name: \"Remove from Profile List Property\",\n description: \"Tool to remove values from list properties on user profiles in Mixpanel. Use when you need to remove specific items from list-type properties. If the value doesn't exist in the list, no updates are made. If the property doesn't exist or is not list-valued, the operation is ignored.\",\n input: MixpanelProfileRemoveFromListPropertyInput,\n output: MixpanelProfileRemoveFromListPropertyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6CAA2DA,IAAAA,EAAE,OAAO;CAC/E,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACvB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;EAChK,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EACvE,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uMAAuM;EAC1P,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EAC7E,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACxH,CAAC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,CAAC,SAAS,0GAA0G;CACrM,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gKAAgK,CAAC,CAAC,SAAS;AAChN,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAa,8CAA4DA,IAAAA,EAAE,OAAO;CAChF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,QAAQA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;AAChD,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAE1D,MAAa,wCAAwCC,eAAAA,OAAO,8CAA8C;CACxG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"profile-remove-from-list-property.cjs","names":["z","action"],"sources":["../../src/actions/profile-remove-from-list-property.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelProfileRemoveFromListPropertyInput = z.object({\n data: z.array(z.object({\n ip: z.string().describe(\"IP address for geolocation. Set to '0' to avoid updating location data. Defaults to the request IP address if not provided.\").optional(),\n token: z.string().describe(\"Your Mixpanel project authentication token\"),\n remove: z.record(z.string(), z.unknown()).describe(\"A JSON object containing key-value pairs where each key is a property name and each value is the item to remove from that list property. If the value doesn't exist in the list, no updates are made.\"),\n distinct_id: z.string().describe(\"The unique identifier for the user profile\"),\n ignore_time: z.boolean().describe(\"If true, prevents updating the 'Last Seen' property. Defaults to false.\").optional(),\n}).passthrough().describe(\"Individual profile update object for removing from list properties.\")).describe(\"A list of profile update objects. Each object must contain $token, $distinct_id, and $remove properties.\"),\n verbose: z.number().int().describe(\"When set to 1, returns detailed JSON response with status and error fields. When set to 0 (default), returns plain text status (1 for success, 0 for failure).\").optional(),\n}).describe(\"Request model for removing values from list properties on user profiles.\");\nexport const MixpanelProfileRemoveFromListPropertyOutput = z.object({\n error: z.string().describe(\"Error message if the request failed, null if successful.\").nullable().optional(),\n status: z.union([z.string(), z.number().int()]),\n}).passthrough().describe(\"Response model for profile remove operation.\");\n\nexport const mixpanelProfileRemoveFromListProperty = action(\"MIXPANEL_PROFILE_REMOVE_FROM_LIST_PROPERTY\", {\n slug: \"mixpanel-profile-remove-from-list-property\",\n name: \"Remove from Profile List Property\",\n description: \"Tool to remove values from list properties on user profiles in Mixpanel. Use when you need to remove specific items from list-type properties. If the value doesn't exist in the list, no updates are made. If the property doesn't exist or is not list-valued, the operation is ignored.\",\n input: MixpanelProfileRemoveFromListPropertyInput,\n output: MixpanelProfileRemoveFromListPropertyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6CAA6CA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACvB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;EAChK,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EACvE,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uMAAuM;EAC1P,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EAC7E,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,CAAC,SAAS,0GAA0G;CACnN,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gKAAgK,CAAC,CAAC,SAAS;AAChN,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAa,8CAA8CA,IAAAA,EAAE,OAAO;CAClE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,QAAQA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;AAChD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,wCAAwCC,eAAAA,OAAO,8CAA8C;CACxG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,31 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/profile-remove-from-list-property.d.ts
4
- declare const MixpanelProfileRemoveFromListPropertyInput: z.ZodTypeAny;
5
- declare const MixpanelProfileRemoveFromListPropertyOutput: z.ZodTypeAny;
6
- declare const mixpanelProfileRemoveFromListProperty: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MixpanelProfileRemoveFromListPropertyInput: z.ZodObject<{
5
+ data: z.ZodArray<z.ZodObject<{
6
+ ip: z.ZodOptional<z.ZodString>;
7
+ token: z.ZodString;
8
+ remove: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
+ distinct_id: z.ZodString;
10
+ ignore_time: z.ZodOptional<z.ZodBoolean>;
11
+ }, z.core.$loose>>;
12
+ verbose: z.ZodOptional<z.ZodNumber>;
13
+ }, z.core.$strip>;
14
+ declare const MixpanelProfileRemoveFromListPropertyOutput: z.ZodObject<{
15
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ status: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
17
+ }, z.core.$loose>;
18
+ declare const mixpanelProfileRemoveFromListProperty: import("@keystrokehq/action").WorkflowActionDefinition<{
19
+ data: {
20
+ [x: string]: unknown;
21
+ token: string;
22
+ remove: Record<string, unknown>;
23
+ distinct_id: string;
24
+ ip?: string | undefined;
25
+ ignore_time?: boolean | undefined;
26
+ }[];
27
+ verbose?: number | undefined;
28
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
29
  //#endregion
8
30
  export { mixpanelProfileRemoveFromListProperty };
9
31
  //# sourceMappingURL=profile-remove-from-list-property.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"profile-remove-from-list-property.d.cts","names":[],"sources":["../../src/actions/profile-remove-from-list-property.ts"],"mappings":";;;cAIa,0CAAA,EAA4C,CAAA,CAAE,UAS4B;AAAA,cAC1E,2CAAA,EAA6C,CAAA,CAAE,UAGD;AAAA,cAE9C,qCAAA,gCAAqC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"profile-remove-from-list-property.d.cts","names":[],"sources":["../../src/actions/profile-remove-from-list-property.ts"],"mappings":";;;cAIa,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;;cAU1C,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;cAK3C,qCAAA,gCAAqC,wBAAA;;;;YAMhD,MAAA"}
@@ -1,9 +1,31 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/profile-remove-from-list-property.d.ts
4
- declare const MixpanelProfileRemoveFromListPropertyInput: z.ZodTypeAny;
5
- declare const MixpanelProfileRemoveFromListPropertyOutput: z.ZodTypeAny;
6
- declare const mixpanelProfileRemoveFromListProperty: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MixpanelProfileRemoveFromListPropertyInput: z.ZodObject<{
5
+ data: z.ZodArray<z.ZodObject<{
6
+ ip: z.ZodOptional<z.ZodString>;
7
+ token: z.ZodString;
8
+ remove: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
+ distinct_id: z.ZodString;
10
+ ignore_time: z.ZodOptional<z.ZodBoolean>;
11
+ }, z.core.$loose>>;
12
+ verbose: z.ZodOptional<z.ZodNumber>;
13
+ }, z.core.$strip>;
14
+ declare const MixpanelProfileRemoveFromListPropertyOutput: z.ZodObject<{
15
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ status: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
17
+ }, z.core.$loose>;
18
+ declare const mixpanelProfileRemoveFromListProperty: import("@keystrokehq/action").WorkflowActionDefinition<{
19
+ data: {
20
+ [x: string]: unknown;
21
+ token: string;
22
+ remove: Record<string, unknown>;
23
+ distinct_id: string;
24
+ ip?: string | undefined;
25
+ ignore_time?: boolean | undefined;
26
+ }[];
27
+ verbose?: number | undefined;
28
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
29
  //#endregion
8
30
  export { mixpanelProfileRemoveFromListProperty };
9
31
  //# sourceMappingURL=profile-remove-from-list-property.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"profile-remove-from-list-property.d.mts","names":[],"sources":["../../src/actions/profile-remove-from-list-property.ts"],"mappings":";;;cAIa,0CAAA,EAA4C,CAAA,CAAE,UAS4B;AAAA,cAC1E,2CAAA,EAA6C,CAAA,CAAE,UAGD;AAAA,cAE9C,qCAAA,gCAAqC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"profile-remove-from-list-property.d.mts","names":[],"sources":["../../src/actions/profile-remove-from-list-property.ts"],"mappings":";;;cAIa,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;;cAU1C,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;cAK3C,qCAAA,gCAAqC,wBAAA;;;;YAMhD,MAAA"}
@@ -11,13 +11,13 @@ const mixpanelProfileRemoveFromListProperty = action("MIXPANEL_PROFILE_REMOVE_FR
11
11
  remove: z.record(z.string(), z.unknown()).describe("A JSON object containing key-value pairs where each key is a property name and each value is the item to remove from that list property. If the value doesn't exist in the list, no updates are made."),
12
12
  distinct_id: z.string().describe("The unique identifier for the user profile"),
13
13
  ignore_time: z.boolean().describe("If true, prevents updating the 'Last Seen' property. Defaults to false.").optional()
14
- }).describe("Individual profile update object for removing from list properties.")).describe("A list of profile update objects. Each object must contain $token, $distinct_id, and $remove properties."),
14
+ }).passthrough().describe("Individual profile update object for removing from list properties.")).describe("A list of profile update objects. Each object must contain $token, $distinct_id, and $remove properties."),
15
15
  verbose: z.number().int().describe("When set to 1, returns detailed JSON response with status and error fields. When set to 0 (default), returns plain text status (1 for success, 0 for failure).").optional()
16
16
  }).describe("Request model for removing values from list properties on user profiles."),
17
17
  output: z.object({
18
18
  error: z.string().describe("Error message if the request failed, null if successful.").nullable().optional(),
19
19
  status: z.union([z.string(), z.number().int()])
20
- }).describe("Response model for profile remove operation.")
20
+ }).passthrough().describe("Response model for profile remove operation.")
21
21
  });
22
22
  //#endregion
23
23
  export { mixpanelProfileRemoveFromListProperty };
@@ -1 +1 @@
1
- {"version":3,"file":"profile-remove-from-list-property.mjs","names":[],"sources":["../../src/actions/profile-remove-from-list-property.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelProfileRemoveFromListPropertyInput: z.ZodTypeAny = z.object({\n data: z.array(z.object({\n ip: z.string().describe(\"IP address for geolocation. Set to '0' to avoid updating location data. Defaults to the request IP address if not provided.\").optional(),\n token: z.string().describe(\"Your Mixpanel project authentication token\"),\n remove: z.record(z.string(), z.unknown()).describe(\"A JSON object containing key-value pairs where each key is a property name and each value is the item to remove from that list property. If the value doesn't exist in the list, no updates are made.\"),\n distinct_id: z.string().describe(\"The unique identifier for the user profile\"),\n ignore_time: z.boolean().describe(\"If true, prevents updating the 'Last Seen' property. Defaults to false.\").optional(),\n}).describe(\"Individual profile update object for removing from list properties.\")).describe(\"A list of profile update objects. Each object must contain $token, $distinct_id, and $remove properties.\"),\n verbose: z.number().int().describe(\"When set to 1, returns detailed JSON response with status and error fields. When set to 0 (default), returns plain text status (1 for success, 0 for failure).\").optional(),\n}).describe(\"Request model for removing values from list properties on user profiles.\");\nexport const MixpanelProfileRemoveFromListPropertyOutput: z.ZodTypeAny = z.object({\n error: z.string().describe(\"Error message if the request failed, null if successful.\").nullable().optional(),\n status: z.union([z.string(), z.number().int()]),\n}).describe(\"Response model for profile remove operation.\");\n\nexport const mixpanelProfileRemoveFromListProperty = action(\"MIXPANEL_PROFILE_REMOVE_FROM_LIST_PROPERTY\", {\n slug: \"mixpanel-profile-remove-from-list-property\",\n name: \"Remove from Profile List Property\",\n description: \"Tool to remove values from list properties on user profiles in Mixpanel. Use when you need to remove specific items from list-type properties. If the value doesn't exist in the list, no updates are made. If the property doesn't exist or is not list-valued, the operation is ignored.\",\n input: MixpanelProfileRemoveFromListPropertyInput,\n output: MixpanelProfileRemoveFromListPropertyOutput,\n});\n"],"mappings":";;AAmBA,MAAa,wCAAwC,OAAO,8CAA8C;CACxG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBsE,EAAE,OAAO;EAC/E,MAAM,EAAE,MAAM,EAAE,OAAO;GACvB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;GAChK,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;GACvE,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uMAAuM;GAC1P,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;GAC7E,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;EACxH,CAAC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,CAAC,SAAS,0GAA0G;EACrM,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gKAAgK,CAAC,CAAC,SAAS;CAChN,CAAC,CAAC,CAAC,SAAS,0EAUH;CACP,QAVuE,EAAE,OAAO;EAChF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,QAAQ,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;CAChD,CAAC,CAAC,CAAC,SAAS,8CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"profile-remove-from-list-property.mjs","names":[],"sources":["../../src/actions/profile-remove-from-list-property.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelProfileRemoveFromListPropertyInput = z.object({\n data: z.array(z.object({\n ip: z.string().describe(\"IP address for geolocation. Set to '0' to avoid updating location data. Defaults to the request IP address if not provided.\").optional(),\n token: z.string().describe(\"Your Mixpanel project authentication token\"),\n remove: z.record(z.string(), z.unknown()).describe(\"A JSON object containing key-value pairs where each key is a property name and each value is the item to remove from that list property. If the value doesn't exist in the list, no updates are made.\"),\n distinct_id: z.string().describe(\"The unique identifier for the user profile\"),\n ignore_time: z.boolean().describe(\"If true, prevents updating the 'Last Seen' property. Defaults to false.\").optional(),\n}).passthrough().describe(\"Individual profile update object for removing from list properties.\")).describe(\"A list of profile update objects. Each object must contain $token, $distinct_id, and $remove properties.\"),\n verbose: z.number().int().describe(\"When set to 1, returns detailed JSON response with status and error fields. When set to 0 (default), returns plain text status (1 for success, 0 for failure).\").optional(),\n}).describe(\"Request model for removing values from list properties on user profiles.\");\nexport const MixpanelProfileRemoveFromListPropertyOutput = z.object({\n error: z.string().describe(\"Error message if the request failed, null if successful.\").nullable().optional(),\n status: z.union([z.string(), z.number().int()]),\n}).passthrough().describe(\"Response model for profile remove operation.\");\n\nexport const mixpanelProfileRemoveFromListProperty = action(\"MIXPANEL_PROFILE_REMOVE_FROM_LIST_PROPERTY\", {\n slug: \"mixpanel-profile-remove-from-list-property\",\n name: \"Remove from Profile List Property\",\n description: \"Tool to remove values from list properties on user profiles in Mixpanel. Use when you need to remove specific items from list-type properties. If the value doesn't exist in the list, no updates are made. If the property doesn't exist or is not list-valued, the operation is ignored.\",\n input: MixpanelProfileRemoveFromListPropertyInput,\n output: MixpanelProfileRemoveFromListPropertyOutput,\n});\n"],"mappings":";;AAmBA,MAAa,wCAAwC,OAAO,8CAA8C;CACxG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBwD,EAAE,OAAO;EACjE,MAAM,EAAE,MAAM,EAAE,OAAO;GACvB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;GAChK,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;GACvE,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uMAAuM;GAC1P,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;GAC7E,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;EACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,CAAC,SAAS,0GAA0G;EACnN,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gKAAgK,CAAC,CAAC,SAAS;CAChN,CAAC,CAAC,CAAC,SAAS,0EAUH;CACP,QAVyD,EAAE,OAAO;EAClE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,QAAQ,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;CAChD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAOhB;AACV,CAAC"}
@@ -12,7 +12,7 @@ const MixpanelProfileSetInput = zod.z.object({
12
12
  const MixpanelProfileSetOutput = zod.z.object({
13
13
  error: zod.z.string().describe("Error message if the request failed, null if successful.").nullable().optional(),
14
14
  status: zod.z.union([zod.z.string(), zod.z.number().int()])
15
- }).describe("Response model for profile set operation.");
15
+ }).passthrough().describe("Response model for profile set operation.");
16
16
  const mixpanelProfileSet = require_action.action("MIXPANEL_PROFILE_SET", {
17
17
  slug: "mixpanel-profile-set",
18
18
  name: "Set Profile Properties",
@@ -1 +1 @@
1
- {"version":3,"file":"profile-set.cjs","names":["z","action"],"sources":["../../src/actions/profile-set.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelProfileSetInput: z.ZodTypeAny = z.object({\n ip: z.string().describe(\"IP address for geolocation enrichment. Set to '0' to prevent updating geolocation data. If not provided, Mixpanel uses the request IP. Geolocation properties ($city, $region, mp_country_code) are derived and the IP is discarded.\").optional(),\n time: z.number().int().describe(\"Unix timestamp (seconds since epoch) indicating when the profile update occurred. Defaults to the current server time if not provided.\").optional(),\n token: z.string().describe(\"Your Mixpanel project authentication token. Required for authenticating the request.\"),\n distinct_id: z.string().describe(\"The unique identifier for the user profile to update. This determines which profile will be modified.\"),\n ignore_time: z.boolean().describe(\"If true, prevents Mixpanel from automatically updating the 'Last Seen' property. Defaults to false.\").optional(),\n set_properties: z.record(z.string(), z.unknown()).describe(\"A dictionary of properties to set on the user profile. These properties will be created if they don't exist, or overwritten if they do. Common properties include 'name', 'email', 'status', etc.\"),\n}).describe(\"Request model for setting user profile properties.\");\nexport const MixpanelProfileSetOutput: z.ZodTypeAny = z.object({\n error: z.string().describe(\"Error message if the request failed, null if successful.\").nullable().optional(),\n status: z.union([z.string(), z.number().int()]),\n}).describe(\"Response model for profile set operation.\");\n\nexport const mixpanelProfileSet = action(\"MIXPANEL_PROFILE_SET\", {\n slug: \"mixpanel-profile-set\",\n name: \"Set Profile Properties\",\n description: \"Tool to set user profile properties in Mixpanel using the $set operation. Use when you need to create or update properties on a user profile. Properties specified will be created if they don't exist, or overwritten if they do. If the profile doesn't exist, it will be created with these properties.\",\n input: MixpanelProfileSetInput,\n output: MixpanelProfileSetOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sOAAsO,CAAC,CAAC,SAAS;CACzQ,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;CACnL,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF;CACjH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;CACxI,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAClJ,gBAAgBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mMAAmM;AAChQ,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,QAAQA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;AAChD,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAEvD,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"profile-set.cjs","names":["z","action"],"sources":["../../src/actions/profile-set.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelProfileSetInput = z.object({\n ip: z.string().describe(\"IP address for geolocation enrichment. Set to '0' to prevent updating geolocation data. If not provided, Mixpanel uses the request IP. Geolocation properties ($city, $region, mp_country_code) are derived and the IP is discarded.\").optional(),\n time: z.number().int().describe(\"Unix timestamp (seconds since epoch) indicating when the profile update occurred. Defaults to the current server time if not provided.\").optional(),\n token: z.string().describe(\"Your Mixpanel project authentication token. Required for authenticating the request.\"),\n distinct_id: z.string().describe(\"The unique identifier for the user profile to update. This determines which profile will be modified.\"),\n ignore_time: z.boolean().describe(\"If true, prevents Mixpanel from automatically updating the 'Last Seen' property. Defaults to false.\").optional(),\n set_properties: z.record(z.string(), z.unknown()).describe(\"A dictionary of properties to set on the user profile. These properties will be created if they don't exist, or overwritten if they do. Common properties include 'name', 'email', 'status', etc.\"),\n}).describe(\"Request model for setting user profile properties.\");\nexport const MixpanelProfileSetOutput = z.object({\n error: z.string().describe(\"Error message if the request failed, null if successful.\").nullable().optional(),\n status: z.union([z.string(), z.number().int()]),\n}).passthrough().describe(\"Response model for profile set operation.\");\n\nexport const mixpanelProfileSet = action(\"MIXPANEL_PROFILE_SET\", {\n slug: \"mixpanel-profile-set\",\n name: \"Set Profile Properties\",\n description: \"Tool to set user profile properties in Mixpanel using the $set operation. Use when you need to create or update properties on a user profile. Properties specified will be created if they don't exist, or overwritten if they do. If the profile doesn't exist, it will be created with these properties.\",\n input: MixpanelProfileSetInput,\n output: MixpanelProfileSetOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sOAAsO,CAAC,CAAC,SAAS;CACzQ,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;CACnL,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF;CACjH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;CACxI,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAClJ,gBAAgBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mMAAmM;AAChQ,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,QAAQA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;AAChD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}