@keystrokehq/mixpanel 0.1.2 → 0.1.4

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 (289) hide show
  1. package/dist/actions/add-unique-to-profile-list-property.cjs +3 -3
  2. package/dist/actions/add-unique-to-profile-list-property.cjs.map +1 -1
  3. package/dist/actions/add-unique-to-profile-list-property.d.cts +22 -5
  4. package/dist/actions/add-unique-to-profile-list-property.d.cts.map +1 -1
  5. package/dist/actions/add-unique-to-profile-list-property.d.mts +22 -5
  6. package/dist/actions/add-unique-to-profile-list-property.d.mts.map +1 -1
  7. package/dist/actions/add-unique-to-profile-list-property.mjs +3 -3
  8. package/dist/actions/add-unique-to-profile-list-property.mjs.map +1 -1
  9. package/dist/actions/aggregate-events.cjs +3 -3
  10. package/dist/actions/aggregate-events.cjs.map +1 -1
  11. package/dist/actions/aggregate-events.d.cts +20 -4
  12. package/dist/actions/aggregate-events.d.mts +20 -4
  13. package/dist/actions/aggregate-events.mjs +3 -3
  14. package/dist/actions/aggregate-events.mjs.map +1 -1
  15. package/dist/actions/aggregated-event-property-values.cjs +2 -2
  16. package/dist/actions/aggregated-event-property-values.cjs.map +1 -1
  17. package/dist/actions/aggregated-event-property-values.d.cts +19 -3
  18. package/dist/actions/aggregated-event-property-values.d.mts +19 -3
  19. package/dist/actions/aggregated-event-property-values.mjs +2 -2
  20. package/dist/actions/aggregated-event-property-values.mjs.map +1 -1
  21. package/dist/actions/cohorts-list.cjs +2 -2
  22. package/dist/actions/cohorts-list.cjs.map +1 -1
  23. package/dist/actions/cohorts-list.d.cts +19 -3
  24. package/dist/actions/cohorts-list.d.mts +19 -3
  25. package/dist/actions/cohorts-list.mjs +2 -2
  26. package/dist/actions/cohorts-list.mjs.map +1 -1
  27. package/dist/actions/create-annotation-tag.cjs +1 -1
  28. package/dist/actions/create-annotation-tag.cjs.map +1 -1
  29. package/dist/actions/create-annotation-tag.d.cts +18 -2
  30. package/dist/actions/create-annotation-tag.d.mts +18 -2
  31. package/dist/actions/create-annotation-tag.mjs +1 -1
  32. package/dist/actions/create-annotation-tag.mjs.map +1 -1
  33. package/dist/actions/create-identity.cjs +1 -1
  34. package/dist/actions/create-identity.cjs.map +1 -1
  35. package/dist/actions/create-identity.d.cts +18 -2
  36. package/dist/actions/create-identity.d.mts +18 -2
  37. package/dist/actions/create-identity.mjs +1 -1
  38. package/dist/actions/create-identity.mjs.map +1 -1
  39. package/dist/actions/create-service-account.cjs +3 -3
  40. package/dist/actions/create-service-account.cjs.map +1 -1
  41. package/dist/actions/create-service-account.d.cts +21 -4
  42. package/dist/actions/create-service-account.d.mts +21 -4
  43. package/dist/actions/create-service-account.mjs +3 -3
  44. package/dist/actions/create-service-account.mjs.map +1 -1
  45. package/dist/actions/delete-group.cjs +1 -1
  46. package/dist/actions/delete-group.cjs.map +1 -1
  47. package/dist/actions/delete-group.d.cts +18 -2
  48. package/dist/actions/delete-group.d.mts +18 -2
  49. package/dist/actions/delete-group.mjs +1 -1
  50. package/dist/actions/delete-group.mjs.map +1 -1
  51. package/dist/actions/delete-profile-batch.cjs +2 -2
  52. package/dist/actions/delete-profile-batch.cjs.map +1 -1
  53. package/dist/actions/delete-profile-batch.d.cts +20 -3
  54. package/dist/actions/delete-profile-batch.d.mts +20 -3
  55. package/dist/actions/delete-profile-batch.mjs +2 -2
  56. package/dist/actions/delete-profile-batch.mjs.map +1 -1
  57. package/dist/actions/delete-profile-property.cjs +1 -1
  58. package/dist/actions/delete-profile-property.cjs.map +1 -1
  59. package/dist/actions/delete-profile-property.d.cts +18 -2
  60. package/dist/actions/delete-profile-property.d.mts +18 -2
  61. package/dist/actions/delete-profile-property.mjs +1 -1
  62. package/dist/actions/delete-profile-property.mjs.map +1 -1
  63. package/dist/actions/delete-profile.cjs +1 -1
  64. package/dist/actions/delete-profile.cjs.map +1 -1
  65. package/dist/actions/delete-profile.d.cts +18 -2
  66. package/dist/actions/delete-profile.d.mts +18 -2
  67. package/dist/actions/delete-profile.mjs +1 -1
  68. package/dist/actions/delete-profile.mjs.map +1 -1
  69. package/dist/actions/get-all-projects.cjs +1 -1
  70. package/dist/actions/get-all-projects.cjs.map +1 -1
  71. package/dist/actions/get-all-projects.d.cts +19 -3
  72. package/dist/actions/get-all-projects.d.cts.map +1 -1
  73. package/dist/actions/get-all-projects.d.mts +19 -3
  74. package/dist/actions/get-all-projects.d.mts.map +1 -1
  75. package/dist/actions/get-all-projects.mjs +1 -1
  76. package/dist/actions/get-all-projects.mjs.map +1 -1
  77. package/dist/actions/get-annotation-tags-alt1.cjs +2 -2
  78. package/dist/actions/get-annotation-tags-alt1.cjs.map +1 -1
  79. package/dist/actions/get-annotation-tags-alt1.d.cts +19 -3
  80. package/dist/actions/get-annotation-tags-alt1.d.mts +19 -3
  81. package/dist/actions/get-annotation-tags-alt1.mjs +2 -2
  82. package/dist/actions/get-annotation-tags-alt1.mjs.map +1 -1
  83. package/dist/actions/group-batch-update.cjs +3 -3
  84. package/dist/actions/group-batch-update.cjs.map +1 -1
  85. package/dist/actions/group-batch-update.d.cts +22 -5
  86. package/dist/actions/group-batch-update.d.mts +22 -5
  87. package/dist/actions/group-batch-update.mjs +3 -3
  88. package/dist/actions/group-batch-update.mjs.map +1 -1
  89. package/dist/actions/group-delete-property.cjs +1 -1
  90. package/dist/actions/group-delete-property.cjs.map +1 -1
  91. package/dist/actions/group-delete-property.d.cts +18 -2
  92. package/dist/actions/group-delete-property.d.mts +18 -2
  93. package/dist/actions/group-delete-property.mjs +1 -1
  94. package/dist/actions/group-delete-property.mjs.map +1 -1
  95. package/dist/actions/identity-create-alias.cjs +1 -1
  96. package/dist/actions/identity-create-alias.cjs.map +1 -1
  97. package/dist/actions/identity-create-alias.d.cts +18 -2
  98. package/dist/actions/identity-create-alias.d.mts +18 -2
  99. package/dist/actions/identity-create-alias.mjs +1 -1
  100. package/dist/actions/identity-create-alias.mjs.map +1 -1
  101. package/dist/actions/jql-query.cjs +1 -1
  102. package/dist/actions/jql-query.cjs.map +1 -1
  103. package/dist/actions/jql-query.d.cts +18 -2
  104. package/dist/actions/jql-query.d.cts.map +1 -1
  105. package/dist/actions/jql-query.d.mts +18 -2
  106. package/dist/actions/jql-query.d.mts.map +1 -1
  107. package/dist/actions/jql-query.mjs +1 -1
  108. package/dist/actions/jql-query.mjs.map +1 -1
  109. package/dist/actions/list-funnels.cjs +2 -2
  110. package/dist/actions/list-funnels.cjs.map +1 -1
  111. package/dist/actions/list-funnels.d.cts +19 -3
  112. package/dist/actions/list-funnels.d.mts +19 -3
  113. package/dist/actions/list-funnels.mjs +2 -2
  114. package/dist/actions/list-funnels.mjs.map +1 -1
  115. package/dist/actions/list-service-accounts.cjs +2 -2
  116. package/dist/actions/list-service-accounts.cjs.map +1 -1
  117. package/dist/actions/list-service-accounts.d.cts +19 -3
  118. package/dist/actions/list-service-accounts.d.mts +19 -3
  119. package/dist/actions/list-service-accounts.mjs +2 -2
  120. package/dist/actions/list-service-accounts.mjs.map +1 -1
  121. package/dist/actions/profile-append-to-list-property.cjs +2 -2
  122. package/dist/actions/profile-append-to-list-property.cjs.map +1 -1
  123. package/dist/actions/profile-append-to-list-property.d.cts +20 -3
  124. package/dist/actions/profile-append-to-list-property.d.cts.map +1 -1
  125. package/dist/actions/profile-append-to-list-property.d.mts +20 -3
  126. package/dist/actions/profile-append-to-list-property.d.mts.map +1 -1
  127. package/dist/actions/profile-append-to-list-property.mjs +2 -2
  128. package/dist/actions/profile-append-to-list-property.mjs.map +1 -1
  129. package/dist/actions/profile-batch-update.cjs +5 -5
  130. package/dist/actions/profile-batch-update.cjs.map +1 -1
  131. package/dist/actions/profile-batch-update.d.cts +25 -8
  132. package/dist/actions/profile-batch-update.d.mts +25 -8
  133. package/dist/actions/profile-batch-update.mjs +5 -5
  134. package/dist/actions/profile-batch-update.mjs.map +1 -1
  135. package/dist/actions/profile-event-activity.cjs +4 -4
  136. package/dist/actions/profile-event-activity.cjs.map +1 -1
  137. package/dist/actions/profile-event-activity.d.cts +21 -5
  138. package/dist/actions/profile-event-activity.d.mts +21 -5
  139. package/dist/actions/profile-event-activity.mjs +4 -4
  140. package/dist/actions/profile-event-activity.mjs.map +1 -1
  141. package/dist/actions/profile-numerical-add.cjs +2 -2
  142. package/dist/actions/profile-numerical-add.cjs.map +1 -1
  143. package/dist/actions/profile-numerical-add.d.cts +20 -4
  144. package/dist/actions/profile-numerical-add.d.cts.map +1 -1
  145. package/dist/actions/profile-numerical-add.d.mts +20 -4
  146. package/dist/actions/profile-numerical-add.d.mts.map +1 -1
  147. package/dist/actions/profile-numerical-add.mjs +2 -2
  148. package/dist/actions/profile-numerical-add.mjs.map +1 -1
  149. package/dist/actions/profile-remove-from-list-property.cjs +2 -2
  150. package/dist/actions/profile-remove-from-list-property.cjs.map +1 -1
  151. package/dist/actions/profile-remove-from-list-property.d.cts +20 -3
  152. package/dist/actions/profile-remove-from-list-property.d.cts.map +1 -1
  153. package/dist/actions/profile-remove-from-list-property.d.mts +20 -3
  154. package/dist/actions/profile-remove-from-list-property.d.mts.map +1 -1
  155. package/dist/actions/profile-remove-from-list-property.mjs +2 -2
  156. package/dist/actions/profile-remove-from-list-property.mjs.map +1 -1
  157. package/dist/actions/profile-set.cjs +1 -1
  158. package/dist/actions/profile-set.cjs.map +1 -1
  159. package/dist/actions/profile-set.d.cts +18 -2
  160. package/dist/actions/profile-set.d.cts.map +1 -1
  161. package/dist/actions/profile-set.d.mts +18 -2
  162. package/dist/actions/profile-set.d.mts.map +1 -1
  163. package/dist/actions/profile-set.mjs +1 -1
  164. package/dist/actions/profile-set.mjs.map +1 -1
  165. package/dist/actions/query-frequency-report.cjs +1 -1
  166. package/dist/actions/query-frequency-report.cjs.map +1 -1
  167. package/dist/actions/query-frequency-report.d.cts +19 -3
  168. package/dist/actions/query-frequency-report.d.mts +19 -3
  169. package/dist/actions/query-frequency-report.mjs +1 -1
  170. package/dist/actions/query-frequency-report.mjs.map +1 -1
  171. package/dist/actions/query-funnel.cjs +3 -3
  172. package/dist/actions/query-funnel.cjs.map +1 -1
  173. package/dist/actions/query-funnel.d.cts +20 -4
  174. package/dist/actions/query-funnel.d.mts +20 -4
  175. package/dist/actions/query-funnel.mjs +3 -3
  176. package/dist/actions/query-funnel.mjs.map +1 -1
  177. package/dist/actions/query-insight.cjs +3 -3
  178. package/dist/actions/query-insight.cjs.map +1 -1
  179. package/dist/actions/query-insight.d.cts +20 -4
  180. package/dist/actions/query-insight.d.mts +20 -4
  181. package/dist/actions/query-insight.mjs +3 -3
  182. package/dist/actions/query-insight.mjs.map +1 -1
  183. package/dist/actions/query-numeric-average.cjs +2 -2
  184. package/dist/actions/query-numeric-average.cjs.map +1 -1
  185. package/dist/actions/query-numeric-average.d.cts +19 -3
  186. package/dist/actions/query-numeric-average.d.mts +19 -3
  187. package/dist/actions/query-numeric-average.mjs +2 -2
  188. package/dist/actions/query-numeric-average.mjs.map +1 -1
  189. package/dist/actions/query-numeric-sum.cjs +2 -2
  190. package/dist/actions/query-numeric-sum.cjs.map +1 -1
  191. package/dist/actions/query-numeric-sum.d.cts +19 -3
  192. package/dist/actions/query-numeric-sum.d.mts +19 -3
  193. package/dist/actions/query-numeric-sum.mjs +2 -2
  194. package/dist/actions/query-numeric-sum.mjs.map +1 -1
  195. package/dist/actions/query-profiles.cjs +3 -3
  196. package/dist/actions/query-profiles.cjs.map +1 -1
  197. package/dist/actions/query-profiles.d.cts +21 -5
  198. package/dist/actions/query-profiles.d.cts.map +1 -1
  199. package/dist/actions/query-profiles.d.mts +21 -5
  200. package/dist/actions/query-profiles.d.mts.map +1 -1
  201. package/dist/actions/query-profiles.mjs +3 -3
  202. package/dist/actions/query-profiles.mjs.map +1 -1
  203. package/dist/actions/query-retention-report.cjs +1 -1
  204. package/dist/actions/query-retention-report.cjs.map +1 -1
  205. package/dist/actions/query-retention-report.d.cts +19 -3
  206. package/dist/actions/query-retention-report.d.mts +19 -3
  207. package/dist/actions/query-retention-report.mjs +1 -1
  208. package/dist/actions/query-retention-report.mjs.map +1 -1
  209. package/dist/actions/query-segmentation.cjs +3 -3
  210. package/dist/actions/query-segmentation.cjs.map +1 -1
  211. package/dist/actions/query-segmentation.d.cts +20 -4
  212. package/dist/actions/query-segmentation.d.mts +20 -4
  213. package/dist/actions/query-segmentation.mjs +3 -3
  214. package/dist/actions/query-segmentation.mjs.map +1 -1
  215. package/dist/actions/query-top-events.cjs +2 -2
  216. package/dist/actions/query-top-events.cjs.map +1 -1
  217. package/dist/actions/query-top-events.d.cts +19 -3
  218. package/dist/actions/query-top-events.d.mts +19 -3
  219. package/dist/actions/query-top-events.mjs +2 -2
  220. package/dist/actions/query-top-events.mjs.map +1 -1
  221. package/dist/actions/remove-from-group-list-property.cjs +2 -2
  222. package/dist/actions/remove-from-group-list-property.cjs.map +1 -1
  223. package/dist/actions/remove-from-group-list-property.d.cts +20 -3
  224. package/dist/actions/remove-from-group-list-property.d.cts.map +1 -1
  225. package/dist/actions/remove-from-group-list-property.d.mts +20 -3
  226. package/dist/actions/remove-from-group-list-property.d.mts.map +1 -1
  227. package/dist/actions/remove-from-group-list-property.mjs +2 -2
  228. package/dist/actions/remove-from-group-list-property.mjs.map +1 -1
  229. package/dist/actions/remove-from-list-property.cjs +1 -1
  230. package/dist/actions/remove-from-list-property.cjs.map +1 -1
  231. package/dist/actions/remove-from-list-property.d.cts +18 -2
  232. package/dist/actions/remove-from-list-property.d.cts.map +1 -1
  233. package/dist/actions/remove-from-list-property.d.mts +18 -2
  234. package/dist/actions/remove-from-list-property.d.mts.map +1 -1
  235. package/dist/actions/remove-from-list-property.mjs +1 -1
  236. package/dist/actions/remove-from-list-property.mjs.map +1 -1
  237. package/dist/actions/segmentation-numeric-query.cjs +2 -2
  238. package/dist/actions/segmentation-numeric-query.cjs.map +1 -1
  239. package/dist/actions/segmentation-numeric-query.d.cts +19 -3
  240. package/dist/actions/segmentation-numeric-query.d.mts +19 -3
  241. package/dist/actions/segmentation-numeric-query.mjs +2 -2
  242. package/dist/actions/segmentation-numeric-query.mjs.map +1 -1
  243. package/dist/actions/set-group-property-once.cjs +1 -1
  244. package/dist/actions/set-group-property-once.cjs.map +1 -1
  245. package/dist/actions/set-group-property-once.d.cts +18 -2
  246. package/dist/actions/set-group-property-once.d.cts.map +1 -1
  247. package/dist/actions/set-group-property-once.d.mts +18 -2
  248. package/dist/actions/set-group-property-once.d.mts.map +1 -1
  249. package/dist/actions/set-group-property-once.mjs +1 -1
  250. package/dist/actions/set-group-property-once.mjs.map +1 -1
  251. package/dist/actions/set-profile-property-once.cjs +1 -1
  252. package/dist/actions/set-profile-property-once.cjs.map +1 -1
  253. package/dist/actions/set-profile-property-once.d.cts +18 -2
  254. package/dist/actions/set-profile-property-once.d.cts.map +1 -1
  255. package/dist/actions/set-profile-property-once.d.mts +18 -2
  256. package/dist/actions/set-profile-property-once.d.mts.map +1 -1
  257. package/dist/actions/set-profile-property-once.mjs +1 -1
  258. package/dist/actions/set-profile-property-once.mjs.map +1 -1
  259. package/dist/actions/top-event-properties.d.cts +17 -1
  260. package/dist/actions/top-event-properties.d.mts +17 -1
  261. package/dist/actions/top-event-property-values.cjs +1 -1
  262. package/dist/actions/top-event-property-values.cjs.map +1 -1
  263. package/dist/actions/top-event-property-values.d.cts +18 -2
  264. package/dist/actions/top-event-property-values.d.mts +18 -2
  265. package/dist/actions/top-event-property-values.mjs +1 -1
  266. package/dist/actions/top-event-property-values.mjs.map +1 -1
  267. package/dist/actions/top-events.cjs +1 -1
  268. package/dist/actions/top-events.cjs.map +1 -1
  269. package/dist/actions/top-events.d.cts +18 -2
  270. package/dist/actions/top-events.d.mts +18 -2
  271. package/dist/actions/top-events.mjs +1 -1
  272. package/dist/actions/top-events.mjs.map +1 -1
  273. package/dist/actions/update-group-list-property.cjs +3 -3
  274. package/dist/actions/update-group-list-property.cjs.map +1 -1
  275. package/dist/actions/update-group-list-property.d.cts +22 -5
  276. package/dist/actions/update-group-list-property.d.cts.map +1 -1
  277. package/dist/actions/update-group-list-property.d.mts +22 -5
  278. package/dist/actions/update-group-list-property.d.mts.map +1 -1
  279. package/dist/actions/update-group-list-property.mjs +3 -3
  280. package/dist/actions/update-group-list-property.mjs.map +1 -1
  281. package/dist/app.cjs +9 -2
  282. package/dist/app.cjs.map +1 -1
  283. package/dist/app.d.cts +11 -1
  284. package/dist/app.d.cts.map +1 -1
  285. package/dist/app.d.mts +11 -1
  286. package/dist/app.d.mts.map +1 -1
  287. package/dist/app.mjs +7 -1
  288. package/dist/app.mjs.map +1 -1
  289. package/package.json +1 -1
