@keystrokehq/mixpanel 0.1.3 → 0.1.5
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/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-unique-to-profile-list-property.cjs +1 -0
- package/dist/actions/add-unique-to-profile-list-property.cjs.map +1 -1
- package/dist/actions/add-unique-to-profile-list-property.d.cts +3 -14
- package/dist/actions/add-unique-to-profile-list-property.d.cts.map +1 -1
- package/dist/actions/add-unique-to-profile-list-property.d.mts +3 -14
- package/dist/actions/add-unique-to-profile-list-property.d.mts.map +1 -1
- package/dist/actions/add-unique-to-profile-list-property.mjs +1 -0
- package/dist/actions/add-unique-to-profile-list-property.mjs.map +1 -1
- package/dist/actions/aggregate-events.cjs +1 -0
- package/dist/actions/aggregate-events.cjs.map +1 -1
- package/dist/actions/aggregate-events.d.cts +3 -13
- package/dist/actions/aggregate-events.d.cts.map +1 -1
- package/dist/actions/aggregate-events.d.mts +3 -13
- package/dist/actions/aggregate-events.d.mts.map +1 -1
- package/dist/actions/aggregate-events.mjs +1 -0
- package/dist/actions/aggregate-events.mjs.map +1 -1
- package/dist/actions/aggregated-event-property-values.cjs +1 -0
- package/dist/actions/aggregated-event-property-values.cjs.map +1 -1
- package/dist/actions/aggregated-event-property-values.d.cts +3 -14
- package/dist/actions/aggregated-event-property-values.d.cts.map +1 -1
- package/dist/actions/aggregated-event-property-values.d.mts +3 -14
- package/dist/actions/aggregated-event-property-values.d.mts.map +1 -1
- package/dist/actions/aggregated-event-property-values.mjs +1 -0
- package/dist/actions/aggregated-event-property-values.mjs.map +1 -1
- package/dist/actions/cohorts-list.cjs +1 -0
- package/dist/actions/cohorts-list.cjs.map +1 -1
- package/dist/actions/cohorts-list.d.cts +3 -4
- package/dist/actions/cohorts-list.d.cts.map +1 -1
- package/dist/actions/cohorts-list.d.mts +3 -4
- package/dist/actions/cohorts-list.d.mts.map +1 -1
- package/dist/actions/cohorts-list.mjs +1 -0
- package/dist/actions/cohorts-list.mjs.map +1 -1
- package/dist/actions/create-annotation-tag.cjs +1 -0
- package/dist/actions/create-annotation-tag.cjs.map +1 -1
- package/dist/actions/create-annotation-tag.d.cts +3 -4
- package/dist/actions/create-annotation-tag.d.cts.map +1 -1
- package/dist/actions/create-annotation-tag.d.mts +3 -4
- package/dist/actions/create-annotation-tag.d.mts.map +1 -1
- package/dist/actions/create-annotation-tag.mjs +1 -0
- package/dist/actions/create-annotation-tag.mjs.map +1 -1
- package/dist/actions/create-identity.cjs +1 -0
- package/dist/actions/create-identity.cjs.map +1 -1
- package/dist/actions/create-identity.d.cts +3 -7
- package/dist/actions/create-identity.d.cts.map +1 -1
- package/dist/actions/create-identity.d.mts +3 -7
- package/dist/actions/create-identity.d.mts.map +1 -1
- package/dist/actions/create-identity.mjs +1 -0
- package/dist/actions/create-identity.mjs.map +1 -1
- package/dist/actions/create-service-account.cjs +1 -0
- package/dist/actions/create-service-account.cjs.map +1 -1
- package/dist/actions/create-service-account.d.cts +3 -11
- package/dist/actions/create-service-account.d.cts.map +1 -1
- package/dist/actions/create-service-account.d.mts +3 -11
- package/dist/actions/create-service-account.d.mts.map +1 -1
- package/dist/actions/create-service-account.mjs +1 -0
- package/dist/actions/create-service-account.mjs.map +1 -1
- package/dist/actions/delete-group.cjs +1 -0
- package/dist/actions/delete-group.cjs.map +1 -1
- package/dist/actions/delete-group.d.cts +3 -6
- package/dist/actions/delete-group.d.cts.map +1 -1
- package/dist/actions/delete-group.d.mts +3 -6
- package/dist/actions/delete-group.d.mts.map +1 -1
- package/dist/actions/delete-group.mjs +1 -0
- package/dist/actions/delete-group.mjs.map +1 -1
- package/dist/actions/delete-profile-batch.cjs +1 -0
- package/dist/actions/delete-profile-batch.cjs.map +1 -1
- package/dist/actions/delete-profile-batch.d.cts +3 -9
- package/dist/actions/delete-profile-batch.d.cts.map +1 -1
- package/dist/actions/delete-profile-batch.d.mts +3 -9
- package/dist/actions/delete-profile-batch.d.mts.map +1 -1
- package/dist/actions/delete-profile-batch.mjs +1 -0
- package/dist/actions/delete-profile-batch.mjs.map +1 -1
- package/dist/actions/delete-profile-property.cjs +1 -0
- package/dist/actions/delete-profile-property.cjs.map +1 -1
- package/dist/actions/delete-profile-property.d.cts +3 -9
- package/dist/actions/delete-profile-property.d.cts.map +1 -1
- package/dist/actions/delete-profile-property.d.mts +3 -9
- package/dist/actions/delete-profile-property.d.mts.map +1 -1
- package/dist/actions/delete-profile-property.mjs +1 -0
- package/dist/actions/delete-profile-property.mjs.map +1 -1
- package/dist/actions/delete-profile.cjs +1 -0
- package/dist/actions/delete-profile.cjs.map +1 -1
- package/dist/actions/delete-profile.d.cts +3 -7
- package/dist/actions/delete-profile.d.cts.map +1 -1
- package/dist/actions/delete-profile.d.mts +3 -7
- package/dist/actions/delete-profile.d.mts.map +1 -1
- package/dist/actions/delete-profile.mjs +1 -0
- package/dist/actions/delete-profile.mjs.map +1 -1
- package/dist/actions/get-all-projects.cjs +1 -0
- package/dist/actions/get-all-projects.cjs.map +1 -1
- package/dist/actions/get-all-projects.d.cts +3 -1
- package/dist/actions/get-all-projects.d.cts.map +1 -1
- package/dist/actions/get-all-projects.d.mts +3 -1
- package/dist/actions/get-all-projects.d.mts.map +1 -1
- package/dist/actions/get-all-projects.mjs +1 -0
- package/dist/actions/get-all-projects.mjs.map +1 -1
- package/dist/actions/get-annotation-tags-alt1.cjs +1 -0
- package/dist/actions/get-annotation-tags-alt1.cjs.map +1 -1
- package/dist/actions/get-annotation-tags-alt1.d.cts +3 -3
- package/dist/actions/get-annotation-tags-alt1.d.cts.map +1 -1
- package/dist/actions/get-annotation-tags-alt1.d.mts +3 -3
- package/dist/actions/get-annotation-tags-alt1.d.mts.map +1 -1
- package/dist/actions/get-annotation-tags-alt1.mjs +1 -0
- package/dist/actions/get-annotation-tags-alt1.mjs.map +1 -1
- package/dist/actions/group-batch-update.cjs +1 -0
- package/dist/actions/group-batch-update.cjs.map +1 -1
- package/dist/actions/group-batch-update.d.cts +3 -15
- package/dist/actions/group-batch-update.d.cts.map +1 -1
- package/dist/actions/group-batch-update.d.mts +3 -15
- package/dist/actions/group-batch-update.d.mts.map +1 -1
- package/dist/actions/group-batch-update.mjs +1 -0
- package/dist/actions/group-batch-update.mjs.map +1 -1
- package/dist/actions/group-delete-property.cjs +1 -0
- package/dist/actions/group-delete-property.cjs.map +1 -1
- package/dist/actions/group-delete-property.d.cts +3 -6
- package/dist/actions/group-delete-property.d.cts.map +1 -1
- package/dist/actions/group-delete-property.d.mts +3 -6
- package/dist/actions/group-delete-property.d.mts.map +1 -1
- package/dist/actions/group-delete-property.mjs +1 -0
- package/dist/actions/group-delete-property.mjs.map +1 -1
- package/dist/actions/identity-create-alias.cjs +1 -0
- package/dist/actions/identity-create-alias.cjs.map +1 -1
- package/dist/actions/identity-create-alias.d.cts +3 -5
- package/dist/actions/identity-create-alias.d.cts.map +1 -1
- package/dist/actions/identity-create-alias.d.mts +3 -5
- package/dist/actions/identity-create-alias.d.mts.map +1 -1
- package/dist/actions/identity-create-alias.mjs +1 -0
- package/dist/actions/identity-create-alias.mjs.map +1 -1
- package/dist/actions/jql-query.cjs +1 -0
- package/dist/actions/jql-query.cjs.map +1 -1
- package/dist/actions/jql-query.d.cts +3 -6
- package/dist/actions/jql-query.d.cts.map +1 -1
- package/dist/actions/jql-query.d.mts +3 -6
- package/dist/actions/jql-query.d.mts.map +1 -1
- package/dist/actions/jql-query.mjs +1 -0
- package/dist/actions/jql-query.mjs.map +1 -1
- package/dist/actions/list-funnels.cjs +1 -0
- package/dist/actions/list-funnels.cjs.map +1 -1
- package/dist/actions/list-funnels.d.cts +3 -4
- package/dist/actions/list-funnels.d.cts.map +1 -1
- package/dist/actions/list-funnels.d.mts +3 -4
- package/dist/actions/list-funnels.d.mts.map +1 -1
- package/dist/actions/list-funnels.mjs +1 -0
- package/dist/actions/list-funnels.mjs.map +1 -1
- package/dist/actions/list-service-accounts.cjs +1 -0
- package/dist/actions/list-service-accounts.cjs.map +1 -1
- package/dist/actions/list-service-accounts.d.cts +3 -3
- package/dist/actions/list-service-accounts.d.cts.map +1 -1
- package/dist/actions/list-service-accounts.d.mts +3 -3
- package/dist/actions/list-service-accounts.d.mts.map +1 -1
- package/dist/actions/list-service-accounts.mjs +1 -0
- package/dist/actions/list-service-accounts.mjs.map +1 -1
- package/dist/actions/profile-append-to-list-property.cjs +1 -0
- package/dist/actions/profile-append-to-list-property.cjs.map +1 -1
- package/dist/actions/profile-append-to-list-property.d.cts +3 -11
- package/dist/actions/profile-append-to-list-property.d.cts.map +1 -1
- package/dist/actions/profile-append-to-list-property.d.mts +3 -11
- package/dist/actions/profile-append-to-list-property.d.mts.map +1 -1
- package/dist/actions/profile-append-to-list-property.mjs +1 -0
- package/dist/actions/profile-append-to-list-property.mjs.map +1 -1
- package/dist/actions/profile-batch-update.cjs +1 -0
- package/dist/actions/profile-batch-update.cjs.map +1 -1
- package/dist/actions/profile-batch-update.d.cts +3 -19
- package/dist/actions/profile-batch-update.d.cts.map +1 -1
- package/dist/actions/profile-batch-update.d.mts +3 -19
- package/dist/actions/profile-batch-update.d.mts.map +1 -1
- package/dist/actions/profile-batch-update.mjs +1 -0
- package/dist/actions/profile-batch-update.mjs.map +1 -1
- package/dist/actions/profile-event-activity.cjs +1 -0
- package/dist/actions/profile-event-activity.cjs.map +1 -1
- package/dist/actions/profile-event-activity.d.cts +3 -7
- package/dist/actions/profile-event-activity.d.cts.map +1 -1
- package/dist/actions/profile-event-activity.d.mts +3 -7
- package/dist/actions/profile-event-activity.d.mts.map +1 -1
- package/dist/actions/profile-event-activity.mjs +1 -0
- package/dist/actions/profile-event-activity.mjs.map +1 -1
- package/dist/actions/profile-numerical-add.cjs +1 -0
- package/dist/actions/profile-numerical-add.cjs.map +1 -1
- package/dist/actions/profile-numerical-add.d.cts +3 -9
- package/dist/actions/profile-numerical-add.d.cts.map +1 -1
- package/dist/actions/profile-numerical-add.d.mts +3 -9
- package/dist/actions/profile-numerical-add.d.mts.map +1 -1
- package/dist/actions/profile-numerical-add.mjs +1 -0
- package/dist/actions/profile-numerical-add.mjs.map +1 -1
- package/dist/actions/profile-remove-from-list-property.cjs +1 -0
- package/dist/actions/profile-remove-from-list-property.cjs.map +1 -1
- package/dist/actions/profile-remove-from-list-property.d.cts +3 -11
- package/dist/actions/profile-remove-from-list-property.d.cts.map +1 -1
- package/dist/actions/profile-remove-from-list-property.d.mts +3 -11
- package/dist/actions/profile-remove-from-list-property.d.mts.map +1 -1
- package/dist/actions/profile-remove-from-list-property.mjs +1 -0
- package/dist/actions/profile-remove-from-list-property.mjs.map +1 -1
- package/dist/actions/profile-set.cjs +1 -0
- package/dist/actions/profile-set.cjs.map +1 -1
- package/dist/actions/profile-set.d.cts +3 -8
- package/dist/actions/profile-set.d.cts.map +1 -1
- package/dist/actions/profile-set.d.mts +3 -8
- package/dist/actions/profile-set.d.mts.map +1 -1
- package/dist/actions/profile-set.mjs +1 -0
- package/dist/actions/profile-set.mjs.map +1 -1
- package/dist/actions/query-frequency-report.cjs +1 -0
- package/dist/actions/query-frequency-report.cjs.map +1 -1
- package/dist/actions/query-frequency-report.d.cts +3 -12
- package/dist/actions/query-frequency-report.d.cts.map +1 -1
- package/dist/actions/query-frequency-report.d.mts +3 -12
- package/dist/actions/query-frequency-report.d.mts.map +1 -1
- package/dist/actions/query-frequency-report.mjs +1 -0
- package/dist/actions/query-frequency-report.mjs.map +1 -1
- package/dist/actions/query-funnel.cjs +1 -0
- package/dist/actions/query-funnel.cjs.map +1 -1
- package/dist/actions/query-funnel.d.cts +3 -14
- package/dist/actions/query-funnel.d.cts.map +1 -1
- package/dist/actions/query-funnel.d.mts +3 -14
- package/dist/actions/query-funnel.d.mts.map +1 -1
- package/dist/actions/query-funnel.mjs +1 -0
- package/dist/actions/query-funnel.mjs.map +1 -1
- package/dist/actions/query-insight.cjs +1 -0
- package/dist/actions/query-insight.cjs.map +1 -1
- package/dist/actions/query-insight.d.cts +3 -5
- package/dist/actions/query-insight.d.cts.map +1 -1
- package/dist/actions/query-insight.d.mts +3 -5
- package/dist/actions/query-insight.d.mts.map +1 -1
- package/dist/actions/query-insight.mjs +1 -0
- package/dist/actions/query-insight.mjs.map +1 -1
- package/dist/actions/query-numeric-average.cjs +1 -0
- package/dist/actions/query-numeric-average.cjs.map +1 -1
- package/dist/actions/query-numeric-average.d.cts +3 -10
- package/dist/actions/query-numeric-average.d.cts.map +1 -1
- package/dist/actions/query-numeric-average.d.mts +3 -10
- package/dist/actions/query-numeric-average.d.mts.map +1 -1
- package/dist/actions/query-numeric-average.mjs +1 -0
- package/dist/actions/query-numeric-average.mjs.map +1 -1
- package/dist/actions/query-numeric-sum.cjs +1 -0
- package/dist/actions/query-numeric-sum.cjs.map +1 -1
- package/dist/actions/query-numeric-sum.d.cts +3 -10
- package/dist/actions/query-numeric-sum.d.cts.map +1 -1
- package/dist/actions/query-numeric-sum.d.mts +3 -10
- package/dist/actions/query-numeric-sum.d.mts.map +1 -1
- package/dist/actions/query-numeric-sum.mjs +1 -0
- package/dist/actions/query-numeric-sum.mjs.map +1 -1
- package/dist/actions/query-profiles.cjs +1 -0
- package/dist/actions/query-profiles.cjs.map +1 -1
- package/dist/actions/query-profiles.d.cts +3 -15
- package/dist/actions/query-profiles.d.cts.map +1 -1
- package/dist/actions/query-profiles.d.mts +3 -15
- package/dist/actions/query-profiles.d.mts.map +1 -1
- package/dist/actions/query-profiles.mjs +1 -0
- package/dist/actions/query-profiles.mjs.map +1 -1
- package/dist/actions/query-retention-report.cjs +1 -0
- package/dist/actions/query-retention-report.cjs.map +1 -1
- package/dist/actions/query-retention-report.d.cts +3 -16
- package/dist/actions/query-retention-report.d.cts.map +1 -1
- package/dist/actions/query-retention-report.d.mts +3 -16
- package/dist/actions/query-retention-report.d.mts.map +1 -1
- package/dist/actions/query-retention-report.mjs +1 -0
- package/dist/actions/query-retention-report.mjs.map +1 -1
- package/dist/actions/query-segmentation.cjs +1 -0
- package/dist/actions/query-segmentation.cjs.map +1 -1
- package/dist/actions/query-segmentation.d.cts +3 -12
- package/dist/actions/query-segmentation.d.cts.map +1 -1
- package/dist/actions/query-segmentation.d.mts +3 -12
- package/dist/actions/query-segmentation.d.mts.map +1 -1
- package/dist/actions/query-segmentation.mjs +1 -0
- package/dist/actions/query-segmentation.mjs.map +1 -1
- package/dist/actions/query-top-events.cjs +1 -0
- package/dist/actions/query-top-events.cjs.map +1 -1
- package/dist/actions/query-top-events.d.cts +3 -6
- package/dist/actions/query-top-events.d.cts.map +1 -1
- package/dist/actions/query-top-events.d.mts +3 -6
- package/dist/actions/query-top-events.d.mts.map +1 -1
- package/dist/actions/query-top-events.mjs +1 -0
- package/dist/actions/query-top-events.mjs.map +1 -1
- package/dist/actions/remove-from-group-list-property.cjs +1 -0
- package/dist/actions/remove-from-group-list-property.cjs.map +1 -1
- package/dist/actions/remove-from-group-list-property.d.cts +3 -9
- package/dist/actions/remove-from-group-list-property.d.cts.map +1 -1
- package/dist/actions/remove-from-group-list-property.d.mts +3 -9
- package/dist/actions/remove-from-group-list-property.d.mts.map +1 -1
- package/dist/actions/remove-from-group-list-property.mjs +1 -0
- package/dist/actions/remove-from-group-list-property.mjs.map +1 -1
- package/dist/actions/remove-from-list-property.cjs +1 -0
- package/dist/actions/remove-from-list-property.cjs.map +1 -1
- package/dist/actions/remove-from-list-property.d.cts +3 -8
- package/dist/actions/remove-from-list-property.d.cts.map +1 -1
- package/dist/actions/remove-from-list-property.d.mts +3 -8
- package/dist/actions/remove-from-list-property.d.mts.map +1 -1
- package/dist/actions/remove-from-list-property.mjs +1 -0
- package/dist/actions/remove-from-list-property.mjs.map +1 -1
- package/dist/actions/segmentation-numeric-query.cjs +1 -0
- package/dist/actions/segmentation-numeric-query.cjs.map +1 -1
- package/dist/actions/segmentation-numeric-query.d.cts +3 -12
- package/dist/actions/segmentation-numeric-query.d.cts.map +1 -1
- package/dist/actions/segmentation-numeric-query.d.mts +3 -12
- package/dist/actions/segmentation-numeric-query.d.mts.map +1 -1
- package/dist/actions/segmentation-numeric-query.mjs +1 -0
- package/dist/actions/segmentation-numeric-query.mjs.map +1 -1
- package/dist/actions/set-group-property-once.cjs +1 -0
- package/dist/actions/set-group-property-once.cjs.map +1 -1
- package/dist/actions/set-group-property-once.d.cts +3 -6
- package/dist/actions/set-group-property-once.d.cts.map +1 -1
- package/dist/actions/set-group-property-once.d.mts +3 -6
- package/dist/actions/set-group-property-once.d.mts.map +1 -1
- package/dist/actions/set-group-property-once.mjs +1 -0
- package/dist/actions/set-group-property-once.mjs.map +1 -1
- package/dist/actions/set-profile-property-once.cjs +1 -0
- package/dist/actions/set-profile-property-once.cjs.map +1 -1
- package/dist/actions/set-profile-property-once.d.cts +3 -8
- package/dist/actions/set-profile-property-once.d.cts.map +1 -1
- package/dist/actions/set-profile-property-once.d.mts +3 -8
- package/dist/actions/set-profile-property-once.d.mts.map +1 -1
- package/dist/actions/set-profile-property-once.mjs +1 -0
- package/dist/actions/set-profile-property-once.mjs.map +1 -1
- package/dist/actions/top-event-properties.cjs +1 -0
- package/dist/actions/top-event-properties.cjs.map +1 -1
- package/dist/actions/top-event-properties.d.cts +3 -6
- package/dist/actions/top-event-properties.d.cts.map +1 -1
- package/dist/actions/top-event-properties.d.mts +3 -6
- package/dist/actions/top-event-properties.d.mts.map +1 -1
- package/dist/actions/top-event-properties.mjs +1 -0
- package/dist/actions/top-event-properties.mjs.map +1 -1
- package/dist/actions/top-event-property-values.cjs +1 -0
- package/dist/actions/top-event-property-values.cjs.map +1 -1
- package/dist/actions/top-event-property-values.d.cts +3 -7
- package/dist/actions/top-event-property-values.d.cts.map +1 -1
- package/dist/actions/top-event-property-values.d.mts +3 -7
- package/dist/actions/top-event-property-values.d.mts.map +1 -1
- package/dist/actions/top-event-property-values.mjs +1 -0
- package/dist/actions/top-event-property-values.mjs.map +1 -1
- package/dist/actions/top-events.cjs +1 -0
- package/dist/actions/top-events.cjs.map +1 -1
- package/dist/actions/top-events.d.cts +3 -6
- package/dist/actions/top-events.d.cts.map +1 -1
- package/dist/actions/top-events.d.mts +3 -6
- package/dist/actions/top-events.d.mts.map +1 -1
- package/dist/actions/top-events.mjs +1 -0
- package/dist/actions/top-events.mjs.map +1 -1
- package/dist/actions/update-group-list-property.cjs +1 -0
- package/dist/actions/update-group-list-property.cjs.map +1 -1
- package/dist/actions/update-group-list-property.d.cts +3 -12
- package/dist/actions/update-group-list-property.d.cts.map +1 -1
- package/dist/actions/update-group-list-property.d.mts +3 -12
- package/dist/actions/update-group-list-property.d.mts.map +1 -1
- package/dist/actions/update-group-list-property.mjs +1 -0
- package/dist/actions/update-group-list-property.mjs.map +1 -1
- package/dist/app.cjs +10 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +9 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +9 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +7 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
package/dist/action.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.cjs","names":["mixpanel","executeMixpanelTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { mixpanel } from \"./app\";\nimport { executeMixpanelTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output:
|
|
1
|
+
{"version":3,"file":"action.cjs","names":["mixpanel","executeMixpanelTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { mixpanel } from \"./app\";\nimport { executeMixpanelTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof mixpanel.credential> {\n return mixpanel.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeMixpanelTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOwD;CACxD,OAAOA,YAAAA,SAAS,OAAO;EACrB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,oBAAoB,MAAM,KAAgC,CAAC;EAC3F;CACF,CAAC;AACH"}
|
package/dist/action.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { mixpanel } from \"./app\";\nimport { executeMixpanelTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output:
|
|
1
|
+
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { mixpanel } from \"./app\";\nimport { executeMixpanelTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof mixpanel.credential> {\n return mixpanel.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeMixpanelTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOwD;CACxD,OAAO,SAAS,OAAO;EACrB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,oBAAoB,MAAM,KAAgC,CAAC;EAC3F;CACF,CAAC;AACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-unique-to-profile-list-property.cjs","names":["z","action"],"sources":["../../src/actions/add-unique-to-profile-list-property.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelAddUniqueToProfileListPropertyInput = z.object({\n ip: z.number().int().describe(\"Controls geolocation. Set to 0 to disable geolocation, 1 to enable. Default is 1.\").optional(),\n data: z.array(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 token: z.string().describe(\"Your Mixpanel project authentication token. Required for authenticating the request.\"),\n union: z.record(z.string(), z.unknown()).describe(\"A JSON object containing key-value pairs where each key is a property name and each value is a list of items to union with that list property. Union adds values to a list property, excluding duplicates. If the property doesn't exist, it creates a new list with the provided values.\"),\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}).passthrough().describe(\"Individual profile update object for union operations on list properties.\")).describe(\"A list of profile update objects. Each object must contain $token, $distinct_id, and $union properties. The $union operation adds values to list properties without creating duplicates.\"),\n strict: z.number().int().describe(\"Enables validation with per-record error messages. Set to 1 to enable strict mode, 0 to disable. When enabled, returns detailed validation errors for each failed record.\").optional(),\n verbose: z.number().int().describe(\"Returns detailed response object. Set to 1 to get JSON response with status and error fields, 0 for plain text status (1 for success, 0 for failure). Default is 0.\").optional(),\n callback: z.string().describe(\"JSONP callback function name. Used for JSONP requests.\").optional(),\n}).describe(\"Request model for union operations on list properties in user profiles.\");\nexport const MixpanelAddUniqueToProfileListPropertyOutput = z.object({\n error: z.string().describe(\"Error message if the request failed, null if successful.\").nullable().optional(),\n status: z.union([z.string(), z.number().int()]),\n}).passthrough().describe(\"Response model for profile union operation.\");\n\nexport const mixpanelAddUniqueToProfileListProperty = action(\"MIXPANEL_ADD_UNIQUE_TO_PROFILE_LIST_PROPERTY\", {\n slug: \"mixpanel-add-unique-to-profile-list-property\",\n name: \"Add Unique Values to Profile List Property\",\n description: \"Tool to add unique values to list properties on user profiles in Mixpanel using the $union operation. Use when you need to add items to list-type properties without creating duplicates. Unlike $append, $union ensures values are unique in the list. If the property doesn't exist, it creates a new list with the provided values.\",\n input: MixpanelAddUniqueToProfileListPropertyInput,\n output: MixpanelAddUniqueToProfileListPropertyOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"add-unique-to-profile-list-property.cjs","names":["z","action"],"sources":["../../src/actions/add-unique-to-profile-list-property.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mixpanel } from \"../app\";\n\nexport const MixpanelAddUniqueToProfileListPropertyInput = z.object({\n ip: z.number().int().describe(\"Controls geolocation. Set to 0 to disable geolocation, 1 to enable. Default is 1.\").optional(),\n data: z.array(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 token: z.string().describe(\"Your Mixpanel project authentication token. Required for authenticating the request.\"),\n union: z.record(z.string(), z.unknown()).describe(\"A JSON object containing key-value pairs where each key is a property name and each value is a list of items to union with that list property. Union adds values to a list property, excluding duplicates. If the property doesn't exist, it creates a new list with the provided values.\"),\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}).passthrough().describe(\"Individual profile update object for union operations on list properties.\")).describe(\"A list of profile update objects. Each object must contain $token, $distinct_id, and $union properties. The $union operation adds values to list properties without creating duplicates.\"),\n strict: z.number().int().describe(\"Enables validation with per-record error messages. Set to 1 to enable strict mode, 0 to disable. When enabled, returns detailed validation errors for each failed record.\").optional(),\n verbose: z.number().int().describe(\"Returns detailed response object. Set to 1 to get JSON response with status and error fields, 0 for plain text status (1 for success, 0 for failure). Default is 0.\").optional(),\n callback: z.string().describe(\"JSONP callback function name. Used for JSONP requests.\").optional(),\n}).describe(\"Request model for union operations on list properties in user profiles.\");\nexport const MixpanelAddUniqueToProfileListPropertyOutput = z.object({\n error: z.string().describe(\"Error message if the request failed, null if successful.\").nullable().optional(),\n status: z.union([z.string(), z.number().int()]),\n}).passthrough().describe(\"Response model for profile union operation.\");\n\nexport const mixpanelAddUniqueToProfileListProperty: AppAction<\n typeof MixpanelAddUniqueToProfileListPropertyInput,\n typeof MixpanelAddUniqueToProfileListPropertyOutput,\n typeof mixpanel.credential\n> = action(\"MIXPANEL_ADD_UNIQUE_TO_PROFILE_LIST_PROPERTY\", {\n slug: \"mixpanel-add-unique-to-profile-list-property\",\n name: \"Add Unique Values to Profile List Property\",\n description: \"Tool to add unique values to list properties on user profiles in Mixpanel using the $union operation. Use when you need to add items to list-type properties without creating duplicates. Unlike $append, $union ensures values are unique in the list. If the property doesn't exist, it creates a new list with the provided values.\",\n input: MixpanelAddUniqueToProfileListPropertyInput,\n output: MixpanelAddUniqueToProfileListPropertyOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8CAA8CA,IAAAA,EAAE,OAAO;CAClE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAA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,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { mixpanel } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/add-unique-to-profile-list-property.d.ts
|
|
@@ -18,20 +20,7 @@ declare const MixpanelAddUniqueToProfileListPropertyOutput: z.ZodObject<{
|
|
|
18
20
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
21
|
status: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
20
22
|
}, z.core.$loose>;
|
|
21
|
-
declare const mixpanelAddUniqueToProfileListProperty:
|
|
22
|
-
data: {
|
|
23
|
-
[x: string]: unknown;
|
|
24
|
-
token: string;
|
|
25
|
-
union: Record<string, unknown>;
|
|
26
|
-
distinct_id: string;
|
|
27
|
-
ip?: string | undefined;
|
|
28
|
-
ignore_time?: boolean | undefined;
|
|
29
|
-
}[];
|
|
30
|
-
ip?: number | undefined;
|
|
31
|
-
strict?: number | undefined;
|
|
32
|
-
verbose?: number | undefined;
|
|
33
|
-
callback?: string | undefined;
|
|
34
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
23
|
+
declare const mixpanelAddUniqueToProfileListProperty: AppAction<typeof MixpanelAddUniqueToProfileListPropertyInput, typeof MixpanelAddUniqueToProfileListPropertyOutput, typeof mixpanel.credential>;
|
|
35
24
|
//#endregion
|
|
36
25
|
export { mixpanelAddUniqueToProfileListProperty };
|
|
37
26
|
//# sourceMappingURL=add-unique-to-profile-list-property.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-unique-to-profile-list-property.d.cts","names":[],"sources":["../../src/actions/add-unique-to-profile-list-property.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"add-unique-to-profile-list-property.d.cts","names":[],"sources":["../../src/actions/add-unique-to-profile-list-property.ts"],"mappings":";;;;;cAMa,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAa3C,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;;cAK5C,sCAAA,EAAwC,SAAA,QAC5C,2CAAA,SACA,4CAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { mixpanel } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/add-unique-to-profile-list-property.d.ts
|
|
@@ -18,20 +20,7 @@ declare const MixpanelAddUniqueToProfileListPropertyOutput: z.ZodObject<{
|
|
|
18
20
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
21
|
status: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
20
22
|
}, z.core.$loose>;
|
|
21
|
-
declare const mixpanelAddUniqueToProfileListProperty:
|
|
22
|
-
data: {
|
|
23
|
-
[x: string]: unknown;
|
|
24
|
-
token: string;
|
|
25
|
-
union: Record<string, unknown>;
|
|
26
|
-
distinct_id: string;
|
|
27
|
-
ip?: string | undefined;
|
|
28
|
-
ignore_time?: boolean | undefined;
|
|
29
|
-
}[];
|
|
30
|
-
ip?: number | undefined;
|
|
31
|
-
strict?: number | undefined;
|
|
32
|
-
verbose?: number | undefined;
|
|
33
|
-
callback?: string | undefined;
|
|
34
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
23
|
+
declare const mixpanelAddUniqueToProfileListProperty: AppAction<typeof MixpanelAddUniqueToProfileListPropertyInput, typeof MixpanelAddUniqueToProfileListPropertyOutput, typeof mixpanel.credential>;
|
|
35
24
|
//#endregion
|
|
36
25
|
export { mixpanelAddUniqueToProfileListProperty };
|
|
37
26
|
//# sourceMappingURL=add-unique-to-profile-list-property.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-unique-to-profile-list-property.d.mts","names":[],"sources":["../../src/actions/add-unique-to-profile-list-property.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"add-unique-to-profile-list-property.d.mts","names":[],"sources":["../../src/actions/add-unique-to-profile-list-property.ts"],"mappings":";;;;;cAMa,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAa3C,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;;cAK5C,sCAAA,EAAwC,SAAA,QAC5C,2CAAA,SACA,4CAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-unique-to-profile-list-property.mjs","names":[],"sources":["../../src/actions/add-unique-to-profile-list-property.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelAddUniqueToProfileListPropertyInput = z.object({\n ip: z.number().int().describe(\"Controls geolocation. Set to 0 to disable geolocation, 1 to enable. Default is 1.\").optional(),\n data: z.array(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 token: z.string().describe(\"Your Mixpanel project authentication token. Required for authenticating the request.\"),\n union: z.record(z.string(), z.unknown()).describe(\"A JSON object containing key-value pairs where each key is a property name and each value is a list of items to union with that list property. Union adds values to a list property, excluding duplicates. If the property doesn't exist, it creates a new list with the provided values.\"),\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}).passthrough().describe(\"Individual profile update object for union operations on list properties.\")).describe(\"A list of profile update objects. Each object must contain $token, $distinct_id, and $union properties. The $union operation adds values to list properties without creating duplicates.\"),\n strict: z.number().int().describe(\"Enables validation with per-record error messages. Set to 1 to enable strict mode, 0 to disable. When enabled, returns detailed validation errors for each failed record.\").optional(),\n verbose: z.number().int().describe(\"Returns detailed response object. Set to 1 to get JSON response with status and error fields, 0 for plain text status (1 for success, 0 for failure). Default is 0.\").optional(),\n callback: z.string().describe(\"JSONP callback function name. Used for JSONP requests.\").optional(),\n}).describe(\"Request model for union operations on list properties in user profiles.\");\nexport const MixpanelAddUniqueToProfileListPropertyOutput = z.object({\n error: z.string().describe(\"Error message if the request failed, null if successful.\").nullable().optional(),\n status: z.union([z.string(), z.number().int()]),\n}).passthrough().describe(\"Response model for profile union operation.\");\n\nexport const mixpanelAddUniqueToProfileListProperty = action(\"MIXPANEL_ADD_UNIQUE_TO_PROFILE_LIST_PROPERTY\", {\n slug: \"mixpanel-add-unique-to-profile-list-property\",\n name: \"Add Unique Values to Profile List Property\",\n description: \"Tool to add unique values to list properties on user profiles in Mixpanel using the $union operation. Use when you need to add items to list-type properties without creating duplicates. Unlike $append, $union ensures values are unique in the list. If the property doesn't exist, it creates a new list with the provided values.\",\n input: MixpanelAddUniqueToProfileListPropertyInput,\n output: MixpanelAddUniqueToProfileListPropertyOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"add-unique-to-profile-list-property.mjs","names":[],"sources":["../../src/actions/add-unique-to-profile-list-property.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mixpanel } from \"../app\";\n\nexport const MixpanelAddUniqueToProfileListPropertyInput = z.object({\n ip: z.number().int().describe(\"Controls geolocation. Set to 0 to disable geolocation, 1 to enable. Default is 1.\").optional(),\n data: z.array(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 token: z.string().describe(\"Your Mixpanel project authentication token. Required for authenticating the request.\"),\n union: z.record(z.string(), z.unknown()).describe(\"A JSON object containing key-value pairs where each key is a property name and each value is a list of items to union with that list property. Union adds values to a list property, excluding duplicates. If the property doesn't exist, it creates a new list with the provided values.\"),\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}).passthrough().describe(\"Individual profile update object for union operations on list properties.\")).describe(\"A list of profile update objects. Each object must contain $token, $distinct_id, and $union properties. The $union operation adds values to list properties without creating duplicates.\"),\n strict: z.number().int().describe(\"Enables validation with per-record error messages. Set to 1 to enable strict mode, 0 to disable. When enabled, returns detailed validation errors for each failed record.\").optional(),\n verbose: z.number().int().describe(\"Returns detailed response object. Set to 1 to get JSON response with status and error fields, 0 for plain text status (1 for success, 0 for failure). Default is 0.\").optional(),\n callback: z.string().describe(\"JSONP callback function name. Used for JSONP requests.\").optional(),\n}).describe(\"Request model for union operations on list properties in user profiles.\");\nexport const MixpanelAddUniqueToProfileListPropertyOutput = z.object({\n error: z.string().describe(\"Error message if the request failed, null if successful.\").nullable().optional(),\n status: z.union([z.string(), z.number().int()]),\n}).passthrough().describe(\"Response model for profile union operation.\");\n\nexport const mixpanelAddUniqueToProfileListProperty: AppAction<\n typeof MixpanelAddUniqueToProfileListPropertyInput,\n typeof MixpanelAddUniqueToProfileListPropertyOutput,\n typeof mixpanel.credential\n> = action(\"MIXPANEL_ADD_UNIQUE_TO_PROFILE_LIST_PROPERTY\", {\n slug: \"mixpanel-add-unique-to-profile-list-property\",\n name: \"Add Unique Values to Profile List Property\",\n description: \"Tool to add unique values to list properties on user profiles in Mixpanel using the $union operation. Use when you need to add items to list-type properties without creating duplicates. Unlike $append, $union ensures values are unique in the list. If the property doesn't exist, it creates a new list with the provided values.\",\n input: MixpanelAddUniqueToProfileListPropertyInput,\n output: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AC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aggregate-events.cjs","names":["z","action"],"sources":["../../src/actions/aggregate-events.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelAggregateEventsInput = z.object({\n type: z.enum([\"general\", \"unique\", \"average\", \"sum\"]).default(\"general\").describe(\"Type of aggregation\").optional(),\n unit: z.enum([\"minute\", \"hour\", \"day\", \"week\", \"month\"]).default(\"day\").describe(\"Time unit for grouping results\").optional(),\n event: z.string().describe(\"Name of the event to analyze At least one of `event` or `events` must be provided per request; omitting both returns a 'Missing required parameter: event' error.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return\").optional(),\n where: z.string().describe(\"Expression to filter events\").optional(),\n events: z.array(z.string()).describe(\"List of event names to analyze\").optional(),\n to_date: z.string().describe(\"End date for the query (inclusive)\"),\n interval: z.number().int().describe(\"Time interval for the results in seconds\").optional(),\n from_date: z.string().describe(\"Start date for the query (inclusive)\"),\n project_id: z.number().int().describe(\"The ID of the project to query\"),\n workspace_id: z.number().int().describe(\"The ID of the workspace if applicable\").optional(),\n}).describe(\"Request model for getting aggregate event counts.\");\nconst MixpanelAggregateEvents_EventDataSchema = z.object({\n series: z.array(z.string()).describe(\"All dates included in values\"),\n values: z.record(z.string(), z.unknown()).describe(\"Keys are the names of events, each mapping to an object containing date-to-value mappings. Each event name maps to an object where keys are date strings (YYYY-MM-DD format) and values are numeric (int for general/unique aggregations, float for average/sum).\"),\n}).passthrough().describe(\"Model for event breakdown data structure\");\nexport const MixpanelAggregateEventsOutput = z.object({\n data: MixpanelAggregateEvents_EventDataSchema.nullable(),\n legend_size: z.number().int().describe(\"The number of events defined in values\").nullable(),\n}).passthrough().describe(\"Base response model for event breakdown data\");\n\nexport const mixpanelAggregateEvents = action(\"MIXPANEL_AGGREGATE_EVENTS\", {\n slug: \"mixpanel-aggregate-events\",\n name: \"Get Aggregate Events\",\n description: \"Get aggregate event counts over time. Supports different types of aggregation: general, unique, average, sum.\",\n input: MixpanelAggregateEventsInput,\n output: MixpanelAggregateEventsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"aggregate-events.cjs","names":["z","action"],"sources":["../../src/actions/aggregate-events.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mixpanel } from \"../app\";\n\nexport const MixpanelAggregateEventsInput = z.object({\n type: z.enum([\"general\", \"unique\", \"average\", \"sum\"]).default(\"general\").describe(\"Type of aggregation\").optional(),\n unit: z.enum([\"minute\", \"hour\", \"day\", \"week\", \"month\"]).default(\"day\").describe(\"Time unit for grouping results\").optional(),\n event: z.string().describe(\"Name of the event to analyze At least one of `event` or `events` must be provided per request; omitting both returns a 'Missing required parameter: event' error.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return\").optional(),\n where: z.string().describe(\"Expression to filter events\").optional(),\n events: z.array(z.string()).describe(\"List of event names to analyze\").optional(),\n to_date: z.string().describe(\"End date for the query (inclusive)\"),\n interval: z.number().int().describe(\"Time interval for the results in seconds\").optional(),\n from_date: z.string().describe(\"Start date for the query (inclusive)\"),\n project_id: z.number().int().describe(\"The ID of the project to query\"),\n workspace_id: z.number().int().describe(\"The ID of the workspace if applicable\").optional(),\n}).describe(\"Request model for getting aggregate event counts.\");\nconst MixpanelAggregateEvents_EventDataSchema = z.object({\n series: z.array(z.string()).describe(\"All dates included in values\"),\n values: z.record(z.string(), z.unknown()).describe(\"Keys are the names of events, each mapping to an object containing date-to-value mappings. Each event name maps to an object where keys are date strings (YYYY-MM-DD format) and values are numeric (int for general/unique aggregations, float for average/sum).\"),\n}).passthrough().describe(\"Model for event breakdown data structure\");\nexport const MixpanelAggregateEventsOutput = z.object({\n data: MixpanelAggregateEvents_EventDataSchema.nullable(),\n legend_size: z.number().int().describe(\"The number of events defined in values\").nullable(),\n}).passthrough().describe(\"Base response model for event breakdown data\");\n\nexport const mixpanelAggregateEvents: AppAction<\n typeof MixpanelAggregateEventsInput,\n typeof MixpanelAggregateEventsOutput,\n typeof mixpanel.credential\n> = action(\"MIXPANEL_AGGREGATE_EVENTS\", {\n slug: \"mixpanel-aggregate-events\",\n name: \"Get Aggregate Events\",\n description: \"Get aggregate event counts over time. Supports different types of aggregation: general, unique, average, sum.\",\n input: MixpanelAggregateEventsInput,\n output: MixpanelAggregateEventsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAU;EAAW;CAAK,CAAC,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAClH,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAQ;EAAO;EAAQ;CAAO,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC5H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mKAAmK,CAAC,CAAC,SAAS;CACzM,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACjF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACnE,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAChF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACjE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACzF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACrE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC;CACtE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8BAA8B;CACnE,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mQAAmQ;AACxT,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAM,wCAAwC,SAAS;CACvD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,0BAITC,eAAAA,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { mixpanel } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/aggregate-events.d.ts
|
|
@@ -32,19 +34,7 @@ declare const MixpanelAggregateEventsOutput: z.ZodObject<{
|
|
|
32
34
|
}, z.core.$loose>>;
|
|
33
35
|
legend_size: z.ZodNullable<z.ZodNumber>;
|
|
34
36
|
}, z.core.$loose>;
|
|
35
|
-
declare const mixpanelAggregateEvents:
|
|
36
|
-
to_date: string;
|
|
37
|
-
from_date: string;
|
|
38
|
-
project_id: number;
|
|
39
|
-
type?: "general" | "unique" | "average" | "sum" | undefined;
|
|
40
|
-
unit?: "minute" | "hour" | "day" | "week" | "month" | undefined;
|
|
41
|
-
event?: string | undefined;
|
|
42
|
-
limit?: number | undefined;
|
|
43
|
-
where?: string | undefined;
|
|
44
|
-
events?: string[] | undefined;
|
|
45
|
-
interval?: number | undefined;
|
|
46
|
-
workspace_id?: number | undefined;
|
|
47
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
37
|
+
declare const mixpanelAggregateEvents: AppAction<typeof MixpanelAggregateEventsInput, typeof MixpanelAggregateEventsOutput, typeof mixpanel.credential>;
|
|
48
38
|
//#endregion
|
|
49
39
|
export { mixpanelAggregateEvents };
|
|
50
40
|
//# sourceMappingURL=aggregate-events.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aggregate-events.d.cts","names":[],"sources":["../../src/actions/aggregate-events.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"aggregate-events.d.cts","names":[],"sources":["../../src/actions/aggregate-events.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAiB5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;cAK7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { mixpanel } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/aggregate-events.d.ts
|
|
@@ -32,19 +34,7 @@ declare const MixpanelAggregateEventsOutput: z.ZodObject<{
|
|
|
32
34
|
}, z.core.$loose>>;
|
|
33
35
|
legend_size: z.ZodNullable<z.ZodNumber>;
|
|
34
36
|
}, z.core.$loose>;
|
|
35
|
-
declare const mixpanelAggregateEvents:
|
|
36
|
-
to_date: string;
|
|
37
|
-
from_date: string;
|
|
38
|
-
project_id: number;
|
|
39
|
-
type?: "general" | "unique" | "average" | "sum" | undefined;
|
|
40
|
-
unit?: "minute" | "hour" | "day" | "week" | "month" | undefined;
|
|
41
|
-
event?: string | undefined;
|
|
42
|
-
limit?: number | undefined;
|
|
43
|
-
where?: string | undefined;
|
|
44
|
-
events?: string[] | undefined;
|
|
45
|
-
interval?: number | undefined;
|
|
46
|
-
workspace_id?: number | undefined;
|
|
47
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
37
|
+
declare const mixpanelAggregateEvents: AppAction<typeof MixpanelAggregateEventsInput, typeof MixpanelAggregateEventsOutput, typeof mixpanel.credential>;
|
|
48
38
|
//#endregion
|
|
49
39
|
export { mixpanelAggregateEvents };
|
|
50
40
|
//# sourceMappingURL=aggregate-events.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aggregate-events.d.mts","names":[],"sources":["../../src/actions/aggregate-events.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"aggregate-events.d.mts","names":[],"sources":["../../src/actions/aggregate-events.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAiB5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;cAK7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aggregate-events.mjs","names":[],"sources":["../../src/actions/aggregate-events.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelAggregateEventsInput = z.object({\n type: z.enum([\"general\", \"unique\", \"average\", \"sum\"]).default(\"general\").describe(\"Type of aggregation\").optional(),\n unit: z.enum([\"minute\", \"hour\", \"day\", \"week\", \"month\"]).default(\"day\").describe(\"Time unit for grouping results\").optional(),\n event: z.string().describe(\"Name of the event to analyze At least one of `event` or `events` must be provided per request; omitting both returns a 'Missing required parameter: event' error.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return\").optional(),\n where: z.string().describe(\"Expression to filter events\").optional(),\n events: z.array(z.string()).describe(\"List of event names to analyze\").optional(),\n to_date: z.string().describe(\"End date for the query (inclusive)\"),\n interval: z.number().int().describe(\"Time interval for the results in seconds\").optional(),\n from_date: z.string().describe(\"Start date for the query (inclusive)\"),\n project_id: z.number().int().describe(\"The ID of the project to query\"),\n workspace_id: z.number().int().describe(\"The ID of the workspace if applicable\").optional(),\n}).describe(\"Request model for getting aggregate event counts.\");\nconst MixpanelAggregateEvents_EventDataSchema = z.object({\n series: z.array(z.string()).describe(\"All dates included in values\"),\n values: z.record(z.string(), z.unknown()).describe(\"Keys are the names of events, each mapping to an object containing date-to-value mappings. Each event name maps to an object where keys are date strings (YYYY-MM-DD format) and values are numeric (int for general/unique aggregations, float for average/sum).\"),\n}).passthrough().describe(\"Model for event breakdown data structure\");\nexport const MixpanelAggregateEventsOutput = z.object({\n data: MixpanelAggregateEvents_EventDataSchema.nullable(),\n legend_size: z.number().int().describe(\"The number of events defined in values\").nullable(),\n}).passthrough().describe(\"Base response model for event breakdown data\");\n\nexport const mixpanelAggregateEvents = action(\"MIXPANEL_AGGREGATE_EVENTS\", {\n slug: \"mixpanel-aggregate-events\",\n name: \"Get Aggregate Events\",\n description: \"Get aggregate event counts over time. Supports different types of aggregation: general, unique, average, sum.\",\n input: MixpanelAggregateEventsInput,\n output: MixpanelAggregateEventsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"aggregate-events.mjs","names":[],"sources":["../../src/actions/aggregate-events.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mixpanel } from \"../app\";\n\nexport const MixpanelAggregateEventsInput = z.object({\n type: z.enum([\"general\", \"unique\", \"average\", \"sum\"]).default(\"general\").describe(\"Type of aggregation\").optional(),\n unit: z.enum([\"minute\", \"hour\", \"day\", \"week\", \"month\"]).default(\"day\").describe(\"Time unit for grouping results\").optional(),\n event: z.string().describe(\"Name of the event to analyze At least one of `event` or `events` must be provided per request; omitting both returns a 'Missing required parameter: event' error.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return\").optional(),\n where: z.string().describe(\"Expression to filter events\").optional(),\n events: z.array(z.string()).describe(\"List of event names to analyze\").optional(),\n to_date: z.string().describe(\"End date for the query (inclusive)\"),\n interval: z.number().int().describe(\"Time interval for the results in seconds\").optional(),\n from_date: z.string().describe(\"Start date for the query (inclusive)\"),\n project_id: z.number().int().describe(\"The ID of the project to query\"),\n workspace_id: z.number().int().describe(\"The ID of the workspace if applicable\").optional(),\n}).describe(\"Request model for getting aggregate event counts.\");\nconst MixpanelAggregateEvents_EventDataSchema = z.object({\n series: z.array(z.string()).describe(\"All dates included in values\"),\n values: z.record(z.string(), z.unknown()).describe(\"Keys are the names of events, each mapping to an object containing date-to-value mappings. Each event name maps to an object where keys are date strings (YYYY-MM-DD format) and values are numeric (int for general/unique aggregations, float for average/sum).\"),\n}).passthrough().describe(\"Model for event breakdown data structure\");\nexport const MixpanelAggregateEventsOutput = z.object({\n data: MixpanelAggregateEvents_EventDataSchema.nullable(),\n legend_size: z.number().int().describe(\"The number of events defined in values\").nullable(),\n}).passthrough().describe(\"Base response model for event breakdown data\");\n\nexport const mixpanelAggregateEvents: AppAction<\n typeof MixpanelAggregateEventsInput,\n typeof MixpanelAggregateEventsOutput,\n typeof mixpanel.credential\n> = action(\"MIXPANEL_AGGREGATE_EVENTS\", {\n slug: \"mixpanel-aggregate-events\",\n name: \"Get Aggregate Events\",\n description: \"Get aggregate event counts over time. Supports different types of aggregation: general, unique, average, sum.\",\n input: MixpanelAggregateEventsInput,\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AACxT,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAMpE,MAAa,0BAIT,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd2C,EAAE,OAAO;EACpD,MAAM,wCAAwC,SAAS;EACvD,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aggregated-event-property-values.cjs","names":["z","action"],"sources":["../../src/actions/aggregated-event-property-values.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelAggregatedEventPropertyValuesInput = z.object({\n name: z.string().describe(\"The name of the property you would like to get data for\"),\n type: z.enum([\"general\", \"unique\", \"average\"]).describe(\"The analysis type you would like to get data for\"),\n unit: z.enum([\"minute\", \"hour\", \"day\", \"week\", \"month\"]).describe(\"The level of granularity of the data\"),\n event: z.string().describe(\"The event that you wish to get data for. Note: this is a single event name, not an array\"),\n limit: z.number().int().default(255).describe(\"The maximum number of values to return\").optional(),\n format: z.enum([\"json\", \"csv\"]).default(\"json\").describe(\"Data format options for Mixpanel responses.\").optional(),\n values: z.array(z.string()).describe(\"The specific property values that you would like to get data for. Example: ['female', 'unknown']\").optional(),\n to_date: z.string().describe(\"The date in yyyy-mm-dd format to query to (inclusive)\").optional(),\n interval: z.number().int().describe(\"The number of units to return data for. Specify either interval or from_date and to_date\").optional(),\n from_date: z.string().describe(\"The date in yyyy-mm-dd format to begin querying from (inclusive)\").optional(),\n project_id: z.number().int().describe(\"Required if using service account to authenticate request\"),\n workspace_id: z.number().int().describe(\"The id of the workspace if applicable\").optional(),\n}).describe(\"Request model for getting aggregated event property values\");\nconst MixpanelAggregatedEventPropertyValues_SeriesDataSchema = z.object({\n series: z.array(z.string()).describe(\"Array of series data\"),\n values: z.record(z.string(), z.unknown()).describe(\"Values data\"),\n}).passthrough().describe(\"Model for series data\");\nexport const MixpanelAggregatedEventPropertyValuesOutput = z.object({\n data: MixpanelAggregatedEventPropertyValues_SeriesDataSchema.nullable(),\n legend_size: z.number().int().describe(\"Size of the legend\").nullable(),\n}).passthrough().describe(\"Response model for aggregated event property values data\");\n\nexport const mixpanelAggregatedEventPropertyValues = action(\"MIXPANEL_AGGREGATED_EVENT_PROPERTY_VALUES\", {\n slug: \"mixpanel-aggregated-event-property-values\",\n name: \"Get Aggregated Event Property Values\",\n description: \"Get unique, total, or average data for a single event and property over days, weeks, or months. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.\",\n input: MixpanelAggregatedEventPropertyValuesInput,\n output: MixpanelAggregatedEventPropertyValuesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"aggregated-event-property-values.cjs","names":["z","action"],"sources":["../../src/actions/aggregated-event-property-values.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mixpanel } from \"../app\";\n\nexport const MixpanelAggregatedEventPropertyValuesInput = z.object({\n name: z.string().describe(\"The name of the property you would like to get data for\"),\n type: z.enum([\"general\", \"unique\", \"average\"]).describe(\"The analysis type you would like to get data for\"),\n unit: z.enum([\"minute\", \"hour\", \"day\", \"week\", \"month\"]).describe(\"The level of granularity of the data\"),\n event: z.string().describe(\"The event that you wish to get data for. Note: this is a single event name, not an array\"),\n limit: z.number().int().default(255).describe(\"The maximum number of values to return\").optional(),\n format: z.enum([\"json\", \"csv\"]).default(\"json\").describe(\"Data format options for Mixpanel responses.\").optional(),\n values: z.array(z.string()).describe(\"The specific property values that you would like to get data for. Example: ['female', 'unknown']\").optional(),\n to_date: z.string().describe(\"The date in yyyy-mm-dd format to query to (inclusive)\").optional(),\n interval: z.number().int().describe(\"The number of units to return data for. Specify either interval or from_date and to_date\").optional(),\n from_date: z.string().describe(\"The date in yyyy-mm-dd format to begin querying from (inclusive)\").optional(),\n project_id: z.number().int().describe(\"Required if using service account to authenticate request\"),\n workspace_id: z.number().int().describe(\"The id of the workspace if applicable\").optional(),\n}).describe(\"Request model for getting aggregated event property values\");\nconst MixpanelAggregatedEventPropertyValues_SeriesDataSchema = z.object({\n series: z.array(z.string()).describe(\"Array of series data\"),\n values: z.record(z.string(), z.unknown()).describe(\"Values data\"),\n}).passthrough().describe(\"Model for series data\");\nexport const MixpanelAggregatedEventPropertyValuesOutput = z.object({\n data: MixpanelAggregatedEventPropertyValues_SeriesDataSchema.nullable(),\n legend_size: z.number().int().describe(\"Size of the legend\").nullable(),\n}).passthrough().describe(\"Response model for aggregated event property values data\");\n\nexport const mixpanelAggregatedEventPropertyValues: AppAction<\n typeof MixpanelAggregatedEventPropertyValuesInput,\n typeof MixpanelAggregatedEventPropertyValuesOutput,\n typeof mixpanel.credential\n> = action(\"MIXPANEL_AGGREGATED_EVENT_PROPERTY_VALUES\", {\n slug: \"mixpanel-aggregated-event-property-values\",\n name: \"Get Aggregated Event Property Values\",\n description: \"Get unique, total, or average data for a single event and property over days, weeks, or months. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.\",\n input: MixpanelAggregatedEventPropertyValuesInput,\n output: MixpanelAggregatedEventPropertyValuesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6CAA6CA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACnF,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAU;CAAS,CAAC,CAAC,CAAC,SAAS,kDAAkD;CAC1G,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAQ;EAAO;EAAQ;CAAO,CAAC,CAAC,CAAC,SAAS,sCAAsC;CACxG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F;CACrH,OAAOA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,oBAAoB,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AAEpF,MAAa,wCAITC,eAAAA,OAAO,6CAA6C;CACtD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { mixpanel } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/aggregated-event-property-values.d.ts
|
|
@@ -35,20 +37,7 @@ declare const MixpanelAggregatedEventPropertyValuesOutput: z.ZodObject<{
|
|
|
35
37
|
}, z.core.$loose>>;
|
|
36
38
|
legend_size: z.ZodNullable<z.ZodNumber>;
|
|
37
39
|
}, z.core.$loose>;
|
|
38
|
-
declare const mixpanelAggregatedEventPropertyValues:
|
|
39
|
-
name: string;
|
|
40
|
-
type: "general" | "unique" | "average";
|
|
41
|
-
unit: "minute" | "hour" | "day" | "week" | "month";
|
|
42
|
-
event: string;
|
|
43
|
-
project_id: number;
|
|
44
|
-
limit?: number | undefined;
|
|
45
|
-
format?: "json" | "csv" | undefined;
|
|
46
|
-
values?: string[] | undefined;
|
|
47
|
-
to_date?: string | undefined;
|
|
48
|
-
interval?: number | undefined;
|
|
49
|
-
from_date?: string | undefined;
|
|
50
|
-
workspace_id?: number | undefined;
|
|
51
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
40
|
+
declare const mixpanelAggregatedEventPropertyValues: AppAction<typeof MixpanelAggregatedEventPropertyValuesInput, typeof MixpanelAggregatedEventPropertyValuesOutput, typeof mixpanel.credential>;
|
|
52
41
|
//#endregion
|
|
53
42
|
export { mixpanelAggregatedEventPropertyValues };
|
|
54
43
|
//# sourceMappingURL=aggregated-event-property-values.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aggregated-event-property-values.d.cts","names":[],"sources":["../../src/actions/aggregated-event-property-values.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"aggregated-event-property-values.d.cts","names":[],"sources":["../../src/actions/aggregated-event-property-values.ts"],"mappings":";;;;;cAMa,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkB1C,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;cAK3C,qCAAA,EAAuC,SAAA,QAC3C,0CAAA,SACA,2CAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { mixpanel } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/aggregated-event-property-values.d.ts
|
|
@@ -35,20 +37,7 @@ declare const MixpanelAggregatedEventPropertyValuesOutput: z.ZodObject<{
|
|
|
35
37
|
}, z.core.$loose>>;
|
|
36
38
|
legend_size: z.ZodNullable<z.ZodNumber>;
|
|
37
39
|
}, z.core.$loose>;
|
|
38
|
-
declare const mixpanelAggregatedEventPropertyValues:
|
|
39
|
-
name: string;
|
|
40
|
-
type: "general" | "unique" | "average";
|
|
41
|
-
unit: "minute" | "hour" | "day" | "week" | "month";
|
|
42
|
-
event: string;
|
|
43
|
-
project_id: number;
|
|
44
|
-
limit?: number | undefined;
|
|
45
|
-
format?: "json" | "csv" | undefined;
|
|
46
|
-
values?: string[] | undefined;
|
|
47
|
-
to_date?: string | undefined;
|
|
48
|
-
interval?: number | undefined;
|
|
49
|
-
from_date?: string | undefined;
|
|
50
|
-
workspace_id?: number | undefined;
|
|
51
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
40
|
+
declare const mixpanelAggregatedEventPropertyValues: AppAction<typeof MixpanelAggregatedEventPropertyValuesInput, typeof MixpanelAggregatedEventPropertyValuesOutput, typeof mixpanel.credential>;
|
|
52
41
|
//#endregion
|
|
53
42
|
export { mixpanelAggregatedEventPropertyValues };
|
|
54
43
|
//# sourceMappingURL=aggregated-event-property-values.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aggregated-event-property-values.d.mts","names":[],"sources":["../../src/actions/aggregated-event-property-values.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"aggregated-event-property-values.d.mts","names":[],"sources":["../../src/actions/aggregated-event-property-values.ts"],"mappings":";;;;;cAMa,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkB1C,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;cAK3C,qCAAA,EAAuC,SAAA,QAC3C,0CAAA,SACA,2CAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aggregated-event-property-values.mjs","names":[],"sources":["../../src/actions/aggregated-event-property-values.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelAggregatedEventPropertyValuesInput = z.object({\n name: z.string().describe(\"The name of the property you would like to get data for\"),\n type: z.enum([\"general\", \"unique\", \"average\"]).describe(\"The analysis type you would like to get data for\"),\n unit: z.enum([\"minute\", \"hour\", \"day\", \"week\", \"month\"]).describe(\"The level of granularity of the data\"),\n event: z.string().describe(\"The event that you wish to get data for. Note: this is a single event name, not an array\"),\n limit: z.number().int().default(255).describe(\"The maximum number of values to return\").optional(),\n format: z.enum([\"json\", \"csv\"]).default(\"json\").describe(\"Data format options for Mixpanel responses.\").optional(),\n values: z.array(z.string()).describe(\"The specific property values that you would like to get data for. Example: ['female', 'unknown']\").optional(),\n to_date: z.string().describe(\"The date in yyyy-mm-dd format to query to (inclusive)\").optional(),\n interval: z.number().int().describe(\"The number of units to return data for. Specify either interval or from_date and to_date\").optional(),\n from_date: z.string().describe(\"The date in yyyy-mm-dd format to begin querying from (inclusive)\").optional(),\n project_id: z.number().int().describe(\"Required if using service account to authenticate request\"),\n workspace_id: z.number().int().describe(\"The id of the workspace if applicable\").optional(),\n}).describe(\"Request model for getting aggregated event property values\");\nconst MixpanelAggregatedEventPropertyValues_SeriesDataSchema = z.object({\n series: z.array(z.string()).describe(\"Array of series data\"),\n values: z.record(z.string(), z.unknown()).describe(\"Values data\"),\n}).passthrough().describe(\"Model for series data\");\nexport const MixpanelAggregatedEventPropertyValuesOutput = z.object({\n data: MixpanelAggregatedEventPropertyValues_SeriesDataSchema.nullable(),\n legend_size: z.number().int().describe(\"Size of the legend\").nullable(),\n}).passthrough().describe(\"Response model for aggregated event property values data\");\n\nexport const mixpanelAggregatedEventPropertyValues = action(\"MIXPANEL_AGGREGATED_EVENT_PROPERTY_VALUES\", {\n slug: \"mixpanel-aggregated-event-property-values\",\n name: \"Get Aggregated Event Property Values\",\n description: \"Get unique, total, or average data for a single event and property over days, weeks, or months. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.\",\n input: MixpanelAggregatedEventPropertyValuesInput,\n output: MixpanelAggregatedEventPropertyValuesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"aggregated-event-property-values.mjs","names":[],"sources":["../../src/actions/aggregated-event-property-values.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mixpanel } from \"../app\";\n\nexport const MixpanelAggregatedEventPropertyValuesInput = z.object({\n name: z.string().describe(\"The name of the property you would like to get data for\"),\n type: z.enum([\"general\", \"unique\", \"average\"]).describe(\"The analysis type you would like to get data for\"),\n unit: z.enum([\"minute\", \"hour\", \"day\", \"week\", \"month\"]).describe(\"The level of granularity of the data\"),\n event: z.string().describe(\"The event that you wish to get data for. Note: this is a single event name, not an array\"),\n limit: z.number().int().default(255).describe(\"The maximum number of values to return\").optional(),\n format: z.enum([\"json\", \"csv\"]).default(\"json\").describe(\"Data format options for Mixpanel responses.\").optional(),\n values: z.array(z.string()).describe(\"The specific property values that you would like to get data for. Example: ['female', 'unknown']\").optional(),\n to_date: z.string().describe(\"The date in yyyy-mm-dd format to query to (inclusive)\").optional(),\n interval: z.number().int().describe(\"The number of units to return data for. Specify either interval or from_date and to_date\").optional(),\n from_date: z.string().describe(\"The date in yyyy-mm-dd format to begin querying from (inclusive)\").optional(),\n project_id: z.number().int().describe(\"Required if using service account to authenticate request\"),\n workspace_id: z.number().int().describe(\"The id of the workspace if applicable\").optional(),\n}).describe(\"Request model for getting aggregated event property values\");\nconst MixpanelAggregatedEventPropertyValues_SeriesDataSchema = z.object({\n series: z.array(z.string()).describe(\"Array of series data\"),\n values: z.record(z.string(), z.unknown()).describe(\"Values data\"),\n}).passthrough().describe(\"Model for series data\");\nexport const MixpanelAggregatedEventPropertyValuesOutput = z.object({\n data: MixpanelAggregatedEventPropertyValues_SeriesDataSchema.nullable(),\n legend_size: z.number().int().describe(\"Size of the legend\").nullable(),\n}).passthrough().describe(\"Response model for aggregated event property values data\");\n\nexport const mixpanelAggregatedEventPropertyValues: AppAction<\n typeof MixpanelAggregatedEventPropertyValuesInput,\n typeof MixpanelAggregatedEventPropertyValuesOutput,\n typeof mixpanel.credential\n> = action(\"MIXPANEL_AGGREGATED_EVENT_PROPERTY_VALUES\", {\n slug: \"mixpanel-aggregated-event-property-values\",\n name: \"Get Aggregated Event Property Values\",\n description: \"Get unique, total, or average data for a single event and property over days, weeks, or months. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.\",\n input: MixpanelAggregatedEventPropertyValuesInput,\n output: MixpanelAggregatedEventPropertyValuesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6CAA6C,EAAE,OAAO;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACnF,MAAM,EAAE,KAAK;EAAC;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;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdyD,EAAE,OAAO;EAClE,MAAM,uDAAuD,SAAS;EACtE,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cohorts-list.cjs","names":["z","action"],"sources":["../../src/actions/cohorts-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelCohortsListInput = z.object({\n project_id: z.number().int().describe(\"The ID of the project to query. Required for listing cohorts.\"),\n workspace_id: z.number().int().describe(\"The ID of the workspace if applicable.\").optional(),\n}).describe(\"Request model for listing cohorts from Mixpanel.\");\nconst MixpanelCohortsList_CohortItemSchema = z.object({\n id: z.number().int().describe(\"Unique cohort identifier\").nullable(),\n name: z.string().describe(\"The cohort's display name\").nullable(),\n count: z.number().int().describe(\"Number of users in the cohort\").nullable(),\n created: z.string().describe(\"Creation timestamp\").nullable(),\n is_visible: z.number().int().describe(\"Visibility status flag (0 = not visible, 1 = visible)\").nullable(),\n project_id: z.number().int().describe(\"Associated project ID\").nullable(),\n description: z.string().describe(\"Cohort description/details\").nullable().optional(),\n}).passthrough().describe(\"Individual cohort details.\");\nexport const MixpanelCohortsListOutput = z.object({\n cohorts: z.array(MixpanelCohortsList_CohortItemSchema).describe(\"List of cohorts in the project\").nullable().optional(),\n}).passthrough().describe(\"Response model for list cohorts data.\");\n\nexport const mixpanelCohortsList = action(\"MIXPANEL_COHORTS_LIST\", {\n slug: \"mixpanel-cohorts-list\",\n name: \"List Saved Cohorts\",\n description: \"Tool to list all saved cohorts in a Mixpanel project. Use when you need to retrieve cohort metadata including name, id, count, description, creation date, and visibility. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.\",\n input: MixpanelCohortsListInput,\n output: MixpanelCohortsListOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"cohorts-list.cjs","names":["z","action"],"sources":["../../src/actions/cohorts-list.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mixpanel } from \"../app\";\n\nexport const MixpanelCohortsListInput = z.object({\n project_id: z.number().int().describe(\"The ID of the project to query. Required for listing cohorts.\"),\n workspace_id: z.number().int().describe(\"The ID of the workspace if applicable.\").optional(),\n}).describe(\"Request model for listing cohorts from Mixpanel.\");\nconst MixpanelCohortsList_CohortItemSchema = z.object({\n id: z.number().int().describe(\"Unique cohort identifier\").nullable(),\n name: z.string().describe(\"The cohort's display name\").nullable(),\n count: z.number().int().describe(\"Number of users in the cohort\").nullable(),\n created: z.string().describe(\"Creation timestamp\").nullable(),\n is_visible: z.number().int().describe(\"Visibility status flag (0 = not visible, 1 = visible)\").nullable(),\n project_id: z.number().int().describe(\"Associated project ID\").nullable(),\n description: z.string().describe(\"Cohort description/details\").nullable().optional(),\n}).passthrough().describe(\"Individual cohort details.\");\nexport const MixpanelCohortsListOutput = z.object({\n cohorts: z.array(MixpanelCohortsList_CohortItemSchema).describe(\"List of cohorts in the project\").nullable().optional(),\n}).passthrough().describe(\"Response model for list cohorts data.\");\n\nexport const mixpanelCohortsList: AppAction<\n typeof MixpanelCohortsListInput,\n typeof MixpanelCohortsListOutput,\n typeof mixpanel.credential\n> = action(\"MIXPANEL_COHORTS_LIST\", {\n slug: \"mixpanel-cohorts-list\",\n name: \"List Saved Cohorts\",\n description: \"Tool to list all saved cohorts in a Mixpanel project. Use when you need to retrieve cohort metadata including name, id, count, description, creation date, and visibility. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.\",\n input: MixpanelCohortsListInput,\n output: MixpanelCohortsListOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,YAAYA,IAA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"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { mixpanel } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/cohorts-list.d.ts
|
|
@@ -16,10 +18,7 @@ declare const MixpanelCohortsListOutput: z.ZodObject<{
|
|
|
16
18
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
19
|
}, z.core.$loose>>>>;
|
|
18
20
|
}, z.core.$loose>;
|
|
19
|
-
declare const mixpanelCohortsList:
|
|
20
|
-
project_id: number;
|
|
21
|
-
workspace_id?: number | undefined;
|
|
22
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
21
|
+
declare const mixpanelCohortsList: AppAction<typeof MixpanelCohortsListInput, typeof MixpanelCohortsListOutput, typeof mixpanel.credential>;
|
|
23
22
|
//#endregion
|
|
24
23
|
export { mixpanelCohortsList };
|
|
25
24
|
//# sourceMappingURL=cohorts-list.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cohorts-list.d.cts","names":[],"sources":["../../src/actions/cohorts-list.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"cohorts-list.d.cts","names":[],"sources":["../../src/actions/cohorts-list.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAaxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;cAIzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { mixpanel } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/cohorts-list.d.ts
|
|
@@ -16,10 +18,7 @@ declare const MixpanelCohortsListOutput: z.ZodObject<{
|
|
|
16
18
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
19
|
}, z.core.$loose>>>>;
|
|
18
20
|
}, z.core.$loose>;
|
|
19
|
-
declare const mixpanelCohortsList:
|
|
20
|
-
project_id: number;
|
|
21
|
-
workspace_id?: number | undefined;
|
|
22
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
21
|
+
declare const mixpanelCohortsList: AppAction<typeof MixpanelCohortsListInput, typeof MixpanelCohortsListOutput, typeof mixpanel.credential>;
|
|
23
22
|
//#endregion
|
|
24
23
|
export { mixpanelCohortsList };
|
|
25
24
|
//# sourceMappingURL=cohorts-list.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cohorts-list.d.mts","names":[],"sources":["../../src/actions/cohorts-list.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"cohorts-list.d.mts","names":[],"sources":["../../src/actions/cohorts-list.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAaxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;cAIzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cohorts-list.mjs","names":[],"sources":["../../src/actions/cohorts-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelCohortsListInput = z.object({\n project_id: z.number().int().describe(\"The ID of the project to query. Required for listing cohorts.\"),\n workspace_id: z.number().int().describe(\"The ID of the workspace if applicable.\").optional(),\n}).describe(\"Request model for listing cohorts from Mixpanel.\");\nconst MixpanelCohortsList_CohortItemSchema = z.object({\n id: z.number().int().describe(\"Unique cohort identifier\").nullable(),\n name: z.string().describe(\"The cohort's display name\").nullable(),\n count: z.number().int().describe(\"Number of users in the cohort\").nullable(),\n created: z.string().describe(\"Creation timestamp\").nullable(),\n is_visible: z.number().int().describe(\"Visibility status flag (0 = not visible, 1 = visible)\").nullable(),\n project_id: z.number().int().describe(\"Associated project ID\").nullable(),\n description: z.string().describe(\"Cohort description/details\").nullable().optional(),\n}).passthrough().describe(\"Individual cohort details.\");\nexport const MixpanelCohortsListOutput = z.object({\n cohorts: z.array(MixpanelCohortsList_CohortItemSchema).describe(\"List of cohorts in the project\").nullable().optional(),\n}).passthrough().describe(\"Response model for list cohorts data.\");\n\nexport const mixpanelCohortsList = action(\"MIXPANEL_COHORTS_LIST\", {\n slug: \"mixpanel-cohorts-list\",\n name: \"List Saved Cohorts\",\n description: \"Tool to list all saved cohorts in a Mixpanel project. Use when you need to retrieve cohort metadata including name, id, count, description, creation date, and visibility. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.\",\n input: MixpanelCohortsListInput,\n output: MixpanelCohortsListOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"cohorts-list.mjs","names":[],"sources":["../../src/actions/cohorts-list.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mixpanel } from \"../app\";\n\nexport const MixpanelCohortsListInput = z.object({\n project_id: z.number().int().describe(\"The ID of the project to query. Required for listing cohorts.\"),\n workspace_id: z.number().int().describe(\"The ID of the workspace if applicable.\").optional(),\n}).describe(\"Request model for listing cohorts from Mixpanel.\");\nconst MixpanelCohortsList_CohortItemSchema = z.object({\n id: z.number().int().describe(\"Unique cohort identifier\").nullable(),\n name: z.string().describe(\"The cohort's display name\").nullable(),\n count: z.number().int().describe(\"Number of users in the cohort\").nullable(),\n created: z.string().describe(\"Creation timestamp\").nullable(),\n is_visible: z.number().int().describe(\"Visibility status flag (0 = not visible, 1 = visible)\").nullable(),\n project_id: z.number().int().describe(\"Associated project ID\").nullable(),\n description: z.string().describe(\"Cohort description/details\").nullable().optional(),\n}).passthrough().describe(\"Individual cohort details.\");\nexport const MixpanelCohortsListOutput = z.object({\n cohorts: z.array(MixpanelCohortsList_CohortItemSchema).describe(\"List of cohorts in the project\").nullable().optional(),\n}).passthrough().describe(\"Response model for list cohorts data.\");\n\nexport const mixpanelCohortsList: AppAction<\n typeof MixpanelCohortsListInput,\n typeof MixpanelCohortsListOutput,\n typeof mixpanel.credential\n> = action(\"MIXPANEL_COHORTS_LIST\", {\n slug: \"mixpanel-cohorts-list\",\n name: \"List Saved Cohorts\",\n description: \"Tool to list all saved cohorts in a Mixpanel project. Use when you need to retrieve cohort metadata including name, id, count, description, creation date, and visibility. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.\",\n input: MixpanelCohortsListInput,\n output: MixpanelCohortsListOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D;CACrG,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,uCAAuC,EAAE,OAAO;CACpD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAChE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC3E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CAC5D,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACxG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACxE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4BAA4B;AAKtD,MAAa,sBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbuC,EAAE,OAAO,EAChD,SAAS,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-annotation-tag.cjs","names":["z","action"],"sources":["../../src/actions/create-annotation-tag.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelCreateAnnotationTagInput = z.object({\n name: z.string().describe(\"The name of the annotation tag to create\"),\n project_id: z.string().describe(\"The project identifier where the annotation tag will be created\"),\n}).describe(\"Request model for creating a new annotation tag in Mixpanel.\");\nexport const MixpanelCreateAnnotationTagOutput = z.object({\n id: z.number().int().describe(\"The unique identifier of the created annotation tag\").nullable(),\n name: z.string().describe(\"The name of the created annotation tag\").nullable(),\n project_id: z.number().int().describe(\"The project identifier this tag belongs to\").nullable(),\n has_annotations: z.boolean().default(false).describe(\"Indicates whether the tag is currently attached to any annotations\").nullable().optional(),\n}).passthrough().describe(\"Response model for the created annotation tag.\");\n\nexport const mixpanelCreateAnnotationTag = action(\"MIXPANEL_CREATE_ANNOTATION_TAG\", {\n slug: \"mixpanel-create-annotation-tag\",\n name: \"Create Annotation Tag\",\n description: \"Tool to create a new annotation tag in Mixpanel using the provided name. Use when you need to create tags for organizing and categorizing annotations. Requires a role of at least Analyst.\",\n input: MixpanelCreateAnnotationTagInput,\n output: MixpanelCreateAnnotationTagOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-annotation-tag.cjs","names":["z","action"],"sources":["../../src/actions/create-annotation-tag.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { mixpanel } from \"../app\";\n\nexport const MixpanelCreateAnnotationTagInput = z.object({\n name: z.string().describe(\"The name of the annotation tag to create\"),\n project_id: z.string().describe(\"The project identifier where the annotation tag will be created\"),\n}).describe(\"Request model for creating a new annotation tag in Mixpanel.\");\nexport const MixpanelCreateAnnotationTagOutput = z.object({\n id: z.number().int().describe(\"The unique identifier of the created annotation tag\").nullable(),\n name: z.string().describe(\"The name of the created annotation tag\").nullable(),\n project_id: z.number().int().describe(\"The project identifier this tag belongs to\").nullable(),\n has_annotations: z.boolean().default(false).describe(\"Indicates whether the tag is currently attached to any annotations\").nullable().optional(),\n}).passthrough().describe(\"Response model for the created annotation tag.\");\n\nexport const mixpanelCreateAnnotationTag: AppAction<\n typeof MixpanelCreateAnnotationTagInput,\n typeof MixpanelCreateAnnotationTagOutput,\n typeof mixpanel.credential\n> = action(\"MIXPANEL_CREATE_ANNOTATION_TAG\", {\n slug: \"mixpanel-create-annotation-tag\",\n name: \"Create Annotation Tag\",\n description: \"Tool to create a new annotation tag in Mixpanel using the provided name. Use when you need to create tags for organizing and categorizing annotations. Requires a role of at least Analyst.\",\n input: MixpanelCreateAnnotationTagInput,\n output: MixpanelCreateAnnotationTagOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CACpE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;AACnG,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC9F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC7E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC7F,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,MAAa,8BAITC,eAAAA,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { mixpanel } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-annotation-tag.d.ts
|
|
@@ -11,10 +13,7 @@ declare const MixpanelCreateAnnotationTagOutput: z.ZodObject<{
|
|
|
11
13
|
project_id: z.ZodNullable<z.ZodNumber>;
|
|
12
14
|
has_annotations: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
13
15
|
}, z.core.$loose>;
|
|
14
|
-
declare const mixpanelCreateAnnotationTag:
|
|
15
|
-
name: string;
|
|
16
|
-
project_id: string;
|
|
17
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
16
|
+
declare const mixpanelCreateAnnotationTag: AppAction<typeof MixpanelCreateAnnotationTagInput, typeof MixpanelCreateAnnotationTagOutput, typeof mixpanel.credential>;
|
|
18
17
|
//#endregion
|
|
19
18
|
export { mixpanelCreateAnnotationTag };
|
|
20
19
|
//# sourceMappingURL=create-annotation-tag.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-annotation-tag.d.cts","names":[],"sources":["../../src/actions/create-annotation-tag.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-annotation-tag.d.cts","names":[],"sources":["../../src/actions/create-annotation-tag.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAIhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;cAOjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { mixpanel } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-annotation-tag.d.ts
|
|
@@ -11,10 +13,7 @@ declare const MixpanelCreateAnnotationTagOutput: z.ZodObject<{
|
|
|
11
13
|
project_id: z.ZodNullable<z.ZodNumber>;
|
|
12
14
|
has_annotations: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
13
15
|
}, z.core.$loose>;
|
|
14
|
-
declare const mixpanelCreateAnnotationTag:
|
|
15
|
-
name: string;
|
|
16
|
-
project_id: string;
|
|
17
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
16
|
+
declare const mixpanelCreateAnnotationTag: AppAction<typeof MixpanelCreateAnnotationTagInput, typeof MixpanelCreateAnnotationTagOutput, typeof mixpanel.credential>;
|
|
18
17
|
//#endregion
|
|
19
18
|
export { mixpanelCreateAnnotationTag };
|
|
20
19
|
//# sourceMappingURL=create-annotation-tag.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-annotation-tag.d.mts","names":[],"sources":["../../src/actions/create-annotation-tag.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-annotation-tag.d.mts","names":[],"sources":["../../src/actions/create-annotation-tag.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAIhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;cAOjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,QAAA,CAAS,UAAA"}
|