@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
@@ -6,10 +6,10 @@ const MixpanelAddUniqueToProfileListPropertyInput = zod.z.object({
6
6
  data: zod.z.array(zod.z.object({
7
7
  ip: zod.z.string().describe("IP address for geolocation enrichment. Set to '0' to prevent updating geolocation data. If not provided, Mixpanel uses the request IP. Geolocation properties ($city, $region, mp_country_code) are derived and the IP is discarded.").optional(),
8
8
  token: zod.z.string().describe("Your Mixpanel project authentication token. Required for authenticating the request."),
9
- union: zod.z.object({}).describe("A JSON object containing key-value pairs where each key is a property name and each value is a list of items to union with that list property. Union adds values to a list property, excluding duplicates. If the property doesn't exist, it creates a new list with the provided values."),
9
+ union: zod.z.record(zod.z.string(), zod.z.unknown()).describe("A JSON object containing key-value pairs where each key is a property name and each value is a list of items to union with that list property. Union adds values to a list property, excluding duplicates. If the property doesn't exist, it creates a new list with the provided values."),
10
10
  distinct_id: zod.z.string().describe("The unique identifier for the user profile to update. This determines which profile will be modified."),
11
11
  ignore_time: zod.z.boolean().describe("If true, prevents Mixpanel from automatically updating the 'Last Seen' property. Defaults to false.").optional()
12
- }).describe("Individual profile update object for union operations on list properties.")).describe("A list of profile update objects. Each object must contain $token, $distinct_id, and $union properties. The $union operation adds values to list properties without creating duplicates."),
12
+ }).passthrough().describe("Individual profile update object for union operations on list properties.")).describe("A list of profile update objects. Each object must contain $token, $distinct_id, and $union properties. The $union operation adds values to list properties without creating duplicates."),
13
13
  strict: zod.z.number().int().describe("Enables validation with per-record error messages. Set to 1 to enable strict mode, 0 to disable. When enabled, returns detailed validation errors for each failed record.").optional(),
14
14
  verbose: zod.z.number().int().describe("Returns detailed response object. Set to 1 to get JSON response with status and error fields, 0 for plain text status (1 for success, 0 for failure). Default is 0.").optional(),
15
15
  callback: zod.z.string().describe("JSONP callback function name. Used for JSONP requests.").optional()