@@ -10,11 +10,27 @@ declare const MixpanelGetAnnotationTagsAlt1Output: z.ZodObject<{
10
10
  name: z.ZodNullable<z.ZodString>;
11
11
  project_id: z.ZodNullable<z.ZodNumber>;
12
12
  has_annotations: z.ZodNullable<z.ZodBoolean>;
13
- }, z.core.$strip>>>>;
14
- }, z.core.$strip>;
13
+ }, z.core.$loose>>>>;
14
+ }, z.core.$loose>;
15
15
  declare const mixpanelGetAnnotationTagsAlt1: import("@keystrokehq/action").WorkflowActionDefinition<{
16
16
  project_id: string;
17
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
17
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
18
+ connectionId: z.ZodString;
19
+ entityId: z.ZodString;
20
+ instanceId: z.ZodString;
21
+ }, z.core.$strip>, z.ZodObject<{
22
+ username: z.ZodString;
23
+ password: z.ZodString;
24
+ region: z.ZodString;
25
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
26
+ connectionId: z.ZodString;
27
+ entityId: z.ZodString;
28
+ instanceId: z.ZodString;
29
+ }, z.core.$strip>, z.ZodObject<{
30
+ username: z.ZodString;
31
+ password: z.ZodString;
32
+ region: z.ZodString;
33
+ }, z.core.$strip>>]>;
18
34
  //#endregion
