@keystrokehq/mixpanel 0.1.2 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (289) hide show
  1. package/dist/actions/add-unique-to-profile-list-property.cjs +3 -3
  2. package/dist/actions/add-unique-to-profile-list-property.cjs.map +1 -1
  3. package/dist/actions/add-unique-to-profile-list-property.d.cts +22 -5
  4. package/dist/actions/add-unique-to-profile-list-property.d.cts.map +1 -1
  5. package/dist/actions/add-unique-to-profile-list-property.d.mts +22 -5
  6. package/dist/actions/add-unique-to-profile-list-property.d.mts.map +1 -1
  7. package/dist/actions/add-unique-to-profile-list-property.mjs +3 -3
  8. package/dist/actions/add-unique-to-profile-list-property.mjs.map +1 -1
  9. package/dist/actions/aggregate-events.cjs +3 -3
  10. package/dist/actions/aggregate-events.cjs.map +1 -1
  11. package/dist/actions/aggregate-events.d.cts +20 -4
  12. package/dist/actions/aggregate-events.d.mts +20 -4
  13. package/dist/actions/aggregate-events.mjs +3 -3
  14. package/dist/actions/aggregate-events.mjs.map +1 -1
  15. package/dist/actions/aggregated-event-property-values.cjs +2 -2
  16. package/dist/actions/aggregated-event-property-values.cjs.map +1 -1
  17. package/dist/actions/aggregated-event-property-values.d.cts +19 -3
  18. package/dist/actions/aggregated-event-property-values.d.mts +19 -3
  19. package/dist/actions/aggregated-event-property-values.mjs +2 -2
  20. package/dist/actions/aggregated-event-property-values.mjs.map +1 -1
  21. package/dist/actions/cohorts-list.cjs +2 -2
  22. package/dist/actions/cohorts-list.cjs.map +1 -1
  23. package/dist/actions/cohorts-list.d.cts +19 -3
  24. package/dist/actions/cohorts-list.d.mts +19 -3
  25. package/dist/actions/cohorts-list.mjs +2 -2
  26. package/dist/actions/cohorts-list.mjs.map +1 -1
  27. package/dist/actions/create-annotation-tag.cjs +1 -1
  28. package/dist/actions/create-annotation-tag.cjs.map +1 -1
  29. package/dist/actions/create-annotation-tag.d.cts +18 -2
  30. package/dist/actions/create-annotation-tag.d.mts +18 -2
  31. package/dist/actions/create-annotation-tag.mjs +1 -1
  32. package/dist/actions/create-annotation-tag.mjs.map +1 -1
  33. package/dist/actions/create-identity.cjs +1 -1
  34. package/dist/actions/create-identity.cjs.map +1 -1
  35. package/dist/actions/create-identity.d.cts +18 -2
  36. package/dist/actions/create-identity.d.mts +18 -2
  37. package/dist/actions/create-identity.mjs +1 -1
  38. package/dist/actions/create-identity.mjs.map +1 -1
  39. package/dist/actions/create-service-account.cjs +3 -3
  40. package/dist/actions/create-service-account.cjs.map +1 -1
  41. package/dist/actions/create-service-account.d.cts +21 -4
  42. package/dist/actions/create-service-account.d.mts +21 -4
  43. package/dist/actions/create-service-account.mjs +3 -3
  44. package/dist/actions/create-service-account.mjs.map +1 -1
  45. package/dist/actions/delete-group.cjs +1 -1
  46. package/dist/actions/delete-group.cjs.map +1 -1
  47. package/dist/actions/delete-group.d.cts +18 -2
  48. package/dist/actions/delete-group.d.mts +18 -2
  49. package/dist/actions/delete-group.mjs +1 -1
  50. package/dist/actions/delete-group.mjs.map +1 -1
  51. package/dist/actions/delete-profile-batch.cjs +2 -2
  52. package/dist/actions/delete-profile-batch.cjs.map +1 -1
  53. package/dist/actions/delete-profile-batch.d.cts +20 -3
  54. package/dist/actions/delete-profile-batch.d.mts +20 -3
  55. package/dist/actions/delete-profile-batch.mjs +2 -2
  56. package/dist/actions/delete-profile-batch.mjs.map +1 -1
  57. package/dist/actions/delete-profile-property.cjs +1 -1
  58. package/dist/actions/delete-profile-property.cjs.map +1 -1
  59. package/dist/actions/delete-profile-property.d.cts +18 -2
  60. package/dist/actions/delete-profile-property.d.mts +18 -2
  61. package/dist/actions/delete-profile-property.mjs +1 -1
  62. package/dist/actions/delete-profile-property.mjs.map +1 -1
  63. package/dist/actions/delete-profile.cjs +1 -1
  64. package/dist/actions/delete-profile.cjs.map +1 -1
  65. package/dist/actions/delete-profile.d.cts +18 -2
  66. package/dist/actions/delete-profile.d.mts +18 -2
  67. package/dist/actions/delete-profile.mjs +1 -1
  68. package/dist/actions/delete-profile.mjs.map +1 -1
  69. package/dist/actions/get-all-projects.cjs +1 -1
  70. package/dist/actions/get-all-projects.cjs.map +1 -1
  71. package/dist/actions/get-all-projects.d.cts +19 -3
  72. package/dist/actions/get-all-projects.d.cts.map +1 -1
  73. package/dist/actions/get-all-projects.d.mts +19 -3
  74. package/dist/actions/get-all-projects.d.mts.map +1 -1
  75. package/dist/actions/get-all-projects.mjs +1 -1
  76. package/dist/actions/get-all-projects.mjs.map +1 -1
  77. package/dist/actions/get-annotation-tags-alt1.cjs +2 -2
  78. package/dist/actions/get-annotation-tags-alt1.cjs.map +1 -1
  79. package/dist/actions/get-annotation-tags-alt1.d.cts +19 -3
  80. package/dist/actions/get-annotation-tags-alt1.d.mts +19 -3
  81. package/dist/actions/get-annotation-tags-alt1.mjs +2 -2
  82. package/dist/actions/get-annotation-tags-alt1.mjs.map +1 -1
  83. package/dist/actions/group-batch-update.cjs +3 -3
  84. package/dist/actions/group-batch-update.cjs.map +1 -1
  85. package/dist/actions/group-batch-update.d.cts +22 -5
  86. package/dist/actions/group-batch-update.d.mts +22 -5
  87. package/dist/actions/group-batch-update.mjs +3 -3
  88. package/dist/actions/group-batch-update.mjs.map +1 -1
  89. package/dist/actions/group-delete-property.cjs +1 -1
  90. package/dist/actions/group-delete-property.cjs.map +1 -1
  91. package/dist/actions/group-delete-property.d.cts +18 -2
  92. package/dist/actions/group-delete-property.d.mts +18 -2
  93. package/dist/actions/group-delete-property.mjs +1 -1
  94. package/dist/actions/group-delete-property.mjs.map +1 -1
  95. package/dist/actions/identity-create-alias.cjs +1 -1
  96. package/dist/actions/identity-create-alias.cjs.map +1 -1
  97. package/dist/actions/identity-create-alias.d.cts +18 -2
  98. package/dist/actions/identity-create-alias.d.mts +18 -2
  99. package/dist/actions/identity-create-alias.mjs +1 -1
  100. package/dist/actions/identity-create-alias.mjs.map +1 -1
  101. package/dist/actions/jql-query.cjs +1 -1
  102. package/dist/actions/jql-query.cjs.map +1 -1
  103. package/dist/actions/jql-query.d.cts +18 -2
  104. package/dist/actions/jql-query.d.cts.map +1 -1
  105. package/dist/actions/jql-query.d.mts +18 -2
  106. package/dist/actions/jql-query.d.mts.map +1 -1
  107. package/dist/actions/jql-query.mjs +1 -1
  108. package/dist/actions/jql-query.mjs.map +1 -1
  109. package/dist/actions/list-funnels.cjs +2 -2
  110. package/dist/actions/list-funnels.cjs.map +1 -1
  111. package/dist/actions/list-funnels.d.cts +19 -3
  112. package/dist/actions/list-funnels.d.mts +19 -3
  113. package/dist/actions/list-funnels.mjs +2 -2
  114. package/dist/actions/list-funnels.mjs.map +1 -1
  115. package/dist/actions/list-service-accounts.cjs +2 -2
  116. package/dist/actions/list-service-accounts.cjs.map +1 -1
  117. package/dist/actions/list-service-accounts.d.cts +19 -3
  118. package/dist/actions/list-service-accounts.d.mts +19 -3
  119. package/dist/actions/list-service-accounts.mjs +2 -2
  120. package/dist/actions/list-service-accounts.mjs.map +1 -1
  121. package/dist/actions/profile-append-to-list-property.cjs +2 -2
  122. package/dist/actions/profile-append-to-list-property.cjs.map +1 -1
  123. package/dist/actions/profile-append-to-list-property.d.cts +20 -3
  124. package/dist/actions/profile-append-to-list-property.d.cts.map +1 -1
  125. package/dist/actions/profile-append-to-list-property.d.mts +20 -3
  126. package/dist/actions/profile-append-to-list-property.d.mts.map +1 -1
  127. package/dist/actions/profile-append-to-list-property.mjs +2 -2
  128. package/dist/actions/profile-append-to-list-property.mjs.map +1 -1
  129. package/dist/actions/profile-batch-update.cjs +5 -5
  130. package/dist/actions/profile-batch-update.cjs.map +1 -1
  131. package/dist/actions/profile-batch-update.d.cts +25 -8
  132. package/dist/actions/profile-batch-update.d.mts +25 -8
  133. package/dist/actions/profile-batch-update.mjs +5 -5
  134. package/dist/actions/profile-batch-update.mjs.map +1 -1
  135. package/dist/actions/profile-event-activity.cjs +4 -4
  136. package/dist/actions/profile-event-activity.cjs.map +1 -1
  137. package/dist/actions/profile-event-activity.d.cts +21 -5
  138. package/dist/actions/profile-event-activity.d.mts +21 -5
  139. package/dist/actions/profile-event-activity.mjs +4 -4
  140. package/dist/actions/profile-event-activity.mjs.map +1 -1
  141. package/dist/actions/profile-numerical-add.cjs +2 -2
  142. package/dist/actions/profile-numerical-add.cjs.map +1 -1
  143. package/dist/actions/profile-numerical-add.d.cts +20 -4
  144. package/dist/actions/profile-numerical-add.d.cts.map +1 -1
  145. package/dist/actions/profile-numerical-add.d.mts +20 -4
  146. package/dist/actions/profile-numerical-add.d.mts.map +1 -1
  147. package/dist/actions/profile-numerical-add.mjs +2 -2
  148. package/dist/actions/profile-numerical-add.mjs.map +1 -1
  149. package/dist/actions/profile-remove-from-list-property.cjs +2 -2
  150. package/dist/actions/profile-remove-from-list-property.cjs.map +1 -1
  151. package/dist/actions/profile-remove-from-list-property.d.cts +20 -3
  152. package/dist/actions/profile-remove-from-list-property.d.cts.map +1 -1
  153. package/dist/actions/profile-remove-from-list-property.d.mts +20 -3
  154. package/dist/actions/profile-remove-from-list-property.d.mts.map +1 -1
  155. package/dist/actions/profile-remove-from-list-property.mjs +2 -2
  156. package/dist/actions/profile-remove-from-list-property.mjs.map +1 -1
  157. package/dist/actions/profile-set.cjs +1 -1
  158. package/dist/actions/profile-set.cjs.map +1 -1
  159. package/dist/actions/profile-set.d.cts +18 -2
  160. package/dist/actions/profile-set.d.cts.map +1 -1
  161. package/dist/actions/profile-set.d.mts +18 -2
  162. package/dist/actions/profile-set.d.mts.map +1 -1
  163. package/dist/actions/profile-set.mjs +1 -1
  164. package/dist/actions/profile-set.mjs.map +1 -1
  165. package/dist/actions/query-frequency-report.cjs +1 -1
  166. package/dist/actions/query-frequency-report.cjs.map +1 -1
  167. package/dist/actions/query-frequency-report.d.cts +19 -3
  168. package/dist/actions/query-frequency-report.d.mts +19 -3
  169. package/dist/actions/query-frequency-report.mjs +1 -1
  170. package/dist/actions/query-frequency-report.mjs.map +1 -1
  171. package/dist/actions/query-funnel.cjs +3 -3
  172. package/dist/actions/query-funnel.cjs.map +1 -1
  173. package/dist/actions/query-funnel.d.cts +20 -4
  174. package/dist/actions/query-funnel.d.mts +20 -4
  175. package/dist/actions/query-funnel.mjs +3 -3
  176. package/dist/actions/query-funnel.mjs.map +1 -1
  177. package/dist/actions/query-insight.cjs +3 -3
  178. package/dist/actions/query-insight.cjs.map +1 -1
  179. package/dist/actions/query-insight.d.cts +20 -4
  180. package/dist/actions/query-insight.d.mts +20 -4
  181. package/dist/actions/query-insight.mjs +3 -3
  182. package/dist/actions/query-insight.mjs.map +1 -1
  183. package/dist/actions/query-numeric-average.cjs +2 -2
  184. package/dist/actions/query-numeric-average.cjs.map +1 -1
  185. package/dist/actions/query-numeric-average.d.cts +19 -3
  186. package/dist/actions/query-numeric-average.d.mts +19 -3
  187. package/dist/actions/query-numeric-average.mjs +2 -2
  188. package/dist/actions/query-numeric-average.mjs.map +1 -1
  189. package/dist/actions/query-numeric-sum.cjs +2 -2
  190. package/dist/actions/query-numeric-sum.cjs.map +1 -1
  191. package/dist/actions/query-numeric-sum.d.cts +19 -3
  192. package/dist/actions/query-numeric-sum.d.mts +19 -3
  193. package/dist/actions/query-numeric-sum.mjs +2 -2
  194. package/dist/actions/query-numeric-sum.mjs.map +1 -1
  195. package/dist/actions/query-profiles.cjs +3 -3
  196. package/dist/actions/query-profiles.cjs.map +1 -1
  197. package/dist/actions/query-profiles.d.cts +21 -5
  198. package/dist/actions/query-profiles.d.cts.map +1 -1
  199. package/dist/actions/query-profiles.d.mts +21 -5
  200. package/dist/actions/query-profiles.d.mts.map +1 -1
  201. package/dist/actions/query-profiles.mjs +3 -3
  202. package/dist/actions/query-profiles.mjs.map +1 -1
  203. package/dist/actions/query-retention-report.cjs +1 -1
  204. package/dist/actions/query-retention-report.cjs.map +1 -1
  205. package/dist/actions/query-retention-report.d.cts +19 -3
  206. package/dist/actions/query-retention-report.d.mts +19 -3
  207. package/dist/actions/query-retention-report.mjs +1 -1
  208. package/dist/actions/query-retention-report.mjs.map +1 -1
  209. package/dist/actions/query-segmentation.cjs +3 -3
  210. package/dist/actions/query-segmentation.cjs.map +1 -1
  211. package/dist/actions/query-segmentation.d.cts +20 -4
  212. package/dist/actions/query-segmentation.d.mts +20 -4
  213. package/dist/actions/query-segmentation.mjs +3 -3
  214. package/dist/actions/query-segmentation.mjs.map +1 -1
  215. package/dist/actions/query-top-events.cjs +2 -2
  216. package/dist/actions/query-top-events.cjs.map +1 -1
  217. package/dist/actions/query-top-events.d.cts +19 -3
  218. package/dist/actions/query-top-events.d.mts +19 -3
  219. package/dist/actions/query-top-events.mjs +2 -2
  220. package/dist/actions/query-top-events.mjs.map +1 -1
  221. package/dist/actions/remove-from-group-list-property.cjs +2 -2
  222. package/dist/actions/remove-from-group-list-property.cjs.map +1 -1
  223. package/dist/actions/remove-from-group-list-property.d.cts +20 -3
  224. package/dist/actions/remove-from-group-list-property.d.cts.map +1 -1
  225. package/dist/actions/remove-from-group-list-property.d.mts +20 -3
  226. package/dist/actions/remove-from-group-list-property.d.mts.map +1 -1
  227. package/dist/actions/remove-from-group-list-property.mjs +2 -2
  228. package/dist/actions/remove-from-group-list-property.mjs.map +1 -1
  229. package/dist/actions/remove-from-list-property.cjs +1 -1
  230. package/dist/actions/remove-from-list-property.cjs.map +1 -1
  231. package/dist/actions/remove-from-list-property.d.cts +18 -2
  232. package/dist/actions/remove-from-list-property.d.cts.map +1 -1
  233. package/dist/actions/remove-from-list-property.d.mts +18 -2
  234. package/dist/actions/remove-from-list-property.d.mts.map +1 -1
  235. package/dist/actions/remove-from-list-property.mjs +1 -1
  236. package/dist/actions/remove-from-list-property.mjs.map +1 -1
  237. package/dist/actions/segmentation-numeric-query.cjs +2 -2
  238. package/dist/actions/segmentation-numeric-query.cjs.map +1 -1
  239. package/dist/actions/segmentation-numeric-query.d.cts +19 -3
  240. package/dist/actions/segmentation-numeric-query.d.mts +19 -3
  241. package/dist/actions/segmentation-numeric-query.mjs +2 -2
  242. package/dist/actions/segmentation-numeric-query.mjs.map +1 -1
  243. package/dist/actions/set-group-property-once.cjs +1 -1
  244. package/dist/actions/set-group-property-once.cjs.map +1 -1
  245. package/dist/actions/set-group-property-once.d.cts +18 -2
  246. package/dist/actions/set-group-property-once.d.cts.map +1 -1
  247. package/dist/actions/set-group-property-once.d.mts +18 -2
  248. package/dist/actions/set-group-property-once.d.mts.map +1 -1
  249. package/dist/actions/set-group-property-once.mjs +1 -1
  250. package/dist/actions/set-group-property-once.mjs.map +1 -1
  251. package/dist/actions/set-profile-property-once.cjs +1 -1
  252. package/dist/actions/set-profile-property-once.cjs.map +1 -1
  253. package/dist/actions/set-profile-property-once.d.cts +18 -2
  254. package/dist/actions/set-profile-property-once.d.cts.map +1 -1
  255. package/dist/actions/set-profile-property-once.d.mts +18 -2
  256. package/dist/actions/set-profile-property-once.d.mts.map +1 -1
  257. package/dist/actions/set-profile-property-once.mjs +1 -1
  258. package/dist/actions/set-profile-property-once.mjs.map +1 -1
  259. package/dist/actions/top-event-properties.d.cts +17 -1
  260. package/dist/actions/top-event-properties.d.mts +17 -1
  261. package/dist/actions/top-event-property-values.cjs +1 -1
  262. package/dist/actions/top-event-property-values.cjs.map +1 -1
  263. package/dist/actions/top-event-property-values.d.cts +18 -2
  264. package/dist/actions/top-event-property-values.d.mts +18 -2
  265. package/dist/actions/top-event-property-values.mjs +1 -1
  266. package/dist/actions/top-event-property-values.mjs.map +1 -1
  267. package/dist/actions/top-events.cjs +1 -1
  268. package/dist/actions/top-events.cjs.map +1 -1
  269. package/dist/actions/top-events.d.cts +18 -2
  270. package/dist/actions/top-events.d.mts +18 -2
  271. package/dist/actions/top-events.mjs +1 -1
  272. package/dist/actions/top-events.mjs.map +1 -1
  273. package/dist/actions/update-group-list-property.cjs +3 -3
  274. package/dist/actions/update-group-list-property.cjs.map +1 -1
  275. package/dist/actions/update-group-list-property.d.cts +22 -5
  276. package/dist/actions/update-group-list-property.d.cts.map +1 -1
  277. package/dist/actions/update-group-list-property.d.mts +22 -5
  278. package/dist/actions/update-group-list-property.d.mts.map +1 -1
  279. package/dist/actions/update-group-list-property.mjs +3 -3
  280. package/dist/actions/update-group-list-property.mjs.map +1 -1
  281. package/dist/app.cjs +9 -2
  282. package/dist/app.cjs.map +1 -1
  283. package/dist/app.d.cts +11 -1
  284. package/dist/app.d.cts.map +1 -1
  285. package/dist/app.d.mts +11 -1
  286. package/dist/app.d.mts.map +1 -1
  287. package/dist/app.mjs +7 -1
  288. package/dist/app.mjs.map +1 -1
  289. package/package.json +1 -1
