@keystrokehq/mixpanel 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (263) 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 +5 -4
  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 +5 -4
  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 +3 -3
  12. package/dist/actions/aggregate-events.d.mts +3 -3
  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 +2 -2
  18. package/dist/actions/aggregated-event-property-values.d.mts +2 -2
  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 +2 -2
  24. package/dist/actions/cohorts-list.d.mts +2 -2
  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 +1 -1
  30. package/dist/actions/create-annotation-tag.d.mts +1 -1
  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 +1 -1
  36. package/dist/actions/create-identity.d.mts +1 -1
  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 +4 -3
  42. package/dist/actions/create-service-account.d.mts +4 -3
  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 +1 -1
  48. package/dist/actions/delete-group.d.mts +1 -1
  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 +3 -2
  54. package/dist/actions/delete-profile-batch.d.mts +3 -2
  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 +1 -1
  60. package/dist/actions/delete-profile-property.d.mts +1 -1
  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 +1 -1
  66. package/dist/actions/delete-profile.d.mts +1 -1
  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 +2 -2
  72. package/dist/actions/get-all-projects.d.mts +2 -2
  73. package/dist/actions/get-all-projects.mjs +1 -1
  74. package/dist/actions/get-all-projects.mjs.map +1 -1
  75. package/dist/actions/get-annotation-tags-alt1.cjs +2 -2
  76. package/dist/actions/get-annotation-tags-alt1.cjs.map +1 -1
  77. package/dist/actions/get-annotation-tags-alt1.d.cts +2 -2
  78. package/dist/actions/get-annotation-tags-alt1.d.mts +2 -2
  79. package/dist/actions/get-annotation-tags-alt1.mjs +2 -2
  80. package/dist/actions/get-annotation-tags-alt1.mjs.map +1 -1
  81. package/dist/actions/group-batch-update.cjs +3 -3
  82. package/dist/actions/group-batch-update.cjs.map +1 -1
  83. package/dist/actions/group-batch-update.d.cts +5 -4
  84. package/dist/actions/group-batch-update.d.mts +5 -4
  85. package/dist/actions/group-batch-update.mjs +3 -3
  86. package/dist/actions/group-batch-update.mjs.map +1 -1
  87. package/dist/actions/group-delete-property.cjs +1 -1
  88. package/dist/actions/group-delete-property.cjs.map +1 -1
  89. package/dist/actions/group-delete-property.d.cts +1 -1
  90. package/dist/actions/group-delete-property.d.mts +1 -1
  91. package/dist/actions/group-delete-property.mjs +1 -1
  92. package/dist/actions/group-delete-property.mjs.map +1 -1
  93. package/dist/actions/identity-create-alias.cjs +1 -1
  94. package/dist/actions/identity-create-alias.cjs.map +1 -1
  95. package/dist/actions/identity-create-alias.d.cts +1 -1
  96. package/dist/actions/identity-create-alias.d.mts +1 -1
  97. package/dist/actions/identity-create-alias.mjs +1 -1
  98. package/dist/actions/identity-create-alias.mjs.map +1 -1
  99. package/dist/actions/jql-query.cjs +1 -1
  100. package/dist/actions/jql-query.cjs.map +1 -1
  101. package/dist/actions/jql-query.d.cts +1 -1
  102. package/dist/actions/jql-query.d.mts +1 -1
  103. package/dist/actions/jql-query.mjs +1 -1
  104. package/dist/actions/jql-query.mjs.map +1 -1
  105. package/dist/actions/list-funnels.cjs +2 -2
  106. package/dist/actions/list-funnels.cjs.map +1 -1
  107. package/dist/actions/list-funnels.d.cts +2 -2
  108. package/dist/actions/list-funnels.d.mts +2 -2
  109. package/dist/actions/list-funnels.mjs +2 -2
  110. package/dist/actions/list-funnels.mjs.map +1 -1
  111. package/dist/actions/list-service-accounts.cjs +2 -2
  112. package/dist/actions/list-service-accounts.cjs.map +1 -1
  113. package/dist/actions/list-service-accounts.d.cts +2 -2
  114. package/dist/actions/list-service-accounts.d.mts +2 -2
  115. package/dist/actions/list-service-accounts.mjs +2 -2
  116. package/dist/actions/list-service-accounts.mjs.map +1 -1
  117. package/dist/actions/profile-append-to-list-property.cjs +2 -2
  118. package/dist/actions/profile-append-to-list-property.cjs.map +1 -1
  119. package/dist/actions/profile-append-to-list-property.d.cts +3 -2
  120. package/dist/actions/profile-append-to-list-property.d.cts.map +1 -1
  121. package/dist/actions/profile-append-to-list-property.d.mts +3 -2
  122. package/dist/actions/profile-append-to-list-property.d.mts.map +1 -1
  123. package/dist/actions/profile-append-to-list-property.mjs +2 -2
  124. package/dist/actions/profile-append-to-list-property.mjs.map +1 -1
  125. package/dist/actions/profile-batch-update.cjs +5 -5
  126. package/dist/actions/profile-batch-update.cjs.map +1 -1
  127. package/dist/actions/profile-batch-update.d.cts +8 -7
  128. package/dist/actions/profile-batch-update.d.mts +8 -7
  129. package/dist/actions/profile-batch-update.mjs +5 -5
  130. package/dist/actions/profile-batch-update.mjs.map +1 -1
  131. package/dist/actions/profile-event-activity.cjs +4 -4
  132. package/dist/actions/profile-event-activity.cjs.map +1 -1
  133. package/dist/actions/profile-event-activity.d.cts +4 -4
  134. package/dist/actions/profile-event-activity.d.mts +4 -4
  135. package/dist/actions/profile-event-activity.mjs +4 -4
  136. package/dist/actions/profile-event-activity.mjs.map +1 -1
  137. package/dist/actions/profile-numerical-add.cjs +2 -2
  138. package/dist/actions/profile-numerical-add.cjs.map +1 -1
  139. package/dist/actions/profile-numerical-add.d.cts +3 -3
  140. package/dist/actions/profile-numerical-add.d.mts +3 -3
  141. package/dist/actions/profile-numerical-add.mjs +2 -2
  142. package/dist/actions/profile-numerical-add.mjs.map +1 -1
  143. package/dist/actions/profile-remove-from-list-property.cjs +2 -2
  144. package/dist/actions/profile-remove-from-list-property.cjs.map +1 -1
  145. package/dist/actions/profile-remove-from-list-property.d.cts +3 -2
  146. package/dist/actions/profile-remove-from-list-property.d.cts.map +1 -1
  147. package/dist/actions/profile-remove-from-list-property.d.mts +3 -2
  148. package/dist/actions/profile-remove-from-list-property.d.mts.map +1 -1
  149. package/dist/actions/profile-remove-from-list-property.mjs +2 -2
  150. package/dist/actions/profile-remove-from-list-property.mjs.map +1 -1
  151. package/dist/actions/profile-set.cjs +1 -1
  152. package/dist/actions/profile-set.cjs.map +1 -1
  153. package/dist/actions/profile-set.d.cts +1 -1
  154. package/dist/actions/profile-set.d.mts +1 -1
  155. package/dist/actions/profile-set.mjs +1 -1
  156. package/dist/actions/profile-set.mjs.map +1 -1
  157. package/dist/actions/query-frequency-report.cjs +1 -1
  158. package/dist/actions/query-frequency-report.cjs.map +1 -1
  159. package/dist/actions/query-frequency-report.d.cts +2 -2
  160. package/dist/actions/query-frequency-report.d.mts +2 -2
  161. package/dist/actions/query-frequency-report.mjs +1 -1
  162. package/dist/actions/query-frequency-report.mjs.map +1 -1
  163. package/dist/actions/query-funnel.cjs +3 -3
  164. package/dist/actions/query-funnel.cjs.map +1 -1
  165. package/dist/actions/query-funnel.d.cts +3 -3
  166. package/dist/actions/query-funnel.d.mts +3 -3
  167. package/dist/actions/query-funnel.mjs +3 -3
  168. package/dist/actions/query-funnel.mjs.map +1 -1
  169. package/dist/actions/query-insight.cjs +3 -3
  170. package/dist/actions/query-insight.cjs.map +1 -1
  171. package/dist/actions/query-insight.d.cts +3 -3
  172. package/dist/actions/query-insight.d.mts +3 -3
  173. package/dist/actions/query-insight.mjs +3 -3
  174. package/dist/actions/query-insight.mjs.map +1 -1
  175. package/dist/actions/query-numeric-average.cjs +2 -2
  176. package/dist/actions/query-numeric-average.cjs.map +1 -1
  177. package/dist/actions/query-numeric-average.d.cts +2 -2
  178. package/dist/actions/query-numeric-average.d.mts +2 -2
  179. package/dist/actions/query-numeric-average.mjs +2 -2
  180. package/dist/actions/query-numeric-average.mjs.map +1 -1
  181. package/dist/actions/query-numeric-sum.cjs +2 -2
  182. package/dist/actions/query-numeric-sum.cjs.map +1 -1
  183. package/dist/actions/query-numeric-sum.d.cts +2 -2
  184. package/dist/actions/query-numeric-sum.d.mts +2 -2
  185. package/dist/actions/query-numeric-sum.mjs +2 -2
  186. package/dist/actions/query-numeric-sum.mjs.map +1 -1
  187. package/dist/actions/query-profiles.cjs +3 -3
  188. package/dist/actions/query-profiles.cjs.map +1 -1
  189. package/dist/actions/query-profiles.d.cts +4 -4
  190. package/dist/actions/query-profiles.d.mts +4 -4
  191. package/dist/actions/query-profiles.mjs +3 -3
  192. package/dist/actions/query-profiles.mjs.map +1 -1
  193. package/dist/actions/query-retention-report.cjs +1 -1
  194. package/dist/actions/query-retention-report.cjs.map +1 -1
  195. package/dist/actions/query-retention-report.d.cts +2 -2
  196. package/dist/actions/query-retention-report.d.mts +2 -2
  197. package/dist/actions/query-retention-report.mjs +1 -1
  198. package/dist/actions/query-retention-report.mjs.map +1 -1
  199. package/dist/actions/query-segmentation.cjs +3 -3
  200. package/dist/actions/query-segmentation.cjs.map +1 -1
  201. package/dist/actions/query-segmentation.d.cts +3 -3
  202. package/dist/actions/query-segmentation.d.mts +3 -3
  203. package/dist/actions/query-segmentation.mjs +3 -3
  204. package/dist/actions/query-segmentation.mjs.map +1 -1
  205. package/dist/actions/query-top-events.cjs +2 -2
  206. package/dist/actions/query-top-events.cjs.map +1 -1
  207. package/dist/actions/query-top-events.d.cts +2 -2
  208. package/dist/actions/query-top-events.d.mts +2 -2
  209. package/dist/actions/query-top-events.mjs +2 -2
  210. package/dist/actions/query-top-events.mjs.map +1 -1
  211. package/dist/actions/remove-from-group-list-property.cjs +2 -2
  212. package/dist/actions/remove-from-group-list-property.cjs.map +1 -1
  213. package/dist/actions/remove-from-group-list-property.d.cts +3 -2
  214. package/dist/actions/remove-from-group-list-property.d.cts.map +1 -1
  215. package/dist/actions/remove-from-group-list-property.d.mts +3 -2
  216. package/dist/actions/remove-from-group-list-property.d.mts.map +1 -1
  217. package/dist/actions/remove-from-group-list-property.mjs +2 -2
  218. package/dist/actions/remove-from-group-list-property.mjs.map +1 -1
  219. package/dist/actions/remove-from-list-property.cjs +1 -1
  220. package/dist/actions/remove-from-list-property.cjs.map +1 -1
  221. package/dist/actions/remove-from-list-property.d.cts +1 -1
  222. package/dist/actions/remove-from-list-property.d.mts +1 -1
  223. package/dist/actions/remove-from-list-property.mjs +1 -1
  224. package/dist/actions/remove-from-list-property.mjs.map +1 -1
  225. package/dist/actions/segmentation-numeric-query.cjs +2 -2
  226. package/dist/actions/segmentation-numeric-query.cjs.map +1 -1
  227. package/dist/actions/segmentation-numeric-query.d.cts +2 -2
  228. package/dist/actions/segmentation-numeric-query.d.mts +2 -2
  229. package/dist/actions/segmentation-numeric-query.mjs +2 -2
  230. package/dist/actions/segmentation-numeric-query.mjs.map +1 -1
  231. package/dist/actions/set-group-property-once.cjs +1 -1
  232. package/dist/actions/set-group-property-once.cjs.map +1 -1
  233. package/dist/actions/set-group-property-once.d.cts +1 -1
  234. package/dist/actions/set-group-property-once.d.mts +1 -1
  235. package/dist/actions/set-group-property-once.mjs +1 -1
  236. package/dist/actions/set-group-property-once.mjs.map +1 -1
  237. package/dist/actions/set-profile-property-once.cjs +1 -1
  238. package/dist/actions/set-profile-property-once.cjs.map +1 -1
  239. package/dist/actions/set-profile-property-once.d.cts +1 -1
  240. package/dist/actions/set-profile-property-once.d.mts +1 -1
  241. package/dist/actions/set-profile-property-once.mjs +1 -1
  242. package/dist/actions/set-profile-property-once.mjs.map +1 -1
  243. package/dist/actions/top-event-property-values.cjs +1 -1
  244. package/dist/actions/top-event-property-values.cjs.map +1 -1
  245. package/dist/actions/top-event-property-values.d.cts +1 -1
  246. package/dist/actions/top-event-property-values.d.mts +1 -1
  247. package/dist/actions/top-event-property-values.mjs +1 -1
  248. package/dist/actions/top-event-property-values.mjs.map +1 -1
  249. package/dist/actions/top-events.cjs +1 -1
  250. package/dist/actions/top-events.cjs.map +1 -1
  251. package/dist/actions/top-events.d.cts +1 -1
  252. package/dist/actions/top-events.d.mts +1 -1
  253. package/dist/actions/top-events.mjs +1 -1
  254. package/dist/actions/top-events.mjs.map +1 -1
  255. package/dist/actions/update-group-list-property.cjs +3 -3
  256. package/dist/actions/update-group-list-property.cjs.map +1 -1
  257. package/dist/actions/update-group-list-property.d.cts +5 -4
  258. package/dist/actions/update-group-list-property.d.cts.map +1 -1
  259. package/dist/actions/update-group-list-property.d.mts +5 -4
  260. package/dist/actions/update-group-list-property.d.mts.map +1 -1
  261. package/dist/actions/update-group-list-property.mjs +3 -3
  262. package/dist/actions/update-group-list-property.mjs.map +1 -1
  263. package/package.json +1 -1