19
35
  export { mixpanelGetAnnotationTagsAlt1 };
20
36
  //# sourceMappingURL=get-annotation-tags-alt1.d.mts.map
@@ -7,13 +7,13 @@ const MixpanelGetAnnotationTagsAlt1_AnnotationTagSchema = z.object({
7
7
  name: z.string().describe("Display text for the tag when applied to annotations").nullable(),
8
8
  project_id: z.number().int().describe("Associated project identifier").nullable(),
9
9
  has_annotations: z.boolean().describe("Whether the tag is currently attached to any annotations").nullable()
10
- }).describe("Model representing a single annotation tag.");
10
+ }).passthrough().describe("Model representing a single annotation tag.");
11
11
  const mixpanelGetAnnotationTagsAlt1 = action("MIXPANEL_GET_ANNOTATION_TAGS_ALT1", {
12
12
  slug: "mixpanel-get-annotation-tags-alt1",
13
13
  name: "Get Annotation Tags",
14
14
  description: "Tool to get all annotation tags from a Mixpanel project. Use when you need to retrieve tags that have been added to annotations. Requires a role of at least Analyst.",
15
15
  input: MixpanelGetAnnotationTagsAlt1Input,
16
- output: z.object({ tags: z.array(MixpanelGetAnnotationTagsAlt1_AnnotationTagSchema).describe("List of all tags that have been added to at least one annotation in the project").nullable().optional() }).describe("Response model for annotation tags data.")
16
+ output: z.object({ tags: z.array(MixpanelGetAnnotationTagsAlt1_AnnotationTagSchema).describe("List of all tags that have been added to at least one annotation in the project").nullable().optional() }).passthrough().describe("Response model for annotation tags data.")
17
17
  });
18
18
  //#endregion
19
19
  export { mixpanelGetAnnotationTagsAlt1 };
