@keystrokehq/mixpanel 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (310) hide show
  1. package/README.md +1 -1
  2. package/dist/action.cjs.map +1 -1
  3. package/dist/action.mjs.map +1 -1
  4. package/dist/actions/add-unique-to-profile-list-property.cjs.map +1 -1
  5. package/dist/actions/add-unique-to-profile-list-property.d.cts +30 -3
  6. package/dist/actions/add-unique-to-profile-list-property.d.cts.map +1 -1
  7. package/dist/actions/add-unique-to-profile-list-property.d.mts +30 -3
  8. package/dist/actions/add-unique-to-profile-list-property.d.mts.map +1 -1
  9. package/dist/actions/add-unique-to-profile-list-property.mjs.map +1 -1
  10. package/dist/actions/aggregate-events.cjs +1 -1
  11. package/dist/actions/aggregate-events.cjs.map +1 -1
  12. package/dist/actions/aggregate-events.d.cts +44 -3
  13. package/dist/actions/aggregate-events.d.cts.map +1 -1
  14. package/dist/actions/aggregate-events.d.mts +44 -3
  15. package/dist/actions/aggregate-events.d.mts.map +1 -1
  16. package/dist/actions/aggregate-events.mjs +1 -1
  17. package/dist/actions/aggregate-events.mjs.map +1 -1
  18. package/dist/actions/aggregated-event-property-values.cjs +1 -1
  19. package/dist/actions/aggregated-event-property-values.cjs.map +1 -1
  20. package/dist/actions/aggregated-event-property-values.d.cts +48 -3
  21. package/dist/actions/aggregated-event-property-values.d.cts.map +1 -1
  22. package/dist/actions/aggregated-event-property-values.d.mts +48 -3
  23. package/dist/actions/aggregated-event-property-values.d.mts.map +1 -1
  24. package/dist/actions/aggregated-event-property-values.mjs +1 -1
  25. package/dist/actions/aggregated-event-property-values.mjs.map +1 -1
  26. package/dist/actions/cohorts-list.cjs +6 -6
  27. package/dist/actions/cohorts-list.cjs.map +1 -1
  28. package/dist/actions/cohorts-list.d.cts +19 -3
  29. package/dist/actions/cohorts-list.d.cts.map +1 -1
  30. package/dist/actions/cohorts-list.d.mts +19 -3
  31. package/dist/actions/cohorts-list.d.mts.map +1 -1
  32. package/dist/actions/cohorts-list.mjs +6 -6
  33. package/dist/actions/cohorts-list.mjs.map +1 -1
  34. package/dist/actions/create-annotation-tag.cjs +3 -3
  35. package/dist/actions/create-annotation-tag.cjs.map +1 -1
  36. package/dist/actions/create-annotation-tag.d.cts +14 -3
  37. package/dist/actions/create-annotation-tag.d.cts.map +1 -1
  38. package/dist/actions/create-annotation-tag.d.mts +14 -3
  39. package/dist/actions/create-annotation-tag.d.mts.map +1 -1
  40. package/dist/actions/create-annotation-tag.mjs +3 -3
  41. package/dist/actions/create-annotation-tag.mjs.map +1 -1
  42. package/dist/actions/create-identity.cjs.map +1 -1
  43. package/dist/actions/create-identity.d.cts +18 -3
  44. package/dist/actions/create-identity.d.cts.map +1 -1
  45. package/dist/actions/create-identity.d.mts +18 -3
  46. package/dist/actions/create-identity.d.mts.map +1 -1
  47. package/dist/actions/create-identity.mjs.map +1 -1
  48. package/dist/actions/create-service-account.cjs +6 -6
  49. package/dist/actions/create-service-account.cjs.map +1 -1
  50. package/dist/actions/create-service-account.d.cts +43 -3
  51. package/dist/actions/create-service-account.d.cts.map +1 -1
  52. package/dist/actions/create-service-account.d.mts +43 -3
  53. package/dist/actions/create-service-account.d.mts.map +1 -1
  54. package/dist/actions/create-service-account.mjs +6 -6
  55. package/dist/actions/create-service-account.mjs.map +1 -1
  56. package/dist/actions/delete-group.cjs.map +1 -1
  57. package/dist/actions/delete-group.d.cts +16 -3
  58. package/dist/actions/delete-group.d.cts.map +1 -1
  59. package/dist/actions/delete-group.d.mts +16 -3
  60. package/dist/actions/delete-group.d.mts.map +1 -1
  61. package/dist/actions/delete-group.mjs.map +1 -1
  62. package/dist/actions/delete-profile-batch.cjs.map +1 -1
  63. package/dist/actions/delete-profile-batch.d.cts +20 -3
  64. package/dist/actions/delete-profile-batch.d.cts.map +1 -1
  65. package/dist/actions/delete-profile-batch.d.mts +20 -3
  66. package/dist/actions/delete-profile-batch.d.mts.map +1 -1
  67. package/dist/actions/delete-profile-batch.mjs.map +1 -1
  68. package/dist/actions/delete-profile-property.cjs.map +1 -1
  69. package/dist/actions/delete-profile-property.d.cts +22 -3
  70. package/dist/actions/delete-profile-property.d.cts.map +1 -1
  71. package/dist/actions/delete-profile-property.d.mts +22 -3
  72. package/dist/actions/delete-profile-property.d.mts.map +1 -1
  73. package/dist/actions/delete-profile-property.mjs.map +1 -1
  74. package/dist/actions/delete-profile.cjs.map +1 -1
  75. package/dist/actions/delete-profile.d.cts +17 -3
  76. package/dist/actions/delete-profile.d.cts.map +1 -1
  77. package/dist/actions/delete-profile.d.mts +17 -3
  78. package/dist/actions/delete-profile.d.mts.map +1 -1
  79. package/dist/actions/delete-profile.mjs.map +1 -1
  80. package/dist/actions/get-all-projects.cjs.map +1 -1
  81. package/dist/actions/get-all-projects.d.cts +5 -3
  82. package/dist/actions/get-all-projects.d.cts.map +1 -1
  83. package/dist/actions/get-all-projects.d.mts +5 -3
  84. package/dist/actions/get-all-projects.d.mts.map +1 -1
  85. package/dist/actions/get-all-projects.mjs.map +1 -1
  86. package/dist/actions/get-annotation-tags-alt1.cjs +4 -4
  87. package/dist/actions/get-annotation-tags-alt1.cjs.map +1 -1
  88. package/dist/actions/get-annotation-tags-alt1.d.cts +14 -3
  89. package/dist/actions/get-annotation-tags-alt1.d.cts.map +1 -1
  90. package/dist/actions/get-annotation-tags-alt1.d.mts +14 -3
  91. package/dist/actions/get-annotation-tags-alt1.d.mts.map +1 -1
  92. package/dist/actions/get-annotation-tags-alt1.mjs +4 -4
  93. package/dist/actions/get-annotation-tags-alt1.mjs.map +1 -1
  94. package/dist/actions/group-batch-update.cjs +2 -2
  95. package/dist/actions/group-batch-update.cjs.map +1 -1
  96. package/dist/actions/group-batch-update.d.cts +37 -3
  97. package/dist/actions/group-batch-update.d.cts.map +1 -1
  98. package/dist/actions/group-batch-update.d.mts +37 -3
  99. package/dist/actions/group-batch-update.d.mts.map +1 -1
  100. package/dist/actions/group-batch-update.mjs +2 -2
  101. package/dist/actions/group-batch-update.mjs.map +1 -1
  102. package/dist/actions/group-delete-property.cjs +1 -1
  103. package/dist/actions/group-delete-property.cjs.map +1 -1
  104. package/dist/actions/group-delete-property.d.cts +17 -3
  105. package/dist/actions/group-delete-property.d.cts.map +1 -1
  106. package/dist/actions/group-delete-property.d.mts +17 -3
  107. package/dist/actions/group-delete-property.d.mts.map +1 -1
  108. package/dist/actions/group-delete-property.mjs +1 -1
  109. package/dist/actions/group-delete-property.mjs.map +1 -1
  110. package/dist/actions/identity-create-alias.cjs +1 -1
  111. package/dist/actions/identity-create-alias.cjs.map +1 -1
  112. package/dist/actions/identity-create-alias.d.cts +13 -3
  113. package/dist/actions/identity-create-alias.d.cts.map +1 -1
  114. package/dist/actions/identity-create-alias.d.mts +13 -3
  115. package/dist/actions/identity-create-alias.d.mts.map +1 -1
  116. package/dist/actions/identity-create-alias.mjs +1 -1
  117. package/dist/actions/identity-create-alias.mjs.map +1 -1
  118. package/dist/actions/jql-query.cjs.map +1 -1
  119. package/dist/actions/jql-query.d.cts +15 -3
  120. package/dist/actions/jql-query.d.cts.map +1 -1
  121. package/dist/actions/jql-query.d.mts +15 -3
  122. package/dist/actions/jql-query.d.mts.map +1 -1
  123. package/dist/actions/jql-query.mjs.map +1 -1
  124. package/dist/actions/list-funnels.cjs +2 -2
  125. package/dist/actions/list-funnels.cjs.map +1 -1
  126. package/dist/actions/list-funnels.d.cts +14 -3
  127. package/dist/actions/list-funnels.d.cts.map +1 -1
  128. package/dist/actions/list-funnels.d.mts +14 -3
  129. package/dist/actions/list-funnels.d.mts.map +1 -1
  130. package/dist/actions/list-funnels.mjs +2 -2
  131. package/dist/actions/list-funnels.mjs.map +1 -1
  132. package/dist/actions/list-service-accounts.cjs +3 -3
  133. package/dist/actions/list-service-accounts.cjs.map +1 -1
  134. package/dist/actions/list-service-accounts.d.cts +18 -3
  135. package/dist/actions/list-service-accounts.d.cts.map +1 -1
  136. package/dist/actions/list-service-accounts.d.mts +18 -3
  137. package/dist/actions/list-service-accounts.d.mts.map +1 -1
  138. package/dist/actions/list-service-accounts.mjs +3 -3
  139. package/dist/actions/list-service-accounts.mjs.map +1 -1
  140. package/dist/actions/profile-append-to-list-property.cjs.map +1 -1
  141. package/dist/actions/profile-append-to-list-property.d.cts +24 -3
  142. package/dist/actions/profile-append-to-list-property.d.cts.map +1 -1
  143. package/dist/actions/profile-append-to-list-property.d.mts +24 -3
  144. package/dist/actions/profile-append-to-list-property.d.mts.map +1 -1
  145. package/dist/actions/profile-append-to-list-property.mjs.map +1 -1
  146. package/dist/actions/profile-batch-update.cjs +2 -2
  147. package/dist/actions/profile-batch-update.cjs.map +1 -1
  148. package/dist/actions/profile-batch-update.d.cts +46 -3
  149. package/dist/actions/profile-batch-update.d.cts.map +1 -1
  150. package/dist/actions/profile-batch-update.d.mts +46 -3
  151. package/dist/actions/profile-batch-update.d.mts.map +1 -1
  152. package/dist/actions/profile-batch-update.mjs +2 -2
  153. package/dist/actions/profile-batch-update.mjs.map +1 -1
  154. package/dist/actions/profile-event-activity.cjs +2 -2
  155. package/dist/actions/profile-event-activity.cjs.map +1 -1
  156. package/dist/actions/profile-event-activity.d.cts +59 -3
  157. package/dist/actions/profile-event-activity.d.cts.map +1 -1
  158. package/dist/actions/profile-event-activity.d.mts +59 -3
  159. package/dist/actions/profile-event-activity.d.mts.map +1 -1
  160. package/dist/actions/profile-event-activity.mjs +2 -2
  161. package/dist/actions/profile-event-activity.mjs.map +1 -1
  162. package/dist/actions/profile-numerical-add.cjs.map +1 -1
  163. package/dist/actions/profile-numerical-add.d.cts +22 -3
  164. package/dist/actions/profile-numerical-add.d.cts.map +1 -1
  165. package/dist/actions/profile-numerical-add.d.mts +22 -3
  166. package/dist/actions/profile-numerical-add.d.mts.map +1 -1
  167. package/dist/actions/profile-numerical-add.mjs.map +1 -1
  168. package/dist/actions/profile-remove-from-list-property.cjs.map +1 -1
  169. package/dist/actions/profile-remove-from-list-property.d.cts +24 -3
  170. package/dist/actions/profile-remove-from-list-property.d.cts.map +1 -1
  171. package/dist/actions/profile-remove-from-list-property.d.mts +24 -3
  172. package/dist/actions/profile-remove-from-list-property.d.mts.map +1 -1
  173. package/dist/actions/profile-remove-from-list-property.mjs.map +1 -1
  174. package/dist/actions/profile-set.cjs.map +1 -1
  175. package/dist/actions/profile-set.d.cts +20 -3
  176. package/dist/actions/profile-set.d.cts.map +1 -1
  177. package/dist/actions/profile-set.d.mts +20 -3
  178. package/dist/actions/profile-set.d.mts.map +1 -1
  179. package/dist/actions/profile-set.mjs.map +1 -1
  180. package/dist/actions/query-frequency-report.cjs.map +1 -1
  181. package/dist/actions/query-frequency-report.d.cts +34 -3
  182. package/dist/actions/query-frequency-report.d.cts.map +1 -1
  183. package/dist/actions/query-frequency-report.d.mts +34 -3
  184. package/dist/actions/query-frequency-report.d.mts.map +1 -1
  185. package/dist/actions/query-frequency-report.mjs.map +1 -1
  186. package/dist/actions/query-funnel.cjs.map +1 -1
  187. package/dist/actions/query-funnel.d.cts +43 -3
  188. package/dist/actions/query-funnel.d.cts.map +1 -1
  189. package/dist/actions/query-funnel.d.mts +43 -3
  190. package/dist/actions/query-funnel.d.mts.map +1 -1
  191. package/dist/actions/query-funnel.mjs.map +1 -1
  192. package/dist/actions/query-insight.cjs +3 -3
  193. package/dist/actions/query-insight.cjs.map +1 -1
  194. package/dist/actions/query-insight.d.cts +19 -3
  195. package/dist/actions/query-insight.d.cts.map +1 -1
  196. package/dist/actions/query-insight.d.mts +19 -3
  197. package/dist/actions/query-insight.d.mts.map +1 -1
  198. package/dist/actions/query-insight.mjs +3 -3
  199. package/dist/actions/query-insight.mjs.map +1 -1
  200. package/dist/actions/query-numeric-average.cjs +1 -1
  201. package/dist/actions/query-numeric-average.cjs.map +1 -1
  202. package/dist/actions/query-numeric-average.d.cts +27 -3
  203. package/dist/actions/query-numeric-average.d.cts.map +1 -1
  204. package/dist/actions/query-numeric-average.d.mts +27 -3
  205. package/dist/actions/query-numeric-average.d.mts.map +1 -1
  206. package/dist/actions/query-numeric-average.mjs +1 -1
  207. package/dist/actions/query-numeric-average.mjs.map +1 -1
  208. package/dist/actions/query-numeric-sum.cjs +2 -2
  209. package/dist/actions/query-numeric-sum.cjs.map +1 -1
  210. package/dist/actions/query-numeric-sum.d.cts +28 -3
  211. package/dist/actions/query-numeric-sum.d.cts.map +1 -1
  212. package/dist/actions/query-numeric-sum.d.mts +28 -3
  213. package/dist/actions/query-numeric-sum.d.mts.map +1 -1
  214. package/dist/actions/query-numeric-sum.mjs +2 -2
  215. package/dist/actions/query-numeric-sum.mjs.map +1 -1
  216. package/dist/actions/query-profiles.cjs +6 -6
  217. package/dist/actions/query-profiles.cjs.map +1 -1
  218. package/dist/actions/query-profiles.d.cts +41 -3
  219. package/dist/actions/query-profiles.d.cts.map +1 -1
  220. package/dist/actions/query-profiles.d.mts +41 -3
  221. package/dist/actions/query-profiles.d.mts.map +1 -1
  222. package/dist/actions/query-profiles.mjs +6 -6
  223. package/dist/actions/query-profiles.mjs.map +1 -1
  224. package/dist/actions/query-retention-report.cjs.map +1 -1
  225. package/dist/actions/query-retention-report.d.cts +42 -3
  226. package/dist/actions/query-retention-report.d.cts.map +1 -1
  227. package/dist/actions/query-retention-report.d.mts +42 -3
  228. package/dist/actions/query-retention-report.d.mts.map +1 -1
  229. package/dist/actions/query-retention-report.mjs.map +1 -1
  230. package/dist/actions/query-segmentation.cjs +1 -1
  231. package/dist/actions/query-segmentation.cjs.map +1 -1
  232. package/dist/actions/query-segmentation.d.cts +40 -3
  233. package/dist/actions/query-segmentation.d.cts.map +1 -1
  234. package/dist/actions/query-segmentation.d.mts +40 -3
  235. package/dist/actions/query-segmentation.d.mts.map +1 -1
  236. package/dist/actions/query-segmentation.mjs +1 -1
  237. package/dist/actions/query-segmentation.mjs.map +1 -1
  238. package/dist/actions/query-top-events.cjs +3 -3
  239. package/dist/actions/query-top-events.cjs.map +1 -1
  240. package/dist/actions/query-top-events.d.cts +28 -3
  241. package/dist/actions/query-top-events.d.cts.map +1 -1
  242. package/dist/actions/query-top-events.d.mts +28 -3
  243. package/dist/actions/query-top-events.d.mts.map +1 -1
  244. package/dist/actions/query-top-events.mjs +3 -3
  245. package/dist/actions/query-top-events.mjs.map +1 -1
  246. package/dist/actions/remove-from-group-list-property.cjs.map +1 -1
  247. package/dist/actions/remove-from-group-list-property.d.cts +21 -3
  248. package/dist/actions/remove-from-group-list-property.d.cts.map +1 -1
  249. package/dist/actions/remove-from-group-list-property.d.mts +21 -3
  250. package/dist/actions/remove-from-group-list-property.d.mts.map +1 -1
  251. package/dist/actions/remove-from-group-list-property.mjs.map +1 -1
  252. package/dist/actions/remove-from-list-property.cjs.map +1 -1
  253. package/dist/actions/remove-from-list-property.d.cts +20 -3
  254. package/dist/actions/remove-from-list-property.d.cts.map +1 -1
  255. package/dist/actions/remove-from-list-property.d.mts +20 -3
  256. package/dist/actions/remove-from-list-property.d.mts.map +1 -1
  257. package/dist/actions/remove-from-list-property.mjs.map +1 -1
  258. package/dist/actions/segmentation-numeric-query.cjs.map +1 -1
  259. package/dist/actions/segmentation-numeric-query.d.cts +37 -3
  260. package/dist/actions/segmentation-numeric-query.d.cts.map +1 -1
  261. package/dist/actions/segmentation-numeric-query.d.mts +37 -3
  262. package/dist/actions/segmentation-numeric-query.d.mts.map +1 -1
  263. package/dist/actions/segmentation-numeric-query.mjs.map +1 -1
  264. package/dist/actions/set-group-property-once.cjs.map +1 -1
  265. package/dist/actions/set-group-property-once.d.cts +17 -3
  266. package/dist/actions/set-group-property-once.d.cts.map +1 -1
  267. package/dist/actions/set-group-property-once.d.mts +17 -3
  268. package/dist/actions/set-group-property-once.d.mts.map +1 -1
  269. package/dist/actions/set-group-property-once.mjs.map +1 -1
  270. package/dist/actions/set-profile-property-once.cjs.map +1 -1
  271. package/dist/actions/set-profile-property-once.d.cts +20 -3
  272. package/dist/actions/set-profile-property-once.d.cts.map +1 -1
  273. package/dist/actions/set-profile-property-once.d.mts +20 -3
  274. package/dist/actions/set-profile-property-once.d.mts.map +1 -1
  275. package/dist/actions/set-profile-property-once.mjs.map +1 -1
  276. package/dist/actions/top-event-properties.cjs.map +1 -1
  277. package/dist/actions/top-event-properties.d.cts +13 -3
  278. package/dist/actions/top-event-properties.d.cts.map +1 -1
  279. package/dist/actions/top-event-properties.d.mts +13 -3
  280. package/dist/actions/top-event-properties.d.mts.map +1 -1
  281. package/dist/actions/top-event-properties.mjs.map +1 -1
  282. package/dist/actions/top-event-property-values.cjs.map +1 -1
  283. package/dist/actions/top-event-property-values.d.cts +17 -3
  284. package/dist/actions/top-event-property-values.d.cts.map +1 -1
  285. package/dist/actions/top-event-property-values.d.mts +17 -3
  286. package/dist/actions/top-event-property-values.d.mts.map +1 -1
  287. package/dist/actions/top-event-property-values.mjs.map +1 -1
  288. package/dist/actions/top-events.cjs.map +1 -1
  289. package/dist/actions/top-events.d.cts +19 -3
  290. package/dist/actions/top-events.d.cts.map +1 -1
  291. package/dist/actions/top-events.d.mts +19 -3
  292. package/dist/actions/top-events.d.mts.map +1 -1
  293. package/dist/actions/top-events.mjs.map +1 -1
  294. package/dist/actions/update-group-list-property.cjs.map +1 -1
  295. package/dist/actions/update-group-list-property.d.cts +26 -3
  296. package/dist/actions/update-group-list-property.d.cts.map +1 -1
  297. package/dist/actions/update-group-list-property.d.mts +26 -3
  298. package/dist/actions/update-group-list-property.d.mts.map +1 -1
  299. package/dist/actions/update-group-list-property.mjs.map +1 -1
  300. package/dist/catalog.cjs +18 -1
  301. package/dist/catalog.cjs.map +1 -1
  302. package/dist/catalog.d.cts +17 -0
  303. package/dist/catalog.d.mts +17 -0
  304. package/dist/catalog.mjs +18 -1
  305. package/dist/catalog.mjs.map +1 -1
  306. package/dist/execute.cjs +1 -1
  307. package/dist/execute.cjs.map +1 -1
  308. package/dist/execute.mjs +1 -1
  309. package/dist/execute.mjs.map +1 -1
  310. package/package.json +2 -2
