@keystrokehq/mixpanel 0.1.0 → 0.1.2

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 (310) 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.map +1 -1
  5. package/dist/actions/add-unique-to-profile-list-property.d.cts +30 -3
  6. package/dist/actions/add-unique-to-profile-list-property.d.cts.map +1 -1
  7. package/dist/actions/add-unique-to-profile-list-property.d.mts +30 -3
  8. package/dist/actions/add-unique-to-profile-list-property.d.mts.map +1 -1
  9. package/dist/actions/add-unique-to-profile-list-property.mjs.map +1 -1
  10. package/dist/actions/aggregate-events.cjs +1 -1
  11. package/dist/actions/aggregate-events.cjs.map +1 -1
  12. package/dist/actions/aggregate-events.d.cts +44 -3
  13. package/dist/actions/aggregate-events.d.cts.map +1 -1
  14. package/dist/actions/aggregate-events.d.mts +44 -3
  15. package/dist/actions/aggregate-events.d.mts.map +1 -1
  16. package/dist/actions/aggregate-events.mjs +1 -1
  17. package/dist/actions/aggregate-events.mjs.map +1 -1
  18. package/dist/actions/aggregated-event-property-values.cjs +1 -1
  19. package/dist/actions/aggregated-event-property-values.cjs.map +1 -1
  20. package/dist/actions/aggregated-event-property-values.d.cts +48 -3
  21. package/dist/actions/aggregated-event-property-values.d.cts.map +1 -1
  22. package/dist/actions/aggregated-event-property-values.d.mts +48 -3
  23. package/dist/actions/aggregated-event-property-values.d.mts.map +1 -1
  24. package/dist/actions/aggregated-event-property-values.mjs +1 -1
  25. package/dist/actions/aggregated-event-property-values.mjs.map +1 -1
  26. package/dist/actions/cohorts-list.cjs +6 -6
  27. package/dist/actions/cohorts-list.cjs.map +1 -1
  28. package/dist/actions/cohorts-list.d.cts +19 -3
  29. package/dist/actions/cohorts-list.d.cts.map +1 -1
  30. package/dist/actions/cohorts-list.d.mts +19 -3
  31. package/dist/actions/cohorts-list.d.mts.map +1 -1
  32. package/dist/actions/cohorts-list.mjs +6 -6
  33. package/dist/actions/cohorts-list.mjs.map +1 -1
  34. package/dist/actions/create-annotation-tag.cjs +3 -3
  35. package/dist/actions/create-annotation-tag.cjs.map +1 -1
  36. package/dist/actions/create-annotation-tag.d.cts +14 -3
  37. package/dist/actions/create-annotation-tag.d.cts.map +1 -1
  38. package/dist/actions/create-annotation-tag.d.mts +14 -3
  39. package/dist/actions/create-annotation-tag.d.mts.map +1 -1
  40. package/dist/actions/create-annotation-tag.mjs +3 -3
  41. package/dist/actions/create-annotation-tag.mjs.map +1 -1
  42. package/dist/actions/create-identity.cjs.map +1 -1
  43. package/dist/actions/create-identity.d.cts +18 -3
  44. package/dist/actions/create-identity.d.cts.map +1 -1
  45. package/dist/actions/create-identity.d.mts +18 -3
  46. package/dist/actions/create-identity.d.mts.map +1 -1
  47. package/dist/actions/create-identity.mjs.map +1 -1
  48. package/dist/actions/create-service-account.cjs +6 -6
  49. package/dist/actions/create-service-account.cjs.map +1 -1
  50. package/dist/actions/create-service-account.d.cts +43 -3
  51. package/dist/actions/create-service-account.d.cts.map +1 -1
  52. package/dist/actions/create-service-account.d.mts +43 -3
  53. package/dist/actions/create-service-account.d.mts.map +1 -1
  54. package/dist/actions/create-service-account.mjs +6 -6
  55. package/dist/actions/create-service-account.mjs.map +1 -1
  56. package/dist/actions/delete-group.cjs.map +1 -1
  57. package/dist/actions/delete-group.d.cts +16 -3
  58. package/dist/actions/delete-group.d.cts.map +1 -1
  59. package/dist/actions/delete-group.d.mts +16 -3
  60. package/dist/actions/delete-group.d.mts.map +1 -1
  61. package/dist/actions/delete-group.mjs.map +1 -1
  62. package/dist/actions/delete-profile-batch.cjs.map +1 -1
  63. package/dist/actions/delete-profile-batch.d.cts +20 -3
  64. package/dist/actions/delete-profile-batch.d.cts.map +1 -1
  65. package/dist/actions/delete-profile-batch.d.mts +20 -3
  66. package/dist/actions/delete-profile-batch.d.mts.map +1 -1
  67. package/dist/actions/delete-profile-batch.mjs.map +1 -1
  68. package/dist/actions/delete-profile-property.cjs.map +1 -1
  69. package/dist/actions/delete-profile-property.d.cts +22 -3
  70. package/dist/actions/delete-profile-property.d.cts.map +1 -1
  71. package/dist/actions/delete-profile-property.d.mts +22 -3
  72. package/dist/actions/delete-profile-property.d.mts.map +1 -1
  73. package/dist/actions/delete-profile-property.mjs.map +1 -1
  74. package/dist/actions/delete-profile.cjs.map +1 -1
  75. package/dist/actions/delete-profile.d.cts +17 -3
  76. package/dist/actions/delete-profile.d.cts.map +1 -1
  77. package/dist/actions/delete-profile.d.mts +17 -3
  78. package/dist/actions/delete-profile.d.mts.map +1 -1
  79. package/dist/actions/delete-profile.mjs.map +1 -1
  80. package/dist/actions/get-all-projects.cjs.map +1 -1
  81. package/dist/actions/get-all-projects.d.cts +5 -3
  82. package/dist/actions/get-all-projects.d.cts.map +1 -1
  83. package/dist/actions/get-all-projects.d.mts +5 -3
  84. package/dist/actions/get-all-projects.d.mts.map +1 -1
  85. package/dist/actions/get-all-projects.mjs.map +1 -1
  86. package/dist/actions/get-annotation-tags-alt1.cjs +4 -4
  87. package/dist/actions/get-annotation-tags-alt1.cjs.map +1 -1
  88. package/dist/actions/get-annotation-tags-alt1.d.cts +14 -3
  89. package/dist/actions/get-annotation-tags-alt1.d.cts.map +1 -1
  90. package/dist/actions/get-annotation-tags-alt1.d.mts +14 -3
  91. package/dist/actions/get-annotation-tags-alt1.d.mts.map +1 -1
  92. package/dist/actions/get-annotation-tags-alt1.mjs +4 -4
  93. package/dist/actions/get-annotation-tags-alt1.mjs.map +1 -1
  94. package/dist/actions/group-batch-update.cjs +2 -2
  95. package/dist/actions/group-batch-update.cjs.map +1 -1
  96. package/dist/actions/group-batch-update.d.cts +37 -3
  97. package/dist/actions/group-batch-update.d.cts.map +1 -1
  98. package/dist/actions/group-batch-update.d.mts +37 -3
  99. package/dist/actions/group-batch-update.d.mts.map +1 -1
  100. package/dist/actions/group-batch-update.mjs +2 -2
  101. package/dist/actions/group-batch-update.mjs.map +1 -1
  102. package/dist/actions/group-delete-property.cjs +1 -1
  103. package/dist/actions/group-delete-property.cjs.map +1 -1
  104. package/dist/actions/group-delete-property.d.cts +17 -3
  105. package/dist/actions/group-delete-property.d.cts.map +1 -1
  106. package/dist/actions/group-delete-property.d.mts +17 -3
  107. package/dist/actions/group-delete-property.d.mts.map +1 -1
  108. package/dist/actions/group-delete-property.mjs +1 -1
  109. package/dist/actions/group-delete-property.mjs.map +1 -1
  110. package/dist/actions/identity-create-alias.cjs +1 -1
  111. package/dist/actions/identity-create-alias.cjs.map +1 -1
  112. package/dist/actions/identity-create-alias.d.cts +13 -3
  113. package/dist/actions/identity-create-alias.d.cts.map +1 -1
  114. package/dist/actions/identity-create-alias.d.mts +13 -3
  115. package/dist/actions/identity-create-alias.d.mts.map +1 -1
  116. package/dist/actions/identity-create-alias.mjs +1 -1
  117. package/dist/actions/identity-create-alias.mjs.map +1 -1
  118. package/dist/actions/jql-query.cjs.map +1 -1
  119. package/dist/actions/jql-query.d.cts +15 -3
  120. package/dist/actions/jql-query.d.cts.map +1 -1
  121. package/dist/actions/jql-query.d.mts +15 -3
  122. package/dist/actions/jql-query.d.mts.map +1 -1
  123. package/dist/actions/jql-query.mjs.map +1 -1
  124. package/dist/actions/list-funnels.cjs +2 -2
  125. package/dist/actions/list-funnels.cjs.map +1 -1
  126. package/dist/actions/list-funnels.d.cts +14 -3
  127. package/dist/actions/list-funnels.d.cts.map +1 -1
  128. package/dist/actions/list-funnels.d.mts +14 -3
  129. package/dist/actions/list-funnels.d.mts.map +1 -1
  130. package/dist/actions/list-funnels.mjs +2 -2
  131. package/dist/actions/list-funnels.mjs.map +1 -1
  132. package/dist/actions/list-service-accounts.cjs +3 -3
  133. package/dist/actions/list-service-accounts.cjs.map +1 -1
  134. package/dist/actions/list-service-accounts.d.cts +18 -3
  135. package/dist/actions/list-service-accounts.d.cts.map +1 -1
  136. package/dist/actions/list-service-accounts.d.mts +18 -3
  137. package/dist/actions/list-service-accounts.d.mts.map +1 -1
  138. package/dist/actions/list-service-accounts.mjs +3 -3
  139. package/dist/actions/list-service-accounts.mjs.map +1 -1
  140. package/dist/actions/profile-append-to-list-property.cjs.map +1 -1
  141. package/dist/actions/profile-append-to-list-property.d.cts +24 -3
  142. package/dist/actions/profile-append-to-list-property.d.cts.map +1 -1
  143. package/dist/actions/profile-append-to-list-property.d.mts +24 -3
  144. package/dist/actions/profile-append-to-list-property.d.mts.map +1 -1
  145. package/dist/actions/profile-append-to-list-property.mjs.map +1 -1
  146. package/dist/actions/profile-batch-update.cjs +2 -2
  147. package/dist/actions/profile-batch-update.cjs.map +1 -1
  148. package/dist/actions/profile-batch-update.d.cts +46 -3
  149. package/dist/actions/profile-batch-update.d.cts.map +1 -1
  150. package/dist/actions/profile-batch-update.d.mts +46 -3
  151. package/dist/actions/profile-batch-update.d.mts.map +1 -1
  152. package/dist/actions/profile-batch-update.mjs +2 -2
  153. package/dist/actions/profile-batch-update.mjs.map +1 -1
  154. package/dist/actions/profile-event-activity.cjs +2 -2
  155. package/dist/actions/profile-event-activity.cjs.map +1 -1
  156. package/dist/actions/profile-event-activity.d.cts +59 -3
  157. package/dist/actions/profile-event-activity.d.cts.map +1 -1
  158. package/dist/actions/profile-event-activity.d.mts +59 -3
  159. package/dist/actions/profile-event-activity.d.mts.map +1 -1
  160. package/dist/actions/profile-event-activity.mjs +2 -2
  161. package/dist/actions/profile-event-activity.mjs.map +1 -1
  162. package/dist/actions/profile-numerical-add.cjs.map +1 -1
  163. package/dist/actions/profile-numerical-add.d.cts +22 -3
  164. package/dist/actions/profile-numerical-add.d.cts.map +1 -1
  165. package/dist/actions/profile-numerical-add.d.mts +22 -3
  166. package/dist/actions/profile-numerical-add.d.mts.map +1 -1
  167. package/dist/actions/profile-numerical-add.mjs.map +1 -1
  168. package/dist/actions/profile-remove-from-list-property.cjs.map +1 -1
  169. package/dist/actions/profile-remove-from-list-property.d.cts +24 -3
  170. package/dist/actions/profile-remove-from-list-property.d.cts.map +1 -1
  171. package/dist/actions/profile-remove-from-list-property.d.mts +24 -3
  172. package/dist/actions/profile-remove-from-list-property.d.mts.map +1 -1
  173. package/dist/actions/profile-remove-from-list-property.mjs.map +1 -1
  174. package/dist/actions/profile-set.cjs.map +1 -1
  175. package/dist/actions/profile-set.d.cts +20 -3
  176. package/dist/actions/profile-set.d.cts.map +1 -1
  177. package/dist/actions/profile-set.d.mts +20 -3
  178. package/dist/actions/profile-set.d.mts.map +1 -1
  179. package/dist/actions/profile-set.mjs.map +1 -1
  180. package/dist/actions/query-frequency-report.cjs.map +1 -1
  181. package/dist/actions/query-frequency-report.d.cts +34 -3
  182. package/dist/actions/query-frequency-report.d.cts.map +1 -1
  183. package/dist/actions/query-frequency-report.d.mts +34 -3
  184. package/dist/actions/query-frequency-report.d.mts.map +1 -1
  185. package/dist/actions/query-frequency-report.mjs.map +1 -1
  186. package/dist/actions/query-funnel.cjs.map +1 -1
  187. package/dist/actions/query-funnel.d.cts +43 -3
  188. package/dist/actions/query-funnel.d.cts.map +1 -1
  189. package/dist/actions/query-funnel.d.mts +43 -3
  190. package/dist/actions/query-funnel.d.mts.map +1 -1
  191. package/dist/actions/query-funnel.mjs.map +1 -1
  192. package/dist/actions/query-insight.cjs +3 -3
  193. package/dist/actions/query-insight.cjs.map +1 -1
  194. package/dist/actions/query-insight.d.cts +19 -3
  195. package/dist/actions/query-insight.d.cts.map +1 -1
  196. package/dist/actions/query-insight.d.mts +19 -3
  197. package/dist/actions/query-insight.d.mts.map +1 -1
  198. package/dist/actions/query-insight.mjs +3 -3
  199. package/dist/actions/query-insight.mjs.map +1 -1
  200. package/dist/actions/query-numeric-average.cjs +1 -1
  201. package/dist/actions/query-numeric-average.cjs.map +1 -1
  202. package/dist/actions/query-numeric-average.d.cts +27 -3
  203. package/dist/actions/query-numeric-average.d.cts.map +1 -1
  204. package/dist/actions/query-numeric-average.d.mts +27 -3
  205. package/dist/actions/query-numeric-average.d.mts.map +1 -1
  206. package/dist/actions/query-numeric-average.mjs +1 -1
  207. package/dist/actions/query-numeric-average.mjs.map +1 -1
  208. package/dist/actions/query-numeric-sum.cjs +2 -2
  209. package/dist/actions/query-numeric-sum.cjs.map +1 -1
  210. package/dist/actions/query-numeric-sum.d.cts +28 -3
  211. package/dist/actions/query-numeric-sum.d.cts.map +1 -1
  212. package/dist/actions/query-numeric-sum.d.mts +28 -3
  213. package/dist/actions/query-numeric-sum.d.mts.map +1 -1
  214. package/dist/actions/query-numeric-sum.mjs +2 -2
  215. package/dist/actions/query-numeric-sum.mjs.map +1 -1
  216. package/dist/actions/query-profiles.cjs +6 -6
  217. package/dist/actions/query-profiles.cjs.map +1 -1
  218. package/dist/actions/query-profiles.d.cts +41 -3
  219. package/dist/actions/query-profiles.d.cts.map +1 -1
  220. package/dist/actions/query-profiles.d.mts +41 -3
  221. package/dist/actions/query-profiles.d.mts.map +1 -1
  222. package/dist/actions/query-profiles.mjs +6 -6
  223. package/dist/actions/query-profiles.mjs.map +1 -1
  224. package/dist/actions/query-retention-report.cjs.map +1 -1
  225. package/dist/actions/query-retention-report.d.cts +42 -3
  226. package/dist/actions/query-retention-report.d.cts.map +1 -1
  227. package/dist/actions/query-retention-report.d.mts +42 -3
  228. package/dist/actions/query-retention-report.d.mts.map +1 -1
  229. package/dist/actions/query-retention-report.mjs.map +1 -1
  230. package/dist/actions/query-segmentation.cjs +1 -1
  231. package/dist/actions/query-segmentation.cjs.map +1 -1
  232. package/dist/actions/query-segmentation.d.cts +40 -3
  233. package/dist/actions/query-segmentation.d.cts.map +1 -1
  234. package/dist/actions/query-segmentation.d.mts +40 -3
  235. package/dist/actions/query-segmentation.d.mts.map +1 -1
  236. package/dist/actions/query-segmentation.mjs +1 -1
  237. package/dist/actions/query-segmentation.mjs.map +1 -1
  238. package/dist/actions/query-top-events.cjs +3 -3
  239. package/dist/actions/query-top-events.cjs.map +1 -1
  240. package/dist/actions/query-top-events.d.cts +28 -3
  241. package/dist/actions/query-top-events.d.cts.map +1 -1
  242. package/dist/actions/query-top-events.d.mts +28 -3
  243. package/dist/actions/query-top-events.d.mts.map +1 -1
  244. package/dist/actions/query-top-events.mjs +3 -3
  245. package/dist/actions/query-top-events.mjs.map +1 -1
  246. package/dist/actions/remove-from-group-list-property.cjs.map +1 -1
  247. package/dist/actions/remove-from-group-list-property.d.cts +21 -3
  248. package/dist/actions/remove-from-group-list-property.d.cts.map +1 -1
  249. package/dist/actions/remove-from-group-list-property.d.mts +21 -3
  250. package/dist/actions/remove-from-group-list-property.d.mts.map +1 -1
  251. package/dist/actions/remove-from-group-list-property.mjs.map +1 -1
  252. package/dist/actions/remove-from-list-property.cjs.map +1 -1
  253. package/dist/actions/remove-from-list-property.d.cts +20 -3
  254. package/dist/actions/remove-from-list-property.d.cts.map +1 -1
  255. package/dist/actions/remove-from-list-property.d.mts +20 -3
  256. package/dist/actions/remove-from-list-property.d.mts.map +1 -1
  257. package/dist/actions/remove-from-list-property.mjs.map +1 -1
  258. package/dist/actions/segmentation-numeric-query.cjs.map +1 -1
  259. package/dist/actions/segmentation-numeric-query.d.cts +37 -3
  260. package/dist/actions/segmentation-numeric-query.d.cts.map +1 -1
  261. package/dist/actions/segmentation-numeric-query.d.mts +37 -3
  262. package/dist/actions/segmentation-numeric-query.d.mts.map +1 -1
  263. package/dist/actions/segmentation-numeric-query.mjs.map +1 -1
  264. package/dist/actions/set-group-property-once.cjs.map +1 -1
  265. package/dist/actions/set-group-property-once.d.cts +17 -3
  266. package/dist/actions/set-group-property-once.d.cts.map +1 -1
  267. package/dist/actions/set-group-property-once.d.mts +17 -3
  268. package/dist/actions/set-group-property-once.d.mts.map +1 -1
  269. package/dist/actions/set-group-property-once.mjs.map +1 -1
  270. package/dist/actions/set-profile-property-once.cjs.map +1 -1
  271. package/dist/actions/set-profile-property-once.d.cts +20 -3
  272. package/dist/actions/set-profile-property-once.d.cts.map +1 -1
  273. package/dist/actions/set-profile-property-once.d.mts +20 -3
  274. package/dist/actions/set-profile-property-once.d.mts.map +1 -1
  275. package/dist/actions/set-profile-property-once.mjs.map +1 -1
  276. package/dist/actions/top-event-properties.cjs.map +1 -1
  277. package/dist/actions/top-event-properties.d.cts +13 -3
  278. package/dist/actions/top-event-properties.d.cts.map +1 -1
  279. package/dist/actions/top-event-properties.d.mts +13 -3
  280. package/dist/actions/top-event-properties.d.mts.map +1 -1
  281. package/dist/actions/top-event-properties.mjs.map +1 -1
  282. package/dist/actions/top-event-property-values.cjs.map +1 -1
  283. package/dist/actions/top-event-property-values.d.cts +17 -3
  284. package/dist/actions/top-event-property-values.d.cts.map +1 -1
  285. package/dist/actions/top-event-property-values.d.mts +17 -3
  286. package/dist/actions/top-event-property-values.d.mts.map +1 -1
  287. package/dist/actions/top-event-property-values.mjs.map +1 -1
  288. package/dist/actions/top-events.cjs.map +1 -1
  289. package/dist/actions/top-events.d.cts +19 -3
  290. package/dist/actions/top-events.d.cts.map +1 -1
  291. package/dist/actions/top-events.d.mts +19 -3
  292. package/dist/actions/top-events.d.mts.map +1 -1
  293. package/dist/actions/top-events.mjs.map +1 -1
  294. package/dist/actions/update-group-list-property.cjs.map +1 -1
  295. package/dist/actions/update-group-list-property.d.cts +26 -3
  296. package/dist/actions/update-group-list-property.d.cts.map +1 -1
  297. package/dist/actions/update-group-list-property.d.mts +26 -3
  298. package/dist/actions/update-group-list-property.d.mts.map +1 -1
  299. package/dist/actions/update-group-list-property.mjs.map +1 -1
  300. package/dist/catalog.cjs +18 -1
  301. package/dist/catalog.cjs.map +1 -1
  302. package/dist/catalog.d.cts +17 -0
  303. package/dist/catalog.d.mts +17 -0
  304. package/dist/catalog.mjs +18 -1
  305. package/dist/catalog.mjs.map +1 -1
  306. package/dist/execute.cjs +1 -1
  307. package/dist/execute.cjs.map +1 -1
  308. package/dist/execute.mjs +1 -1
  309. package/dist/execute.mjs.map +1 -1
  310. package/package.json +2 -2
