@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,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/identity-create-alias.d.ts
|
|
4
|
+
declare const MixpanelIdentityCreateAliasInput: z.ZodTypeAny;
|
|
5
|
+
declare const MixpanelIdentityCreateAliasOutput: z.ZodTypeAny;
|
|
6
|
+
declare const mixpanelIdentityCreateAlias: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { mixpanelIdentityCreateAlias };
|
|
9
|
+
//# sourceMappingURL=identity-create-alias.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"identity-create-alias.d.mts","names":[],"sources":["../../src/actions/identity-create-alias.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAIuB;AAAA,cAC3D,iCAAA,EAAmC,CAAA,CAAE,UAEQ;AAAA,cAE7C,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const mixpanelIdentityCreateAlias = action("MIXPANEL_IDENTITY_CREATE_ALIAS", {
|
|
4
|
+
slug: "mixpanel-identity-create-alias",
|
|
5
|
+
name: "Create Identity Alias",
|
|
6
|
+
description: "Tool to create an alias mapping between two distinct IDs in Mixpanel. Use when you need to link a new identifier with an existing one. This is only available for projects using the Original ID Merge system and Legacy ID Management System; it has no effect in the Simplified ID Merge system. Typically called once during user signup to connect anonymous pre-signup events with post-signup activity. Each alias can only map to one distinct_id.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
alias: z.string().describe("A new distinct_id value that will be interpreted as the existing distinct_id. Each alias can only map to one distinct_id. Typically set during user signup to connect anonymous pre-signup events with post-signup activity."),
|
|
9
|
+
token: z.string().describe("Project authentication token for client-side authentication."),
|
|
10
|
+
distinct_id: z.string().describe("The existing distinct ID to be merged with the alias. This is the original identifier that the alias will map to.")
|
|
11
|
+
}).describe("Request model for creating an identity alias in Mixpanel."),
|
|
12
|
+
output: z.object({ status: z.number().int().describe("Status of the request. 1 indicates the alias was successfully created.") }).describe("Response model for identity alias creation.")
|
|
13
|
+
});
|
|
14
|
+
//#endregion
|
|
15
|
+
export { mixpanelIdentityCreateAlias };
|
|
16
|
+
|
|
17
|
+
//# sourceMappingURL=identity-create-alias.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"identity-create-alias.mjs","names":[],"sources":["../../src/actions/identity-create-alias.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelIdentityCreateAliasInput: z.ZodTypeAny = z.object({\n alias: z.string().describe(\"A new distinct_id value that will be interpreted as the existing distinct_id. Each alias can only map to one distinct_id. Typically set during user signup to connect anonymous pre-signup events with post-signup activity.\"),\n token: z.string().describe(\"Project authentication token for client-side authentication.\"),\n distinct_id: z.string().describe(\"The existing distinct ID to be merged with the alias. This is the original identifier that the alias will map to.\"),\n}).describe(\"Request model for creating an identity alias in Mixpanel.\");\nexport const MixpanelIdentityCreateAliasOutput: z.ZodTypeAny = z.object({\n status: z.number().int().describe(\"Status of the request. 1 indicates the alias was successfully created.\"),\n}).describe(\"Response model for identity alias creation.\");\n\nexport const mixpanelIdentityCreateAlias = action(\"MIXPANEL_IDENTITY_CREATE_ALIAS\", {\n slug: \"mixpanel-identity-create-alias\",\n name: \"Create Identity Alias\",\n description: \"Tool to create an alias mapping between two distinct IDs in Mixpanel. Use when you need to link a new identifier with an existing one. This is only available for projects using the Original ID Merge system and Legacy ID Management System; it has no effect in the Simplified ID Merge system. Typically called once during user signup to connect anonymous pre-signup events with post-signup activity. Each alias can only map to one distinct_id.\",\n input: MixpanelIdentityCreateAliasInput,\n output: MixpanelIdentityCreateAliasOutput,\n});\n"],"mappings":";;AAaA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb4D,EAAE,OAAO;EACrE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8NAA8N;EACzP,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;EACzF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH;CACtJ,CAAC,CAAC,CAAC,SAAS,2DASH;CACP,QAT6D,EAAE,OAAO,EACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wEAAwE,EAC5G,CAAC,CAAC,CAAC,SAAS,6CAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_add_unique_to_profile_list_property = require("./add-unique-to-profile-list-property.cjs");
|
|
3
|
+
const require_aggregate_events = require("./aggregate-events.cjs");
|
|
4
|
+
const require_aggregated_event_property_values = require("./aggregated-event-property-values.cjs");
|
|
5
|
+
const require_cohorts_list = require("./cohorts-list.cjs");
|
|
6
|
+
const require_create_annotation_tag = require("./create-annotation-tag.cjs");
|
|
7
|
+
const require_create_identity = require("./create-identity.cjs");
|
|
8
|
+
const require_create_service_account = require("./create-service-account.cjs");
|
|
9
|
+
const require_delete_group = require("./delete-group.cjs");
|
|
10
|
+
const require_delete_profile = require("./delete-profile.cjs");
|
|
11
|
+
const require_delete_profile_batch = require("./delete-profile-batch.cjs");
|
|
12
|
+
const require_delete_profile_property = require("./delete-profile-property.cjs");
|
|
13
|
+
const require_get_all_projects = require("./get-all-projects.cjs");
|
|
14
|
+
const require_get_annotation_tags_alt1 = require("./get-annotation-tags-alt1.cjs");
|
|
15
|
+
const require_group_batch_update = require("./group-batch-update.cjs");
|
|
16
|
+
const require_group_delete_property = require("./group-delete-property.cjs");
|
|
17
|
+
const require_identity_create_alias = require("./identity-create-alias.cjs");
|
|
18
|
+
const require_jql_query = require("./jql-query.cjs");
|
|
19
|
+
const require_list_funnels = require("./list-funnels.cjs");
|
|
20
|
+
const require_list_service_accounts = require("./list-service-accounts.cjs");
|
|
21
|
+
const require_profile_append_to_list_property = require("./profile-append-to-list-property.cjs");
|
|
22
|
+
const require_profile_batch_update = require("./profile-batch-update.cjs");
|
|
23
|
+
const require_profile_event_activity = require("./profile-event-activity.cjs");
|
|
24
|
+
const require_profile_numerical_add = require("./profile-numerical-add.cjs");
|
|
25
|
+
const require_profile_remove_from_list_property = require("./profile-remove-from-list-property.cjs");
|
|
26
|
+
const require_profile_set = require("./profile-set.cjs");
|
|
27
|
+
const require_query_frequency_report = require("./query-frequency-report.cjs");
|
|
28
|
+
const require_query_funnel = require("./query-funnel.cjs");
|
|
29
|
+
const require_query_insight = require("./query-insight.cjs");
|
|
30
|
+
const require_query_numeric_average = require("./query-numeric-average.cjs");
|
|
31
|
+
const require_query_numeric_sum = require("./query-numeric-sum.cjs");
|
|
32
|
+
const require_query_profiles = require("./query-profiles.cjs");
|
|
33
|
+
const require_query_retention_report = require("./query-retention-report.cjs");
|
|
34
|
+
const require_query_segmentation = require("./query-segmentation.cjs");
|
|
35
|
+
const require_query_top_events = require("./query-top-events.cjs");
|
|
36
|
+
const require_remove_from_group_list_property = require("./remove-from-group-list-property.cjs");
|
|
37
|
+
const require_remove_from_list_property = require("./remove-from-list-property.cjs");
|
|
38
|
+
const require_segmentation_numeric_query = require("./segmentation-numeric-query.cjs");
|
|
39
|
+
const require_set_group_property_once = require("./set-group-property-once.cjs");
|
|
40
|
+
const require_set_profile_property_once = require("./set-profile-property-once.cjs");
|
|
41
|
+
const require_top_event_properties = require("./top-event-properties.cjs");
|
|
42
|
+
const require_top_event_property_values = require("./top-event-property-values.cjs");
|
|
43
|
+
const require_top_events = require("./top-events.cjs");
|
|
44
|
+
const require_update_group_list_property = require("./update-group-list-property.cjs");
|
|
45
|
+
exports.mixpanelAddUniqueToProfileListProperty = require_add_unique_to_profile_list_property.mixpanelAddUniqueToProfileListProperty;
|
|
46
|
+
exports.mixpanelAggregateEvents = require_aggregate_events.mixpanelAggregateEvents;
|
|
47
|
+
exports.mixpanelAggregatedEventPropertyValues = require_aggregated_event_property_values.mixpanelAggregatedEventPropertyValues;
|
|
48
|
+
exports.mixpanelCohortsList = require_cohorts_list.mixpanelCohortsList;
|
|
49
|
+
exports.mixpanelCreateAnnotationTag = require_create_annotation_tag.mixpanelCreateAnnotationTag;
|
|
50
|
+
exports.mixpanelCreateIdentity = require_create_identity.mixpanelCreateIdentity;
|
|
51
|
+
exports.mixpanelCreateServiceAccount = require_create_service_account.mixpanelCreateServiceAccount;
|
|
52
|
+
exports.mixpanelDeleteGroup = require_delete_group.mixpanelDeleteGroup;
|
|
53
|
+
exports.mixpanelDeleteProfile = require_delete_profile.mixpanelDeleteProfile;
|
|
54
|
+
exports.mixpanelDeleteProfileBatch = require_delete_profile_batch.mixpanelDeleteProfileBatch;
|
|
55
|
+
exports.mixpanelDeleteProfileProperty = require_delete_profile_property.mixpanelDeleteProfileProperty;
|
|
56
|
+
exports.mixpanelGetAllProjects = require_get_all_projects.mixpanelGetAllProjects;
|
|
57
|
+
exports.mixpanelGetAnnotationTagsAlt1 = require_get_annotation_tags_alt1.mixpanelGetAnnotationTagsAlt1;
|
|
58
|
+
exports.mixpanelGroupBatchUpdate = require_group_batch_update.mixpanelGroupBatchUpdate;
|
|
59
|
+
exports.mixpanelGroupDeleteProperty = require_group_delete_property.mixpanelGroupDeleteProperty;
|
|
60
|
+
exports.mixpanelIdentityCreateAlias = require_identity_create_alias.mixpanelIdentityCreateAlias;
|
|
61
|
+
exports.mixpanelJqlQuery = require_jql_query.mixpanelJqlQuery;
|
|
62
|
+
exports.mixpanelListFunnels = require_list_funnels.mixpanelListFunnels;
|
|
63
|
+
exports.mixpanelListServiceAccounts = require_list_service_accounts.mixpanelListServiceAccounts;
|
|
64
|
+
exports.mixpanelProfileAppendToListProperty = require_profile_append_to_list_property.mixpanelProfileAppendToListProperty;
|
|
65
|
+
exports.mixpanelProfileBatchUpdate = require_profile_batch_update.mixpanelProfileBatchUpdate;
|
|
66
|
+
exports.mixpanelProfileEventActivity = require_profile_event_activity.mixpanelProfileEventActivity;
|
|
67
|
+
exports.mixpanelProfileNumericalAdd = require_profile_numerical_add.mixpanelProfileNumericalAdd;
|
|
68
|
+
exports.mixpanelProfileRemoveFromListProperty = require_profile_remove_from_list_property.mixpanelProfileRemoveFromListProperty;
|
|
69
|
+
exports.mixpanelProfileSet = require_profile_set.mixpanelProfileSet;
|
|
70
|
+
exports.mixpanelQueryFrequencyReport = require_query_frequency_report.mixpanelQueryFrequencyReport;
|
|
71
|
+
exports.mixpanelQueryFunnel = require_query_funnel.mixpanelQueryFunnel;
|
|
72
|
+
exports.mixpanelQueryInsight = require_query_insight.mixpanelQueryInsight;
|
|
73
|
+
exports.mixpanelQueryNumericAverage = require_query_numeric_average.mixpanelQueryNumericAverage;
|
|
74
|
+
exports.mixpanelQueryNumericSum = require_query_numeric_sum.mixpanelQueryNumericSum;
|
|
75
|
+
exports.mixpanelQueryProfiles = require_query_profiles.mixpanelQueryProfiles;
|
|
76
|
+
exports.mixpanelQueryRetentionReport = require_query_retention_report.mixpanelQueryRetentionReport;
|
|
77
|
+
exports.mixpanelQuerySegmentation = require_query_segmentation.mixpanelQuerySegmentation;
|
|
78
|
+
exports.mixpanelQueryTopEvents = require_query_top_events.mixpanelQueryTopEvents;
|
|
79
|
+
exports.mixpanelRemoveFromGroupListProperty = require_remove_from_group_list_property.mixpanelRemoveFromGroupListProperty;
|
|
80
|
+
exports.mixpanelRemoveFromListProperty = require_remove_from_list_property.mixpanelRemoveFromListProperty;
|
|
81
|
+
exports.mixpanelSegmentationNumericQuery = require_segmentation_numeric_query.mixpanelSegmentationNumericQuery;
|
|
82
|
+
exports.mixpanelSetGroupPropertyOnce = require_set_group_property_once.mixpanelSetGroupPropertyOnce;
|
|
83
|
+
exports.mixpanelSetProfilePropertyOnce = require_set_profile_property_once.mixpanelSetProfilePropertyOnce;
|
|
84
|
+
exports.mixpanelTopEventProperties = require_top_event_properties.mixpanelTopEventProperties;
|
|
85
|
+
exports.mixpanelTopEventPropertyValues = require_top_event_property_values.mixpanelTopEventPropertyValues;
|
|
86
|
+
exports.mixpanelTopEvents = require_top_events.mixpanelTopEvents;
|
|
87
|
+
exports.mixpanelUpdateGroupListProperty = require_update_group_list_property.mixpanelUpdateGroupListProperty;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { mixpanelAddUniqueToProfileListProperty } from "./add-unique-to-profile-list-property.cjs";
|
|
2
|
+
import { mixpanelAggregateEvents } from "./aggregate-events.cjs";
|
|
3
|
+
import { mixpanelAggregatedEventPropertyValues } from "./aggregated-event-property-values.cjs";
|
|
4
|
+
import { mixpanelCohortsList } from "./cohorts-list.cjs";
|
|
5
|
+
import { mixpanelCreateAnnotationTag } from "./create-annotation-tag.cjs";
|
|
6
|
+
import { mixpanelCreateIdentity } from "./create-identity.cjs";
|
|
7
|
+
import { mixpanelCreateServiceAccount } from "./create-service-account.cjs";
|
|
8
|
+
import { mixpanelDeleteGroup } from "./delete-group.cjs";
|
|
9
|
+
import { mixpanelDeleteProfile } from "./delete-profile.cjs";
|
|
10
|
+
import { mixpanelDeleteProfileBatch } from "./delete-profile-batch.cjs";
|
|
11
|
+
import { mixpanelDeleteProfileProperty } from "./delete-profile-property.cjs";
|
|
12
|
+
import { mixpanelGetAllProjects } from "./get-all-projects.cjs";
|
|
13
|
+
import { mixpanelGetAnnotationTagsAlt1 } from "./get-annotation-tags-alt1.cjs";
|
|
14
|
+
import { mixpanelGroupBatchUpdate } from "./group-batch-update.cjs";
|
|
15
|
+
import { mixpanelGroupDeleteProperty } from "./group-delete-property.cjs";
|
|
16
|
+
import { mixpanelIdentityCreateAlias } from "./identity-create-alias.cjs";
|
|
17
|
+
import { mixpanelJqlQuery } from "./jql-query.cjs";
|
|
18
|
+
import { mixpanelListFunnels } from "./list-funnels.cjs";
|
|
19
|
+
import { mixpanelListServiceAccounts } from "./list-service-accounts.cjs";
|
|
20
|
+
import { mixpanelProfileAppendToListProperty } from "./profile-append-to-list-property.cjs";
|
|
21
|
+
import { mixpanelProfileBatchUpdate } from "./profile-batch-update.cjs";
|
|
22
|
+
import { mixpanelProfileEventActivity } from "./profile-event-activity.cjs";
|
|
23
|
+
import { mixpanelProfileNumericalAdd } from "./profile-numerical-add.cjs";
|
|
24
|
+
import { mixpanelProfileRemoveFromListProperty } from "./profile-remove-from-list-property.cjs";
|
|
25
|
+
import { mixpanelProfileSet } from "./profile-set.cjs";
|
|
26
|
+
import { mixpanelQueryFrequencyReport } from "./query-frequency-report.cjs";
|
|
27
|
+
import { mixpanelQueryFunnel } from "./query-funnel.cjs";
|
|
28
|
+
import { mixpanelQueryInsight } from "./query-insight.cjs";
|
|
29
|
+
import { mixpanelQueryNumericAverage } from "./query-numeric-average.cjs";
|
|
30
|
+
import { mixpanelQueryNumericSum } from "./query-numeric-sum.cjs";
|
|
31
|
+
import { mixpanelQueryProfiles } from "./query-profiles.cjs";
|
|
32
|
+
import { mixpanelQueryRetentionReport } from "./query-retention-report.cjs";
|
|
33
|
+
import { mixpanelQuerySegmentation } from "./query-segmentation.cjs";
|
|
34
|
+
import { mixpanelQueryTopEvents } from "./query-top-events.cjs";
|
|
35
|
+
import { mixpanelRemoveFromGroupListProperty } from "./remove-from-group-list-property.cjs";
|
|
36
|
+
import { mixpanelRemoveFromListProperty } from "./remove-from-list-property.cjs";
|
|
37
|
+
import { mixpanelSegmentationNumericQuery } from "./segmentation-numeric-query.cjs";
|
|
38
|
+
import { mixpanelSetGroupPropertyOnce } from "./set-group-property-once.cjs";
|
|
39
|
+
import { mixpanelSetProfilePropertyOnce } from "./set-profile-property-once.cjs";
|
|
40
|
+
import { mixpanelTopEventProperties } from "./top-event-properties.cjs";
|
|
41
|
+
import { mixpanelTopEventPropertyValues } from "./top-event-property-values.cjs";
|
|
42
|
+
import { mixpanelTopEvents } from "./top-events.cjs";
|
|
43
|
+
import { mixpanelUpdateGroupListProperty } from "./update-group-list-property.cjs";
|
|
44
|
+
export { mixpanelAddUniqueToProfileListProperty, mixpanelAggregateEvents, mixpanelAggregatedEventPropertyValues, mixpanelCohortsList, mixpanelCreateAnnotationTag, mixpanelCreateIdentity, mixpanelCreateServiceAccount, mixpanelDeleteGroup, mixpanelDeleteProfile, mixpanelDeleteProfileBatch, mixpanelDeleteProfileProperty, mixpanelGetAllProjects, mixpanelGetAnnotationTagsAlt1, mixpanelGroupBatchUpdate, mixpanelGroupDeleteProperty, mixpanelIdentityCreateAlias, mixpanelJqlQuery, mixpanelListFunnels, mixpanelListServiceAccounts, mixpanelProfileAppendToListProperty, mixpanelProfileBatchUpdate, mixpanelProfileEventActivity, mixpanelProfileNumericalAdd, mixpanelProfileRemoveFromListProperty, mixpanelProfileSet, mixpanelQueryFrequencyReport, mixpanelQueryFunnel, mixpanelQueryInsight, mixpanelQueryNumericAverage, mixpanelQueryNumericSum, mixpanelQueryProfiles, mixpanelQueryRetentionReport, mixpanelQuerySegmentation, mixpanelQueryTopEvents, mixpanelRemoveFromGroupListProperty, mixpanelRemoveFromListProperty, mixpanelSegmentationNumericQuery, mixpanelSetGroupPropertyOnce, mixpanelSetProfilePropertyOnce, mixpanelTopEventProperties, mixpanelTopEventPropertyValues, mixpanelTopEvents, mixpanelUpdateGroupListProperty };
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { mixpanelAddUniqueToProfileListProperty } from "./add-unique-to-profile-list-property.mjs";
|
|
2
|
+
import { mixpanelAggregateEvents } from "./aggregate-events.mjs";
|
|
3
|
+
import { mixpanelAggregatedEventPropertyValues } from "./aggregated-event-property-values.mjs";
|
|
4
|
+
import { mixpanelCohortsList } from "./cohorts-list.mjs";
|
|
5
|
+
import { mixpanelCreateAnnotationTag } from "./create-annotation-tag.mjs";
|
|
6
|
+
import { mixpanelCreateIdentity } from "./create-identity.mjs";
|
|
7
|
+
import { mixpanelCreateServiceAccount } from "./create-service-account.mjs";
|
|
8
|
+
import { mixpanelDeleteGroup } from "./delete-group.mjs";
|
|
9
|
+
import { mixpanelDeleteProfile } from "./delete-profile.mjs";
|
|
10
|
+
import { mixpanelDeleteProfileBatch } from "./delete-profile-batch.mjs";
|
|
11
|
+
import { mixpanelDeleteProfileProperty } from "./delete-profile-property.mjs";
|
|
12
|
+
import { mixpanelGetAllProjects } from "./get-all-projects.mjs";
|
|
13
|
+
import { mixpanelGetAnnotationTagsAlt1 } from "./get-annotation-tags-alt1.mjs";
|
|
14
|
+
import { mixpanelGroupBatchUpdate } from "./group-batch-update.mjs";
|
|
15
|
+
import { mixpanelGroupDeleteProperty } from "./group-delete-property.mjs";
|
|
16
|
+
import { mixpanelIdentityCreateAlias } from "./identity-create-alias.mjs";
|
|
17
|
+
import { mixpanelJqlQuery } from "./jql-query.mjs";
|
|
18
|
+
import { mixpanelListFunnels } from "./list-funnels.mjs";
|
|
19
|
+
import { mixpanelListServiceAccounts } from "./list-service-accounts.mjs";
|
|
20
|
+
import { mixpanelProfileAppendToListProperty } from "./profile-append-to-list-property.mjs";
|
|
21
|
+
import { mixpanelProfileBatchUpdate } from "./profile-batch-update.mjs";
|
|
22
|
+
import { mixpanelProfileEventActivity } from "./profile-event-activity.mjs";
|
|
23
|
+
import { mixpanelProfileNumericalAdd } from "./profile-numerical-add.mjs";
|
|
24
|
+
import { mixpanelProfileRemoveFromListProperty } from "./profile-remove-from-list-property.mjs";
|
|
25
|
+
import { mixpanelProfileSet } from "./profile-set.mjs";
|
|
26
|
+
import { mixpanelQueryFrequencyReport } from "./query-frequency-report.mjs";
|
|
27
|
+
import { mixpanelQueryFunnel } from "./query-funnel.mjs";
|
|
28
|
+
import { mixpanelQueryInsight } from "./query-insight.mjs";
|
|
29
|
+
import { mixpanelQueryNumericAverage } from "./query-numeric-average.mjs";
|
|
30
|
+
import { mixpanelQueryNumericSum } from "./query-numeric-sum.mjs";
|
|
31
|
+
import { mixpanelQueryProfiles } from "./query-profiles.mjs";
|
|
32
|
+
import { mixpanelQueryRetentionReport } from "./query-retention-report.mjs";
|
|
33
|
+
import { mixpanelQuerySegmentation } from "./query-segmentation.mjs";
|
|
34
|
+
import { mixpanelQueryTopEvents } from "./query-top-events.mjs";
|
|
35
|
+
import { mixpanelRemoveFromGroupListProperty } from "./remove-from-group-list-property.mjs";
|
|
36
|
+
import { mixpanelRemoveFromListProperty } from "./remove-from-list-property.mjs";
|
|
37
|
+
import { mixpanelSegmentationNumericQuery } from "./segmentation-numeric-query.mjs";
|
|
38
|
+
import { mixpanelSetGroupPropertyOnce } from "./set-group-property-once.mjs";
|
|
39
|
+
import { mixpanelSetProfilePropertyOnce } from "./set-profile-property-once.mjs";
|
|
40
|
+
import { mixpanelTopEventProperties } from "./top-event-properties.mjs";
|
|
41
|
+
import { mixpanelTopEventPropertyValues } from "./top-event-property-values.mjs";
|
|
42
|
+
import { mixpanelTopEvents } from "./top-events.mjs";
|
|
43
|
+
import { mixpanelUpdateGroupListProperty } from "./update-group-list-property.mjs";
|
|
44
|
+
export { mixpanelAddUniqueToProfileListProperty, mixpanelAggregateEvents, mixpanelAggregatedEventPropertyValues, mixpanelCohortsList, mixpanelCreateAnnotationTag, mixpanelCreateIdentity, mixpanelCreateServiceAccount, mixpanelDeleteGroup, mixpanelDeleteProfile, mixpanelDeleteProfileBatch, mixpanelDeleteProfileProperty, mixpanelGetAllProjects, mixpanelGetAnnotationTagsAlt1, mixpanelGroupBatchUpdate, mixpanelGroupDeleteProperty, mixpanelIdentityCreateAlias, mixpanelJqlQuery, mixpanelListFunnels, mixpanelListServiceAccounts, mixpanelProfileAppendToListProperty, mixpanelProfileBatchUpdate, mixpanelProfileEventActivity, mixpanelProfileNumericalAdd, mixpanelProfileRemoveFromListProperty, mixpanelProfileSet, mixpanelQueryFrequencyReport, mixpanelQueryFunnel, mixpanelQueryInsight, mixpanelQueryNumericAverage, mixpanelQueryNumericSum, mixpanelQueryProfiles, mixpanelQueryRetentionReport, mixpanelQuerySegmentation, mixpanelQueryTopEvents, mixpanelRemoveFromGroupListProperty, mixpanelRemoveFromListProperty, mixpanelSegmentationNumericQuery, mixpanelSetGroupPropertyOnce, mixpanelSetProfilePropertyOnce, mixpanelTopEventProperties, mixpanelTopEventPropertyValues, mixpanelTopEvents, mixpanelUpdateGroupListProperty };
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { mixpanelAddUniqueToProfileListProperty } from "./add-unique-to-profile-list-property.mjs";
|
|
2
|
+
import { mixpanelAggregateEvents } from "./aggregate-events.mjs";
|
|
3
|
+
import { mixpanelAggregatedEventPropertyValues } from "./aggregated-event-property-values.mjs";
|
|
4
|
+
import { mixpanelCohortsList } from "./cohorts-list.mjs";
|
|
5
|
+
import { mixpanelCreateAnnotationTag } from "./create-annotation-tag.mjs";
|
|
6
|
+
import { mixpanelCreateIdentity } from "./create-identity.mjs";
|
|
7
|
+
import { mixpanelCreateServiceAccount } from "./create-service-account.mjs";
|
|
8
|
+
import { mixpanelDeleteGroup } from "./delete-group.mjs";
|
|
9
|
+
import { mixpanelDeleteProfile } from "./delete-profile.mjs";
|
|
10
|
+
import { mixpanelDeleteProfileBatch } from "./delete-profile-batch.mjs";
|
|
11
|
+
import { mixpanelDeleteProfileProperty } from "./delete-profile-property.mjs";
|
|
12
|
+
import { mixpanelGetAllProjects } from "./get-all-projects.mjs";
|
|
13
|
+
import { mixpanelGetAnnotationTagsAlt1 } from "./get-annotation-tags-alt1.mjs";
|
|
14
|
+
import { mixpanelGroupBatchUpdate } from "./group-batch-update.mjs";
|
|
15
|
+
import { mixpanelGroupDeleteProperty } from "./group-delete-property.mjs";
|
|
16
|
+
import { mixpanelIdentityCreateAlias } from "./identity-create-alias.mjs";
|
|
17
|
+
import { mixpanelJqlQuery } from "./jql-query.mjs";
|
|
18
|
+
import { mixpanelListFunnels } from "./list-funnels.mjs";
|
|
19
|
+
import { mixpanelListServiceAccounts } from "./list-service-accounts.mjs";
|
|
20
|
+
import { mixpanelProfileAppendToListProperty } from "./profile-append-to-list-property.mjs";
|
|
21
|
+
import { mixpanelProfileBatchUpdate } from "./profile-batch-update.mjs";
|
|
22
|
+
import { mixpanelProfileEventActivity } from "./profile-event-activity.mjs";
|
|
23
|
+
import { mixpanelProfileNumericalAdd } from "./profile-numerical-add.mjs";
|
|
24
|
+
import { mixpanelProfileRemoveFromListProperty } from "./profile-remove-from-list-property.mjs";
|
|
25
|
+
import { mixpanelProfileSet } from "./profile-set.mjs";
|
|
26
|
+
import { mixpanelQueryFrequencyReport } from "./query-frequency-report.mjs";
|
|
27
|
+
import { mixpanelQueryFunnel } from "./query-funnel.mjs";
|
|
28
|
+
import { mixpanelQueryInsight } from "./query-insight.mjs";
|
|
29
|
+
import { mixpanelQueryNumericAverage } from "./query-numeric-average.mjs";
|
|
30
|
+
import { mixpanelQueryNumericSum } from "./query-numeric-sum.mjs";
|
|
31
|
+
import { mixpanelQueryProfiles } from "./query-profiles.mjs";
|
|
32
|
+
import { mixpanelQueryRetentionReport } from "./query-retention-report.mjs";
|
|
33
|
+
import { mixpanelQuerySegmentation } from "./query-segmentation.mjs";
|
|
34
|
+
import { mixpanelQueryTopEvents } from "./query-top-events.mjs";
|
|
35
|
+
import { mixpanelRemoveFromGroupListProperty } from "./remove-from-group-list-property.mjs";
|
|
36
|
+
import { mixpanelRemoveFromListProperty } from "./remove-from-list-property.mjs";
|
|
37
|
+
import { mixpanelSegmentationNumericQuery } from "./segmentation-numeric-query.mjs";
|
|
38
|
+
import { mixpanelSetGroupPropertyOnce } from "./set-group-property-once.mjs";
|
|
39
|
+
import { mixpanelSetProfilePropertyOnce } from "./set-profile-property-once.mjs";
|
|
40
|
+
import { mixpanelTopEventProperties } from "./top-event-properties.mjs";
|
|
41
|
+
import { mixpanelTopEventPropertyValues } from "./top-event-property-values.mjs";
|
|
42
|
+
import { mixpanelTopEvents } from "./top-events.mjs";
|
|
43
|
+
import { mixpanelUpdateGroupListProperty } from "./update-group-list-property.mjs";
|
|
44
|
+
export { mixpanelAddUniqueToProfileListProperty, mixpanelAggregateEvents, mixpanelAggregatedEventPropertyValues, mixpanelCohortsList, mixpanelCreateAnnotationTag, mixpanelCreateIdentity, mixpanelCreateServiceAccount, mixpanelDeleteGroup, mixpanelDeleteProfile, mixpanelDeleteProfileBatch, mixpanelDeleteProfileProperty, mixpanelGetAllProjects, mixpanelGetAnnotationTagsAlt1, mixpanelGroupBatchUpdate, mixpanelGroupDeleteProperty, mixpanelIdentityCreateAlias, mixpanelJqlQuery, mixpanelListFunnels, mixpanelListServiceAccounts, mixpanelProfileAppendToListProperty, mixpanelProfileBatchUpdate, mixpanelProfileEventActivity, mixpanelProfileNumericalAdd, mixpanelProfileRemoveFromListProperty, mixpanelProfileSet, mixpanelQueryFrequencyReport, mixpanelQueryFunnel, mixpanelQueryInsight, mixpanelQueryNumericAverage, mixpanelQueryNumericSum, mixpanelQueryProfiles, mixpanelQueryRetentionReport, mixpanelQuerySegmentation, mixpanelQueryTopEvents, mixpanelRemoveFromGroupListProperty, mixpanelRemoveFromListProperty, mixpanelSegmentationNumericQuery, mixpanelSetGroupPropertyOnce, mixpanelSetProfilePropertyOnce, mixpanelTopEventProperties, mixpanelTopEventPropertyValues, mixpanelTopEvents, mixpanelUpdateGroupListProperty };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/jql-query.ts
|
|
4
|
+
const MixpanelJqlQueryInput = zod.z.object({
|
|
5
|
+
params: zod.z.record(zod.z.string(), zod.z.unknown()).describe("A JSON-encoded object that will be made available in the script as `params`. Use this to pass dynamic date ranges, event names, or other parameters into your JQL query.").optional(),
|
|
6
|
+
script: zod.z.string().describe("A fully valid JavaScript code snippet for Mixpanel's JQL engine. MUST define exactly one top-level `function main() { ... }` that returns the final dataset.\n\nDATA SOURCES:\n- Events({ from_date: 'YYYY-MM-DD', to_date: 'YYYY-MM-DD', event_selectors: [{ event: 'Name', selector: '...' }] }) - returns objects with name, distinct_id, time (ms epoch), properties.\n- People({ user_selectors: [{ selector: '...' }] }) - returns objects with distinct_id, time, last_seen, properties.\n- join(Events(...), People(), { type: 'full'|'left'|'right'|'inner', selectors: [...] }) - combines events and profiles on distinct_id; each item has { distinct_id, event, user }.\n\nTRANSFORMATIONS (chainable):\n- .filter(fn) - keep items where fn returns true\n- .map(fn) - transform each item\n- .reduce(reducerFn) - aggregate entire collection to one value\n- .groupBy(keys, reducer) - group by property paths or functions, returns [{ key, value }]\n- .groupByUser([keys], reducer) - group events per user in chronological order; reducer signature: (state, events) => newState\n- .sortAsc(accessor) / .sortDesc(accessor) - sort by property or function\n- .flatten() - flatten nested arrays\n\nBUILT-IN REDUCERS (use with .reduce() or .groupBy()):\nmixpanel.reducer.count(), .sum(accessor), .avg(accessor), .min(accessor), .max(accessor), .min_by(accessor), .max_by(accessor), .numeric_percentiles(accessor, [p1, p2, ...]), .top(N), .any(), .null(), .object_merge()\n\nSEGMENTATION EXPRESSIONS (for event_selectors/user_selectors/join selectors):\nOperators: ==, !=, >, >=, <, <=, in, and, or, not. Typecasts: string(...), number(...), boolean(...). Example: properties[\"app_name\"] == \"gmail\" and user[\"age\"] > 30\n\nPARAMS: Pass dynamic values via the `params` field. Accessible in script as the global `params` variable.\n\nEXAMPLE:\n```js\nfunction main() {\n return Events({ from_date: '2025-01-01', to_date: '2025-01-31', event_selectors: [{ event: 'purchase' }] })\n .filter(e => e.properties.country === 'CA')\n .groupBy(['properties.city'], mixpanel.reducer.count());\n}\n```\n\nThe return value from main() can be an array of objects, a single number (from .reduce()), or a nested array (from .groupBy())."),
|
|
7
|
+
project_id: zod.z.number().int().describe("Required if using service account credentials or an API secret for authentication."),
|
|
8
|
+
workspace_id: zod.z.number().int().describe("The ID of the Mixpanel workspace, if applicable.").optional()
|
|
9
|
+
}).describe("Request model for executing JQL queries in Mixpanel.");
|
|
10
|
+
const MixpanelJqlQueryOutput = zod.z.object({ data: zod.z.union([
|
|
11
|
+
zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())),
|
|
12
|
+
zod.z.record(zod.z.string(), zod.z.unknown()),
|
|
13
|
+
zod.z.array(zod.z.unknown()),
|
|
14
|
+
zod.z.number().int(),
|
|
15
|
+
zod.z.number(),
|
|
16
|
+
zod.z.string()
|
|
17
|
+
]).nullable() }).describe("Response model for JQL query data");
|
|
18
|
+
const mixpanelJqlQuery = require_action.action("MIXPANEL_JQL_QUERY", {
|
|
19
|
+
slug: "mixpanel-jql-query",
|
|
20
|
+
name: "Execute JQL Query",
|
|
21
|
+
description: "Execute a custom JQL (JavaScript Query Language) query against Mixpanel's Query API. Key Constraints: - 60 queries/hour, max 5 concurrent queries. - 2-minute execution timeout. - 5 GB data processing limit, 2 GB output limit. - No remote network requests (XMLHttpRequest) are allowed inside the JQL script.",
|
|
22
|
+
input: MixpanelJqlQueryInput,
|
|
23
|
+
output: MixpanelJqlQueryOutput
|
|
24
|
+
});
|
|
25
|
+
//#endregion
|
|
26
|
+
exports.mixpanelJqlQuery = mixpanelJqlQuery;
|
|
27
|
+
|
|
28
|
+
//# sourceMappingURL=jql-query.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"jql-query.cjs","names":["z","action"],"sources":["../../src/actions/jql-query.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelJqlQueryInput: z.ZodTypeAny = z.object({\n params: z.record(z.string(), z.unknown()).describe(\"A JSON-encoded object that will be made available in the script as `params`. Use this to pass dynamic date ranges, event names, or other parameters into your JQL query.\").optional(),\n script: z.string().describe(\"A fully valid JavaScript code snippet for Mixpanel's JQL engine. MUST define exactly one top-level `function main() { ... }` that returns the final dataset.\\n\\nDATA SOURCES:\\n- Events({ from_date: 'YYYY-MM-DD', to_date: 'YYYY-MM-DD', event_selectors: [{ event: 'Name', selector: '...' }] }) - returns objects with name, distinct_id, time (ms epoch), properties.\\n- People({ user_selectors: [{ selector: '...' }] }) - returns objects with distinct_id, time, last_seen, properties.\\n- join(Events(...), People(), { type: 'full'|'left'|'right'|'inner', selectors: [...] }) - combines events and profiles on distinct_id; each item has { distinct_id, event, user }.\\n\\nTRANSFORMATIONS (chainable):\\n- .filter(fn) - keep items where fn returns true\\n- .map(fn) - transform each item\\n- .reduce(reducerFn) - aggregate entire collection to one value\\n- .groupBy(keys, reducer) - group by property paths or functions, returns [{ key, value }]\\n- .groupByUser([keys], reducer) - group events per user in chronological order; reducer signature: (state, events) => newState\\n- .sortAsc(accessor) / .sortDesc(accessor) - sort by property or function\\n- .flatten() - flatten nested arrays\\n\\nBUILT-IN REDUCERS (use with .reduce() or .groupBy()):\\nmixpanel.reducer.count(), .sum(accessor), .avg(accessor), .min(accessor), .max(accessor), .min_by(accessor), .max_by(accessor), .numeric_percentiles(accessor, [p1, p2, ...]), .top(N), .any(), .null(), .object_merge()\\n\\nSEGMENTATION EXPRESSIONS (for event_selectors/user_selectors/join selectors):\\nOperators: ==, !=, >, >=, <, <=, in, and, or, not. Typecasts: string(...), number(...), boolean(...). Example: properties[\\\"app_name\\\"] == \\\"gmail\\\" and user[\\\"age\\\"] > 30\\n\\nPARAMS: Pass dynamic values via the `params` field. Accessible in script as the global `params` variable.\\n\\nEXAMPLE:\\n```js\\nfunction main() {\\n return Events({ from_date: '2025-01-01', to_date: '2025-01-31', event_selectors: [{ event: 'purchase' }] })\\n .filter(e => e.properties.country === 'CA')\\n .groupBy(['properties.city'], mixpanel.reducer.count());\\n}\\n```\\n\\nThe return value from main() can be an array of objects, a single number (from .reduce()), or a nested array (from .groupBy()).\"),\n project_id: z.number().int().describe(\"Required if using service account credentials or an API secret for authentication.\"),\n workspace_id: z.number().int().describe(\"The ID of the Mixpanel workspace, if applicable.\").optional(),\n}).describe(\"Request model for executing JQL queries in Mixpanel.\");\nexport const MixpanelJqlQueryOutput: z.ZodTypeAny = z.object({\n data: z.union([z.array(z.record(z.string(), z.unknown())), z.record(z.string(), z.unknown()), z.array(z.unknown()), z.number().int(), z.number(), z.string()]).nullable(),\n}).describe(\"Response model for JQL query data\");\n\nexport const mixpanelJqlQuery = action(\"MIXPANEL_JQL_QUERY\", {\n slug: \"mixpanel-jql-query\",\n name: \"Execute JQL Query\",\n description: \"Execute a custom JQL (JavaScript Query Language) query against Mixpanel's Query API. Key Constraints: - 60 queries/hour, max 5 concurrent queries. - 2-minute execution timeout. - 5 GB data processing limit, 2 GB output limit. - No remote network requests (XMLHttpRequest) are allowed inside the JQL script.\",\n input: MixpanelJqlQueryInput,\n output: MixpanelJqlQueryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAsCA,IAAAA,EAAE,OAAO;CAC1D,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0KAA0K,CAAC,CAAC,SAAS;CACxO,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qqEAAqqE;CACjsE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF;CAC1H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,yBAAuCA,IAAAA,EAAE,OAAO,EAC3D,MAAMA,IAAAA,EAAE,MAAM;CAACA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC;CAAGA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC;CAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC;CAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;CAAGA,IAAAA,EAAE,OAAO;CAAGA,IAAAA,EAAE,OAAO;AAAC,CAAC,CAAC,CAAC,SAAS,EAC1K,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAE/C,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,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/jql-query.d.ts
|
|
4
|
+
declare const MixpanelJqlQueryInput: z.ZodTypeAny;
|
|
5
|
+
declare const MixpanelJqlQueryOutput: z.ZodTypeAny;
|
|
6
|
+
declare const mixpanelJqlQuery: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { mixpanelJqlQuery };
|
|
9
|
+
//# sourceMappingURL=jql-query.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"jql-query.d.cts","names":[],"sources":["../../src/actions/jql-query.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAK6B;AAAA,cACtD,sBAAA,EAAwB,CAAA,CAAE,UAES;AAAA,cAEnC,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/jql-query.d.ts
|
|
4
|
+
declare const MixpanelJqlQueryInput: z.ZodTypeAny;
|
|
5
|
+
declare const MixpanelJqlQueryOutput: z.ZodTypeAny;
|
|
6
|
+
declare const mixpanelJqlQuery: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { mixpanelJqlQuery };
|
|
9
|
+
//# sourceMappingURL=jql-query.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"jql-query.d.mts","names":[],"sources":["../../src/actions/jql-query.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAK6B;AAAA,cACtD,sBAAA,EAAwB,CAAA,CAAE,UAES;AAAA,cAEnC,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const mixpanelJqlQuery = action("MIXPANEL_JQL_QUERY", {
|
|
4
|
+
slug: "mixpanel-jql-query",
|
|
5
|
+
name: "Execute JQL Query",
|
|
6
|
+
description: "Execute a custom JQL (JavaScript Query Language) query against Mixpanel's Query API. Key Constraints: - 60 queries/hour, max 5 concurrent queries. - 2-minute execution timeout. - 5 GB data processing limit, 2 GB output limit. - No remote network requests (XMLHttpRequest) are allowed inside the JQL script.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
params: z.record(z.string(), z.unknown()).describe("A JSON-encoded object that will be made available in the script as `params`. Use this to pass dynamic date ranges, event names, or other parameters into your JQL query.").optional(),
|
|
9
|
+
script: z.string().describe("A fully valid JavaScript code snippet for Mixpanel's JQL engine. MUST define exactly one top-level `function main() { ... }` that returns the final dataset.\n\nDATA SOURCES:\n- Events({ from_date: 'YYYY-MM-DD', to_date: 'YYYY-MM-DD', event_selectors: [{ event: 'Name', selector: '...' }] }) - returns objects with name, distinct_id, time (ms epoch), properties.\n- People({ user_selectors: [{ selector: '...' }] }) - returns objects with distinct_id, time, last_seen, properties.\n- join(Events(...), People(), { type: 'full'|'left'|'right'|'inner', selectors: [...] }) - combines events and profiles on distinct_id; each item has { distinct_id, event, user }.\n\nTRANSFORMATIONS (chainable):\n- .filter(fn) - keep items where fn returns true\n- .map(fn) - transform each item\n- .reduce(reducerFn) - aggregate entire collection to one value\n- .groupBy(keys, reducer) - group by property paths or functions, returns [{ key, value }]\n- .groupByUser([keys], reducer) - group events per user in chronological order; reducer signature: (state, events) => newState\n- .sortAsc(accessor) / .sortDesc(accessor) - sort by property or function\n- .flatten() - flatten nested arrays\n\nBUILT-IN REDUCERS (use with .reduce() or .groupBy()):\nmixpanel.reducer.count(), .sum(accessor), .avg(accessor), .min(accessor), .max(accessor), .min_by(accessor), .max_by(accessor), .numeric_percentiles(accessor, [p1, p2, ...]), .top(N), .any(), .null(), .object_merge()\n\nSEGMENTATION EXPRESSIONS (for event_selectors/user_selectors/join selectors):\nOperators: ==, !=, >, >=, <, <=, in, and, or, not. Typecasts: string(...), number(...), boolean(...). Example: properties[\"app_name\"] == \"gmail\" and user[\"age\"] > 30\n\nPARAMS: Pass dynamic values via the `params` field. Accessible in script as the global `params` variable.\n\nEXAMPLE:\n```js\nfunction main() {\n return Events({ from_date: '2025-01-01', to_date: '2025-01-31', event_selectors: [{ event: 'purchase' }] })\n .filter(e => e.properties.country === 'CA')\n .groupBy(['properties.city'], mixpanel.reducer.count());\n}\n```\n\nThe return value from main() can be an array of objects, a single number (from .reduce()), or a nested array (from .groupBy())."),
|
|
10
|
+
project_id: z.number().int().describe("Required if using service account credentials or an API secret for authentication."),
|
|
11
|
+
workspace_id: z.number().int().describe("The ID of the Mixpanel workspace, if applicable.").optional()
|
|
12
|
+
}).describe("Request model for executing JQL queries in Mixpanel."),
|
|
13
|
+
output: z.object({ data: z.union([
|
|
14
|
+
z.array(z.record(z.string(), z.unknown())),
|
|
15
|
+
z.record(z.string(), z.unknown()),
|
|
16
|
+
z.array(z.unknown()),
|
|
17
|
+
z.number().int(),
|
|
18
|
+
z.number(),
|
|
19
|
+
z.string()
|
|
20
|
+
]).nullable() }).describe("Response model for JQL query data")
|
|
21
|
+
});
|
|
22
|
+
//#endregion
|
|
23
|
+
export { mixpanelJqlQuery };
|
|
24
|
+
|
|
25
|
+
//# sourceMappingURL=jql-query.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"jql-query.mjs","names":[],"sources":["../../src/actions/jql-query.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelJqlQueryInput: z.ZodTypeAny = z.object({\n params: z.record(z.string(), z.unknown()).describe(\"A JSON-encoded object that will be made available in the script as `params`. Use this to pass dynamic date ranges, event names, or other parameters into your JQL query.\").optional(),\n script: z.string().describe(\"A fully valid JavaScript code snippet for Mixpanel's JQL engine. MUST define exactly one top-level `function main() { ... }` that returns the final dataset.\\n\\nDATA SOURCES:\\n- Events({ from_date: 'YYYY-MM-DD', to_date: 'YYYY-MM-DD', event_selectors: [{ event: 'Name', selector: '...' }] }) - returns objects with name, distinct_id, time (ms epoch), properties.\\n- People({ user_selectors: [{ selector: '...' }] }) - returns objects with distinct_id, time, last_seen, properties.\\n- join(Events(...), People(), { type: 'full'|'left'|'right'|'inner', selectors: [...] }) - combines events and profiles on distinct_id; each item has { distinct_id, event, user }.\\n\\nTRANSFORMATIONS (chainable):\\n- .filter(fn) - keep items where fn returns true\\n- .map(fn) - transform each item\\n- .reduce(reducerFn) - aggregate entire collection to one value\\n- .groupBy(keys, reducer) - group by property paths or functions, returns [{ key, value }]\\n- .groupByUser([keys], reducer) - group events per user in chronological order; reducer signature: (state, events) => newState\\n- .sortAsc(accessor) / .sortDesc(accessor) - sort by property or function\\n- .flatten() - flatten nested arrays\\n\\nBUILT-IN REDUCERS (use with .reduce() or .groupBy()):\\nmixpanel.reducer.count(), .sum(accessor), .avg(accessor), .min(accessor), .max(accessor), .min_by(accessor), .max_by(accessor), .numeric_percentiles(accessor, [p1, p2, ...]), .top(N), .any(), .null(), .object_merge()\\n\\nSEGMENTATION EXPRESSIONS (for event_selectors/user_selectors/join selectors):\\nOperators: ==, !=, >, >=, <, <=, in, and, or, not. Typecasts: string(...), number(...), boolean(...). Example: properties[\\\"app_name\\\"] == \\\"gmail\\\" and user[\\\"age\\\"] > 30\\n\\nPARAMS: Pass dynamic values via the `params` field. Accessible in script as the global `params` variable.\\n\\nEXAMPLE:\\n```js\\nfunction main() {\\n return Events({ from_date: '2025-01-01', to_date: '2025-01-31', event_selectors: [{ event: 'purchase' }] })\\n .filter(e => e.properties.country === 'CA')\\n .groupBy(['properties.city'], mixpanel.reducer.count());\\n}\\n```\\n\\nThe return value from main() can be an array of objects, a single number (from .reduce()), or a nested array (from .groupBy()).\"),\n project_id: z.number().int().describe(\"Required if using service account credentials or an API secret for authentication.\"),\n workspace_id: z.number().int().describe(\"The ID of the Mixpanel workspace, if applicable.\").optional(),\n}).describe(\"Request model for executing JQL queries in Mixpanel.\");\nexport const MixpanelJqlQueryOutput: z.ZodTypeAny = z.object({\n data: z.union([z.array(z.record(z.string(), z.unknown())), z.record(z.string(), z.unknown()), z.array(z.unknown()), z.number().int(), z.number(), z.string()]).nullable(),\n}).describe(\"Response model for JQL query data\");\n\nexport const mixpanelJqlQuery = action(\"MIXPANEL_JQL_QUERY\", {\n slug: \"mixpanel-jql-query\",\n name: \"Execute JQL Query\",\n description: \"Execute a custom JQL (JavaScript Query Language) query against Mixpanel's Query API. Key Constraints: - 60 queries/hour, max 5 concurrent queries. - 2-minute execution timeout. - 5 GB data processing limit, 2 GB output limit. - No remote network requests (XMLHttpRequest) are allowed inside the JQL script.\",\n input: MixpanelJqlQueryInput,\n output: MixpanelJqlQueryOutput,\n});\n"],"mappings":";;AAcA,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdiD,EAAE,OAAO;EAC1D,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0KAA0K,CAAC,CAAC,SAAS;EACxO,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qqEAAqqE;EACjsE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF;EAC1H,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACvG,CAAC,CAAC,CAAC,SAAS,sDASH;CACP,QATkD,EAAE,OAAO,EAC3D,MAAM,EAAE,MAAM;EAAC,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC;EAAG,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC;EAAG,EAAE,MAAM,EAAE,QAAQ,CAAC;EAAG,EAAE,OAAO,CAAC,CAAC,IAAI;EAAG,EAAE,OAAO;EAAG,EAAE,OAAO;CAAC,CAAC,CAAC,CAAC,SAAS,EAC1K,CAAC,CAAC,CAAC,SAAS,mCAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/list-funnels.ts
|
|
4
|
+
const MixpanelListFunnelsInput = zod.z.object({
|
|
5
|
+
project_id: zod.z.number().int().describe("Required if using service account to authenticate request"),
|
|
6
|
+
workspace_id: zod.z.number().int().describe("The id of the workspace if applicable").optional()
|
|
7
|
+
}).describe("Request model for listing saved funnels");
|
|
8
|
+
const MixpanelListFunnels_FunnelInfoSchema = zod.z.object({
|
|
9
|
+
name: zod.z.string().describe("The name of the funnel"),
|
|
10
|
+
funnel_id: zod.z.number().int().describe("The id of the funnel")
|
|
11
|
+
}).describe("Model for funnel information");
|
|
12
|
+
const MixpanelListFunnelsOutput = zod.z.object({ data: zod.z.array(MixpanelListFunnels_FunnelInfoSchema).describe("Array of funnel information") }).describe("Response model for list funnels data");
|
|
13
|
+
const mixpanelListFunnels = require_action.action("MIXPANEL_LIST_FUNNELS", {
|
|
14
|
+
slug: "mixpanel-list-funnels",
|
|
15
|
+
name: "List Saved Funnels",
|
|
16
|
+
description: "Get the names and funnel_ids of your funnels. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.",
|
|
17
|
+
input: MixpanelListFunnelsInput,
|
|
18
|
+
output: MixpanelListFunnelsOutput
|
|
19
|
+
});
|
|
20
|
+
//#endregion
|
|
21
|
+
exports.mixpanelListFunnels = mixpanelListFunnels;
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=list-funnels.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-funnels.cjs","names":["z","action"],"sources":["../../src/actions/list-funnels.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelListFunnelsInput: z.ZodTypeAny = z.object({\n project_id: z.number().int().describe(\"Required if using service account to authenticate request\"),\n workspace_id: z.number().int().describe(\"The id of the workspace if applicable\").optional(),\n}).describe(\"Request model for listing saved funnels\");\nconst MixpanelListFunnels_FunnelInfoSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The name of the funnel\"),\n funnel_id: z.number().int().describe(\"The id of the funnel\"),\n}).describe(\"Model for funnel information\");\nexport const MixpanelListFunnelsOutput: z.ZodTypeAny = z.object({\n data: z.array(MixpanelListFunnels_FunnelInfoSchema).describe(\"Array of funnel information\"),\n}).describe(\"Response model for list funnels data\");\n\nexport const mixpanelListFunnels = action(\"MIXPANEL_LIST_FUNNELS\", {\n slug: \"mixpanel-list-funnels\",\n name: \"List Saved Funnels\",\n description: \"Get the names and funnel_ids of your funnels. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.\",\n input: MixpanelListFunnelsInput,\n output: MixpanelListFunnelsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,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,yCAAyC;AACrD,MAAM,uCAAqDA,IAAAA,EAAE,OAAO;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CAClD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB;AAC7D,CAAC,CAAC,CAAC,SAAS,8BAA8B;AAC1C,MAAa,4BAA0CA,IAAAA,EAAE,OAAO,EAC9D,MAAMA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,6BAA6B,EAC5F,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAElD,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,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/list-funnels.d.ts
|
|
4
|
+
declare const MixpanelListFunnelsInput: z.ZodTypeAny;
|
|
5
|
+
declare const MixpanelListFunnelsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const mixpanelListFunnels: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { mixpanelListFunnels };
|
|
9
|
+
//# sourceMappingURL=list-funnels.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-funnels.d.cts","names":[],"sources":["../../src/actions/list-funnels.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAGa;AAAA,cAKzC,yBAAA,EAA2B,CAAA,CAAE,UAES;AAAA,cAEtC,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-funnels.d.ts
|
|
4
|
+
declare const MixpanelListFunnelsInput: z.ZodTypeAny;
|
|
5
|
+
declare const MixpanelListFunnelsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const mixpanelListFunnels: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { mixpanelListFunnels };
|
|
9
|
+
//# sourceMappingURL=list-funnels.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-funnels.d.mts","names":[],"sources":["../../src/actions/list-funnels.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAGa;AAAA,cAKzC,yBAAA,EAA2B,CAAA,CAAE,UAES;AAAA,cAEtC,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/list-funnels.ts
|
|
4
|
+
const MixpanelListFunnelsInput = z.object({
|
|
5
|
+
project_id: z.number().int().describe("Required if using service account to authenticate request"),
|
|
6
|
+
workspace_id: z.number().int().describe("The id of the workspace if applicable").optional()
|
|
7
|
+
}).describe("Request model for listing saved funnels");
|
|
8
|
+
const MixpanelListFunnels_FunnelInfoSchema = z.object({
|
|
9
|
+
name: z.string().describe("The name of the funnel"),
|
|
10
|
+
funnel_id: z.number().int().describe("The id of the funnel")
|
|
11
|
+
}).describe("Model for funnel information");
|
|
12
|
+
const mixpanelListFunnels = action("MIXPANEL_LIST_FUNNELS", {
|
|
13
|
+
slug: "mixpanel-list-funnels",
|
|
14
|
+
name: "List Saved Funnels",
|
|
15
|
+
description: "Get the names and funnel_ids of your funnels. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.",
|
|
16
|
+
input: MixpanelListFunnelsInput,
|
|
17
|
+
output: z.object({ data: z.array(MixpanelListFunnels_FunnelInfoSchema).describe("Array of funnel information") }).describe("Response model for list funnels data")
|
|
18
|
+
});
|
|
19
|
+
//#endregion
|
|
20
|
+
export { mixpanelListFunnels };
|
|
21
|
+
|
|
22
|
+
//# sourceMappingURL=list-funnels.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-funnels.mjs","names":[],"sources":["../../src/actions/list-funnels.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelListFunnelsInput: z.ZodTypeAny = z.object({\n project_id: z.number().int().describe(\"Required if using service account to authenticate request\"),\n workspace_id: z.number().int().describe(\"The id of the workspace if applicable\").optional(),\n}).describe(\"Request model for listing saved funnels\");\nconst MixpanelListFunnels_FunnelInfoSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The name of the funnel\"),\n funnel_id: z.number().int().describe(\"The id of the funnel\"),\n}).describe(\"Model for funnel information\");\nexport const MixpanelListFunnelsOutput: z.ZodTypeAny = z.object({\n data: z.array(MixpanelListFunnels_FunnelInfoSchema).describe(\"Array of funnel information\"),\n}).describe(\"Response model for list funnels data\");\n\nexport const mixpanelListFunnels = action(\"MIXPANEL_LIST_FUNNELS\", {\n slug: \"mixpanel-list-funnels\",\n name: \"List Saved Funnels\",\n description: \"Get the names and funnel_ids of your funnels. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.\",\n input: MixpanelListFunnelsInput,\n output: MixpanelListFunnelsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyC,EAAE,OAAO;CAC7D,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;CACjG,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,uCAAqD,EAAE,OAAO;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CAClD,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB;AAC7D,CAAC,CAAC,CAAC,SAAS,8BAA8B;AAK1C,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATqD,EAAE,OAAO,EAC9D,MAAM,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,6BAA6B,EAC5F,CAAC,CAAC,CAAC,SAAS,sCAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/list-service-accounts.ts
|
|
4
|
+
const MixpanelListServiceAccountsInput = zod.z.object({ organization_id: zod.z.string().describe("The unique identifier for the organization") }).describe("Request model for listing service accounts for an organization.");
|
|
5
|
+
const MixpanelListServiceAccounts_ServiceAccountSchema = zod.z.object({
|
|
6
|
+
id: zod.z.number().int().describe("Unique identifier for the service account"),
|
|
7
|
+
user: zod.z.number().int().describe("Internal identifier; safe to ignore").nullable().optional(),
|
|
8
|
+
created: zod.z.string().describe("The date/time this service account was created").nullable().optional(),
|
|
9
|
+
creator: zod.z.number().int().describe("The Mixpanel user id that created this service account").nullable().optional(),
|
|
10
|
+
expires: zod.z.string().describe("The date/time this service account will expire").nullable().optional(),
|
|
11
|
+
username: zod.z.string().describe("Service account username"),
|
|
12
|
+
last_used: zod.z.string().describe("The date/time this service account was last used for authentication").nullable().optional()
|
|
13
|
+
}).describe("Model representing a single service account.");
|
|
14
|
+
const MixpanelListServiceAccountsOutput = zod.z.object({
|
|
15
|
+
status: zod.z.string().describe("Status of the response"),
|
|
16
|
+
results: zod.z.array(MixpanelListServiceAccounts_ServiceAccountSchema).describe("List of service accounts for the organization").nullable().optional()
|
|
17
|
+
}).describe("Response model for list service accounts data.");
|
|
18
|
+
const mixpanelListServiceAccounts = require_action.action("MIXPANEL_LIST_SERVICE_ACCOUNTS", {
|
|
19
|
+
slug: "mixpanel-list-service-accounts",
|
|
20
|
+
name: "List Service Accounts",
|
|
21
|
+
description: "Tool to list all service accounts for an organization. Use when you need to retrieve service accounts, check when they were last used, or see when they expire. Requires service account with admin or owner role.",
|
|
22
|
+
input: MixpanelListServiceAccountsInput,
|
|
23
|
+
output: MixpanelListServiceAccountsOutput
|
|
24
|
+
});
|
|
25
|
+
//#endregion
|
|
26
|
+
exports.mixpanelListServiceAccounts = mixpanelListServiceAccounts;
|
|
27
|
+
|
|
28
|
+
//# sourceMappingURL=list-service-accounts.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-service-accounts.cjs","names":["z","action"],"sources":["../../src/actions/list-service-accounts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelListServiceAccountsInput: z.ZodTypeAny = z.object({\n organization_id: z.string().describe(\"The unique identifier for the organization\"),\n}).describe(\"Request model for listing service accounts for an organization.\");\nconst MixpanelListServiceAccounts_ServiceAccountSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the service account\"),\n user: z.number().int().describe(\"Internal identifier; safe to ignore\").nullable().optional(),\n created: z.string().describe(\"The date/time this service account was created\").nullable().optional(),\n creator: z.number().int().describe(\"The Mixpanel user id that created this service account\").nullable().optional(),\n expires: z.string().describe(\"The date/time this service account will expire\").nullable().optional(),\n username: z.string().describe(\"Service account username\"),\n last_used: z.string().describe(\"The date/time this service account was last used for authentication\").nullable().optional(),\n}).describe(\"Model representing a single service account.\");\nexport const MixpanelListServiceAccountsOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"Status of the response\"),\n results: z.array(MixpanelListServiceAccounts_ServiceAccountSchema).describe(\"List of service accounts for the organization\").nullable().optional(),\n}).describe(\"Response model for list service accounts data.\");\n\nexport const mixpanelListServiceAccounts = action(\"MIXPANEL_LIST_SERVICE_ACCOUNTS\", {\n slug: \"mixpanel-list-service-accounts\",\n name: \"List Service Accounts\",\n description: \"Tool to list all service accounts for an organization. Use when you need to retrieve service accounts, check when they were last used, or see when they expire. Requires service account with admin or owner role.\",\n input: MixpanelListServiceAccountsInput,\n output: MixpanelListServiceAccountsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiDA,IAAAA,EAAE,OAAO,EACrE,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,EACnF,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,mDAAiEA,IAAAA,EAAE,OAAO;CAC9E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACxD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CACpD,SAASA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnJ,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAE5D,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-service-accounts.d.ts
|
|
4
|
+
declare const MixpanelListServiceAccountsInput: z.ZodTypeAny;
|
|
5
|
+
declare const MixpanelListServiceAccountsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const mixpanelListServiceAccounts: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { mixpanelListServiceAccounts };
|
|
9
|
+
//# sourceMappingURL=list-service-accounts.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-service-accounts.d.cts","names":[],"sources":["../../src/actions/list-service-accounts.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAE6B;AAAA,cAUjE,iCAAA,EAAmC,CAAA,CAAE,UAGW;AAAA,cAEhD,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-service-accounts.d.ts
|
|
4
|
+
declare const MixpanelListServiceAccountsInput: z.ZodTypeAny;
|
|
5
|
+
declare const MixpanelListServiceAccountsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const mixpanelListServiceAccounts: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { mixpanelListServiceAccounts };
|
|
9
|
+
//# sourceMappingURL=list-service-accounts.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-service-accounts.d.mts","names":[],"sources":["../../src/actions/list-service-accounts.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAE6B;AAAA,cAUjE,iCAAA,EAAmC,CAAA,CAAE,UAGW;AAAA,cAEhD,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/list-service-accounts.ts
|
|
4
|
+
const MixpanelListServiceAccountsInput = z.object({ organization_id: z.string().describe("The unique identifier for the organization") }).describe("Request model for listing service accounts for an organization.");
|
|
5
|
+
const MixpanelListServiceAccounts_ServiceAccountSchema = z.object({
|
|
6
|
+
id: z.number().int().describe("Unique identifier for the service account"),
|
|
7
|
+
user: z.number().int().describe("Internal identifier; safe to ignore").nullable().optional(),
|
|
8
|
+
created: z.string().describe("The date/time this service account was created").nullable().optional(),
|
|
9
|
+
creator: z.number().int().describe("The Mixpanel user id that created this service account").nullable().optional(),
|
|
10
|
+
expires: z.string().describe("The date/time this service account will expire").nullable().optional(),
|
|
11
|
+
username: z.string().describe("Service account username"),
|
|
12
|
+
last_used: z.string().describe("The date/time this service account was last used for authentication").nullable().optional()
|
|
13
|
+
}).describe("Model representing a single service account.");
|
|
14
|
+
const mixpanelListServiceAccounts = action("MIXPANEL_LIST_SERVICE_ACCOUNTS", {
|
|
15
|
+
slug: "mixpanel-list-service-accounts",
|
|
16
|
+
name: "List Service Accounts",
|
|
17
|
+
description: "Tool to list all service accounts for an organization. Use when you need to retrieve service accounts, check when they were last used, or see when they expire. Requires service account with admin or owner role.",
|
|
18
|
+
input: MixpanelListServiceAccountsInput,
|
|
19
|
+
output: z.object({
|
|
20
|
+
status: z.string().describe("Status of the response"),
|
|
21
|
+
results: z.array(MixpanelListServiceAccounts_ServiceAccountSchema).describe("List of service accounts for the organization").nullable().optional()
|
|
22
|
+
}).describe("Response model for list service accounts data.")
|
|
23
|
+
});
|
|
24
|
+
//#endregion
|
|
25
|
+
export { mixpanelListServiceAccounts };
|
|
26
|
+
|
|
27
|
+
//# sourceMappingURL=list-service-accounts.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-service-accounts.mjs","names":[],"sources":["../../src/actions/list-service-accounts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelListServiceAccountsInput: z.ZodTypeAny = z.object({\n organization_id: z.string().describe(\"The unique identifier for the organization\"),\n}).describe(\"Request model for listing service accounts for an organization.\");\nconst MixpanelListServiceAccounts_ServiceAccountSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the service account\"),\n user: z.number().int().describe(\"Internal identifier; safe to ignore\").nullable().optional(),\n created: z.string().describe(\"The date/time this service account was created\").nullable().optional(),\n creator: z.number().int().describe(\"The Mixpanel user id that created this service account\").nullable().optional(),\n expires: z.string().describe(\"The date/time this service account will expire\").nullable().optional(),\n username: z.string().describe(\"Service account username\"),\n last_used: z.string().describe(\"The date/time this service account was last used for authentication\").nullable().optional(),\n}).describe(\"Model representing a single service account.\");\nexport const MixpanelListServiceAccountsOutput: z.ZodTypeAny = z.object({\n status: z.string().describe(\"Status of the response\"),\n results: z.array(MixpanelListServiceAccounts_ServiceAccountSchema).describe(\"List of service accounts for the organization\").nullable().optional(),\n}).describe(\"Response model for list service accounts data.\");\n\nexport const mixpanelListServiceAccounts = action(\"MIXPANEL_LIST_SERVICE_ACCOUNTS\", {\n slug: \"mixpanel-list-service-accounts\",\n name: \"List Service Accounts\",\n description: \"Tool to list all service accounts for an organization. Use when you need to retrieve service accounts, check when they were last used, or see when they expire. Requires service account with admin or owner role.\",\n input: MixpanelListServiceAccountsInput,\n output: MixpanelListServiceAccountsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiD,EAAE,OAAO,EACrE,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,EACnF,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,mDAAiE,EAAE,OAAO;CAC9E,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C;CACzE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACxD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAM1D,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV6D,EAAE,OAAO;EACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;EACpD,SAAS,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnJ,CAAC,CAAC,CAAC,SAAS,gDAOF;AACV,CAAC"}
|