@@ -1,9 +1,20 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-funnels.d.ts
4
- declare const MixpanelListFunnelsInput: z.ZodTypeAny;
5
- declare const MixpanelListFunnelsOutput: z.ZodTypeAny;
6
- declare const mixpanelListFunnels: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MixpanelListFunnelsInput: z.ZodObject<{
5
+ project_id: z.ZodNumber;
6
+ workspace_id: z.ZodOptional<z.ZodNumber>;
7
+ }, z.core.$strip>;
8
+ declare const MixpanelListFunnelsOutput: z.ZodObject<{
9
+ data: z.ZodArray<z.ZodObject<{
10
+ name: z.ZodNullable<z.ZodString>;
11
+ funnel_id: z.ZodNullable<z.ZodNumber>;
12
+ }, z.core.$strip>>;
13
+ }, z.core.$strip>;
14
+ declare const mixpanelListFunnels: import("@keystrokehq/action").WorkflowActionDefinition<{
15
+ project_id: number;
16
+ workspace_id?: number | undefined;
17
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
18
  //#endregion
8
19
  export { mixpanelListFunnels };
9
20
  //# sourceMappingURL=list-funnels.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-funnels.d.cts","names":[],"sources":["../../src/actions/list-funnels.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAGa;AAAA,cAKzC,yBAAA,EAA2B,CAAA,CAAE,UAES;AAAA,cAEtC,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-funnels.d.cts","names":[],"sources":["../../src/actions/list-funnels.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAQxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;cAIzB,mBAAA,gCAAmB,wBAAA"}
@@ -1,9 +1,20 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-funnels.d.ts
4
- declare const MixpanelListFunnelsInput: z.ZodTypeAny;
5
- declare const MixpanelListFunnelsOutput: z.ZodTypeAny;
6
- declare const mixpanelListFunnels: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MixpanelListFunnelsInput: z.ZodObject<{
5
+ project_id: z.ZodNumber;
6
+ workspace_id: z.ZodOptional<z.ZodNumber>;
7
+ }, z.core.$strip>;
8
+ declare const MixpanelListFunnelsOutput: z.ZodObject<{
9
+ data: z.ZodArray<z.ZodObject<{
10
+ name: z.ZodNullable<z.ZodString>;
11
+ funnel_id: z.ZodNullable<z.ZodNumber>;
12
+ }, z.core.$strip>>;
13
+ }, z.core.$strip>;
14
+ declare const mixpanelListFunnels: import("@keystrokehq/action").WorkflowActionDefinition<{
15
+ project_id: number;
16
+ workspace_id?: number | undefined;
17
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
18
  //#endregion
8
19
  export { mixpanelListFunnels };
9
20
  //# sourceMappingURL=list-funnels.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-funnels.d.mts","names":[],"sources":["../../src/actions/list-funnels.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAGa;AAAA,cAKzC,yBAAA,EAA2B,CAAA,CAAE,UAES;AAAA,cAEtC,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-funnels.d.mts","names":[],"sources":["../../src/actions/list-funnels.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAQxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;cAIzB,mBAAA,gCAAmB,wBAAA"}
@@ -6,8 +6,8 @@ const MixpanelListFunnelsInput = z.object({
6
6
  workspace_id: z.number().int().describe("The id of the workspace if applicable").optional()
7
7
  }).describe("Request model for listing saved funnels");
8
8
  const MixpanelListFunnels_FunnelInfoSchema = z.object({
9
- name: z.string().describe("The name of the funnel"),
10
- funnel_id: z.number().int().describe("The id of the funnel")
9
+ name: z.string().describe("The name of the funnel").nullable(),
10
+ funnel_id: z.number().int().describe("The id of the funnel").nullable()
11
11
  }).describe("Model for funnel information");
12
12
  const mixpanelListFunnels = action("MIXPANEL_LIST_FUNNELS", {
13
13
  slug: "mixpanel-list-funnels",
@@ -1 +1 @@
1
- {"version":3,"file":"list-funnels.mjs","names":[],"sources":["../../src/actions/list-funnels.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelListFunnelsInput: z.ZodTypeAny = z.object({\n project_id: z.number().int().describe(\"Required if using service account to authenticate request\"),\n workspace_id: z.number().int().describe(\"The id of the workspace if applicable\").optional(),\n}).describe(\"Request model for listing saved funnels\");\nconst MixpanelListFunnels_FunnelInfoSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The name of the funnel\"),\n funnel_id: z.number().int().describe(\"The id of the funnel\"),\n}).describe(\"Model for funnel information\");\nexport const MixpanelListFunnelsOutput: z.ZodTypeAny = z.object({\n data: z.array(MixpanelListFunnels_FunnelInfoSchema).describe(\"Array of funnel information\"),\n}).describe(\"Response model for list funnels data\");\n\nexport const mixpanelListFunnels = action(\"MIXPANEL_LIST_FUNNELS\", {\n slug: \"mixpanel-list-funnels\",\n name: \"List Saved Funnels\",\n description: \"Get the names and funnel_ids of your funnels. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.\",\n input: MixpanelListFunnelsInput,\n output: MixpanelListFunnelsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyC,EAAE,OAAO;CAC7D,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,yCAAyC;AACrD,MAAM,uCAAqD,EAAE,OAAO;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CAClD,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB;AAC7D,CAAC,CAAC,CAAC,SAAS,8BAA8B;AAK1C,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATqD,EAAE,OAAO,EAC9D,MAAM,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,6BAA6B,EAC5F,CAAC,CAAC,CAAC,SAAS,sCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-funnels.mjs","names":[],"sources":["../../src/actions/list-funnels.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelListFunnelsInput = z.object({\n project_id: z.number().int().describe(\"Required if using service account to authenticate request\"),\n workspace_id: z.number().int().describe(\"The id of the workspace if applicable\").optional(),\n}).describe(\"Request model for listing saved funnels\");\nconst MixpanelListFunnels_FunnelInfoSchema = z.object({\n name: z.string().describe(\"The name of the funnel\").nullable(),\n funnel_id: z.number().int().describe(\"The id of the funnel\").nullable(),\n}).describe(\"Model for funnel information\");\nexport const MixpanelListFunnelsOutput = z.object({\n data: z.array(MixpanelListFunnels_FunnelInfoSchema).describe(\"Array of funnel information\"),\n}).describe(\"Response model for list funnels data\");\n\nexport const mixpanelListFunnels = action(\"MIXPANEL_LIST_FUNNELS\", {\n slug: \"mixpanel-list-funnels\",\n name: \"List Saved Funnels\",\n description: \"Get the names and funnel_ids of your funnels. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.\",\n input: MixpanelListFunnelsInput,\n output: MixpanelListFunnelsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,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,yCAAyC;AACrD,MAAM,uCAAuC,EAAE,OAAO;CACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC7D,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,SAAS,8BAA8B;AAK1C,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATuC,EAAE,OAAO,EAChD,MAAM,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,6BAA6B,EAC5F,CAAC,CAAC,CAAC,SAAS,sCAOF;AACV,CAAC"}
@@ -3,16 +3,16 @@ let zod = require("zod");
3
3
  //#region src/actions/list-service-accounts.ts
4
4
  const MixpanelListServiceAccountsInput = zod.z.object({ organization_id: zod.z.string().describe("The unique identifier for the organization") }).describe("Request model for listing service accounts for an organization.");
5
5
  const MixpanelListServiceAccounts_ServiceAccountSchema = zod.z.object({
6
- id: zod.z.number().int().describe("Unique identifier for the service account"),
6
+ id: zod.z.number().int().describe("Unique identifier for the service account").nullable(),
7
7
  user: zod.z.number().int().describe("Internal identifier; safe to ignore").nullable().optional(),
8
8
  created: zod.z.string().describe("The date/time this service account was created").nullable().optional(),
9
9
  creator: zod.z.number().int().describe("The Mixpanel user id that created this service account").nullable().optional(),
10
10
  expires: zod.z.string().describe("The date/time this service account will expire").nullable().optional(),
11
- username: zod.z.string().describe("Service account username"),
11
+ username: zod.z.string().describe("Service account username").nullable(),
12
12
  last_used: zod.z.string().describe("The date/time this service account was last used for authentication").nullable().optional()
13
13
  }).describe("Model representing a single service account.");
14
14
  const MixpanelListServiceAccountsOutput = zod.z.object({
15
- status: zod.z.string().describe("Status of the response"),
15
+ status: zod.z.string().describe("Status of the response").nullable(),
16
16
  results: zod.z.array(MixpanelListServiceAccounts_ServiceAccountSchema).describe("List of service accounts for the organization").nullable().optional()
17
17
  }).describe("Response model for list service accounts data.");
18
18
  const mixpanelListServiceAccounts = require_action.action("MIXPANEL_LIST_SERVICE_ACCOUNTS", {
@@ -1 +1 @@
1
- {"version":3,"file":"list-service-accounts.cjs","names":["z","action"],"sources":["../../src/actions/list-service-accounts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelListServiceAccountsInput: z.ZodTypeAny = z.object({\n organization_id: z.string().describe(\"The unique identifier for the organization\"),\n}).describe(\"Request model for listing service accounts for an organization.\");\nconst MixpanelListServiceAccounts_ServiceAccountSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the service account\"),\n user: z.number().int().describe(\"Internal identifier; safe to ignore\").nullable().optional(),\n created: z.string().describe(\"The date/time this service account was created\").nullable().optional(),\n creator: z.number().int().describe(\"The Mixpanel user id that created this service account\").nullable().optional(),\n expires: z.string().describe(\"The date/time this service account will expire\").nullable().optional(),\n username: z.string().describe(\"Service account username\"),\n last_used: z.string().describe(\"The date/time this service account was last used for authentication\").nullable().optional(),\n}).describe(\"Model representing a single service account.\");\nexport const MixpanelListServiceAccountsOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"Status of the response\"),\n results: z.array(MixpanelListServiceAccounts_ServiceAccountSchema).describe(\"List of service accounts for the organization\").nullable().optional(),\n}).describe(\"Response model for list service accounts data.\");\n\nexport const mixpanelListServiceAccounts = action(\"MIXPANEL_LIST_SERVICE_ACCOUNTS\", {\n slug: \"mixpanel-list-service-accounts\",\n name: \"List Service Accounts\",\n description: \"Tool to list all service accounts for an organization. Use when you need to retrieve service accounts, check when they were last used, or see when they expire. Requires service account with admin or owner role.\",\n input: MixpanelListServiceAccountsInput,\n output: MixpanelListServiceAccountsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiDA,IAAAA,EAAE,OAAO,EACrE,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,EACnF,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,mDAAiEA,IAAAA,EAAE,OAAO;CAC9E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACxD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CACpD,SAASA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnJ,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":"list-service-accounts.cjs","names":["z","action"],"sources":["../../src/actions/list-service-accounts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelListServiceAccountsInput = z.object({\n organization_id: z.string().describe(\"The unique identifier for the organization\"),\n}).describe(\"Request model for listing service accounts for an organization.\");\nconst MixpanelListServiceAccounts_ServiceAccountSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the service account\").nullable(),\n user: z.number().int().describe(\"Internal identifier; safe to ignore\").nullable().optional(),\n created: z.string().describe(\"The date/time this service account was created\").nullable().optional(),\n creator: z.number().int().describe(\"The Mixpanel user id that created this service account\").nullable().optional(),\n expires: z.string().describe(\"The date/time this service account will expire\").nullable().optional(),\n username: z.string().describe(\"Service account username\").nullable(),\n last_used: z.string().describe(\"The date/time this service account was last used for authentication\").nullable().optional(),\n}).describe(\"Model representing a single service account.\");\nexport const MixpanelListServiceAccountsOutput = z.object({\n status: z.string().describe(\"Status of the response\").nullable(),\n results: z.array(MixpanelListServiceAccounts_ServiceAccountSchema).describe(\"List of service accounts for the organization\").nullable().optional(),\n}).describe(\"Response model for list service accounts data.\");\n\nexport const mixpanelListServiceAccounts = action(\"MIXPANEL_LIST_SERVICE_ACCOUNTS\", {\n slug: \"mixpanel-list-service-accounts\",\n name: \"List Service Accounts\",\n description: \"Tool to list all service accounts for an organization. Use when you need to retrieve service accounts, check when they were last used, or see when they expire. Requires service account with admin or owner role.\",\n input: MixpanelListServiceAccountsInput,\n output: MixpanelListServiceAccountsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,EACnF,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACpF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACnE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC/D,SAASA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnJ,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAE5D,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,24 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-service-accounts.d.ts
4
- declare const MixpanelListServiceAccountsInput: z.ZodTypeAny;
5
- declare const MixpanelListServiceAccountsOutput: z.ZodTypeAny;
6
- declare const mixpanelListServiceAccounts: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MixpanelListServiceAccountsInput: z.ZodObject<{
5
+ organization_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const MixpanelListServiceAccountsOutput: z.ZodObject<{
8
+ status: z.ZodNullable<z.ZodString>;
9
+ results: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
10
+ id: z.ZodNullable<z.ZodNumber>;
11
+ user: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
+ created: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ creator: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
+ expires: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ username: z.ZodNullable<z.ZodString>;
16
+ last_used: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ }, z.core.$strip>>>>;
18
+ }, z.core.$strip>;
19
+ declare const mixpanelListServiceAccounts: import("@keystrokehq/action").WorkflowActionDefinition<{
20
+ organization_id: string;
21
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
22
  //#endregion
8
23
  export { mixpanelListServiceAccounts };
9
24
  //# sourceMappingURL=list-service-accounts.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-service-accounts.d.cts","names":[],"sources":["../../src/actions/list-service-accounts.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAE6B;AAAA,cAUjE,iCAAA,EAAmC,CAAA,CAAE,UAGW;AAAA,cAEhD,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-service-accounts.d.cts","names":[],"sources":["../../src/actions/list-service-accounts.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAYhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;cAKjC,2BAAA,gCAA2B,wBAAA"}
@@ -1,9 +1,24 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-service-accounts.d.ts
4
- declare const MixpanelListServiceAccountsInput: z.ZodTypeAny;
5
- declare const MixpanelListServiceAccountsOutput: z.ZodTypeAny;
6
- declare const mixpanelListServiceAccounts: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MixpanelListServiceAccountsInput: z.ZodObject<{
5
+ organization_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const MixpanelListServiceAccountsOutput: z.ZodObject<{
8
+ status: z.ZodNullable<z.ZodString>;
9
+ results: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
10
+ id: z.ZodNullable<z.ZodNumber>;
11
+ user: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
+ created: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ creator: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
+ expires: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ username: z.ZodNullable<z.ZodString>;
16
+ last_used: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ }, z.core.$strip>>>>;
18
+ }, z.core.$strip>;
19
+ declare const mixpanelListServiceAccounts: import("@keystrokehq/action").WorkflowActionDefinition<{
20
+ organization_id: string;
21
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
22
  //#endregion
8
23
  export { mixpanelListServiceAccounts };
9
24
  //# sourceMappingURL=list-service-accounts.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-service-accounts.d.mts","names":[],"sources":["../../src/actions/list-service-accounts.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAE6B;AAAA,cAUjE,iCAAA,EAAmC,CAAA,CAAE,UAGW;AAAA,cAEhD,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-service-accounts.d.mts","names":[],"sources":["../../src/actions/list-service-accounts.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAYhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;cAKjC,2BAAA,gCAA2B,wBAAA"}
@@ -3,12 +3,12 @@ import { z } from "zod";
3
3
  //#region src/actions/list-service-accounts.ts
4
4
  const MixpanelListServiceAccountsInput = z.object({ organization_id: z.string().describe("The unique identifier for the organization") }).describe("Request model for listing service accounts for an organization.");
5
5
  const MixpanelListServiceAccounts_ServiceAccountSchema = z.object({
6
- id: z.number().int().describe("Unique identifier for the service account"),
6
+ id: z.number().int().describe("Unique identifier for the service account").nullable(),
7
7
  user: z.number().int().describe("Internal identifier; safe to ignore").nullable().optional(),
8
8
  created: z.string().describe("The date/time this service account was created").nullable().optional(),
9
9
  creator: z.number().int().describe("The Mixpanel user id that created this service account").nullable().optional(),
10
10
  expires: z.string().describe("The date/time this service account will expire").nullable().optional(),
11
- username: z.string().describe("Service account username"),
11
+ username: z.string().describe("Service account username").nullable(),
12
12
  last_used: z.string().describe("The date/time this service account was last used for authentication").nullable().optional()
13
13
  }).describe("Model representing a single service account.");
14
14
  const mixpanelListServiceAccounts = action("MIXPANEL_LIST_SERVICE_ACCOUNTS", {
@@ -17,7 +17,7 @@ const mixpanelListServiceAccounts = action("MIXPANEL_LIST_SERVICE_ACCOUNTS", {
17
17
  description: "Tool to list all service accounts for an organization. Use when you need to retrieve service accounts, check when they were last used, or see when they expire. Requires service account with admin or owner role.",
18
18
  input: MixpanelListServiceAccountsInput,
19
19
  output: z.object({
20
- status: z.string().describe("Status of the response"),
20
+ status: z.string().describe("Status of the response").nullable(),
21
21
  results: z.array(MixpanelListServiceAccounts_ServiceAccountSchema).describe("List of service accounts for the organization").nullable().optional()
22
22
  }).describe("Response model for list service accounts data.")
23
23
  });
@@ -1 +1 @@
1
- {"version":3,"file":"list-service-accounts.mjs","names":[],"sources":["../../src/actions/list-service-accounts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelListServiceAccountsInput: z.ZodTypeAny = z.object({\n organization_id: z.string().describe(\"The unique identifier for the organization\"),\n}).describe(\"Request model for listing service accounts for an organization.\");\nconst MixpanelListServiceAccounts_ServiceAccountSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the service account\"),\n user: z.number().int().describe(\"Internal identifier; safe to ignore\").nullable().optional(),\n created: z.string().describe(\"The date/time this service account was created\").nullable().optional(),\n creator: z.number().int().describe(\"The Mixpanel user id that created this service account\").nullable().optional(),\n expires: z.string().describe(\"The date/time this service account will expire\").nullable().optional(),\n username: z.string().describe(\"Service account username\"),\n last_used: z.string().describe(\"The date/time this service account was last used for authentication\").nullable().optional(),\n}).describe(\"Model representing a single service account.\");\nexport const MixpanelListServiceAccountsOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"Status of the response\"),\n results: z.array(MixpanelListServiceAccounts_ServiceAccountSchema).describe(\"List of service accounts for the organization\").nullable().optional(),\n}).describe(\"Response model for list service accounts data.\");\n\nexport const mixpanelListServiceAccounts = action(\"MIXPANEL_LIST_SERVICE_ACCOUNTS\", {\n slug: \"mixpanel-list-service-accounts\",\n name: \"List Service Accounts\",\n description: \"Tool to list all service accounts for an organization. Use when you need to retrieve service accounts, check when they were last used, or see when they expire. Requires service account with admin or owner role.\",\n input: MixpanelListServiceAccountsInput,\n output: MixpanelListServiceAccountsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiD,EAAE,OAAO,EACrE,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,EACnF,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,mDAAiE,EAAE,OAAO;CAC9E,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C;CACzE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACxD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAM1D,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV6D,EAAE,OAAO;EACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;EACpD,SAAS,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnJ,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-service-accounts.mjs","names":[],"sources":["../../src/actions/list-service-accounts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelListServiceAccountsInput = z.object({\n organization_id: z.string().describe(\"The unique identifier for the organization\"),\n}).describe(\"Request model for listing service accounts for an organization.\");\nconst MixpanelListServiceAccounts_ServiceAccountSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the service account\").nullable(),\n user: z.number().int().describe(\"Internal identifier; safe to ignore\").nullable().optional(),\n created: z.string().describe(\"The date/time this service account was created\").nullable().optional(),\n creator: z.number().int().describe(\"The Mixpanel user id that created this service account\").nullable().optional(),\n expires: z.string().describe(\"The date/time this service account will expire\").nullable().optional(),\n username: z.string().describe(\"Service account username\").nullable(),\n last_used: z.string().describe(\"The date/time this service account was last used for authentication\").nullable().optional(),\n}).describe(\"Model representing a single service account.\");\nexport const MixpanelListServiceAccountsOutput = z.object({\n status: z.string().describe(\"Status of the response\").nullable(),\n results: z.array(MixpanelListServiceAccounts_ServiceAccountSchema).describe(\"List of service accounts for the organization\").nullable().optional(),\n}).describe(\"Response model for list service accounts data.\");\n\nexport const mixpanelListServiceAccounts = action(\"MIXPANEL_LIST_SERVICE_ACCOUNTS\", {\n slug: \"mixpanel-list-service-accounts\",\n name: \"List Service Accounts\",\n description: \"Tool to list all service accounts for an organization. Use when you need to retrieve service accounts, check when they were last used, or see when they expire. Requires service account with admin or owner role.\",\n input: MixpanelListServiceAccountsInput,\n output: MixpanelListServiceAccountsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO,EACvD,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,EACnF,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,mDAAmD,EAAE,OAAO;CAChE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACpF,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACnE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAM1D,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV+C,EAAE,OAAO;EACxD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EAC/D,SAAS,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnJ,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"profile-append-to-list-property.cjs","names":["z","action"],"sources":["../../src/actions/profile-append-to-list-property.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelProfileAppendToListPropertyInput: z.ZodTypeAny = z.object({\n data: z.array(z.object({\n ip: z.string().describe(\"IP address for geolocation. Set to '0' to avoid updating location data. Defaults to the request IP address if not provided.\").optional(),\n token: z.string().describe(\"Your Mixpanel project authentication token\"),\n append: z.record(z.string(), z.unknown()).describe(\"A JSON object containing key-value pairs where each key is a property name and each value is the item to append to that list property. Appending to a property that doesn't exist will create a new list with the value as the first element.\"),\n distinct_id: z.string().describe(\"The unique identifier for the user profile\"),\n ignore_time: z.boolean().describe(\"If true, prevents updating the 'Last Seen' property. Defaults to false.\").optional(),\n}).describe(\"Individual profile update object for appending to list properties.\")).describe(\"A list of profile update objects. Each object must contain $token, $distinct_id, and $append properties.\"),\n verbose: z.number().int().describe(\"When set to 1, returns detailed JSON response with status and error fields. When set to 0 (default), returns plain text status (1 for success, 0 for failure).\").optional(),\n}).describe(\"Request model for appending values to list properties on user profiles.\");\nexport const MixpanelProfileAppendToListPropertyOutput: z.ZodTypeAny = z.object({\n error: z.string().describe(\"Error message if the request failed, null if successful.\").nullable().optional(),\n status: z.union([z.string(), z.number().int()]),\n}).describe(\"Response model for profile append operation.\");\n\nexport const mixpanelProfileAppendToListProperty = action(\"MIXPANEL_PROFILE_APPEND_TO_LIST_PROPERTY\", {\n slug: \"mixpanel-profile-append-to-list-property\",\n name: \"Append to Profile List Property\",\n description: \"Tool to append values to list properties on user profiles in Mixpanel. Use when you need to add items to list-type properties. Unlike $union, $append allows duplicate values. If the property doesn't exist, it creates a new list with the value as the first element.\",\n input: MixpanelProfileAppendToListPropertyInput,\n output: MixpanelProfileAppendToListPropertyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAAyDA,IAAAA,EAAE,OAAO;CAC7E,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACvB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;EAChK,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EACvE,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+OAA+O;EAClS,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EAC7E,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACxH,CAAC,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,CAAC,SAAS,0GAA0G;CACpM,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gKAAgK,CAAC,CAAC,SAAS;AAChN,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAa,4CAA0DA,IAAAA,EAAE,OAAO;CAC9E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,QAAQA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;AAChD,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAE1D,MAAa,sCAAsCC,eAAAA,OAAO,4CAA4C;CACpG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"profile-append-to-list-property.cjs","names":["z","action"],"sources":["../../src/actions/profile-append-to-list-property.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelProfileAppendToListPropertyInput = z.object({\n data: z.array(z.object({\n ip: z.string().describe(\"IP address for geolocation. Set to '0' to avoid updating location data. Defaults to the request IP address if not provided.\").optional(),\n token: z.string().describe(\"Your Mixpanel project authentication token\"),\n append: z.record(z.string(), z.unknown()).describe(\"A JSON object containing key-value pairs where each key is a property name and each value is the item to append to that list property. Appending to a property that doesn't exist will create a new list with the value as the first element.\"),\n distinct_id: z.string().describe(\"The unique identifier for the user profile\"),\n ignore_time: z.boolean().describe(\"If true, prevents updating the 'Last Seen' property. Defaults to false.\").optional(),\n}).describe(\"Individual profile update object for appending to list properties.\")).describe(\"A list of profile update objects. Each object must contain $token, $distinct_id, and $append properties.\"),\n verbose: z.number().int().describe(\"When set to 1, returns detailed JSON response with status and error fields. When set to 0 (default), returns plain text status (1 for success, 0 for failure).\").optional(),\n}).describe(\"Request model for appending values to list properties on user profiles.\");\nexport const MixpanelProfileAppendToListPropertyOutput = 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 append operation.\");\n\nexport const mixpanelProfileAppendToListProperty = action(\"MIXPANEL_PROFILE_APPEND_TO_LIST_PROPERTY\", {\n slug: \"mixpanel-profile-append-to-list-property\",\n name: \"Append to Profile List Property\",\n description: \"Tool to append values to list properties on user profiles in Mixpanel. Use when you need to add items to list-type properties. Unlike $union, $append allows duplicate values. If the property doesn't exist, it creates a new list with the value as the first element.\",\n input: MixpanelProfileAppendToListPropertyInput,\n output: MixpanelProfileAppendToListPropertyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAA2CA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACvB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;EAChK,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EACvE,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+OAA+O;EAClS,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EAC7E,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACxH,CAAC,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,CAAC,SAAS,0GAA0G;CACpM,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gKAAgK,CAAC,CAAC,SAAS;AAChN,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,QAAQA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;AAChD,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAE1D,MAAa,sCAAsCC,eAAAA,OAAO,4CAA4C;CACpG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,30 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/profile-append-to-list-property.d.ts
4
- declare const MixpanelProfileAppendToListPropertyInput: z.ZodTypeAny;
5
- declare const MixpanelProfileAppendToListPropertyOutput: z.ZodTypeAny;
6
- declare const mixpanelProfileAppendToListProperty: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MixpanelProfileAppendToListPropertyInput: z.ZodObject<{
5
+ data: z.ZodArray<z.ZodObject<{
6
+ ip: z.ZodOptional<z.ZodString>;
7
+ token: z.ZodString;
8
+ append: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
+ distinct_id: z.ZodString;
10
+ ignore_time: z.ZodOptional<z.ZodBoolean>;
11
+ }, z.core.$strip>>;
12
+ verbose: z.ZodOptional<z.ZodNumber>;
13
+ }, z.core.$strip>;
14
+ declare const MixpanelProfileAppendToListPropertyOutput: z.ZodObject<{
15
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ status: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
17
+ }, z.core.$strip>;
18
+ declare const mixpanelProfileAppendToListProperty: import("@keystrokehq/action").WorkflowActionDefinition<{
19
+ data: {
20
+ token: string;
21
+ append: Record<string, unknown>;
22
+ distinct_id: string;
23
+ ip?: string | undefined;
24
+ ignore_time?: boolean | undefined;
25
+ }[];
26
+ verbose?: number | undefined;
27
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
28
  //#endregion
8
29
  export { mixpanelProfileAppendToListProperty };
9
30
  //# sourceMappingURL=profile-append-to-list-property.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"profile-append-to-list-property.d.cts","names":[],"sources":["../../src/actions/profile-append-to-list-property.ts"],"mappings":";;;cAIa,wCAAA,EAA0C,CAAA,CAAE,UAS6B;AAAA,cACzE,yCAAA,EAA2C,CAAA,CAAE,UAGC;AAAA,cAE9C,mCAAA,gCAAmC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"profile-append-to-list-property.d.cts","names":[],"sources":["../../src/actions/profile-append-to-list-property.ts"],"mappings":";;;cAIa,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;cAUxC,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;cAKzC,mCAAA,gCAAmC,wBAAA;;;YAM9C,MAAA"}
@@ -1,9 +1,30 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/profile-append-to-list-property.d.ts
4
- declare const MixpanelProfileAppendToListPropertyInput: z.ZodTypeAny;
5
- declare const MixpanelProfileAppendToListPropertyOutput: z.ZodTypeAny;
6
- declare const mixpanelProfileAppendToListProperty: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MixpanelProfileAppendToListPropertyInput: z.ZodObject<{
5
+ data: z.ZodArray<z.ZodObject<{
6
+ ip: z.ZodOptional<z.ZodString>;
7
+ token: z.ZodString;
8
+ append: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
+ distinct_id: z.ZodString;
10
+ ignore_time: z.ZodOptional<z.ZodBoolean>;
11
+ }, z.core.$strip>>;
12
+ verbose: z.ZodOptional<z.ZodNumber>;
13
+ }, z.core.$strip>;
14
+ declare const MixpanelProfileAppendToListPropertyOutput: z.ZodObject<{
15
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ status: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
17
+ }, z.core.$strip>;
18
+ declare const mixpanelProfileAppendToListProperty: import("@keystrokehq/action").WorkflowActionDefinition<{
19
+ data: {
20
+ token: string;
21
+ append: Record<string, unknown>;
22
+ distinct_id: string;
23
+ ip?: string | undefined;
24
+ ignore_time?: boolean | undefined;
25
+ }[];
26
+ verbose?: number | undefined;
27
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
28
  //#endregion
8
29
  export { mixpanelProfileAppendToListProperty };
9
30
  //# sourceMappingURL=profile-append-to-list-property.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"profile-append-to-list-property.d.mts","names":[],"sources":["../../src/actions/profile-append-to-list-property.ts"],"mappings":";;;cAIa,wCAAA,EAA0C,CAAA,CAAE,UAS6B;AAAA,cACzE,yCAAA,EAA2C,CAAA,CAAE,UAGC;AAAA,cAE9C,mCAAA,gCAAmC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"profile-append-to-list-property.d.mts","names":[],"sources":["../../src/actions/profile-append-to-list-property.ts"],"mappings":";;;cAIa,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;;;cAUxC,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;cAKzC,mCAAA,gCAAmC,wBAAA;;;YAM9C,MAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"profile-append-to-list-property.mjs","names":[],"sources":["../../src/actions/profile-append-to-list-property.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelProfileAppendToListPropertyInput: z.ZodTypeAny = z.object({\n data: z.array(z.object({\n ip: z.string().describe(\"IP address for geolocation. Set to '0' to avoid updating location data. Defaults to the request IP address if not provided.\").optional(),\n token: z.string().describe(\"Your Mixpanel project authentication token\"),\n append: z.record(z.string(), z.unknown()).describe(\"A JSON object containing key-value pairs where each key is a property name and each value is the item to append to that list property. Appending to a property that doesn't exist will create a new list with the value as the first element.\"),\n distinct_id: z.string().describe(\"The unique identifier for the user profile\"),\n ignore_time: z.boolean().describe(\"If true, prevents updating the 'Last Seen' property. Defaults to false.\").optional(),\n}).describe(\"Individual profile update object for appending to list properties.\")).describe(\"A list of profile update objects. Each object must contain $token, $distinct_id, and $append properties.\"),\n verbose: z.number().int().describe(\"When set to 1, returns detailed JSON response with status and error fields. When set to 0 (default), returns plain text status (1 for success, 0 for failure).\").optional(),\n}).describe(\"Request model for appending values to list properties on user profiles.\");\nexport const MixpanelProfileAppendToListPropertyOutput: z.ZodTypeAny = z.object({\n error: z.string().describe(\"Error message if the request failed, null if successful.\").nullable().optional(),\n status: z.union([z.string(), z.number().int()]),\n}).describe(\"Response model for profile append operation.\");\n\nexport const mixpanelProfileAppendToListProperty = action(\"MIXPANEL_PROFILE_APPEND_TO_LIST_PROPERTY\", {\n slug: \"mixpanel-profile-append-to-list-property\",\n name: \"Append to Profile List Property\",\n description: \"Tool to append values to list properties on user profiles in Mixpanel. Use when you need to add items to list-type properties. Unlike $union, $append allows duplicate values. If the property doesn't exist, it creates a new list with the value as the first element.\",\n input: MixpanelProfileAppendToListPropertyInput,\n output: MixpanelProfileAppendToListPropertyOutput,\n});\n"],"mappings":";;AAmBA,MAAa,sCAAsC,OAAO,4CAA4C;CACpG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBoE,EAAE,OAAO;EAC7E,MAAM,EAAE,MAAM,EAAE,OAAO;GACvB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;GAChK,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;GACvE,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+OAA+O;GAClS,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;GAC7E,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;EACxH,CAAC,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,CAAC,SAAS,0GAA0G;EACpM,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gKAAgK,CAAC,CAAC,SAAS;CAChN,CAAC,CAAC,CAAC,SAAS,yEAUH;CACP,QAVqE,EAAE,OAAO;EAC9E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,QAAQ,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;CAChD,CAAC,CAAC,CAAC,SAAS,8CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"profile-append-to-list-property.mjs","names":[],"sources":["../../src/actions/profile-append-to-list-property.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelProfileAppendToListPropertyInput = z.object({\n data: z.array(z.object({\n ip: z.string().describe(\"IP address for geolocation. Set to '0' to avoid updating location data. Defaults to the request IP address if not provided.\").optional(),\n token: z.string().describe(\"Your Mixpanel project authentication token\"),\n append: z.record(z.string(), z.unknown()).describe(\"A JSON object containing key-value pairs where each key is a property name and each value is the item to append to that list property. Appending to a property that doesn't exist will create a new list with the value as the first element.\"),\n distinct_id: z.string().describe(\"The unique identifier for the user profile\"),\n ignore_time: z.boolean().describe(\"If true, prevents updating the 'Last Seen' property. Defaults to false.\").optional(),\n}).describe(\"Individual profile update object for appending to list properties.\")).describe(\"A list of profile update objects. Each object must contain $token, $distinct_id, and $append properties.\"),\n verbose: z.number().int().describe(\"When set to 1, returns detailed JSON response with status and error fields. When set to 0 (default), returns plain text status (1 for success, 0 for failure).\").optional(),\n}).describe(\"Request model for appending values to list properties on user profiles.\");\nexport const MixpanelProfileAppendToListPropertyOutput = 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 append operation.\");\n\nexport const mixpanelProfileAppendToListProperty = action(\"MIXPANEL_PROFILE_APPEND_TO_LIST_PROPERTY\", {\n slug: \"mixpanel-profile-append-to-list-property\",\n name: \"Append to Profile List Property\",\n description: \"Tool to append values to list properties on user profiles in Mixpanel. Use when you need to add items to list-type properties. Unlike $union, $append allows duplicate values. If the property doesn't exist, it creates a new list with the value as the first element.\",\n input: MixpanelProfileAppendToListPropertyInput,\n output: MixpanelProfileAppendToListPropertyOutput,\n});\n"],"mappings":";;AAmBA,MAAa,sCAAsC,OAAO,4CAA4C;CACpG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBsD,EAAE,OAAO;EAC/D,MAAM,EAAE,MAAM,EAAE,OAAO;GACvB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;GAChK,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;GACvE,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+OAA+O;GAClS,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;GAC7E,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;EACxH,CAAC,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,CAAC,SAAS,0GAA0G;EACpM,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gKAAgK,CAAC,CAAC,SAAS;CAChN,CAAC,CAAC,CAAC,SAAS,yEAUH;CACP,QAVuD,EAAE,OAAO;EAChE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,QAAQ,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;CAChD,CAAC,CAAC,CAAC,SAAS,8CAOF;AACV,CAAC"}
@@ -19,8 +19,8 @@ const MixpanelProfileBatchUpdateInput = zod.z.object({ profiles: zod.z.array(zod
19
19
  }).describe("Model for a single profile update in the batch.")).describe("List of profile updates to send. Maximum 50 updates per request. Each profile must include $token and either $distinct_id or $user_id, plus at least one operation ($set, $set_once, $add, $union, $append, $remove, $unset, or $delete).") }).describe("Request model for batch profile updates.");
20
20
  const MixpanelProfileBatchUpdate_FailedRecordSchema = zod.z.object({
21
21
  field: zod.z.string().describe("The field that caused the error.").nullable().optional(),
22
- index: zod.z.number().int().describe("Position in the request array (0-indexed) of the failed update."),
23
- message: zod.z.string().describe("Description of the validation error.")
22
+ index: zod.z.number().int().describe("Position in the request array (0-indexed) of the failed update.").nullable(),
23
+ message: zod.z.string().describe("Description of the validation error.").nullable()
24
24
  }).describe("Model for a failed profile update record.");
25
25
  const MixpanelProfileBatchUpdateOutput = zod.z.object({
26
26
  error: zod.z.string().describe("Error message if the request failed.").nullable().optional(),
@@ -1 +1 @@
1
- {"version":3,"file":"profile-batch-update.cjs","names":["z","action"],"sources":["../../src/actions/profile-batch-update.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelProfileBatchUpdateInput: z.ZodTypeAny = z.object({\n profiles: z.array(z.object({\n ip: z.string().describe(\"IP address for geolocation. Set to '0' to not update geolocation data.\").optional(),\n add: z.object({}).describe(\"Increment numerical properties by the specified amounts.\").optional(),\n set: z.record(z.string(), z.unknown()).describe(\"Properties to set or update on the profile. Overwrites existing values.\").optional(),\n time: z.number().int().describe(\"Unix timestamp for when the profile update occurred.\").optional(),\n token: z.string().describe(\"Project authentication token. Required for each profile update.\"),\n union: z.object({}).describe(\"Add values to list properties without creating duplicates.\").optional(),\n unset: z.array(z.string()).describe(\"List of property names to remove from the profile.\").optional(),\n append: z.record(z.string(), z.unknown()).describe(\"Append values to list properties.\").optional(),\n \"delete\": z.string().describe(\"Set to empty string to delete the entire profile.\").optional(),\n remove: z.record(z.string(), z.unknown()).describe(\"Remove specific values from list properties.\").optional(),\n user_id: z.string().describe(\"Alternative user identifier. Either this or $distinct_id is required.\").optional(),\n set_once: z.record(z.string(), z.unknown()).describe(\"Properties to set only if not already set on the profile.\").optional(),\n distinct_id: z.string().describe(\"User identifier for the profile being updated. Either this or $user_id is required.\").optional(),\n ignore_time: z.boolean().describe(\"If true, Mixpanel will not automatically update the 'Last Seen' property.\").optional(),\n}).describe(\"Model for a single profile update in the batch.\")).describe(\"List of profile updates to send. Maximum 50 updates per request. Each profile must include $token and either $distinct_id or $user_id, plus at least one operation ($set, $set_once, $add, $union, $append, $remove, $unset, or $delete).\"),\n}).describe(\"Request model for batch profile updates.\");\nconst MixpanelProfileBatchUpdate_FailedRecordSchema: z.ZodTypeAny = z.object({\n field: z.string().describe(\"The field that caused the error.\").nullable().optional(),\n index: z.number().int().describe(\"Position in the request array (0-indexed) of the failed update.\"),\n message: z.string().describe(\"Description of the validation error.\"),\n}).describe(\"Model for a failed profile update record.\");\nexport const MixpanelProfileBatchUpdateOutput: z.ZodTypeAny = z.object({\n error: z.string().describe(\"Error message if the request failed.\").nullable().optional(),\n status: z.union([z.number().int(), z.string()]),\n failed_records: z.array(MixpanelProfileBatchUpdate_FailedRecordSchema).describe(\"Details about each failed update (only present when some updates fail validation).\").nullable().optional(),\n num_records_imported: z.number().int().describe(\"Number of successfully processed updates (only present in partial success responses).\").nullable().optional(),\n}).describe(\"Response model for batch profile updates.\");\n\nexport const mixpanelProfileBatchUpdate = action(\"MIXPANEL_PROFILE_BATCH_UPDATE\", {\n slug: \"mixpanel-profile-batch-update\",\n name: \"Update Multiple Profiles (Batch)\",\n description: \"Tool to update multiple user profiles in Mixpanel in a single batch request. Use when you need to update properties for multiple users efficiently. Supports operations: $set (update/add), $set_once (set if not exists), $add (increment), $union (add to list uniquely), $append (append to list), $remove (remove from list), $unset (delete property), $delete (delete profile). Maximum 50 updates per request. Always check the response status and failed_records for individual update failures.\",\n input: MixpanelProfileBatchUpdateInput,\n output: MixpanelProfileBatchUpdateOutput,\n});\n"],"mappings":"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"}
1
+ {"version":3,"file":"profile-batch-update.cjs","names":["z","action"],"sources":["../../src/actions/profile-batch-update.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelProfileBatchUpdateInput = z.object({\n profiles: z.array(z.object({\n ip: z.string().describe(\"IP address for geolocation. Set to '0' to not update geolocation data.\").optional(),\n add: z.object({}).describe(\"Increment numerical properties by the specified amounts.\").optional(),\n set: z.record(z.string(), z.unknown()).describe(\"Properties to set or update on the profile. Overwrites existing values.\").optional(),\n time: z.number().int().describe(\"Unix timestamp for when the profile update occurred.\").optional(),\n token: z.string().describe(\"Project authentication token. Required for each profile update.\"),\n union: z.object({}).describe(\"Add values to list properties without creating duplicates.\").optional(),\n unset: z.array(z.string()).describe(\"List of property names to remove from the profile.\").optional(),\n append: z.record(z.string(), z.unknown()).describe(\"Append values to list properties.\").optional(),\n \"delete\": z.string().describe(\"Set to empty string to delete the entire profile.\").optional(),\n remove: z.record(z.string(), z.unknown()).describe(\"Remove specific values from list properties.\").optional(),\n user_id: z.string().describe(\"Alternative user identifier. Either this or $distinct_id is required.\").optional(),\n set_once: z.record(z.string(), z.unknown()).describe(\"Properties to set only if not already set on the profile.\").optional(),\n distinct_id: z.string().describe(\"User identifier for the profile being updated. Either this or $user_id is required.\").optional(),\n ignore_time: z.boolean().describe(\"If true, Mixpanel will not automatically update the 'Last Seen' property.\").optional(),\n}).describe(\"Model for a single profile update in the batch.\")).describe(\"List of profile updates to send. Maximum 50 updates per request. Each profile must include $token and either $distinct_id or $user_id, plus at least one operation ($set, $set_once, $add, $union, $append, $remove, $unset, or $delete).\"),\n}).describe(\"Request model for batch profile updates.\");\nconst MixpanelProfileBatchUpdate_FailedRecordSchema = z.object({\n field: z.string().describe(\"The field that caused the error.\").nullable().optional(),\n index: z.number().int().describe(\"Position in the request array (0-indexed) of the failed update.\").nullable(),\n message: z.string().describe(\"Description of the validation error.\").nullable(),\n}).describe(\"Model for a failed profile update record.\");\nexport const MixpanelProfileBatchUpdateOutput = z.object({\n error: z.string().describe(\"Error message if the request failed.\").nullable().optional(),\n status: z.union([z.number().int(), z.string()]),\n failed_records: z.array(MixpanelProfileBatchUpdate_FailedRecordSchema).describe(\"Details about each failed update (only present when some updates fail validation).\").nullable().optional(),\n num_records_imported: z.number().int().describe(\"Number of successfully processed updates (only present in partial success responses).\").nullable().optional(),\n}).describe(\"Response model for batch profile updates.\");\n\nexport const mixpanelProfileBatchUpdate = action(\"MIXPANEL_PROFILE_BATCH_UPDATE\", {\n slug: \"mixpanel-profile-batch-update\",\n name: \"Update Multiple Profiles (Batch)\",\n description: \"Tool to update multiple user profiles in Mixpanel in a single batch request. Use when you need to update properties for multiple users efficiently. Supports operations: $set (update/add), $set_once (set if not exists), $add (increment), $union (add to list uniquely), $append (append to list), $remove (remove from list), $unset (delete property), $delete (delete profile). Maximum 50 updates per request. Always check the response status and failed_records for individual update failures.\",\n input: MixpanelProfileBatchUpdateInput,\n output: MixpanelProfileBatchUpdateOutput,\n});\n"],"mappings":"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"}
@@ -1,9 +1,52 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/profile-batch-update.d.ts
4
- declare const MixpanelProfileBatchUpdateInput: z.ZodTypeAny;
5
- declare const MixpanelProfileBatchUpdateOutput: z.ZodTypeAny;
6
- declare const mixpanelProfileBatchUpdate: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MixpanelProfileBatchUpdateInput: z.ZodObject<{
5
+ profiles: z.ZodArray<z.ZodObject<{
6
+ ip: z.ZodOptional<z.ZodString>;
7
+ add: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
8
+ set: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
9
+ time: z.ZodOptional<z.ZodNumber>;
10
+ token: z.ZodString;
11
+ union: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
12
+ unset: z.ZodOptional<z.ZodArray<z.ZodString>>;
13
+ append: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
14
+ delete: z.ZodOptional<z.ZodString>;
15
+ remove: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
16
+ user_id: z.ZodOptional<z.ZodString>;
17
+ set_once: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
18
+ distinct_id: z.ZodOptional<z.ZodString>;
19
+ ignore_time: z.ZodOptional<z.ZodBoolean>;
20
+ }, z.core.$strip>>;
21
+ }, z.core.$strip>;
22
+ declare const MixpanelProfileBatchUpdateOutput: z.ZodObject<{
23
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ status: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
25
+ failed_records: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
26
+ field: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ index: z.ZodNullable<z.ZodNumber>;
28
+ message: z.ZodNullable<z.ZodString>;
29
+ }, z.core.$strip>>>>;
30
+ num_records_imported: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
31
+ }, z.core.$strip>;
32
+ declare const mixpanelProfileBatchUpdate: import("@keystrokehq/action").WorkflowActionDefinition<{
33
+ profiles: {
34
+ token: string;
35
+ ip?: string | undefined;
36
+ add?: Record<string, never> | undefined;
37
+ set?: Record<string, unknown> | undefined;
38
+ time?: number | undefined;
39
+ union?: Record<string, never> | undefined;
40
+ unset?: string[] | undefined;
41
+ append?: Record<string, unknown> | undefined;
42
+ delete?: string | undefined;
43
+ remove?: Record<string, unknown> | undefined;
44
+ user_id?: string | undefined;
45
+ set_once?: Record<string, unknown> | undefined;
46
+ distinct_id?: string | undefined;
47
+ ignore_time?: boolean | undefined;
48
+ }[];
49
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
50
  //#endregion
8
51
  export { mixpanelProfileBatchUpdate };
9
52
  //# sourceMappingURL=profile-batch-update.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"profile-batch-update.d.cts","names":[],"sources":["../../src/actions/profile-batch-update.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAiBO;AAAA,cAM1C,gCAAA,EAAkC,CAAA,CAAE,UAKO;AAAA,cAE3C,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"profile-batch-update.d.cts","names":[],"sources":["../../src/actions/profile-batch-update.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAuB/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;cAOhC,0BAAA,gCAA0B,wBAAA"}
@@ -1,9 +1,52 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/profile-batch-update.d.ts
4
- declare const MixpanelProfileBatchUpdateInput: z.ZodTypeAny;
5
- declare const MixpanelProfileBatchUpdateOutput: z.ZodTypeAny;
6
- declare const mixpanelProfileBatchUpdate: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MixpanelProfileBatchUpdateInput: z.ZodObject<{
5
+ profiles: z.ZodArray<z.ZodObject<{
6
+ ip: z.ZodOptional<z.ZodString>;
7
+ add: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
8
+ set: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
9
+ time: z.ZodOptional<z.ZodNumber>;
10
+ token: z.ZodString;
11
+ union: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
12
+ unset: z.ZodOptional<z.ZodArray<z.ZodString>>;
13
+ append: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
14
+ delete: z.ZodOptional<z.ZodString>;
15
+ remove: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
16
+ user_id: z.ZodOptional<z.ZodString>;
17
+ set_once: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
18
+ distinct_id: z.ZodOptional<z.ZodString>;
19
+ ignore_time: z.ZodOptional<z.ZodBoolean>;
20
+ }, z.core.$strip>>;
21
+ }, z.core.$strip>;
22
+ declare const MixpanelProfileBatchUpdateOutput: z.ZodObject<{
23
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ status: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
25
+ failed_records: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
26
+ field: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ index: z.ZodNullable<z.ZodNumber>;
28
+ message: z.ZodNullable<z.ZodString>;
29
+ }, z.core.$strip>>>>;
30
+ num_records_imported: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
31
+ }, z.core.$strip>;
32
+ declare const mixpanelProfileBatchUpdate: import("@keystrokehq/action").WorkflowActionDefinition<{
33
+ profiles: {
34
+ token: string;
35
+ ip?: string | undefined;
36
+ add?: Record<string, never> | undefined;
37
+ set?: Record<string, unknown> | undefined;
38
+ time?: number | undefined;
39
+ union?: Record<string, never> | undefined;
40
+ unset?: string[] | undefined;
41
+ append?: Record<string, unknown> | undefined;
42
+ delete?: string | undefined;
43
+ remove?: Record<string, unknown> | undefined;
44
+ user_id?: string | undefined;
45
+ set_once?: Record<string, unknown> | undefined;
46
+ distinct_id?: string | undefined;
47
+ ignore_time?: boolean | undefined;
48
+ }[];
49
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
50
  //#endregion
8
51
  export { mixpanelProfileBatchUpdate };
9
52
  //# sourceMappingURL=profile-batch-update.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"profile-batch-update.d.mts","names":[],"sources":["../../src/actions/profile-batch-update.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAiBO;AAAA,cAM1C,gCAAA,EAAkC,CAAA,CAAE,UAKO;AAAA,cAE3C,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"profile-batch-update.d.mts","names":[],"sources":["../../src/actions/profile-batch-update.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAuB/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;cAOhC,0BAAA,gCAA0B,wBAAA"}
@@ -19,8 +19,8 @@ const MixpanelProfileBatchUpdateInput = z.object({ profiles: z.array(z.object({
19
19
  }).describe("Model for a single profile update in the batch.")).describe("List of profile updates to send. Maximum 50 updates per request. Each profile must include $token and either $distinct_id or $user_id, plus at least one operation ($set, $set_once, $add, $union, $append, $remove, $unset, or $delete).") }).describe("Request model for batch profile updates.");
20
20
  const MixpanelProfileBatchUpdate_FailedRecordSchema = z.object({
21
21
  field: z.string().describe("The field that caused the error.").nullable().optional(),
22
- index: z.number().int().describe("Position in the request array (0-indexed) of the failed update."),
23
- message: z.string().describe("Description of the validation error.")
22
+ index: z.number().int().describe("Position in the request array (0-indexed) of the failed update.").nullable(),
23
+ message: z.string().describe("Description of the validation error.").nullable()
24
24
  }).describe("Model for a failed profile update record.");
25
25
  const mixpanelProfileBatchUpdate = action("MIXPANEL_PROFILE_BATCH_UPDATE", {
26
26
  slug: "mixpanel-profile-batch-update",
@@ -1 +1 @@
1
- {"version":3,"file":"profile-batch-update.mjs","names":[],"sources":["../../src/actions/profile-batch-update.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelProfileBatchUpdateInput: z.ZodTypeAny = z.object({\n profiles: z.array(z.object({\n ip: z.string().describe(\"IP address for geolocation. Set to '0' to not update geolocation data.\").optional(),\n add: z.object({}).describe(\"Increment numerical properties by the specified amounts.\").optional(),\n set: z.record(z.string(), z.unknown()).describe(\"Properties to set or update on the profile. Overwrites existing values.\").optional(),\n time: z.number().int().describe(\"Unix timestamp for when the profile update occurred.\").optional(),\n token: z.string().describe(\"Project authentication token. Required for each profile update.\"),\n union: z.object({}).describe(\"Add values to list properties without creating duplicates.\").optional(),\n unset: z.array(z.string()).describe(\"List of property names to remove from the profile.\").optional(),\n append: z.record(z.string(), z.unknown()).describe(\"Append values to list properties.\").optional(),\n \"delete\": z.string().describe(\"Set to empty string to delete the entire profile.\").optional(),\n remove: z.record(z.string(), z.unknown()).describe(\"Remove specific values from list properties.\").optional(),\n user_id: z.string().describe(\"Alternative user identifier. Either this or $distinct_id is required.\").optional(),\n set_once: z.record(z.string(), z.unknown()).describe(\"Properties to set only if not already set on the profile.\").optional(),\n distinct_id: z.string().describe(\"User identifier for the profile being updated. Either this or $user_id is required.\").optional(),\n ignore_time: z.boolean().describe(\"If true, Mixpanel will not automatically update the 'Last Seen' property.\").optional(),\n}).describe(\"Model for a single profile update in the batch.\")).describe(\"List of profile updates to send. Maximum 50 updates per request. Each profile must include $token and either $distinct_id or $user_id, plus at least one operation ($set, $set_once, $add, $union, $append, $remove, $unset, or $delete).\"),\n}).describe(\"Request model for batch profile updates.\");\nconst MixpanelProfileBatchUpdate_FailedRecordSchema: z.ZodTypeAny = z.object({\n field: z.string().describe(\"The field that caused the error.\").nullable().optional(),\n index: z.number().int().describe(\"Position in the request array (0-indexed) of the failed update.\"),\n message: z.string().describe(\"Description of the validation error.\"),\n}).describe(\"Model for a failed profile update record.\");\nexport const MixpanelProfileBatchUpdateOutput: z.ZodTypeAny = z.object({\n error: z.string().describe(\"Error message if the request failed.\").nullable().optional(),\n status: z.union([z.number().int(), z.string()]),\n failed_records: z.array(MixpanelProfileBatchUpdate_FailedRecordSchema).describe(\"Details about each failed update (only present when some updates fail validation).\").nullable().optional(),\n num_records_imported: z.number().int().describe(\"Number of successfully processed updates (only present in partial success responses).\").nullable().optional(),\n}).describe(\"Response model for batch profile updates.\");\n\nexport const mixpanelProfileBatchUpdate = action(\"MIXPANEL_PROFILE_BATCH_UPDATE\", {\n slug: \"mixpanel-profile-batch-update\",\n name: \"Update Multiple Profiles (Batch)\",\n description: \"Tool to update multiple user profiles in Mixpanel in a single batch request. Use when you need to update properties for multiple users efficiently. Supports operations: $set (update/add), $set_once (set if not exists), $add (increment), $union (add to list uniquely), $append (append to list), $remove (remove from list), $unset (delete property), $delete (delete profile). Maximum 50 updates per request. Always check the response status and failed_records for individual update failures.\",\n input: MixpanelProfileBatchUpdateInput,\n output: MixpanelProfileBatchUpdateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgD,EAAE,OAAO,EACpE,UAAU,EAAE,MAAM,EAAE,OAAO;CAC3B,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC3G,KAAK,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAChG,KAAK,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACpI,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACjG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;CAC5F,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACpG,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACnG,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACjG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC5F,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC5G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC/G,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAC3H,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CACjI,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,CAAC,SAAS,2OAA2O,EACpT,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAM,gDAA8D,EAAE,OAAO;CAC3E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE;CAClG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;AACrE,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAQvD,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZ4D,EAAE,OAAO;EACrE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,QAAQ,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,OAAO,CAAC,CAAC;EAC9C,gBAAgB,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1L,sBAAsB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/J,CAAC,CAAC,CAAC,SAAS,2CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"profile-batch-update.mjs","names":[],"sources":["../../src/actions/profile-batch-update.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelProfileBatchUpdateInput = z.object({\n profiles: z.array(z.object({\n ip: z.string().describe(\"IP address for geolocation. Set to '0' to not update geolocation data.\").optional(),\n add: z.object({}).describe(\"Increment numerical properties by the specified amounts.\").optional(),\n set: z.record(z.string(), z.unknown()).describe(\"Properties to set or update on the profile. Overwrites existing values.\").optional(),\n time: z.number().int().describe(\"Unix timestamp for when the profile update occurred.\").optional(),\n token: z.string().describe(\"Project authentication token. Required for each profile update.\"),\n union: z.object({}).describe(\"Add values to list properties without creating duplicates.\").optional(),\n unset: z.array(z.string()).describe(\"List of property names to remove from the profile.\").optional(),\n append: z.record(z.string(), z.unknown()).describe(\"Append values to list properties.\").optional(),\n \"delete\": z.string().describe(\"Set to empty string to delete the entire profile.\").optional(),\n remove: z.record(z.string(), z.unknown()).describe(\"Remove specific values from list properties.\").optional(),\n user_id: z.string().describe(\"Alternative user identifier. Either this or $distinct_id is required.\").optional(),\n set_once: z.record(z.string(), z.unknown()).describe(\"Properties to set only if not already set on the profile.\").optional(),\n distinct_id: z.string().describe(\"User identifier for the profile being updated. Either this or $user_id is required.\").optional(),\n ignore_time: z.boolean().describe(\"If true, Mixpanel will not automatically update the 'Last Seen' property.\").optional(),\n}).describe(\"Model for a single profile update in the batch.\")).describe(\"List of profile updates to send. Maximum 50 updates per request. Each profile must include $token and either $distinct_id or $user_id, plus at least one operation ($set, $set_once, $add, $union, $append, $remove, $unset, or $delete).\"),\n}).describe(\"Request model for batch profile updates.\");\nconst MixpanelProfileBatchUpdate_FailedRecordSchema = z.object({\n field: z.string().describe(\"The field that caused the error.\").nullable().optional(),\n index: z.number().int().describe(\"Position in the request array (0-indexed) of the failed update.\").nullable(),\n message: z.string().describe(\"Description of the validation error.\").nullable(),\n}).describe(\"Model for a failed profile update record.\");\nexport const MixpanelProfileBatchUpdateOutput = z.object({\n error: z.string().describe(\"Error message if the request failed.\").nullable().optional(),\n status: z.union([z.number().int(), z.string()]),\n failed_records: z.array(MixpanelProfileBatchUpdate_FailedRecordSchema).describe(\"Details about each failed update (only present when some updates fail validation).\").nullable().optional(),\n num_records_imported: z.number().int().describe(\"Number of successfully processed updates (only present in partial success responses).\").nullable().optional(),\n}).describe(\"Response model for batch profile updates.\");\n\nexport const mixpanelProfileBatchUpdate = action(\"MIXPANEL_PROFILE_BATCH_UPDATE\", {\n slug: \"mixpanel-profile-batch-update\",\n name: \"Update Multiple Profiles (Batch)\",\n description: \"Tool to update multiple user profiles in Mixpanel in a single batch request. Use when you need to update properties for multiple users efficiently. Supports operations: $set (update/add), $set_once (set if not exists), $add (increment), $union (add to list uniquely), $append (append to list), $remove (remove from list), $unset (delete property), $delete (delete profile). Maximum 50 updates per request. Always check the response status and failed_records for individual update failures.\",\n input: MixpanelProfileBatchUpdateInput,\n output: MixpanelProfileBatchUpdateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO,EACtD,UAAU,EAAE,MAAM,EAAE,OAAO;CAC3B,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC3G,KAAK,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAChG,KAAK,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACpI,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACjG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;CAC5F,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACpG,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACnG,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACjG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC5F,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC5G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC/G,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAC3H,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CACjI,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,CAAC,SAAS,2OAA2O,EACpT,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAM,gDAAgD,EAAE,OAAO;CAC7D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAC7G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAQvD,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZ8C,EAAE,OAAO;EACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,QAAQ,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,OAAO,CAAC,CAAC;EAC9C,gBAAgB,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1L,sBAAsB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/J,CAAC,CAAC,CAAC,SAAS,2CAOF;AACV,CAAC"}
@@ -46,12 +46,12 @@ const MixpanelProfileEventActivity_EventPropertiesSchema = zod.z.object({
46
46
  $initial_referring_domain: zod.z.string().describe("First-arrival referring domain").nullable().optional()
47
47
  }).describe("Model for event properties including time, distinct_id, and other attributes.");
48
48
  const MixpanelProfileEventActivity_EventSchema = zod.z.object({
49
- event: zod.z.string().describe("The name of the event that occurred"),
49
+ event: zod.z.string().describe("The name of the event that occurred").nullable(),
50
50
  properties: MixpanelProfileEventActivity_EventPropertiesSchema.nullable()
51
51
  }).describe("Model for individual event in the activity feed.");
52
52
  const MixpanelProfileEventActivity_ResultsSchema = zod.z.object({ events: zod.z.array(MixpanelProfileEventActivity_EventSchema).describe("Array of events in the user's activity feed") }).describe("Container for query results.");
53
53
  const MixpanelProfileEventActivityOutput = zod.z.object({
54
- status: zod.z.string().describe("Indicates whether the API request was successful"),
54
+ status: zod.z.string().describe("Indicates whether the API request was successful").nullable(),
55
55
  results: MixpanelProfileEventActivity_ResultsSchema.nullable()
56
56
  }).describe("Response model for profile event activity data.");
57
57
  const mixpanelProfileEventActivity = require_action.action("MIXPANEL_PROFILE_EVENT_ACTIVITY", {