@@ -17,7 +17,7 @@ const MixpanelAddUniqueToProfileListPropertyInput = zod.z.object({
17
17
  const MixpanelAddUniqueToProfileListPropertyOutput = zod.z.object({
18
18
  error: zod.z.string().describe("Error message if the request failed, null if successful.").nullable().optional(),
19
19
  status: zod.z.union([zod.z.string(), zod.z.number().int()])
20
- }).describe("Response model for profile union operation.");
20
+ }).passthrough().describe("Response model for profile union operation.");
21
21
  const mixpanelAddUniqueToProfileListProperty = require_action.action("MIXPANEL_ADD_UNIQUE_TO_PROFILE_LIST_PROPERTY", {
22
22
  slug: "mixpanel-add-unique-to-profile-list-property",
23
23
  name: "Add Unique Values to Profile List Property",
@@ -1 +1 @@
1
- {"version":3,"file":"add-unique-to-profile-list-property.cjs","names":["z","action"],"sources":["../../src/actions/add-unique-to-profile-list-property.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelAddUniqueToProfileListPropertyInput = z.object({\n ip: z.number().int().describe(\"Controls geolocation. Set to 0 to disable geolocation, 1 to enable. Default is 1.\").optional(),\n data: z.array(z.object({\n ip: z.string().describe(\"IP address for geolocation enrichment. Set to '0' to prevent updating geolocation data. If not provided, Mixpanel uses the request IP. Geolocation properties ($city, $region, mp_country_code) are derived and the IP is discarded.\").optional(),\n token: z.string().describe(\"Your Mixpanel project authentication token. Required for authenticating the request.\"),\n union: z.object({}).describe(\"A JSON object containing key-value pairs where each key is a property name and each value is a list of items to union with that list property. Union adds values to a list property, excluding duplicates. If the property doesn't exist, it creates a new list with the provided values.\"),\n distinct_id: z.string().describe(\"The unique identifier for the user profile to update. This determines which profile will be modified.\"),\n ignore_time: z.boolean().describe(\"If true, prevents Mixpanel from automatically updating the 'Last Seen' property. Defaults to false.\").optional(),\n}).describe(\"Individual profile update object for union operations on list properties.\")).describe(\"A list of profile update objects. Each object must contain $token, $distinct_id, and $union properties. The $union operation adds values to list properties without creating duplicates.\"),\n strict: z.number().int().describe(\"Enables validation with per-record error messages. Set to 1 to enable strict mode, 0 to disable. When enabled, returns detailed validation errors for each failed record.\").optional(),\n verbose: z.number().int().describe(\"Returns detailed response object. Set to 1 to get JSON response with status and error fields, 0 for plain text status (1 for success, 0 for failure). Default is 0.\").optional(),\n callback: z.string().describe(\"JSONP callback function name. Used for JSONP requests.\").optional(),\n}).describe(\"Request model for union operations on list properties in user profiles.\");\nexport const MixpanelAddUniqueToProfileListPropertyOutput = z.object({\n error: z.string().describe(\"Error message if the request failed, null if successful.\").nullable().optional(),\n status: z.union([z.string(), z.number().int()]),\n}).describe(\"Response model for profile union operation.\");\n\nexport const mixpanelAddUniqueToProfileListProperty = action(\"MIXPANEL_ADD_UNIQUE_TO_PROFILE_LIST_PROPERTY\", {\n slug: \"mixpanel-add-unique-to-profile-list-property\",\n name: \"Add Unique Values to Profile List Property\",\n description: \"Tool to add unique values to list properties on user profiles in Mixpanel using the $union operation. Use when you need to add items to list-type properties without creating duplicates. Unlike $append, $union ensures values are unique in the list. If the property doesn't exist, it creates a new list with the provided values.\",\n input: MixpanelAddUniqueToProfileListPropertyInput,\n output: MixpanelAddUniqueToProfileListPropertyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8CAA8CA,IAAAA,EAAE,OAAO;CAClE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAC5H,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACvB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sOAAsO,CAAC,CAAC,SAAS;EACzQ,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF;EACjH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2RAA2R;EACxT,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;EACxI,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CACpJ,CAAC,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,CAAC,SAAS,0LAA0L;CAC3R,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2KAA2K,CAAC,CAAC,SAAS;CACxN,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qKAAqK,CAAC,CAAC,SAAS;CACnN,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAa,+CAA+CA,IAAAA,EAAE,OAAO;CACnE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,QAAQA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;AAChD,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAEzD,MAAa,yCAAyCC,eAAAA,OAAO,gDAAgD;CAC3G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"add-unique-to-profile-list-property.cjs","names":["z","action"],"sources":["../../src/actions/add-unique-to-profile-list-property.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelAddUniqueToProfileListPropertyInput = z.object({\n ip: z.number().int().describe(\"Controls geolocation. Set to 0 to disable geolocation, 1 to enable. Default is 1.\").optional(),\n data: z.array(z.object({\n ip: z.string().describe(\"IP address for geolocation enrichment. Set to '0' to prevent updating geolocation data. If not provided, Mixpanel uses the request IP. Geolocation properties ($city, $region, mp_country_code) are derived and the IP is discarded.\").optional(),\n token: z.string().describe(\"Your Mixpanel project authentication token. Required for authenticating the request.\"),\n union: z.record(z.string(), z.unknown()).describe(\"A JSON object containing key-value pairs where each key is a property name and each value is a list of items to union with that list property. Union adds values to a list property, excluding duplicates. If the property doesn't exist, it creates a new list with the provided values.\"),\n distinct_id: z.string().describe(\"The unique identifier for the user profile to update. This determines which profile will be modified.\"),\n ignore_time: z.boolean().describe(\"If true, prevents Mixpanel from automatically updating the 'Last Seen' property. Defaults to false.\").optional(),\n}).passthrough().describe(\"Individual profile update object for union operations on list properties.\")).describe(\"A list of profile update objects. Each object must contain $token, $distinct_id, and $union properties. The $union operation adds values to list properties without creating duplicates.\"),\n strict: z.number().int().describe(\"Enables validation with per-record error messages. Set to 1 to enable strict mode, 0 to disable. When enabled, returns detailed validation errors for each failed record.\").optional(),\n verbose: z.number().int().describe(\"Returns detailed response object. Set to 1 to get JSON response with status and error fields, 0 for plain text status (1 for success, 0 for failure). Default is 0.\").optional(),\n callback: z.string().describe(\"JSONP callback function name. Used for JSONP requests.\").optional(),\n}).describe(\"Request model for union operations on list properties in user profiles.\");\nexport const MixpanelAddUniqueToProfileListPropertyOutput = z.object({\n error: z.string().describe(\"Error message if the request failed, null if successful.\").nullable().optional(),\n status: z.union([z.string(), z.number().int()]),\n}).passthrough().describe(\"Response model for profile union operation.\");\n\nexport const mixpanelAddUniqueToProfileListProperty = action(\"MIXPANEL_ADD_UNIQUE_TO_PROFILE_LIST_PROPERTY\", {\n slug: \"mixpanel-add-unique-to-profile-list-property\",\n name: \"Add Unique Values to Profile List Property\",\n description: \"Tool to add unique values to list properties on user profiles in Mixpanel using the $union operation. Use when you need to add items to list-type properties without creating duplicates. Unlike $append, $union ensures values are unique in the list. If the property doesn't exist, it creates a new list with the provided values.\",\n input: MixpanelAddUniqueToProfileListPropertyInput,\n output: MixpanelAddUniqueToProfileListPropertyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8CAA8CA,IAAAA,EAAE,OAAO;CAClE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAC5H,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACvB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sOAAsO,CAAC,CAAC,SAAS;EACzQ,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF;EACjH,OAAOA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2RAA2R;EAC7U,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;EACxI,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CACpJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,CAAC,SAAS,0LAA0L;CACzS,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2KAA2K,CAAC,CAAC,SAAS;CACxN,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qKAAqK,CAAC,CAAC,SAAS;CACnN,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAa,+CAA+CA,IAAAA,EAAE,OAAO;CACnE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,QAAQA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;AAChD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,yCAAyCC,eAAAA,OAAO,gDAAgD;CAC3G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -6,10 +6,10 @@ declare const MixpanelAddUniqueToProfileListPropertyInput: z.ZodObject<{
6
6
  data: z.ZodArray<z.ZodObject<{
7
7
  ip: z.ZodOptional<z.ZodString>;
8
8
  token: z.ZodString;
9
- union: z.ZodObject<{}, z.core.$strip>;
9
+ union: z.ZodRecord<z.ZodString, z.ZodUnknown>;
10
10
  distinct_id: z.ZodString;
11
11
  ignore_time: z.ZodOptional<z.ZodBoolean>;
12
- }, z.core.$strip>>;
12
+ }, z.core.$loose>>;
13
13
  strict: z.ZodOptional<z.ZodNumber>;
14
14
  verbose: z.ZodOptional<z.ZodNumber>;
15
15
  callback: z.ZodOptional<z.ZodString>;
@@ -17,11 +17,12 @@ declare const MixpanelAddUniqueToProfileListPropertyInput: z.ZodObject<{
17
17
  declare const MixpanelAddUniqueToProfileListPropertyOutput: z.ZodObject<{
18
18
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
19
  status: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
20
- }, z.core.$strip>;
20
+ }, z.core.$loose>;
21
21
  declare const mixpanelAddUniqueToProfileListProperty: import("@keystrokehq/action").WorkflowActionDefinition<{
22
22
  data: {
23
+ [x: string]: unknown;
23
24
  token: string;
24
- union: Record<string, never>;
25
+ union: Record<string, unknown>;
25
26
  distinct_id: string;
26
27
  ip?: string | undefined;
27
28
  ignore_time?: boolean | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"add-unique-to-profile-list-property.d.cts","names":[],"sources":["../../src/actions/add-unique-to-profile-list-property.ts"],"mappings":";;;cAIa,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAa3C,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;;cAK5C,sCAAA,gCAAsC,wBAAA;;;WAMjD,MAAA"}
1
+ {"version":3,"file":"add-unique-to-profile-list-property.d.cts","names":[],"sources":["../../src/actions/add-unique-to-profile-list-property.ts"],"mappings":";;;cAIa,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAa3C,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;;cAK5C,sCAAA,gCAAsC,wBAAA;;;;WAMjD,MAAA"}
@@ -6,10 +6,10 @@ declare const MixpanelAddUniqueToProfileListPropertyInput: z.ZodObject<{
6
6
  data: z.ZodArray<z.ZodObject<{
7
7
  ip: z.ZodOptional<z.ZodString>;
8
8
  token: z.ZodString;
9
- union: z.ZodObject<{}, z.core.$strip>;
9
+ union: z.ZodRecord<z.ZodString, z.ZodUnknown>;
10
10
  distinct_id: z.ZodString;
11
11
  ignore_time: z.ZodOptional<z.ZodBoolean>;
12
- }, z.core.$strip>>;
12
+ }, z.core.$loose>>;
13
13
  strict: z.ZodOptional<z.ZodNumber>;
14
14
  verbose: z.ZodOptional<z.ZodNumber>;
15
15
  callback: z.ZodOptional<z.ZodString>;
@@ -17,11 +17,12 @@ declare const MixpanelAddUniqueToProfileListPropertyInput: z.ZodObject<{
17
17
  declare const MixpanelAddUniqueToProfileListPropertyOutput: z.ZodObject<{
18
18
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
19
  status: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
20
- }, z.core.$strip>;
20
+ }, z.core.$loose>;
21
21
  declare const mixpanelAddUniqueToProfileListProperty: import("@keystrokehq/action").WorkflowActionDefinition<{
22
22
  data: {
23
+ [x: string]: unknown;
23
24
  token: string;
24
- union: Record<string, never>;
25
+ union: Record<string, unknown>;
25
26
  distinct_id: string;
26
27
  ip?: string | undefined;
27
28
  ignore_time?: boolean | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"add-unique-to-profile-list-property.d.mts","names":[],"sources":["../../src/actions/add-unique-to-profile-list-property.ts"],"mappings":";;;cAIa,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAa3C,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;;cAK5C,sCAAA,gCAAsC,wBAAA;;;WAMjD,MAAA"}
1
+ {"version":3,"file":"add-unique-to-profile-list-property.d.mts","names":[],"sources":["../../src/actions/add-unique-to-profile-list-property.ts"],"mappings":";;;cAIa,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAa3C,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;;cAK5C,sCAAA,gCAAsC,wBAAA;;;;WAMjD,MAAA"}
@@ -9,10 +9,10 @@ const mixpanelAddUniqueToProfileListProperty = action("MIXPANEL_ADD_UNIQUE_TO_PR
9
9
  data: z.array(z.object({
10
10
  ip: z.string().describe("IP address for geolocation enrichment. Set to '0' to prevent updating geolocation data. If not provided, Mixpanel uses the request IP. Geolocation properties ($city, $region, mp_country_code) are derived and the IP is discarded.").optional(),
11
11
  token: z.string().describe("Your Mixpanel project authentication token. Required for authenticating the request."),
12
- union: z.object({}).describe("A JSON object containing key-value pairs where each key is a property name and each value is a list of items to union with that list property. Union adds values to a list property, excluding duplicates. If the property doesn't exist, it creates a new list with the provided values."),
12
+ union: z.record(z.string(), z.unknown()).describe("A JSON object containing key-value pairs where each key is a property name and each value is a list of items to union with that list property. Union adds values to a list property, excluding duplicates. If the property doesn't exist, it creates a new list with the provided values."),
13
13
  distinct_id: z.string().describe("The unique identifier for the user profile to update. This determines which profile will be modified."),
14
14
  ignore_time: z.boolean().describe("If true, prevents Mixpanel from automatically updating the 'Last Seen' property. Defaults to false.").optional()
15
- }).describe("Individual profile update object for union operations on list properties.")).describe("A list of profile update objects. Each object must contain $token, $distinct_id, and $union properties. The $union operation adds values to list properties without creating duplicates."),
15
+ }).passthrough().describe("Individual profile update object for union operations on list properties.")).describe("A list of profile update objects. Each object must contain $token, $distinct_id, and $union properties. The $union operation adds values to list properties without creating duplicates."),
16
16
  strict: z.number().int().describe("Enables validation with per-record error messages. Set to 1 to enable strict mode, 0 to disable. When enabled, returns detailed validation errors for each failed record.").optional(),
17
17
  verbose: z.number().int().describe("Returns detailed response object. Set to 1 to get JSON response with status and error fields, 0 for plain text status (1 for success, 0 for failure). Default is 0.").optional(),
18
18
  callback: z.string().describe("JSONP callback function name. Used for JSONP requests.").optional()
@@ -20,7 +20,7 @@ const mixpanelAddUniqueToProfileListProperty = action("MIXPANEL_ADD_UNIQUE_TO_PR
20
20
  output: z.object({
21
21
  error: z.string().describe("Error message if the request failed, null if successful.").nullable().optional(),
22
22
  status: z.union([z.string(), z.number().int()])
23
- }).describe("Response model for profile union operation.")
23
+ }).passthrough().describe("Response model for profile union operation.")
24
24
  });
25
25
  //#endregion
26
26
  export { mixpanelAddUniqueToProfileListProperty };
@@ -1 +1 @@
1
- {"version":3,"file":"add-unique-to-profile-list-property.mjs","names":[],"sources":["../../src/actions/add-unique-to-profile-list-property.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelAddUniqueToProfileListPropertyInput = z.object({\n ip: z.number().int().describe(\"Controls geolocation. Set to 0 to disable geolocation, 1 to enable. Default is 1.\").optional(),\n data: z.array(z.object({\n ip: z.string().describe(\"IP address for geolocation enrichment. Set to '0' to prevent updating geolocation data. If not provided, Mixpanel uses the request IP. Geolocation properties ($city, $region, mp_country_code) are derived and the IP is discarded.\").optional(),\n token: z.string().describe(\"Your Mixpanel project authentication token. Required for authenticating the request.\"),\n union: z.object({}).describe(\"A JSON object containing key-value pairs where each key is a property name and each value is a list of items to union with that list property. Union adds values to a list property, excluding duplicates. If the property doesn't exist, it creates a new list with the provided values.\"),\n distinct_id: z.string().describe(\"The unique identifier for the user profile to update. This determines which profile will be modified.\"),\n ignore_time: z.boolean().describe(\"If true, prevents Mixpanel from automatically updating the 'Last Seen' property. Defaults to false.\").optional(),\n}).describe(\"Individual profile update object for union operations on list properties.\")).describe(\"A list of profile update objects. Each object must contain $token, $distinct_id, and $union properties. The $union operation adds values to list properties without creating duplicates.\"),\n strict: z.number().int().describe(\"Enables validation with per-record error messages. Set to 1 to enable strict mode, 0 to disable. When enabled, returns detailed validation errors for each failed record.\").optional(),\n verbose: z.number().int().describe(\"Returns detailed response object. Set to 1 to get JSON response with status and error fields, 0 for plain text status (1 for success, 0 for failure). Default is 0.\").optional(),\n callback: z.string().describe(\"JSONP callback function name. Used for JSONP requests.\").optional(),\n}).describe(\"Request model for union operations on list properties in user profiles.\");\nexport const MixpanelAddUniqueToProfileListPropertyOutput = z.object({\n error: z.string().describe(\"Error message if the request failed, null if successful.\").nullable().optional(),\n status: z.union([z.string(), z.number().int()]),\n}).describe(\"Response model for profile union operation.\");\n\nexport const mixpanelAddUniqueToProfileListProperty = action(\"MIXPANEL_ADD_UNIQUE_TO_PROFILE_LIST_PROPERTY\", {\n slug: \"mixpanel-add-unique-to-profile-list-property\",\n name: \"Add Unique Values to Profile List Property\",\n description: \"Tool to add unique values to list properties on user profiles in Mixpanel using the $union operation. Use when you need to add items to list-type properties without creating duplicates. Unlike $append, $union ensures values are unique in the list. If the property doesn't exist, it creates a new list with the provided values.\",\n input: MixpanelAddUniqueToProfileListPropertyInput,\n output: MixpanelAddUniqueToProfileListPropertyOutput,\n});\n"],"mappings":";;AAsBA,MAAa,yCAAyC,OAAO,gDAAgD;CAC3G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtByD,EAAE,OAAO;EAClE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;EAC5H,MAAM,EAAE,MAAM,EAAE,OAAO;GACvB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sOAAsO,CAAC,CAAC,SAAS;GACzQ,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF;GACjH,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2RAA2R;GACxT,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;GACxI,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;EACpJ,CAAC,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,CAAC,SAAS,0LAA0L;EAC3R,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2KAA2K,CAAC,CAAC,SAAS;EACxN,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qKAAqK,CAAC,CAAC,SAAS;EACnN,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACnG,CAAC,CAAC,CAAC,SAAS,yEAUH;CACP,QAV0D,EAAE,OAAO;EACnE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,QAAQ,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;CAChD,CAAC,CAAC,CAAC,SAAS,6CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"add-unique-to-profile-list-property.mjs","names":[],"sources":["../../src/actions/add-unique-to-profile-list-property.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelAddUniqueToProfileListPropertyInput = z.object({\n ip: z.number().int().describe(\"Controls geolocation. Set to 0 to disable geolocation, 1 to enable. Default is 1.\").optional(),\n data: z.array(z.object({\n ip: z.string().describe(\"IP address for geolocation enrichment. Set to '0' to prevent updating geolocation data. If not provided, Mixpanel uses the request IP. Geolocation properties ($city, $region, mp_country_code) are derived and the IP is discarded.\").optional(),\n token: z.string().describe(\"Your Mixpanel project authentication token. Required for authenticating the request.\"),\n union: z.record(z.string(), z.unknown()).describe(\"A JSON object containing key-value pairs where each key is a property name and each value is a list of items to union with that list property. Union adds values to a list property, excluding duplicates. If the property doesn't exist, it creates a new list with the provided values.\"),\n distinct_id: z.string().describe(\"The unique identifier for the user profile to update. This determines which profile will be modified.\"),\n ignore_time: z.boolean().describe(\"If true, prevents Mixpanel from automatically updating the 'Last Seen' property. Defaults to false.\").optional(),\n}).passthrough().describe(\"Individual profile update object for union operations on list properties.\")).describe(\"A list of profile update objects. Each object must contain $token, $distinct_id, and $union properties. The $union operation adds values to list properties without creating duplicates.\"),\n strict: z.number().int().describe(\"Enables validation with per-record error messages. Set to 1 to enable strict mode, 0 to disable. When enabled, returns detailed validation errors for each failed record.\").optional(),\n verbose: z.number().int().describe(\"Returns detailed response object. Set to 1 to get JSON response with status and error fields, 0 for plain text status (1 for success, 0 for failure). Default is 0.\").optional(),\n callback: z.string().describe(\"JSONP callback function name. Used for JSONP requests.\").optional(),\n}).describe(\"Request model for union operations on list properties in user profiles.\");\nexport const MixpanelAddUniqueToProfileListPropertyOutput = z.object({\n error: z.string().describe(\"Error message if the request failed, null if successful.\").nullable().optional(),\n status: z.union([z.string(), z.number().int()]),\n}).passthrough().describe(\"Response model for profile union operation.\");\n\nexport const mixpanelAddUniqueToProfileListProperty = action(\"MIXPANEL_ADD_UNIQUE_TO_PROFILE_LIST_PROPERTY\", {\n slug: \"mixpanel-add-unique-to-profile-list-property\",\n name: \"Add Unique Values to Profile List Property\",\n description: \"Tool to add unique values to list properties on user profiles in Mixpanel using the $union operation. Use when you need to add items to list-type properties without creating duplicates. Unlike $append, $union ensures values are unique in the list. If the property doesn't exist, it creates a new list with the provided values.\",\n input: MixpanelAddUniqueToProfileListPropertyInput,\n output: MixpanelAddUniqueToProfileListPropertyOutput,\n});\n"],"mappings":";;AAsBA,MAAa,yCAAyC,OAAO,gDAAgD;CAC3G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtByD,EAAE,OAAO;EAClE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;EAC5H,MAAM,EAAE,MAAM,EAAE,OAAO;GACvB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sOAAsO,CAAC,CAAC,SAAS;GACzQ,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF;GACjH,OAAO,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2RAA2R;GAC7U,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;GACxI,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;EACpJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,CAAC,SAAS,0LAA0L;EACzS,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2KAA2K,CAAC,CAAC,SAAS;EACxN,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qKAAqK,CAAC,CAAC,SAAS;EACnN,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACnG,CAAC,CAAC,CAAC,SAAS,yEAUH;CACP,QAV0D,EAAE,OAAO;EACnE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,QAAQ,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;CAChD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAOhB;AACV,CAAC"}
@@ -27,12 +27,12 @@ const MixpanelAggregateEventsInput = zod.z.object({
27
27
  }).describe("Request model for getting aggregate event counts.");
28
28
  const MixpanelAggregateEvents_EventDataSchema = zod.z.object({
29
29
  series: zod.z.array(zod.z.string()).describe("All dates included in values"),
30
- values: zod.z.object({}).describe("Keys are the names of events, each mapping to an object containing date-to-value mappings. Each event name maps to an object where keys are date strings (YYYY-MM-DD format) and values are numeric (int for general/unique aggregations, float for average/sum).")
31
- }).describe("Model for event breakdown data structure");
30
+ values: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Keys are the names of events, each mapping to an object containing date-to-value mappings. Each event name maps to an object where keys are date strings (YYYY-MM-DD format) and values are numeric (int for general/unique aggregations, float for average/sum).")
31
+ }).passthrough().describe("Model for event breakdown data structure");
32
32
  const MixpanelAggregateEventsOutput = zod.z.object({
33
33
  data: MixpanelAggregateEvents_EventDataSchema.nullable(),
34
34
  legend_size: zod.z.number().int().describe("The number of events defined in values").nullable()
35
- }).describe("Base response model for event breakdown data");
35
+ }).passthrough().describe("Base response model for event breakdown data");
36
36
  const mixpanelAggregateEvents = require_action.action("MIXPANEL_AGGREGATE_EVENTS", {
37
37
  slug: "mixpanel-aggregate-events",
38
38
  name: "Get Aggregate Events",
@@ -1 +1 @@
1
- {"version":3,"file":"aggregate-events.cjs","names":["z","action"],"sources":["../../src/actions/aggregate-events.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelAggregateEventsInput = z.object({\n type: z.enum([\"general\", \"unique\", \"average\", \"sum\"]).default(\"general\").describe(\"Type of aggregation\").optional(),\n unit: z.enum([\"minute\", \"hour\", \"day\", \"week\", \"month\"]).default(\"day\").describe(\"Time unit for grouping results\").optional(),\n event: z.string().describe(\"Name of the event to analyze At least one of `event` or `events` must be provided per request; omitting both returns a 'Missing required parameter: event' error.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return\").optional(),\n where: z.string().describe(\"Expression to filter events\").optional(),\n events: z.array(z.string()).describe(\"List of event names to analyze\").optional(),\n to_date: z.string().describe(\"End date for the query (inclusive)\"),\n interval: z.number().int().describe(\"Time interval for the results in seconds\").optional(),\n from_date: z.string().describe(\"Start date for the query (inclusive)\"),\n project_id: z.number().int().describe(\"The ID of the project to query\"),\n workspace_id: z.number().int().describe(\"The ID of the workspace if applicable\").optional(),\n}).describe(\"Request model for getting aggregate event counts.\");\nconst MixpanelAggregateEvents_EventDataSchema = z.object({\n series: z.array(z.string()).describe(\"All dates included in values\"),\n values: z.object({}).describe(\"Keys are the names of events, each mapping to an object containing date-to-value mappings. Each event name maps to an object where keys are date strings (YYYY-MM-DD format) and values are numeric (int for general/unique aggregations, float for average/sum).\"),\n}).describe(\"Model for event breakdown data structure\");\nexport const MixpanelAggregateEventsOutput = z.object({\n data: MixpanelAggregateEvents_EventDataSchema.nullable(),\n legend_size: z.number().int().describe(\"The number of events defined in values\").nullable(),\n}).describe(\"Base response model for event breakdown data\");\n\nexport const mixpanelAggregateEvents = action(\"MIXPANEL_AGGREGATE_EVENTS\", {\n slug: \"mixpanel-aggregate-events\",\n name: \"Get Aggregate Events\",\n description: \"Get aggregate event counts over time. Supports different types of aggregation: general, unique, average, sum.\",\n input: MixpanelAggregateEventsInput,\n output: MixpanelAggregateEventsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAU;EAAW;CAAK,CAAC,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAClH,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAQ;EAAO;EAAQ;CAAO,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC5H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mKAAmK,CAAC,CAAC,SAAS;CACzM,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACjF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACnE,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAChF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACjE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACzF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACrE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC;CACtE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8BAA8B;CACnE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mQAAmQ;AACnS,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAM,wCAAwC,SAAS;CACvD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAE1D,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"aggregate-events.cjs","names":["z","action"],"sources":["../../src/actions/aggregate-events.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelAggregateEventsInput = z.object({\n type: z.enum([\"general\", \"unique\", \"average\", \"sum\"]).default(\"general\").describe(\"Type of aggregation\").optional(),\n unit: z.enum([\"minute\", \"hour\", \"day\", \"week\", \"month\"]).default(\"day\").describe(\"Time unit for grouping results\").optional(),\n event: z.string().describe(\"Name of the event to analyze At least one of `event` or `events` must be provided per request; omitting both returns a 'Missing required parameter: event' error.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return\").optional(),\n where: z.string().describe(\"Expression to filter events\").optional(),\n events: z.array(z.string()).describe(\"List of event names to analyze\").optional(),\n to_date: z.string().describe(\"End date for the query (inclusive)\"),\n interval: z.number().int().describe(\"Time interval for the results in seconds\").optional(),\n from_date: z.string().describe(\"Start date for the query (inclusive)\"),\n project_id: z.number().int().describe(\"The ID of the project to query\"),\n workspace_id: z.number().int().describe(\"The ID of the workspace if applicable\").optional(),\n}).describe(\"Request model for getting aggregate event counts.\");\nconst MixpanelAggregateEvents_EventDataSchema = z.object({\n series: z.array(z.string()).describe(\"All dates included in values\"),\n values: z.record(z.string(), z.unknown()).describe(\"Keys are the names of events, each mapping to an object containing date-to-value mappings. Each event name maps to an object where keys are date strings (YYYY-MM-DD format) and values are numeric (int for general/unique aggregations, float for average/sum).\"),\n}).passthrough().describe(\"Model for event breakdown data structure\");\nexport const MixpanelAggregateEventsOutput = z.object({\n data: MixpanelAggregateEvents_EventDataSchema.nullable(),\n legend_size: z.number().int().describe(\"The number of events defined in values\").nullable(),\n}).passthrough().describe(\"Base response model for event breakdown data\");\n\nexport const mixpanelAggregateEvents = action(\"MIXPANEL_AGGREGATE_EVENTS\", {\n slug: \"mixpanel-aggregate-events\",\n name: \"Get Aggregate Events\",\n description: \"Get aggregate event counts over time. Supports different types of aggregation: general, unique, average, sum.\",\n input: MixpanelAggregateEventsInput,\n output: MixpanelAggregateEventsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAU;EAAW;CAAK,CAAC,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAClH,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAQ;EAAO;EAAQ;CAAO,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC5H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mKAAmK,CAAC,CAAC,SAAS;CACzM,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACjF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACnE,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAChF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACjE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACzF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACrE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC;CACtE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8BAA8B;CACnE,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mQAAmQ;AACxT,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAM,wCAAwC,SAAS;CACvD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -28,10 +28,10 @@ declare const MixpanelAggregateEventsInput: z.ZodObject<{
28
28
  declare const MixpanelAggregateEventsOutput: z.ZodObject<{
29
29
  data: z.ZodNullable<z.ZodObject<{
30
30
  series: z.ZodArray<z.ZodString>;
31
- values: z.ZodObject<{}, z.core.$strip>;
32
- }, z.core.$strip>>;
31
+ values: z.ZodRecord<z.ZodString, z.ZodUnknown>;
32
+ }, z.core.$loose>>;
33
33
  legend_size: z.ZodNullable<z.ZodNumber>;
34
- }, z.core.$strip>;
34
+ }, z.core.$loose>;
35
35
  declare const mixpanelAggregateEvents: import("@keystrokehq/action").WorkflowActionDefinition<{
36
36
  to_date: string;
37
37
  from_date: string;
@@ -28,10 +28,10 @@ declare const MixpanelAggregateEventsInput: z.ZodObject<{
28
28
  declare const MixpanelAggregateEventsOutput: z.ZodObject<{
29
29
  data: z.ZodNullable<z.ZodObject<{
30
30
  series: z.ZodArray<z.ZodString>;
31
- values: z.ZodObject<{}, z.core.$strip>;
32
- }, z.core.$strip>>;
31
+ values: z.ZodRecord<z.ZodString, z.ZodUnknown>;
32
+ }, z.core.$loose>>;
33
33
  legend_size: z.ZodNullable<z.ZodNumber>;
34
- }, z.core.$strip>;
34
+ }, z.core.$loose>;
35
35
  declare const mixpanelAggregateEvents: import("@keystrokehq/action").WorkflowActionDefinition<{
36
36
  to_date: string;
37
37
  from_date: string;
@@ -27,8 +27,8 @@ const MixpanelAggregateEventsInput = z.object({
27
27
  }).describe("Request model for getting aggregate event counts.");
28
28
  const MixpanelAggregateEvents_EventDataSchema = z.object({
29
29
  series: z.array(z.string()).describe("All dates included in values"),
30
- values: z.object({}).describe("Keys are the names of events, each mapping to an object containing date-to-value mappings. Each event name maps to an object where keys are date strings (YYYY-MM-DD format) and values are numeric (int for general/unique aggregations, float for average/sum).")
31
- }).describe("Model for event breakdown data structure");
30
+ values: z.record(z.string(), z.unknown()).describe("Keys are the names of events, each mapping to an object containing date-to-value mappings. Each event name maps to an object where keys are date strings (YYYY-MM-DD format) and values are numeric (int for general/unique aggregations, float for average/sum).")
31
+ }).passthrough().describe("Model for event breakdown data structure");
32
32
  const mixpanelAggregateEvents = action("MIXPANEL_AGGREGATE_EVENTS", {
33
33
  slug: "mixpanel-aggregate-events",
34
34
  name: "Get Aggregate Events",
@@ -37,7 +37,7 @@ const mixpanelAggregateEvents = action("MIXPANEL_AGGREGATE_EVENTS", {
37
37
  output: z.object({
38
38
  data: MixpanelAggregateEvents_EventDataSchema.nullable(),
39
39
  legend_size: z.number().int().describe("The number of events defined in values").nullable()
40
- }).describe("Base response model for event breakdown data")
40
+ }).passthrough().describe("Base response model for event breakdown data")
41
41
  });
42
42
  //#endregion
43
43
  export { mixpanelAggregateEvents };
@@ -1 +1 @@
1
- {"version":3,"file":"aggregate-events.mjs","names":[],"sources":["../../src/actions/aggregate-events.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelAggregateEventsInput = z.object({\n type: z.enum([\"general\", \"unique\", \"average\", \"sum\"]).default(\"general\").describe(\"Type of aggregation\").optional(),\n unit: z.enum([\"minute\", \"hour\", \"day\", \"week\", \"month\"]).default(\"day\").describe(\"Time unit for grouping results\").optional(),\n event: z.string().describe(\"Name of the event to analyze At least one of `event` or `events` must be provided per request; omitting both returns a 'Missing required parameter: event' error.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return\").optional(),\n where: z.string().describe(\"Expression to filter events\").optional(),\n events: z.array(z.string()).describe(\"List of event names to analyze\").optional(),\n to_date: z.string().describe(\"End date for the query (inclusive)\"),\n interval: z.number().int().describe(\"Time interval for the results in seconds\").optional(),\n from_date: z.string().describe(\"Start date for the query (inclusive)\"),\n project_id: z.number().int().describe(\"The ID of the project to query\"),\n workspace_id: z.number().int().describe(\"The ID of the workspace if applicable\").optional(),\n}).describe(\"Request model for getting aggregate event counts.\");\nconst MixpanelAggregateEvents_EventDataSchema = z.object({\n series: z.array(z.string()).describe(\"All dates included in values\"),\n values: z.object({}).describe(\"Keys are the names of events, each mapping to an object containing date-to-value mappings. Each event name maps to an object where keys are date strings (YYYY-MM-DD format) and values are numeric (int for general/unique aggregations, float for average/sum).\"),\n}).describe(\"Model for event breakdown data structure\");\nexport const MixpanelAggregateEventsOutput = z.object({\n data: MixpanelAggregateEvents_EventDataSchema.nullable(),\n legend_size: z.number().int().describe(\"The number of events defined in values\").nullable(),\n}).describe(\"Base response model for event breakdown data\");\n\nexport const mixpanelAggregateEvents = action(\"MIXPANEL_AGGREGATE_EVENTS\", {\n slug: \"mixpanel-aggregate-events\",\n name: \"Get Aggregate Events\",\n description: \"Get aggregate event counts over time. Supports different types of aggregation: general, unique, average, sum.\",\n input: MixpanelAggregateEventsInput,\n output: MixpanelAggregateEventsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,MAAM,EAAE,KAAK;EAAC;EAAW;EAAU;EAAW;CAAK,CAAC,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAClH,MAAM,EAAE,KAAK;EAAC;EAAU;EAAQ;EAAO;EAAQ;CAAO,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC5H,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mKAAmK,CAAC,CAAC,SAAS;CACzM,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACjF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACnE,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAChF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACjE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACzF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACrE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC;CACtE,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,0CAA0C,EAAE,OAAO;CACvD,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8BAA8B;CACnE,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mQAAmQ;AACnS,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAMtD,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV2C,EAAE,OAAO;EACpD,MAAM,wCAAwC,SAAS;EACvD,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC5F,CAAC,CAAC,CAAC,SAAS,8CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"aggregate-events.mjs","names":[],"sources":["../../src/actions/aggregate-events.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelAggregateEventsInput = z.object({\n type: z.enum([\"general\", \"unique\", \"average\", \"sum\"]).default(\"general\").describe(\"Type of aggregation\").optional(),\n unit: z.enum([\"minute\", \"hour\", \"day\", \"week\", \"month\"]).default(\"day\").describe(\"Time unit for grouping results\").optional(),\n event: z.string().describe(\"Name of the event to analyze At least one of `event` or `events` must be provided per request; omitting both returns a 'Missing required parameter: event' error.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return\").optional(),\n where: z.string().describe(\"Expression to filter events\").optional(),\n events: z.array(z.string()).describe(\"List of event names to analyze\").optional(),\n to_date: z.string().describe(\"End date for the query (inclusive)\"),\n interval: z.number().int().describe(\"Time interval for the results in seconds\").optional(),\n from_date: z.string().describe(\"Start date for the query (inclusive)\"),\n project_id: z.number().int().describe(\"The ID of the project to query\"),\n workspace_id: z.number().int().describe(\"The ID of the workspace if applicable\").optional(),\n}).describe(\"Request model for getting aggregate event counts.\");\nconst MixpanelAggregateEvents_EventDataSchema = z.object({\n series: z.array(z.string()).describe(\"All dates included in values\"),\n values: z.record(z.string(), z.unknown()).describe(\"Keys are the names of events, each mapping to an object containing date-to-value mappings. Each event name maps to an object where keys are date strings (YYYY-MM-DD format) and values are numeric (int for general/unique aggregations, float for average/sum).\"),\n}).passthrough().describe(\"Model for event breakdown data structure\");\nexport const MixpanelAggregateEventsOutput = z.object({\n data: MixpanelAggregateEvents_EventDataSchema.nullable(),\n legend_size: z.number().int().describe(\"The number of events defined in values\").nullable(),\n}).passthrough().describe(\"Base response model for event breakdown data\");\n\nexport const mixpanelAggregateEvents = action(\"MIXPANEL_AGGREGATE_EVENTS\", {\n slug: \"mixpanel-aggregate-events\",\n name: \"Get Aggregate Events\",\n description: \"Get aggregate event counts over time. Supports different types of aggregation: general, unique, average, sum.\",\n input: MixpanelAggregateEventsInput,\n output: MixpanelAggregateEventsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,MAAM,EAAE,KAAK;EAAC;EAAW;EAAU;EAAW;CAAK,CAAC,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAClH,MAAM,EAAE,KAAK;EAAC;EAAU;EAAQ;EAAO;EAAQ;CAAO,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC5H,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mKAAmK,CAAC,CAAC,SAAS;CACzM,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACjF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACnE,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAChF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACjE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACzF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACrE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC;CACtE,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,0CAA0C,EAAE,OAAO;CACvD,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8BAA8B;CACnE,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mQAAmQ;AACxT,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAMpE,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV2C,EAAE,OAAO;EACpD,MAAM,wCAAwC,SAAS;EACvD,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAOhB;AACV,CAAC"}
@@ -28,11 +28,11 @@ const MixpanelAggregatedEventPropertyValuesInput = zod.z.object({
28
28
  const MixpanelAggregatedEventPropertyValues_SeriesDataSchema = zod.z.object({
29
29
  series: zod.z.array(zod.z.string()).describe("Array of series data"),
30
30
  values: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Values data")
31
- }).describe("Model for series data");
31
+ }).passthrough().describe("Model for series data");
32
32
  const MixpanelAggregatedEventPropertyValuesOutput = zod.z.object({
33
33
  data: MixpanelAggregatedEventPropertyValues_SeriesDataSchema.nullable(),
34
34
  legend_size: zod.z.number().int().describe("Size of the legend").nullable()
35
- }).describe("Response model for aggregated event property values data");
35
+ }).passthrough().describe("Response model for aggregated event property values data");
36
36
  const mixpanelAggregatedEventPropertyValues = require_action.action("MIXPANEL_AGGREGATED_EVENT_PROPERTY_VALUES", {
37
37
  slug: "mixpanel-aggregated-event-property-values",
38
38
  name: "Get Aggregated Event Property Values",
@@ -1 +1 @@
1
- {"version":3,"file":"aggregated-event-property-values.cjs","names":["z","action"],"sources":["../../src/actions/aggregated-event-property-values.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelAggregatedEventPropertyValuesInput = z.object({\n name: z.string().describe(\"The name of the property you would like to get data for\"),\n type: z.enum([\"general\", \"unique\", \"average\"]).describe(\"The analysis type you would like to get data for\"),\n unit: z.enum([\"minute\", \"hour\", \"day\", \"week\", \"month\"]).describe(\"The level of granularity of the data\"),\n event: z.string().describe(\"The event that you wish to get data for. Note: this is a single event name, not an array\"),\n limit: z.number().int().default(255).describe(\"The maximum number of values to return\").optional(),\n format: z.enum([\"json\", \"csv\"]).default(\"json\").describe(\"Data format options for Mixpanel responses.\").optional(),\n values: z.array(z.string()).describe(\"The specific property values that you would like to get data for. Example: ['female', 'unknown']\").optional(),\n to_date: z.string().describe(\"The date in yyyy-mm-dd format to query to (inclusive)\").optional(),\n interval: z.number().int().describe(\"The number of units to return data for. Specify either interval or from_date and to_date\").optional(),\n from_date: z.string().describe(\"The date in yyyy-mm-dd format to begin querying from (inclusive)\").optional(),\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 getting aggregated event property values\");\nconst MixpanelAggregatedEventPropertyValues_SeriesDataSchema = z.object({\n series: z.array(z.string()).describe(\"Array of series data\"),\n values: z.record(z.string(), z.unknown()).describe(\"Values data\"),\n}).describe(\"Model for series data\");\nexport const MixpanelAggregatedEventPropertyValuesOutput = z.object({\n data: MixpanelAggregatedEventPropertyValues_SeriesDataSchema.nullable(),\n legend_size: z.number().int().describe(\"Size of the legend\").nullable(),\n}).describe(\"Response model for aggregated event property values data\");\n\nexport const mixpanelAggregatedEventPropertyValues = action(\"MIXPANEL_AGGREGATED_EVENT_PROPERTY_VALUES\", {\n slug: \"mixpanel-aggregated-event-property-values\",\n name: \"Get Aggregated Event Property Values\",\n description: \"Get unique, total, or average data for a single event and property over days, weeks, or months. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.\",\n input: MixpanelAggregatedEventPropertyValuesInput,\n output: MixpanelAggregatedEventPropertyValuesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6CAA6CA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACnF,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAU;CAAS,CAAC,CAAC,CAAC,SAAS,kDAAkD;CAC1G,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAQ;EAAO;EAAQ;CAAO,CAAC,CAAC,CAAC,SAAS,sCAAsC;CACxG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F;CACrH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACjG,QAAQA,IAAAA,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACjH,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;CAClJ,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC/F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACzI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC5G,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,4DAA4D;AACxE,MAAM,yDAAyDA,IAAAA,EAAE,OAAO;CACtE,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sBAAsB;CAC3D,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,aAAa;AAClE,CAAC,CAAC,CAAC,SAAS,uBAAuB;AACnC,MAAa,8CAA8CA,IAAAA,EAAE,OAAO;CAClE,MAAM,uDAAuD,SAAS;CACtE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAEtE,MAAa,wCAAwCC,eAAAA,OAAO,6CAA6C;CACvG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"aggregated-event-property-values.cjs","names":["z","action"],"sources":["../../src/actions/aggregated-event-property-values.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelAggregatedEventPropertyValuesInput = z.object({\n name: z.string().describe(\"The name of the property you would like to get data for\"),\n type: z.enum([\"general\", \"unique\", \"average\"]).describe(\"The analysis type you would like to get data for\"),\n unit: z.enum([\"minute\", \"hour\", \"day\", \"week\", \"month\"]).describe(\"The level of granularity of the data\"),\n event: z.string().describe(\"The event that you wish to get data for. Note: this is a single event name, not an array\"),\n limit: z.number().int().default(255).describe(\"The maximum number of values to return\").optional(),\n format: z.enum([\"json\", \"csv\"]).default(\"json\").describe(\"Data format options for Mixpanel responses.\").optional(),\n values: z.array(z.string()).describe(\"The specific property values that you would like to get data for. Example: ['female', 'unknown']\").optional(),\n to_date: z.string().describe(\"The date in yyyy-mm-dd format to query to (inclusive)\").optional(),\n interval: z.number().int().describe(\"The number of units to return data for. Specify either interval or from_date and to_date\").optional(),\n from_date: z.string().describe(\"The date in yyyy-mm-dd format to begin querying from (inclusive)\").optional(),\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 getting aggregated event property values\");\nconst MixpanelAggregatedEventPropertyValues_SeriesDataSchema = z.object({\n series: z.array(z.string()).describe(\"Array of series data\"),\n values: z.record(z.string(), z.unknown()).describe(\"Values data\"),\n}).passthrough().describe(\"Model for series data\");\nexport const MixpanelAggregatedEventPropertyValuesOutput = z.object({\n data: MixpanelAggregatedEventPropertyValues_SeriesDataSchema.nullable(),\n legend_size: z.number().int().describe(\"Size of the legend\").nullable(),\n}).passthrough().describe(\"Response model for aggregated event property values data\");\n\nexport const mixpanelAggregatedEventPropertyValues = action(\"MIXPANEL_AGGREGATED_EVENT_PROPERTY_VALUES\", {\n slug: \"mixpanel-aggregated-event-property-values\",\n name: \"Get Aggregated Event Property Values\",\n description: \"Get unique, total, or average data for a single event and property over days, weeks, or months. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.\",\n input: MixpanelAggregatedEventPropertyValuesInput,\n output: MixpanelAggregatedEventPropertyValuesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6CAA6CA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACnF,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAU;CAAS,CAAC,CAAC,CAAC,SAAS,kDAAkD;CAC1G,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAQ;EAAO;EAAQ;CAAO,CAAC,CAAC,CAAC,SAAS,sCAAsC;CACxG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F;CACrH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACjG,QAAQA,IAAAA,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACjH,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;CAClJ,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC/F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACzI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC5G,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,4DAA4D;AACxE,MAAM,yDAAyDA,IAAAA,EAAE,OAAO;CACtE,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sBAAsB;CAC3D,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,aAAa;AAClE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uBAAuB;AACjD,MAAa,8CAA8CA,IAAAA,EAAE,OAAO;CAClE,MAAM,uDAAuD,SAAS;CACtE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AAEpF,MAAa,wCAAwCC,eAAAA,OAAO,6CAA6C;CACvG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -32,9 +32,9 @@ declare const MixpanelAggregatedEventPropertyValuesOutput: z.ZodObject<{
32
32
  data: z.ZodNullable<z.ZodObject<{
33
33
  series: z.ZodArray<z.ZodString>;
34
34
  values: z.ZodRecord<z.ZodString, z.ZodUnknown>;
35
- }, z.core.$strip>>;
35
+ }, z.core.$loose>>;
36
36
  legend_size: z.ZodNullable<z.ZodNumber>;
37
- }, z.core.$strip>;
37
+ }, z.core.$loose>;
38
38
  declare const mixpanelAggregatedEventPropertyValues: import("@keystrokehq/action").WorkflowActionDefinition<{
39
39
  name: string;
40
40
  type: "general" | "unique" | "average";
@@ -32,9 +32,9 @@ declare const MixpanelAggregatedEventPropertyValuesOutput: z.ZodObject<{
32
32
  data: z.ZodNullable<z.ZodObject<{
33
33
  series: z.ZodArray<z.ZodString>;
34
34
  values: z.ZodRecord<z.ZodString, z.ZodUnknown>;
35
- }, z.core.$strip>>;
35
+ }, z.core.$loose>>;
36
36
  legend_size: z.ZodNullable<z.ZodNumber>;
37
- }, z.core.$strip>;
37
+ }, z.core.$loose>;
38
38
  declare const mixpanelAggregatedEventPropertyValues: import("@keystrokehq/action").WorkflowActionDefinition<{
39
39
  name: string;
40
40
  type: "general" | "unique" | "average";
@@ -28,7 +28,7 @@ const MixpanelAggregatedEventPropertyValuesInput = z.object({
28
28
  const MixpanelAggregatedEventPropertyValues_SeriesDataSchema = z.object({
29
29
  series: z.array(z.string()).describe("Array of series data"),
30
30
  values: z.record(z.string(), z.unknown()).describe("Values data")
31
- }).describe("Model for series data");
31
+ }).passthrough().describe("Model for series data");
32
32
  const mixpanelAggregatedEventPropertyValues = action("MIXPANEL_AGGREGATED_EVENT_PROPERTY_VALUES", {
33
33
  slug: "mixpanel-aggregated-event-property-values",
34
34
  name: "Get Aggregated Event Property Values",
@@ -37,7 +37,7 @@ const mixpanelAggregatedEventPropertyValues = action("MIXPANEL_AGGREGATED_EVENT_
37
37
  output: z.object({
38
38
  data: MixpanelAggregatedEventPropertyValues_SeriesDataSchema.nullable(),
39
39
  legend_size: z.number().int().describe("Size of the legend").nullable()
40
- }).describe("Response model for aggregated event property values data")
40
+ }).passthrough().describe("Response model for aggregated event property values data")
41
41
  });
42
42
  //#endregion
43
43
  export { mixpanelAggregatedEventPropertyValues };
@@ -1 +1 @@
1
- {"version":3,"file":"aggregated-event-property-values.mjs","names":[],"sources":["../../src/actions/aggregated-event-property-values.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelAggregatedEventPropertyValuesInput = z.object({\n name: z.string().describe(\"The name of the property you would like to get data for\"),\n type: z.enum([\"general\", \"unique\", \"average\"]).describe(\"The analysis type you would like to get data for\"),\n unit: z.enum([\"minute\", \"hour\", \"day\", \"week\", \"month\"]).describe(\"The level of granularity of the data\"),\n event: z.string().describe(\"The event that you wish to get data for. Note: this is a single event name, not an array\"),\n limit: z.number().int().default(255).describe(\"The maximum number of values to return\").optional(),\n format: z.enum([\"json\", \"csv\"]).default(\"json\").describe(\"Data format options for Mixpanel responses.\").optional(),\n values: z.array(z.string()).describe(\"The specific property values that you would like to get data for. Example: ['female', 'unknown']\").optional(),\n to_date: z.string().describe(\"The date in yyyy-mm-dd format to query to (inclusive)\").optional(),\n interval: z.number().int().describe(\"The number of units to return data for. Specify either interval or from_date and to_date\").optional(),\n from_date: z.string().describe(\"The date in yyyy-mm-dd format to begin querying from (inclusive)\").optional(),\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 getting aggregated event property values\");\nconst MixpanelAggregatedEventPropertyValues_SeriesDataSchema = z.object({\n series: z.array(z.string()).describe(\"Array of series data\"),\n values: z.record(z.string(), z.unknown()).describe(\"Values data\"),\n}).describe(\"Model for series data\");\nexport const MixpanelAggregatedEventPropertyValuesOutput = z.object({\n data: MixpanelAggregatedEventPropertyValues_SeriesDataSchema.nullable(),\n legend_size: z.number().int().describe(\"Size of the legend\").nullable(),\n}).describe(\"Response model for aggregated event property values data\");\n\nexport const mixpanelAggregatedEventPropertyValues = action(\"MIXPANEL_AGGREGATED_EVENT_PROPERTY_VALUES\", {\n slug: \"mixpanel-aggregated-event-property-values\",\n name: \"Get Aggregated Event Property Values\",\n description: \"Get unique, total, or average data for a single event and property over days, weeks, or months. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.\",\n input: MixpanelAggregatedEventPropertyValuesInput,\n output: MixpanelAggregatedEventPropertyValuesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6CAA6C,EAAE,OAAO;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACnF,MAAM,EAAE,KAAK;EAAC;EAAW;EAAU;CAAS,CAAC,CAAC,CAAC,SAAS,kDAAkD;CAC1G,MAAM,EAAE,KAAK;EAAC;EAAU;EAAQ;EAAO;EAAQ;CAAO,CAAC,CAAC,CAAC,SAAS,sCAAsC;CACxG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F;CACrH,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACjG,QAAQ,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACjH,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;CAClJ,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC/F,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACzI,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC5G,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;CACjG,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,yDAAyD,EAAE,OAAO;CACtE,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sBAAsB;CAC3D,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,aAAa;AAClE,CAAC,CAAC,CAAC,SAAS,uBAAuB;AAMnC,MAAa,wCAAwC,OAAO,6CAA6C;CACvG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVyD,EAAE,OAAO;EAClE,MAAM,uDAAuD,SAAS;EACtE,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CACxE,CAAC,CAAC,CAAC,SAAS,0DAOF;AACV,CAAC"}
1
+ {"version":3,"file":"aggregated-event-property-values.mjs","names":[],"sources":["../../src/actions/aggregated-event-property-values.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelAggregatedEventPropertyValuesInput = z.object({\n name: z.string().describe(\"The name of the property you would like to get data for\"),\n type: z.enum([\"general\", \"unique\", \"average\"]).describe(\"The analysis type you would like to get data for\"),\n unit: z.enum([\"minute\", \"hour\", \"day\", \"week\", \"month\"]).describe(\"The level of granularity of the data\"),\n event: z.string().describe(\"The event that you wish to get data for. Note: this is a single event name, not an array\"),\n limit: z.number().int().default(255).describe(\"The maximum number of values to return\").optional(),\n format: z.enum([\"json\", \"csv\"]).default(\"json\").describe(\"Data format options for Mixpanel responses.\").optional(),\n values: z.array(z.string()).describe(\"The specific property values that you would like to get data for. Example: ['female', 'unknown']\").optional(),\n to_date: z.string().describe(\"The date in yyyy-mm-dd format to query to (inclusive)\").optional(),\n interval: z.number().int().describe(\"The number of units to return data for. Specify either interval or from_date and to_date\").optional(),\n from_date: z.string().describe(\"The date in yyyy-mm-dd format to begin querying from (inclusive)\").optional(),\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 getting aggregated event property values\");\nconst MixpanelAggregatedEventPropertyValues_SeriesDataSchema = z.object({\n series: z.array(z.string()).describe(\"Array of series data\"),\n values: z.record(z.string(), z.unknown()).describe(\"Values data\"),\n}).passthrough().describe(\"Model for series data\");\nexport const MixpanelAggregatedEventPropertyValuesOutput = z.object({\n data: MixpanelAggregatedEventPropertyValues_SeriesDataSchema.nullable(),\n legend_size: z.number().int().describe(\"Size of the legend\").nullable(),\n}).passthrough().describe(\"Response model for aggregated event property values data\");\n\nexport const mixpanelAggregatedEventPropertyValues = action(\"MIXPANEL_AGGREGATED_EVENT_PROPERTY_VALUES\", {\n slug: \"mixpanel-aggregated-event-property-values\",\n name: \"Get Aggregated Event Property Values\",\n description: \"Get unique, total, or average data for a single event and property over days, weeks, or months. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.\",\n input: MixpanelAggregatedEventPropertyValuesInput,\n output: MixpanelAggregatedEventPropertyValuesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6CAA6C,EAAE,OAAO;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACnF,MAAM,EAAE,KAAK;EAAC;EAAW;EAAU;CAAS,CAAC,CAAC,CAAC,SAAS,kDAAkD;CAC1G,MAAM,EAAE,KAAK;EAAC;EAAU;EAAQ;EAAO;EAAQ;CAAO,CAAC,CAAC,CAAC,SAAS,sCAAsC;CACxG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F;CACrH,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACjG,QAAQ,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACjH,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;CAClJ,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC/F,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACzI,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC5G,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;CACjG,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,yDAAyD,EAAE,OAAO;CACtE,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sBAAsB;CAC3D,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,aAAa;AAClE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uBAAuB;AAMjD,MAAa,wCAAwC,OAAO,6CAA6C;CACvG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVyD,EAAE,OAAO;EAClE,MAAM,uDAAuD,SAAS;EACtE,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAOhB;AACV,CAAC"}
@@ -13,8 +13,8 @@ const MixpanelCohortsList_CohortItemSchema = zod.z.object({
13
13
  is_visible: zod.z.number().int().describe("Visibility status flag (0 = not visible, 1 = visible)").nullable(),
14
14
  project_id: zod.z.number().int().describe("Associated project ID").nullable(),
15
15
  description: zod.z.string().describe("Cohort description/details").nullable().optional()
16
- }).describe("Individual cohort details.");
17
- const MixpanelCohortsListOutput = zod.z.object({ cohorts: zod.z.array(MixpanelCohortsList_CohortItemSchema).describe("List of cohorts in the project").nullable().optional() }).describe("Response model for list cohorts data.");
16
+ }).passthrough().describe("Individual cohort details.");
17
+ const MixpanelCohortsListOutput = zod.z.object({ cohorts: zod.z.array(MixpanelCohortsList_CohortItemSchema).describe("List of cohorts in the project").nullable().optional() }).passthrough().describe("Response model for list cohorts data.");
18
18
  const mixpanelCohortsList = require_action.action("MIXPANEL_COHORTS_LIST", {
19
19
  slug: "mixpanel-cohorts-list",
20
20
  name: "List Saved Cohorts",
@@ -1 +1 @@
1
- {"version":3,"file":"cohorts-list.cjs","names":["z","action"],"sources":["../../src/actions/cohorts-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelCohortsListInput = z.object({\n project_id: z.number().int().describe(\"The ID of the project to query. Required for listing cohorts.\"),\n workspace_id: z.number().int().describe(\"The ID of the workspace if applicable.\").optional(),\n}).describe(\"Request model for listing cohorts from Mixpanel.\");\nconst MixpanelCohortsList_CohortItemSchema = z.object({\n id: z.number().int().describe(\"Unique cohort identifier\").nullable(),\n name: z.string().describe(\"The cohort's display name\").nullable(),\n count: z.number().int().describe(\"Number of users in the cohort\").nullable(),\n created: z.string().describe(\"Creation timestamp\").nullable(),\n is_visible: z.number().int().describe(\"Visibility status flag (0 = not visible, 1 = visible)\").nullable(),\n project_id: z.number().int().describe(\"Associated project ID\").nullable(),\n description: z.string().describe(\"Cohort description/details\").nullable().optional(),\n}).describe(\"Individual cohort details.\");\nexport const MixpanelCohortsListOutput = z.object({\n cohorts: z.array(MixpanelCohortsList_CohortItemSchema).describe(\"List of cohorts in the project\").nullable().optional(),\n}).describe(\"Response model for list cohorts data.\");\n\nexport const mixpanelCohortsList = action(\"MIXPANEL_COHORTS_LIST\", {\n slug: \"mixpanel-cohorts-list\",\n name: \"List Saved Cohorts\",\n description: \"Tool to list all saved cohorts in a Mixpanel project. Use when you need to retrieve cohort metadata including name, id, count, description, creation date, and visibility. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.\",\n input: MixpanelCohortsListInput,\n output: MixpanelCohortsListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D;CACrG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC3E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CAC5D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACxG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACxE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,SAAS,4BAA4B;AACxC,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,SAASA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxH,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAEnD,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"cohorts-list.cjs","names":["z","action"],"sources":["../../src/actions/cohorts-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelCohortsListInput = z.object({\n project_id: z.number().int().describe(\"The ID of the project to query. Required for listing cohorts.\"),\n workspace_id: z.number().int().describe(\"The ID of the workspace if applicable.\").optional(),\n}).describe(\"Request model for listing cohorts from Mixpanel.\");\nconst MixpanelCohortsList_CohortItemSchema = z.object({\n id: z.number().int().describe(\"Unique cohort identifier\").nullable(),\n name: z.string().describe(\"The cohort's display name\").nullable(),\n count: z.number().int().describe(\"Number of users in the cohort\").nullable(),\n created: z.string().describe(\"Creation timestamp\").nullable(),\n is_visible: z.number().int().describe(\"Visibility status flag (0 = not visible, 1 = visible)\").nullable(),\n project_id: z.number().int().describe(\"Associated project ID\").nullable(),\n description: z.string().describe(\"Cohort description/details\").nullable().optional(),\n}).passthrough().describe(\"Individual cohort details.\");\nexport const MixpanelCohortsListOutput = z.object({\n cohorts: z.array(MixpanelCohortsList_CohortItemSchema).describe(\"List of cohorts in the project\").nullable().optional(),\n}).passthrough().describe(\"Response model for list cohorts data.\");\n\nexport const mixpanelCohortsList = action(\"MIXPANEL_COHORTS_LIST\", {\n slug: \"mixpanel-cohorts-list\",\n name: \"List Saved Cohorts\",\n description: \"Tool to list all saved cohorts in a Mixpanel project. Use when you need to retrieve cohort metadata including name, id, count, description, creation date, and visibility. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.\",\n input: MixpanelCohortsListInput,\n output: MixpanelCohortsListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D;CACrG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC3E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CAC5D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACxG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACxE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4BAA4B;AACtD,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,SAASA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAEjE,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -14,8 +14,8 @@ declare const MixpanelCohortsListOutput: z.ZodObject<{
14
14
  is_visible: z.ZodNullable<z.ZodNumber>;
15
15
  project_id: z.ZodNullable<z.ZodNumber>;
16
16
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
- }, z.core.$strip>>>>;
18
- }, z.core.$strip>;
17
+ }, z.core.$loose>>>>;
18
+ }, z.core.$loose>;
19
19
  declare const mixpanelCohortsList: import("@keystrokehq/action").WorkflowActionDefinition<{
20
20
  project_id: number;
21
21
  workspace_id?: number | undefined;
@@ -14,8 +14,8 @@ declare const MixpanelCohortsListOutput: z.ZodObject<{
14
14
  is_visible: z.ZodNullable<z.ZodNumber>;
15
15
  project_id: z.ZodNullable<z.ZodNumber>;
16
16
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
- }, z.core.$strip>>>>;
18
- }, z.core.$strip>;
17
+ }, z.core.$loose>>>>;
18
+ }, z.core.$loose>;
19
19
  declare const mixpanelCohortsList: import("@keystrokehq/action").WorkflowActionDefinition<{
20
20
  project_id: number;
21
21
  workspace_id?: number | undefined;
@@ -13,13 +13,13 @@ const MixpanelCohortsList_CohortItemSchema = z.object({
13
13
  is_visible: z.number().int().describe("Visibility status flag (0 = not visible, 1 = visible)").nullable(),
14
14
  project_id: z.number().int().describe("Associated project ID").nullable(),
15
15
  description: z.string().describe("Cohort description/details").nullable().optional()
16
- }).describe("Individual cohort details.");
16
+ }).passthrough().describe("Individual cohort details.");
17
17
  const mixpanelCohortsList = action("MIXPANEL_COHORTS_LIST", {
18
18
  slug: "mixpanel-cohorts-list",
19
19
  name: "List Saved Cohorts",
20
20
  description: "Tool to list all saved cohorts in a Mixpanel project. Use when you need to retrieve cohort metadata including name, id, count, description, creation date, and visibility. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.",
21
21
  input: MixpanelCohortsListInput,
22
- output: z.object({ cohorts: z.array(MixpanelCohortsList_CohortItemSchema).describe("List of cohorts in the project").nullable().optional() }).describe("Response model for list cohorts data.")
22
+ output: z.object({ cohorts: z.array(MixpanelCohortsList_CohortItemSchema).describe("List of cohorts in the project").nullable().optional() }).passthrough().describe("Response model for list cohorts data.")
23
23
  });
24
24
  //#endregion
25
25
  export { mixpanelCohortsList };
@@ -1 +1 @@
1
- {"version":3,"file":"cohorts-list.mjs","names":[],"sources":["../../src/actions/cohorts-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelCohortsListInput = z.object({\n project_id: z.number().int().describe(\"The ID of the project to query. Required for listing cohorts.\"),\n workspace_id: z.number().int().describe(\"The ID of the workspace if applicable.\").optional(),\n}).describe(\"Request model for listing cohorts from Mixpanel.\");\nconst MixpanelCohortsList_CohortItemSchema = z.object({\n id: z.number().int().describe(\"Unique cohort identifier\").nullable(),\n name: z.string().describe(\"The cohort's display name\").nullable(),\n count: z.number().int().describe(\"Number of users in the cohort\").nullable(),\n created: z.string().describe(\"Creation timestamp\").nullable(),\n is_visible: z.number().int().describe(\"Visibility status flag (0 = not visible, 1 = visible)\").nullable(),\n project_id: z.number().int().describe(\"Associated project ID\").nullable(),\n description: z.string().describe(\"Cohort description/details\").nullable().optional(),\n}).describe(\"Individual cohort details.\");\nexport const MixpanelCohortsListOutput = z.object({\n cohorts: z.array(MixpanelCohortsList_CohortItemSchema).describe(\"List of cohorts in the project\").nullable().optional(),\n}).describe(\"Response model for list cohorts data.\");\n\nexport const mixpanelCohortsList = action(\"MIXPANEL_COHORTS_LIST\", {\n slug: \"mixpanel-cohorts-list\",\n name: \"List Saved Cohorts\",\n description: \"Tool to list all saved cohorts in a Mixpanel project. Use when you need to retrieve cohort metadata including name, id, count, description, creation date, and visibility. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.\",\n input: MixpanelCohortsListInput,\n output: MixpanelCohortsListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D;CACrG,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,uCAAuC,EAAE,OAAO;CACpD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC3E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CAC5D,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACxG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACxE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,SAAS,4BAA4B;AAKxC,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATuC,EAAE,OAAO,EAChD,SAAS,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxH,CAAC,CAAC,CAAC,SAAS,uCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"cohorts-list.mjs","names":[],"sources":["../../src/actions/cohorts-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelCohortsListInput = z.object({\n project_id: z.number().int().describe(\"The ID of the project to query. Required for listing cohorts.\"),\n workspace_id: z.number().int().describe(\"The ID of the workspace if applicable.\").optional(),\n}).describe(\"Request model for listing cohorts from Mixpanel.\");\nconst MixpanelCohortsList_CohortItemSchema = z.object({\n id: z.number().int().describe(\"Unique cohort identifier\").nullable(),\n name: z.string().describe(\"The cohort's display name\").nullable(),\n count: z.number().int().describe(\"Number of users in the cohort\").nullable(),\n created: z.string().describe(\"Creation timestamp\").nullable(),\n is_visible: z.number().int().describe(\"Visibility status flag (0 = not visible, 1 = visible)\").nullable(),\n project_id: z.number().int().describe(\"Associated project ID\").nullable(),\n description: z.string().describe(\"Cohort description/details\").nullable().optional(),\n}).passthrough().describe(\"Individual cohort details.\");\nexport const MixpanelCohortsListOutput = z.object({\n cohorts: z.array(MixpanelCohortsList_CohortItemSchema).describe(\"List of cohorts in the project\").nullable().optional(),\n}).passthrough().describe(\"Response model for list cohorts data.\");\n\nexport const mixpanelCohortsList = action(\"MIXPANEL_COHORTS_LIST\", {\n slug: \"mixpanel-cohorts-list\",\n name: \"List Saved Cohorts\",\n description: \"Tool to list all saved cohorts in a Mixpanel project. Use when you need to retrieve cohort metadata including name, id, count, description, creation date, and visibility. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.\",\n input: MixpanelCohortsListInput,\n output: MixpanelCohortsListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D;CACrG,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,uCAAuC,EAAE,OAAO;CACpD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC3E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CAC5D,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACxG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACxE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4BAA4B;AAKtD,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATuC,EAAE,OAAO,EAChD,SAAS,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAOhB;AACV,CAAC"}
@@ -10,7 +10,7 @@ const MixpanelCreateAnnotationTagOutput = zod.z.object({
10
10
  name: zod.z.string().describe("The name of the created annotation tag").nullable(),
11
11
  project_id: zod.z.number().int().describe("The project identifier this tag belongs to").nullable(),
12
12
  has_annotations: zod.z.boolean().default(false).describe("Indicates whether the tag is currently attached to any annotations").nullable().optional()
13
- }).describe("Response model for the created annotation tag.");
13
+ }).passthrough().describe("Response model for the created annotation tag.");
14
14
  const mixpanelCreateAnnotationTag = require_action.action("MIXPANEL_CREATE_ANNOTATION_TAG", {
15
15
  slug: "mixpanel-create-annotation-tag",
16
16
  name: "Create Annotation Tag",
@@ -1 +1 @@
1
- {"version":3,"file":"create-annotation-tag.cjs","names":["z","action"],"sources":["../../src/actions/create-annotation-tag.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelCreateAnnotationTagInput = z.object({\n name: z.string().describe(\"The name of the annotation tag to create\"),\n project_id: z.string().describe(\"The project identifier where the annotation tag will be created\"),\n}).describe(\"Request model for creating a new annotation tag in Mixpanel.\");\nexport const MixpanelCreateAnnotationTagOutput = z.object({\n id: z.number().int().describe(\"The unique identifier of the created annotation tag\").nullable(),\n name: z.string().describe(\"The name of the created annotation tag\").nullable(),\n project_id: z.number().int().describe(\"The project identifier this tag belongs to\").nullable(),\n has_annotations: z.boolean().default(false).describe(\"Indicates whether the tag is currently attached to any annotations\").nullable().optional(),\n}).describe(\"Response model for the created annotation tag.\");\n\nexport const mixpanelCreateAnnotationTag = action(\"MIXPANEL_CREATE_ANNOTATION_TAG\", {\n slug: \"mixpanel-create-annotation-tag\",\n name: \"Create Annotation Tag\",\n description: \"Tool to create a new annotation tag in Mixpanel using the provided name. Use when you need to create tags for organizing and categorizing annotations. Requires a role of at least Analyst.\",\n input: MixpanelCreateAnnotationTagInput,\n output: MixpanelCreateAnnotationTagOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CACpE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;AACnG,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC9F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC7E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC7F,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjJ,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAE5D,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-annotation-tag.cjs","names":["z","action"],"sources":["../../src/actions/create-annotation-tag.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelCreateAnnotationTagInput = z.object({\n name: z.string().describe(\"The name of the annotation tag to create\"),\n project_id: z.string().describe(\"The project identifier where the annotation tag will be created\"),\n}).describe(\"Request model for creating a new annotation tag in Mixpanel.\");\nexport const MixpanelCreateAnnotationTagOutput = z.object({\n id: z.number().int().describe(\"The unique identifier of the created annotation tag\").nullable(),\n name: z.string().describe(\"The name of the created annotation tag\").nullable(),\n project_id: z.number().int().describe(\"The project identifier this tag belongs to\").nullable(),\n has_annotations: z.boolean().default(false).describe(\"Indicates whether the tag is currently attached to any annotations\").nullable().optional(),\n}).passthrough().describe(\"Response model for the created annotation tag.\");\n\nexport const mixpanelCreateAnnotationTag = action(\"MIXPANEL_CREATE_ANNOTATION_TAG\", {\n slug: \"mixpanel-create-annotation-tag\",\n name: \"Create Annotation Tag\",\n description: \"Tool to create a new annotation tag in Mixpanel using the provided name. Use when you need to create tags for organizing and categorizing annotations. Requires a role of at least Analyst.\",\n input: MixpanelCreateAnnotationTagInput,\n output: MixpanelCreateAnnotationTagOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CACpE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;AACnG,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC9F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC7E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC7F,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -10,7 +10,7 @@ declare const MixpanelCreateAnnotationTagOutput: z.ZodObject<{
10
10
  name: z.ZodNullable<z.ZodString>;
11
11
  project_id: z.ZodNullable<z.ZodNumber>;
12
12
  has_annotations: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
13
- }, z.core.$strip>;
13
+ }, z.core.$loose>;
14
14
  declare const mixpanelCreateAnnotationTag: import("@keystrokehq/action").WorkflowActionDefinition<{
15
15
  name: string;
16
16
  project_id: string;
@@ -10,7 +10,7 @@ declare const MixpanelCreateAnnotationTagOutput: z.ZodObject<{
10
10
  name: z.ZodNullable<z.ZodString>;
11
11
  project_id: z.ZodNullable<z.ZodNumber>;
12
12
  has_annotations: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
13
- }, z.core.$strip>;
13
+ }, z.core.$loose>;
14
14
  declare const mixpanelCreateAnnotationTag: import("@keystrokehq/action").WorkflowActionDefinition<{
15
15
  name: string;
16
16
  project_id: string;
@@ -13,7 +13,7 @@ const mixpanelCreateAnnotationTag = action("MIXPANEL_CREATE_ANNOTATION_TAG", {
13
13
  name: z.string().describe("The name of the created annotation tag").nullable(),
14
14
  project_id: z.number().int().describe("The project identifier this tag belongs to").nullable(),
15
15
  has_annotations: z.boolean().default(false).describe("Indicates whether the tag is currently attached to any annotations").nullable().optional()
16
- }).describe("Response model for the created annotation tag.")
16
+ }).passthrough().describe("Response model for the created annotation tag.")
17
17
  });
18
18
  //#endregion
19
19
  export { mixpanelCreateAnnotationTag };
@@ -1 +1 @@
1
- {"version":3,"file":"create-annotation-tag.mjs","names":[],"sources":["../../src/actions/create-annotation-tag.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelCreateAnnotationTagInput = z.object({\n name: z.string().describe(\"The name of the annotation tag to create\"),\n project_id: z.string().describe(\"The project identifier where the annotation tag will be created\"),\n}).describe(\"Request model for creating a new annotation tag in Mixpanel.\");\nexport const MixpanelCreateAnnotationTagOutput = z.object({\n id: z.number().int().describe(\"The unique identifier of the created annotation tag\").nullable(),\n name: z.string().describe(\"The name of the created annotation tag\").nullable(),\n project_id: z.number().int().describe(\"The project identifier this tag belongs to\").nullable(),\n has_annotations: z.boolean().default(false).describe(\"Indicates whether the tag is currently attached to any annotations\").nullable().optional(),\n}).describe(\"Response model for the created annotation tag.\");\n\nexport const mixpanelCreateAnnotationTag = action(\"MIXPANEL_CREATE_ANNOTATION_TAG\", {\n slug: \"mixpanel-create-annotation-tag\",\n name: \"Create Annotation Tag\",\n description: \"Tool to create a new annotation tag in Mixpanel using the provided name. Use when you need to create tags for organizing and categorizing annotations. Requires a role of at least Analyst.\",\n input: MixpanelCreateAnnotationTagInput,\n output: MixpanelCreateAnnotationTagOutput,\n});\n"],"mappings":";;AAeA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf8C,EAAE,OAAO;EACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;EACpE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;CACnG,CAAC,CAAC,CAAC,SAAS,8DAYH;CACP,QAZ+C,EAAE,OAAO;EACxD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EAC9F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAC7E,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EAC7F,iBAAiB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjJ,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-annotation-tag.mjs","names":[],"sources":["../../src/actions/create-annotation-tag.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelCreateAnnotationTagInput = z.object({\n name: z.string().describe(\"The name of the annotation tag to create\"),\n project_id: z.string().describe(\"The project identifier where the annotation tag will be created\"),\n}).describe(\"Request model for creating a new annotation tag in Mixpanel.\");\nexport const MixpanelCreateAnnotationTagOutput = z.object({\n id: z.number().int().describe(\"The unique identifier of the created annotation tag\").nullable(),\n name: z.string().describe(\"The name of the created annotation tag\").nullable(),\n project_id: z.number().int().describe(\"The project identifier this tag belongs to\").nullable(),\n has_annotations: z.boolean().default(false).describe(\"Indicates whether the tag is currently attached to any annotations\").nullable().optional(),\n}).passthrough().describe(\"Response model for the created annotation tag.\");\n\nexport const mixpanelCreateAnnotationTag = action(\"MIXPANEL_CREATE_ANNOTATION_TAG\", {\n slug: \"mixpanel-create-annotation-tag\",\n name: \"Create Annotation Tag\",\n description: \"Tool to create a new annotation tag in Mixpanel using the provided name. Use when you need to create tags for organizing and categorizing annotations. Requires a role of at least Analyst.\",\n input: MixpanelCreateAnnotationTagInput,\n output: MixpanelCreateAnnotationTagOutput,\n});\n"],"mappings":";;AAeA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf8C,EAAE,OAAO;EACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;EACpE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;CACnG,CAAC,CAAC,CAAC,SAAS,8DAYH;CACP,QAZ+C,EAAE,OAAO;EACxD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EAC9F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAC7E,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EAC7F,iBAAiB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAOhB;AACV,CAAC"}
@@ -11,7 +11,7 @@ const MixpanelCreateIdentityInput = zod.z.object({
11
11
  const MixpanelCreateIdentityOutput = zod.z.object({
12
12
  error: zod.z.string().describe("Error message if the request failed, null if successful.").nullable().optional(),
13
13
  status: zod.z.union([zod.z.number().int(), zod.z.string()])
14
- }).describe("Response model for identity creation.");
14
+ }).passthrough().describe("Response model for identity creation.");
15
15
  const mixpanelCreateIdentity = require_action.action("MIXPANEL_CREATE_IDENTITY", {
16
16
  slug: "mixpanel-create-identity",
17
17
  name: "Create Identity",
@@ -1 +1 @@
1
- {"version":3,"file":"create-identity.cjs","names":["z","action"],"sources":["../../src/actions/create-identity.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelCreateIdentityInput = z.object({\n token: z.string().describe(\"Project authentication token for client-side authentication.\"),\n strict: z.union([z.literal(0), z.literal(1)]).describe(\"Validation mode for the request.\").optional(),\n anon_id: z.string().describe(\"The anonymous ID (UUID v4 format) to be linked with the identified user ID. This is typically the ID used before the user authenticated.\"),\n distinct_id: z.string().describe(\"Optional distinct ID. If provided, this will be used as the post-ID for the identity.\").optional(),\n identified_id: z.string().describe(\"The identified user ID to link with the anonymous ID. This is typically the user's ID after they sign up or log in.\"),\n}).describe(\"Request model for creating an identity in Mixpanel.\");\nexport const MixpanelCreateIdentityOutput = z.object({\n error: z.string().describe(\"Error message if the request failed, null if successful.\").nullable().optional(),\n status: z.union([z.number().int(), z.string()]),\n}).describe(\"Response model for identity creation.\");\n\nexport const mixpanelCreateIdentity = action(\"MIXPANEL_CREATE_IDENTITY\", {\n slug: \"mixpanel-create-identity\",\n name: \"Create Identity\",\n description: \"Tool to create an identity mapping in Mixpanel by linking an anonymous ID with an identified user ID. Use when you need to connect pre-login anonymous activity with post-login identified user activity. This operation is typically performed after user authentication to associate all previous anonymous events with the user's identified profile.\",\n input: MixpanelCreateIdentityInput,\n output: MixpanelCreateIdentityOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;CACzF,QAAQA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,QAAQ,CAAC,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACpG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I;CACvK,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CACnI,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH;AAC1J,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,QAAQA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC;AAChD,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAEnD,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-identity.cjs","names":["z","action"],"sources":["../../src/actions/create-identity.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelCreateIdentityInput = z.object({\n token: z.string().describe(\"Project authentication token for client-side authentication.\"),\n strict: z.union([z.literal(0), z.literal(1)]).describe(\"Validation mode for the request.\").optional(),\n anon_id: z.string().describe(\"The anonymous ID (UUID v4 format) to be linked with the identified user ID. This is typically the ID used before the user authenticated.\"),\n distinct_id: z.string().describe(\"Optional distinct ID. If provided, this will be used as the post-ID for the identity.\").optional(),\n identified_id: z.string().describe(\"The identified user ID to link with the anonymous ID. This is typically the user's ID after they sign up or log in.\"),\n}).describe(\"Request model for creating an identity in Mixpanel.\");\nexport const MixpanelCreateIdentityOutput = z.object({\n error: z.string().describe(\"Error message if the request failed, null if successful.\").nullable().optional(),\n status: z.union([z.number().int(), z.string()]),\n}).passthrough().describe(\"Response model for identity creation.\");\n\nexport const mixpanelCreateIdentity = action(\"MIXPANEL_CREATE_IDENTITY\", {\n slug: \"mixpanel-create-identity\",\n name: \"Create Identity\",\n description: \"Tool to create an identity mapping in Mixpanel by linking an anonymous ID with an identified user ID. Use when you need to connect pre-login anonymous activity with post-login identified user activity. This operation is typically performed after user authentication to associate all previous anonymous events with the user's identified profile.\",\n input: MixpanelCreateIdentityInput,\n output: MixpanelCreateIdentityOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;CACzF,QAAQA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,QAAQ,CAAC,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACpG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I;CACvK,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CACnI,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH;AAC1J,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,QAAQA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC;AAChD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAEjE,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}