@@ -5,7 +5,7 @@ const mixpanelGetAllProjects = action("MIXPANEL_GET_ALL_PROJECTS", {
5
5
  name: "Get All Projects",
6
6
  description: "Get all projects associated with the authenticated Mixpanel account. Returns project details including name, permissions, role, domain, and other configuration details. If a project appears inaccessible, verify the connection region matches the project's cluster before assuming a permissions issue.",
7
7
  input: z.object({}).describe("Request model for getting all projects from Mixpanel.\nNo parameters needed as this endpoint returns all projects for the authenticated user."),
8
- output: z.object({ projects: z.object({}).describe("Dictionary of project IDs mapping to project details") }).describe("Response model for projects data.\nContains a dictionary of project IDs mapping to their details.")
8
+ output: z.object({ projects: z.record(z.string(), z.unknown()).describe("Dictionary of project IDs mapping to project details") }).passthrough().describe("Response model for projects data.\nContains a dictionary of project IDs mapping to their details.")
9
9
  });
10
10
  //#endregion
11
11
  export { mixpanelGetAllProjects };
@@ -1 +1 @@
1
- {"version":3,"file":"get-all-projects.mjs","names":[],"sources":["../../src/actions/get-all-projects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelGetAllProjectsInput = z.object({}).describe(\"Request model for getting all projects from Mixpanel.\\nNo parameters needed as this endpoint returns all projects for the authenticated user.\");\nexport const MixpanelGetAllProjectsOutput = z.object({\n projects: z.object({}).describe(\"Dictionary of project IDs mapping to project details\"),\n}).describe(\"Response model for projects data.\\nContains a dictionary of project IDs mapping to their details.\");\n\nexport const mixpanelGetAllProjects = action(\"MIXPANEL_GET_ALL_PROJECTS\", {\n slug: \"mixpanel-get-all-projects\",\n name: \"Get All Projects\",\n description: \"Get all projects associated with the authenticated Mixpanel account. Returns project details including name, permissions, role, domain, and other configuration details. If a project appears inaccessible, verify the connection region matches the project's cluster before assuming a permissions issue.\",\n input: MixpanelGetAllProjectsInput,\n output: MixpanelGetAllProjectsOutput,\n});\n"],"mappings":";;AASA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATyC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+IASxD;CACP,QAT0C,EAAE,OAAO,EACnD,UAAU,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sDAAsD,EACxF,CAAC,CAAC,CAAC,SAAS,mGAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-all-projects.mjs","names":[],"sources":["../../src/actions/get-all-projects.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelGetAllProjectsInput = z.object({}).describe(\"Request model for getting all projects from Mixpanel.\\nNo parameters needed as this endpoint returns all projects for the authenticated user.\");\nexport const MixpanelGetAllProjectsOutput = z.object({\n projects: z.record(z.string(), z.unknown()).describe(\"Dictionary of project IDs mapping to project details\"),\n}).passthrough().describe(\"Response model for projects data.\\nContains a dictionary of project IDs mapping to their details.\");\n\nexport const mixpanelGetAllProjects = action(\"MIXPANEL_GET_ALL_PROJECTS\", {\n slug: \"mixpanel-get-all-projects\",\n name: \"Get All Projects\",\n description: \"Get all projects associated with the authenticated Mixpanel account. Returns project details including name, permissions, role, domain, and other configuration details. If a project appears inaccessible, verify the connection region matches the project's cluster before assuming a permissions issue.\",\n input: MixpanelGetAllProjectsInput,\n output: MixpanelGetAllProjectsOutput,\n});\n"],"mappings":";;AASA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATyC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,+IASxD;CACP,QAT0C,EAAE,OAAO,EACnD,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sDAAsD,EAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mGAOhB;AACV,CAAC"}
@@ -7,8 +7,8 @@ const MixpanelGetAnnotationTagsAlt1_AnnotationTagSchema = zod.z.object({
7
7
  name: zod.z.string().describe("Display text for the tag when applied to annotations").nullable(),
8
8
  project_id: zod.z.number().int().describe("Associated project identifier").nullable(),
9
9
  has_annotations: zod.z.boolean().describe("Whether the tag is currently attached to any annotations").nullable()
10
- }).describe("Model representing a single annotation tag.");
11
- const MixpanelGetAnnotationTagsAlt1Output = zod.z.object({ tags: zod.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.");
10
+ }).passthrough().describe("Model representing a single annotation tag.");
11
+ const MixpanelGetAnnotationTagsAlt1Output = zod.z.object({ tags: zod.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.");
12
12
  const mixpanelGetAnnotationTagsAlt1 = require_action.action("MIXPANEL_GET_ANNOTATION_TAGS_ALT1", {
13
13
  slug: "mixpanel-get-annotation-tags-alt1",
14
14
  name: "Get Annotation Tags",
@@ -1 +1 @@
1
- {"version":3,"file":"get-annotation-tags-alt1.cjs","names":["z","action"],"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,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,EAClF,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,oDAAoDA,IAAAA,EAAE,OAAO;CACjE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC3F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAChF,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,MAAMA,IAAAA,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACnL,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAEtD,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-annotation-tags-alt1.cjs","names":["z","action"],"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,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,EAClF,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,oDAAoDA,IAAAA,EAAE,OAAO;CACjE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC3F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAChF,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,MAAMA,IAAAA,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACnL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -10,8 +10,8 @@ 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
17
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -10,8 +10,8 @@ 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
17
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -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,14 +23,15 @@ 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;
@@ -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,14 +23,15 @@ 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;
@@ -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,7 +11,7 @@ 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;
@@ -11,7 +11,7 @@ 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;
@@ -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,7 +8,7 @@ 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;
@@ -8,7 +8,7 @@ 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;
@@ -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,7 +9,7 @@ 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;
@@ -9,7 +9,7 @@ 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;
@@ -17,7 +17,7 @@ const mixpanelJqlQuery = action("MIXPANEL_JQL_QUERY", {
17
17
  z.number().int(),
18
18
  z.number(),
19
19
  z.string()
20
- ]).nullable() }).describe("Response model for JQL query data")
20
+ ]).nullable() }).passthrough().describe("Response model for JQL query data")
21
21
  });