@@ -1 +1 @@
1
- {"version":3,"file":"get-annotation-tags-alt1.mjs","names":[],"sources":["../../src/actions/get-annotation-tags-alt1.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelGetAnnotationTagsAlt1Input = z.object({\n project_id: z.string().describe(\"The unique identifier for the Mixpanel project\"),\n}).describe(\"Request model for getting annotation tags from a Mixpanel project.\");\nconst MixpanelGetAnnotationTagsAlt1_AnnotationTagSchema = z.object({\n id: z.number().int().describe(\"Unique tag identifier\").nullable(),\n name: z.string().describe(\"Display text for the tag when applied to annotations\").nullable(),\n project_id: z.number().int().describe(\"Associated project identifier\").nullable(),\n has_annotations: z.boolean().describe(\"Whether the tag is currently attached to any annotations\").nullable(),\n}).describe(\"Model representing a single annotation tag.\");\nexport const MixpanelGetAnnotationTagsAlt1Output = z.object({\n tags: z.array(MixpanelGetAnnotationTagsAlt1_AnnotationTagSchema).describe(\"List of all tags that have been added to at least one annotation in the project\").nullable().optional(),\n}).describe(\"Response model for annotation tags data.\");\n\nexport const mixpanelGetAnnotationTagsAlt1 = action(\"MIXPANEL_GET_ANNOTATION_TAGS_ALT1\", {\n slug: \"mixpanel-get-annotation-tags-alt1\",\n name: \"Get Annotation Tags\",\n description: \"Tool to get all annotation tags from a Mixpanel project. Use when you need to retrieve tags that have been added to annotations. Requires a role of at least Analyst.\",\n input: MixpanelGetAnnotationTagsAlt1Input,\n output: MixpanelGetAnnotationTagsAlt1Output,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqC,EAAE,OAAO,EACzD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,EAClF,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,oDAAoD,EAAE,OAAO;CACjE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC3F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAChF,iBAAiB,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAKzD,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATiD,EAAE,OAAO,EAC1D,MAAM,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACnL,CAAC,CAAC,CAAC,SAAS,0CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-annotation-tags-alt1.mjs","names":[],"sources":["../../src/actions/get-annotation-tags-alt1.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelGetAnnotationTagsAlt1Input = z.object({\n project_id: z.string().describe(\"The unique identifier for the Mixpanel project\"),\n}).describe(\"Request model for getting annotation tags from a Mixpanel project.\");\nconst MixpanelGetAnnotationTagsAlt1_AnnotationTagSchema = z.object({\n id: z.number().int().describe(\"Unique tag identifier\").nullable(),\n name: z.string().describe(\"Display text for the tag when applied to annotations\").nullable(),\n project_id: z.number().int().describe(\"Associated project identifier\").nullable(),\n has_annotations: z.boolean().describe(\"Whether the tag is currently attached to any annotations\").nullable(),\n}).passthrough().describe(\"Model representing a single annotation tag.\");\nexport const MixpanelGetAnnotationTagsAlt1Output = z.object({\n tags: z.array(MixpanelGetAnnotationTagsAlt1_AnnotationTagSchema).describe(\"List of all tags that have been added to at least one annotation in the project\").nullable().optional(),\n}).passthrough().describe(\"Response model for annotation tags data.\");\n\nexport const mixpanelGetAnnotationTagsAlt1 = action(\"MIXPANEL_GET_ANNOTATION_TAGS_ALT1\", {\n slug: \"mixpanel-get-annotation-tags-alt1\",\n name: \"Get Annotation Tags\",\n description: \"Tool to get all annotation tags from a Mixpanel project. Use when you need to retrieve tags that have been added to annotations. Requires a role of at least Analyst.\",\n input: MixpanelGetAnnotationTagsAlt1Input,\n output: MixpanelGetAnnotationTagsAlt1Output,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqC,EAAE,OAAO,EACzD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,EAClF,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,oDAAoD,EAAE,OAAO;CACjE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC3F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAChF,iBAAiB,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAKvE,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATiD,EAAE,OAAO,EAC1D,MAAM,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACnL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAOhB;AACV,CAAC"}
@@ -5,14 +5,14 @@ const MixpanelGroupBatchUpdateInput = zod.z.object({
5
5
  data: zod.z.array(zod.z.object({
6
6
  set: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Set or overwrite property values. Key-value pairs where keys are property names and values are the new values.").optional(),
7
7
  token: zod.z.string().describe("Your Mixpanel project token"),
8
- union: zod.z.object({}).describe("Add values to list properties, ensuring uniqueness. Keys are list property names, values are arrays to merge.").optional(),
8
+ union: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Add values to list properties, ensuring uniqueness. Keys are list property names, values are arrays to merge.").optional(),
9
9
  unset: zod.z.array(zod.z.string()).describe("Delete specified properties from the group profile. Array of property names to remove.").optional(),
10
10
  "delete": zod.z.string().describe("Delete the entire group profile. Pass empty string to delete.").optional(),
11
11
  remove: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Remove specific values from list properties. Keys are list property names, values are items to remove.").optional(),
12
12
  group_id: zod.z.string().describe("The unique identifier for the group"),
13
13
  set_once: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Set property values only if they don't already exist. Key-value pairs.").optional(),
14
14
  group_key: zod.z.string().describe("The group category/type (e.g., 'company', 'organization')")
15
- }).describe("Individual group profile update object.")).describe("A list of group profile update objects. Each object contains the group identifiers and operations to perform."),
15
+ }).passthrough().describe("Individual group profile update object.")).describe("A list of group profile update objects. Each object contains the group identifiers and operations to perform."),
16
16
  response_format: zod.z.enum([
17
17
  "IP",
18
18
  "Strict",
@@ -23,7 +23,7 @@ const MixpanelGroupBatchUpdateOutput = zod.z.object({
23
23
  code: zod.z.number().int().describe("HTTP status code").nullable(),
24
24
  error: zod.z.string().describe("Error message if the request failed").nullable().optional(),
25
25
  status: zod.z.string().describe("Status message indicating success or failure").nullable()
26
- }).describe("Response model for group batch update operation.");
26
+ }).passthrough().describe("Response model for group batch update operation.");
27
27
  const mixpanelGroupBatchUpdate = require_action.action("MIXPANEL_GROUP_BATCH_UPDATE", {
28
28
  slug: "mixpanel-group-batch-update",
29
29
  name: "Batch Update Group Profiles",
@@ -1 +1 @@
1
- {"version":3,"file":"group-batch-update.cjs","names":["z","action"],"sources":["../../src/actions/group-batch-update.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelGroupBatchUpdateInput = z.object({\n data: z.array(z.object({\n set: z.record(z.string(), z.unknown()).describe(\"Set or overwrite property values. Key-value pairs where keys are property names and values are the new values.\").optional(),\n token: z.string().describe(\"Your Mixpanel project token\"),\n union: z.object({}).describe(\"Add values to list properties, ensuring uniqueness. Keys are list property names, values are arrays to merge.\").optional(),\n unset: z.array(z.string()).describe(\"Delete specified properties from the group profile. Array of property names to remove.\").optional(),\n \"delete\": z.string().describe(\"Delete the entire group profile. Pass empty string to delete.\").optional(),\n remove: z.record(z.string(), z.unknown()).describe(\"Remove specific values from list properties. Keys are list property names, values are items to remove.\").optional(),\n group_id: z.string().describe(\"The unique identifier for the group\"),\n set_once: z.record(z.string(), z.unknown()).describe(\"Set property values only if they don't already exist. Key-value pairs.\").optional(),\n group_key: z.string().describe(\"The group category/type (e.g., 'company', 'organization')\"),\n}).describe(\"Individual group profile update object.\")).describe(\"A list of group profile update objects. Each object contains the group identifiers and operations to perform.\"),\n response_format: z.enum([\"IP\", \"Strict\", \"Verbose\"]).describe(\"Controls response format. IP: returns '1' for valid data, Strict: returns error for any invalid records, Verbose: detailed response.\").optional(),\n}).describe(\"Request model for batch updating group profiles in Mixpanel.\");\nexport const MixpanelGroupBatchUpdateOutput = z.object({\n code: z.number().int().describe(\"HTTP status code\").nullable(),\n error: z.string().describe(\"Error message if the request failed\").nullable().optional(),\n status: z.string().describe(\"Status message indicating success or failure\").nullable(),\n}).describe(\"Response model for group batch update operation.\");\n\nexport const mixpanelGroupBatchUpdate = action(\"MIXPANEL_GROUP_BATCH_UPDATE\", {\n slug: \"mixpanel-group-batch-update\",\n name: \"Batch Update Group Profiles\",\n description: \"Tool to send a batch of group profile updates to Mixpanel. Use when you need to update multiple group profiles in a single request. Supports operations like $set, $set_once, $union, $remove, $unset, and $delete. Note: $add is NOT supported for group profiles.\",\n input: MixpanelGroupBatchUpdateInput,\n output: MixpanelGroupBatchUpdateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACvB,KAAKA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;EAC3K,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;EACxD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;EACvJ,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;EACvI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;EACxG,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;EACtK,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;EACnE,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;EACxI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CAC5F,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,CAAC,SAAS,+GAA+G;CAC9K,iBAAiBA,IAAAA,EAAE,KAAK;EAAC;EAAM;EAAU;CAAS,CAAC,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS;AACjN,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CAC7D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAE9D,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"group-batch-update.cjs","names":["z","action"],"sources":["../../src/actions/group-batch-update.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelGroupBatchUpdateInput = z.object({\n data: z.array(z.object({\n set: z.record(z.string(), z.unknown()).describe(\"Set or overwrite property values. Key-value pairs where keys are property names and values are the new values.\").optional(),\n token: z.string().describe(\"Your Mixpanel project token\"),\n union: z.record(z.string(), z.unknown()).describe(\"Add values to list properties, ensuring uniqueness. Keys are list property names, values are arrays to merge.\").optional(),\n unset: z.array(z.string()).describe(\"Delete specified properties from the group profile. Array of property names to remove.\").optional(),\n \"delete\": z.string().describe(\"Delete the entire group profile. Pass empty string to delete.\").optional(),\n remove: z.record(z.string(), z.unknown()).describe(\"Remove specific values from list properties. Keys are list property names, values are items to remove.\").optional(),\n group_id: z.string().describe(\"The unique identifier for the group\"),\n set_once: z.record(z.string(), z.unknown()).describe(\"Set property values only if they don't already exist. Key-value pairs.\").optional(),\n group_key: z.string().describe(\"The group category/type (e.g., 'company', 'organization')\"),\n}).passthrough().describe(\"Individual group profile update object.\")).describe(\"A list of group profile update objects. Each object contains the group identifiers and operations to perform.\"),\n response_format: z.enum([\"IP\", \"Strict\", \"Verbose\"]).describe(\"Controls response format. IP: returns '1' for valid data, Strict: returns error for any invalid records, Verbose: detailed response.\").optional(),\n}).describe(\"Request model for batch updating group profiles in Mixpanel.\");\nexport const MixpanelGroupBatchUpdateOutput = z.object({\n code: z.number().int().describe(\"HTTP status code\").nullable(),\n error: z.string().describe(\"Error message if the request failed\").nullable().optional(),\n status: z.string().describe(\"Status message indicating success or failure\").nullable(),\n}).passthrough().describe(\"Response model for group batch update operation.\");\n\nexport const mixpanelGroupBatchUpdate = action(\"MIXPANEL_GROUP_BATCH_UPDATE\", {\n slug: \"mixpanel-group-batch-update\",\n name: \"Batch Update Group Profiles\",\n description: \"Tool to send a batch of group profile updates to Mixpanel. Use when you need to update multiple group profiles in a single request. Supports operations like $set, $set_once, $union, $remove, $unset, and $delete. Note: $add is NOT supported for group profiles.\",\n input: MixpanelGroupBatchUpdateInput,\n output: MixpanelGroupBatchUpdateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACvB,KAAKA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;EAC3K,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;EACxD,OAAOA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;EAC5K,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;EACvI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;EACxG,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;EACtK,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;EACnE,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;EACxI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,CAAC,SAAS,+GAA+G;CAC5L,iBAAiBA,IAAAA,EAAE,KAAK;EAAC;EAAM;EAAU;CAAS,CAAC,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS;AACjN,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CAC7D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -5,14 +5,14 @@ declare const MixpanelGroupBatchUpdateInput: z.ZodObject<{
5
5
  data: z.ZodArray<z.ZodObject<{
6
6
  set: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
7
7
  token: z.ZodString;
8
- union: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
8
+ union: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
9
9
  unset: z.ZodOptional<z.ZodArray<z.ZodString>>;
10
10
  delete: z.ZodOptional<z.ZodString>;
11
11
  remove: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12
12
  group_id: z.ZodString;
13
13
  set_once: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
14
14
  group_key: z.ZodString;
15
- }, z.core.$strip>>;
15
+ }, z.core.$loose>>;
16
16
  response_format: z.ZodOptional<z.ZodEnum<{
17
17
  IP: "IP";
18
18
  Strict: "Strict";
@@ -23,21 +23,38 @@ declare const MixpanelGroupBatchUpdateOutput: z.ZodObject<{
23
23
  code: z.ZodNullable<z.ZodNumber>;
24
24
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
25
  status: z.ZodNullable<z.ZodString>;
26
- }, z.core.$strip>;
26
+ }, z.core.$loose>;
27
27
  declare const mixpanelGroupBatchUpdate: import("@keystrokehq/action").WorkflowActionDefinition<{
28
28
  data: {
29
+ [x: string]: unknown;
29
30
  token: string;
30
31
  group_id: string;
31
32
  group_key: string;
32
33
  set?: Record<string, unknown> | undefined;
33
- union?: Record<string, never> | undefined;
34
+ union?: Record<string, unknown> | undefined;
34
35
  unset?: string[] | undefined;
35
36
  delete?: string | undefined;
36
37
  remove?: Record<string, unknown> | undefined;
37
38
  set_once?: Record<string, unknown> | undefined;
38
39
  }[];
39
40
  response_format?: "IP" | "Strict" | "Verbose" | undefined;
40
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
41
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
42
+ connectionId: z.ZodString;
43
+ entityId: z.ZodString;
44
+ instanceId: z.ZodString;
45
+ }, z.core.$strip>, z.ZodObject<{
46
+ username: z.ZodString;
47
+ password: z.ZodString;
48
+ region: z.ZodString;
49
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
50
+ connectionId: z.ZodString;
51
+ entityId: z.ZodString;
52
+ instanceId: z.ZodString;
53
+ }, z.core.$strip>, z.ZodObject<{
54
+ username: z.ZodString;
55
+ password: z.ZodString;
56
+ region: z.ZodString;
57
+ }, z.core.$strip>>]>;
41
58
  //#endregion
42
59
  export { mixpanelGroupBatchUpdate };
43
60
  //# sourceMappingURL=group-batch-update.d.cts.map
@@ -5,14 +5,14 @@ declare const MixpanelGroupBatchUpdateInput: z.ZodObject<{
5
5
  data: z.ZodArray<z.ZodObject<{
6
6
  set: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
7
7
  token: z.ZodString;
8
- union: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
8
+ union: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
9
9
  unset: z.ZodOptional<z.ZodArray<z.ZodString>>;
10
10
  delete: z.ZodOptional<z.ZodString>;
11
11
  remove: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12
12
  group_id: z.ZodString;
13
13
  set_once: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
14
14
  group_key: z.ZodString;
15
- }, z.core.$strip>>;
15
+ }, z.core.$loose>>;
16
16
  response_format: z.ZodOptional<z.ZodEnum<{
17
17
  IP: "IP";
18
18
  Strict: "Strict";
@@ -23,21 +23,38 @@ declare const MixpanelGroupBatchUpdateOutput: z.ZodObject<{
23
23
  code: z.ZodNullable<z.ZodNumber>;
24
24
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
25
  status: z.ZodNullable<z.ZodString>;
26
- }, z.core.$strip>;
26
+ }, z.core.$loose>;
27
27
  declare const mixpanelGroupBatchUpdate: import("@keystrokehq/action").WorkflowActionDefinition<{
28
28
  data: {
29
+ [x: string]: unknown;
29
30
  token: string;
30
31
  group_id: string;
31
32
  group_key: string;
32
33
  set?: Record<string, unknown> | undefined;
33
- union?: Record<string, never> | undefined;
34
+ union?: Record<string, unknown> | undefined;
34
35
  unset?: string[] | undefined;
35
36
  delete?: string | undefined;
36
37
  remove?: Record<string, unknown> | undefined;
37
38
  set_once?: Record<string, unknown> | undefined;
38
39
  }[];
39
40
  response_format?: "IP" | "Strict" | "Verbose" | undefined;
40
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
41
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
42
+ connectionId: z.ZodString;
43
+ entityId: z.ZodString;
44
+ instanceId: z.ZodString;
45
+ }, z.core.$strip>, z.ZodObject<{
46
+ username: z.ZodString;
47
+ password: z.ZodString;
48
+ region: z.ZodString;
49
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
50
+ connectionId: z.ZodString;
51
+ entityId: z.ZodString;
52
+ instanceId: z.ZodString;
53
+ }, z.core.$strip>, z.ZodObject<{
54
+ username: z.ZodString;
55
+ password: z.ZodString;
56
+ region: z.ZodString;
57
+ }, z.core.$strip>>]>;
41
58
  //#endregion
42
59
  export { mixpanelGroupBatchUpdate };
43
60
  //# sourceMappingURL=group-batch-update.d.mts.map
@@ -8,14 +8,14 @@ const mixpanelGroupBatchUpdate = action("MIXPANEL_GROUP_BATCH_UPDATE", {
8
8
  data: z.array(z.object({
9
9
  set: z.record(z.string(), z.unknown()).describe("Set or overwrite property values. Key-value pairs where keys are property names and values are the new values.").optional(),
10
10
  token: z.string().describe("Your Mixpanel project token"),
11
- union: z.object({}).describe("Add values to list properties, ensuring uniqueness. Keys are list property names, values are arrays to merge.").optional(),
11
+ union: z.record(z.string(), z.unknown()).describe("Add values to list properties, ensuring uniqueness. Keys are list property names, values are arrays to merge.").optional(),
12
12
  unset: z.array(z.string()).describe("Delete specified properties from the group profile. Array of property names to remove.").optional(),
13
13
  "delete": z.string().describe("Delete the entire group profile. Pass empty string to delete.").optional(),
14
14
  remove: z.record(z.string(), z.unknown()).describe("Remove specific values from list properties. Keys are list property names, values are items to remove.").optional(),
15
15
  group_id: z.string().describe("The unique identifier for the group"),
16
16
  set_once: z.record(z.string(), z.unknown()).describe("Set property values only if they don't already exist. Key-value pairs.").optional(),
17
17
  group_key: z.string().describe("The group category/type (e.g., 'company', 'organization')")
18
- }).describe("Individual group profile update object.")).describe("A list of group profile update objects. Each object contains the group identifiers and operations to perform."),
18
+ }).passthrough().describe("Individual group profile update object.")).describe("A list of group profile update objects. Each object contains the group identifiers and operations to perform."),
19
19
  response_format: z.enum([
20
20
  "IP",
21
21
  "Strict",
@@ -26,7 +26,7 @@ const mixpanelGroupBatchUpdate = action("MIXPANEL_GROUP_BATCH_UPDATE", {
26
26
  code: z.number().int().describe("HTTP status code").nullable(),
27
27
  error: z.string().describe("Error message if the request failed").nullable().optional(),
28
28
  status: z.string().describe("Status message indicating success or failure").nullable()
29
- }).describe("Response model for group batch update operation.")
29
+ }).passthrough().describe("Response model for group batch update operation.")
30
30
  });
31
31
  //#endregion
32
32
  export { mixpanelGroupBatchUpdate };
@@ -1 +1 @@
1
- {"version":3,"file":"group-batch-update.mjs","names":[],"sources":["../../src/actions/group-batch-update.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelGroupBatchUpdateInput = z.object({\n data: z.array(z.object({\n set: z.record(z.string(), z.unknown()).describe(\"Set or overwrite property values. Key-value pairs where keys are property names and values are the new values.\").optional(),\n token: z.string().describe(\"Your Mixpanel project token\"),\n union: z.object({}).describe(\"Add values to list properties, ensuring uniqueness. Keys are list property names, values are arrays to merge.\").optional(),\n unset: z.array(z.string()).describe(\"Delete specified properties from the group profile. Array of property names to remove.\").optional(),\n \"delete\": z.string().describe(\"Delete the entire group profile. Pass empty string to delete.\").optional(),\n remove: z.record(z.string(), z.unknown()).describe(\"Remove specific values from list properties. Keys are list property names, values are items to remove.\").optional(),\n group_id: z.string().describe(\"The unique identifier for the group\"),\n set_once: z.record(z.string(), z.unknown()).describe(\"Set property values only if they don't already exist. Key-value pairs.\").optional(),\n group_key: z.string().describe(\"The group category/type (e.g., 'company', 'organization')\"),\n}).describe(\"Individual group profile update object.\")).describe(\"A list of group profile update objects. Each object contains the group identifiers and operations to perform.\"),\n response_format: z.enum([\"IP\", \"Strict\", \"Verbose\"]).describe(\"Controls response format. IP: returns '1' for valid data, Strict: returns error for any invalid records, Verbose: detailed response.\").optional(),\n}).describe(\"Request model for batch updating group profiles in Mixpanel.\");\nexport const MixpanelGroupBatchUpdateOutput = z.object({\n code: z.number().int().describe(\"HTTP status code\").nullable(),\n error: z.string().describe(\"Error message if the request failed\").nullable().optional(),\n status: z.string().describe(\"Status message indicating success or failure\").nullable(),\n}).describe(\"Response model for group batch update operation.\");\n\nexport const mixpanelGroupBatchUpdate = action(\"MIXPANEL_GROUP_BATCH_UPDATE\", {\n slug: \"mixpanel-group-batch-update\",\n name: \"Batch Update Group Profiles\",\n description: \"Tool to send a batch of group profile updates to Mixpanel. Use when you need to update multiple group profiles in a single request. Supports operations like $set, $set_once, $union, $remove, $unset, and $delete. Note: $add is NOT supported for group profiles.\",\n input: MixpanelGroupBatchUpdateInput,\n output: MixpanelGroupBatchUpdateOutput,\n});\n"],"mappings":";;AAwBA,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxB2C,EAAE,OAAO;EACpD,MAAM,EAAE,MAAM,EAAE,OAAO;GACvB,KAAK,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;GAC3K,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;GACxD,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;GACvJ,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;GACvI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;GACxG,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;GACtK,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;GACnE,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;GACxI,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;EAC5F,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,CAAC,SAAS,+GAA+G;EAC9K,iBAAiB,EAAE,KAAK;GAAC;GAAM;GAAU;EAAS,CAAC,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS;CACjN,CAAC,CAAC,CAAC,SAAS,8DAWH;CACP,QAX4C,EAAE,OAAO;EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;EAC7D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACvF,CAAC,CAAC,CAAC,SAAS,kDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"group-batch-update.mjs","names":[],"sources":["../../src/actions/group-batch-update.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelGroupBatchUpdateInput = z.object({\n data: z.array(z.object({\n set: z.record(z.string(), z.unknown()).describe(\"Set or overwrite property values. Key-value pairs where keys are property names and values are the new values.\").optional(),\n token: z.string().describe(\"Your Mixpanel project token\"),\n union: z.record(z.string(), z.unknown()).describe(\"Add values to list properties, ensuring uniqueness. Keys are list property names, values are arrays to merge.\").optional(),\n unset: z.array(z.string()).describe(\"Delete specified properties from the group profile. Array of property names to remove.\").optional(),\n \"delete\": z.string().describe(\"Delete the entire group profile. Pass empty string to delete.\").optional(),\n remove: z.record(z.string(), z.unknown()).describe(\"Remove specific values from list properties. Keys are list property names, values are items to remove.\").optional(),\n group_id: z.string().describe(\"The unique identifier for the group\"),\n set_once: z.record(z.string(), z.unknown()).describe(\"Set property values only if they don't already exist. Key-value pairs.\").optional(),\n group_key: z.string().describe(\"The group category/type (e.g., 'company', 'organization')\"),\n}).passthrough().describe(\"Individual group profile update object.\")).describe(\"A list of group profile update objects. Each object contains the group identifiers and operations to perform.\"),\n response_format: z.enum([\"IP\", \"Strict\", \"Verbose\"]).describe(\"Controls response format. IP: returns '1' for valid data, Strict: returns error for any invalid records, Verbose: detailed response.\").optional(),\n}).describe(\"Request model for batch updating group profiles in Mixpanel.\");\nexport const MixpanelGroupBatchUpdateOutput = z.object({\n code: z.number().int().describe(\"HTTP status code\").nullable(),\n error: z.string().describe(\"Error message if the request failed\").nullable().optional(),\n status: z.string().describe(\"Status message indicating success or failure\").nullable(),\n}).passthrough().describe(\"Response model for group batch update operation.\");\n\nexport const mixpanelGroupBatchUpdate = action(\"MIXPANEL_GROUP_BATCH_UPDATE\", {\n slug: \"mixpanel-group-batch-update\",\n name: \"Batch Update Group Profiles\",\n description: \"Tool to send a batch of group profile updates to Mixpanel. Use when you need to update multiple group profiles in a single request. Supports operations like $set, $set_once, $union, $remove, $unset, and $delete. Note: $add is NOT supported for group profiles.\",\n input: MixpanelGroupBatchUpdateInput,\n output: MixpanelGroupBatchUpdateOutput,\n});\n"],"mappings":";;AAwBA,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxB2C,EAAE,OAAO;EACpD,MAAM,EAAE,MAAM,EAAE,OAAO;GACvB,KAAK,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;GAC3K,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;GACxD,OAAO,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;GAC5K,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;GACvI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;GACxG,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;GACtK,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;GACnE,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;GACxI,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;EAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,CAAC,SAAS,+GAA+G;EAC5L,iBAAiB,EAAE,KAAK;GAAC;GAAM;GAAU;EAAS,CAAC,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS;CACjN,CAAC,CAAC,CAAC,SAAS,8DAWH;CACP,QAX4C,EAAE,OAAO;EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;EAC7D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAOhB;AACV,CAAC"}
@@ -11,7 +11,7 @@ const MixpanelGroupDeletePropertyOutput = zod.z.object({
11
11
  code: zod.z.number().int().describe("HTTP status code (200 for success)").nullable(),
12
12
  error: zod.z.string().describe("Error message if the request failed").nullable().optional(),
13
13
  status: zod.z.union([zod.z.string(), zod.z.number().int()])
14
- }).describe("Response model for group property deletion operation.");
14
+ }).passthrough().describe("Response model for group property deletion operation.");
15
15
  const mixpanelGroupDeleteProperty = require_action.action("MIXPANEL_GROUP_DELETE_PROPERTY", {
16
16
  slug: "mixpanel-group-delete-property",
17
17
  name: "Delete Group Properties",
@@ -1 +1 @@
1
- {"version":3,"file":"group-delete-property.cjs","names":["z","action"],"sources":["../../src/actions/group-delete-property.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelGroupDeletePropertyInput = z.object({\n token: z.string().describe(\"Your Mixpanel project authentication token\"),\n group_id: z.string().describe(\"The unique identifier for the specific group to update\"),\n group_key: z.string().describe(\"The group category/type identifier (e.g., 'company', 'organization', 'team')\"),\n properties: z.array(z.string()).describe(\"List of property names to delete/unset from the group profile\"),\n}).describe(\"Request model for deleting properties from a group profile.\");\nexport const MixpanelGroupDeletePropertyOutput = z.object({\n code: z.number().int().describe(\"HTTP status code (200 for success)\").nullable(),\n error: z.string().describe(\"Error message if the request failed\").nullable().optional(),\n status: z.union([z.string(), z.number().int()]),\n}).describe(\"Response model for group property deletion operation.\");\n\nexport const mixpanelGroupDeleteProperty = action(\"MIXPANEL_GROUP_DELETE_PROPERTY\", {\n slug: \"mixpanel-group-delete-property\",\n name: \"Delete Group Properties\",\n description: \"Tool to delete specific properties from a Mixpanel group profile. Use when you need to permanently remove unwanted properties from a group (company, organization, team, etc.). The operation uses the $unset operation to permanently remove the specified properties.\",\n input: MixpanelGroupDeletePropertyInput,\n output: MixpanelGroupDeletePropertyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACvE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CACtF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E;CAC7G,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC1G,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC/E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,QAAQA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;AAChD,CAAC,CAAC,CAAC,SAAS,uDAAuD;AAEnE,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"group-delete-property.cjs","names":["z","action"],"sources":["../../src/actions/group-delete-property.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelGroupDeletePropertyInput = z.object({\n token: z.string().describe(\"Your Mixpanel project authentication token\"),\n group_id: z.string().describe(\"The unique identifier for the specific group to update\"),\n group_key: z.string().describe(\"The group category/type identifier (e.g., 'company', 'organization', 'team')\"),\n properties: z.array(z.string()).describe(\"List of property names to delete/unset from the group profile\"),\n}).describe(\"Request model for deleting properties from a group profile.\");\nexport const MixpanelGroupDeletePropertyOutput = z.object({\n code: z.number().int().describe(\"HTTP status code (200 for success)\").nullable(),\n error: z.string().describe(\"Error message if the request failed\").nullable().optional(),\n status: z.union([z.string(), z.number().int()]),\n}).passthrough().describe(\"Response model for group property deletion operation.\");\n\nexport const mixpanelGroupDeleteProperty = action(\"MIXPANEL_GROUP_DELETE_PROPERTY\", {\n slug: \"mixpanel-group-delete-property\",\n name: \"Delete Group Properties\",\n description: \"Tool to delete specific properties from a Mixpanel group profile. Use when you need to permanently remove unwanted properties from a group (company, organization, team, etc.). The operation uses the $unset operation to permanently remove the specified properties.\",\n input: MixpanelGroupDeletePropertyInput,\n output: MixpanelGroupDeletePropertyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACvE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CACtF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E;CAC7G,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC1G,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC/E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,QAAQA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;AAChD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAEjF,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -11,13 +11,29 @@ declare const MixpanelGroupDeletePropertyOutput: z.ZodObject<{
11
11
  code: z.ZodNullable<z.ZodNumber>;
12
12
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
13
  status: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
14
- }, z.core.$strip>;
14
+ }, z.core.$loose>;
15
15
  declare const mixpanelGroupDeleteProperty: import("@keystrokehq/action").WorkflowActionDefinition<{
16
16
  token: string;
17
17
  group_id: string;
18
18
  group_key: string;
19
19
  properties: string[];
20
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
20
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
21
+ connectionId: z.ZodString;
22
+ entityId: z.ZodString;
23
+ instanceId: z.ZodString;
24
+ }, z.core.$strip>, z.ZodObject<{
25
+ username: z.ZodString;
26
+ password: z.ZodString;
27
+ region: z.ZodString;
28
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
29
+ connectionId: z.ZodString;
30
+ entityId: z.ZodString;
31
+ instanceId: z.ZodString;
32
+ }, z.core.$strip>, z.ZodObject<{
33
+ username: z.ZodString;
34
+ password: z.ZodString;
35
+ region: z.ZodString;
36
+ }, z.core.$strip>>]>;
21
37
  //#endregion
22
38
  export { mixpanelGroupDeleteProperty };
23
39
  //# sourceMappingURL=group-delete-property.d.cts.map
@@ -11,13 +11,29 @@ declare const MixpanelGroupDeletePropertyOutput: z.ZodObject<{
11
11
  code: z.ZodNullable<z.ZodNumber>;
12
12
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
13
  status: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
14
- }, z.core.$strip>;
14
+ }, z.core.$loose>;
15
15
  declare const mixpanelGroupDeleteProperty: import("@keystrokehq/action").WorkflowActionDefinition<{
16
16
  token: string;
17
17
  group_id: string;
18
18
  group_key: string;
19
19
  properties: string[];
20
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
20
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
21
+ connectionId: z.ZodString;
22
+ entityId: z.ZodString;
23
+ instanceId: z.ZodString;
24
+ }, z.core.$strip>, z.ZodObject<{
25
+ username: z.ZodString;
26
+ password: z.ZodString;
27
+ region: z.ZodString;
28
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
29
+ connectionId: z.ZodString;
30
+ entityId: z.ZodString;
31
+ instanceId: z.ZodString;
32
+ }, z.core.$strip>, z.ZodObject<{
33
+ username: z.ZodString;
34
+ password: z.ZodString;
35
+ region: z.ZodString;
36
+ }, z.core.$strip>>]>;
21
37
  //#endregion
22
38
  export { mixpanelGroupDeleteProperty };
23
39
  //# sourceMappingURL=group-delete-property.d.mts.map
@@ -14,7 +14,7 @@ const mixpanelGroupDeleteProperty = action("MIXPANEL_GROUP_DELETE_PROPERTY", {
14
14
  code: z.number().int().describe("HTTP status code (200 for success)").nullable(),
15
15
  error: z.string().describe("Error message if the request failed").nullable().optional(),
16
16
  status: z.union([z.string(), z.number().int()])
17
- }).describe("Response model for group property deletion operation.")
17
+ }).passthrough().describe("Response model for group property deletion operation.")
18
18
  });
19
19
  //#endregion
20
20
  export { mixpanelGroupDeleteProperty };
@@ -1 +1 @@
1
- {"version":3,"file":"group-delete-property.mjs","names":[],"sources":["../../src/actions/group-delete-property.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelGroupDeletePropertyInput = z.object({\n token: z.string().describe(\"Your Mixpanel project authentication token\"),\n group_id: z.string().describe(\"The unique identifier for the specific group to update\"),\n group_key: z.string().describe(\"The group category/type identifier (e.g., 'company', 'organization', 'team')\"),\n properties: z.array(z.string()).describe(\"List of property names to delete/unset from the group profile\"),\n}).describe(\"Request model for deleting properties from a group profile.\");\nexport const MixpanelGroupDeletePropertyOutput = z.object({\n code: z.number().int().describe(\"HTTP status code (200 for success)\").nullable(),\n error: z.string().describe(\"Error message if the request failed\").nullable().optional(),\n status: z.union([z.string(), z.number().int()]),\n}).describe(\"Response model for group property deletion operation.\");\n\nexport const mixpanelGroupDeleteProperty = action(\"MIXPANEL_GROUP_DELETE_PROPERTY\", {\n slug: \"mixpanel-group-delete-property\",\n name: \"Delete Group Properties\",\n description: \"Tool to delete specific properties from a Mixpanel group profile. Use when you need to permanently remove unwanted properties from a group (company, organization, team, etc.). The operation uses the $unset operation to permanently remove the specified properties.\",\n input: MixpanelGroupDeletePropertyInput,\n output: MixpanelGroupDeletePropertyOutput,\n});\n"],"mappings":";;AAgBA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB8C,EAAE,OAAO;EACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EACvE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;EACtF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E;EAC7G,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+DAA+D;CAC1G,CAAC,CAAC,CAAC,SAAS,6DAWH;CACP,QAX+C,EAAE,OAAO;EACxD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC/E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,QAAQ,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;CAChD,CAAC,CAAC,CAAC,SAAS,uDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"group-delete-property.mjs","names":[],"sources":["../../src/actions/group-delete-property.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelGroupDeletePropertyInput = z.object({\n token: z.string().describe(\"Your Mixpanel project authentication token\"),\n group_id: z.string().describe(\"The unique identifier for the specific group to update\"),\n group_key: z.string().describe(\"The group category/type identifier (e.g., 'company', 'organization', 'team')\"),\n properties: z.array(z.string()).describe(\"List of property names to delete/unset from the group profile\"),\n}).describe(\"Request model for deleting properties from a group profile.\");\nexport const MixpanelGroupDeletePropertyOutput = z.object({\n code: z.number().int().describe(\"HTTP status code (200 for success)\").nullable(),\n error: z.string().describe(\"Error message if the request failed\").nullable().optional(),\n status: z.union([z.string(), z.number().int()]),\n}).passthrough().describe(\"Response model for group property deletion operation.\");\n\nexport const mixpanelGroupDeleteProperty = action(\"MIXPANEL_GROUP_DELETE_PROPERTY\", {\n slug: \"mixpanel-group-delete-property\",\n name: \"Delete Group Properties\",\n description: \"Tool to delete specific properties from a Mixpanel group profile. Use when you need to permanently remove unwanted properties from a group (company, organization, team, etc.). The operation uses the $unset operation to permanently remove the specified properties.\",\n input: MixpanelGroupDeletePropertyInput,\n output: MixpanelGroupDeletePropertyOutput,\n});\n"],"mappings":";;AAgBA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB8C,EAAE,OAAO;EACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EACvE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;EACtF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E;EAC7G,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+DAA+D;CAC1G,CAAC,CAAC,CAAC,SAAS,6DAWH;CACP,QAX+C,EAAE,OAAO;EACxD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC/E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,QAAQ,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;CAChD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAOhB;AACV,CAAC"}
@@ -6,7 +6,7 @@ const MixpanelIdentityCreateAliasInput = zod.z.object({
6
6
  token: zod.z.string().describe("Project authentication token for client-side authentication."),
7
7
  distinct_id: zod.z.string().describe("The existing distinct ID to be merged with the alias. This is the original identifier that the alias will map to.")
8
8
  }).describe("Request model for creating an identity alias in Mixpanel.");
9
- const MixpanelIdentityCreateAliasOutput = zod.z.object({ status: zod.z.number().int().describe("Status of the request. 1 indicates the alias was successfully created.").nullable() }).describe("Response model for identity alias creation.");
9
+ const MixpanelIdentityCreateAliasOutput = zod.z.object({ status: zod.z.number().int().describe("Status of the request. 1 indicates the alias was successfully created.").nullable() }).passthrough().describe("Response model for identity alias creation.");
10
10
  const mixpanelIdentityCreateAlias = require_action.action("MIXPANEL_IDENTITY_CREATE_ALIAS", {
11
11
  slug: "mixpanel-identity-create-alias",
12
12
  name: "Create Identity Alias",
@@ -1 +1 @@
1
- {"version":3,"file":"identity-create-alias.cjs","names":["z","action"],"sources":["../../src/actions/identity-create-alias.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelIdentityCreateAliasInput = z.object({\n alias: z.string().describe(\"A new distinct_id value that will be interpreted as the existing distinct_id. Each alias can only map to one distinct_id. Typically set during user signup to connect anonymous pre-signup events with post-signup activity.\"),\n token: z.string().describe(\"Project authentication token for client-side authentication.\"),\n distinct_id: z.string().describe(\"The existing distinct ID to be merged with the alias. This is the original identifier that the alias will map to.\"),\n}).describe(\"Request model for creating an identity alias in Mixpanel.\");\nexport const MixpanelIdentityCreateAliasOutput = z.object({\n status: z.number().int().describe(\"Status of the request. 1 indicates the alias was successfully created.\").nullable(),\n}).describe(\"Response model for identity alias creation.\");\n\nexport const mixpanelIdentityCreateAlias = action(\"MIXPANEL_IDENTITY_CREATE_ALIAS\", {\n slug: \"mixpanel-identity-create-alias\",\n name: \"Create Identity Alias\",\n description: \"Tool to create an alias mapping between two distinct IDs in Mixpanel. Use when you need to link a new identifier with an existing one. This is only available for projects using the Original ID Merge system and Legacy ID Management System; it has no effect in the Simplified ID Merge system. Typically called once during user signup to connect anonymous pre-signup events with post-signup activity. Each alias can only map to one distinct_id.\",\n input: MixpanelIdentityCreateAliasInput,\n output: MixpanelIdentityCreateAliasOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8NAA8N;CACzP,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;CACzF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH;AACtJ,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,EACvH,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAEzD,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"identity-create-alias.cjs","names":["z","action"],"sources":["../../src/actions/identity-create-alias.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelIdentityCreateAliasInput = z.object({\n alias: z.string().describe(\"A new distinct_id value that will be interpreted as the existing distinct_id. Each alias can only map to one distinct_id. Typically set during user signup to connect anonymous pre-signup events with post-signup activity.\"),\n token: z.string().describe(\"Project authentication token for client-side authentication.\"),\n distinct_id: z.string().describe(\"The existing distinct ID to be merged with the alias. This is the original identifier that the alias will map to.\"),\n}).describe(\"Request model for creating an identity alias in Mixpanel.\");\nexport const MixpanelIdentityCreateAliasOutput = z.object({\n status: z.number().int().describe(\"Status of the request. 1 indicates the alias was successfully created.\").nullable(),\n}).passthrough().describe(\"Response model for identity alias creation.\");\n\nexport const mixpanelIdentityCreateAlias = action(\"MIXPANEL_IDENTITY_CREATE_ALIAS\", {\n slug: \"mixpanel-identity-create-alias\",\n name: \"Create Identity Alias\",\n description: \"Tool to create an alias mapping between two distinct IDs in Mixpanel. Use when you need to link a new identifier with an existing one. This is only available for projects using the Original ID Merge system and Legacy ID Management System; it has no effect in the Simplified ID Merge system. Typically called once during user signup to connect anonymous pre-signup events with post-signup activity. Each alias can only map to one distinct_id.\",\n input: MixpanelIdentityCreateAliasInput,\n output: MixpanelIdentityCreateAliasOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8NAA8N;CACzP,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;CACzF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH;AACtJ,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,EACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -8,12 +8,28 @@ declare const MixpanelIdentityCreateAliasInput: z.ZodObject<{
8
8
  }, z.core.$strip>;
9
9
  declare const MixpanelIdentityCreateAliasOutput: z.ZodObject<{
10
10
  status: z.ZodNullable<z.ZodNumber>;
11
- }, z.core.$strip>;
11
+ }, z.core.$loose>;
12
12
  declare const mixpanelIdentityCreateAlias: import("@keystrokehq/action").WorkflowActionDefinition<{
13
13
  alias: string;
14
14
  token: string;
15
15
  distinct_id: string;
16
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
16
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
17
+ connectionId: z.ZodString;
18
+ entityId: z.ZodString;
19
+ instanceId: z.ZodString;
20
+ }, z.core.$strip>, z.ZodObject<{
21
+ username: z.ZodString;
22
+ password: z.ZodString;
23
+ region: z.ZodString;
24
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
25
+ connectionId: z.ZodString;
26
+ entityId: z.ZodString;
27
+ instanceId: z.ZodString;
28
+ }, z.core.$strip>, z.ZodObject<{
29
+ username: z.ZodString;
30
+ password: z.ZodString;
31
+ region: z.ZodString;
32
+ }, z.core.$strip>>]>;
17
33
  //#endregion
18
34
  export { mixpanelIdentityCreateAlias };
19
35
  //# sourceMappingURL=identity-create-alias.d.cts.map
@@ -8,12 +8,28 @@ declare const MixpanelIdentityCreateAliasInput: z.ZodObject<{
8
8
  }, z.core.$strip>;
9
9
  declare const MixpanelIdentityCreateAliasOutput: z.ZodObject<{
10
10
  status: z.ZodNullable<z.ZodNumber>;
11
- }, z.core.$strip>;
11
+ }, z.core.$loose>;
12
12
  declare const mixpanelIdentityCreateAlias: import("@keystrokehq/action").WorkflowActionDefinition<{
13
13
  alias: string;
14
14
  token: string;
15
15
  distinct_id: string;
16
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
16
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
17
+ connectionId: z.ZodString;
18
+ entityId: z.ZodString;
19
+ instanceId: z.ZodString;
20
+ }, z.core.$strip>, z.ZodObject<{
21
+ username: z.ZodString;
22
+ password: z.ZodString;
23
+ region: z.ZodString;
24
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
25
+ connectionId: z.ZodString;
26
+ entityId: z.ZodString;
27
+ instanceId: z.ZodString;
28
+ }, z.core.$strip>, z.ZodObject<{
29
+ username: z.ZodString;
30
+ password: z.ZodString;
31
+ region: z.ZodString;
32
+ }, z.core.$strip>>]>;
17
33
  //#endregion
18
34
  export { mixpanelIdentityCreateAlias };
19
35
  //# sourceMappingURL=identity-create-alias.d.mts.map
@@ -9,7 +9,7 @@ const mixpanelIdentityCreateAlias = action("MIXPANEL_IDENTITY_CREATE_ALIAS", {
9
9
  token: z.string().describe("Project authentication token for client-side authentication."),
10
10
  distinct_id: z.string().describe("The existing distinct ID to be merged with the alias. This is the original identifier that the alias will map to.")
11
11
  }).describe("Request model for creating an identity alias in Mixpanel."),
12
- output: z.object({ status: z.number().int().describe("Status of the request. 1 indicates the alias was successfully created.").nullable() }).describe("Response model for identity alias creation.")
12
+ output: z.object({ status: z.number().int().describe("Status of the request. 1 indicates the alias was successfully created.").nullable() }).passthrough().describe("Response model for identity alias creation.")
13
13
  });
14
14
  //#endregion
15
15
  export { mixpanelIdentityCreateAlias };
@@ -1 +1 @@
1
- {"version":3,"file":"identity-create-alias.mjs","names":[],"sources":["../../src/actions/identity-create-alias.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelIdentityCreateAliasInput = z.object({\n alias: z.string().describe(\"A new distinct_id value that will be interpreted as the existing distinct_id. Each alias can only map to one distinct_id. Typically set during user signup to connect anonymous pre-signup events with post-signup activity.\"),\n token: z.string().describe(\"Project authentication token for client-side authentication.\"),\n distinct_id: z.string().describe(\"The existing distinct ID to be merged with the alias. This is the original identifier that the alias will map to.\"),\n}).describe(\"Request model for creating an identity alias in Mixpanel.\");\nexport const MixpanelIdentityCreateAliasOutput = z.object({\n status: z.number().int().describe(\"Status of the request. 1 indicates the alias was successfully created.\").nullable(),\n}).describe(\"Response model for identity alias creation.\");\n\nexport const mixpanelIdentityCreateAlias = action(\"MIXPANEL_IDENTITY_CREATE_ALIAS\", {\n slug: \"mixpanel-identity-create-alias\",\n name: \"Create Identity Alias\",\n description: \"Tool to create an alias mapping between two distinct IDs in Mixpanel. Use when you need to link a new identifier with an existing one. This is only available for projects using the Original ID Merge system and Legacy ID Management System; it has no effect in the Simplified ID Merge system. Typically called once during user signup to connect anonymous pre-signup events with post-signup activity. Each alias can only map to one distinct_id.\",\n input: MixpanelIdentityCreateAliasInput,\n output: MixpanelIdentityCreateAliasOutput,\n});\n"],"mappings":";;AAaA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb8C,EAAE,OAAO;EACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8NAA8N;EACzP,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;EACzF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH;CACtJ,CAAC,CAAC,CAAC,SAAS,2DASH;CACP,QAT+C,EAAE,OAAO,EACxD,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,EACvH,CAAC,CAAC,CAAC,SAAS,6CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"identity-create-alias.mjs","names":[],"sources":["../../src/actions/identity-create-alias.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelIdentityCreateAliasInput = z.object({\n alias: z.string().describe(\"A new distinct_id value that will be interpreted as the existing distinct_id. Each alias can only map to one distinct_id. Typically set during user signup to connect anonymous pre-signup events with post-signup activity.\"),\n token: z.string().describe(\"Project authentication token for client-side authentication.\"),\n distinct_id: z.string().describe(\"The existing distinct ID to be merged with the alias. This is the original identifier that the alias will map to.\"),\n}).describe(\"Request model for creating an identity alias in Mixpanel.\");\nexport const MixpanelIdentityCreateAliasOutput = z.object({\n status: z.number().int().describe(\"Status of the request. 1 indicates the alias was successfully created.\").nullable(),\n}).passthrough().describe(\"Response model for identity alias creation.\");\n\nexport const mixpanelIdentityCreateAlias = action(\"MIXPANEL_IDENTITY_CREATE_ALIAS\", {\n slug: \"mixpanel-identity-create-alias\",\n name: \"Create Identity Alias\",\n description: \"Tool to create an alias mapping between two distinct IDs in Mixpanel. Use when you need to link a new identifier with an existing one. This is only available for projects using the Original ID Merge system and Legacy ID Management System; it has no effect in the Simplified ID Merge system. Typically called once during user signup to connect anonymous pre-signup events with post-signup activity. Each alias can only map to one distinct_id.\",\n input: MixpanelIdentityCreateAliasInput,\n output: MixpanelIdentityCreateAliasOutput,\n});\n"],"mappings":";;AAaA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb8C,EAAE,OAAO;EACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8NAA8N;EACzP,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;EACzF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH;CACtJ,CAAC,CAAC,CAAC,SAAS,2DASH;CACP,QAT+C,EAAE,OAAO,EACxD,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,EACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAOhB;AACV,CAAC"}
@@ -14,7 +14,7 @@ const MixpanelJqlQueryOutput = zod.z.object({ data: zod.z.union([
14
14
  zod.z.number().int(),
15
15
  zod.z.number(),
16
16
  zod.z.string()
17
- ]).nullable() }).describe("Response model for JQL query data");
17
+ ]).nullable() }).passthrough().describe("Response model for JQL query data");
18
18
  const mixpanelJqlQuery = require_action.action("MIXPANEL_JQL_QUERY", {
19
19
  slug: "mixpanel-jql-query",
20
20
  name: "Execute JQL Query",
@@ -1 +1 @@
1
- {"version":3,"file":"jql-query.cjs","names":["z","action"],"sources":["../../src/actions/jql-query.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelJqlQueryInput = z.object({\n params: z.record(z.string(), z.unknown()).describe(\"A JSON-encoded object that will be made available in the script as `params`. Use this to pass dynamic date ranges, event names, or other parameters into your JQL query.\").optional(),\n script: z.string().describe(\"A fully valid JavaScript code snippet for Mixpanel's JQL engine. MUST define exactly one top-level `function main() { ... }` that returns the final dataset.\\n\\nDATA SOURCES:\\n- Events({ from_date: 'YYYY-MM-DD', to_date: 'YYYY-MM-DD', event_selectors: [{ event: 'Name', selector: '...' }] }) - returns objects with name, distinct_id, time (ms epoch), properties.\\n- People({ user_selectors: [{ selector: '...' }] }) - returns objects with distinct_id, time, last_seen, properties.\\n- join(Events(...), People(), { type: 'full'|'left'|'right'|'inner', selectors: [...] }) - combines events and profiles on distinct_id; each item has { distinct_id, event, user }.\\n\\nTRANSFORMATIONS (chainable):\\n- .filter(fn) - keep items where fn returns true\\n- .map(fn) - transform each item\\n- .reduce(reducerFn) - aggregate entire collection to one value\\n- .groupBy(keys, reducer) - group by property paths or functions, returns [{ key, value }]\\n- .groupByUser([keys], reducer) - group events per user in chronological order; reducer signature: (state, events) => newState\\n- .sortAsc(accessor) / .sortDesc(accessor) - sort by property or function\\n- .flatten() - flatten nested arrays\\n\\nBUILT-IN REDUCERS (use with .reduce() or .groupBy()):\\nmixpanel.reducer.count(), .sum(accessor), .avg(accessor), .min(accessor), .max(accessor), .min_by(accessor), .max_by(accessor), .numeric_percentiles(accessor, [p1, p2, ...]), .top(N), .any(), .null(), .object_merge()\\n\\nSEGMENTATION EXPRESSIONS (for event_selectors/user_selectors/join selectors):\\nOperators: ==, !=, >, >=, <, <=, in, and, or, not. Typecasts: string(...), number(...), boolean(...). Example: properties[\\\"app_name\\\"] == \\\"gmail\\\" and user[\\\"age\\\"] > 30\\n\\nPARAMS: Pass dynamic values via the `params` field. Accessible in script as the global `params` variable.\\n\\nEXAMPLE:\\n```js\\nfunction main() {\\n return Events({ from_date: '2025-01-01', to_date: '2025-01-31', event_selectors: [{ event: 'purchase' }] })\\n .filter(e => e.properties.country === 'CA')\\n .groupBy(['properties.city'], mixpanel.reducer.count());\\n}\\n```\\n\\nThe return value from main() can be an array of objects, a single number (from .reduce()), or a nested array (from .groupBy()).\"),\n project_id: z.number().int().describe(\"Required if using service account credentials or an API secret for authentication.\"),\n workspace_id: z.number().int().describe(\"The ID of the Mixpanel workspace, if applicable.\").optional(),\n}).describe(\"Request model for executing JQL queries in Mixpanel.\");\nexport const MixpanelJqlQueryOutput = z.object({\n data: z.union([z.array(z.record(z.string(), z.unknown())), z.record(z.string(), z.unknown()), z.array(z.unknown()), z.number().int(), z.number(), z.string()]).nullable(),\n}).describe(\"Response model for JQL query data\");\n\nexport const mixpanelJqlQuery = action(\"MIXPANEL_JQL_QUERY\", {\n slug: \"mixpanel-jql-query\",\n name: \"Execute JQL Query\",\n description: \"Execute a custom JQL (JavaScript Query Language) query against Mixpanel's Query API. Key Constraints: - 60 queries/hour, max 5 concurrent queries. - 2-minute execution timeout. - 5 GB data processing limit, 2 GB output limit. - No remote network requests (XMLHttpRequest) are allowed inside the JQL script.\",\n input: MixpanelJqlQueryInput,\n output: MixpanelJqlQueryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0KAA0K,CAAC,CAAC,SAAS;CACxO,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qqEAAqqE;CACjsE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF;CAC1H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,MAAMA,IAAAA,EAAE,MAAM;CAACA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC;CAAGA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC;CAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC;CAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;CAAGA,IAAAA,EAAE,OAAO;CAAGA,IAAAA,EAAE,OAAO;AAAC,CAAC,CAAC,CAAC,SAAS,EAC1K,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAE/C,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"jql-query.cjs","names":["z","action"],"sources":["../../src/actions/jql-query.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelJqlQueryInput = z.object({\n params: z.record(z.string(), z.unknown()).describe(\"A JSON-encoded object that will be made available in the script as `params`. Use this to pass dynamic date ranges, event names, or other parameters into your JQL query.\").optional(),\n script: z.string().describe(\"A fully valid JavaScript code snippet for Mixpanel's JQL engine. MUST define exactly one top-level `function main() { ... }` that returns the final dataset.\\n\\nDATA SOURCES:\\n- Events({ from_date: 'YYYY-MM-DD', to_date: 'YYYY-MM-DD', event_selectors: [{ event: 'Name', selector: '...' }] }) - returns objects with name, distinct_id, time (ms epoch), properties.\\n- People({ user_selectors: [{ selector: '...' }] }) - returns objects with distinct_id, time, last_seen, properties.\\n- join(Events(...), People(), { type: 'full'|'left'|'right'|'inner', selectors: [...] }) - combines events and profiles on distinct_id; each item has { distinct_id, event, user }.\\n\\nTRANSFORMATIONS (chainable):\\n- .filter(fn) - keep items where fn returns true\\n- .map(fn) - transform each item\\n- .reduce(reducerFn) - aggregate entire collection to one value\\n- .groupBy(keys, reducer) - group by property paths or functions, returns [{ key, value }]\\n- .groupByUser([keys], reducer) - group events per user in chronological order; reducer signature: (state, events) => newState\\n- .sortAsc(accessor) / .sortDesc(accessor) - sort by property or function\\n- .flatten() - flatten nested arrays\\n\\nBUILT-IN REDUCERS (use with .reduce() or .groupBy()):\\nmixpanel.reducer.count(), .sum(accessor), .avg(accessor), .min(accessor), .max(accessor), .min_by(accessor), .max_by(accessor), .numeric_percentiles(accessor, [p1, p2, ...]), .top(N), .any(), .null(), .object_merge()\\n\\nSEGMENTATION EXPRESSIONS (for event_selectors/user_selectors/join selectors):\\nOperators: ==, !=, >, >=, <, <=, in, and, or, not. Typecasts: string(...), number(...), boolean(...). Example: properties[\\\"app_name\\\"] == \\\"gmail\\\" and user[\\\"age\\\"] > 30\\n\\nPARAMS: Pass dynamic values via the `params` field. Accessible in script as the global `params` variable.\\n\\nEXAMPLE:\\n```js\\nfunction main() {\\n return Events({ from_date: '2025-01-01', to_date: '2025-01-31', event_selectors: [{ event: 'purchase' }] })\\n .filter(e => e.properties.country === 'CA')\\n .groupBy(['properties.city'], mixpanel.reducer.count());\\n}\\n```\\n\\nThe return value from main() can be an array of objects, a single number (from .reduce()), or a nested array (from .groupBy()).\"),\n project_id: z.number().int().describe(\"Required if using service account credentials or an API secret for authentication.\"),\n workspace_id: z.number().int().describe(\"The ID of the Mixpanel workspace, if applicable.\").optional(),\n}).describe(\"Request model for executing JQL queries in Mixpanel.\");\nexport const MixpanelJqlQueryOutput = z.object({\n data: z.union([z.array(z.record(z.string(), z.unknown())), z.record(z.string(), z.unknown()), z.array(z.unknown()), z.number().int(), z.number(), z.string()]).nullable(),\n}).passthrough().describe(\"Response model for JQL query data\");\n\nexport const mixpanelJqlQuery = action(\"MIXPANEL_JQL_QUERY\", {\n slug: \"mixpanel-jql-query\",\n name: \"Execute JQL Query\",\n description: \"Execute a custom JQL (JavaScript Query Language) query against Mixpanel's Query API. Key Constraints: - 60 queries/hour, max 5 concurrent queries. - 2-minute execution timeout. - 5 GB data processing limit, 2 GB output limit. - No remote network requests (XMLHttpRequest) are allowed inside the JQL script.\",\n input: MixpanelJqlQueryInput,\n output: MixpanelJqlQueryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0KAA0K,CAAC,CAAC,SAAS;CACxO,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qqEAAqqE;CACjsE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF;CAC1H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,MAAMA,IAAAA,EAAE,MAAM;CAACA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC;CAAGA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC;CAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC;CAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;CAAGA,IAAAA,EAAE,OAAO;CAAGA,IAAAA,EAAE,OAAO;AAAC,CAAC,CAAC,CAAC,SAAS,EAC1K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAE7D,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -9,13 +9,29 @@ declare const MixpanelJqlQueryInput: z.ZodObject<{
9
9
  }, z.core.$strip>;
10
10
  declare const MixpanelJqlQueryOutput: z.ZodObject<{
11
11
  data: z.ZodNullable<z.ZodUnion<readonly [z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown>, z.ZodNumber, z.ZodNumber, z.ZodString]>>;
12
- }, z.core.$strip>;
12
+ }, z.core.$loose>;
13
13
  declare const mixpanelJqlQuery: import("@keystrokehq/action").WorkflowActionDefinition<{
14
14
  script: string;
15
15
  project_id: number;
16
16
  params?: Record<string, unknown> | undefined;
17
17
  workspace_id?: number | undefined;
18
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
18
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
19
+ connectionId: z.ZodString;
20
+ entityId: z.ZodString;
21
+ instanceId: z.ZodString;
22
+ }, z.core.$strip>, z.ZodObject<{
23
+ username: z.ZodString;
24
+ password: z.ZodString;
25
+ region: z.ZodString;
26
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
27
+ connectionId: z.ZodString;
28
+ entityId: z.ZodString;
29
+ instanceId: z.ZodString;
30
+ }, z.core.$strip>, z.ZodObject<{
31
+ username: z.ZodString;
32
+ password: z.ZodString;
33
+ region: z.ZodString;
34
+ }, z.core.$strip>>]>;
19
35
  //#endregion
20
36
  export { mixpanelJqlQuery };
21
37
  //# sourceMappingURL=jql-query.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"jql-query.d.cts","names":[],"sources":["../../src/actions/jql-query.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;cAMrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAItB,gBAAA,gCAAgB,wBAAA;;;WAM3B,MAAA"}
1
+ {"version":3,"file":"jql-query.d.cts","names":[],"sources":["../../src/actions/jql-query.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;cAMrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAItB,gBAAA,gCAAgB,wBAAA"}