@@ -1,9 +1,25 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/cohorts-list.d.ts
4
- declare const MixpanelCohortsListInput: z.ZodTypeAny;
5
- declare const MixpanelCohortsListOutput: z.ZodTypeAny;
6
- declare const mixpanelCohortsList: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MixpanelCohortsListInput: z.ZodObject<{
5
+ project_id: z.ZodNumber;
6
+ workspace_id: z.ZodOptional<z.ZodNumber>;
7
+ }, z.core.$strip>;
8
+ declare const MixpanelCohortsListOutput: z.ZodObject<{
9
+ cohorts: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
10
+ id: z.ZodNullable<z.ZodNumber>;
11
+ name: z.ZodNullable<z.ZodString>;
12
+ count: z.ZodNullable<z.ZodNumber>;
13
+ created: z.ZodNullable<z.ZodString>;
14
+ is_visible: z.ZodNullable<z.ZodNumber>;
15
+ project_id: z.ZodNullable<z.ZodNumber>;
16
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ }, z.core.$strip>>>>;
18
+ }, z.core.$strip>;
19
+ declare const mixpanelCohortsList: import("@keystrokehq/action").WorkflowActionDefinition<{
20
+ project_id: number;
21
+ workspace_id?: number | undefined;
22
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
23
  //#endregion
8
24
  export { mixpanelCohortsList };
9
25
  //# sourceMappingURL=cohorts-list.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"cohorts-list.d.cts","names":[],"sources":["../../src/actions/cohorts-list.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAGsB;AAAA,cAUlD,yBAAA,EAA2B,CAAA,CAAE,UAEU;AAAA,cAEvC,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"cohorts-list.d.cts","names":[],"sources":["../../src/actions/cohorts-list.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAaxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;cAIzB,mBAAA,gCAAmB,wBAAA"}
@@ -1,9 +1,25 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/cohorts-list.d.ts
4
- declare const MixpanelCohortsListInput: z.ZodTypeAny;
5
- declare const MixpanelCohortsListOutput: z.ZodTypeAny;
6
- declare const mixpanelCohortsList: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MixpanelCohortsListInput: z.ZodObject<{
5
+ project_id: z.ZodNumber;
6
+ workspace_id: z.ZodOptional<z.ZodNumber>;
7
+ }, z.core.$strip>;
8
+ declare const MixpanelCohortsListOutput: z.ZodObject<{
9
+ cohorts: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
10
+ id: z.ZodNullable<z.ZodNumber>;
11
+ name: z.ZodNullable<z.ZodString>;
12
+ count: z.ZodNullable<z.ZodNumber>;
13
+ created: z.ZodNullable<z.ZodString>;
14
+ is_visible: z.ZodNullable<z.ZodNumber>;
15
+ project_id: z.ZodNullable<z.ZodNumber>;
16
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ }, z.core.$strip>>>>;
18
+ }, z.core.$strip>;
19
+ declare const mixpanelCohortsList: import("@keystrokehq/action").WorkflowActionDefinition<{
20
+ project_id: number;
21
+ workspace_id?: number | undefined;
22
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
23
  //#endregion
8
24
  export { mixpanelCohortsList };
9
25
  //# sourceMappingURL=cohorts-list.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"cohorts-list.d.mts","names":[],"sources":["../../src/actions/cohorts-list.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAGsB;AAAA,cAUlD,yBAAA,EAA2B,CAAA,CAAE,UAEU;AAAA,cAEvC,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"cohorts-list.d.mts","names":[],"sources":["../../src/actions/cohorts-list.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAaxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;cAIzB,mBAAA,gCAAmB,wBAAA"}
@@ -6,12 +6,12 @@ const MixpanelCohortsListInput = z.object({
6
6
  workspace_id: z.number().int().describe("The ID of the workspace if applicable.").optional()
7
7
  }).describe("Request model for listing cohorts from Mixpanel.");
8
8
  const MixpanelCohortsList_CohortItemSchema = z.object({
9
- id: z.number().int().describe("Unique cohort identifier"),
10
- name: z.string().describe("The cohort's display name"),
11
- count: z.number().int().describe("Number of users in the cohort"),
12
- created: z.string().describe("Creation timestamp"),
13
- is_visible: z.number().int().describe("Visibility status flag (0 = not visible, 1 = visible)"),
14
- project_id: z.number().int().describe("Associated project ID"),
9
+ id: z.number().int().describe("Unique cohort identifier").nullable(),
10
+ name: z.string().describe("The cohort's display name").nullable(),
11
+ count: z.number().int().describe("Number of users in the cohort").nullable(),
12
+ created: z.string().describe("Creation timestamp").nullable(),
13
+ is_visible: z.number().int().describe("Visibility status flag (0 = not visible, 1 = visible)").nullable(),
14
+ project_id: z.number().int().describe("Associated project ID").nullable(),
15
15
  description: z.string().describe("Cohort description/details").nullable().optional()
16
16
  }).describe("Individual cohort details.");
17
17
  const mixpanelCohortsList = action("MIXPANEL_COHORTS_LIST", {
@@ -1 +1 @@
1
- {"version":3,"file":"cohorts-list.mjs","names":[],"sources":["../../src/actions/cohorts-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelCohortsListInput: z.ZodTypeAny = z.object({\n project_id: z.number().int().describe(\"The ID of the project to query. Required for listing cohorts.\"),\n workspace_id: z.number().int().describe(\"The ID of the workspace if applicable.\").optional(),\n}).describe(\"Request model for listing cohorts from Mixpanel.\");\nconst MixpanelCohortsList_CohortItemSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique cohort identifier\"),\n name: z.string().describe(\"The cohort's display name\"),\n count: z.number().int().describe(\"Number of users in the cohort\"),\n created: z.string().describe(\"Creation timestamp\"),\n is_visible: z.number().int().describe(\"Visibility status flag (0 = not visible, 1 = visible)\"),\n project_id: z.number().int().describe(\"Associated project ID\"),\n description: z.string().describe(\"Cohort description/details\").nullable().optional(),\n}).describe(\"Individual cohort details.\");\nexport const MixpanelCohortsListOutput: z.ZodTypeAny = z.object({\n cohorts: z.array(MixpanelCohortsList_CohortItemSchema).describe(\"List of cohorts in the project\").nullable().optional(),\n}).describe(\"Response model for list cohorts data.\");\n\nexport const mixpanelCohortsList = action(\"MIXPANEL_COHORTS_LIST\", {\n slug: \"mixpanel-cohorts-list\",\n name: \"List Saved Cohorts\",\n description: \"Tool to list all saved cohorts in a Mixpanel project. Use when you need to retrieve cohort metadata including name, id, count, description, creation date, and visibility. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.\",\n input: MixpanelCohortsListInput,\n output: MixpanelCohortsListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyC,EAAE,OAAO;CAC7D,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D;CACrG,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,uCAAqD,EAAE,OAAO;CAClE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACrD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B;CAChE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB;CACjD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD;CAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB;CAC7D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,SAAS,4BAA4B;AAKxC,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATqD,EAAE,OAAO,EAC9D,SAAS,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxH,CAAC,CAAC,CAAC,SAAS,uCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"cohorts-list.mjs","names":[],"sources":["../../src/actions/cohorts-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelCohortsListInput = z.object({\n project_id: z.number().int().describe(\"The ID of the project to query. Required for listing cohorts.\"),\n workspace_id: z.number().int().describe(\"The ID of the workspace if applicable.\").optional(),\n}).describe(\"Request model for listing cohorts from Mixpanel.\");\nconst MixpanelCohortsList_CohortItemSchema = z.object({\n id: z.number().int().describe(\"Unique cohort identifier\").nullable(),\n name: z.string().describe(\"The cohort's display name\").nullable(),\n count: z.number().int().describe(\"Number of users in the cohort\").nullable(),\n created: z.string().describe(\"Creation timestamp\").nullable(),\n is_visible: z.number().int().describe(\"Visibility status flag (0 = not visible, 1 = visible)\").nullable(),\n project_id: z.number().int().describe(\"Associated project ID\").nullable(),\n description: z.string().describe(\"Cohort description/details\").nullable().optional(),\n}).describe(\"Individual cohort details.\");\nexport const MixpanelCohortsListOutput = z.object({\n cohorts: z.array(MixpanelCohortsList_CohortItemSchema).describe(\"List of cohorts in the project\").nullable().optional(),\n}).describe(\"Response model for list cohorts data.\");\n\nexport const mixpanelCohortsList = action(\"MIXPANEL_COHORTS_LIST\", {\n slug: \"mixpanel-cohorts-list\",\n name: \"List Saved Cohorts\",\n description: \"Tool to list all saved cohorts in a Mixpanel project. Use when you need to retrieve cohort metadata including name, id, count, description, creation date, and visibility. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.\",\n input: MixpanelCohortsListInput,\n output: MixpanelCohortsListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D;CACrG,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,uCAAuC,EAAE,OAAO;CACpD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC3E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CAC5D,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACxG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACxE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,SAAS,4BAA4B;AAKxC,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATuC,EAAE,OAAO,EAChD,SAAS,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxH,CAAC,CAAC,CAAC,SAAS,uCAOF;AACV,CAAC"}
@@ -6,9 +6,9 @@ const MixpanelCreateAnnotationTagInput = zod.z.object({
6
6
  project_id: zod.z.string().describe("The project identifier where the annotation tag will be created")
7
7
  }).describe("Request model for creating a new annotation tag in Mixpanel.");
8
8
  const MixpanelCreateAnnotationTagOutput = zod.z.object({
9
- id: zod.z.number().int().describe("The unique identifier of the created annotation tag"),
10
- name: zod.z.string().describe("The name of the created annotation tag"),
11
- project_id: zod.z.number().int().describe("The project identifier this tag belongs to"),
9
+ id: zod.z.number().int().describe("The unique identifier of the created annotation tag").nullable(),
10
+ name: zod.z.string().describe("The name of the created annotation tag").nullable(),
11
+ project_id: zod.z.number().int().describe("The project identifier this tag belongs to").nullable(),
12
12
  has_annotations: zod.z.boolean().default(false).describe("Indicates whether the tag is currently attached to any annotations").nullable().optional()
13
13
  }).describe("Response model for the created annotation tag.");
14
14
  const mixpanelCreateAnnotationTag = require_action.action("MIXPANEL_CREATE_ANNOTATION_TAG", {
@@ -1 +1 @@
1
- {"version":3,"file":"create-annotation-tag.cjs","names":["z","action"],"sources":["../../src/actions/create-annotation-tag.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelCreateAnnotationTagInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The name of the annotation tag to create\"),\n project_id: z.string().describe(\"The project identifier where the annotation tag will be created\"),\n}).describe(\"Request model for creating a new annotation tag in Mixpanel.\");\nexport const MixpanelCreateAnnotationTagOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"The unique identifier of the created annotation tag\"),\n name: z.string().describe(\"The name of the created annotation tag\"),\n project_id: z.number().int().describe(\"The project identifier this tag belongs to\"),\n has_annotations: z.boolean().default(false).describe(\"Indicates whether the tag is currently attached to any annotations\").nullable().optional(),\n}).describe(\"Response model for the created annotation tag.\");\n\nexport const mixpanelCreateAnnotationTag = action(\"MIXPANEL_CREATE_ANNOTATION_TAG\", {\n slug: \"mixpanel-create-annotation-tag\",\n name: \"Create Annotation Tag\",\n description: \"Tool to create a new annotation tag in Mixpanel using the provided name. Use when you need to create tags for organizing and categorizing annotations. Requires a role of at least Analyst.\",\n input: MixpanelCreateAnnotationTagInput,\n output: MixpanelCreateAnnotationTagOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CACpE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;AACnG,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD;CACnF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CAClE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C;CAClF,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjJ,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAE5D,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-annotation-tag.cjs","names":["z","action"],"sources":["../../src/actions/create-annotation-tag.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelCreateAnnotationTagInput = z.object({\n name: z.string().describe(\"The name of the annotation tag to create\"),\n project_id: z.string().describe(\"The project identifier where the annotation tag will be created\"),\n}).describe(\"Request model for creating a new annotation tag in Mixpanel.\");\nexport const MixpanelCreateAnnotationTagOutput = z.object({\n id: z.number().int().describe(\"The unique identifier of the created annotation tag\").nullable(),\n name: z.string().describe(\"The name of the created annotation tag\").nullable(),\n project_id: z.number().int().describe(\"The project identifier this tag belongs to\").nullable(),\n has_annotations: z.boolean().default(false).describe(\"Indicates whether the tag is currently attached to any annotations\").nullable().optional(),\n}).describe(\"Response model for the created annotation tag.\");\n\nexport const mixpanelCreateAnnotationTag = action(\"MIXPANEL_CREATE_ANNOTATION_TAG\", {\n slug: \"mixpanel-create-annotation-tag\",\n name: \"Create Annotation Tag\",\n description: \"Tool to create a new annotation tag in Mixpanel using the provided name. Use when you need to create tags for organizing and categorizing annotations. Requires a role of at least Analyst.\",\n input: MixpanelCreateAnnotationTagInput,\n output: MixpanelCreateAnnotationTagOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CACpE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;AACnG,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC9F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC7E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC7F,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjJ,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAE5D,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,20 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-annotation-tag.d.ts
4
- declare const MixpanelCreateAnnotationTagInput: z.ZodTypeAny;
5
- declare const MixpanelCreateAnnotationTagOutput: z.ZodTypeAny;
6
- declare const mixpanelCreateAnnotationTag: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MixpanelCreateAnnotationTagInput: z.ZodObject<{
5
+ name: z.ZodString;
6
+ project_id: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const MixpanelCreateAnnotationTagOutput: z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodNumber>;
10
+ name: z.ZodNullable<z.ZodString>;
11
+ project_id: z.ZodNullable<z.ZodNumber>;
12
+ has_annotations: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
13
+ }, z.core.$strip>;
14
+ declare const mixpanelCreateAnnotationTag: import("@keystrokehq/action").WorkflowActionDefinition<{
15
+ name: string;
16
+ project_id: string;
17
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
18
  //#endregion
8
19
  export { mixpanelCreateAnnotationTag };
9
20
  //# sourceMappingURL=create-annotation-tag.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-annotation-tag.d.cts","names":[],"sources":["../../src/actions/create-annotation-tag.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAG0B;AAAA,cAC9D,iCAAA,EAAmC,CAAA,CAAE,UAKW;AAAA,cAEhD,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-annotation-tag.d.cts","names":[],"sources":["../../src/actions/create-annotation-tag.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAIhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;cAOjC,2BAAA,gCAA2B,wBAAA"}
@@ -1,9 +1,20 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-annotation-tag.d.ts
4
- declare const MixpanelCreateAnnotationTagInput: z.ZodTypeAny;
5
- declare const MixpanelCreateAnnotationTagOutput: z.ZodTypeAny;
6
- declare const mixpanelCreateAnnotationTag: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MixpanelCreateAnnotationTagInput: z.ZodObject<{
5
+ name: z.ZodString;
6
+ project_id: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const MixpanelCreateAnnotationTagOutput: z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodNumber>;
10
+ name: z.ZodNullable<z.ZodString>;
11
+ project_id: z.ZodNullable<z.ZodNumber>;
12
+ has_annotations: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
13
+ }, z.core.$strip>;
14
+ declare const mixpanelCreateAnnotationTag: import("@keystrokehq/action").WorkflowActionDefinition<{
15
+ name: string;
16
+ project_id: string;
17
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
18
  //#endregion
8
19
  export { mixpanelCreateAnnotationTag };
9
20
  //# sourceMappingURL=create-annotation-tag.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-annotation-tag.d.mts","names":[],"sources":["../../src/actions/create-annotation-tag.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAG0B;AAAA,cAC9D,iCAAA,EAAmC,CAAA,CAAE,UAKW;AAAA,cAEhD,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-annotation-tag.d.mts","names":[],"sources":["../../src/actions/create-annotation-tag.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAIhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;cAOjC,2BAAA,gCAA2B,wBAAA"}
@@ -9,9 +9,9 @@ const mixpanelCreateAnnotationTag = action("MIXPANEL_CREATE_ANNOTATION_TAG", {
9
9
  project_id: z.string().describe("The project identifier where the annotation tag will be created")
10
10
  }).describe("Request model for creating a new annotation tag in Mixpanel."),
11
11
  output: z.object({
12
- id: z.number().int().describe("The unique identifier of the created annotation tag"),
13
- name: z.string().describe("The name of the created annotation tag"),
14
- project_id: z.number().int().describe("The project identifier this tag belongs to"),
12
+ id: z.number().int().describe("The unique identifier of the created annotation tag").nullable(),
13
+ name: z.string().describe("The name of the created annotation tag").nullable(),
14
+ project_id: z.number().int().describe("The project identifier this tag belongs to").nullable(),
15
15
  has_annotations: z.boolean().default(false).describe("Indicates whether the tag is currently attached to any annotations").nullable().optional()
16
16
  }).describe("Response model for the created annotation tag.")
17
17
  });
@@ -1 +1 @@
1
- {"version":3,"file":"create-annotation-tag.mjs","names":[],"sources":["../../src/actions/create-annotation-tag.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelCreateAnnotationTagInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The name of the annotation tag to create\"),\n project_id: z.string().describe(\"The project identifier where the annotation tag will be created\"),\n}).describe(\"Request model for creating a new annotation tag in Mixpanel.\");\nexport const MixpanelCreateAnnotationTagOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"The unique identifier of the created annotation tag\"),\n name: z.string().describe(\"The name of the created annotation tag\"),\n project_id: z.number().int().describe(\"The project identifier this tag belongs to\"),\n has_annotations: z.boolean().default(false).describe(\"Indicates whether the tag is currently attached to any annotations\").nullable().optional(),\n}).describe(\"Response model for the created annotation tag.\");\n\nexport const mixpanelCreateAnnotationTag = action(\"MIXPANEL_CREATE_ANNOTATION_TAG\", {\n slug: \"mixpanel-create-annotation-tag\",\n name: \"Create Annotation Tag\",\n description: \"Tool to create a new annotation tag in Mixpanel using the provided name. Use when you need to create tags for organizing and categorizing annotations. Requires a role of at least Analyst.\",\n input: MixpanelCreateAnnotationTagInput,\n output: MixpanelCreateAnnotationTagOutput,\n});\n"],"mappings":";;AAeA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf4D,EAAE,OAAO;EACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;EACpE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;CACnG,CAAC,CAAC,CAAC,SAAS,8DAYH;CACP,QAZ6D,EAAE,OAAO;EACtE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD;EACnF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;EAClE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C;EAClF,iBAAiB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjJ,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-annotation-tag.mjs","names":[],"sources":["../../src/actions/create-annotation-tag.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelCreateAnnotationTagInput = z.object({\n name: z.string().describe(\"The name of the annotation tag to create\"),\n project_id: z.string().describe(\"The project identifier where the annotation tag will be created\"),\n}).describe(\"Request model for creating a new annotation tag in Mixpanel.\");\nexport const MixpanelCreateAnnotationTagOutput = z.object({\n id: z.number().int().describe(\"The unique identifier of the created annotation tag\").nullable(),\n name: z.string().describe(\"The name of the created annotation tag\").nullable(),\n project_id: z.number().int().describe(\"The project identifier this tag belongs to\").nullable(),\n has_annotations: z.boolean().default(false).describe(\"Indicates whether the tag is currently attached to any annotations\").nullable().optional(),\n}).describe(\"Response model for the created annotation tag.\");\n\nexport const mixpanelCreateAnnotationTag = action(\"MIXPANEL_CREATE_ANNOTATION_TAG\", {\n slug: \"mixpanel-create-annotation-tag\",\n name: \"Create Annotation Tag\",\n description: \"Tool to create a new annotation tag in Mixpanel using the provided name. Use when you need to create tags for organizing and categorizing annotations. Requires a role of at least Analyst.\",\n input: MixpanelCreateAnnotationTagInput,\n output: MixpanelCreateAnnotationTagOutput,\n});\n"],"mappings":";;AAeA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf8C,EAAE,OAAO;EACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;EACpE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;CACnG,CAAC,CAAC,CAAC,SAAS,8DAYH;CACP,QAZ+C,EAAE,OAAO;EACxD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EAC9F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAC7E,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EAC7F,iBAAiB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjJ,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"create-identity.cjs","names":["z","action"],"sources":["../../src/actions/create-identity.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelCreateIdentityInput: z.ZodTypeAny = z.object({\n token: z.string().describe(\"Project authentication token for client-side authentication.\"),\n strict: z.union([z.literal(0), z.literal(1)]).describe(\"Validation mode for the request.\").optional(),\n anon_id: z.string().describe(\"The anonymous ID (UUID v4 format) to be linked with the identified user ID. This is typically the ID used before the user authenticated.\"),\n distinct_id: z.string().describe(\"Optional distinct ID. If provided, this will be used as the post-ID for the identity.\").optional(),\n identified_id: z.string().describe(\"The identified user ID to link with the anonymous ID. This is typically the user's ID after they sign up or log in.\"),\n}).describe(\"Request model for creating an identity in Mixpanel.\");\nexport const MixpanelCreateIdentityOutput: 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.number().int(), z.string()]),\n}).describe(\"Response model for identity creation.\");\n\nexport const mixpanelCreateIdentity = action(\"MIXPANEL_CREATE_IDENTITY\", {\n slug: \"mixpanel-create-identity\",\n name: \"Create Identity\",\n description: \"Tool to create an identity mapping in Mixpanel by linking an anonymous ID with an identified user ID. Use when you need to connect pre-login anonymous activity with post-login identified user activity. This operation is typically performed after user authentication to associate all previous anonymous events with the user's identified profile.\",\n input: MixpanelCreateIdentityInput,\n output: MixpanelCreateIdentityOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;CACzF,QAAQA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,QAAQ,CAAC,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACpG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I;CACvK,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CACnI,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH;AAC1J,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,QAAQA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC;AAChD,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAEnD,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-identity.cjs","names":["z","action"],"sources":["../../src/actions/create-identity.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelCreateIdentityInput = z.object({\n token: z.string().describe(\"Project authentication token for client-side authentication.\"),\n strict: z.union([z.literal(0), z.literal(1)]).describe(\"Validation mode for the request.\").optional(),\n anon_id: z.string().describe(\"The anonymous ID (UUID v4 format) to be linked with the identified user ID. This is typically the ID used before the user authenticated.\"),\n distinct_id: z.string().describe(\"Optional distinct ID. If provided, this will be used as the post-ID for the identity.\").optional(),\n identified_id: z.string().describe(\"The identified user ID to link with the anonymous ID. This is typically the user's ID after they sign up or log in.\"),\n}).describe(\"Request model for creating an identity in Mixpanel.\");\nexport const MixpanelCreateIdentityOutput = z.object({\n error: z.string().describe(\"Error message if the request failed, null if successful.\").nullable().optional(),\n status: z.union([z.number().int(), z.string()]),\n}).describe(\"Response model for identity creation.\");\n\nexport const mixpanelCreateIdentity = action(\"MIXPANEL_CREATE_IDENTITY\", {\n slug: \"mixpanel-create-identity\",\n name: \"Create Identity\",\n description: \"Tool to create an identity mapping in Mixpanel by linking an anonymous ID with an identified user ID. Use when you need to connect pre-login anonymous activity with post-login identified user activity. This operation is typically performed after user authentication to associate all previous anonymous events with the user's identified profile.\",\n input: MixpanelCreateIdentityInput,\n output: MixpanelCreateIdentityOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;CACzF,QAAQA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,QAAQ,CAAC,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACpG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I;CACvK,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CACnI,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH;AAC1J,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,QAAQA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC;AAChD,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAEnD,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,24 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-identity.d.ts
4
- declare const MixpanelCreateIdentityInput: z.ZodTypeAny;
5
- declare const MixpanelCreateIdentityOutput: z.ZodTypeAny;
6
- declare const mixpanelCreateIdentity: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MixpanelCreateIdentityInput: z.ZodObject<{
5
+ token: z.ZodString;
6
+ strict: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>]>>;
7
+ anon_id: z.ZodString;
8
+ distinct_id: z.ZodOptional<z.ZodString>;
9
+ identified_id: z.ZodString;
10
+ }, z.core.$strip>;
11
+ declare const MixpanelCreateIdentityOutput: z.ZodObject<{
12
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ status: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
14
+ }, z.core.$strip>;
15
+ declare const mixpanelCreateIdentity: import("@keystrokehq/action").WorkflowActionDefinition<{
16
+ token: string;
17
+ anon_id: string;
18
+ identified_id: string;
19
+ strict?: 0 | 1 | undefined;
20
+ distinct_id?: string | undefined;
21
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
22
  //#endregion
8
23
  export { mixpanelCreateIdentity };
9
24
  //# sourceMappingURL=create-identity.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-identity.d.cts","names":[],"sources":["../../src/actions/create-identity.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAMsB;AAAA,cACrD,4BAAA,EAA8B,CAAA,CAAE,UAGO;AAAA,cAEvC,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-identity.d.cts","names":[],"sources":["../../src/actions/create-identity.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;cAO3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,gCAAsB,wBAAA"}
@@ -1,9 +1,24 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-identity.d.ts
4
- declare const MixpanelCreateIdentityInput: z.ZodTypeAny;
5
- declare const MixpanelCreateIdentityOutput: z.ZodTypeAny;
6
- declare const mixpanelCreateIdentity: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MixpanelCreateIdentityInput: z.ZodObject<{
5
+ token: z.ZodString;
6
+ strict: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>]>>;
7
+ anon_id: z.ZodString;
8
+ distinct_id: z.ZodOptional<z.ZodString>;
9
+ identified_id: z.ZodString;
10
+ }, z.core.$strip>;
11
+ declare const MixpanelCreateIdentityOutput: z.ZodObject<{
12
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ status: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
14
+ }, z.core.$strip>;
15
+ declare const mixpanelCreateIdentity: import("@keystrokehq/action").WorkflowActionDefinition<{
16
+ token: string;
17
+ anon_id: string;
18
+ identified_id: string;
19
+ strict?: 0 | 1 | undefined;
20
+ distinct_id?: string | undefined;
21
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
22
  //#endregion
8
23
  export { mixpanelCreateIdentity };
9
24
  //# sourceMappingURL=create-identity.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-identity.d.mts","names":[],"sources":["../../src/actions/create-identity.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAMsB;AAAA,cACrD,4BAAA,EAA8B,CAAA,CAAE,UAGO;AAAA,cAEvC,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-identity.d.mts","names":[],"sources":["../../src/actions/create-identity.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;cAO3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,gCAAsB,wBAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"create-identity.mjs","names":[],"sources":["../../src/actions/create-identity.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelCreateIdentityInput: z.ZodTypeAny = z.object({\n token: z.string().describe(\"Project authentication token for client-side authentication.\"),\n strict: z.union([z.literal(0), z.literal(1)]).describe(\"Validation mode for the request.\").optional(),\n anon_id: z.string().describe(\"The anonymous ID (UUID v4 format) to be linked with the identified user ID. This is typically the ID used before the user authenticated.\"),\n distinct_id: z.string().describe(\"Optional distinct ID. If provided, this will be used as the post-ID for the identity.\").optional(),\n identified_id: z.string().describe(\"The identified user ID to link with the anonymous ID. This is typically the user's ID after they sign up or log in.\"),\n}).describe(\"Request model for creating an identity in Mixpanel.\");\nexport const MixpanelCreateIdentityOutput: 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.number().int(), z.string()]),\n}).describe(\"Response model for identity creation.\");\n\nexport const mixpanelCreateIdentity = action(\"MIXPANEL_CREATE_IDENTITY\", {\n slug: \"mixpanel-create-identity\",\n name: \"Create Identity\",\n description: \"Tool to create an identity mapping in Mixpanel by linking an anonymous ID with an identified user ID. Use when you need to connect pre-login anonymous activity with post-login identified user activity. This operation is typically performed after user authentication to associate all previous anonymous events with the user's identified profile.\",\n input: MixpanelCreateIdentityInput,\n output: MixpanelCreateIdentityOutput,\n});\n"],"mappings":";;AAgBA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBuD,EAAE,OAAO;EAChE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;EACzF,QAAQ,EAAE,MAAM,CAAC,EAAE,QAAQ,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACpG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I;EACvK,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;EACnI,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH;CAC1J,CAAC,CAAC,CAAC,SAAS,qDAUH;CACP,QAVwD,EAAE,OAAO;EACjE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,QAAQ,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,OAAO,CAAC,CAAC;CAChD,CAAC,CAAC,CAAC,SAAS,uCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-identity.mjs","names":[],"sources":["../../src/actions/create-identity.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelCreateIdentityInput = z.object({\n token: z.string().describe(\"Project authentication token for client-side authentication.\"),\n strict: z.union([z.literal(0), z.literal(1)]).describe(\"Validation mode for the request.\").optional(),\n anon_id: z.string().describe(\"The anonymous ID (UUID v4 format) to be linked with the identified user ID. This is typically the ID used before the user authenticated.\"),\n distinct_id: z.string().describe(\"Optional distinct ID. If provided, this will be used as the post-ID for the identity.\").optional(),\n identified_id: z.string().describe(\"The identified user ID to link with the anonymous ID. This is typically the user's ID after they sign up or log in.\"),\n}).describe(\"Request model for creating an identity in Mixpanel.\");\nexport const MixpanelCreateIdentityOutput = z.object({\n error: z.string().describe(\"Error message if the request failed, null if successful.\").nullable().optional(),\n status: z.union([z.number().int(), z.string()]),\n}).describe(\"Response model for identity creation.\");\n\nexport const mixpanelCreateIdentity = action(\"MIXPANEL_CREATE_IDENTITY\", {\n slug: \"mixpanel-create-identity\",\n name: \"Create Identity\",\n description: \"Tool to create an identity mapping in Mixpanel by linking an anonymous ID with an identified user ID. Use when you need to connect pre-login anonymous activity with post-login identified user activity. This operation is typically performed after user authentication to associate all previous anonymous events with the user's identified profile.\",\n input: MixpanelCreateIdentityInput,\n output: MixpanelCreateIdentityOutput,\n});\n"],"mappings":";;AAgBA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhByC,EAAE,OAAO;EAClD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;EACzF,QAAQ,EAAE,MAAM,CAAC,EAAE,QAAQ,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACpG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I;EACvK,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;EACnI,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH;CAC1J,CAAC,CAAC,CAAC,SAAS,qDAUH;CACP,QAV0C,EAAE,OAAO;EACnD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,QAAQ,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,OAAO,CAAC,CAAC;CAChD,CAAC,CAAC,CAAC,SAAS,uCAOF;AACV,CAAC"}
@@ -22,17 +22,17 @@ const MixpanelCreateServiceAccountInput = zod.z.object({
22
22
  organization_id: zod.z.string().describe("The unique identifier for the organization")
23
23
  }).describe("Request model for creating a new service account for an organization.");
24
24
  const MixpanelCreateServiceAccount_ServiceAccountDetailsSchema = zod.z.object({
25
- id: zod.z.number().int().describe("Unique identifier for the service account"),
25
+ id: zod.z.number().int().describe("Unique identifier for the service account").nullable(),
26
26
  user: zod.z.unknown().describe("User details object").nullable().optional(),
27
- token: zod.z.string().describe("The secret key for this service account. CRITICAL: This cannot be recovered after creation - must be stored immediately."),
28
- created: zod.z.string().describe("ISO 8601 date-time when the account was created"),
29
- creator: zod.z.number().int().describe("Mixpanel user ID that created this service account"),
27
+ token: zod.z.string().describe("The secret key for this service account. CRITICAL: This cannot be recovered after creation - must be stored immediately.").nullable(),
28
+ created: zod.z.string().describe("ISO 8601 date-time when the account was created").nullable(),
29
+ creator: zod.z.number().int().describe("Mixpanel user ID that created this service account").nullable(),
30
30
  expires: zod.z.string().describe("ISO 8601 date-time when the account expires (null if no expiration)").nullable().optional(),
31
- username: zod.z.string().describe("The service account username"),
31
+ username: zod.z.string().describe("The service account username").nullable(),
32
32
  last_used: zod.z.string().describe("ISO 8601 date-time of last authentication (null if never used)").nullable().optional()
33
33
  }).describe("Model representing the created service account details.");
34
34
  const MixpanelCreateServiceAccountOutput = zod.z.object({
35
- status: zod.z.string().describe("Status of the response, typically 'ok' for successful creation"),
35
+ status: zod.z.string().describe("Status of the response, typically 'ok' for successful creation").nullable(),
36
36
  results: MixpanelCreateServiceAccount_ServiceAccountDetailsSchema.nullable()
37
37
  }).describe("Response model for the created service account.");
38
38
  const mixpanelCreateServiceAccount = require_action.action("MIXPANEL_CREATE_SERVICE_ACCOUNT", {
@@ -1 +1 @@
1
- {"version":3,"file":"create-service-account.cjs","names":["z","action"],"sources":["../../src/actions/create-service-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelCreateServiceAccountInput: z.ZodTypeAny = z.object({\n role: z.enum([\"owner\", \"admin\", \"analyst\", \"consumer\"]).describe(\"The organization-level role for the service account. If not specified, service account will have no organization-level role.\").optional(),\n expires: z.string().describe(\"ISO 8601 date-time format string indicating when the service account should expire. If not specified, the service account will have no expiration.\").optional(),\n projects: z.array(z.object({\n id: z.number().int().describe(\"The unique identifier for the project\"),\n role: z.enum([\"owner\", \"admin\", \"analyst\", \"consumer\"]).describe(\"The role to assign to the service account within this project\"),\n}).describe(\"Model representing a project assignment for the service account.\")).describe(\"List of projects to add the service account to with specified roles. If not specified, the service account will not be added to any projects.\").optional(),\n username: z.string().describe(\"A descriptive name for the service account\"),\n organization_id: z.string().describe(\"The unique identifier for the organization\"),\n}).describe(\"Request model for creating a new service account for an organization.\");\nconst MixpanelCreateServiceAccount_ServiceAccountDetailsSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the service account\"),\n user: z.unknown().describe(\"User details object\").nullable().optional(),\n token: z.string().describe(\"The secret key for this service account. CRITICAL: This cannot be recovered after creation - must be stored immediately.\"),\n created: z.string().describe(\"ISO 8601 date-time when the account was created\"),\n creator: z.number().int().describe(\"Mixpanel user ID that created this service account\"),\n expires: z.string().describe(\"ISO 8601 date-time when the account expires (null if no expiration)\").nullable().optional(),\n username: z.string().describe(\"The service account username\"),\n last_used: z.string().describe(\"ISO 8601 date-time of last authentication (null if never used)\").nullable().optional(),\n}).describe(\"Model representing the created service account details.\");\nexport const MixpanelCreateServiceAccountOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"Status of the response, typically 'ok' for successful creation\"),\n results: MixpanelCreateServiceAccount_ServiceAccountDetailsSchema.nullable(),\n}).describe(\"Response model for the created service account.\");\n\nexport const mixpanelCreateServiceAccount = action(\"MIXPANEL_CREATE_SERVICE_ACCOUNT\", {\n slug: \"mixpanel-create-service-account\",\n name: \"Create Service Account\",\n description: \"Tool to create a new service account for your organization and optionally add it to projects. Use when you need to generate API credentials for programmatic access. The response includes a token (secret) that cannot be recovered after creation. Requires service account with admin or owner role.\",\n input: MixpanelCreateServiceAccountInput,\n output: MixpanelCreateServiceAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAS;EAAW;CAAU,CAAC,CAAC,CAAC,SAAS,8HAA8H,CAAC,CAAC,SAAS;CAC1M,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oJAAoJ,CAAC,CAAC,SAAS;CAC5L,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC3B,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;EACrE,MAAMA,IAAAA,EAAE,KAAK;GAAC;GAAS;GAAS;GAAW;EAAU,CAAC,CAAC,CAAC,SAAS,+DAA+D;CAClI,CAAC,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,CAAC,SAAS,+IAA+I,CAAC,CAAC,SAAS;CAClP,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CAC1E,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;AACnF,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAM,2DAAyEA,IAAAA,EAAE,OAAO;CACtF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C;CACzE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H;CACrJ,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC9E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD;CACvF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CAC5D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,qCAAmDA,IAAAA,EAAE,OAAO;CACvE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;CAC5F,SAAS,yDAAyD,SAAS;AAC7E,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAE7D,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-service-account.cjs","names":["z","action"],"sources":["../../src/actions/create-service-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelCreateServiceAccountInput = z.object({\n role: z.enum([\"owner\", \"admin\", \"analyst\", \"consumer\"]).describe(\"The organization-level role for the service account. If not specified, service account will have no organization-level role.\").optional(),\n expires: z.string().describe(\"ISO 8601 date-time format string indicating when the service account should expire. If not specified, the service account will have no expiration.\").optional(),\n projects: z.array(z.object({\n id: z.number().int().describe(\"The unique identifier for the project\"),\n role: z.enum([\"owner\", \"admin\", \"analyst\", \"consumer\"]).describe(\"The role to assign to the service account within this project\"),\n}).describe(\"Model representing a project assignment for the service account.\")).describe(\"List of projects to add the service account to with specified roles. If not specified, the service account will not be added to any projects.\").optional(),\n username: z.string().describe(\"A descriptive name for the service account\"),\n organization_id: z.string().describe(\"The unique identifier for the organization\"),\n}).describe(\"Request model for creating a new service account for an organization.\");\nconst MixpanelCreateServiceAccount_ServiceAccountDetailsSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the service account\").nullable(),\n user: z.unknown().describe(\"User details object\").nullable().optional(),\n token: z.string().describe(\"The secret key for this service account. CRITICAL: This cannot be recovered after creation - must be stored immediately.\").nullable(),\n created: z.string().describe(\"ISO 8601 date-time when the account was created\").nullable(),\n creator: z.number().int().describe(\"Mixpanel user ID that created this service account\").nullable(),\n expires: z.string().describe(\"ISO 8601 date-time when the account expires (null if no expiration)\").nullable().optional(),\n username: z.string().describe(\"The service account username\").nullable(),\n last_used: z.string().describe(\"ISO 8601 date-time of last authentication (null if never used)\").nullable().optional(),\n}).describe(\"Model representing the created service account details.\");\nexport const MixpanelCreateServiceAccountOutput = z.object({\n status: z.string().describe(\"Status of the response, typically 'ok' for successful creation\").nullable(),\n results: MixpanelCreateServiceAccount_ServiceAccountDetailsSchema.nullable(),\n}).describe(\"Response model for the created service account.\");\n\nexport const mixpanelCreateServiceAccount = action(\"MIXPANEL_CREATE_SERVICE_ACCOUNT\", {\n slug: \"mixpanel-create-service-account\",\n name: \"Create Service Account\",\n description: \"Tool to create a new service account for your organization and optionally add it to projects. Use when you need to generate API credentials for programmatic access. The response includes a token (secret) that cannot be recovered after creation. Requires service account with admin or owner role.\",\n input: MixpanelCreateServiceAccountInput,\n output: MixpanelCreateServiceAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAS;EAAW;CAAU,CAAC,CAAC,CAAC,SAAS,8HAA8H,CAAC,CAAC,SAAS;CAC1M,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oJAAoJ,CAAC,CAAC,SAAS;CAC5L,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC3B,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;EACrE,MAAMA,IAAAA,EAAE,KAAK;GAAC;GAAS;GAAS;GAAW;EAAU,CAAC,CAAC,CAAC,SAAS,+DAA+D;CAClI,CAAC,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,CAAC,SAAS,+IAA+I,CAAC,CAAC,SAAS;CAClP,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CAC1E,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;AACnF,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAM,2DAA2DA,IAAAA,EAAE,OAAO;CACxE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACpF,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;CAChK,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACzF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAClG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACvE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACvG,SAAS,yDAAyD,SAAS;AAC7E,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAE7D,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,49 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-service-account.d.ts
4
- declare const MixpanelCreateServiceAccountInput: z.ZodTypeAny;
5
- declare const MixpanelCreateServiceAccountOutput: z.ZodTypeAny;
6
- declare const mixpanelCreateServiceAccount: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MixpanelCreateServiceAccountInput: z.ZodObject<{
5
+ role: z.ZodOptional<z.ZodEnum<{
6
+ owner: "owner";
7
+ admin: "admin";
8
+ analyst: "analyst";
9
+ consumer: "consumer";
10
+ }>>;
11
+ expires: z.ZodOptional<z.ZodString>;
12
+ projects: z.ZodOptional<z.ZodArray<z.ZodObject<{
13
+ id: z.ZodNumber;
14
+ role: z.ZodEnum<{
15
+ owner: "owner";
16
+ admin: "admin";
17
+ analyst: "analyst";
18
+ consumer: "consumer";
19
+ }>;
20
+ }, z.core.$strip>>>;
21
+ username: z.ZodString;
22
+ organization_id: z.ZodString;
23
+ }, z.core.$strip>;
24
+ declare const MixpanelCreateServiceAccountOutput: z.ZodObject<{
25
+ status: z.ZodNullable<z.ZodString>;
26
+ results: z.ZodNullable<z.ZodObject<{
27
+ id: z.ZodNullable<z.ZodNumber>;
28
+ user: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
29
+ token: z.ZodNullable<z.ZodString>;
30
+ created: z.ZodNullable<z.ZodString>;
31
+ creator: z.ZodNullable<z.ZodNumber>;
32
+ expires: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ username: z.ZodNullable<z.ZodString>;
34
+ last_used: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
+ }, z.core.$strip>>;
36
+ }, z.core.$strip>;
37
+ declare const mixpanelCreateServiceAccount: import("@keystrokehq/action").WorkflowActionDefinition<{
38
+ username: string;
39
+ organization_id: string;
40
+ role?: "owner" | "admin" | "analyst" | "consumer" | undefined;
41
+ expires?: string | undefined;
42
+ projects?: {
43
+ id: number;
44
+ role: "owner" | "admin" | "analyst" | "consumer";
45
+ }[] | undefined;
46
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
47
  //#endregion
8
48
  export { mixpanelCreateServiceAccount };
9
49
  //# sourceMappingURL=create-service-account.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-service-account.d.cts","names":[],"sources":["../../src/actions/create-service-account.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UASkC;AAAA,cAWvE,kCAAA,EAAoC,CAAA,CAAE,UAGW;AAAA,cAEjD,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-service-account.d.cts","names":[],"sources":["../../src/actions/create-service-account.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAoBjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAKlC,4BAAA,gCAA4B,wBAAA"}
@@ -1,9 +1,49 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-service-account.d.ts
4
- declare const MixpanelCreateServiceAccountInput: z.ZodTypeAny;
5
- declare const MixpanelCreateServiceAccountOutput: z.ZodTypeAny;
6
- declare const mixpanelCreateServiceAccount: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MixpanelCreateServiceAccountInput: z.ZodObject<{
5
+ role: z.ZodOptional<z.ZodEnum<{
6
+ owner: "owner";
7
+ admin: "admin";
8
+ analyst: "analyst";
9
+ consumer: "consumer";
10
+ }>>;
11
+ expires: z.ZodOptional<z.ZodString>;
12
+ projects: z.ZodOptional<z.ZodArray<z.ZodObject<{
13
+ id: z.ZodNumber;
14
+ role: z.ZodEnum<{
15
+ owner: "owner";
16
+ admin: "admin";
17
+ analyst: "analyst";
18
+ consumer: "consumer";
19
+ }>;
20
+ }, z.core.$strip>>>;
21
+ username: z.ZodString;
22
+ organization_id: z.ZodString;
23
+ }, z.core.$strip>;
24
+ declare const MixpanelCreateServiceAccountOutput: z.ZodObject<{
25
+ status: z.ZodNullable<z.ZodString>;
26
+ results: z.ZodNullable<z.ZodObject<{
27
+ id: z.ZodNullable<z.ZodNumber>;
28
+ user: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
29
+ token: z.ZodNullable<z.ZodString>;
30
+ created: z.ZodNullable<z.ZodString>;
31
+ creator: z.ZodNullable<z.ZodNumber>;
32
+ expires: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ username: z.ZodNullable<z.ZodString>;
34
+ last_used: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
+ }, z.core.$strip>>;
36
+ }, z.core.$strip>;
37
+ declare const mixpanelCreateServiceAccount: import("@keystrokehq/action").WorkflowActionDefinition<{
38
+ username: string;
39
+ organization_id: string;
40
+ role?: "owner" | "admin" | "analyst" | "consumer" | undefined;
41
+ expires?: string | undefined;
42
+ projects?: {
43
+ id: number;
44
+ role: "owner" | "admin" | "analyst" | "consumer";
45
+ }[] | undefined;
46
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
47
  //#endregion
8
48
  export { mixpanelCreateServiceAccount };
9
49
  //# sourceMappingURL=create-service-account.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-service-account.d.mts","names":[],"sources":["../../src/actions/create-service-account.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UASkC;AAAA,cAWvE,kCAAA,EAAoC,CAAA,CAAE,UAGW;AAAA,cAEjD,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-service-account.d.mts","names":[],"sources":["../../src/actions/create-service-account.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAoBjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAKlC,4BAAA,gCAA4B,wBAAA"}
@@ -22,13 +22,13 @@ const MixpanelCreateServiceAccountInput = z.object({
22
22
  organization_id: z.string().describe("The unique identifier for the organization")
23
23
  }).describe("Request model for creating a new service account for an organization.");
24
24
  const MixpanelCreateServiceAccount_ServiceAccountDetailsSchema = z.object({
25
- id: z.number().int().describe("Unique identifier for the service account"),
25
+ id: z.number().int().describe("Unique identifier for the service account").nullable(),
26
26
  user: z.unknown().describe("User details object").nullable().optional(),
27
- token: z.string().describe("The secret key for this service account. CRITICAL: This cannot be recovered after creation - must be stored immediately."),
28
- created: z.string().describe("ISO 8601 date-time when the account was created"),
29
- creator: z.number().int().describe("Mixpanel user ID that created this service account"),
27
+ token: z.string().describe("The secret key for this service account. CRITICAL: This cannot be recovered after creation - must be stored immediately.").nullable(),
28
+ created: z.string().describe("ISO 8601 date-time when the account was created").nullable(),
29
+ creator: z.number().int().describe("Mixpanel user ID that created this service account").nullable(),
30
30
  expires: z.string().describe("ISO 8601 date-time when the account expires (null if no expiration)").nullable().optional(),
31
- username: z.string().describe("The service account username"),
31
+ username: z.string().describe("The service account username").nullable(),
32
32
  last_used: z.string().describe("ISO 8601 date-time of last authentication (null if never used)").nullable().optional()
33
33
  }).describe("Model representing the created service account details.");
34
34
  const mixpanelCreateServiceAccount = action("MIXPANEL_CREATE_SERVICE_ACCOUNT", {
@@ -37,7 +37,7 @@ const mixpanelCreateServiceAccount = action("MIXPANEL_CREATE_SERVICE_ACCOUNT", {
37
37
  description: "Tool to create a new service account for your organization and optionally add it to projects. Use when you need to generate API credentials for programmatic access. The response includes a token (secret) that cannot be recovered after creation. Requires service account with admin or owner role.",
38
38
  input: MixpanelCreateServiceAccountInput,
39
39
  output: z.object({
40
- status: z.string().describe("Status of the response, typically 'ok' for successful creation"),
40
+ status: z.string().describe("Status of the response, typically 'ok' for successful creation").nullable(),
41
41
  results: MixpanelCreateServiceAccount_ServiceAccountDetailsSchema.nullable()
42
42
  }).describe("Response model for the created service account.")
43
43
  });
@@ -1 +1 @@
1
- {"version":3,"file":"create-service-account.mjs","names":[],"sources":["../../src/actions/create-service-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelCreateServiceAccountInput: z.ZodTypeAny = z.object({\n role: z.enum([\"owner\", \"admin\", \"analyst\", \"consumer\"]).describe(\"The organization-level role for the service account. If not specified, service account will have no organization-level role.\").optional(),\n expires: z.string().describe(\"ISO 8601 date-time format string indicating when the service account should expire. If not specified, the service account will have no expiration.\").optional(),\n projects: z.array(z.object({\n id: z.number().int().describe(\"The unique identifier for the project\"),\n role: z.enum([\"owner\", \"admin\", \"analyst\", \"consumer\"]).describe(\"The role to assign to the service account within this project\"),\n}).describe(\"Model representing a project assignment for the service account.\")).describe(\"List of projects to add the service account to with specified roles. If not specified, the service account will not be added to any projects.\").optional(),\n username: z.string().describe(\"A descriptive name for the service account\"),\n organization_id: z.string().describe(\"The unique identifier for the organization\"),\n}).describe(\"Request model for creating a new service account for an organization.\");\nconst MixpanelCreateServiceAccount_ServiceAccountDetailsSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the service account\"),\n user: z.unknown().describe(\"User details object\").nullable().optional(),\n token: z.string().describe(\"The secret key for this service account. CRITICAL: This cannot be recovered after creation - must be stored immediately.\"),\n created: z.string().describe(\"ISO 8601 date-time when the account was created\"),\n creator: z.number().int().describe(\"Mixpanel user ID that created this service account\"),\n expires: z.string().describe(\"ISO 8601 date-time when the account expires (null if no expiration)\").nullable().optional(),\n username: z.string().describe(\"The service account username\"),\n last_used: z.string().describe(\"ISO 8601 date-time of last authentication (null if never used)\").nullable().optional(),\n}).describe(\"Model representing the created service account details.\");\nexport const MixpanelCreateServiceAccountOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"Status of the response, typically 'ok' for successful creation\"),\n results: MixpanelCreateServiceAccount_ServiceAccountDetailsSchema.nullable(),\n}).describe(\"Response model for the created service account.\");\n\nexport const mixpanelCreateServiceAccount = action(\"MIXPANEL_CREATE_SERVICE_ACCOUNT\", {\n slug: \"mixpanel-create-service-account\",\n name: \"Create Service Account\",\n description: \"Tool to create a new service account for your organization and optionally add it to projects. Use when you need to generate API credentials for programmatic access. The response includes a token (secret) that cannot be recovered after creation. Requires service account with admin or owner role.\",\n input: MixpanelCreateServiceAccountInput,\n output: MixpanelCreateServiceAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkD,EAAE,OAAO;CACtE,MAAM,EAAE,KAAK;EAAC;EAAS;EAAS;EAAW;CAAU,CAAC,CAAC,CAAC,SAAS,8HAA8H,CAAC,CAAC,SAAS;CAC1M,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oJAAoJ,CAAC,CAAC,SAAS;CAC5L,UAAU,EAAE,MAAM,EAAE,OAAO;EAC3B,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;EACrE,MAAM,EAAE,KAAK;GAAC;GAAS;GAAS;GAAW;EAAU,CAAC,CAAC,CAAC,SAAS,+DAA+D;CAClI,CAAC,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,CAAC,SAAS,+IAA+I,CAAC,CAAC,SAAS;CAClP,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CAC1E,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;AACnF,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAM,2DAAyE,EAAE,OAAO;CACtF,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C;CACzE,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H;CACrJ,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC9E,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD;CACvF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CAC5D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,SAAS,yDAAyD;AAMrE,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV8D,EAAE,OAAO;EACvE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;EAC5F,SAAS,yDAAyD,SAAS;CAC7E,CAAC,CAAC,CAAC,SAAS,iDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-service-account.mjs","names":[],"sources":["../../src/actions/create-service-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelCreateServiceAccountInput = z.object({\n role: z.enum([\"owner\", \"admin\", \"analyst\", \"consumer\"]).describe(\"The organization-level role for the service account. If not specified, service account will have no organization-level role.\").optional(),\n expires: z.string().describe(\"ISO 8601 date-time format string indicating when the service account should expire. If not specified, the service account will have no expiration.\").optional(),\n projects: z.array(z.object({\n id: z.number().int().describe(\"The unique identifier for the project\"),\n role: z.enum([\"owner\", \"admin\", \"analyst\", \"consumer\"]).describe(\"The role to assign to the service account within this project\"),\n}).describe(\"Model representing a project assignment for the service account.\")).describe(\"List of projects to add the service account to with specified roles. If not specified, the service account will not be added to any projects.\").optional(),\n username: z.string().describe(\"A descriptive name for the service account\"),\n organization_id: z.string().describe(\"The unique identifier for the organization\"),\n}).describe(\"Request model for creating a new service account for an organization.\");\nconst MixpanelCreateServiceAccount_ServiceAccountDetailsSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the service account\").nullable(),\n user: z.unknown().describe(\"User details object\").nullable().optional(),\n token: z.string().describe(\"The secret key for this service account. CRITICAL: This cannot be recovered after creation - must be stored immediately.\").nullable(),\n created: z.string().describe(\"ISO 8601 date-time when the account was created\").nullable(),\n creator: z.number().int().describe(\"Mixpanel user ID that created this service account\").nullable(),\n expires: z.string().describe(\"ISO 8601 date-time when the account expires (null if no expiration)\").nullable().optional(),\n username: z.string().describe(\"The service account username\").nullable(),\n last_used: z.string().describe(\"ISO 8601 date-time of last authentication (null if never used)\").nullable().optional(),\n}).describe(\"Model representing the created service account details.\");\nexport const MixpanelCreateServiceAccountOutput = z.object({\n status: z.string().describe(\"Status of the response, typically 'ok' for successful creation\").nullable(),\n results: MixpanelCreateServiceAccount_ServiceAccountDetailsSchema.nullable(),\n}).describe(\"Response model for the created service account.\");\n\nexport const mixpanelCreateServiceAccount = action(\"MIXPANEL_CREATE_SERVICE_ACCOUNT\", {\n slug: \"mixpanel-create-service-account\",\n name: \"Create Service Account\",\n description: \"Tool to create a new service account for your organization and optionally add it to projects. Use when you need to generate API credentials for programmatic access. The response includes a token (secret) that cannot be recovered after creation. Requires service account with admin or owner role.\",\n input: MixpanelCreateServiceAccountInput,\n output: MixpanelCreateServiceAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoC,EAAE,OAAO;CACxD,MAAM,EAAE,KAAK;EAAC;EAAS;EAAS;EAAW;CAAU,CAAC,CAAC,CAAC,SAAS,8HAA8H,CAAC,CAAC,SAAS;CAC1M,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oJAAoJ,CAAC,CAAC,SAAS;CAC5L,UAAU,EAAE,MAAM,EAAE,OAAO;EAC3B,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;EACrE,MAAM,EAAE,KAAK;GAAC;GAAS;GAAS;GAAW;EAAU,CAAC,CAAC,CAAC,SAAS,+DAA+D;CAClI,CAAC,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,CAAC,SAAS,+IAA+I,CAAC,CAAC,SAAS;CAClP,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CAC1E,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;AACnF,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAM,2DAA2D,EAAE,OAAO;CACxE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACpF,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS;CAChK,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACzF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAClG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACvE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvH,CAAC,CAAC,CAAC,SAAS,yDAAyD;AAMrE,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVgD,EAAE,OAAO;EACzD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;EACvG,SAAS,yDAAyD,SAAS;CAC7E,CAAC,CAAC,CAAC,SAAS,iDAOF;AACV,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"delete-group.cjs","names":["z","action"],"sources":["../../src/actions/delete-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelDeleteGroupInput: z.ZodTypeAny = z.object({\n time: z.number().int().describe(\"Unix timestamp in milliseconds for when the deletion should be recorded. If not provided, current time is used.\").optional(),\n token: z.string().describe(\"Your Mixpanel project token for authentication.\"),\n group_id: z.string().describe(\"The unique identifier for the specific group to permanently delete. This is the only parameter that determines which group profile is deleted.\"),\n group_key: z.string().describe(\"The group category/type identifier (e.g., 'company', 'organization', 'team'). This identifies the type of group being deleted.\"),\n}).describe(\"Request model for deleting a group profile from Mixpanel.\");\nexport const MixpanelDeleteGroupOutput: z.ZodTypeAny = z.object({\n error: z.string().describe(\"Error message if the request failed, otherwise null.\").nullable().optional(),\n status: z.union([z.string(), z.number().int()]),\n}).describe(\"Response model for group profile deletion.\");\n\nexport const mixpanelDeleteGroup = action(\"MIXPANEL_DELETE_GROUP\", {\n slug: \"mixpanel-delete-group\",\n name: \"Delete Group\",\n description: \"Tool to permanently delete a group profile from Mixpanel Group Analytics. Use when you need to completely remove a group profile and all of its properties. The deletion is permanent and cannot be undone. Note that group properties on historical events remain intact even after group deletion.\",\n input: MixpanelDeleteGroupInput,\n output: MixpanelDeleteGroupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;CAC5J,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC5E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gJAAgJ;CAC9K,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gIAAgI;AACjK,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,QAAQA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;AAChD,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAExD,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-group.cjs","names":["z","action"],"sources":["../../src/actions/delete-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelDeleteGroupInput = z.object({\n time: z.number().int().describe(\"Unix timestamp in milliseconds for when the deletion should be recorded. If not provided, current time is used.\").optional(),\n token: z.string().describe(\"Your Mixpanel project token for authentication.\"),\n group_id: z.string().describe(\"The unique identifier for the specific group to permanently delete. This is the only parameter that determines which group profile is deleted.\"),\n group_key: z.string().describe(\"The group category/type identifier (e.g., 'company', 'organization', 'team'). This identifies the type of group being deleted.\"),\n}).describe(\"Request model for deleting a group profile from Mixpanel.\");\nexport const MixpanelDeleteGroupOutput = z.object({\n error: z.string().describe(\"Error message if the request failed, otherwise null.\").nullable().optional(),\n status: z.union([z.string(), z.number().int()]),\n}).describe(\"Response model for group profile deletion.\");\n\nexport const mixpanelDeleteGroup = action(\"MIXPANEL_DELETE_GROUP\", {\n slug: \"mixpanel-delete-group\",\n name: \"Delete Group\",\n description: \"Tool to permanently delete a group profile from Mixpanel Group Analytics. Use when you need to completely remove a group profile and all of its properties. The deletion is permanent and cannot be undone. Note that group properties on historical events remain intact even after group deletion.\",\n input: MixpanelDeleteGroupInput,\n output: MixpanelDeleteGroupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;CAC5J,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC5E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gJAAgJ;CAC9K,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gIAAgI;AACjK,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,QAAQA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;AAChD,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAExD,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}