@keystrokehq/mixpanel 0.1.0
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 +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/add-unique-to-profile-list-property.cjs +31 -0
- package/dist/actions/add-unique-to-profile-list-property.cjs.map +1 -0
- package/dist/actions/add-unique-to-profile-list-property.d.cts +9 -0
- package/dist/actions/add-unique-to-profile-list-property.d.cts.map +1 -0
- package/dist/actions/add-unique-to-profile-list-property.d.mts +9 -0
- package/dist/actions/add-unique-to-profile-list-property.d.mts.map +1 -0
- package/dist/actions/add-unique-to-profile-list-property.mjs +28 -0
- package/dist/actions/add-unique-to-profile-list-property.mjs.map +1 -0
- package/dist/actions/aggregate-events.cjs +46 -0
- package/dist/actions/aggregate-events.cjs.map +1 -0
- package/dist/actions/aggregate-events.d.cts +9 -0
- package/dist/actions/aggregate-events.d.cts.map +1 -0
- package/dist/actions/aggregate-events.d.mts +9 -0
- package/dist/actions/aggregate-events.d.mts.map +1 -0
- package/dist/actions/aggregate-events.mjs +45 -0
- package/dist/actions/aggregate-events.mjs.map +1 -0
- package/dist/actions/aggregated-event-property-values.cjs +46 -0
- package/dist/actions/aggregated-event-property-values.cjs.map +1 -0
- package/dist/actions/aggregated-event-property-values.d.cts +9 -0
- package/dist/actions/aggregated-event-property-values.d.cts.map +1 -0
- package/dist/actions/aggregated-event-property-values.d.mts +9 -0
- package/dist/actions/aggregated-event-property-values.d.mts.map +1 -0
- package/dist/actions/aggregated-event-property-values.mjs +45 -0
- package/dist/actions/aggregated-event-property-values.mjs.map +1 -0
- package/dist/actions/cohorts-list.cjs +28 -0
- package/dist/actions/cohorts-list.cjs.map +1 -0
- package/dist/actions/cohorts-list.d.cts +9 -0
- package/dist/actions/cohorts-list.d.cts.map +1 -0
- package/dist/actions/cohorts-list.d.mts +9 -0
- package/dist/actions/cohorts-list.d.mts.map +1 -0
- package/dist/actions/cohorts-list.mjs +27 -0
- package/dist/actions/cohorts-list.mjs.map +1 -0
- package/dist/actions/create-annotation-tag.cjs +24 -0
- package/dist/actions/create-annotation-tag.cjs.map +1 -0
- package/dist/actions/create-annotation-tag.d.cts +9 -0
- package/dist/actions/create-annotation-tag.d.cts.map +1 -0
- package/dist/actions/create-annotation-tag.d.mts +9 -0
- package/dist/actions/create-annotation-tag.d.mts.map +1 -0
- package/dist/actions/create-annotation-tag.mjs +21 -0
- package/dist/actions/create-annotation-tag.mjs.map +1 -0
- package/dist/actions/create-identity.cjs +25 -0
- package/dist/actions/create-identity.cjs.map +1 -0
- package/dist/actions/create-identity.d.cts +9 -0
- package/dist/actions/create-identity.d.cts.map +1 -0
- package/dist/actions/create-identity.d.mts +9 -0
- package/dist/actions/create-identity.d.mts.map +1 -0
- package/dist/actions/create-identity.mjs +22 -0
- package/dist/actions/create-identity.mjs.map +1 -0
- package/dist/actions/create-service-account.cjs +48 -0
- package/dist/actions/create-service-account.cjs.map +1 -0
- package/dist/actions/create-service-account.d.cts +9 -0
- package/dist/actions/create-service-account.d.cts.map +1 -0
- package/dist/actions/create-service-account.d.mts +9 -0
- package/dist/actions/create-service-account.d.mts.map +1 -0
- package/dist/actions/create-service-account.mjs +47 -0
- package/dist/actions/create-service-account.mjs.map +1 -0
- package/dist/actions/delete-group.cjs +24 -0
- package/dist/actions/delete-group.cjs.map +1 -0
- package/dist/actions/delete-group.d.cts +9 -0
- package/dist/actions/delete-group.d.cts.map +1 -0
- package/dist/actions/delete-group.d.mts +9 -0
- package/dist/actions/delete-group.d.mts.map +1 -0
- package/dist/actions/delete-group.mjs +21 -0
- package/dist/actions/delete-group.mjs.map +1 -0
- package/dist/actions/delete-profile-batch.cjs +24 -0
- package/dist/actions/delete-profile-batch.cjs.map +1 -0
- package/dist/actions/delete-profile-batch.d.cts +9 -0
- package/dist/actions/delete-profile-batch.d.cts.map +1 -0
- package/dist/actions/delete-profile-batch.d.mts +9 -0
- package/dist/actions/delete-profile-batch.d.mts.map +1 -0
- package/dist/actions/delete-profile-batch.mjs +21 -0
- package/dist/actions/delete-profile-batch.mjs.map +1 -0
- package/dist/actions/delete-profile-property.cjs +27 -0
- package/dist/actions/delete-profile-property.cjs.map +1 -0
- package/dist/actions/delete-profile-property.d.cts +9 -0
- package/dist/actions/delete-profile-property.d.cts.map +1 -0
- package/dist/actions/delete-profile-property.d.mts +9 -0
- package/dist/actions/delete-profile-property.d.mts.map +1 -0
- package/dist/actions/delete-profile-property.mjs +24 -0
- package/dist/actions/delete-profile-property.mjs.map +1 -0
- package/dist/actions/delete-profile.cjs +22 -0
- package/dist/actions/delete-profile.cjs.map +1 -0
- package/dist/actions/delete-profile.d.cts +9 -0
- package/dist/actions/delete-profile.d.cts.map +1 -0
- package/dist/actions/delete-profile.d.mts +9 -0
- package/dist/actions/delete-profile.d.mts.map +1 -0
- package/dist/actions/delete-profile.mjs +19 -0
- package/dist/actions/delete-profile.mjs.map +1 -0
- package/dist/actions/get-all-projects.cjs +16 -0
- package/dist/actions/get-all-projects.cjs.map +1 -0
- package/dist/actions/get-all-projects.d.cts +9 -0
- package/dist/actions/get-all-projects.d.cts.map +1 -0
- package/dist/actions/get-all-projects.d.mts +9 -0
- package/dist/actions/get-all-projects.d.mts.map +1 -0
- package/dist/actions/get-all-projects.mjs +13 -0
- package/dist/actions/get-all-projects.mjs.map +1 -0
- package/dist/actions/get-annotation-tags-alt1.cjs +22 -0
- package/dist/actions/get-annotation-tags-alt1.cjs.map +1 -0
- package/dist/actions/get-annotation-tags-alt1.d.cts +9 -0
- package/dist/actions/get-annotation-tags-alt1.d.cts.map +1 -0
- package/dist/actions/get-annotation-tags-alt1.d.mts +9 -0
- package/dist/actions/get-annotation-tags-alt1.d.mts.map +1 -0
- package/dist/actions/get-annotation-tags-alt1.mjs +21 -0
- package/dist/actions/get-annotation-tags-alt1.mjs.map +1 -0
- package/dist/actions/group-batch-update.cjs +37 -0
- package/dist/actions/group-batch-update.cjs.map +1 -0
- package/dist/actions/group-batch-update.d.cts +9 -0
- package/dist/actions/group-batch-update.d.cts.map +1 -0
- package/dist/actions/group-batch-update.d.mts +9 -0
- package/dist/actions/group-batch-update.d.mts.map +1 -0
- package/dist/actions/group-batch-update.mjs +34 -0
- package/dist/actions/group-batch-update.mjs.map +1 -0
- package/dist/actions/group-delete-property.cjs +25 -0
- package/dist/actions/group-delete-property.cjs.map +1 -0
- package/dist/actions/group-delete-property.d.cts +9 -0
- package/dist/actions/group-delete-property.d.cts.map +1 -0
- package/dist/actions/group-delete-property.d.mts +9 -0
- package/dist/actions/group-delete-property.d.mts.map +1 -0
- package/dist/actions/group-delete-property.mjs +22 -0
- package/dist/actions/group-delete-property.mjs.map +1 -0
- package/dist/actions/identity-create-alias.cjs +20 -0
- package/dist/actions/identity-create-alias.cjs.map +1 -0
- package/dist/actions/identity-create-alias.d.cts +9 -0
- package/dist/actions/identity-create-alias.d.cts.map +1 -0
- package/dist/actions/identity-create-alias.d.mts +9 -0
- package/dist/actions/identity-create-alias.d.mts.map +1 -0
- package/dist/actions/identity-create-alias.mjs +17 -0
- package/dist/actions/identity-create-alias.mjs.map +1 -0
- package/dist/actions/index.cjs +87 -0
- package/dist/actions/index.d.cts +44 -0
- package/dist/actions/index.d.mts +44 -0
- package/dist/actions/index.mjs +44 -0
- package/dist/actions/jql-query.cjs +28 -0
- package/dist/actions/jql-query.cjs.map +1 -0
- package/dist/actions/jql-query.d.cts +9 -0
- package/dist/actions/jql-query.d.cts.map +1 -0
- package/dist/actions/jql-query.d.mts +9 -0
- package/dist/actions/jql-query.d.mts.map +1 -0
- package/dist/actions/jql-query.mjs +25 -0
- package/dist/actions/jql-query.mjs.map +1 -0
- package/dist/actions/list-funnels.cjs +23 -0
- package/dist/actions/list-funnels.cjs.map +1 -0
- package/dist/actions/list-funnels.d.cts +9 -0
- package/dist/actions/list-funnels.d.cts.map +1 -0
- package/dist/actions/list-funnels.d.mts +9 -0
- package/dist/actions/list-funnels.d.mts.map +1 -0
- package/dist/actions/list-funnels.mjs +22 -0
- package/dist/actions/list-funnels.mjs.map +1 -0
- package/dist/actions/list-service-accounts.cjs +28 -0
- package/dist/actions/list-service-accounts.cjs.map +1 -0
- package/dist/actions/list-service-accounts.d.cts +9 -0
- package/dist/actions/list-service-accounts.d.cts.map +1 -0
- package/dist/actions/list-service-accounts.d.mts +9 -0
- package/dist/actions/list-service-accounts.d.mts.map +1 -0
- package/dist/actions/list-service-accounts.mjs +27 -0
- package/dist/actions/list-service-accounts.mjs.map +1 -0
- package/dist/actions/profile-append-to-list-property.cjs +28 -0
- package/dist/actions/profile-append-to-list-property.cjs.map +1 -0
- package/dist/actions/profile-append-to-list-property.d.cts +9 -0
- package/dist/actions/profile-append-to-list-property.d.cts.map +1 -0
- package/dist/actions/profile-append-to-list-property.d.mts +9 -0
- package/dist/actions/profile-append-to-list-property.d.mts.map +1 -0
- package/dist/actions/profile-append-to-list-property.mjs +25 -0
- package/dist/actions/profile-append-to-list-property.mjs.map +1 -0
- package/dist/actions/profile-batch-update.cjs +41 -0
- package/dist/actions/profile-batch-update.cjs.map +1 -0
- package/dist/actions/profile-batch-update.d.cts +9 -0
- package/dist/actions/profile-batch-update.d.cts.map +1 -0
- package/dist/actions/profile-batch-update.d.mts +9 -0
- package/dist/actions/profile-batch-update.d.mts.map +1 -0
- package/dist/actions/profile-batch-update.mjs +40 -0
- package/dist/actions/profile-batch-update.mjs.map +1 -0
- package/dist/actions/profile-event-activity.cjs +67 -0
- package/dist/actions/profile-event-activity.cjs.map +1 -0
- package/dist/actions/profile-event-activity.d.cts +9 -0
- package/dist/actions/profile-event-activity.d.cts.map +1 -0
- package/dist/actions/profile-event-activity.d.mts +9 -0
- package/dist/actions/profile-event-activity.d.mts.map +1 -0
- package/dist/actions/profile-event-activity.mjs +66 -0
- package/dist/actions/profile-event-activity.mjs.map +1 -0
- package/dist/actions/profile-numerical-add.cjs +27 -0
- package/dist/actions/profile-numerical-add.cjs.map +1 -0
- package/dist/actions/profile-numerical-add.d.cts +9 -0
- package/dist/actions/profile-numerical-add.d.cts.map +1 -0
- package/dist/actions/profile-numerical-add.d.mts +9 -0
- package/dist/actions/profile-numerical-add.d.mts.map +1 -0
- package/dist/actions/profile-numerical-add.mjs +24 -0
- package/dist/actions/profile-numerical-add.mjs.map +1 -0
- package/dist/actions/profile-remove-from-list-property.cjs +28 -0
- package/dist/actions/profile-remove-from-list-property.cjs.map +1 -0
- package/dist/actions/profile-remove-from-list-property.d.cts +9 -0
- package/dist/actions/profile-remove-from-list-property.d.cts.map +1 -0
- package/dist/actions/profile-remove-from-list-property.d.mts +9 -0
- package/dist/actions/profile-remove-from-list-property.d.mts.map +1 -0
- package/dist/actions/profile-remove-from-list-property.mjs +25 -0
- package/dist/actions/profile-remove-from-list-property.mjs.map +1 -0
- package/dist/actions/profile-set.cjs +26 -0
- package/dist/actions/profile-set.cjs.map +1 -0
- package/dist/actions/profile-set.d.cts +9 -0
- package/dist/actions/profile-set.d.cts.map +1 -0
- package/dist/actions/profile-set.d.mts +9 -0
- package/dist/actions/profile-set.d.mts.map +1 -0
- package/dist/actions/profile-set.mjs +23 -0
- package/dist/actions/profile-set.mjs.map +1 -0
- package/dist/actions/query-frequency-report.cjs +31 -0
- package/dist/actions/query-frequency-report.cjs.map +1 -0
- package/dist/actions/query-frequency-report.d.cts +9 -0
- package/dist/actions/query-frequency-report.d.cts.map +1 -0
- package/dist/actions/query-frequency-report.d.mts +9 -0
- package/dist/actions/query-frequency-report.d.mts.map +1 -0
- package/dist/actions/query-frequency-report.mjs +28 -0
- package/dist/actions/query-frequency-report.mjs.map +1 -0
- package/dist/actions/query-funnel.cjs +42 -0
- package/dist/actions/query-funnel.cjs.map +1 -0
- package/dist/actions/query-funnel.d.cts +9 -0
- package/dist/actions/query-funnel.d.cts.map +1 -0
- package/dist/actions/query-funnel.d.mts +9 -0
- package/dist/actions/query-funnel.d.mts.map +1 -0
- package/dist/actions/query-funnel.mjs +41 -0
- package/dist/actions/query-funnel.mjs.map +1 -0
- package/dist/actions/query-insight.cjs +29 -0
- package/dist/actions/query-insight.cjs.map +1 -0
- package/dist/actions/query-insight.d.cts +9 -0
- package/dist/actions/query-insight.d.cts.map +1 -0
- package/dist/actions/query-insight.d.mts +9 -0
- package/dist/actions/query-insight.d.mts.map +1 -0
- package/dist/actions/query-insight.mjs +28 -0
- package/dist/actions/query-insight.mjs.map +1 -0
- package/dist/actions/query-numeric-average.cjs +28 -0
- package/dist/actions/query-numeric-average.cjs.map +1 -0
- package/dist/actions/query-numeric-average.d.cts +9 -0
- package/dist/actions/query-numeric-average.d.cts.map +1 -0
- package/dist/actions/query-numeric-average.d.mts +9 -0
- package/dist/actions/query-numeric-average.d.mts.map +1 -0
- package/dist/actions/query-numeric-average.mjs +25 -0
- package/dist/actions/query-numeric-average.mjs.map +1 -0
- package/dist/actions/query-numeric-sum.cjs +29 -0
- package/dist/actions/query-numeric-sum.cjs.map +1 -0
- package/dist/actions/query-numeric-sum.d.cts +9 -0
- package/dist/actions/query-numeric-sum.d.cts.map +1 -0
- package/dist/actions/query-numeric-sum.d.mts +9 -0
- package/dist/actions/query-numeric-sum.d.mts.map +1 -0
- package/dist/actions/query-numeric-sum.mjs +26 -0
- package/dist/actions/query-numeric-sum.mjs.map +1 -0
- package/dist/actions/query-profiles.cjs +41 -0
- package/dist/actions/query-profiles.cjs.map +1 -0
- package/dist/actions/query-profiles.d.cts +9 -0
- package/dist/actions/query-profiles.d.cts.map +1 -0
- package/dist/actions/query-profiles.d.mts +9 -0
- package/dist/actions/query-profiles.d.mts.map +1 -0
- package/dist/actions/query-profiles.mjs +40 -0
- package/dist/actions/query-profiles.mjs.map +1 -0
- package/dist/actions/query-retention-report.cjs +35 -0
- package/dist/actions/query-retention-report.cjs.map +1 -0
- package/dist/actions/query-retention-report.d.cts +9 -0
- package/dist/actions/query-retention-report.d.cts.map +1 -0
- package/dist/actions/query-retention-report.d.mts +9 -0
- package/dist/actions/query-retention-report.d.mts.map +1 -0
- package/dist/actions/query-retention-report.mjs +32 -0
- package/dist/actions/query-retention-report.mjs.map +1 -0
- package/dist/actions/query-segmentation.cjs +43 -0
- package/dist/actions/query-segmentation.cjs.map +1 -0
- package/dist/actions/query-segmentation.d.cts +9 -0
- package/dist/actions/query-segmentation.d.cts.map +1 -0
- package/dist/actions/query-segmentation.d.mts +9 -0
- package/dist/actions/query-segmentation.d.mts.map +1 -0
- package/dist/actions/query-segmentation.mjs +42 -0
- package/dist/actions/query-segmentation.mjs.map +1 -0
- package/dist/actions/query-top-events.cjs +38 -0
- package/dist/actions/query-top-events.cjs.map +1 -0
- package/dist/actions/query-top-events.d.cts +9 -0
- package/dist/actions/query-top-events.d.cts.map +1 -0
- package/dist/actions/query-top-events.d.mts +9 -0
- package/dist/actions/query-top-events.d.mts.map +1 -0
- package/dist/actions/query-top-events.mjs +37 -0
- package/dist/actions/query-top-events.mjs.map +1 -0
- package/dist/actions/remove-from-group-list-property.cjs +25 -0
- package/dist/actions/remove-from-group-list-property.cjs.map +1 -0
- package/dist/actions/remove-from-group-list-property.d.cts +9 -0
- package/dist/actions/remove-from-group-list-property.d.cts.map +1 -0
- package/dist/actions/remove-from-group-list-property.d.mts +9 -0
- package/dist/actions/remove-from-group-list-property.d.mts.map +1 -0
- package/dist/actions/remove-from-group-list-property.mjs +22 -0
- package/dist/actions/remove-from-group-list-property.mjs.map +1 -0
- package/dist/actions/remove-from-list-property.cjs +26 -0
- package/dist/actions/remove-from-list-property.cjs.map +1 -0
- package/dist/actions/remove-from-list-property.d.cts +9 -0
- package/dist/actions/remove-from-list-property.d.cts.map +1 -0
- package/dist/actions/remove-from-list-property.d.mts +9 -0
- package/dist/actions/remove-from-list-property.d.mts.map +1 -0
- package/dist/actions/remove-from-list-property.mjs +23 -0
- package/dist/actions/remove-from-list-property.mjs.map +1 -0
- package/dist/actions/segmentation-numeric-query.cjs +39 -0
- package/dist/actions/segmentation-numeric-query.cjs.map +1 -0
- package/dist/actions/segmentation-numeric-query.d.cts +9 -0
- package/dist/actions/segmentation-numeric-query.d.cts.map +1 -0
- package/dist/actions/segmentation-numeric-query.d.mts +9 -0
- package/dist/actions/segmentation-numeric-query.d.mts.map +1 -0
- package/dist/actions/segmentation-numeric-query.mjs +36 -0
- package/dist/actions/segmentation-numeric-query.mjs.map +1 -0
- package/dist/actions/set-group-property-once.cjs +25 -0
- package/dist/actions/set-group-property-once.cjs.map +1 -0
- package/dist/actions/set-group-property-once.d.cts +9 -0
- package/dist/actions/set-group-property-once.d.cts.map +1 -0
- package/dist/actions/set-group-property-once.d.mts +9 -0
- package/dist/actions/set-group-property-once.d.mts.map +1 -0
- package/dist/actions/set-group-property-once.mjs +22 -0
- package/dist/actions/set-group-property-once.mjs.map +1 -0
- package/dist/actions/set-profile-property-once.cjs +26 -0
- package/dist/actions/set-profile-property-once.cjs.map +1 -0
- package/dist/actions/set-profile-property-once.d.cts +9 -0
- package/dist/actions/set-profile-property-once.d.cts.map +1 -0
- package/dist/actions/set-profile-property-once.d.mts +9 -0
- package/dist/actions/set-profile-property-once.d.mts.map +1 -0
- package/dist/actions/set-profile-property-once.mjs +23 -0
- package/dist/actions/set-profile-property-once.mjs.map +1 -0
- package/dist/actions/top-event-properties.cjs +21 -0
- package/dist/actions/top-event-properties.cjs.map +1 -0
- package/dist/actions/top-event-properties.d.cts +9 -0
- package/dist/actions/top-event-properties.d.cts.map +1 -0
- package/dist/actions/top-event-properties.d.mts +9 -0
- package/dist/actions/top-event-properties.d.mts.map +1 -0
- package/dist/actions/top-event-properties.mjs +18 -0
- package/dist/actions/top-event-properties.mjs.map +1 -0
- package/dist/actions/top-event-property-values.cjs +22 -0
- package/dist/actions/top-event-property-values.cjs.map +1 -0
- package/dist/actions/top-event-property-values.d.cts +9 -0
- package/dist/actions/top-event-property-values.d.cts.map +1 -0
- package/dist/actions/top-event-property-values.d.mts +9 -0
- package/dist/actions/top-event-property-values.d.mts.map +1 -0
- package/dist/actions/top-event-property-values.mjs +19 -0
- package/dist/actions/top-event-property-values.mjs.map +1 -0
- package/dist/actions/top-events.cjs +25 -0
- package/dist/actions/top-events.cjs.map +1 -0
- package/dist/actions/top-events.d.cts +9 -0
- package/dist/actions/top-events.d.cts.map +1 -0
- package/dist/actions/top-events.d.mts +9 -0
- package/dist/actions/top-events.d.mts.map +1 -0
- package/dist/actions/top-events.mjs +22 -0
- package/dist/actions/top-events.mjs.map +1 -0
- package/dist/actions/update-group-list-property.cjs +29 -0
- package/dist/actions/update-group-list-property.cjs.map +1 -0
- package/dist/actions/update-group-list-property.d.cts +9 -0
- package/dist/actions/update-group-list-property.d.cts.map +1 -0
- package/dist/actions/update-group-list-property.d.mts +9 -0
- package/dist/actions/update-group-list-property.d.mts.map +1 -0
- package/dist/actions/update-group-list-property.mjs +26 -0
- package/dist/actions/update-group-list-property.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +92 -0
- package/dist/index.d.cts +46 -0
- package/dist/index.d.mts +46 -0
- package/dist/index.mjs +47 -0
- package/package.json +49 -0
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/query-segmentation.ts
|
|
4
|
+
const MixpanelQuerySegmentationInput = z.object({
|
|
5
|
+
on: z.string().describe("The property expression to segment the event on Properties unset for many events produce 'undefined' segment buckets; interpret as missing instrumentation, not zero traffic.").optional(),
|
|
6
|
+
type: z.enum([
|
|
7
|
+
"general",
|
|
8
|
+
"unique",
|
|
9
|
+
"average"
|
|
10
|
+
]).default("general").describe("Analysis types for Mixpanel event aggregation.").optional(),
|
|
11
|
+
unit: z.enum([
|
|
12
|
+
"minute",
|
|
13
|
+
"hour",
|
|
14
|
+
"day",
|
|
15
|
+
"month"
|
|
16
|
+
]).default("day").describe("Time units for segmentation queries.").optional(),
|
|
17
|
+
event: z.string().describe("The event to get data for (single event name)"),
|
|
18
|
+
limit: z.number().int().default(60).describe("Return the top N property values (max 10000)").optional(),
|
|
19
|
+
where: z.string().describe("An expression to filter events by").optional(),
|
|
20
|
+
to_date: z.string().describe("The date in yyyy-mm-dd format to query to (inclusive)"),
|
|
21
|
+
from_date: z.string().describe("The date in yyyy-mm-dd format to begin querying from (inclusive) Use project timezone to avoid off-by-one-day range errors; reversed or overly narrow ranges yield empty results."),
|
|
22
|
+
project_id: z.number().int().describe("Required if using service account to authenticate request Region mismatch between the Mixpanel connection and the project's cluster returns 'invalid project id for cluster'; verify region before querying."),
|
|
23
|
+
workspace_id: z.number().int().describe("The id of the workspace if applicable").optional()
|
|
24
|
+
}).describe("Request model for querying segmentation data");
|
|
25
|
+
const MixpanelQuerySegmentation_SegmentationDataSchema = z.object({
|
|
26
|
+
series: z.array(z.string()).describe("All dates we have data for in the response"),
|
|
27
|
+
values: z.object({}).describe("A mapping of event names to date-value pairs, where each date maps to the number of specified events that took place")
|
|
28
|
+
}).describe("Container for segmentation query results");
|
|
29
|
+
const mixpanelQuerySegmentation = action("MIXPANEL_QUERY_SEGMENTATION", {
|
|
30
|
+
slug: "mixpanel-query-segmentation",
|
|
31
|
+
name: "Query Segmentation Report",
|
|
32
|
+
description: "Get data for an event, segmented and filtered by properties with daily/time-series breakdown. Use the 'unit' parameter to control time bucketing ('minute', 'hour', 'day', 'month'). The Query API has a rate limit of 60 queries per hour and 5 concurrent queries, shared across related tools (e.g., MIXPANEL_JQL_QUERY, MIXPANEL_TOP_EVENT_PROPERTY_VALUES); bursts of concurrent calls return 429.",
|
|
33
|
+
input: MixpanelQuerySegmentationInput,
|
|
34
|
+
output: z.object({
|
|
35
|
+
data: MixpanelQuerySegmentation_SegmentationDataSchema.nullable(),
|
|
36
|
+
legend_size: z.number().int().describe("Count of all events in the values object")
|
|
37
|
+
}).describe("Response model for segmentation query data")
|
|
38
|
+
});
|
|
39
|
+
//#endregion
|
|
40
|
+
export { mixpanelQuerySegmentation };
|
|
41
|
+
|
|
42
|
+
//# sourceMappingURL=query-segmentation.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"query-segmentation.mjs","names":[],"sources":["../../src/actions/query-segmentation.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelQuerySegmentationInput: z.ZodTypeAny = z.object({\n on: z.string().describe(\"The property expression to segment the event on Properties unset for many events produce 'undefined' segment buckets; interpret as missing instrumentation, not zero traffic.\").optional(),\n type: z.enum([\"general\", \"unique\", \"average\"]).default(\"general\").describe(\"Analysis types for Mixpanel event aggregation.\").optional(),\n unit: z.enum([\"minute\", \"hour\", \"day\", \"month\"]).default(\"day\").describe(\"Time units for segmentation queries.\").optional(),\n event: z.string().describe(\"The event to get data for (single event name)\"),\n limit: z.number().int().default(60).describe(\"Return the top N property values (max 10000)\").optional(),\n where: z.string().describe(\"An expression to filter events by\").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) Use project timezone to avoid off-by-one-day range errors; reversed or overly narrow ranges yield empty results.\"),\n project_id: z.number().int().describe(\"Required if using service account to authenticate request Region mismatch between the Mixpanel connection and the project's cluster returns 'invalid project id for cluster'; verify region before querying.\"),\n workspace_id: z.number().int().describe(\"The id of the workspace if applicable\").optional(),\n}).describe(\"Request model for querying segmentation data\");\nconst MixpanelQuerySegmentation_SegmentationDataSchema: z.ZodTypeAny = z.object({\n series: z.array(z.string()).describe(\"All dates we have data for in the response\"),\n values: z.object({}).describe(\"A mapping of event names to date-value pairs, where each date maps to the number of specified events that took place\"),\n}).describe(\"Container for segmentation query results\");\nexport const MixpanelQuerySegmentationOutput: z.ZodTypeAny = z.object({\n data: MixpanelQuerySegmentation_SegmentationDataSchema.nullable(),\n legend_size: z.number().int().describe(\"Count of all events in the values object\"),\n}).describe(\"Response model for segmentation query data\");\n\nexport const mixpanelQuerySegmentation = action(\"MIXPANEL_QUERY_SEGMENTATION\", {\n slug: \"mixpanel-query-segmentation\",\n name: \"Query Segmentation Report\",\n description: \"Get data for an event, segmented and filtered by properties with daily/time-series breakdown. Use the 'unit' parameter to control time bucketing ('minute', 'hour', 'day', 'month'). The Query API has a rate limit of 60 queries per hour and 5 concurrent queries, shared across related tools (e.g., MIXPANEL_JQL_QUERY, MIXPANEL_TOP_EVENT_PROPERTY_VALUES); bursts of concurrent calls return 429.\",\n input: MixpanelQuerySegmentationInput,\n output: MixpanelQuerySegmentationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+C,EAAE,OAAO;CACnE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+KAA+K,CAAC,CAAC,SAAS;CAClN,MAAM,EAAE,KAAK;EAAC;EAAW;EAAU;CAAS,CAAC,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACtI,MAAM,EAAE,KAAK;EAAC;EAAU;EAAQ;EAAO;CAAO,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC1H,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CAC1E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACtG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACpF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mLAAmL;CAClN,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8MAA8M;CACpP,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,mDAAiE,EAAE,OAAO;CAC9E,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C;CACjF,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,sHAAsH;AACtJ,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAMtD,MAAa,4BAA4B,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV2D,EAAE,OAAO;EACpE,MAAM,iDAAiD,SAAS;EAChE,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C;CACnF,CAAC,CAAC,CAAC,SAAS,4CAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/query-top-events.ts
|
|
4
|
+
const MixpanelQueryTopEventsInput = zod.z.object({
|
|
5
|
+
type: zod.z.enum([
|
|
6
|
+
"general",
|
|
7
|
+
"unique",
|
|
8
|
+
"average"
|
|
9
|
+
]).describe("The analysis type - general, unique, or average"),
|
|
10
|
+
limit: zod.z.number().int().default(100).describe("Maximum number of events to return").optional(),
|
|
11
|
+
project_id: zod.z.number().int().describe("The project identifier. Required if using service account to authenticate request"),
|
|
12
|
+
workspace_id: zod.z.number().int().describe("The workspace identifier if applicable").optional()
|
|
13
|
+
}).describe("Request model for querying top events");
|
|
14
|
+
const MixpanelQueryTopEvents_AnalysisTypeSchema = zod.z.enum([
|
|
15
|
+
"general",
|
|
16
|
+
"unique",
|
|
17
|
+
"average"
|
|
18
|
+
]).describe("Analysis types for Mixpanel event aggregation.");
|
|
19
|
+
const MixpanelQueryTopEvents_EventItemSchema = zod.z.object({
|
|
20
|
+
event: zod.z.string().describe("The name of the event"),
|
|
21
|
+
amount: zod.z.number().describe("Number of events (integer for general/unique types, float for average type)"),
|
|
22
|
+
percent_change: zod.z.number().describe("The percent change from yesterday")
|
|
23
|
+
}).describe("Model for individual event in the response");
|
|
24
|
+
const MixpanelQueryTopEventsOutput = zod.z.object({
|
|
25
|
+
type: MixpanelQueryTopEvents_AnalysisTypeSchema.nullable(),
|
|
26
|
+
events: zod.z.array(MixpanelQueryTopEvents_EventItemSchema).describe("List of top events with their statistics")
|
|
27
|
+
}).describe("Response model for top events query");
|
|
28
|
+
const mixpanelQueryTopEvents = require_action.action("MIXPANEL_QUERY_TOP_EVENTS", {
|
|
29
|
+
slug: "mixpanel-query-top-events",
|
|
30
|
+
name: "Query Top Events",
|
|
31
|
+
description: "Get the top events for today, with their counts and the normalized percent change from yesterday. Use when you need to analyze today's event performance compared to yesterday.",
|
|
32
|
+
input: MixpanelQueryTopEventsInput,
|
|
33
|
+
output: MixpanelQueryTopEventsOutput
|
|
34
|
+
});
|
|
35
|
+
//#endregion
|
|
36
|
+
exports.mixpanelQueryTopEvents = mixpanelQueryTopEvents;
|
|
37
|
+
|
|
38
|
+
//# sourceMappingURL=query-top-events.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"query-top-events.cjs","names":["z","action"],"sources":["../../src/actions/query-top-events.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelQueryTopEventsInput: z.ZodTypeAny = z.object({\n type: z.enum([\"general\", \"unique\", \"average\"]).describe(\"The analysis type - general, unique, or average\"),\n limit: z.number().int().default(100).describe(\"Maximum number of events to return\").optional(),\n project_id: z.number().int().describe(\"The project identifier. Required if using service account to authenticate request\"),\n workspace_id: z.number().int().describe(\"The workspace identifier if applicable\").optional(),\n}).describe(\"Request model for querying top events\");\nconst MixpanelQueryTopEvents_AnalysisTypeSchema: z.ZodTypeAny = z.enum([\"general\", \"unique\", \"average\"]).describe(\"Analysis types for Mixpanel event aggregation.\");\nconst MixpanelQueryTopEvents_EventItemSchema: z.ZodTypeAny = z.object({\n event: z.string().describe(\"The name of the event\"),\n amount: z.number().describe(\"Number of events (integer for general/unique types, float for average type)\"),\n percent_change: z.number().describe(\"The percent change from yesterday\"),\n}).describe(\"Model for individual event in the response\");\nexport const MixpanelQueryTopEventsOutput: z.ZodTypeAny = z.object({\n type: MixpanelQueryTopEvents_AnalysisTypeSchema.nullable(),\n events: z.array(MixpanelQueryTopEvents_EventItemSchema).describe(\"List of top events with their statistics\"),\n}).describe(\"Response model for top events query\");\n\nexport const mixpanelQueryTopEvents = action(\"MIXPANEL_QUERY_TOP_EVENTS\", {\n slug: \"mixpanel-query-top-events\",\n name: \"Query Top Events\",\n description: \"Get the top events for today, with their counts and the normalized percent change from yesterday. Use when you need to analyze today's event performance compared to yesterday.\",\n input: MixpanelQueryTopEventsInput,\n output: MixpanelQueryTopEventsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAU;CAAS,CAAC,CAAC,CAAC,SAAS,iDAAiD;CACzG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC7F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF;CACzH,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,4CAA0DA,IAAAA,EAAE,KAAK;CAAC;CAAW;CAAU;AAAS,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAClK,MAAM,yCAAuDA,IAAAA,EAAE,OAAO;CACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CAClD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E;CACzG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;AACzE,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,MAAM,0CAA0C,SAAS;CACzD,QAAQA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,0CAA0C;AAC7G,CAAC,CAAC,CAAC,SAAS,qCAAqC;AAEjD,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/query-top-events.d.ts
|
|
4
|
+
declare const MixpanelQueryTopEventsInput: z.ZodTypeAny;
|
|
5
|
+
declare const MixpanelQueryTopEventsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const mixpanelQueryTopEvents: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { mixpanelQueryTopEvents };
|
|
9
|
+
//# sourceMappingURL=query-top-events.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"query-top-events.d.cts","names":[],"sources":["../../src/actions/query-top-events.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAKQ;AAAA,cAOvC,4BAAA,EAA8B,CAAA,CAAE,UAGK;AAAA,cAErC,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/query-top-events.d.ts
|
|
4
|
+
declare const MixpanelQueryTopEventsInput: z.ZodTypeAny;
|
|
5
|
+
declare const MixpanelQueryTopEventsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const mixpanelQueryTopEvents: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { mixpanelQueryTopEvents };
|
|
9
|
+
//# sourceMappingURL=query-top-events.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"query-top-events.d.mts","names":[],"sources":["../../src/actions/query-top-events.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAKQ;AAAA,cAOvC,4BAAA,EAA8B,CAAA,CAAE,UAGK;AAAA,cAErC,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/query-top-events.ts
|
|
4
|
+
const MixpanelQueryTopEventsInput = z.object({
|
|
5
|
+
type: z.enum([
|
|
6
|
+
"general",
|
|
7
|
+
"unique",
|
|
8
|
+
"average"
|
|
9
|
+
]).describe("The analysis type - general, unique, or average"),
|
|
10
|
+
limit: z.number().int().default(100).describe("Maximum number of events to return").optional(),
|
|
11
|
+
project_id: z.number().int().describe("The project identifier. Required if using service account to authenticate request"),
|
|
12
|
+
workspace_id: z.number().int().describe("The workspace identifier if applicable").optional()
|
|
13
|
+
}).describe("Request model for querying top events");
|
|
14
|
+
const MixpanelQueryTopEvents_AnalysisTypeSchema = z.enum([
|
|
15
|
+
"general",
|
|
16
|
+
"unique",
|
|
17
|
+
"average"
|
|
18
|
+
]).describe("Analysis types for Mixpanel event aggregation.");
|
|
19
|
+
const MixpanelQueryTopEvents_EventItemSchema = z.object({
|
|
20
|
+
event: z.string().describe("The name of the event"),
|
|
21
|
+
amount: z.number().describe("Number of events (integer for general/unique types, float for average type)"),
|
|
22
|
+
percent_change: z.number().describe("The percent change from yesterday")
|
|
23
|
+
}).describe("Model for individual event in the response");
|
|
24
|
+
const mixpanelQueryTopEvents = action("MIXPANEL_QUERY_TOP_EVENTS", {
|
|
25
|
+
slug: "mixpanel-query-top-events",
|
|
26
|
+
name: "Query Top Events",
|
|
27
|
+
description: "Get the top events for today, with their counts and the normalized percent change from yesterday. Use when you need to analyze today's event performance compared to yesterday.",
|
|
28
|
+
input: MixpanelQueryTopEventsInput,
|
|
29
|
+
output: z.object({
|
|
30
|
+
type: MixpanelQueryTopEvents_AnalysisTypeSchema.nullable(),
|
|
31
|
+
events: z.array(MixpanelQueryTopEvents_EventItemSchema).describe("List of top events with their statistics")
|
|
32
|
+
}).describe("Response model for top events query")
|
|
33
|
+
});
|
|
34
|
+
//#endregion
|
|
35
|
+
export { mixpanelQueryTopEvents };
|
|
36
|
+
|
|
37
|
+
//# sourceMappingURL=query-top-events.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"query-top-events.mjs","names":[],"sources":["../../src/actions/query-top-events.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelQueryTopEventsInput: z.ZodTypeAny = z.object({\n type: z.enum([\"general\", \"unique\", \"average\"]).describe(\"The analysis type - general, unique, or average\"),\n limit: z.number().int().default(100).describe(\"Maximum number of events to return\").optional(),\n project_id: z.number().int().describe(\"The project identifier. Required if using service account to authenticate request\"),\n workspace_id: z.number().int().describe(\"The workspace identifier if applicable\").optional(),\n}).describe(\"Request model for querying top events\");\nconst MixpanelQueryTopEvents_AnalysisTypeSchema: z.ZodTypeAny = z.enum([\"general\", \"unique\", \"average\"]).describe(\"Analysis types for Mixpanel event aggregation.\");\nconst MixpanelQueryTopEvents_EventItemSchema: z.ZodTypeAny = z.object({\n event: z.string().describe(\"The name of the event\"),\n amount: z.number().describe(\"Number of events (integer for general/unique types, float for average type)\"),\n percent_change: z.number().describe(\"The percent change from yesterday\"),\n}).describe(\"Model for individual event in the response\");\nexport const MixpanelQueryTopEventsOutput: z.ZodTypeAny = z.object({\n type: MixpanelQueryTopEvents_AnalysisTypeSchema.nullable(),\n events: z.array(MixpanelQueryTopEvents_EventItemSchema).describe(\"List of top events with their statistics\"),\n}).describe(\"Response model for top events query\");\n\nexport const mixpanelQueryTopEvents = action(\"MIXPANEL_QUERY_TOP_EVENTS\", {\n slug: \"mixpanel-query-top-events\",\n name: \"Query Top Events\",\n description: \"Get the top events for today, with their counts and the normalized percent change from yesterday. Use when you need to analyze today's event performance compared to yesterday.\",\n input: MixpanelQueryTopEventsInput,\n output: MixpanelQueryTopEventsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4C,EAAE,OAAO;CAChE,MAAM,EAAE,KAAK;EAAC;EAAW;EAAU;CAAS,CAAC,CAAC,CAAC,SAAS,iDAAiD;CACzG,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF;CACzH,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,4CAA0D,EAAE,KAAK;CAAC;CAAW;CAAU;AAAS,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAClK,MAAM,yCAAuD,EAAE,OAAO;CACpE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CAClD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E;CACzG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;AACzE,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAMxD,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVwD,EAAE,OAAO;EACjE,MAAM,0CAA0C,SAAS;EACzD,QAAQ,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,0CAA0C;CAC7G,CAAC,CAAC,CAAC,SAAS,qCAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/remove-from-group-list-property.ts
|
|
4
|
+
const MixpanelRemoveFromGroupListPropertyInput = zod.z.object({ data: zod.z.array(zod.z.object({
|
|
5
|
+
token: zod.z.string().describe("Your Mixpanel project authentication token"),
|
|
6
|
+
remove: zod.z.record(zod.z.string(), zod.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."),
|
|
7
|
+
group_id: zod.z.string().describe("The unique identifier for the group"),
|
|
8
|
+
group_key: zod.z.string().describe("The group category/type (e.g., 'Company', 'Organization')")
|
|
9
|
+
}).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.");
|
|
10
|
+
const MixpanelRemoveFromGroupListPropertyOutput = zod.z.object({
|
|
11
|
+
code: zod.z.number().int().describe("HTTP status code (200 for success)").nullable().optional(),
|
|
12
|
+
error: zod.z.string().describe("Error message if the request failed, null if successful.").nullable().optional(),
|
|
13
|
+
status: zod.z.union([zod.z.string(), zod.z.number().int()])
|
|
14
|
+
}).describe("Response model for group remove operation.");
|
|
15
|
+
const mixpanelRemoveFromGroupListProperty = require_action.action("MIXPANEL_REMOVE_FROM_GROUP_LIST_PROPERTY", {
|
|
16
|
+
slug: "mixpanel-remove-from-group-list-property",
|
|
17
|
+
name: "Remove from Group List Property",
|
|
18
|
+
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.",
|
|
19
|
+
input: MixpanelRemoveFromGroupListPropertyInput,
|
|
20
|
+
output: MixpanelRemoveFromGroupListPropertyOutput
|
|
21
|
+
});
|
|
22
|
+
//#endregion
|
|
23
|
+
exports.mixpanelRemoveFromGroupListProperty = mixpanelRemoveFromGroupListProperty;
|
|
24
|
+
|
|
25
|
+
//# sourceMappingURL=remove-from-group-list-property.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"remove-from-group-list-property.cjs","names":["z","action"],"sources":["../../src/actions/remove-from-group-list-property.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelRemoveFromGroupListPropertyInput: z.ZodTypeAny = 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.ZodTypeAny = 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":";;;AAIA,MAAa,2CAAyDA,IAAAA,EAAE,OAAO,EAC7E,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;CACvB,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACvE,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4MAA4M;CAC/P,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CACnE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;AAC5F,CAAC,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,CAAC,SAAS,yHAAyH,EAC5N,CAAC,CAAC,CAAC,SAAS,2EAA2E;AACvF,MAAa,4CAA0DA,IAAAA,EAAE,OAAO;CAC9E,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,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,4CAA4C;AAExD,MAAa,sCAAsCC,eAAAA,OAAO,4CAA4C;CACpG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/remove-from-group-list-property.d.ts
|
|
4
|
+
declare const MixpanelRemoveFromGroupListPropertyInput: z.ZodTypeAny;
|
|
5
|
+
declare const MixpanelRemoveFromGroupListPropertyOutput: z.ZodTypeAny;
|
|
6
|
+
declare const mixpanelRemoveFromGroupListProperty: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { mixpanelRemoveFromGroupListProperty };
|
|
9
|
+
//# sourceMappingURL=remove-from-group-list-property.d.cts.map
|
|
@@ -0,0 +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,EAA0C,CAAA,CAAE,UAO+B;AAAA,cAC3E,yCAAA,EAA2C,CAAA,CAAE,UAID;AAAA,cAE5C,mCAAA,gCAAmC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/remove-from-group-list-property.d.ts
|
|
4
|
+
declare const MixpanelRemoveFromGroupListPropertyInput: z.ZodTypeAny;
|
|
5
|
+
declare const MixpanelRemoveFromGroupListPropertyOutput: z.ZodTypeAny;
|
|
6
|
+
declare const mixpanelRemoveFromGroupListProperty: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { mixpanelRemoveFromGroupListProperty };
|
|
9
|
+
//# sourceMappingURL=remove-from-group-list-property.d.mts.map
|
|
@@ -0,0 +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,EAA0C,CAAA,CAAE,UAO+B;AAAA,cAC3E,yCAAA,EAA2C,CAAA,CAAE,UAID;AAAA,cAE5C,mCAAA,gCAAmC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const mixpanelRemoveFromGroupListProperty = action("MIXPANEL_REMOVE_FROM_GROUP_LIST_PROPERTY", {
|
|
4
|
+
slug: "mixpanel-remove-from-group-list-property",
|
|
5
|
+
name: "Remove from Group List Property",
|
|
6
|
+
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.",
|
|
7
|
+
input: z.object({ data: z.array(z.object({
|
|
8
|
+
token: z.string().describe("Your Mixpanel project authentication token"),
|
|
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
|
+
group_id: z.string().describe("The unique identifier for the group"),
|
|
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."),
|
|
13
|
+
output: z.object({
|
|
14
|
+
code: z.number().int().describe("HTTP status code (200 for success)").nullable().optional(),
|
|
15
|
+
error: z.string().describe("Error message if the request failed, null if successful.").nullable().optional(),
|
|
16
|
+
status: z.union([z.string(), z.number().int()])
|
|
17
|
+
}).describe("Response model for group remove operation.")
|
|
18
|
+
});
|
|
19
|
+
//#endregion
|
|
20
|
+
export { mixpanelRemoveFromGroupListProperty };
|
|
21
|
+
|
|
22
|
+
//# sourceMappingURL=remove-from-group-list-property.mjs.map
|
|
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = 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,OAlBoE,EAAE,OAAO,EAC7E,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,QAXqE,EAAE,OAAO;EAC9E,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"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/remove-from-list-property.ts
|
|
4
|
+
const MixpanelRemoveFromListPropertyInput = zod.z.object({
|
|
5
|
+
ip: zod.z.string().describe("IP address for geolocation enrichment. Set to '0' to prevent updating geolocation data. If not provided, Mixpanel uses the request IP. Geolocation properties ($city, $region, mp_country_code) are derived and the IP is discarded.").optional(),
|
|
6
|
+
time: zod.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(),
|
|
7
|
+
token: zod.z.string().describe("Your Mixpanel project authentication token. Required for authenticating the request."),
|
|
8
|
+
distinct_id: zod.z.string().describe("The unique identifier for the user profile to update. This determines which profile will be modified."),
|
|
9
|
+
ignore_time: zod.z.boolean().describe("If true, prevents Mixpanel from automatically updating the 'Last Seen' property. Defaults to false.").optional(),
|
|
10
|
+
remove_properties: zod.z.record(zod.z.string(), zod.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.")
|
|
11
|
+
}).describe("Request model for removing values from list properties on user profiles.");
|
|
12
|
+
const MixpanelRemoveFromListPropertyOutput = zod.z.object({
|
|
13
|
+
error: zod.z.string().describe("Error message if the request failed, null if successful.").nullable().optional(),
|
|
14
|
+
status: zod.z.union([zod.z.string(), zod.z.number().int()])
|
|
15
|
+
}).describe("Response model for remove from list property operation.");
|
|
16
|
+
const mixpanelRemoveFromListProperty = require_action.action("MIXPANEL_REMOVE_FROM_LIST_PROPERTY", {
|
|
17
|
+
slug: "mixpanel-remove-from-list-property",
|
|
18
|
+
name: "Remove from Profile List Property",
|
|
19
|
+
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.",
|
|
20
|
+
input: MixpanelRemoveFromListPropertyInput,
|
|
21
|
+
output: MixpanelRemoveFromListPropertyOutput
|
|
22
|
+
});
|
|
23
|
+
//#endregion
|
|
24
|
+
exports.mixpanelRemoveFromListProperty = mixpanelRemoveFromListProperty;
|
|
25
|
+
|
|
26
|
+
//# sourceMappingURL=remove-from-list-property.cjs.map
|
|
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = z.object({\n error: z.string().describe(\"Error message if the request failed, null if successful.\").nullable().optional(),\n status: z.union([z.string(), z.number().int()]),\n}).describe(\"Response model for 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,sCAAoDA,IAAAA,EAAE,OAAO;CACxE,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,uCAAqDA,IAAAA,EAAE,OAAO;CACzE,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"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/remove-from-list-property.d.ts
|
|
4
|
+
declare const MixpanelRemoveFromListPropertyInput: z.ZodTypeAny;
|
|
5
|
+
declare const MixpanelRemoveFromListPropertyOutput: z.ZodTypeAny;
|
|
6
|
+
declare const mixpanelRemoveFromListProperty: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { mixpanelRemoveFromListProperty };
|
|
9
|
+
//# sourceMappingURL=remove-from-list-property.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"remove-from-list-property.d.cts","names":[],"sources":["../../src/actions/remove-from-list-property.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAOmC;AAAA,cAC1E,oCAAA,EAAsC,CAAA,CAAE,UAGiB;AAAA,cAEzD,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/remove-from-list-property.d.ts
|
|
4
|
+
declare const MixpanelRemoveFromListPropertyInput: z.ZodTypeAny;
|
|
5
|
+
declare const MixpanelRemoveFromListPropertyOutput: z.ZodTypeAny;
|
|
6
|
+
declare const mixpanelRemoveFromListProperty: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { mixpanelRemoveFromListProperty };
|
|
9
|
+
//# sourceMappingURL=remove-from-list-property.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"remove-from-list-property.d.mts","names":[],"sources":["../../src/actions/remove-from-list-property.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAOmC;AAAA,cAC1E,oCAAA,EAAsC,CAAA,CAAE,UAGiB;AAAA,cAEzD,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const mixpanelRemoveFromListProperty = action("MIXPANEL_REMOVE_FROM_LIST_PROPERTY", {
|
|
4
|
+
slug: "mixpanel-remove-from-list-property",
|
|
5
|
+
name: "Remove from Profile List Property",
|
|
6
|
+
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.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
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(),
|
|
9
|
+
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(),
|
|
10
|
+
token: z.string().describe("Your Mixpanel project authentication token. Required for authenticating the request."),
|
|
11
|
+
distinct_id: z.string().describe("The unique identifier for the user profile to update. This determines which profile will be modified."),
|
|
12
|
+
ignore_time: z.boolean().describe("If true, prevents Mixpanel from automatically updating the 'Last Seen' property. Defaults to false.").optional(),
|
|
13
|
+
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.")
|
|
14
|
+
}).describe("Request model for removing values from list properties on user profiles."),
|
|
15
|
+
output: z.object({
|
|
16
|
+
error: z.string().describe("Error message if the request failed, null if successful.").nullable().optional(),
|
|
17
|
+
status: z.union([z.string(), z.number().int()])
|
|
18
|
+
}).describe("Response model for remove from list property operation.")
|
|
19
|
+
});
|
|
20
|
+
//#endregion
|
|
21
|
+
export { mixpanelRemoveFromListProperty };
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=remove-from-list-property.mjs.map
|
|
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = z.object({\n error: z.string().describe(\"Error message if the request failed, null if successful.\").nullable().optional(),\n status: z.union([z.string(), z.number().int()]),\n}).describe(\"Response model for 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,OAjB+D,EAAE,OAAO;EACxE,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,QAVgE,EAAE,OAAO;EACzE,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"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/segmentation-numeric-query.ts
|
|
4
|
+
const MixpanelSegmentationNumericQueryInput = zod.z.object({
|
|
5
|
+
on: zod.z.string().describe("The numeric property expression to bucket by. Use format like 'number(property_name)' or numeric expressions"),
|
|
6
|
+
type: zod.z.enum([
|
|
7
|
+
"general",
|
|
8
|
+
"unique",
|
|
9
|
+
"average"
|
|
10
|
+
]).default("general").describe("Analysis types for Mixpanel event aggregation.").optional(),
|
|
11
|
+
unit: zod.z.enum([
|
|
12
|
+
"hour",
|
|
13
|
+
"day",
|
|
14
|
+
"week",
|
|
15
|
+
"month"
|
|
16
|
+
]).describe("Longer time units for certain analytics.").optional(),
|
|
17
|
+
event: zod.z.string().describe("The event name to get data for"),
|
|
18
|
+
where: zod.z.string().describe("An expression to filter events by (e.g., 'properties[\"country\"] == \"US\"')").optional(),
|
|
19
|
+
to_date: zod.z.string().describe("The date in yyyy-mm-dd format to query to (inclusive)"),
|
|
20
|
+
from_date: zod.z.string().describe("The date in yyyy-mm-dd format to begin querying from (inclusive)"),
|
|
21
|
+
project_id: zod.z.number().int().describe("Required if using service account to authenticate request"),
|
|
22
|
+
bucket_size: zod.z.number().int().describe("Size of numeric buckets for grouping values. If not specified, Mixpanel will automatically determine bucket size").optional(),
|
|
23
|
+
workspace_id: zod.z.number().int().describe("The id of the workspace if applicable").optional()
|
|
24
|
+
}).describe("Request model for numeric bucketing segmentation query");
|
|
25
|
+
const MixpanelSegmentationNumericQueryOutput = zod.z.object({
|
|
26
|
+
data: zod.z.object({}).describe("Contains bucketed numeric results with segmentation data including series and values"),
|
|
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");
|
|
29
|
+
const mixpanelSegmentationNumericQuery = require_action.action("MIXPANEL_SEGMENTATION_NUMERIC_QUERY", {
|
|
30
|
+
slug: "mixpanel-segmentation-numeric-query",
|
|
31
|
+
name: "Numeric Bucket Segmentation Query",
|
|
32
|
+
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.",
|
|
33
|
+
input: MixpanelSegmentationNumericQueryInput,
|
|
34
|
+
output: MixpanelSegmentationNumericQueryOutput
|
|
35
|
+
});
|
|
36
|
+
//#endregion
|
|
37
|
+
exports.mixpanelSegmentationNumericQuery = mixpanelSegmentationNumericQuery;
|
|
38
|
+
|
|
39
|
+
//# sourceMappingURL=segmentation-numeric-query.cjs.map
|
|
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = 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,wCAAsDA,IAAAA,EAAE,OAAO;CAC1E,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,yCAAuDA,IAAAA,EAAE,OAAO;CAC3E,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"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/segmentation-numeric-query.d.ts
|
|
4
|
+
declare const MixpanelSegmentationNumericQueryInput: z.ZodTypeAny;
|
|
5
|
+
declare const MixpanelSegmentationNumericQueryOutput: z.ZodTypeAny;
|
|
6
|
+
declare const mixpanelSegmentationNumericQuery: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { mixpanelSegmentationNumericQuery };
|
|
9
|
+
//# sourceMappingURL=segmentation-numeric-query.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"segmentation-numeric-query.d.cts","names":[],"sources":["../../src/actions/segmentation-numeric-query.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAWe;AAAA,cACxD,sCAAA,EAAwC,CAAA,CAAE,UAGe;AAAA,cAEzD,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/segmentation-numeric-query.d.ts
|
|
4
|
+
declare const MixpanelSegmentationNumericQueryInput: z.ZodTypeAny;
|
|
5
|
+
declare const MixpanelSegmentationNumericQueryOutput: z.ZodTypeAny;
|
|
6
|
+
declare const mixpanelSegmentationNumericQuery: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { mixpanelSegmentationNumericQuery };
|
|
9
|
+
//# sourceMappingURL=segmentation-numeric-query.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"segmentation-numeric-query.d.mts","names":[],"sources":["../../src/actions/segmentation-numeric-query.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAWe;AAAA,cACxD,sCAAA,EAAwC,CAAA,CAAE,UAGe;AAAA,cAEzD,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const mixpanelSegmentationNumericQuery = action("MIXPANEL_SEGMENTATION_NUMERIC_QUERY", {
|
|
4
|
+
slug: "mixpanel-segmentation-numeric-query",
|
|
5
|
+
name: "Numeric Bucket Segmentation Query",
|
|
6
|
+
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.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
on: z.string().describe("The numeric property expression to bucket by. Use format like 'number(property_name)' or numeric expressions"),
|
|
9
|
+
type: z.enum([
|
|
10
|
+
"general",
|
|
11
|
+
"unique",
|
|
12
|
+
"average"
|
|
13
|
+
]).default("general").describe("Analysis types for Mixpanel event aggregation.").optional(),
|
|
14
|
+
unit: z.enum([
|
|
15
|
+
"hour",
|
|
16
|
+
"day",
|
|
17
|
+
"week",
|
|
18
|
+
"month"
|
|
19
|
+
]).describe("Longer time units for certain analytics.").optional(),
|
|
20
|
+
event: z.string().describe("The event name to get data for"),
|
|
21
|
+
where: z.string().describe("An expression to filter events by (e.g., 'properties[\"country\"] == \"US\"')").optional(),
|
|
22
|
+
to_date: z.string().describe("The date in yyyy-mm-dd format to query to (inclusive)"),
|
|
23
|
+
from_date: z.string().describe("The date in yyyy-mm-dd format to begin querying from (inclusive)"),
|
|
24
|
+
project_id: z.number().int().describe("Required if using service account to authenticate request"),
|
|
25
|
+
bucket_size: z.number().int().describe("Size of numeric buckets for grouping values. If not specified, Mixpanel will automatically determine bucket size").optional(),
|
|
26
|
+
workspace_id: z.number().int().describe("The id of the workspace if applicable").optional()
|
|
27
|
+
}).describe("Request model for numeric bucketing segmentation query"),
|
|
28
|
+
output: z.object({
|
|
29
|
+
data: z.object({}).describe("Contains bucketed numeric results with segmentation data including series and values"),
|
|
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")
|
|
32
|
+
});
|
|
33
|
+
//#endregion
|
|
34
|
+
export { mixpanelSegmentationNumericQuery };
|
|
35
|
+
|
|
36
|
+
//# sourceMappingURL=segmentation-numeric-query.mjs.map
|
|
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = 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,OArBiE,EAAE,OAAO;EAC1E,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,QAVkE,EAAE,OAAO;EAC3E,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"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/set-group-property-once.ts
|
|
4
|
+
const MixpanelSetGroupPropertyOnceInput = zod.z.object({
|
|
5
|
+
token: zod.z.string().describe("Project authentication token for Mixpanel API authentication"),
|
|
6
|
+
group_id: zod.z.string().describe("Unique identifier for the specific group instance"),
|
|
7
|
+
group_key: zod.z.string().describe("Group type identifier (e.g., 'Company', 'Organization', 'Team'). This defines the category of the group."),
|
|
8
|
+
properties: zod.z.record(zod.z.string(), zod.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.")
|
|
9
|
+
}).describe("Request model for setting group properties only once (if not already set).");
|
|
10
|
+
const MixpanelSetGroupPropertyOnceOutput = zod.z.object({
|
|
11
|
+
code: zod.z.number().int().describe("HTTP status code (200 for success)").nullable().optional(),
|
|
12
|
+
error: zod.z.string().describe("Error message if the request failed").nullable().optional(),
|
|
13
|
+
status: zod.z.union([zod.z.string(), zod.z.number().int()])
|
|
14
|
+
}).describe("Response model for group property set once operation.");
|
|
15
|
+
const mixpanelSetGroupPropertyOnce = require_action.action("MIXPANEL_SET_GROUP_PROPERTY_ONCE", {
|
|
16
|
+
slug: "mixpanel-set-group-property-once",
|
|
17
|
+
name: "Set Group Property Once",
|
|
18
|
+
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.",
|
|
19
|
+
input: MixpanelSetGroupPropertyOnceInput,
|
|
20
|
+
output: MixpanelSetGroupPropertyOnceOutput
|
|
21
|
+
});
|
|
22
|
+
//#endregion
|
|
23
|
+
exports.mixpanelSetGroupPropertyOnce = mixpanelSetGroupPropertyOnce;
|
|
24
|
+
|
|
25
|
+
//# sourceMappingURL=set-group-property-once.cjs.map
|
|
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = 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,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,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,qCAAmDA,IAAAA,EAAE,OAAO;CACvE,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"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/set-group-property-once.d.ts
|
|
4
|
+
declare const MixpanelSetGroupPropertyOnceInput: z.ZodTypeAny;
|
|
5
|
+
declare const MixpanelSetGroupPropertyOnceOutput: z.ZodTypeAny;
|
|
6
|
+
declare const mixpanelSetGroupPropertyOnce: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { mixpanelSetGroupPropertyOnce };
|
|
9
|
+
//# sourceMappingURL=set-group-property-once.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set-group-property-once.d.cts","names":[],"sources":["../../src/actions/set-group-property-once.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAKuC;AAAA,cAC5E,kCAAA,EAAoC,CAAA,CAAE,UAIiB;AAAA,cAEvD,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/set-group-property-once.d.ts
|
|
4
|
+
declare const MixpanelSetGroupPropertyOnceInput: z.ZodTypeAny;
|
|
5
|
+
declare const MixpanelSetGroupPropertyOnceOutput: z.ZodTypeAny;
|
|
6
|
+
declare const mixpanelSetGroupPropertyOnce: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { mixpanelSetGroupPropertyOnce };
|
|
9
|
+
//# sourceMappingURL=set-group-property-once.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set-group-property-once.d.mts","names":[],"sources":["../../src/actions/set-group-property-once.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAKuC;AAAA,cAC5E,kCAAA,EAAoC,CAAA,CAAE,UAIiB;AAAA,cAEvD,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|