@@ -7,21 +7,38 @@ declare const MixpanelRemoveFromGroupListPropertyInput: z.ZodObject<{
7
7
  remove: z.ZodRecord<z.ZodString, z.ZodUnknown>;
8
8
  group_id: z.ZodString;
9
9
  group_key: z.ZodString;
10
- }, z.core.$strip>>;
10
+ }, z.core.$loose>>;
11
11
  }, z.core.$strip>;
12
12
  declare const MixpanelRemoveFromGroupListPropertyOutput: z.ZodObject<{
13
13
  code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
14
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
15
  status: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
16
- }, z.core.$strip>;
16
+ }, z.core.$loose>;
17
17
  declare const mixpanelRemoveFromGroupListProperty: import("@keystrokehq/action").WorkflowActionDefinition<{
18
18
  data: {
19
+ [x: string]: unknown;
19
20
  token: string;
20
21
  remove: Record<string, unknown>;
21
22
  group_id: string;
22
23
  group_key: string;
23
24
  }[];
24
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
25
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
26
+ connectionId: z.ZodString;
27
+ entityId: z.ZodString;
28
+ instanceId: z.ZodString;
29
+ }, z.core.$strip>, z.ZodObject<{
30
+ username: z.ZodString;
31
+ password: z.ZodString;
32
+ region: z.ZodString;
33
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
34
+ connectionId: z.ZodString;
35
+ entityId: z.ZodString;
36
+ instanceId: z.ZodString;
37
+ }, z.core.$strip>, z.ZodObject<{
38
+ username: z.ZodString;
39
+ password: z.ZodString;
40
+ region: z.ZodString;
41
+ }, z.core.$strip>>]>;
25
42
  //#endregion
