@keystrokehq/mixpanel 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-unique-to-profile-list-property.cjs.map +1 -1
- package/dist/actions/add-unique-to-profile-list-property.d.cts +30 -3
- package/dist/actions/add-unique-to-profile-list-property.d.cts.map +1 -1
- package/dist/actions/add-unique-to-profile-list-property.d.mts +30 -3
- package/dist/actions/add-unique-to-profile-list-property.d.mts.map +1 -1
- package/dist/actions/add-unique-to-profile-list-property.mjs.map +1 -1
- package/dist/actions/aggregate-events.cjs +1 -1
- package/dist/actions/aggregate-events.cjs.map +1 -1
- package/dist/actions/aggregate-events.d.cts +44 -3
- package/dist/actions/aggregate-events.d.cts.map +1 -1
- package/dist/actions/aggregate-events.d.mts +44 -3
- package/dist/actions/aggregate-events.d.mts.map +1 -1
- package/dist/actions/aggregate-events.mjs +1 -1
- package/dist/actions/aggregate-events.mjs.map +1 -1
- package/dist/actions/aggregated-event-property-values.cjs +1 -1
- package/dist/actions/aggregated-event-property-values.cjs.map +1 -1
- package/dist/actions/aggregated-event-property-values.d.cts +48 -3
- package/dist/actions/aggregated-event-property-values.d.cts.map +1 -1
- package/dist/actions/aggregated-event-property-values.d.mts +48 -3
- package/dist/actions/aggregated-event-property-values.d.mts.map +1 -1
- package/dist/actions/aggregated-event-property-values.mjs +1 -1
- package/dist/actions/aggregated-event-property-values.mjs.map +1 -1
- package/dist/actions/cohorts-list.cjs +6 -6
- package/dist/actions/cohorts-list.cjs.map +1 -1
- package/dist/actions/cohorts-list.d.cts +19 -3
- package/dist/actions/cohorts-list.d.cts.map +1 -1
- package/dist/actions/cohorts-list.d.mts +19 -3
- package/dist/actions/cohorts-list.d.mts.map +1 -1
- package/dist/actions/cohorts-list.mjs +6 -6
- package/dist/actions/cohorts-list.mjs.map +1 -1
- package/dist/actions/create-annotation-tag.cjs +3 -3
- package/dist/actions/create-annotation-tag.cjs.map +1 -1
- package/dist/actions/create-annotation-tag.d.cts +14 -3
- package/dist/actions/create-annotation-tag.d.cts.map +1 -1
- package/dist/actions/create-annotation-tag.d.mts +14 -3
- package/dist/actions/create-annotation-tag.d.mts.map +1 -1
- package/dist/actions/create-annotation-tag.mjs +3 -3
- package/dist/actions/create-annotation-tag.mjs.map +1 -1
- package/dist/actions/create-identity.cjs.map +1 -1
- package/dist/actions/create-identity.d.cts +18 -3
- package/dist/actions/create-identity.d.cts.map +1 -1
- package/dist/actions/create-identity.d.mts +18 -3
- package/dist/actions/create-identity.d.mts.map +1 -1
- package/dist/actions/create-identity.mjs.map +1 -1
- package/dist/actions/create-service-account.cjs +6 -6
- package/dist/actions/create-service-account.cjs.map +1 -1
- package/dist/actions/create-service-account.d.cts +43 -3
- package/dist/actions/create-service-account.d.cts.map +1 -1
- package/dist/actions/create-service-account.d.mts +43 -3
- package/dist/actions/create-service-account.d.mts.map +1 -1
- package/dist/actions/create-service-account.mjs +6 -6
- package/dist/actions/create-service-account.mjs.map +1 -1
- package/dist/actions/delete-group.cjs.map +1 -1
- package/dist/actions/delete-group.d.cts +16 -3
- package/dist/actions/delete-group.d.cts.map +1 -1
- package/dist/actions/delete-group.d.mts +16 -3
- package/dist/actions/delete-group.d.mts.map +1 -1
- package/dist/actions/delete-group.mjs.map +1 -1
- package/dist/actions/delete-profile-batch.cjs.map +1 -1
- package/dist/actions/delete-profile-batch.d.cts +20 -3
- package/dist/actions/delete-profile-batch.d.cts.map +1 -1
- package/dist/actions/delete-profile-batch.d.mts +20 -3
- package/dist/actions/delete-profile-batch.d.mts.map +1 -1
- package/dist/actions/delete-profile-batch.mjs.map +1 -1
- package/dist/actions/delete-profile-property.cjs.map +1 -1
- package/dist/actions/delete-profile-property.d.cts +22 -3
- package/dist/actions/delete-profile-property.d.cts.map +1 -1
- package/dist/actions/delete-profile-property.d.mts +22 -3
- package/dist/actions/delete-profile-property.d.mts.map +1 -1
- package/dist/actions/delete-profile-property.mjs.map +1 -1
- package/dist/actions/delete-profile.cjs.map +1 -1
- package/dist/actions/delete-profile.d.cts +17 -3
- package/dist/actions/delete-profile.d.cts.map +1 -1
- package/dist/actions/delete-profile.d.mts +17 -3
- package/dist/actions/delete-profile.d.mts.map +1 -1
- package/dist/actions/delete-profile.mjs.map +1 -1
- package/dist/actions/get-all-projects.cjs.map +1 -1
- package/dist/actions/get-all-projects.d.cts +5 -3
- package/dist/actions/get-all-projects.d.cts.map +1 -1
- package/dist/actions/get-all-projects.d.mts +5 -3
- package/dist/actions/get-all-projects.d.mts.map +1 -1
- package/dist/actions/get-all-projects.mjs.map +1 -1
- package/dist/actions/get-annotation-tags-alt1.cjs +4 -4
- package/dist/actions/get-annotation-tags-alt1.cjs.map +1 -1
- package/dist/actions/get-annotation-tags-alt1.d.cts +14 -3
- package/dist/actions/get-annotation-tags-alt1.d.cts.map +1 -1
- package/dist/actions/get-annotation-tags-alt1.d.mts +14 -3
- package/dist/actions/get-annotation-tags-alt1.d.mts.map +1 -1
- package/dist/actions/get-annotation-tags-alt1.mjs +4 -4
- package/dist/actions/get-annotation-tags-alt1.mjs.map +1 -1
- package/dist/actions/group-batch-update.cjs +2 -2
- package/dist/actions/group-batch-update.cjs.map +1 -1
- package/dist/actions/group-batch-update.d.cts +37 -3
- package/dist/actions/group-batch-update.d.cts.map +1 -1
- package/dist/actions/group-batch-update.d.mts +37 -3
- package/dist/actions/group-batch-update.d.mts.map +1 -1
- package/dist/actions/group-batch-update.mjs +2 -2
- package/dist/actions/group-batch-update.mjs.map +1 -1
- package/dist/actions/group-delete-property.cjs +1 -1
- package/dist/actions/group-delete-property.cjs.map +1 -1
- package/dist/actions/group-delete-property.d.cts +17 -3
- package/dist/actions/group-delete-property.d.cts.map +1 -1
- package/dist/actions/group-delete-property.d.mts +17 -3
- package/dist/actions/group-delete-property.d.mts.map +1 -1
- package/dist/actions/group-delete-property.mjs +1 -1
- package/dist/actions/group-delete-property.mjs.map +1 -1
- package/dist/actions/identity-create-alias.cjs +1 -1
- package/dist/actions/identity-create-alias.cjs.map +1 -1
- package/dist/actions/identity-create-alias.d.cts +13 -3
- package/dist/actions/identity-create-alias.d.cts.map +1 -1
- package/dist/actions/identity-create-alias.d.mts +13 -3
- package/dist/actions/identity-create-alias.d.mts.map +1 -1
- package/dist/actions/identity-create-alias.mjs +1 -1
- package/dist/actions/identity-create-alias.mjs.map +1 -1
- package/dist/actions/jql-query.cjs.map +1 -1
- package/dist/actions/jql-query.d.cts +15 -3
- package/dist/actions/jql-query.d.cts.map +1 -1
- package/dist/actions/jql-query.d.mts +15 -3
- package/dist/actions/jql-query.d.mts.map +1 -1
- package/dist/actions/jql-query.mjs.map +1 -1
- package/dist/actions/list-funnels.cjs +2 -2
- package/dist/actions/list-funnels.cjs.map +1 -1
- package/dist/actions/list-funnels.d.cts +14 -3
- package/dist/actions/list-funnels.d.cts.map +1 -1
- package/dist/actions/list-funnels.d.mts +14 -3
- package/dist/actions/list-funnels.d.mts.map +1 -1
- package/dist/actions/list-funnels.mjs +2 -2
- package/dist/actions/list-funnels.mjs.map +1 -1
- package/dist/actions/list-service-accounts.cjs +3 -3
- package/dist/actions/list-service-accounts.cjs.map +1 -1
- package/dist/actions/list-service-accounts.d.cts +18 -3
- package/dist/actions/list-service-accounts.d.cts.map +1 -1
- package/dist/actions/list-service-accounts.d.mts +18 -3
- package/dist/actions/list-service-accounts.d.mts.map +1 -1
- package/dist/actions/list-service-accounts.mjs +3 -3
- package/dist/actions/list-service-accounts.mjs.map +1 -1
- package/dist/actions/profile-append-to-list-property.cjs.map +1 -1
- package/dist/actions/profile-append-to-list-property.d.cts +24 -3
- package/dist/actions/profile-append-to-list-property.d.cts.map +1 -1
- package/dist/actions/profile-append-to-list-property.d.mts +24 -3
- package/dist/actions/profile-append-to-list-property.d.mts.map +1 -1
- package/dist/actions/profile-append-to-list-property.mjs.map +1 -1
- package/dist/actions/profile-batch-update.cjs +2 -2
- package/dist/actions/profile-batch-update.cjs.map +1 -1
- package/dist/actions/profile-batch-update.d.cts +46 -3
- package/dist/actions/profile-batch-update.d.cts.map +1 -1
- package/dist/actions/profile-batch-update.d.mts +46 -3
- package/dist/actions/profile-batch-update.d.mts.map +1 -1
- package/dist/actions/profile-batch-update.mjs +2 -2
- package/dist/actions/profile-batch-update.mjs.map +1 -1
- package/dist/actions/profile-event-activity.cjs +2 -2
- package/dist/actions/profile-event-activity.cjs.map +1 -1
- package/dist/actions/profile-event-activity.d.cts +59 -3
- package/dist/actions/profile-event-activity.d.cts.map +1 -1
- package/dist/actions/profile-event-activity.d.mts +59 -3
- package/dist/actions/profile-event-activity.d.mts.map +1 -1
- package/dist/actions/profile-event-activity.mjs +2 -2
- package/dist/actions/profile-event-activity.mjs.map +1 -1
- package/dist/actions/profile-numerical-add.cjs.map +1 -1
- package/dist/actions/profile-numerical-add.d.cts +22 -3
- package/dist/actions/profile-numerical-add.d.cts.map +1 -1
- package/dist/actions/profile-numerical-add.d.mts +22 -3
- package/dist/actions/profile-numerical-add.d.mts.map +1 -1
- package/dist/actions/profile-numerical-add.mjs.map +1 -1
- package/dist/actions/profile-remove-from-list-property.cjs.map +1 -1
- package/dist/actions/profile-remove-from-list-property.d.cts +24 -3
- package/dist/actions/profile-remove-from-list-property.d.cts.map +1 -1
- package/dist/actions/profile-remove-from-list-property.d.mts +24 -3
- package/dist/actions/profile-remove-from-list-property.d.mts.map +1 -1
- package/dist/actions/profile-remove-from-list-property.mjs.map +1 -1
- package/dist/actions/profile-set.cjs.map +1 -1
- package/dist/actions/profile-set.d.cts +20 -3
- package/dist/actions/profile-set.d.cts.map +1 -1
- package/dist/actions/profile-set.d.mts +20 -3
- package/dist/actions/profile-set.d.mts.map +1 -1
- package/dist/actions/profile-set.mjs.map +1 -1
- package/dist/actions/query-frequency-report.cjs.map +1 -1
- package/dist/actions/query-frequency-report.d.cts +34 -3
- package/dist/actions/query-frequency-report.d.cts.map +1 -1
- package/dist/actions/query-frequency-report.d.mts +34 -3
- package/dist/actions/query-frequency-report.d.mts.map +1 -1
- package/dist/actions/query-frequency-report.mjs.map +1 -1
- package/dist/actions/query-funnel.cjs.map +1 -1
- package/dist/actions/query-funnel.d.cts +43 -3
- package/dist/actions/query-funnel.d.cts.map +1 -1
- package/dist/actions/query-funnel.d.mts +43 -3
- package/dist/actions/query-funnel.d.mts.map +1 -1
- package/dist/actions/query-funnel.mjs.map +1 -1
- package/dist/actions/query-insight.cjs +3 -3
- package/dist/actions/query-insight.cjs.map +1 -1
- package/dist/actions/query-insight.d.cts +19 -3
- package/dist/actions/query-insight.d.cts.map +1 -1
- package/dist/actions/query-insight.d.mts +19 -3
- package/dist/actions/query-insight.d.mts.map +1 -1
- package/dist/actions/query-insight.mjs +3 -3
- package/dist/actions/query-insight.mjs.map +1 -1
- package/dist/actions/query-numeric-average.cjs +1 -1
- package/dist/actions/query-numeric-average.cjs.map +1 -1
- package/dist/actions/query-numeric-average.d.cts +27 -3
- package/dist/actions/query-numeric-average.d.cts.map +1 -1
- package/dist/actions/query-numeric-average.d.mts +27 -3
- package/dist/actions/query-numeric-average.d.mts.map +1 -1
- package/dist/actions/query-numeric-average.mjs +1 -1
- package/dist/actions/query-numeric-average.mjs.map +1 -1
- package/dist/actions/query-numeric-sum.cjs +2 -2
- package/dist/actions/query-numeric-sum.cjs.map +1 -1
- package/dist/actions/query-numeric-sum.d.cts +28 -3
- package/dist/actions/query-numeric-sum.d.cts.map +1 -1
- package/dist/actions/query-numeric-sum.d.mts +28 -3
- package/dist/actions/query-numeric-sum.d.mts.map +1 -1
- package/dist/actions/query-numeric-sum.mjs +2 -2
- package/dist/actions/query-numeric-sum.mjs.map +1 -1
- package/dist/actions/query-profiles.cjs +6 -6
- package/dist/actions/query-profiles.cjs.map +1 -1
- package/dist/actions/query-profiles.d.cts +41 -3
- package/dist/actions/query-profiles.d.cts.map +1 -1
- package/dist/actions/query-profiles.d.mts +41 -3
- package/dist/actions/query-profiles.d.mts.map +1 -1
- package/dist/actions/query-profiles.mjs +6 -6
- package/dist/actions/query-profiles.mjs.map +1 -1
- package/dist/actions/query-retention-report.cjs.map +1 -1
- package/dist/actions/query-retention-report.d.cts +42 -3
- package/dist/actions/query-retention-report.d.cts.map +1 -1
- package/dist/actions/query-retention-report.d.mts +42 -3
- package/dist/actions/query-retention-report.d.mts.map +1 -1
- package/dist/actions/query-retention-report.mjs.map +1 -1
- package/dist/actions/query-segmentation.cjs +1 -1
- package/dist/actions/query-segmentation.cjs.map +1 -1
- package/dist/actions/query-segmentation.d.cts +40 -3
- package/dist/actions/query-segmentation.d.cts.map +1 -1
- package/dist/actions/query-segmentation.d.mts +40 -3
- package/dist/actions/query-segmentation.d.mts.map +1 -1
- package/dist/actions/query-segmentation.mjs +1 -1
- package/dist/actions/query-segmentation.mjs.map +1 -1
- package/dist/actions/query-top-events.cjs +3 -3
- package/dist/actions/query-top-events.cjs.map +1 -1
- package/dist/actions/query-top-events.d.cts +28 -3
- package/dist/actions/query-top-events.d.cts.map +1 -1
- package/dist/actions/query-top-events.d.mts +28 -3
- package/dist/actions/query-top-events.d.mts.map +1 -1
- package/dist/actions/query-top-events.mjs +3 -3
- package/dist/actions/query-top-events.mjs.map +1 -1
- package/dist/actions/remove-from-group-list-property.cjs.map +1 -1
- package/dist/actions/remove-from-group-list-property.d.cts +21 -3
- package/dist/actions/remove-from-group-list-property.d.cts.map +1 -1
- package/dist/actions/remove-from-group-list-property.d.mts +21 -3
- package/dist/actions/remove-from-group-list-property.d.mts.map +1 -1
- package/dist/actions/remove-from-group-list-property.mjs.map +1 -1
- package/dist/actions/remove-from-list-property.cjs.map +1 -1
- package/dist/actions/remove-from-list-property.d.cts +20 -3
- package/dist/actions/remove-from-list-property.d.cts.map +1 -1
- package/dist/actions/remove-from-list-property.d.mts +20 -3
- package/dist/actions/remove-from-list-property.d.mts.map +1 -1
- package/dist/actions/remove-from-list-property.mjs.map +1 -1
- package/dist/actions/segmentation-numeric-query.cjs.map +1 -1
- package/dist/actions/segmentation-numeric-query.d.cts +37 -3
- package/dist/actions/segmentation-numeric-query.d.cts.map +1 -1
- package/dist/actions/segmentation-numeric-query.d.mts +37 -3
- package/dist/actions/segmentation-numeric-query.d.mts.map +1 -1
- package/dist/actions/segmentation-numeric-query.mjs.map +1 -1
- package/dist/actions/set-group-property-once.cjs.map +1 -1
- package/dist/actions/set-group-property-once.d.cts +17 -3
- package/dist/actions/set-group-property-once.d.cts.map +1 -1
- package/dist/actions/set-group-property-once.d.mts +17 -3
- package/dist/actions/set-group-property-once.d.mts.map +1 -1
- package/dist/actions/set-group-property-once.mjs.map +1 -1
- package/dist/actions/set-profile-property-once.cjs.map +1 -1
- package/dist/actions/set-profile-property-once.d.cts +20 -3
- package/dist/actions/set-profile-property-once.d.cts.map +1 -1
- package/dist/actions/set-profile-property-once.d.mts +20 -3
- package/dist/actions/set-profile-property-once.d.mts.map +1 -1
- package/dist/actions/set-profile-property-once.mjs.map +1 -1
- package/dist/actions/top-event-properties.cjs.map +1 -1
- package/dist/actions/top-event-properties.d.cts +13 -3
- package/dist/actions/top-event-properties.d.cts.map +1 -1
- package/dist/actions/top-event-properties.d.mts +13 -3
- package/dist/actions/top-event-properties.d.mts.map +1 -1
- package/dist/actions/top-event-properties.mjs.map +1 -1
- package/dist/actions/top-event-property-values.cjs.map +1 -1
- package/dist/actions/top-event-property-values.d.cts +17 -3
- package/dist/actions/top-event-property-values.d.cts.map +1 -1
- package/dist/actions/top-event-property-values.d.mts +17 -3
- package/dist/actions/top-event-property-values.d.mts.map +1 -1
- package/dist/actions/top-event-property-values.mjs.map +1 -1
- package/dist/actions/top-events.cjs.map +1 -1
- package/dist/actions/top-events.d.cts +19 -3
- package/dist/actions/top-events.d.cts.map +1 -1
- package/dist/actions/top-events.d.mts +19 -3
- package/dist/actions/top-events.d.mts.map +1 -1
- package/dist/actions/top-events.mjs.map +1 -1
- package/dist/actions/update-group-list-property.cjs.map +1 -1
- package/dist/actions/update-group-list-property.d.cts +26 -3
- package/dist/actions/update-group-list-property.d.cts.map +1 -1
- package/dist/actions/update-group-list-property.d.mts +26 -3
- package/dist/actions/update-group-list-property.d.mts.map +1 -1
- package/dist/actions/update-group-list-property.mjs.map +1 -1
- package/dist/catalog.cjs +18 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +17 -0
- package/dist/catalog.d.mts +17 -0
- package/dist/catalog.mjs +18 -1
- package/dist/catalog.mjs.map +1 -1
- package/dist/execute.cjs +1 -1
- package/dist/execute.cjs.map +1 -1
- package/dist/execute.mjs +1 -1
- package/dist/execute.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1,9 +1,43 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/segmentation-numeric-query.d.ts
|
|
4
|
-
declare const MixpanelSegmentationNumericQueryInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MixpanelSegmentationNumericQueryInput: z.ZodObject<{
|
|
5
|
+
on: z.ZodString;
|
|
6
|
+
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
7
|
+
general: "general";
|
|
8
|
+
unique: "unique";
|
|
9
|
+
average: "average";
|
|
10
|
+
}>>>;
|
|
11
|
+
unit: z.ZodOptional<z.ZodEnum<{
|
|
12
|
+
hour: "hour";
|
|
13
|
+
day: "day";
|
|
14
|
+
week: "week";
|
|
15
|
+
month: "month";
|
|
16
|
+
}>>;
|
|
17
|
+
event: z.ZodString;
|
|
18
|
+
where: z.ZodOptional<z.ZodString>;
|
|
19
|
+
to_date: z.ZodString;
|
|
20
|
+
from_date: z.ZodString;
|
|
21
|
+
project_id: z.ZodNumber;
|
|
22
|
+
bucket_size: z.ZodOptional<z.ZodNumber>;
|
|
23
|
+
workspace_id: z.ZodOptional<z.ZodNumber>;
|
|
24
|
+
}, z.core.$strip>;
|
|
25
|
+
declare const MixpanelSegmentationNumericQueryOutput: z.ZodObject<{
|
|
26
|
+
data: z.ZodObject<{}, z.core.$strip>;
|
|
27
|
+
legend_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
28
|
+
}, z.core.$strip>;
|
|
29
|
+
declare const mixpanelSegmentationNumericQuery: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
30
|
+
on: string;
|
|
31
|
+
event: string;
|
|
32
|
+
to_date: string;
|
|
33
|
+
from_date: string;
|
|
34
|
+
project_id: number;
|
|
35
|
+
type?: "general" | "unique" | "average" | undefined;
|
|
36
|
+
unit?: "hour" | "day" | "week" | "month" | undefined;
|
|
37
|
+
where?: string | undefined;
|
|
38
|
+
bucket_size?: number | undefined;
|
|
39
|
+
workspace_id?: number | undefined;
|
|
40
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
41
|
//#endregion
|
|
8
42
|
export { mixpanelSegmentationNumericQuery };
|
|
9
43
|
//# sourceMappingURL=segmentation-numeric-query.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"segmentation-numeric-query.d.mts","names":[],"sources":["../../src/actions/segmentation-numeric-query.ts"],"mappings":";;;cAIa,qCAAA,
|
|
1
|
+
{"version":3,"file":"segmentation-numeric-query.d.mts","names":[],"sources":["../../src/actions/segmentation-numeric-query.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAYrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;cAKtC,gCAAA,gCAAgC,wBAAA"}
|
|
@@ -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
|
|
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 +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
|
|
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,9 +1,23 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/set-group-property-once.d.ts
|
|
4
|
-
declare const MixpanelSetGroupPropertyOnceInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MixpanelSetGroupPropertyOnceInput: z.ZodObject<{
|
|
5
|
+
token: z.ZodString;
|
|
6
|
+
group_id: z.ZodString;
|
|
7
|
+
group_key: z.ZodString;
|
|
8
|
+
properties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const MixpanelSetGroupPropertyOnceOutput: z.ZodObject<{
|
|
11
|
+
code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
status: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
14
|
+
}, z.core.$strip>;
|
|
15
|
+
declare const mixpanelSetGroupPropertyOnce: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
|
+
token: string;
|
|
17
|
+
group_id: string;
|
|
18
|
+
group_key: string;
|
|
19
|
+
properties: Record<string, unknown>;
|
|
20
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
21
|
//#endregion
|
|
8
22
|
export { mixpanelSetGroupPropertyOnce };
|
|
9
23
|
//# 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,
|
|
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,9 +1,23 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/set-group-property-once.d.ts
|
|
4
|
-
declare const MixpanelSetGroupPropertyOnceInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MixpanelSetGroupPropertyOnceInput: z.ZodObject<{
|
|
5
|
+
token: z.ZodString;
|
|
6
|
+
group_id: z.ZodString;
|
|
7
|
+
group_key: z.ZodString;
|
|
8
|
+
properties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const MixpanelSetGroupPropertyOnceOutput: z.ZodObject<{
|
|
11
|
+
code: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
status: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
14
|
+
}, z.core.$strip>;
|
|
15
|
+
declare const mixpanelSetGroupPropertyOnce: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
16
|
+
token: string;
|
|
17
|
+
group_id: string;
|
|
18
|
+
group_key: string;
|
|
19
|
+
properties: Record<string, unknown>;
|
|
20
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
21
|
//#endregion
|
|
8
22
|
export { mixpanelSetGroupPropertyOnce };
|
|
9
23
|
//# 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,
|
|
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 +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
|
|
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 +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
|
|
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,9 +1,26 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/set-profile-property-once.d.ts
|
|
4
|
-
declare const MixpanelSetProfilePropertyOnceInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MixpanelSetProfilePropertyOnceInput: z.ZodObject<{
|
|
5
|
+
ip: z.ZodOptional<z.ZodString>;
|
|
6
|
+
time: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
token: z.ZodString;
|
|
8
|
+
distinct_id: z.ZodString;
|
|
9
|
+
ignore_time: z.ZodOptional<z.ZodBoolean>;
|
|
10
|
+
set_once_properties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
declare const MixpanelSetProfilePropertyOnceOutput: z.ZodObject<{
|
|
13
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
status: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
15
|
+
}, z.core.$strip>;
|
|
16
|
+
declare const mixpanelSetProfilePropertyOnce: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
|
+
token: string;
|
|
18
|
+
distinct_id: string;
|
|
19
|
+
set_once_properties: Record<string, unknown>;
|
|
20
|
+
ip?: string | undefined;
|
|
21
|
+
time?: number | undefined;
|
|
22
|
+
ignore_time?: boolean | undefined;
|
|
23
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
24
|
//#endregion
|
|
8
25
|
export { mixpanelSetProfilePropertyOnce };
|
|
9
26
|
//# sourceMappingURL=set-profile-property-once.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"set-profile-property-once.d.cts","names":[],"sources":["../../src/actions/set-profile-property-once.ts"],"mappings":";;;cAIa,mCAAA,
|
|
1
|
+
{"version":3,"file":"set-profile-property-once.d.cts","names":[],"sources":["../../src/actions/set-profile-property-once.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;cAQnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;cAKpC,8BAAA,gCAA8B,wBAAA;;;uBAMzC,MAAA"}
|
|
@@ -1,9 +1,26 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/set-profile-property-once.d.ts
|
|
4
|
-
declare const MixpanelSetProfilePropertyOnceInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MixpanelSetProfilePropertyOnceInput: z.ZodObject<{
|
|
5
|
+
ip: z.ZodOptional<z.ZodString>;
|
|
6
|
+
time: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
token: z.ZodString;
|
|
8
|
+
distinct_id: z.ZodString;
|
|
9
|
+
ignore_time: z.ZodOptional<z.ZodBoolean>;
|
|
10
|
+
set_once_properties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
11
|
+
}, z.core.$strip>;
|
|
12
|
+
declare const MixpanelSetProfilePropertyOnceOutput: z.ZodObject<{
|
|
13
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
status: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
15
|
+
}, z.core.$strip>;
|
|
16
|
+
declare const mixpanelSetProfilePropertyOnce: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
|
+
token: string;
|
|
18
|
+
distinct_id: string;
|
|
19
|
+
set_once_properties: Record<string, unknown>;
|
|
20
|
+
ip?: string | undefined;
|
|
21
|
+
time?: number | undefined;
|
|
22
|
+
ignore_time?: boolean | undefined;
|
|
23
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
24
|
//#endregion
|
|
8
25
|
export { mixpanelSetProfilePropertyOnce };
|
|
9
26
|
//# sourceMappingURL=set-profile-property-once.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"set-profile-property-once.d.mts","names":[],"sources":["../../src/actions/set-profile-property-once.ts"],"mappings":";;;cAIa,mCAAA,
|
|
1
|
+
{"version":3,"file":"set-profile-property-once.d.mts","names":[],"sources":["../../src/actions/set-profile-property-once.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;cAQnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;cAKpC,8BAAA,gCAA8B,wBAAA;;;uBAMzC,MAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"set-profile-property-once.mjs","names":[],"sources":["../../src/actions/set-profile-property-once.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelSetProfilePropertyOnceInput
|
|
1
|
+
{"version":3,"file":"set-profile-property-once.mjs","names":[],"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":";;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,qBAAqB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yPAAyP;CAC3T,CAAC,CAAC,CAAC,SAAS,mFAUH;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,gDAOF;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"top-event-properties.cjs","names":["z","action"],"sources":["../../src/actions/top-event-properties.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelTopEventPropertiesInput
|
|
1
|
+
{"version":3,"file":"top-event-properties.cjs","names":["z","action"],"sources":["../../src/actions/top-event-properties.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelTopEventPropertiesInput = z.object({\n event: z.string().describe(\"The event that you wish to get data for. Note: this is a single event name, not an array\"),\n limit: z.number().int().default(10).describe(\"The maximum number of properties to return\").optional(),\n project_id: z.number().int().describe(\"Required if using service account to authenticate request\"),\n workspace_id: z.number().int().describe(\"The id of the workspace if applicable\").optional(),\n}).describe(\"Request model for getting top event properties\");\nexport const MixpanelTopEventPropertiesOutput = z.record(z.string(), z.unknown()).describe(\"Response model for top event properties data.\\nDynamic object where each key is a property name that has been tracked with the event.\\nReturns the top property names and their occurrence counts.\\nExample: {\\\"ad version\\\": {\\\"count\\\": 295}, \\\"user type\\\": {\\\"count\\\": 91}}\");\n\nexport const mixpanelTopEventProperties = action(\"MIXPANEL_TOP_EVENT_PROPERTIES\", {\n slug: \"mixpanel-top-event-properties\",\n name: \"Get Top Event Properties\",\n description: \"Get the top property names for an event. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.\",\n input: MixpanelTopEventPropertiesInput,\n output: MixpanelTopEventPropertiesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F;CACrH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACpG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;CACjG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAa,mCAAmCA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iRAAiR;AAE5W,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,19 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/top-event-properties.d.ts
|
|
4
|
-
declare const MixpanelTopEventPropertiesInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MixpanelTopEventPropertiesInput: z.ZodObject<{
|
|
5
|
+
event: z.ZodString;
|
|
6
|
+
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
7
|
+
project_id: z.ZodNumber;
|
|
8
|
+
workspace_id: z.ZodOptional<z.ZodNumber>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const MixpanelTopEventPropertiesOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
11
|
+
declare const mixpanelTopEventProperties: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
|
+
event: string;
|
|
13
|
+
project_id: number;
|
|
14
|
+
limit?: number | undefined;
|
|
15
|
+
workspace_id?: number | undefined;
|
|
16
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
17
|
//#endregion
|
|
8
18
|
export { mixpanelTopEventProperties };
|
|
9
19
|
//# sourceMappingURL=top-event-properties.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"top-event-properties.d.cts","names":[],"sources":["../../src/actions/top-event-properties.ts"],"mappings":";;;cAIa,+BAAA,
|
|
1
|
+
{"version":3,"file":"top-event-properties.d.cts","names":[],"sources":["../../src/actions/top-event-properties.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;cAM/B,gCAAA,EAAgC,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAEhC,0BAAA,gCAA0B,wBAAA"}
|
|
@@ -1,9 +1,19 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/top-event-properties.d.ts
|
|
4
|
-
declare const MixpanelTopEventPropertiesInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MixpanelTopEventPropertiesInput: z.ZodObject<{
|
|
5
|
+
event: z.ZodString;
|
|
6
|
+
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
7
|
+
project_id: z.ZodNumber;
|
|
8
|
+
workspace_id: z.ZodOptional<z.ZodNumber>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const MixpanelTopEventPropertiesOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
11
|
+
declare const mixpanelTopEventProperties: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
|
+
event: string;
|
|
13
|
+
project_id: number;
|
|
14
|
+
limit?: number | undefined;
|
|
15
|
+
workspace_id?: number | undefined;
|
|
16
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
17
|
//#endregion
|
|
8
18
|
export { mixpanelTopEventProperties };
|
|
9
19
|
//# sourceMappingURL=top-event-properties.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"top-event-properties.d.mts","names":[],"sources":["../../src/actions/top-event-properties.ts"],"mappings":";;;cAIa,+BAAA,
|
|
1
|
+
{"version":3,"file":"top-event-properties.d.mts","names":[],"sources":["../../src/actions/top-event-properties.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;cAM/B,gCAAA,EAAgC,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAEhC,0BAAA,gCAA0B,wBAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"top-event-properties.mjs","names":[],"sources":["../../src/actions/top-event-properties.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelTopEventPropertiesInput
|
|
1
|
+
{"version":3,"file":"top-event-properties.mjs","names":[],"sources":["../../src/actions/top-event-properties.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelTopEventPropertiesInput = z.object({\n event: z.string().describe(\"The event that you wish to get data for. Note: this is a single event name, not an array\"),\n limit: z.number().int().default(10).describe(\"The maximum number of properties to return\").optional(),\n project_id: z.number().int().describe(\"Required if using service account to authenticate request\"),\n workspace_id: z.number().int().describe(\"The id of the workspace if applicable\").optional(),\n}).describe(\"Request model for getting top event properties\");\nexport const MixpanelTopEventPropertiesOutput = z.record(z.string(), z.unknown()).describe(\"Response model for top event properties data.\\nDynamic object where each key is a property name that has been tracked with the event.\\nReturns the top property names and their occurrence counts.\\nExample: {\\\"ad version\\\": {\\\"count\\\": 295}, \\\"user type\\\": {\\\"count\\\": 91}}\");\n\nexport const mixpanelTopEventProperties = action(\"MIXPANEL_TOP_EVENT_PROPERTIES\", {\n slug: \"mixpanel-top-event-properties\",\n name: \"Get Top Event Properties\",\n description: \"Get the top property names for an event. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.\",\n input: MixpanelTopEventPropertiesInput,\n output: MixpanelTopEventPropertiesOutput,\n});\n"],"mappings":";;AAYA,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ6C,EAAE,OAAO;EACtD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F;EACrH,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACpG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;EACjG,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC5F,CAAC,CAAC,CAAC,SAAS,gDAOH;CACP,QAP8C,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iRAOjF;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"top-event-property-values.cjs","names":["z","action"],"sources":["../../src/actions/top-event-property-values.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelTopEventPropertyValuesInput
|
|
1
|
+
{"version":3,"file":"top-event-property-values.cjs","names":["z","action"],"sources":["../../src/actions/top-event-property-values.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelTopEventPropertyValuesInput = z.object({\n name: z.string().describe(\"The name of the property you would like to get data for\"),\n event: z.string().describe(\"The event that you wish to get data for. Note: this is a single event name, not an array\"),\n limit: z.number().int().default(255).describe(\"The maximum number of values to return\").optional(),\n project_id: z.number().int().describe(\"Required if using service account to authenticate request\"),\n workspace_id: z.number().int().describe(\"The id of the workspace if applicable\").optional(),\n}).describe(\"Request model for getting top event property values\");\nexport const MixpanelTopEventPropertyValuesOutput = z.object({\n values: z.array(z.string()).describe(\"List of top property values ordered by frequency (most common first)\"),\n}).describe(\"Response model for top event property values data\");\n\nexport const mixpanelTopEventPropertyValues = action(\"MIXPANEL_TOP_EVENT_PROPERTY_VALUES\", {\n slug: \"mixpanel-top-event-property-values\",\n name: \"Get Top Event Property Values\",\n description: \"Tool to get the top values for a property ordered by frequency. Use when you need to understand the most common values for a specific property on an event. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries. This limit is shared across all Query API tools (e.g., MIXPANEL_QUERY_SEGMENTATION); on a 429 response, apply exponential backoff.\",\n input: MixpanelTopEventPropertyValuesInput,\n output: MixpanelTopEventPropertyValuesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACnF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F;CACrH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACjG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;CACjG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,EAC3D,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sEAAsE,EAC7G,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAE/D,MAAa,iCAAiCC,eAAAA,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,23 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/top-event-property-values.d.ts
|
|
4
|
-
declare const MixpanelTopEventPropertyValuesInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MixpanelTopEventPropertyValuesInput: z.ZodObject<{
|
|
5
|
+
name: z.ZodString;
|
|
6
|
+
event: z.ZodString;
|
|
7
|
+
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
8
|
+
project_id: z.ZodNumber;
|
|
9
|
+
workspace_id: z.ZodOptional<z.ZodNumber>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
declare const MixpanelTopEventPropertyValuesOutput: z.ZodObject<{
|
|
12
|
+
values: z.ZodArray<z.ZodString>;
|
|
13
|
+
}, z.core.$strip>;
|
|
14
|
+
declare const mixpanelTopEventPropertyValues: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
15
|
+
name: string;
|
|
16
|
+
event: string;
|
|
17
|
+
project_id: number;
|
|
18
|
+
limit?: number | undefined;
|
|
19
|
+
workspace_id?: number | undefined;
|
|
20
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
21
|
//#endregion
|
|
8
22
|
export { mixpanelTopEventPropertyValues };
|
|
9
23
|
//# sourceMappingURL=top-event-property-values.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"top-event-property-values.d.cts","names":[],"sources":["../../src/actions/top-event-property-values.ts"],"mappings":";;;cAIa,mCAAA,
|
|
1
|
+
{"version":3,"file":"top-event-property-values.d.cts","names":[],"sources":["../../src/actions/top-event-property-values.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;cAOnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;cAIpC,8BAAA,gCAA8B,wBAAA"}
|
|
@@ -1,9 +1,23 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/top-event-property-values.d.ts
|
|
4
|
-
declare const MixpanelTopEventPropertyValuesInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MixpanelTopEventPropertyValuesInput: z.ZodObject<{
|
|
5
|
+
name: z.ZodString;
|
|
6
|
+
event: z.ZodString;
|
|
7
|
+
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
8
|
+
project_id: z.ZodNumber;
|
|
9
|
+
workspace_id: z.ZodOptional<z.ZodNumber>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
declare const MixpanelTopEventPropertyValuesOutput: z.ZodObject<{
|
|
12
|
+
values: z.ZodArray<z.ZodString>;
|
|
13
|
+
}, z.core.$strip>;
|
|
14
|
+
declare const mixpanelTopEventPropertyValues: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
15
|
+
name: string;
|
|
16
|
+
event: string;
|
|
17
|
+
project_id: number;
|
|
18
|
+
limit?: number | undefined;
|
|
19
|
+
workspace_id?: number | undefined;
|
|
20
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
21
|
//#endregion
|
|
8
22
|
export { mixpanelTopEventPropertyValues };
|
|
9
23
|
//# sourceMappingURL=top-event-property-values.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"top-event-property-values.d.mts","names":[],"sources":["../../src/actions/top-event-property-values.ts"],"mappings":";;;cAIa,mCAAA,
|
|
1
|
+
{"version":3,"file":"top-event-property-values.d.mts","names":[],"sources":["../../src/actions/top-event-property-values.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;cAOnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;cAIpC,8BAAA,gCAA8B,wBAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"top-event-property-values.mjs","names":[],"sources":["../../src/actions/top-event-property-values.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelTopEventPropertyValuesInput
|
|
1
|
+
{"version":3,"file":"top-event-property-values.mjs","names":[],"sources":["../../src/actions/top-event-property-values.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelTopEventPropertyValuesInput = z.object({\n name: z.string().describe(\"The name of the property you would like to get data for\"),\n event: z.string().describe(\"The event that you wish to get data for. Note: this is a single event name, not an array\"),\n limit: z.number().int().default(255).describe(\"The maximum number of values to return\").optional(),\n project_id: z.number().int().describe(\"Required if using service account to authenticate request\"),\n workspace_id: z.number().int().describe(\"The id of the workspace if applicable\").optional(),\n}).describe(\"Request model for getting top event property values\");\nexport const MixpanelTopEventPropertyValuesOutput = z.object({\n values: z.array(z.string()).describe(\"List of top property values ordered by frequency (most common first)\"),\n}).describe(\"Response model for top event property values data\");\n\nexport const mixpanelTopEventPropertyValues = action(\"MIXPANEL_TOP_EVENT_PROPERTY_VALUES\", {\n slug: \"mixpanel-top-event-property-values\",\n name: \"Get Top Event Property Values\",\n description: \"Tool to get the top values for a property ordered by frequency. Use when you need to understand the most common values for a specific property on an event. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries. This limit is shared across all Query API tools (e.g., MIXPANEL_QUERY_SEGMENTATION); on a 429 response, apply exponential backoff.\",\n input: MixpanelTopEventPropertyValuesInput,\n output: MixpanelTopEventPropertyValuesOutput,\n});\n"],"mappings":";;AAeA,MAAa,iCAAiC,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfiD,EAAE,OAAO;EAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;EACnF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F;EACrH,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EACjG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;EACjG,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC5F,CAAC,CAAC,CAAC,SAAS,qDASH;CACP,QATkD,EAAE,OAAO,EAC3D,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sEAAsE,EAC7G,CAAC,CAAC,CAAC,SAAS,mDAOF;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"top-events.cjs","names":["z","action"],"sources":["../../src/actions/top-events.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelTopEventsInput
|
|
1
|
+
{"version":3,"file":"top-events.cjs","names":["z","action"],"sources":["../../src/actions/top-events.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelTopEventsInput = z.object({\n type: z.enum([\"general\", \"unique\", \"average\"]).describe(\"The analysis type you would like to get data for - such as general, unique, or average events\"),\n limit: z.number().int().default(255).describe(\"The maximum number of values to return\").optional(),\n project_id: z.number().int().describe(\"Required if using service account to authenticate request\"),\n workspace_id: z.number().int().describe(\"The id of the workspace if applicable\").optional(),\n}).describe(\"Request model for getting top events\");\nexport const MixpanelTopEventsOutput = z.object({\n data: z.union([z.array(z.unknown()), z.record(z.string(), z.unknown())]),\n}).describe(\"Response model for top events data\");\n\nexport const mixpanelTopEvents = action(\"MIXPANEL_TOP_EVENTS\", {\n slug: \"mixpanel-top-events\",\n name: \"Get Top Events\",\n description: \"Get a list of the most common events over the last 31 days. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.\",\n input: MixpanelTopEventsInput,\n output: MixpanelTopEventsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAU;CAAS,CAAC,CAAC,CAAC,SAAS,+FAA+F;CACvJ,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACjG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;CACjG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,MAAMA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,GAAGA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,EACzE,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAEhD,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,25 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/top-events.d.ts
|
|
4
|
-
declare const MixpanelTopEventsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MixpanelTopEventsInput: z.ZodObject<{
|
|
5
|
+
type: z.ZodEnum<{
|
|
6
|
+
general: "general";
|
|
7
|
+
unique: "unique";
|
|
8
|
+
average: "average";
|
|
9
|
+
}>;
|
|
10
|
+
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
11
|
+
project_id: z.ZodNumber;
|
|
12
|
+
workspace_id: z.ZodOptional<z.ZodNumber>;
|
|
13
|
+
}, z.core.$strip>;
|
|
14
|
+
declare const MixpanelTopEventsOutput: z.ZodObject<{
|
|
15
|
+
data: z.ZodUnion<readonly [z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
declare const mixpanelTopEvents: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
|
+
type: "general" | "unique" | "average";
|
|
19
|
+
project_id: number;
|
|
20
|
+
limit?: number | undefined;
|
|
21
|
+
workspace_id?: number | undefined;
|
|
22
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
23
|
//#endregion
|
|
8
24
|
export { mixpanelTopEvents };
|
|
9
25
|
//# sourceMappingURL=top-events.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"top-events.d.cts","names":[],"sources":["../../src/actions/top-events.ts"],"mappings":";;;cAIa,sBAAA,
|
|
1
|
+
{"version":3,"file":"top-events.d.cts","names":[],"sources":["../../src/actions/top-events.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;cAMtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAIvB,iBAAA,gCAAiB,wBAAA"}
|
|
@@ -1,9 +1,25 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/top-events.d.ts
|
|
4
|
-
declare const MixpanelTopEventsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MixpanelTopEventsInput: z.ZodObject<{
|
|
5
|
+
type: z.ZodEnum<{
|
|
6
|
+
general: "general";
|
|
7
|
+
unique: "unique";
|
|
8
|
+
average: "average";
|
|
9
|
+
}>;
|
|
10
|
+
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
11
|
+
project_id: z.ZodNumber;
|
|
12
|
+
workspace_id: z.ZodOptional<z.ZodNumber>;
|
|
13
|
+
}, z.core.$strip>;
|
|
14
|
+
declare const MixpanelTopEventsOutput: z.ZodObject<{
|
|
15
|
+
data: z.ZodUnion<readonly [z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
declare const mixpanelTopEvents: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
|
+
type: "general" | "unique" | "average";
|
|
19
|
+
project_id: number;
|
|
20
|
+
limit?: number | undefined;
|
|
21
|
+
workspace_id?: number | undefined;
|
|
22
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
23
|
//#endregion
|
|
8
24
|
export { mixpanelTopEvents };
|
|
9
25
|
//# sourceMappingURL=top-events.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"top-events.d.mts","names":[],"sources":["../../src/actions/top-events.ts"],"mappings":";;;cAIa,sBAAA,
|
|
1
|
+
{"version":3,"file":"top-events.d.mts","names":[],"sources":["../../src/actions/top-events.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;cAMtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAIvB,iBAAA,gCAAiB,wBAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"top-events.mjs","names":[],"sources":["../../src/actions/top-events.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelTopEventsInput
|
|
1
|
+
{"version":3,"file":"top-events.mjs","names":[],"sources":["../../src/actions/top-events.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelTopEventsInput = z.object({\n type: z.enum([\"general\", \"unique\", \"average\"]).describe(\"The analysis type you would like to get data for - such as general, unique, or average events\"),\n limit: z.number().int().default(255).describe(\"The maximum number of values to return\").optional(),\n project_id: z.number().int().describe(\"Required if using service account to authenticate request\"),\n workspace_id: z.number().int().describe(\"The id of the workspace if applicable\").optional(),\n}).describe(\"Request model for getting top events\");\nexport const MixpanelTopEventsOutput = z.object({\n data: z.union([z.array(z.unknown()), z.record(z.string(), z.unknown())]),\n}).describe(\"Response model for top events data\");\n\nexport const mixpanelTopEvents = action(\"MIXPANEL_TOP_EVENTS\", {\n slug: \"mixpanel-top-events\",\n name: \"Get Top Events\",\n description: \"Get a list of the most common events over the last 31 days. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.\",\n input: MixpanelTopEventsInput,\n output: MixpanelTopEventsOutput,\n});\n"],"mappings":";;AAcA,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdoC,EAAE,OAAO;EAC7C,MAAM,EAAE,KAAK;GAAC;GAAW;GAAU;EAAS,CAAC,CAAC,CAAC,SAAS,+FAA+F;EACvJ,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EACjG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;EACjG,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC5F,CAAC,CAAC,CAAC,SAAS,sCASH;CACP,QATqC,EAAE,OAAO,EAC9C,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,EAAE,QAAQ,CAAC,GAAG,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,EACzE,CAAC,CAAC,CAAC,SAAS,oCAOF;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-group-list-property.cjs","names":["z","action"],"sources":["../../src/actions/update-group-list-property.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelUpdateGroupListPropertyInput
|
|
1
|
+
{"version":3,"file":"update-group-list-property.cjs","names":["z","action"],"sources":["../../src/actions/update-group-list-property.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelUpdateGroupListPropertyInput = z.object({\n ip: z.number().int().describe(\"Controls geolocation parsing. Set to 0 to disable, 1 to enable. If not provided, defaults to request IP.\").optional(),\n data: z.array(z.object({\n token: z.string().describe(\"Your Mixpanel project token\"),\n union: z.object({}).describe(\"Object containing property names mapped to arrays of values to add uniquely to list properties. Values are added only if they don't already exist in the list.\"),\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 union update object.\")).describe(\"A list of group union update objects. Each object must contain $token, $group_key, $group_id, and $union properties.\"),\n strict: z.number().int().describe(\"Enables validation with error messages. Set to 1 to enable strict mode, 0 to disable.\").optional(),\n verbose: z.number().int().describe(\"Returns detailed operation success/failure information. Set to 1 for detailed response, 0 for simple response.\").optional(),\n}).describe(\"Request model for adding unique values to list properties on group profiles.\");\nexport const MixpanelUpdateGroupListPropertyOutput = 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 group union operation.\");\n\nexport const mixpanelUpdateGroupListProperty = action(\"MIXPANEL_UPDATE_GROUP_LIST_PROPERTY\", {\n slug: \"mixpanel-update-group-list-property\",\n name: \"Union to Group List Property\",\n description: \"Tool to add unique values to list properties on group profiles in Mixpanel. Use when you need to add items to list-type group properties without creating duplicates. The $union operation ensures that values are only added if they don't already exist in the list.\",\n input: MixpanelUpdateGroupListPropertyInput,\n output: MixpanelUpdateGroupListPropertyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;CACnJ,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACvB,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;EACxD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gKAAgK;EAC7L,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;EACnE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CAC5F,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,CAAC,SAAS,sHAAsH;CAC3L,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CACpI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;AAChK,CAAC,CAAC,CAAC,SAAS,8EAA8E;AAC1F,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,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,2CAA2C;AAEvD,MAAa,kCAAkCC,eAAAA,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|