22
22
  //#endregion
23
23
  export { mixpanelJqlQuery };
@@ -1 +1 @@
1
- {"version":3,"file":"jql-query.mjs","names":[],"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":";;AAcA,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdmC,EAAE,OAAO;EAC5C,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0KAA0K,CAAC,CAAC,SAAS;EACxO,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qqEAAqqE;EACjsE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF;EAC1H,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACvG,CAAC,CAAC,CAAC,SAAS,sDASH;CACP,QAToC,EAAE,OAAO,EAC7C,MAAM,EAAE,MAAM;EAAC,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC;EAAG,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC;EAAG,EAAE,MAAM,EAAE,QAAQ,CAAC;EAAG,EAAE,OAAO,CAAC,CAAC,IAAI;EAAG,EAAE,OAAO;EAAG,EAAE,OAAO;CAAC,CAAC,CAAC,CAAC,SAAS,EAC1K,CAAC,CAAC,CAAC,SAAS,mCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"jql-query.mjs","names":[],"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":";;AAcA,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdmC,EAAE,OAAO;EAC5C,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0KAA0K,CAAC,CAAC,SAAS;EACxO,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qqEAAqqE;EACjsE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF;EAC1H,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACvG,CAAC,CAAC,CAAC,SAAS,sDASH;CACP,QAToC,EAAE,OAAO,EAC7C,MAAM,EAAE,MAAM;EAAC,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC;EAAG,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC;EAAG,EAAE,MAAM,EAAE,QAAQ,CAAC;EAAG,EAAE,OAAO,CAAC,CAAC,IAAI;EAAG,EAAE,OAAO;EAAG,EAAE,OAAO;CAAC,CAAC,CAAC,CAAC,SAAS,EAC1K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAOhB;AACV,CAAC"}
@@ -8,8 +8,8 @@ const MixpanelListFunnelsInput = zod.z.object({
8
8
  const MixpanelListFunnels_FunnelInfoSchema = zod.z.object({
9
9
  name: zod.z.string().describe("The name of the funnel").nullable(),
10
10
  funnel_id: zod.z.number().int().describe("The id of the funnel").nullable()
11
- }).describe("Model for funnel information");
12
- const MixpanelListFunnelsOutput = zod.z.object({ data: zod.z.array(MixpanelListFunnels_FunnelInfoSchema).describe("Array of funnel information") }).describe("Response model for list funnels data");
11
+ }).passthrough().describe("Model for funnel information");
12
+ const MixpanelListFunnelsOutput = zod.z.object({ data: zod.z.array(MixpanelListFunnels_FunnelInfoSchema).describe("Array of funnel information") }).passthrough().describe("Response model for list funnels data");
13
13
  const mixpanelListFunnels = require_action.action("MIXPANEL_LIST_FUNNELS", {
14
14
  slug: "mixpanel-list-funnels",
15
15
  name: "List Saved Funnels",
@@ -1 +1 @@
1
- {"version":3,"file":"list-funnels.cjs","names":["z","action"],"sources":["../../src/actions/list-funnels.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelListFunnelsInput = z.object({\n project_id: z.number().int().describe(\"Required if using service account to authenticate request\"),\n workspace_id: z.number().int().describe(\"The id of the workspace if applicable\").optional(),\n}).describe(\"Request model for listing saved funnels\");\nconst MixpanelListFunnels_FunnelInfoSchema = z.object({\n name: z.string().describe(\"The name of the funnel\").nullable(),\n funnel_id: z.number().int().describe(\"The id of the funnel\").nullable(),\n}).describe(\"Model for funnel information\");\nexport const MixpanelListFunnelsOutput = z.object({\n data: z.array(MixpanelListFunnels_FunnelInfoSchema).describe(\"Array of funnel information\"),\n}).describe(\"Response model for list funnels data\");\n\nexport const mixpanelListFunnels = action(\"MIXPANEL_LIST_FUNNELS\", {\n slug: \"mixpanel-list-funnels\",\n name: \"List Saved Funnels\",\n description: \"Get the names and funnel_ids of your funnels. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.\",\n input: MixpanelListFunnelsInput,\n output: MixpanelListFunnelsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;CACjG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC7D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,SAAS,8BAA8B;AAC1C,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,MAAMA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,6BAA6B,EAC5F,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAElD,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-funnels.cjs","names":["z","action"],"sources":["../../src/actions/list-funnels.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelListFunnelsInput = z.object({\n project_id: z.number().int().describe(\"Required if using service account to authenticate request\"),\n workspace_id: z.number().int().describe(\"The id of the workspace if applicable\").optional(),\n}).describe(\"Request model for listing saved funnels\");\nconst MixpanelListFunnels_FunnelInfoSchema = z.object({\n name: z.string().describe(\"The name of the funnel\").nullable(),\n funnel_id: z.number().int().describe(\"The id of the funnel\").nullable(),\n}).passthrough().describe(\"Model for funnel information\");\nexport const MixpanelListFunnelsOutput = z.object({\n data: z.array(MixpanelListFunnels_FunnelInfoSchema).describe(\"Array of funnel information\"),\n}).passthrough().describe(\"Response model for list funnels data\");\n\nexport const mixpanelListFunnels = action(\"MIXPANEL_LIST_FUNNELS\", {\n slug: \"mixpanel-list-funnels\",\n name: \"List Saved Funnels\",\n description: \"Get the names and funnel_ids of your funnels. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.\",\n input: MixpanelListFunnelsInput,\n output: MixpanelListFunnelsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;CACjG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC7D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8BAA8B;AACxD,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,MAAMA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,6BAA6B,EAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAEhE,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -9,8 +9,8 @@ declare const MixpanelListFunnelsOutput: z.ZodObject<{
9
9
  data: z.ZodArray<z.ZodObject<{
10
10
  name: z.ZodNullable<z.ZodString>;
11
11
  funnel_id: z.ZodNullable<z.ZodNumber>;
12
- }, z.core.$strip>>;
13
- }, z.core.$strip>;
12
+ }, z.core.$loose>>;
13
+ }, z.core.$loose>;
14
14
  declare const mixpanelListFunnels: import("@keystrokehq/action").WorkflowActionDefinition<{
15
15
  project_id: number;
16
16
  workspace_id?: number | undefined;
@@ -9,8 +9,8 @@ declare const MixpanelListFunnelsOutput: z.ZodObject<{
9
9
  data: z.ZodArray<z.ZodObject<{
10
10
  name: z.ZodNullable<z.ZodString>;
11
11
  funnel_id: z.ZodNullable<z.ZodNumber>;
12
- }, z.core.$strip>>;
13
- }, z.core.$strip>;
12
+ }, z.core.$loose>>;
13
+ }, z.core.$loose>;
14
14
  declare const mixpanelListFunnels: import("@keystrokehq/action").WorkflowActionDefinition<{
15
15
  project_id: number;
16
16
  workspace_id?: number | undefined;
@@ -8,13 +8,13 @@ const MixpanelListFunnelsInput = z.object({
8
8
  const MixpanelListFunnels_FunnelInfoSchema = z.object({
9
9
  name: z.string().describe("The name of the funnel").nullable(),
10
10
  funnel_id: z.number().int().describe("The id of the funnel").nullable()
11
- }).describe("Model for funnel information");
11
+ }).passthrough().describe("Model for funnel information");
12
12
  const mixpanelListFunnels = action("MIXPANEL_LIST_FUNNELS", {
13
13
  slug: "mixpanel-list-funnels",
14
14
  name: "List Saved Funnels",
15
15
  description: "Get the names and funnel_ids of your funnels. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.",
16
16
  input: MixpanelListFunnelsInput,
17
- output: z.object({ data: z.array(MixpanelListFunnels_FunnelInfoSchema).describe("Array of funnel information") }).describe("Response model for list funnels data")
17
+ output: z.object({ data: z.array(MixpanelListFunnels_FunnelInfoSchema).describe("Array of funnel information") }).passthrough().describe("Response model for list funnels data")
18
18
  });
19
19
  //#endregion
20
20
  export { mixpanelListFunnels };