26
43
  export { mixpanelRemoveFromGroupListProperty };
27
44
  //# sourceMappingURL=remove-from-group-list-property.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"remove-from-group-list-property.d.cts","names":[],"sources":["../../src/actions/remove-from-group-list-property.ts"],"mappings":";;;cAIa,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;cAQxC,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;cAMzC,mCAAA,gCAAmC,wBAAA;;;YAM9C,MAAA"}
1
+ {"version":3,"file":"remove-from-group-list-property.d.cts","names":[],"sources":["../../src/actions/remove-from-group-list-property.ts"],"mappings":";;;cAIa,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;cAQxC,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;cAMzC,mCAAA,gCAAmC,wBAAA"}
@@ -7,21 +7,38 @@ declare const MixpanelRemoveFromGroupListPropertyInput: z.ZodObject<{
7
7
  remove: z.ZodRecord<z.ZodString, z.ZodUnknown>;
8
8
  group_id: z.ZodString;
9
9
  group_key: z.ZodString;
10
- }, z.core.$strip>>;
10
+ }, z.core.$loose>>;
11
11
  }, z.core.$strip>;
12
12
  declare const MixpanelRemoveFromGroupListPropertyOutput: z.ZodObject<{
13
13
  code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
14
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
15
  status: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
16
- }, z.core.$strip>;
16
+ }, z.core.$loose>;
17
17
  declare const mixpanelRemoveFromGroupListProperty: import("@keystrokehq/action").WorkflowActionDefinition<{
18
18
  data: {
19
+ [x: string]: unknown;
19
20
  token: string;
20
21
  remove: Record<string, unknown>;
21
22
  group_id: string;
22
23
  group_key: string;
23
24
  }[];
24
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
25
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
26
+ connectionId: z.ZodString;
27
+ entityId: z.ZodString;
28
+ instanceId: z.ZodString;
29
+ }, z.core.$strip>, z.ZodObject<{
30
+ username: z.ZodString;
31
+ password: z.ZodString;
32
+ region: z.ZodString;
33
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
34
+ connectionId: z.ZodString;
35
+ entityId: z.ZodString;
36
+ instanceId: z.ZodString;
37
+ }, z.core.$strip>, z.ZodObject<{
38
+ username: z.ZodString;
39
+ password: z.ZodString;
40
+ region: z.ZodString;
41
+ }, z.core.$strip>>]>;
25
42
  //#endregion
26
43
  export { mixpanelRemoveFromGroupListProperty };
27
44
  //# sourceMappingURL=remove-from-group-list-property.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"remove-from-group-list-property.d.mts","names":[],"sources":["../../src/actions/remove-from-group-list-property.ts"],"mappings":";;;cAIa,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;cAQxC,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;cAMzC,mCAAA,gCAAmC,wBAAA;;;YAM9C,MAAA"}
1
+ {"version":3,"file":"remove-from-group-list-property.d.mts","names":[],"sources":["../../src/actions/remove-from-group-list-property.ts"],"mappings":";;;cAIa,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;;;;;;cAQxC,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;cAMzC,mCAAA,gCAAmC,wBAAA"}
@@ -9,12 +9,12 @@ const mixpanelRemoveFromGroupListProperty = action("MIXPANEL_REMOVE_FROM_GROUP_L
9
9
  remove: z.record(z.string(), z.unknown()).describe("A JSON object containing key-value pairs where each key is a list property name and each value is the item to remove from that list property. If the value doesn't exist in the list, no updates are made."),
10
10
  group_id: z.string().describe("The unique identifier for the group"),
11
11
  group_key: z.string().describe("The group category/type (e.g., 'Company', 'Organization')")
12
- }).describe("Individual group profile update object for removing from list properties.")).describe("A list of group profile update objects. Each object must contain $token, $group_key, $group_id, and $remove properties.") }).describe("Request model for removing values from list properties on group profiles."),
12
+ }).passthrough().describe("Individual group profile update object for removing from list properties.")).describe("A list of group profile update objects. Each object must contain $token, $group_key, $group_id, and $remove properties.") }).describe("Request model for removing values from list properties on group profiles."),
13
13
  output: z.object({
14
14
  code: z.number().int().describe("HTTP status code (200 for success)").nullable().optional(),
15
15
  error: z.string().describe("Error message if the request failed, null if successful.").nullable().optional(),
16
16
  status: z.union([z.string(), z.number().int()])
17
- }).describe("Response model for group remove operation.")
17
+ }).passthrough().describe("Response model for group remove operation.")
18
18
  });
19
19
  //#endregion
20
20
  export { mixpanelRemoveFromGroupListProperty };
@@ -1 +1 @@
1
- {"version":3,"file":"remove-from-group-list-property.mjs","names":[],"sources":["../../src/actions/remove-from-group-list-property.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelRemoveFromGroupListPropertyInput = z.object({\n data: z.array(z.object({\n token: z.string().describe(\"Your Mixpanel project authentication token\"),\n remove: z.record(z.string(), z.unknown()).describe(\"A JSON object containing key-value pairs where each key is a list property name and each value is the item to remove from that list property. If the value doesn't exist in the list, no updates are made.\"),\n group_id: z.string().describe(\"The unique identifier for the group\"),\n group_key: z.string().describe(\"The group category/type (e.g., 'Company', 'Organization')\"),\n}).describe(\"Individual group profile update object for removing from list properties.\")).describe(\"A list of group profile update objects. Each object must contain $token, $group_key, $group_id, and $remove properties.\"),\n}).describe(\"Request model for removing values from list properties on group profiles.\");\nexport const MixpanelRemoveFromGroupListPropertyOutput = z.object({\n code: z.number().int().describe(\"HTTP status code (200 for success)\").nullable().optional(),\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 group remove operation.\");\n\nexport const mixpanelRemoveFromGroupListProperty = action(\"MIXPANEL_REMOVE_FROM_GROUP_LIST_PROPERTY\", {\n slug: \"mixpanel-remove-from-group-list-property\",\n name: \"Remove from Group List Property\",\n description: \"Tool to remove values from list properties on group profiles in Mixpanel. Use when you need to remove specific items from list-type properties on groups (companies, organizations, etc.). If the value doesn't exist in the list, no updates are made. If the property doesn't exist or is not list-valued, the operation is ignored.\",\n input: MixpanelRemoveFromGroupListPropertyInput,\n output: MixpanelRemoveFromGroupListPropertyOutput,\n});\n"],"mappings":";;AAkBA,MAAa,sCAAsC,OAAO,4CAA4C;CACpG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBsD,EAAE,OAAO,EAC/D,MAAM,EAAE,MAAM,EAAE,OAAO;EACvB,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EACvE,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4MAA4M;EAC/P,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;EACnE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CAC5F,CAAC,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,CAAC,SAAS,yHAAyH,EAC5N,CAAC,CAAC,CAAC,SAAS,2EAWH;CACP,QAXuD,EAAE,OAAO;EAChE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,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,4CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"remove-from-group-list-property.mjs","names":[],"sources":["../../src/actions/remove-from-group-list-property.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelRemoveFromGroupListPropertyInput = z.object({\n data: z.array(z.object({\n token: z.string().describe(\"Your Mixpanel project authentication token\"),\n remove: z.record(z.string(), z.unknown()).describe(\"A JSON object containing key-value pairs where each key is a list property name and each value is the item to remove from that list property. If the value doesn't exist in the list, no updates are made.\"),\n group_id: z.string().describe(\"The unique identifier for the group\"),\n group_key: z.string().describe(\"The group category/type (e.g., 'Company', 'Organization')\"),\n}).passthrough().describe(\"Individual group profile update object for removing from list properties.\")).describe(\"A list of group profile update objects. Each object must contain $token, $group_key, $group_id, and $remove properties.\"),\n}).describe(\"Request model for removing values from list properties on group profiles.\");\nexport const MixpanelRemoveFromGroupListPropertyOutput = z.object({\n code: z.number().int().describe(\"HTTP status code (200 for success)\").nullable().optional(),\n error: z.string().describe(\"Error message if the request failed, null if successful.\").nullable().optional(),\n status: z.union([z.string(), z.number().int()]),\n}).passthrough().describe(\"Response model for group remove operation.\");\n\nexport const mixpanelRemoveFromGroupListProperty = action(\"MIXPANEL_REMOVE_FROM_GROUP_LIST_PROPERTY\", {\n slug: \"mixpanel-remove-from-group-list-property\",\n name: \"Remove from Group List Property\",\n description: \"Tool to remove values from list properties on group profiles in Mixpanel. Use when you need to remove specific items from list-type properties on groups (companies, organizations, etc.). If the value doesn't exist in the list, no updates are made. If the property doesn't exist or is not list-valued, the operation is ignored.\",\n input: MixpanelRemoveFromGroupListPropertyInput,\n output: MixpanelRemoveFromGroupListPropertyOutput,\n});\n"],"mappings":";;AAkBA,MAAa,sCAAsC,OAAO,4CAA4C;CACpG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBsD,EAAE,OAAO,EAC/D,MAAM,EAAE,MAAM,EAAE,OAAO;EACvB,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EACvE,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4MAA4M;EAC/P,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;EACnE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,CAAC,SAAS,yHAAyH,EAC1O,CAAC,CAAC,CAAC,SAAS,2EAWH;CACP,QAXuD,EAAE,OAAO;EAChE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,QAAQ,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;CAChD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAOhB;AACV,CAAC"}
@@ -12,7 +12,7 @@ const MixpanelRemoveFromListPropertyInput = zod.z.object({
12
12
  const MixpanelRemoveFromListPropertyOutput = zod.z.object({
13
13
  error: zod.z.string().describe("Error message if the request failed, null if successful.").nullable().optional(),
14
14
  status: zod.z.union([zod.z.string(), zod.z.number().int()])
15
- }).describe("Response model for remove from list property operation.");
15
+ }).passthrough().describe("Response model for remove from list property operation.");
16
16
  const mixpanelRemoveFromListProperty = require_action.action("MIXPANEL_REMOVE_FROM_LIST_PROPERTY", {
17
17
  slug: "mixpanel-remove-from-list-property",
18
18
  name: "Remove from Profile List Property",
@@ -1 +1 @@
1
- {"version":3,"file":"remove-from-list-property.cjs","names":["z","action"],"sources":["../../src/actions/remove-from-list-property.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelRemoveFromListPropertyInput = z.object({\n ip: z.string().describe(\"IP address for geolocation enrichment. Set to '0' to prevent updating geolocation data. If not provided, Mixpanel uses the request IP. Geolocation properties ($city, $region, mp_country_code) are derived and the IP is discarded.\").optional(),\n time: z.number().int().describe(\"Unix timestamp (seconds since epoch) indicating when the profile update occurred. Defaults to the current server time if not provided.\").optional(),\n token: z.string().describe(\"Your Mixpanel project authentication token. Required for authenticating the request.\"),\n distinct_id: z.string().describe(\"The unique identifier for the user profile to update. This determines which profile will be modified.\"),\n ignore_time: z.boolean().describe(\"If true, prevents Mixpanel from automatically updating the 'Last Seen' property. Defaults to false.\").optional(),\n remove_properties: z.record(z.string(), z.unknown()).describe(\"A dictionary of list properties and values to remove. Each key is a property name and each value is the item to remove from that list property. If the value doesn't exist in the list, no action is taken.\"),\n}).describe(\"Request model for removing values from list properties on user profiles.\");\nexport const MixpanelRemoveFromListPropertyOutput = 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 remove from list property operation.\");\n\nexport const mixpanelRemoveFromListProperty = action(\"MIXPANEL_REMOVE_FROM_LIST_PROPERTY\", {\n slug: \"mixpanel-remove-from-list-property\",\n name: \"Remove from Profile List Property\",\n description: \"Tool to remove values from list properties on user profiles in Mixpanel using the $remove operation. Use when you need to remove specific items from list-type properties. If the value doesn't exist in the list, no action is taken. The profile will be created if it doesn't exist.\",\n input: MixpanelRemoveFromListPropertyInput,\n output: MixpanelRemoveFromListPropertyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sOAAsO,CAAC,CAAC,SAAS;CACzQ,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;CACnL,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF;CACjH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;CACxI,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAClJ,mBAAmBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6MAA6M;AAC7Q,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,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,yDAAyD;AAErE,MAAa,iCAAiCC,eAAAA,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"remove-from-list-property.cjs","names":["z","action"],"sources":["../../src/actions/remove-from-list-property.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelRemoveFromListPropertyInput = z.object({\n ip: z.string().describe(\"IP address for geolocation enrichment. Set to '0' to prevent updating geolocation data. If not provided, Mixpanel uses the request IP. Geolocation properties ($city, $region, mp_country_code) are derived and the IP is discarded.\").optional(),\n time: z.number().int().describe(\"Unix timestamp (seconds since epoch) indicating when the profile update occurred. Defaults to the current server time if not provided.\").optional(),\n token: z.string().describe(\"Your Mixpanel project authentication token. Required for authenticating the request.\"),\n distinct_id: z.string().describe(\"The unique identifier for the user profile to update. This determines which profile will be modified.\"),\n ignore_time: z.boolean().describe(\"If true, prevents Mixpanel from automatically updating the 'Last Seen' property. Defaults to false.\").optional(),\n remove_properties: z.record(z.string(), z.unknown()).describe(\"A dictionary of list properties and values to remove. Each key is a property name and each value is the item to remove from that list property. If the value doesn't exist in the list, no action is taken.\"),\n}).describe(\"Request model for removing values from list properties on user profiles.\");\nexport const MixpanelRemoveFromListPropertyOutput = z.object({\n error: z.string().describe(\"Error message if the request failed, null if successful.\").nullable().optional(),\n status: z.union([z.string(), z.number().int()]),\n}).passthrough().describe(\"Response model for remove from list property operation.\");\n\nexport const mixpanelRemoveFromListProperty = action(\"MIXPANEL_REMOVE_FROM_LIST_PROPERTY\", {\n slug: \"mixpanel-remove-from-list-property\",\n name: \"Remove from Profile List Property\",\n description: \"Tool to remove values from list properties on user profiles in Mixpanel using the $remove operation. Use when you need to remove specific items from list-type properties. If the value doesn't exist in the list, no action is taken. The profile will be created if it doesn't exist.\",\n input: MixpanelRemoveFromListPropertyInput,\n output: MixpanelRemoveFromListPropertyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sOAAsO,CAAC,CAAC,SAAS;CACzQ,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;CACnL,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF;CACjH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;CACxI,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAClJ,mBAAmBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6MAA6M;AAC7Q,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,QAAQA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;AAChD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAEnF,MAAa,iCAAiCC,eAAAA,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -12,7 +12,7 @@ declare const MixpanelRemoveFromListPropertyInput: z.ZodObject<{
12
12
  declare const MixpanelRemoveFromListPropertyOutput: z.ZodObject<{
13
13
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
14
  status: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
15
- }, z.core.$strip>;
15
+ }, z.core.$loose>;
16
16
  declare const mixpanelRemoveFromListProperty: import("@keystrokehq/action").WorkflowActionDefinition<{
17
17
  token: string;
18
18
  distinct_id: string;
@@ -20,7 +20,23 @@ declare const mixpanelRemoveFromListProperty: import("@keystrokehq/action").Work
20
20
  ip?: string | undefined;
21
21
  time?: number | undefined;
22
22
  ignore_time?: boolean | undefined;
23
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
23
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
24
+ connectionId: z.ZodString;
25
+ entityId: z.ZodString;
26
+ instanceId: z.ZodString;
27
+ }, z.core.$strip>, z.ZodObject<{
28
+ username: z.ZodString;
29
+ password: z.ZodString;
30
+ region: z.ZodString;
31
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
32
+ connectionId: z.ZodString;
33
+ entityId: z.ZodString;
34
+ instanceId: z.ZodString;
35
+ }, z.core.$strip>, z.ZodObject<{
36
+ username: z.ZodString;
37
+ password: z.ZodString;
38
+ region: z.ZodString;
39
+ }, z.core.$strip>>]>;
24
40
  //#endregion
25
41
  export { mixpanelRemoveFromListProperty };
26
42
  //# sourceMappingURL=remove-from-list-property.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"remove-from-list-property.d.cts","names":[],"sources":["../../src/actions/remove-from-list-property.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;cAQnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;cAKpC,8BAAA,gCAA8B,wBAAA;;;qBAMzC,MAAA"}
1
+ {"version":3,"file":"remove-from-list-property.d.cts","names":[],"sources":["../../src/actions/remove-from-list-property.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;cAQnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;cAKpC,8BAAA,gCAA8B,wBAAA"}
@@ -12,7 +12,7 @@ declare const MixpanelRemoveFromListPropertyInput: z.ZodObject<{
12
12
  declare const MixpanelRemoveFromListPropertyOutput: z.ZodObject<{
13
13
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
14
  status: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
15
- }, z.core.$strip>;
15
+ }, z.core.$loose>;
16
16
  declare const mixpanelRemoveFromListProperty: import("@keystrokehq/action").WorkflowActionDefinition<{
17
17
  token: string;
18
18
  distinct_id: string;
@@ -20,7 +20,23 @@ declare const mixpanelRemoveFromListProperty: import("@keystrokehq/action").Work
20
20
  ip?: string | undefined;
21
21
  time?: number | undefined;
22
22
  ignore_time?: boolean | undefined;
23
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
23
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
24
+ connectionId: z.ZodString;
25
+ entityId: z.ZodString;
26
+ instanceId: z.ZodString;
27
+ }, z.core.$strip>, z.ZodObject<{
28
+ username: z.ZodString;
29
+ password: z.ZodString;
30
+ region: z.ZodString;
31
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
32
+ connectionId: z.ZodString;
33
+ entityId: z.ZodString;
34
+ instanceId: z.ZodString;
35
+ }, z.core.$strip>, z.ZodObject<{
36
+ username: z.ZodString;
37
+ password: z.ZodString;
38
+ region: z.ZodString;
39
+ }, z.core.$strip>>]>;
24
40
  //#endregion
25
41
  export { mixpanelRemoveFromListProperty };
26
42
  //# sourceMappingURL=remove-from-list-property.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"remove-from-list-property.d.mts","names":[],"sources":["../../src/actions/remove-from-list-property.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;cAQnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;cAKpC,8BAAA,gCAA8B,wBAAA;;;qBAMzC,MAAA"}
1
+ {"version":3,"file":"remove-from-list-property.d.mts","names":[],"sources":["../../src/actions/remove-from-list-property.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;cAQnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;cAKpC,8BAAA,gCAA8B,wBAAA"}
@@ -15,7 +15,7 @@ const mixpanelRemoveFromListProperty = action("MIXPANEL_REMOVE_FROM_LIST_PROPERT
15
15
  output: z.object({
16
16
  error: z.string().describe("Error message if the request failed, null if successful.").nullable().optional(),
17
17
  status: z.union([z.string(), z.number().int()])
18
- }).describe("Response model for remove from list property operation.")
18
+ }).passthrough().describe("Response model for remove from list property operation.")
19
19
  });
20
20
  //#endregion
21
21
  export { mixpanelRemoveFromListProperty };
@@ -1 +1 @@
1
- {"version":3,"file":"remove-from-list-property.mjs","names":[],"sources":["../../src/actions/remove-from-list-property.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelRemoveFromListPropertyInput = z.object({\n ip: z.string().describe(\"IP address for geolocation enrichment. Set to '0' to prevent updating geolocation data. If not provided, Mixpanel uses the request IP. Geolocation properties ($city, $region, mp_country_code) are derived and the IP is discarded.\").optional(),\n time: z.number().int().describe(\"Unix timestamp (seconds since epoch) indicating when the profile update occurred. Defaults to the current server time if not provided.\").optional(),\n token: z.string().describe(\"Your Mixpanel project authentication token. Required for authenticating the request.\"),\n distinct_id: z.string().describe(\"The unique identifier for the user profile to update. This determines which profile will be modified.\"),\n ignore_time: z.boolean().describe(\"If true, prevents Mixpanel from automatically updating the 'Last Seen' property. Defaults to false.\").optional(),\n remove_properties: z.record(z.string(), z.unknown()).describe(\"A dictionary of list properties and values to remove. Each key is a property name and each value is the item to remove from that list property. If the value doesn't exist in the list, no action is taken.\"),\n}).describe(\"Request model for removing values from list properties on user profiles.\");\nexport const MixpanelRemoveFromListPropertyOutput = 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 remove from list property operation.\");\n\nexport const mixpanelRemoveFromListProperty = action(\"MIXPANEL_REMOVE_FROM_LIST_PROPERTY\", {\n slug: \"mixpanel-remove-from-list-property\",\n name: \"Remove from Profile List Property\",\n description: \"Tool to remove values from list properties on user profiles in Mixpanel using the $remove operation. Use when you need to remove specific items from list-type properties. If the value doesn't exist in the list, no action is taken. The profile will be created if it doesn't exist.\",\n input: MixpanelRemoveFromListPropertyInput,\n output: MixpanelRemoveFromListPropertyOutput,\n});\n"],"mappings":";;AAiBA,MAAa,iCAAiC,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBiD,EAAE,OAAO;EAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sOAAsO,CAAC,CAAC,SAAS;EACzQ,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;EACnL,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF;EACjH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;EACxI,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;EAClJ,mBAAmB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6MAA6M;CAC7Q,CAAC,CAAC,CAAC,SAAS,0EAUH;CACP,QAVkD,EAAE,OAAO;EAC3D,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,yDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"remove-from-list-property.mjs","names":[],"sources":["../../src/actions/remove-from-list-property.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelRemoveFromListPropertyInput = z.object({\n ip: z.string().describe(\"IP address for geolocation enrichment. Set to '0' to prevent updating geolocation data. If not provided, Mixpanel uses the request IP. Geolocation properties ($city, $region, mp_country_code) are derived and the IP is discarded.\").optional(),\n time: z.number().int().describe(\"Unix timestamp (seconds since epoch) indicating when the profile update occurred. Defaults to the current server time if not provided.\").optional(),\n token: z.string().describe(\"Your Mixpanel project authentication token. Required for authenticating the request.\"),\n distinct_id: z.string().describe(\"The unique identifier for the user profile to update. This determines which profile will be modified.\"),\n ignore_time: z.boolean().describe(\"If true, prevents Mixpanel from automatically updating the 'Last Seen' property. Defaults to false.\").optional(),\n remove_properties: z.record(z.string(), z.unknown()).describe(\"A dictionary of list properties and values to remove. Each key is a property name and each value is the item to remove from that list property. If the value doesn't exist in the list, no action is taken.\"),\n}).describe(\"Request model for removing values from list properties on user profiles.\");\nexport const MixpanelRemoveFromListPropertyOutput = z.object({\n error: z.string().describe(\"Error message if the request failed, null if successful.\").nullable().optional(),\n status: z.union([z.string(), z.number().int()]),\n}).passthrough().describe(\"Response model for remove from list property operation.\");\n\nexport const mixpanelRemoveFromListProperty = action(\"MIXPANEL_REMOVE_FROM_LIST_PROPERTY\", {\n slug: \"mixpanel-remove-from-list-property\",\n name: \"Remove from Profile List Property\",\n description: \"Tool to remove values from list properties on user profiles in Mixpanel using the $remove operation. Use when you need to remove specific items from list-type properties. If the value doesn't exist in the list, no action is taken. The profile will be created if it doesn't exist.\",\n input: MixpanelRemoveFromListPropertyInput,\n output: MixpanelRemoveFromListPropertyOutput,\n});\n"],"mappings":";;AAiBA,MAAa,iCAAiC,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBiD,EAAE,OAAO;EAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sOAAsO,CAAC,CAAC,SAAS;EACzQ,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;EACnL,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF;EACjH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;EACxI,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;EAClJ,mBAAmB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6MAA6M;CAC7Q,CAAC,CAAC,CAAC,SAAS,0EAUH;CACP,QAVkD,EAAE,OAAO;EAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,QAAQ,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;CAChD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAOhB;AACV,CAAC"}
@@ -23,9 +23,9 @@ const MixpanelSegmentationNumericQueryInput = zod.z.object({
23
23
  workspace_id: zod.z.number().int().describe("The id of the workspace if applicable").optional()
24
24
  }).describe("Request model for numeric bucketing segmentation query");
25
25
  const MixpanelSegmentationNumericQueryOutput = zod.z.object({
26
- data: zod.z.object({}).describe("Contains bucketed numeric results with segmentation data including series and values"),
26
+ data: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Contains bucketed numeric results with segmentation data including series and values"),
27
27
  legend_size: zod.z.number().int().describe("Number of legend items in the response").nullable().optional()
28
- }).describe("Response model for numeric bucketing segmentation query");
28
+ }).passthrough().describe("Response model for numeric bucketing segmentation query");
29
29
  const mixpanelSegmentationNumericQuery = require_action.action("MIXPANEL_SEGMENTATION_NUMERIC_QUERY", {
30
30
  slug: "mixpanel-segmentation-numeric-query",
31
31
  name: "Numeric Bucket Segmentation Query",
@@ -1 +1 @@
1
- {"version":3,"file":"segmentation-numeric-query.cjs","names":["z","action"],"sources":["../../src/actions/segmentation-numeric-query.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelSegmentationNumericQueryInput = z.object({\n on: z.string().describe(\"The numeric property expression to bucket by. Use format like 'number(property_name)' or numeric expressions\"),\n type: z.enum([\"general\", \"unique\", \"average\"]).default(\"general\").describe(\"Analysis types for Mixpanel event aggregation.\").optional(),\n unit: z.enum([\"hour\", \"day\", \"week\", \"month\"]).describe(\"Longer time units for certain analytics.\").optional(),\n event: z.string().describe(\"The event name to get data for\"),\n where: z.string().describe(\"An expression to filter events by (e.g., 'properties[\\\"country\\\"] == \\\"US\\\"')\").optional(),\n to_date: z.string().describe(\"The date in yyyy-mm-dd format to query to (inclusive)\"),\n from_date: z.string().describe(\"The date in yyyy-mm-dd format to begin querying from (inclusive)\"),\n project_id: z.number().int().describe(\"Required if using service account to authenticate request\"),\n bucket_size: z.number().int().describe(\"Size of numeric buckets for grouping values. If not specified, Mixpanel will automatically determine bucket size\").optional(),\n workspace_id: z.number().int().describe(\"The id of the workspace if applicable\").optional(),\n}).describe(\"Request model for numeric bucketing segmentation query\");\nexport const MixpanelSegmentationNumericQueryOutput = z.object({\n data: z.object({}).describe(\"Contains bucketed numeric results with segmentation data including series and values\"),\n legend_size: z.number().int().describe(\"Number of legend items in the response\").nullable().optional(),\n}).describe(\"Response model for numeric bucketing segmentation query\");\n\nexport const mixpanelSegmentationNumericQuery = action(\"MIXPANEL_SEGMENTATION_NUMERIC_QUERY\", {\n slug: \"mixpanel-segmentation-numeric-query\",\n name: \"Numeric Bucket Segmentation Query\",\n description: \"Tool to get event data numerically bucketed by property values. Use when you need to analyze distributions of numeric properties like revenue, session duration, or counts with automatic bucketing.\",\n input: MixpanelSegmentationNumericQueryInput,\n output: MixpanelSegmentationNumericQueryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G;CACtI,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAU;CAAS,CAAC,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACtI,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAO;EAAQ;CAAO,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC7G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACrH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACpF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;CACjG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;CACjG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;CACpK,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sFAAsF;CAClH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,SAAS,yDAAyD;AAErE,MAAa,mCAAmCC,eAAAA,OAAO,uCAAuC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"segmentation-numeric-query.cjs","names":["z","action"],"sources":["../../src/actions/segmentation-numeric-query.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelSegmentationNumericQueryInput = z.object({\n on: z.string().describe(\"The numeric property expression to bucket by. Use format like 'number(property_name)' or numeric expressions\"),\n type: z.enum([\"general\", \"unique\", \"average\"]).default(\"general\").describe(\"Analysis types for Mixpanel event aggregation.\").optional(),\n unit: z.enum([\"hour\", \"day\", \"week\", \"month\"]).describe(\"Longer time units for certain analytics.\").optional(),\n event: z.string().describe(\"The event name to get data for\"),\n where: z.string().describe(\"An expression to filter events by (e.g., 'properties[\\\"country\\\"] == \\\"US\\\"')\").optional(),\n to_date: z.string().describe(\"The date in yyyy-mm-dd format to query to (inclusive)\"),\n from_date: z.string().describe(\"The date in yyyy-mm-dd format to begin querying from (inclusive)\"),\n project_id: z.number().int().describe(\"Required if using service account to authenticate request\"),\n bucket_size: z.number().int().describe(\"Size of numeric buckets for grouping values. If not specified, Mixpanel will automatically determine bucket size\").optional(),\n workspace_id: z.number().int().describe(\"The id of the workspace if applicable\").optional(),\n}).describe(\"Request model for numeric bucketing segmentation query\");\nexport const MixpanelSegmentationNumericQueryOutput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Contains bucketed numeric results with segmentation data including series and values\"),\n legend_size: z.number().int().describe(\"Number of legend items in the response\").nullable().optional(),\n}).passthrough().describe(\"Response model for numeric bucketing segmentation query\");\n\nexport const mixpanelSegmentationNumericQuery = action(\"MIXPANEL_SEGMENTATION_NUMERIC_QUERY\", {\n slug: \"mixpanel-segmentation-numeric-query\",\n name: \"Numeric Bucket Segmentation Query\",\n description: \"Tool to get event data numerically bucketed by property values. Use when you need to analyze distributions of numeric properties like revenue, session duration, or counts with automatic bucketing.\",\n input: MixpanelSegmentationNumericQueryInput,\n output: MixpanelSegmentationNumericQueryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G;CACtI,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAU;CAAS,CAAC,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACtI,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAO;EAAQ;CAAO,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC7G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACrH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACpF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;CACjG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;CACjG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;CACpK,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sFAAsF;CACvI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAEnF,MAAa,mCAAmCC,eAAAA,OAAO,uCAAuC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -23,9 +23,9 @@ declare const MixpanelSegmentationNumericQueryInput: z.ZodObject<{
23
23
  workspace_id: z.ZodOptional<z.ZodNumber>;
24
24
  }, z.core.$strip>;
25
25
  declare const MixpanelSegmentationNumericQueryOutput: z.ZodObject<{
26
- data: z.ZodObject<{}, z.core.$strip>;
26
+ data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
27
27
  legend_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
28
- }, z.core.$strip>;
28
+ }, z.core.$loose>;
29
29
  declare const mixpanelSegmentationNumericQuery: import("@keystrokehq/action").WorkflowActionDefinition<{
30
30
  on: string;
31
31
  event: string;
@@ -37,7 +37,23 @@ declare const mixpanelSegmentationNumericQuery: import("@keystrokehq/action").Wo
37
37
  where?: string | undefined;
38
38
  bucket_size?: number | undefined;
39
39
  workspace_id?: number | undefined;
40
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
40
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
41
+ connectionId: z.ZodString;
42
+ entityId: z.ZodString;
43
+ instanceId: z.ZodString;
44
+ }, z.core.$strip>, z.ZodObject<{
45
+ username: z.ZodString;
46
+ password: z.ZodString;
47
+ region: z.ZodString;
48
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
49
+ connectionId: z.ZodString;
50
+ entityId: z.ZodString;
51
+ instanceId: z.ZodString;
52
+ }, z.core.$strip>, z.ZodObject<{
53
+ username: z.ZodString;
54
+ password: z.ZodString;
55
+ region: z.ZodString;
56
+ }, z.core.$strip>>]>;
41
57
  //#endregion
42
58
  export { mixpanelSegmentationNumericQuery };
43
59
  //# sourceMappingURL=segmentation-numeric-query.d.cts.map
@@ -23,9 +23,9 @@ declare const MixpanelSegmentationNumericQueryInput: z.ZodObject<{
23
23
  workspace_id: z.ZodOptional<z.ZodNumber>;
24
24
  }, z.core.$strip>;
25
25
  declare const MixpanelSegmentationNumericQueryOutput: z.ZodObject<{
26
- data: z.ZodObject<{}, z.core.$strip>;
26
+ data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
27
27
  legend_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
28
- }, z.core.$strip>;
28
+ }, z.core.$loose>;
29
29
  declare const mixpanelSegmentationNumericQuery: import("@keystrokehq/action").WorkflowActionDefinition<{
30
30
  on: string;
31
31
  event: string;
@@ -37,7 +37,23 @@ declare const mixpanelSegmentationNumericQuery: import("@keystrokehq/action").Wo
37
37
  where?: string | undefined;
38
38
  bucket_size?: number | undefined;
39
39
  workspace_id?: number | undefined;
40
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
40
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
41
+ connectionId: z.ZodString;
42
+ entityId: z.ZodString;
43
+ instanceId: z.ZodString;
44
+ }, z.core.$strip>, z.ZodObject<{
45
+ username: z.ZodString;
46
+ password: z.ZodString;
47
+ region: z.ZodString;
48
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
49
+ connectionId: z.ZodString;
50
+ entityId: z.ZodString;
51
+ instanceId: z.ZodString;
52
+ }, z.core.$strip>, z.ZodObject<{
53
+ username: z.ZodString;
54
+ password: z.ZodString;
55
+ region: z.ZodString;
56
+ }, z.core.$strip>>]>;
41
57
  //#endregion
42
58
  export { mixpanelSegmentationNumericQuery };
43
59
  //# sourceMappingURL=segmentation-numeric-query.d.mts.map
@@ -26,9 +26,9 @@ const mixpanelSegmentationNumericQuery = action("MIXPANEL_SEGMENTATION_NUMERIC_Q
26
26
  workspace_id: z.number().int().describe("The id of the workspace if applicable").optional()
27
27
  }).describe("Request model for numeric bucketing segmentation query"),
28
28
  output: z.object({
29
- data: z.object({}).describe("Contains bucketed numeric results with segmentation data including series and values"),
29
+ data: z.record(z.string(), z.unknown()).describe("Contains bucketed numeric results with segmentation data including series and values"),
30
30
  legend_size: z.number().int().describe("Number of legend items in the response").nullable().optional()
31
- }).describe("Response model for numeric bucketing segmentation query")
31
+ }).passthrough().describe("Response model for numeric bucketing segmentation query")
32
32
  });
33
33
  //#endregion
34
34
  export { mixpanelSegmentationNumericQuery };
@@ -1 +1 @@
1
- {"version":3,"file":"segmentation-numeric-query.mjs","names":[],"sources":["../../src/actions/segmentation-numeric-query.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelSegmentationNumericQueryInput = z.object({\n on: z.string().describe(\"The numeric property expression to bucket by. Use format like 'number(property_name)' or numeric expressions\"),\n type: z.enum([\"general\", \"unique\", \"average\"]).default(\"general\").describe(\"Analysis types for Mixpanel event aggregation.\").optional(),\n unit: z.enum([\"hour\", \"day\", \"week\", \"month\"]).describe(\"Longer time units for certain analytics.\").optional(),\n event: z.string().describe(\"The event name to get data for\"),\n where: z.string().describe(\"An expression to filter events by (e.g., 'properties[\\\"country\\\"] == \\\"US\\\"')\").optional(),\n to_date: z.string().describe(\"The date in yyyy-mm-dd format to query to (inclusive)\"),\n from_date: z.string().describe(\"The date in yyyy-mm-dd format to begin querying from (inclusive)\"),\n project_id: z.number().int().describe(\"Required if using service account to authenticate request\"),\n bucket_size: z.number().int().describe(\"Size of numeric buckets for grouping values. If not specified, Mixpanel will automatically determine bucket size\").optional(),\n workspace_id: z.number().int().describe(\"The id of the workspace if applicable\").optional(),\n}).describe(\"Request model for numeric bucketing segmentation query\");\nexport const MixpanelSegmentationNumericQueryOutput = z.object({\n data: z.object({}).describe(\"Contains bucketed numeric results with segmentation data including series and values\"),\n legend_size: z.number().int().describe(\"Number of legend items in the response\").nullable().optional(),\n}).describe(\"Response model for numeric bucketing segmentation query\");\n\nexport const mixpanelSegmentationNumericQuery = action(\"MIXPANEL_SEGMENTATION_NUMERIC_QUERY\", {\n slug: \"mixpanel-segmentation-numeric-query\",\n name: \"Numeric Bucket Segmentation Query\",\n description: \"Tool to get event data numerically bucketed by property values. Use when you need to analyze distributions of numeric properties like revenue, session duration, or counts with automatic bucketing.\",\n input: MixpanelSegmentationNumericQueryInput,\n output: MixpanelSegmentationNumericQueryOutput,\n});\n"],"mappings":";;AAqBA,MAAa,mCAAmC,OAAO,uCAAuC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArBmD,EAAE,OAAO;EAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G;EACtI,MAAM,EAAE,KAAK;GAAC;GAAW;GAAU;EAAS,CAAC,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EACtI,MAAM,EAAE,KAAK;GAAC;GAAQ;GAAO;GAAQ;EAAO,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EAC7G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;EAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;EACrH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;EACpF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;EACjG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;EACjG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;EACpK,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC5F,CAAC,CAAC,CAAC,SAAS,wDAUH;CACP,QAVoD,EAAE,OAAO;EAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sFAAsF;EAClH,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,CAAC,CAAC,CAAC,SAAS,yDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"segmentation-numeric-query.mjs","names":[],"sources":["../../src/actions/segmentation-numeric-query.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelSegmentationNumericQueryInput = z.object({\n on: z.string().describe(\"The numeric property expression to bucket by. Use format like 'number(property_name)' or numeric expressions\"),\n type: z.enum([\"general\", \"unique\", \"average\"]).default(\"general\").describe(\"Analysis types for Mixpanel event aggregation.\").optional(),\n unit: z.enum([\"hour\", \"day\", \"week\", \"month\"]).describe(\"Longer time units for certain analytics.\").optional(),\n event: z.string().describe(\"The event name to get data for\"),\n where: z.string().describe(\"An expression to filter events by (e.g., 'properties[\\\"country\\\"] == \\\"US\\\"')\").optional(),\n to_date: z.string().describe(\"The date in yyyy-mm-dd format to query to (inclusive)\"),\n from_date: z.string().describe(\"The date in yyyy-mm-dd format to begin querying from (inclusive)\"),\n project_id: z.number().int().describe(\"Required if using service account to authenticate request\"),\n bucket_size: z.number().int().describe(\"Size of numeric buckets for grouping values. If not specified, Mixpanel will automatically determine bucket size\").optional(),\n workspace_id: z.number().int().describe(\"The id of the workspace if applicable\").optional(),\n}).describe(\"Request model for numeric bucketing segmentation query\");\nexport const MixpanelSegmentationNumericQueryOutput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Contains bucketed numeric results with segmentation data including series and values\"),\n legend_size: z.number().int().describe(\"Number of legend items in the response\").nullable().optional(),\n}).passthrough().describe(\"Response model for numeric bucketing segmentation query\");\n\nexport const mixpanelSegmentationNumericQuery = action(\"MIXPANEL_SEGMENTATION_NUMERIC_QUERY\", {\n slug: \"mixpanel-segmentation-numeric-query\",\n name: \"Numeric Bucket Segmentation Query\",\n description: \"Tool to get event data numerically bucketed by property values. Use when you need to analyze distributions of numeric properties like revenue, session duration, or counts with automatic bucketing.\",\n input: MixpanelSegmentationNumericQueryInput,\n output: MixpanelSegmentationNumericQueryOutput,\n});\n"],"mappings":";;AAqBA,MAAa,mCAAmC,OAAO,uCAAuC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArBmD,EAAE,OAAO;EAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G;EACtI,MAAM,EAAE,KAAK;GAAC;GAAW;GAAU;EAAS,CAAC,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EACtI,MAAM,EAAE,KAAK;GAAC;GAAQ;GAAO;GAAQ;EAAO,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EAC7G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;EAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;EACrH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;EACpF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;EACjG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;EACjG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;EACpK,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC5F,CAAC,CAAC,CAAC,SAAS,wDAUH;CACP,QAVoD,EAAE,OAAO;EAC7D,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sFAAsF;EACvI,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAOhB;AACV,CAAC"}
@@ -11,7 +11,7 @@ const MixpanelSetGroupPropertyOnceOutput = zod.z.object({
11
11
  code: zod.z.number().int().describe("HTTP status code (200 for success)").nullable().optional(),
12
12
  error: zod.z.string().describe("Error message if the request failed").nullable().optional(),
13
13
  status: zod.z.union([zod.z.string(), zod.z.number().int()])
14
- }).describe("Response model for group property set once operation.");
14
+ }).passthrough().describe("Response model for group property set once operation.");
15
15
  const mixpanelSetGroupPropertyOnce = require_action.action("MIXPANEL_SET_GROUP_PROPERTY_ONCE", {
16
16
  slug: "mixpanel-set-group-property-once",
17
17
  name: "Set Group Property Once",
@@ -1 +1 @@
1
- {"version":3,"file":"set-group-property-once.cjs","names":["z","action"],"sources":["../../src/actions/set-group-property-once.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelSetGroupPropertyOnceInput = z.object({\n token: z.string().describe(\"Project authentication token for Mixpanel API authentication\"),\n group_id: z.string().describe(\"Unique identifier for the specific group instance\"),\n group_key: z.string().describe(\"Group type identifier (e.g., 'Company', 'Organization', 'Team'). This defines the category of the group.\"),\n properties: z.record(z.string(), z.unknown()).describe(\"Key-value pairs of properties to set on the group profile. Properties will only be set if they don't already exist on the group.\"),\n}).describe(\"Request model for setting group properties only once (if not already set).\");\nexport const MixpanelSetGroupPropertyOnceOutput = z.object({\n code: z.number().int().describe(\"HTTP status code (200 for success)\").nullable().optional(),\n error: z.string().describe(\"Error message if the request failed\").nullable().optional(),\n status: z.union([z.string(), z.number().int()]),\n}).describe(\"Response model for group property set once operation.\");\n\nexport const mixpanelSetGroupPropertyOnce = action(\"MIXPANEL_SET_GROUP_PROPERTY_ONCE\", {\n slug: \"mixpanel-set-group-property-once\",\n name: \"Set Group Property Once\",\n description: \"Tool to set properties on a Mixpanel group profile only if they don't already exist. Use when you need to set initial properties for a group without overwriting existing values. Ideal for setting default values or tracking when a group was first created. Properties that already exist will not be modified.\",\n input: MixpanelSetGroupPropertyOnceInput,\n output: MixpanelSetGroupPropertyOnceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;CACzF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CACjF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G;CACzI,YAAYA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kIAAkI;AAC3L,CAAC,CAAC,CAAC,SAAS,4EAA4E;AACxF,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,QAAQA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;AAChD,CAAC,CAAC,CAAC,SAAS,uDAAuD;AAEnE,MAAa,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"set-group-property-once.cjs","names":["z","action"],"sources":["../../src/actions/set-group-property-once.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelSetGroupPropertyOnceInput = z.object({\n token: z.string().describe(\"Project authentication token for Mixpanel API authentication\"),\n group_id: z.string().describe(\"Unique identifier for the specific group instance\"),\n group_key: z.string().describe(\"Group type identifier (e.g., 'Company', 'Organization', 'Team'). This defines the category of the group.\"),\n properties: z.record(z.string(), z.unknown()).describe(\"Key-value pairs of properties to set on the group profile. Properties will only be set if they don't already exist on the group.\"),\n}).describe(\"Request model for setting group properties only once (if not already set).\");\nexport const MixpanelSetGroupPropertyOnceOutput = z.object({\n code: z.number().int().describe(\"HTTP status code (200 for success)\").nullable().optional(),\n error: z.string().describe(\"Error message if the request failed\").nullable().optional(),\n status: z.union([z.string(), z.number().int()]),\n}).passthrough().describe(\"Response model for group property set once operation.\");\n\nexport const mixpanelSetGroupPropertyOnce = action(\"MIXPANEL_SET_GROUP_PROPERTY_ONCE\", {\n slug: \"mixpanel-set-group-property-once\",\n name: \"Set Group Property Once\",\n description: \"Tool to set properties on a Mixpanel group profile only if they don't already exist. Use when you need to set initial properties for a group without overwriting existing values. Ideal for setting default values or tracking when a group was first created. Properties that already exist will not be modified.\",\n input: MixpanelSetGroupPropertyOnceInput,\n output: MixpanelSetGroupPropertyOnceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;CACzF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CACjF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G;CACzI,YAAYA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kIAAkI;AAC3L,CAAC,CAAC,CAAC,SAAS,4EAA4E;AACxF,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,QAAQA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;AAChD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAEjF,MAAa,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -11,13 +11,29 @@ declare const MixpanelSetGroupPropertyOnceOutput: z.ZodObject<{
11
11
  code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
12
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
13
  status: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
14
- }, z.core.$strip>;
14
+ }, z.core.$loose>;
15
15
  declare const mixpanelSetGroupPropertyOnce: import("@keystrokehq/action").WorkflowActionDefinition<{
16
16
  token: string;
17
17
  group_id: string;
18
18
  group_key: string;
19
19
  properties: Record<string, unknown>;
20
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
20
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
21
+ connectionId: z.ZodString;
22
+ entityId: z.ZodString;
23
+ instanceId: z.ZodString;
24
+ }, z.core.$strip>, z.ZodObject<{
25
+ username: z.ZodString;
26
+ password: z.ZodString;
27
+ region: z.ZodString;
28
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
29
+ connectionId: z.ZodString;
30
+ entityId: z.ZodString;
31
+ instanceId: z.ZodString;
32
+ }, z.core.$strip>, z.ZodObject<{
33
+ username: z.ZodString;
34
+ password: z.ZodString;
35
+ region: z.ZodString;
36
+ }, z.core.$strip>>]>;
21
37
  //#endregion
22
38
  export { mixpanelSetGroupPropertyOnce };
23
39
  //# sourceMappingURL=set-group-property-once.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"set-group-property-once.d.cts","names":[],"sources":["../../src/actions/set-group-property-once.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;cAMjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;cAMlC,4BAAA,gCAA4B,wBAAA;;;;cAMvC,MAAA;AAAA"}
1
+ {"version":3,"file":"set-group-property-once.d.cts","names":[],"sources":["../../src/actions/set-group-property-once.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;cAMjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;cAMlC,4BAAA,gCAA4B,wBAAA"}
@@ -11,13 +11,29 @@ declare const MixpanelSetGroupPropertyOnceOutput: z.ZodObject<{
11
11
  code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
12
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
13
  status: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
14
- }, z.core.$strip>;
14
+ }, z.core.$loose>;
15
15
  declare const mixpanelSetGroupPropertyOnce: import("@keystrokehq/action").WorkflowActionDefinition<{
16
16
  token: string;
17
17
  group_id: string;
18
18
  group_key: string;
19
19
  properties: Record<string, unknown>;
20
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
20
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
21
+ connectionId: z.ZodString;
22
+ entityId: z.ZodString;
23
+ instanceId: z.ZodString;
24
+ }, z.core.$strip>, z.ZodObject<{
25
+ username: z.ZodString;
26
+ password: z.ZodString;
27
+ region: z.ZodString;
28
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
29
+ connectionId: z.ZodString;
30
+ entityId: z.ZodString;
31
+ instanceId: z.ZodString;
32
+ }, z.core.$strip>, z.ZodObject<{
33
+ username: z.ZodString;
34
+ password: z.ZodString;
35
+ region: z.ZodString;
36
+ }, z.core.$strip>>]>;
21
37
  //#endregion
22
38
  export { mixpanelSetGroupPropertyOnce };
23
39
  //# sourceMappingURL=set-group-property-once.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"set-group-property-once.d.mts","names":[],"sources":["../../src/actions/set-group-property-once.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;cAMjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;cAMlC,4BAAA,gCAA4B,wBAAA;;;;cAMvC,MAAA;AAAA"}
1
+ {"version":3,"file":"set-group-property-once.d.mts","names":[],"sources":["../../src/actions/set-group-property-once.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;cAMjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;cAMlC,4BAAA,gCAA4B,wBAAA"}
@@ -14,7 +14,7 @@ const mixpanelSetGroupPropertyOnce = action("MIXPANEL_SET_GROUP_PROPERTY_ONCE",
14
14
  code: z.number().int().describe("HTTP status code (200 for success)").nullable().optional(),
15
15
  error: z.string().describe("Error message if the request failed").nullable().optional(),
16
16
  status: z.union([z.string(), z.number().int()])
17
- }).describe("Response model for group property set once operation.")
17
+ }).passthrough().describe("Response model for group property set once operation.")
18
18
  });
19
19
  //#endregion
20
20
  export { mixpanelSetGroupPropertyOnce };
@@ -1 +1 @@
1
- {"version":3,"file":"set-group-property-once.mjs","names":[],"sources":["../../src/actions/set-group-property-once.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelSetGroupPropertyOnceInput = z.object({\n token: z.string().describe(\"Project authentication token for Mixpanel API authentication\"),\n group_id: z.string().describe(\"Unique identifier for the specific group instance\"),\n group_key: z.string().describe(\"Group type identifier (e.g., 'Company', 'Organization', 'Team'). This defines the category of the group.\"),\n properties: z.record(z.string(), z.unknown()).describe(\"Key-value pairs of properties to set on the group profile. Properties will only be set if they don't already exist on the group.\"),\n}).describe(\"Request model for setting group properties only once (if not already set).\");\nexport const MixpanelSetGroupPropertyOnceOutput = z.object({\n code: z.number().int().describe(\"HTTP status code (200 for success)\").nullable().optional(),\n error: z.string().describe(\"Error message if the request failed\").nullable().optional(),\n status: z.union([z.string(), z.number().int()]),\n}).describe(\"Response model for group property set once operation.\");\n\nexport const mixpanelSetGroupPropertyOnce = action(\"MIXPANEL_SET_GROUP_PROPERTY_ONCE\", {\n slug: \"mixpanel-set-group-property-once\",\n name: \"Set Group Property Once\",\n description: \"Tool to set properties on a Mixpanel group profile only if they don't already exist. Use when you need to set initial properties for a group without overwriting existing values. Ideal for setting default values or tracking when a group was first created. Properties that already exist will not be modified.\",\n input: MixpanelSetGroupPropertyOnceInput,\n output: MixpanelSetGroupPropertyOnceOutput,\n});\n"],"mappings":";;AAgBA,MAAa,+BAA+B,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB+C,EAAE,OAAO;EACxD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;EACzF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;EACjF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G;EACzI,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kIAAkI;CAC3L,CAAC,CAAC,CAAC,SAAS,4EAWH;CACP,QAXgD,EAAE,OAAO;EACzD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,QAAQ,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;CAChD,CAAC,CAAC,CAAC,SAAS,uDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"set-group-property-once.mjs","names":[],"sources":["../../src/actions/set-group-property-once.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelSetGroupPropertyOnceInput = z.object({\n token: z.string().describe(\"Project authentication token for Mixpanel API authentication\"),\n group_id: z.string().describe(\"Unique identifier for the specific group instance\"),\n group_key: z.string().describe(\"Group type identifier (e.g., 'Company', 'Organization', 'Team'). This defines the category of the group.\"),\n properties: z.record(z.string(), z.unknown()).describe(\"Key-value pairs of properties to set on the group profile. Properties will only be set if they don't already exist on the group.\"),\n}).describe(\"Request model for setting group properties only once (if not already set).\");\nexport const MixpanelSetGroupPropertyOnceOutput = z.object({\n code: z.number().int().describe(\"HTTP status code (200 for success)\").nullable().optional(),\n error: z.string().describe(\"Error message if the request failed\").nullable().optional(),\n status: z.union([z.string(), z.number().int()]),\n}).passthrough().describe(\"Response model for group property set once operation.\");\n\nexport const mixpanelSetGroupPropertyOnce = action(\"MIXPANEL_SET_GROUP_PROPERTY_ONCE\", {\n slug: \"mixpanel-set-group-property-once\",\n name: \"Set Group Property Once\",\n description: \"Tool to set properties on a Mixpanel group profile only if they don't already exist. Use when you need to set initial properties for a group without overwriting existing values. Ideal for setting default values or tracking when a group was first created. Properties that already exist will not be modified.\",\n input: MixpanelSetGroupPropertyOnceInput,\n output: MixpanelSetGroupPropertyOnceOutput,\n});\n"],"mappings":";;AAgBA,MAAa,+BAA+B,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB+C,EAAE,OAAO;EACxD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;EACzF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;EACjF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G;EACzI,YAAY,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kIAAkI;CAC3L,CAAC,CAAC,CAAC,SAAS,4EAWH;CACP,QAXgD,EAAE,OAAO;EACzD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,QAAQ,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;CAChD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAOhB;AACV,CAAC"}
@@ -12,7 +12,7 @@ const MixpanelSetProfilePropertyOnceInput = zod.z.object({
12
12
  const MixpanelSetProfilePropertyOnceOutput = zod.z.object({
13
13
  error: zod.z.string().describe("Error message if the request failed, null if successful.").nullable().optional(),
14
14
  status: zod.z.union([zod.z.string(), zod.z.number().int()])
15
- }).describe("Response model for profile set once operation.");
15
+ }).passthrough().describe("Response model for profile set once operation.");
16
16
  const mixpanelSetProfilePropertyOnce = require_action.action("MIXPANEL_SET_PROFILE_PROPERTY_ONCE", {
17
17
  slug: "mixpanel-set-profile-property-once",
18
18
  name: "Set Profile Property Once",
@@ -1 +1 @@
1
- {"version":3,"file":"set-profile-property-once.cjs","names":["z","action"],"sources":["../../src/actions/set-profile-property-once.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelSetProfilePropertyOnceInput = z.object({\n ip: z.string().describe(\"IP address for geolocation enrichment. Set to '0' to prevent updating geolocation data. If not provided, Mixpanel uses the request IP. Geolocation properties ($city, $region, mp_country_code) are derived and the IP is discarded.\").optional(),\n time: z.number().int().describe(\"Unix timestamp (seconds since epoch) indicating when the profile update occurred. Defaults to the current server time if not provided.\").optional(),\n token: z.string().describe(\"Your Mixpanel project authentication token. Required for authenticating the request.\"),\n distinct_id: z.string().describe(\"The unique identifier for the user profile to update. This determines which profile will be modified.\"),\n ignore_time: z.boolean().describe(\"If true, prevents Mixpanel from automatically updating the 'Last Seen' property. Defaults to false.\").optional(),\n set_once_properties: z.record(z.string(), z.unknown()).describe(\"A dictionary of properties to set on the user profile only if they don't already exist. If a property already has a value, it will not be overwritten. Useful for tracking initial values like 'First Login', 'Signup Source', 'Initial Referrer', etc.\"),\n}).describe(\"Request model for setting user profile properties once (only if not already set).\");\nexport const MixpanelSetProfilePropertyOnceOutput = 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 set once operation.\");\n\nexport const mixpanelSetProfilePropertyOnce = action(\"MIXPANEL_SET_PROFILE_PROPERTY_ONCE\", {\n slug: \"mixpanel-set-profile-property-once\",\n name: \"Set Profile Property Once\",\n description: \"Tool to set user profile properties in Mixpanel using the $set_once operation. Use when you need to set properties that should only be recorded on their initial value. Properties specified will be created only if they don't already exist on the profile. If a property already has a value, it will not be overwritten. Ideal for tracking first-time values like signup source, initial referrer, or first login date.\",\n input: MixpanelSetProfilePropertyOnceInput,\n output: MixpanelSetProfilePropertyOnceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sOAAsO,CAAC,CAAC,SAAS;CACzQ,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;CACnL,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF;CACjH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;CACxI,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAClJ,qBAAqBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yPAAyP;AAC3T,CAAC,CAAC,CAAC,SAAS,mFAAmF;AAC/F,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,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,gDAAgD;AAE5D,MAAa,iCAAiCC,eAAAA,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"set-profile-property-once.cjs","names":["z","action"],"sources":["../../src/actions/set-profile-property-once.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelSetProfilePropertyOnceInput = z.object({\n ip: z.string().describe(\"IP address for geolocation enrichment. Set to '0' to prevent updating geolocation data. If not provided, Mixpanel uses the request IP. Geolocation properties ($city, $region, mp_country_code) are derived and the IP is discarded.\").optional(),\n time: z.number().int().describe(\"Unix timestamp (seconds since epoch) indicating when the profile update occurred. Defaults to the current server time if not provided.\").optional(),\n token: z.string().describe(\"Your Mixpanel project authentication token. Required for authenticating the request.\"),\n distinct_id: z.string().describe(\"The unique identifier for the user profile to update. This determines which profile will be modified.\"),\n ignore_time: z.boolean().describe(\"If true, prevents Mixpanel from automatically updating the 'Last Seen' property. Defaults to false.\").optional(),\n set_once_properties: z.record(z.string(), z.unknown()).describe(\"A dictionary of properties to set on the user profile only if they don't already exist. If a property already has a value, it will not be overwritten. Useful for tracking initial values like 'First Login', 'Signup Source', 'Initial Referrer', etc.\"),\n}).describe(\"Request model for setting user profile properties once (only if not already set).\");\nexport const MixpanelSetProfilePropertyOnceOutput = z.object({\n error: z.string().describe(\"Error message if the request failed, null if successful.\").nullable().optional(),\n status: z.union([z.string(), z.number().int()]),\n}).passthrough().describe(\"Response model for profile set once operation.\");\n\nexport const mixpanelSetProfilePropertyOnce = action(\"MIXPANEL_SET_PROFILE_PROPERTY_ONCE\", {\n slug: \"mixpanel-set-profile-property-once\",\n name: \"Set Profile Property Once\",\n description: \"Tool to set user profile properties in Mixpanel using the $set_once operation. Use when you need to set properties that should only be recorded on their initial value. Properties specified will be created only if they don't already exist on the profile. If a property already has a value, it will not be overwritten. Ideal for tracking first-time values like signup source, initial referrer, or first login date.\",\n input: MixpanelSetProfilePropertyOnceInput,\n output: MixpanelSetProfilePropertyOnceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sOAAsO,CAAC,CAAC,SAAS;CACzQ,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;CACnL,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF;CACjH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;CACxI,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAClJ,qBAAqBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yPAAyP;AAC3T,CAAC,CAAC,CAAC,SAAS,mFAAmF;AAC/F,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,QAAQA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;AAChD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,iCAAiCC,eAAAA,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -12,7 +12,7 @@ declare const MixpanelSetProfilePropertyOnceInput: z.ZodObject<{
12
12
  declare const MixpanelSetProfilePropertyOnceOutput: z.ZodObject<{
13
13
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
14
  status: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
15
- }, z.core.$strip>;
15
+ }, z.core.$loose>;
16
16
  declare const mixpanelSetProfilePropertyOnce: import("@keystrokehq/action").WorkflowActionDefinition<{
17
17
  token: string;
18
18
  distinct_id: string;
@@ -20,7 +20,23 @@ declare const mixpanelSetProfilePropertyOnce: import("@keystrokehq/action").Work
20
20
  ip?: string | undefined;
21
21
  time?: number | undefined;
22
22
  ignore_time?: boolean | undefined;
23
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
23
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
24
+ connectionId: z.ZodString;
25
+ entityId: z.ZodString;
26
+ instanceId: z.ZodString;
27
+ }, z.core.$strip>, z.ZodObject<{
28
+ username: z.ZodString;
29
+ password: z.ZodString;
30
+ region: z.ZodString;
31
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
32
+ connectionId: z.ZodString;
33
+ entityId: z.ZodString;
34
+ instanceId: z.ZodString;
35
+ }, z.core.$strip>, z.ZodObject<{
36
+ username: z.ZodString;
37
+ password: z.ZodString;
38
+ region: z.ZodString;
39
+ }, z.core.$strip>>]>;
24
40
  //#endregion
25
41
  export { mixpanelSetProfilePropertyOnce };
26
42
  //# sourceMappingURL=set-profile-property-once.d.cts.map