@keystrokehq/mixpanel 0.1.4 → 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 -30
- 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 -30
- 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 -29
- package/dist/actions/aggregate-events.d.cts.map +1 -1
- package/dist/actions/aggregate-events.d.mts +3 -29
- 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 -30
- package/dist/actions/aggregated-event-property-values.d.cts.map +1 -1
- package/dist/actions/aggregated-event-property-values.d.mts +3 -30
- 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 -20
- package/dist/actions/cohorts-list.d.cts.map +1 -1
- package/dist/actions/cohorts-list.d.mts +3 -20
- 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 -20
- package/dist/actions/create-annotation-tag.d.cts.map +1 -1
- package/dist/actions/create-annotation-tag.d.mts +3 -20
- 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 -23
- package/dist/actions/create-identity.d.cts.map +1 -1
- package/dist/actions/create-identity.d.mts +3 -23
- 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 -27
- package/dist/actions/create-service-account.d.cts.map +1 -1
- package/dist/actions/create-service-account.d.mts +3 -27
- 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 -22
- package/dist/actions/delete-group.d.cts.map +1 -1
- package/dist/actions/delete-group.d.mts +3 -22
- 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 -25
- package/dist/actions/delete-profile-batch.d.cts.map +1 -1
- package/dist/actions/delete-profile-batch.d.mts +3 -25
- 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 -25
- package/dist/actions/delete-profile-property.d.cts.map +1 -1
- package/dist/actions/delete-profile-property.d.mts +3 -25
- 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 -23
- package/dist/actions/delete-profile.d.cts.map +1 -1
- package/dist/actions/delete-profile.d.mts +3 -23
- 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 -17
- package/dist/actions/get-all-projects.d.cts.map +1 -1
- package/dist/actions/get-all-projects.d.mts +3 -17
- 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 -19
- package/dist/actions/get-annotation-tags-alt1.d.cts.map +1 -1
- package/dist/actions/get-annotation-tags-alt1.d.mts +3 -19
- 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 -31
- package/dist/actions/group-batch-update.d.cts.map +1 -1
- package/dist/actions/group-batch-update.d.mts +3 -31
- 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 -22
- package/dist/actions/group-delete-property.d.cts.map +1 -1
- package/dist/actions/group-delete-property.d.mts +3 -22
- 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 -21
- package/dist/actions/identity-create-alias.d.cts.map +1 -1
- package/dist/actions/identity-create-alias.d.mts +3 -21
- 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 -22
- package/dist/actions/jql-query.d.cts.map +1 -1
- package/dist/actions/jql-query.d.mts +3 -22
- 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 -20
- package/dist/actions/list-funnels.d.cts.map +1 -1
- package/dist/actions/list-funnels.d.mts +3 -20
- 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 -19
- package/dist/actions/list-service-accounts.d.cts.map +1 -1
- package/dist/actions/list-service-accounts.d.mts +3 -19
- 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 -27
- package/dist/actions/profile-append-to-list-property.d.cts.map +1 -1
- package/dist/actions/profile-append-to-list-property.d.mts +3 -27
- 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 -35
- package/dist/actions/profile-batch-update.d.cts.map +1 -1
- package/dist/actions/profile-batch-update.d.mts +3 -35
- 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 -23
- package/dist/actions/profile-event-activity.d.cts.map +1 -1
- package/dist/actions/profile-event-activity.d.mts +3 -23
- 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 -25
- package/dist/actions/profile-numerical-add.d.cts.map +1 -1
- package/dist/actions/profile-numerical-add.d.mts +3 -25
- 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 -27
- package/dist/actions/profile-remove-from-list-property.d.cts.map +1 -1
- package/dist/actions/profile-remove-from-list-property.d.mts +3 -27
- 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 -24
- package/dist/actions/profile-set.d.cts.map +1 -1
- package/dist/actions/profile-set.d.mts +3 -24
- 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 -28
- package/dist/actions/query-frequency-report.d.cts.map +1 -1
- package/dist/actions/query-frequency-report.d.mts +3 -28
- 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 -30
- package/dist/actions/query-funnel.d.cts.map +1 -1
- package/dist/actions/query-funnel.d.mts +3 -30
- 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 -21
- package/dist/actions/query-insight.d.cts.map +1 -1
- package/dist/actions/query-insight.d.mts +3 -21
- 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 -26
- package/dist/actions/query-numeric-average.d.cts.map +1 -1
- package/dist/actions/query-numeric-average.d.mts +3 -26
- 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 -26
- package/dist/actions/query-numeric-sum.d.cts.map +1 -1
- package/dist/actions/query-numeric-sum.d.mts +3 -26
- 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 -31
- package/dist/actions/query-profiles.d.cts.map +1 -1
- package/dist/actions/query-profiles.d.mts +3 -31
- 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 -32
- package/dist/actions/query-retention-report.d.cts.map +1 -1
- package/dist/actions/query-retention-report.d.mts +3 -32
- 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 -28
- package/dist/actions/query-segmentation.d.cts.map +1 -1
- package/dist/actions/query-segmentation.d.mts +3 -28
- 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 -22
- package/dist/actions/query-top-events.d.cts.map +1 -1
- package/dist/actions/query-top-events.d.mts +3 -22
- 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 -25
- package/dist/actions/remove-from-group-list-property.d.cts.map +1 -1
- package/dist/actions/remove-from-group-list-property.d.mts +3 -25
- 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 -24
- package/dist/actions/remove-from-list-property.d.cts.map +1 -1
- package/dist/actions/remove-from-list-property.d.mts +3 -24
- 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 -28
- package/dist/actions/segmentation-numeric-query.d.cts.map +1 -1
- package/dist/actions/segmentation-numeric-query.d.mts +3 -28
- 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 -22
- package/dist/actions/set-group-property-once.d.cts.map +1 -1
- package/dist/actions/set-group-property-once.d.mts +3 -22
- 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 -24
- package/dist/actions/set-profile-property-once.d.cts.map +1 -1
- package/dist/actions/set-profile-property-once.d.mts +3 -24
- 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 -22
- package/dist/actions/top-event-properties.d.cts.map +1 -1
- package/dist/actions/top-event-properties.d.mts +3 -22
- 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 -23
- package/dist/actions/top-event-property-values.d.cts.map +1 -1
- package/dist/actions/top-event-property-values.d.mts +3 -23
- 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 -22
- package/dist/actions/top-events.d.cts.map +1 -1
- package/dist/actions/top-events.d.mts +3 -22
- 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 -28
- package/dist/actions/update-group-list-property.d.cts.map +1 -1
- package/dist/actions/update-group-list-property.d.mts +3 -28
- 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 +6 -5
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- 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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-annotation-tags-alt1.mjs","names":[],"sources":["../../src/actions/get-annotation-tags-alt1.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelGetAnnotationTagsAlt1Input = z.object({\n project_id: z.string().describe(\"The unique identifier for the Mixpanel project\"),\n}).describe(\"Request model for getting annotation tags from a Mixpanel project.\");\nconst MixpanelGetAnnotationTagsAlt1_AnnotationTagSchema = z.object({\n id: z.number().int().describe(\"Unique tag identifier\").nullable(),\n name: z.string().describe(\"Display text for the tag when applied to annotations\").nullable(),\n project_id: z.number().int().describe(\"Associated project identifier\").nullable(),\n has_annotations: z.boolean().describe(\"Whether the tag is currently attached to any annotations\").nullable(),\n}).passthrough().describe(\"Model representing a single annotation tag.\");\nexport const MixpanelGetAnnotationTagsAlt1Output = z.object({\n tags: z.array(MixpanelGetAnnotationTagsAlt1_AnnotationTagSchema).describe(\"List of all tags that have been added to at least one annotation in the project\").nullable().optional(),\n}).passthrough().describe(\"Response model for annotation tags data.\");\n\nexport const mixpanelGetAnnotationTagsAlt1 = action(\"MIXPANEL_GET_ANNOTATION_TAGS_ALT1\", {\n slug: \"mixpanel-get-annotation-tags-alt1\",\n name: \"Get Annotation Tags\",\n description: \"Tool to get all annotation tags from a Mixpanel project. Use when you need to retrieve tags that have been added to annotations. Requires a role of at least Analyst.\",\n input: MixpanelGetAnnotationTagsAlt1Input,\n output: MixpanelGetAnnotationTagsAlt1Output,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-annotation-tags-alt1.mjs","names":[],"sources":["../../src/actions/get-annotation-tags-alt1.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 MixpanelGetAnnotationTagsAlt1Input = z.object({\n project_id: z.string().describe(\"The unique identifier for the Mixpanel project\"),\n}).describe(\"Request model for getting annotation tags from a Mixpanel project.\");\nconst MixpanelGetAnnotationTagsAlt1_AnnotationTagSchema = z.object({\n id: z.number().int().describe(\"Unique tag identifier\").nullable(),\n name: z.string().describe(\"Display text for the tag when applied to annotations\").nullable(),\n project_id: z.number().int().describe(\"Associated project identifier\").nullable(),\n has_annotations: z.boolean().describe(\"Whether the tag is currently attached to any annotations\").nullable(),\n}).passthrough().describe(\"Model representing a single annotation tag.\");\nexport const MixpanelGetAnnotationTagsAlt1Output = z.object({\n tags: z.array(MixpanelGetAnnotationTagsAlt1_AnnotationTagSchema).describe(\"List of all tags that have been added to at least one annotation in the project\").nullable().optional(),\n}).passthrough().describe(\"Response model for annotation tags data.\");\n\nexport const mixpanelGetAnnotationTagsAlt1: AppAction<\n typeof MixpanelGetAnnotationTagsAlt1Input,\n typeof MixpanelGetAnnotationTagsAlt1Output,\n typeof mixpanel.credential\n> = action(\"MIXPANEL_GET_ANNOTATION_TAGS_ALT1\", {\n slug: \"mixpanel-get-annotation-tags-alt1\",\n name: \"Get Annotation Tags\",\n description: \"Tool to get all annotation tags from a Mixpanel project. Use when you need to retrieve tags that have been added to annotations. Requires a role of at least Analyst.\",\n input: MixpanelGetAnnotationTagsAlt1Input,\n output: MixpanelGetAnnotationTagsAlt1Output,\n});\n"],"mappings":";;;;AAMA,MAAa,qCAAqC,EAAE,OAAO,EACzD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,EAClF,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAChF,MAAM,oDAAoD,EAAE,OAAO;CACjE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC3F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAChF,iBAAiB,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAKvE,MAAa,gCAIT,OAAO,qCAAqC;CAC9C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbiD,EAAE,OAAO,EAC1D,MAAM,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACnL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"group-batch-update.cjs","names":["z","action"],"sources":["../../src/actions/group-batch-update.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelGroupBatchUpdateInput = z.object({\n data: z.array(z.object({\n set: z.record(z.string(), z.unknown()).describe(\"Set or overwrite property values. Key-value pairs where keys are property names and values are the new values.\").optional(),\n token: z.string().describe(\"Your Mixpanel project token\"),\n union: z.record(z.string(), z.unknown()).describe(\"Add values to list properties, ensuring uniqueness. Keys are list property names, values are arrays to merge.\").optional(),\n unset: z.array(z.string()).describe(\"Delete specified properties from the group profile. Array of property names to remove.\").optional(),\n \"delete\": z.string().describe(\"Delete the entire group profile. Pass empty string to delete.\").optional(),\n remove: z.record(z.string(), z.unknown()).describe(\"Remove specific values from list properties. Keys are list property names, values are items to remove.\").optional(),\n group_id: z.string().describe(\"The unique identifier for the group\"),\n set_once: z.record(z.string(), z.unknown()).describe(\"Set property values only if they don't already exist. Key-value pairs.\").optional(),\n group_key: z.string().describe(\"The group category/type (e.g., 'company', 'organization')\"),\n}).passthrough().describe(\"Individual group profile update object.\")).describe(\"A list of group profile update objects. Each object contains the group identifiers and operations to perform.\"),\n response_format: z.enum([\"IP\", \"Strict\", \"Verbose\"]).describe(\"Controls response format. IP: returns '1' for valid data, Strict: returns error for any invalid records, Verbose: detailed response.\").optional(),\n}).describe(\"Request model for batch updating group profiles in Mixpanel.\");\nexport const MixpanelGroupBatchUpdateOutput = z.object({\n code: z.number().int().describe(\"HTTP status code\").nullable(),\n error: z.string().describe(\"Error message if the request failed\").nullable().optional(),\n status: z.string().describe(\"Status message indicating success or failure\").nullable(),\n}).passthrough().describe(\"Response model for group batch update operation.\");\n\nexport const mixpanelGroupBatchUpdate = action(\"MIXPANEL_GROUP_BATCH_UPDATE\", {\n slug: \"mixpanel-group-batch-update\",\n name: \"Batch Update Group Profiles\",\n description: \"Tool to send a batch of group profile updates to Mixpanel. Use when you need to update multiple group profiles in a single request. Supports operations like $set, $set_once, $union, $remove, $unset, and $delete. Note: $add is NOT supported for group profiles.\",\n input: MixpanelGroupBatchUpdateInput,\n output: MixpanelGroupBatchUpdateOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"group-batch-update.cjs","names":["z","action"],"sources":["../../src/actions/group-batch-update.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 MixpanelGroupBatchUpdateInput = z.object({\n data: z.array(z.object({\n set: z.record(z.string(), z.unknown()).describe(\"Set or overwrite property values. Key-value pairs where keys are property names and values are the new values.\").optional(),\n token: z.string().describe(\"Your Mixpanel project token\"),\n union: z.record(z.string(), z.unknown()).describe(\"Add values to list properties, ensuring uniqueness. Keys are list property names, values are arrays to merge.\").optional(),\n unset: z.array(z.string()).describe(\"Delete specified properties from the group profile. Array of property names to remove.\").optional(),\n \"delete\": z.string().describe(\"Delete the entire group profile. Pass empty string to delete.\").optional(),\n remove: z.record(z.string(), z.unknown()).describe(\"Remove specific values from list properties. Keys are list property names, values are items to remove.\").optional(),\n group_id: z.string().describe(\"The unique identifier for the group\"),\n set_once: z.record(z.string(), z.unknown()).describe(\"Set property values only if they don't already exist. Key-value pairs.\").optional(),\n group_key: z.string().describe(\"The group category/type (e.g., 'company', 'organization')\"),\n}).passthrough().describe(\"Individual group profile update object.\")).describe(\"A list of group profile update objects. Each object contains the group identifiers and operations to perform.\"),\n response_format: z.enum([\"IP\", \"Strict\", \"Verbose\"]).describe(\"Controls response format. IP: returns '1' for valid data, Strict: returns error for any invalid records, Verbose: detailed response.\").optional(),\n}).describe(\"Request model for batch updating group profiles in Mixpanel.\");\nexport const MixpanelGroupBatchUpdateOutput = z.object({\n code: z.number().int().describe(\"HTTP status code\").nullable(),\n error: z.string().describe(\"Error message if the request failed\").nullable().optional(),\n status: z.string().describe(\"Status message indicating success or failure\").nullable(),\n}).passthrough().describe(\"Response model for group batch update operation.\");\n\nexport const mixpanelGroupBatchUpdate: AppAction<\n typeof MixpanelGroupBatchUpdateInput,\n typeof MixpanelGroupBatchUpdateOutput,\n typeof mixpanel.credential\n> = action(\"MIXPANEL_GROUP_BATCH_UPDATE\", {\n slug: \"mixpanel-group-batch-update\",\n name: \"Batch Update Group Profiles\",\n description: \"Tool to send a batch of group profile updates to Mixpanel. Use when you need to update multiple group profiles in a single request. Supports operations like $set, $set_once, $union, $remove, $unset, and $delete. Note: $add is NOT supported for group profiles.\",\n input: MixpanelGroupBatchUpdateInput,\n output: MixpanelGroupBatchUpdateOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACvB,KAAKA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;EAC3K,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;EACxD,OAAOA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;EAC5K,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;EACvI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;EACxG,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;EACtK,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;EACnE,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;EACxI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,CAAC,SAAS,+GAA+G;CAC5L,iBAAiBA,IAAAA,EAAE,KAAK;EAAC;EAAM;EAAU;CAAS,CAAC,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS;AACjN,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CAC7D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,2BAITC,eAAAA,OAAO,+BAA+B;CACxC,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/group-batch-update.d.ts
|
|
@@ -24,37 +26,7 @@ declare const MixpanelGroupBatchUpdateOutput: z.ZodObject<{
|
|
|
24
26
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
27
|
status: z.ZodNullable<z.ZodString>;
|
|
26
28
|
}, z.core.$loose>;
|
|
27
|
-
declare const mixpanelGroupBatchUpdate:
|
|
28
|
-
data: {
|
|
29
|
-
[x: string]: unknown;
|
|
30
|
-
token: string;
|
|
31
|
-
group_id: string;
|
|
32
|
-
group_key: string;
|
|
33
|
-
set?: Record<string, unknown> | undefined;
|
|
34
|
-
union?: Record<string, unknown> | undefined;
|
|
35
|
-
unset?: string[] | undefined;
|
|
36
|
-
delete?: string | undefined;
|
|
37
|
-
remove?: Record<string, unknown> | undefined;
|
|
38
|
-
set_once?: Record<string, unknown> | undefined;
|
|
39
|
-
}[];
|
|
40
|
-
response_format?: "IP" | "Strict" | "Verbose" | undefined;
|
|
41
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
|
|
42
|
-
connectionId: z.ZodString;
|
|
43
|
-
entityId: z.ZodString;
|
|
44
|
-
instanceId: z.ZodString;
|
|
45
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
46
|
-
username: z.ZodString;
|
|
47
|
-
password: z.ZodString;
|
|
48
|
-
region: z.ZodString;
|
|
49
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
|
|
50
|
-
connectionId: z.ZodString;
|
|
51
|
-
entityId: z.ZodString;
|
|
52
|
-
instanceId: z.ZodString;
|
|
53
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
54
|
-
username: z.ZodString;
|
|
55
|
-
password: z.ZodString;
|
|
56
|
-
region: z.ZodString;
|
|
57
|
-
}, z.core.$strip>>]>;
|
|
29
|
+
declare const mixpanelGroupBatchUpdate: AppAction<typeof MixpanelGroupBatchUpdateInput, typeof MixpanelGroupBatchUpdateOutput, typeof mixpanel.credential>;
|
|
58
30
|
//#endregion
|
|
59
31
|
export { mixpanelGroupBatchUpdate };
|
|
60
32
|
//# sourceMappingURL=group-batch-update.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"group-batch-update.d.cts","names":[],"sources":["../../src/actions/group-batch-update.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"group-batch-update.d.cts","names":[],"sources":["../../src/actions/group-batch-update.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAc7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;cAM9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,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/group-batch-update.d.ts
|
|
@@ -24,37 +26,7 @@ declare const MixpanelGroupBatchUpdateOutput: z.ZodObject<{
|
|
|
24
26
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
27
|
status: z.ZodNullable<z.ZodString>;
|
|
26
28
|
}, z.core.$loose>;
|
|
27
|
-
declare const mixpanelGroupBatchUpdate:
|
|
28
|
-
data: {
|
|
29
|
-
[x: string]: unknown;
|
|
30
|
-
token: string;
|
|
31
|
-
group_id: string;
|
|
32
|
-
group_key: string;
|
|
33
|
-
set?: Record<string, unknown> | undefined;
|
|
34
|
-
union?: Record<string, unknown> | undefined;
|
|
35
|
-
unset?: string[] | undefined;
|
|
36
|
-
delete?: string | undefined;
|
|
37
|
-
remove?: Record<string, unknown> | undefined;
|
|
38
|
-
set_once?: Record<string, unknown> | undefined;
|
|
39
|
-
}[];
|
|
40
|
-
response_format?: "IP" | "Strict" | "Verbose" | undefined;
|
|
41
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
|
|
42
|
-
connectionId: z.ZodString;
|
|
43
|
-
entityId: z.ZodString;
|
|
44
|
-
instanceId: z.ZodString;
|
|
45
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
46
|
-
username: z.ZodString;
|
|
47
|
-
password: z.ZodString;
|
|
48
|
-
region: z.ZodString;
|
|
49
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
|
|
50
|
-
connectionId: z.ZodString;
|
|
51
|
-
entityId: z.ZodString;
|
|
52
|
-
instanceId: z.ZodString;
|
|
53
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
54
|
-
username: z.ZodString;
|
|
55
|
-
password: z.ZodString;
|
|
56
|
-
region: z.ZodString;
|
|
57
|
-
}, z.core.$strip>>]>;
|
|
29
|
+
declare const mixpanelGroupBatchUpdate: AppAction<typeof MixpanelGroupBatchUpdateInput, typeof MixpanelGroupBatchUpdateOutput, typeof mixpanel.credential>;
|
|
58
30
|
//#endregion
|
|
59
31
|
export { mixpanelGroupBatchUpdate };
|
|
60
32
|
//# sourceMappingURL=group-batch-update.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"group-batch-update.d.mts","names":[],"sources":["../../src/actions/group-batch-update.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"group-batch-update.d.mts","names":[],"sources":["../../src/actions/group-batch-update.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAc7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;cAM9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"group-batch-update.mjs","names":[],"sources":["../../src/actions/group-batch-update.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelGroupBatchUpdateInput = z.object({\n data: z.array(z.object({\n set: z.record(z.string(), z.unknown()).describe(\"Set or overwrite property values. Key-value pairs where keys are property names and values are the new values.\").optional(),\n token: z.string().describe(\"Your Mixpanel project token\"),\n union: z.record(z.string(), z.unknown()).describe(\"Add values to list properties, ensuring uniqueness. Keys are list property names, values are arrays to merge.\").optional(),\n unset: z.array(z.string()).describe(\"Delete specified properties from the group profile. Array of property names to remove.\").optional(),\n \"delete\": z.string().describe(\"Delete the entire group profile. Pass empty string to delete.\").optional(),\n remove: z.record(z.string(), z.unknown()).describe(\"Remove specific values from list properties. Keys are list property names, values are items to remove.\").optional(),\n group_id: z.string().describe(\"The unique identifier for the group\"),\n set_once: z.record(z.string(), z.unknown()).describe(\"Set property values only if they don't already exist. Key-value pairs.\").optional(),\n group_key: z.string().describe(\"The group category/type (e.g., 'company', 'organization')\"),\n}).passthrough().describe(\"Individual group profile update object.\")).describe(\"A list of group profile update objects. Each object contains the group identifiers and operations to perform.\"),\n response_format: z.enum([\"IP\", \"Strict\", \"Verbose\"]).describe(\"Controls response format. IP: returns '1' for valid data, Strict: returns error for any invalid records, Verbose: detailed response.\").optional(),\n}).describe(\"Request model for batch updating group profiles in Mixpanel.\");\nexport const MixpanelGroupBatchUpdateOutput = z.object({\n code: z.number().int().describe(\"HTTP status code\").nullable(),\n error: z.string().describe(\"Error message if the request failed\").nullable().optional(),\n status: z.string().describe(\"Status message indicating success or failure\").nullable(),\n}).passthrough().describe(\"Response model for group batch update operation.\");\n\nexport const mixpanelGroupBatchUpdate = action(\"MIXPANEL_GROUP_BATCH_UPDATE\", {\n slug: \"mixpanel-group-batch-update\",\n name: \"Batch Update Group Profiles\",\n description: \"Tool to send a batch of group profile updates to Mixpanel. Use when you need to update multiple group profiles in a single request. Supports operations like $set, $set_once, $union, $remove, $unset, and $delete. Note: $add is NOT supported for group profiles.\",\n input: MixpanelGroupBatchUpdateInput,\n output: MixpanelGroupBatchUpdateOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"group-batch-update.mjs","names":[],"sources":["../../src/actions/group-batch-update.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 MixpanelGroupBatchUpdateInput = z.object({\n data: z.array(z.object({\n set: z.record(z.string(), z.unknown()).describe(\"Set or overwrite property values. Key-value pairs where keys are property names and values are the new values.\").optional(),\n token: z.string().describe(\"Your Mixpanel project token\"),\n union: z.record(z.string(), z.unknown()).describe(\"Add values to list properties, ensuring uniqueness. Keys are list property names, values are arrays to merge.\").optional(),\n unset: z.array(z.string()).describe(\"Delete specified properties from the group profile. Array of property names to remove.\").optional(),\n \"delete\": z.string().describe(\"Delete the entire group profile. Pass empty string to delete.\").optional(),\n remove: z.record(z.string(), z.unknown()).describe(\"Remove specific values from list properties. Keys are list property names, values are items to remove.\").optional(),\n group_id: z.string().describe(\"The unique identifier for the group\"),\n set_once: z.record(z.string(), z.unknown()).describe(\"Set property values only if they don't already exist. Key-value pairs.\").optional(),\n group_key: z.string().describe(\"The group category/type (e.g., 'company', 'organization')\"),\n}).passthrough().describe(\"Individual group profile update object.\")).describe(\"A list of group profile update objects. Each object contains the group identifiers and operations to perform.\"),\n response_format: z.enum([\"IP\", \"Strict\", \"Verbose\"]).describe(\"Controls response format. IP: returns '1' for valid data, Strict: returns error for any invalid records, Verbose: detailed response.\").optional(),\n}).describe(\"Request model for batch updating group profiles in Mixpanel.\");\nexport const MixpanelGroupBatchUpdateOutput = z.object({\n code: z.number().int().describe(\"HTTP status code\").nullable(),\n error: z.string().describe(\"Error message if the request failed\").nullable().optional(),\n status: z.string().describe(\"Status message indicating success or failure\").nullable(),\n}).passthrough().describe(\"Response model for group batch update operation.\");\n\nexport const mixpanelGroupBatchUpdate: AppAction<\n typeof MixpanelGroupBatchUpdateInput,\n typeof MixpanelGroupBatchUpdateOutput,\n typeof mixpanel.credential\n> = action(\"MIXPANEL_GROUP_BATCH_UPDATE\", {\n slug: \"mixpanel-group-batch-update\",\n name: \"Batch Update Group Profiles\",\n description: \"Tool to send a batch of group profile updates to Mixpanel. Use when you need to update multiple group profiles in a single request. Supports operations like $set, $set_once, $union, $remove, $unset, and $delete. Note: $add is NOT supported for group profiles.\",\n input: MixpanelGroupBatchUpdateInput,\n output: MixpanelGroupBatchUpdateOutput,\n});\n"],"mappings":";;;AA0BA,MAAa,2BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA5B2C,EAAE,OAAO;EACpD,MAAM,EAAE,MAAM,EAAE,OAAO;GACvB,KAAK,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS;GAC3K,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;GACxD,OAAO,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;GAC5K,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;GACvI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;GACxG,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;GACtK,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;GACnE,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;GACxI,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;EAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,CAAC,SAAS,+GAA+G;EAC5L,iBAAiB,EAAE,KAAK;GAAC;GAAM;GAAU;EAAS,CAAC,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS;CACjN,CAAC,CAAC,CAAC,SAAS,8DAeH;CACP,QAf4C,EAAE,OAAO;EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;EAC7D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"group-delete-property.cjs","names":["z","action"],"sources":["../../src/actions/group-delete-property.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelGroupDeletePropertyInput = z.object({\n token: z.string().describe(\"Your Mixpanel project authentication token\"),\n group_id: z.string().describe(\"The unique identifier for the specific group to update\"),\n group_key: z.string().describe(\"The group category/type identifier (e.g., 'company', 'organization', 'team')\"),\n properties: z.array(z.string()).describe(\"List of property names to delete/unset from the group profile\"),\n}).describe(\"Request model for deleting properties from a group profile.\");\nexport const MixpanelGroupDeletePropertyOutput = z.object({\n code: z.number().int().describe(\"HTTP status code (200 for success)\").nullable(),\n error: z.string().describe(\"Error message if the request failed\").nullable().optional(),\n status: z.union([z.string(), z.number().int()]),\n}).passthrough().describe(\"Response model for group property deletion operation.\");\n\nexport const mixpanelGroupDeleteProperty = action(\"MIXPANEL_GROUP_DELETE_PROPERTY\", {\n slug: \"mixpanel-group-delete-property\",\n name: \"Delete Group Properties\",\n description: \"Tool to delete specific properties from a Mixpanel group profile. Use when you need to permanently remove unwanted properties from a group (company, organization, team, etc.). The operation uses the $unset operation to permanently remove the specified properties.\",\n input: MixpanelGroupDeletePropertyInput,\n output: MixpanelGroupDeletePropertyOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"group-delete-property.cjs","names":["z","action"],"sources":["../../src/actions/group-delete-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 MixpanelGroupDeletePropertyInput = z.object({\n token: z.string().describe(\"Your Mixpanel project authentication token\"),\n group_id: z.string().describe(\"The unique identifier for the specific group to update\"),\n group_key: z.string().describe(\"The group category/type identifier (e.g., 'company', 'organization', 'team')\"),\n properties: z.array(z.string()).describe(\"List of property names to delete/unset from the group profile\"),\n}).describe(\"Request model for deleting properties from a group profile.\");\nexport const MixpanelGroupDeletePropertyOutput = z.object({\n code: z.number().int().describe(\"HTTP status code (200 for success)\").nullable(),\n error: z.string().describe(\"Error message if the request failed\").nullable().optional(),\n status: z.union([z.string(), z.number().int()]),\n}).passthrough().describe(\"Response model for group property deletion operation.\");\n\nexport const mixpanelGroupDeleteProperty: AppAction<\n typeof MixpanelGroupDeletePropertyInput,\n typeof MixpanelGroupDeletePropertyOutput,\n typeof mixpanel.credential\n> = action(\"MIXPANEL_GROUP_DELETE_PROPERTY\", {\n slug: \"mixpanel-group-delete-property\",\n name: \"Delete Group Properties\",\n description: \"Tool to delete specific properties from a Mixpanel group profile. Use when you need to permanently remove unwanted properties from a group (company, organization, team, etc.). The operation uses the $unset operation to permanently remove the specified properties.\",\n input: MixpanelGroupDeletePropertyInput,\n output: MixpanelGroupDeletePropertyOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACvE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CACtF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E;CAC7G,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC1G,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC/E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,QAAQA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;AAChD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAEjF,MAAa,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/group-delete-property.d.ts
|
|
@@ -12,28 +14,7 @@ declare const MixpanelGroupDeletePropertyOutput: z.ZodObject<{
|
|
|
12
14
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
15
|
status: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const mixpanelGroupDeleteProperty:
|
|
16
|
-
token: string;
|
|
17
|
-
group_id: string;
|
|
18
|
-
group_key: string;
|
|
19
|
-
properties: string[];
|
|
20
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
username: z.ZodString;
|
|
26
|
-
password: z.ZodString;
|
|
27
|
-
region: z.ZodString;
|
|
28
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
|
|
29
|
-
connectionId: z.ZodString;
|
|
30
|
-
entityId: z.ZodString;
|
|
31
|
-
instanceId: z.ZodString;
|
|
32
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
33
|
-
username: z.ZodString;
|
|
34
|
-
password: z.ZodString;
|
|
35
|
-
region: z.ZodString;
|
|
36
|
-
}, z.core.$strip>>]>;
|
|
17
|
+
declare const mixpanelGroupDeleteProperty: AppAction<typeof MixpanelGroupDeletePropertyInput, typeof MixpanelGroupDeletePropertyOutput, typeof mixpanel.credential>;
|
|
37
18
|
//#endregion
|
|
38
19
|
export { mixpanelGroupDeleteProperty };
|
|
39
20
|
//# sourceMappingURL=group-delete-property.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"group-delete-property.d.cts","names":[],"sources":["../../src/actions/group-delete-property.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"group-delete-property.d.cts","names":[],"sources":["../../src/actions/group-delete-property.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;cAMhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;cAMjC,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/group-delete-property.d.ts
|
|
@@ -12,28 +14,7 @@ declare const MixpanelGroupDeletePropertyOutput: z.ZodObject<{
|
|
|
12
14
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
15
|
status: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const mixpanelGroupDeleteProperty:
|
|
16
|
-
token: string;
|
|
17
|
-
group_id: string;
|
|
18
|
-
group_key: string;
|
|
19
|
-
properties: string[];
|
|
20
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
username: z.ZodString;
|
|
26
|
-
password: z.ZodString;
|
|
27
|
-
region: z.ZodString;
|
|
28
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
|
|
29
|
-
connectionId: z.ZodString;
|
|
30
|
-
entityId: z.ZodString;
|
|
31
|
-
instanceId: z.ZodString;
|
|
32
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
33
|
-
username: z.ZodString;
|
|
34
|
-
password: z.ZodString;
|
|
35
|
-
region: z.ZodString;
|
|
36
|
-
}, z.core.$strip>>]>;
|
|
17
|
+
declare const mixpanelGroupDeleteProperty: AppAction<typeof MixpanelGroupDeletePropertyInput, typeof MixpanelGroupDeletePropertyOutput, typeof mixpanel.credential>;
|
|
37
18
|
//#endregion
|
|
38
19
|
export { mixpanelGroupDeleteProperty };
|
|
39
20
|
//# sourceMappingURL=group-delete-property.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"group-delete-property.d.mts","names":[],"sources":["../../src/actions/group-delete-property.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"group-delete-property.d.mts","names":[],"sources":["../../src/actions/group-delete-property.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;cAMhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;cAMjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"group-delete-property.mjs","names":[],"sources":["../../src/actions/group-delete-property.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelGroupDeletePropertyInput = z.object({\n token: z.string().describe(\"Your Mixpanel project authentication token\"),\n group_id: z.string().describe(\"The unique identifier for the specific group to update\"),\n group_key: z.string().describe(\"The group category/type identifier (e.g., 'company', 'organization', 'team')\"),\n properties: z.array(z.string()).describe(\"List of property names to delete/unset from the group profile\"),\n}).describe(\"Request model for deleting properties from a group profile.\");\nexport const MixpanelGroupDeletePropertyOutput = z.object({\n code: z.number().int().describe(\"HTTP status code (200 for success)\").nullable(),\n error: z.string().describe(\"Error message if the request failed\").nullable().optional(),\n status: z.union([z.string(), z.number().int()]),\n}).passthrough().describe(\"Response model for group property deletion operation.\");\n\nexport const mixpanelGroupDeleteProperty = action(\"MIXPANEL_GROUP_DELETE_PROPERTY\", {\n slug: \"mixpanel-group-delete-property\",\n name: \"Delete Group Properties\",\n description: \"Tool to delete specific properties from a Mixpanel group profile. Use when you need to permanently remove unwanted properties from a group (company, organization, team, etc.). The operation uses the $unset operation to permanently remove the specified properties.\",\n input: MixpanelGroupDeletePropertyInput,\n output: MixpanelGroupDeletePropertyOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"group-delete-property.mjs","names":[],"sources":["../../src/actions/group-delete-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 MixpanelGroupDeletePropertyInput = z.object({\n token: z.string().describe(\"Your Mixpanel project authentication token\"),\n group_id: z.string().describe(\"The unique identifier for the specific group to update\"),\n group_key: z.string().describe(\"The group category/type identifier (e.g., 'company', 'organization', 'team')\"),\n properties: z.array(z.string()).describe(\"List of property names to delete/unset from the group profile\"),\n}).describe(\"Request model for deleting properties from a group profile.\");\nexport const MixpanelGroupDeletePropertyOutput = z.object({\n code: z.number().int().describe(\"HTTP status code (200 for success)\").nullable(),\n error: z.string().describe(\"Error message if the request failed\").nullable().optional(),\n status: z.union([z.string(), z.number().int()]),\n}).passthrough().describe(\"Response model for group property deletion operation.\");\n\nexport const mixpanelGroupDeleteProperty: AppAction<\n typeof MixpanelGroupDeletePropertyInput,\n typeof MixpanelGroupDeletePropertyOutput,\n typeof mixpanel.credential\n> = action(\"MIXPANEL_GROUP_DELETE_PROPERTY\", {\n slug: \"mixpanel-group-delete-property\",\n name: \"Delete Group Properties\",\n description: \"Tool to delete specific properties from a Mixpanel group profile. Use when you need to permanently remove unwanted properties from a group (company, organization, team, etc.). The operation uses the $unset operation to permanently remove the specified properties.\",\n input: MixpanelGroupDeletePropertyInput,\n output: MixpanelGroupDeletePropertyOutput,\n});\n"],"mappings":";;;AAkBA,MAAa,8BAIT,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApB8C,EAAE,OAAO;EACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EACvE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;EACtF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E;EAC7G,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+DAA+D;CAC1G,CAAC,CAAC,CAAC,SAAS,6DAeH;CACP,QAf+C,EAAE,OAAO;EACxD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC/E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,QAAQ,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;CAChD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"identity-create-alias.cjs","names":["z","action"],"sources":["../../src/actions/identity-create-alias.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelIdentityCreateAliasInput = z.object({\n alias: z.string().describe(\"A new distinct_id value that will be interpreted as the existing distinct_id. Each alias can only map to one distinct_id. Typically set during user signup to connect anonymous pre-signup events with post-signup activity.\"),\n token: z.string().describe(\"Project authentication token for client-side authentication.\"),\n distinct_id: z.string().describe(\"The existing distinct ID to be merged with the alias. This is the original identifier that the alias will map to.\"),\n}).describe(\"Request model for creating an identity alias in Mixpanel.\");\nexport const MixpanelIdentityCreateAliasOutput = z.object({\n status: z.number().int().describe(\"Status of the request. 1 indicates the alias was successfully created.\").nullable(),\n}).passthrough().describe(\"Response model for identity alias creation.\");\n\nexport const mixpanelIdentityCreateAlias = action(\"MIXPANEL_IDENTITY_CREATE_ALIAS\", {\n slug: \"mixpanel-identity-create-alias\",\n name: \"Create Identity Alias\",\n description: \"Tool to create an alias mapping between two distinct IDs in Mixpanel. Use when you need to link a new identifier with an existing one. This is only available for projects using the Original ID Merge system and Legacy ID Management System; it has no effect in the Simplified ID Merge system. Typically called once during user signup to connect anonymous pre-signup events with post-signup activity. Each alias can only map to one distinct_id.\",\n input: MixpanelIdentityCreateAliasInput,\n output: MixpanelIdentityCreateAliasOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"identity-create-alias.cjs","names":["z","action"],"sources":["../../src/actions/identity-create-alias.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 MixpanelIdentityCreateAliasInput = z.object({\n alias: z.string().describe(\"A new distinct_id value that will be interpreted as the existing distinct_id. Each alias can only map to one distinct_id. Typically set during user signup to connect anonymous pre-signup events with post-signup activity.\"),\n token: z.string().describe(\"Project authentication token for client-side authentication.\"),\n distinct_id: z.string().describe(\"The existing distinct ID to be merged with the alias. This is the original identifier that the alias will map to.\"),\n}).describe(\"Request model for creating an identity alias in Mixpanel.\");\nexport const MixpanelIdentityCreateAliasOutput = z.object({\n status: z.number().int().describe(\"Status of the request. 1 indicates the alias was successfully created.\").nullable(),\n}).passthrough().describe(\"Response model for identity alias creation.\");\n\nexport const mixpanelIdentityCreateAlias: AppAction<\n typeof MixpanelIdentityCreateAliasInput,\n typeof MixpanelIdentityCreateAliasOutput,\n typeof mixpanel.credential\n> = action(\"MIXPANEL_IDENTITY_CREATE_ALIAS\", {\n slug: \"mixpanel-identity-create-alias\",\n name: \"Create Identity Alias\",\n description: \"Tool to create an alias mapping between two distinct IDs in Mixpanel. Use when you need to link a new identifier with an existing one. This is only available for projects using the Original ID Merge system and Legacy ID Management System; it has no effect in the Simplified ID Merge system. Typically called once during user signup to connect anonymous pre-signup events with post-signup activity. Each alias can only map to one distinct_id.\",\n input: MixpanelIdentityCreateAliasInput,\n output: MixpanelIdentityCreateAliasOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8NAA8N;CACzP,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;CACzF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH;AACtJ,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,EACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,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/identity-create-alias.d.ts
|
|
@@ -9,27 +11,7 @@ declare const MixpanelIdentityCreateAliasInput: z.ZodObject<{
|
|
|
9
11
|
declare const MixpanelIdentityCreateAliasOutput: z.ZodObject<{
|
|
10
12
|
status: z.ZodNullable<z.ZodNumber>;
|
|
11
13
|
}, z.core.$loose>;
|
|
12
|
-
declare const mixpanelIdentityCreateAlias:
|
|
13
|
-
alias: string;
|
|
14
|
-
token: string;
|
|
15
|
-
distinct_id: string;
|
|
16
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
|
|
17
|
-
connectionId: z.ZodString;
|
|
18
|
-
entityId: z.ZodString;
|
|
19
|
-
instanceId: z.ZodString;
|
|
20
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
-
username: z.ZodString;
|
|
22
|
-
password: z.ZodString;
|
|
23
|
-
region: z.ZodString;
|
|
24
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
|
|
25
|
-
connectionId: z.ZodString;
|
|
26
|
-
entityId: z.ZodString;
|
|
27
|
-
instanceId: z.ZodString;
|
|
28
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
-
username: z.ZodString;
|
|
30
|
-
password: z.ZodString;
|
|
31
|
-
region: z.ZodString;
|
|
32
|
-
}, z.core.$strip>>]>;
|
|
14
|
+
declare const mixpanelIdentityCreateAlias: AppAction<typeof MixpanelIdentityCreateAliasInput, typeof MixpanelIdentityCreateAliasOutput, typeof mixpanel.credential>;
|
|
33
15
|
//#endregion
|
|
34
16
|
export { mixpanelIdentityCreateAlias };
|
|
35
17
|
//# sourceMappingURL=identity-create-alias.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"identity-create-alias.d.cts","names":[],"sources":["../../src/actions/identity-create-alias.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"identity-create-alias.d.cts","names":[],"sources":["../../src/actions/identity-create-alias.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAKhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAIjC,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/identity-create-alias.d.ts
|
|
@@ -9,27 +11,7 @@ declare const MixpanelIdentityCreateAliasInput: z.ZodObject<{
|
|
|
9
11
|
declare const MixpanelIdentityCreateAliasOutput: z.ZodObject<{
|
|
10
12
|
status: z.ZodNullable<z.ZodNumber>;
|
|
11
13
|
}, z.core.$loose>;
|
|
12
|
-
declare const mixpanelIdentityCreateAlias:
|
|
13
|
-
alias: string;
|
|
14
|
-
token: string;
|
|
15
|
-
distinct_id: string;
|
|
16
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
|
|
17
|
-
connectionId: z.ZodString;
|
|
18
|
-
entityId: z.ZodString;
|
|
19
|
-
instanceId: z.ZodString;
|
|
20
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
-
username: z.ZodString;
|
|
22
|
-
password: z.ZodString;
|
|
23
|
-
region: z.ZodString;
|
|
24
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
|
|
25
|
-
connectionId: z.ZodString;
|
|
26
|
-
entityId: z.ZodString;
|
|
27
|
-
instanceId: z.ZodString;
|
|
28
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
-
username: z.ZodString;
|
|
30
|
-
password: z.ZodString;
|
|
31
|
-
region: z.ZodString;
|
|
32
|
-
}, z.core.$strip>>]>;
|
|
14
|
+
declare const mixpanelIdentityCreateAlias: AppAction<typeof MixpanelIdentityCreateAliasInput, typeof MixpanelIdentityCreateAliasOutput, typeof mixpanel.credential>;
|
|
33
15
|
//#endregion
|
|
34
16
|
export { mixpanelIdentityCreateAlias };
|
|
35
17
|
//# sourceMappingURL=identity-create-alias.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"identity-create-alias.d.mts","names":[],"sources":["../../src/actions/identity-create-alias.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"identity-create-alias.d.mts","names":[],"sources":["../../src/actions/identity-create-alias.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAKhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cAIjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"identity-create-alias.mjs","names":[],"sources":["../../src/actions/identity-create-alias.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelIdentityCreateAliasInput = z.object({\n alias: z.string().describe(\"A new distinct_id value that will be interpreted as the existing distinct_id. Each alias can only map to one distinct_id. Typically set during user signup to connect anonymous pre-signup events with post-signup activity.\"),\n token: z.string().describe(\"Project authentication token for client-side authentication.\"),\n distinct_id: z.string().describe(\"The existing distinct ID to be merged with the alias. This is the original identifier that the alias will map to.\"),\n}).describe(\"Request model for creating an identity alias in Mixpanel.\");\nexport const MixpanelIdentityCreateAliasOutput = z.object({\n status: z.number().int().describe(\"Status of the request. 1 indicates the alias was successfully created.\").nullable(),\n}).passthrough().describe(\"Response model for identity alias creation.\");\n\nexport const mixpanelIdentityCreateAlias = action(\"MIXPANEL_IDENTITY_CREATE_ALIAS\", {\n slug: \"mixpanel-identity-create-alias\",\n name: \"Create Identity Alias\",\n description: \"Tool to create an alias mapping between two distinct IDs in Mixpanel. Use when you need to link a new identifier with an existing one. This is only available for projects using the Original ID Merge system and Legacy ID Management System; it has no effect in the Simplified ID Merge system. Typically called once during user signup to connect anonymous pre-signup events with post-signup activity. Each alias can only map to one distinct_id.\",\n input: MixpanelIdentityCreateAliasInput,\n output: MixpanelIdentityCreateAliasOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"identity-create-alias.mjs","names":[],"sources":["../../src/actions/identity-create-alias.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 MixpanelIdentityCreateAliasInput = z.object({\n alias: z.string().describe(\"A new distinct_id value that will be interpreted as the existing distinct_id. Each alias can only map to one distinct_id. Typically set during user signup to connect anonymous pre-signup events with post-signup activity.\"),\n token: z.string().describe(\"Project authentication token for client-side authentication.\"),\n distinct_id: z.string().describe(\"The existing distinct ID to be merged with the alias. This is the original identifier that the alias will map to.\"),\n}).describe(\"Request model for creating an identity alias in Mixpanel.\");\nexport const MixpanelIdentityCreateAliasOutput = z.object({\n status: z.number().int().describe(\"Status of the request. 1 indicates the alias was successfully created.\").nullable(),\n}).passthrough().describe(\"Response model for identity alias creation.\");\n\nexport const mixpanelIdentityCreateAlias: AppAction<\n typeof MixpanelIdentityCreateAliasInput,\n typeof MixpanelIdentityCreateAliasOutput,\n typeof mixpanel.credential\n> = action(\"MIXPANEL_IDENTITY_CREATE_ALIAS\", {\n slug: \"mixpanel-identity-create-alias\",\n name: \"Create Identity Alias\",\n description: \"Tool to create an alias mapping between two distinct IDs in Mixpanel. Use when you need to link a new identifier with an existing one. This is only available for projects using the Original ID Merge system and Legacy ID Management System; it has no effect in the Simplified ID Merge system. Typically called once during user signup to connect anonymous pre-signup events with post-signup activity. Each alias can only map to one distinct_id.\",\n input: MixpanelIdentityCreateAliasInput,\n output: MixpanelIdentityCreateAliasOutput,\n});\n"],"mappings":";;;AAeA,MAAa,8BAIT,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjB8C,EAAE,OAAO;EACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8NAA8N;EACzP,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;EACzF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH;CACtJ,CAAC,CAAC,CAAC,SAAS,2DAaH;CACP,QAb+C,EAAE,OAAO,EACxD,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,EACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jql-query.cjs","names":["z","action"],"sources":["../../src/actions/jql-query.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelJqlQueryInput = z.object({\n params: z.record(z.string(), z.unknown()).describe(\"A JSON-encoded object that will be made available in the script as `params`. Use this to pass dynamic date ranges, event names, or other parameters into your JQL query.\").optional(),\n script: z.string().describe(\"A fully valid JavaScript code snippet for Mixpanel's JQL engine. MUST define exactly one top-level `function main() { ... }` that returns the final dataset.\\n\\nDATA SOURCES:\\n- Events({ from_date: 'YYYY-MM-DD', to_date: 'YYYY-MM-DD', event_selectors: [{ event: 'Name', selector: '...' }] }) - returns objects with name, distinct_id, time (ms epoch), properties.\\n- People({ user_selectors: [{ selector: '...' }] }) - returns objects with distinct_id, time, last_seen, properties.\\n- join(Events(...), People(), { type: 'full'|'left'|'right'|'inner', selectors: [...] }) - combines events and profiles on distinct_id; each item has { distinct_id, event, user }.\\n\\nTRANSFORMATIONS (chainable):\\n- .filter(fn) - keep items where fn returns true\\n- .map(fn) - transform each item\\n- .reduce(reducerFn) - aggregate entire collection to one value\\n- .groupBy(keys, reducer) - group by property paths or functions, returns [{ key, value }]\\n- .groupByUser([keys], reducer) - group events per user in chronological order; reducer signature: (state, events) => newState\\n- .sortAsc(accessor) / .sortDesc(accessor) - sort by property or function\\n- .flatten() - flatten nested arrays\\n\\nBUILT-IN REDUCERS (use with .reduce() or .groupBy()):\\nmixpanel.reducer.count(), .sum(accessor), .avg(accessor), .min(accessor), .max(accessor), .min_by(accessor), .max_by(accessor), .numeric_percentiles(accessor, [p1, p2, ...]), .top(N), .any(), .null(), .object_merge()\\n\\nSEGMENTATION EXPRESSIONS (for event_selectors/user_selectors/join selectors):\\nOperators: ==, !=, >, >=, <, <=, in, and, or, not. Typecasts: string(...), number(...), boolean(...). Example: properties[\\\"app_name\\\"] == \\\"gmail\\\" and user[\\\"age\\\"] > 30\\n\\nPARAMS: Pass dynamic values via the `params` field. Accessible in script as the global `params` variable.\\n\\nEXAMPLE:\\n```js\\nfunction main() {\\n return Events({ from_date: '2025-01-01', to_date: '2025-01-31', event_selectors: [{ event: 'purchase' }] })\\n .filter(e => e.properties.country === 'CA')\\n .groupBy(['properties.city'], mixpanel.reducer.count());\\n}\\n```\\n\\nThe return value from main() can be an array of objects, a single number (from .reduce()), or a nested array (from .groupBy()).\"),\n project_id: z.number().int().describe(\"Required if using service account credentials or an API secret for authentication.\"),\n workspace_id: z.number().int().describe(\"The ID of the Mixpanel workspace, if applicable.\").optional(),\n}).describe(\"Request model for executing JQL queries in Mixpanel.\");\nexport const MixpanelJqlQueryOutput = z.object({\n data: z.union([z.array(z.record(z.string(), z.unknown())), z.record(z.string(), z.unknown()), z.array(z.unknown()), z.number().int(), z.number(), z.string()]).nullable(),\n}).passthrough().describe(\"Response model for JQL query data\");\n\nexport const mixpanelJqlQuery = action(\"MIXPANEL_JQL_QUERY\", {\n slug: \"mixpanel-jql-query\",\n name: \"Execute JQL Query\",\n description: \"Execute a custom JQL (JavaScript Query Language) query against Mixpanel's Query API. Key Constraints: - 60 queries/hour, max 5 concurrent queries. - 2-minute execution timeout. - 5 GB data processing limit, 2 GB output limit. - No remote network requests (XMLHttpRequest) are allowed inside the JQL script.\",\n input: MixpanelJqlQueryInput,\n output: MixpanelJqlQueryOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"jql-query.cjs","names":["z","action"],"sources":["../../src/actions/jql-query.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 MixpanelJqlQueryInput = z.object({\n params: z.record(z.string(), z.unknown()).describe(\"A JSON-encoded object that will be made available in the script as `params`. Use this to pass dynamic date ranges, event names, or other parameters into your JQL query.\").optional(),\n script: z.string().describe(\"A fully valid JavaScript code snippet for Mixpanel's JQL engine. MUST define exactly one top-level `function main() { ... }` that returns the final dataset.\\n\\nDATA SOURCES:\\n- Events({ from_date: 'YYYY-MM-DD', to_date: 'YYYY-MM-DD', event_selectors: [{ event: 'Name', selector: '...' }] }) - returns objects with name, distinct_id, time (ms epoch), properties.\\n- People({ user_selectors: [{ selector: '...' }] }) - returns objects with distinct_id, time, last_seen, properties.\\n- join(Events(...), People(), { type: 'full'|'left'|'right'|'inner', selectors: [...] }) - combines events and profiles on distinct_id; each item has { distinct_id, event, user }.\\n\\nTRANSFORMATIONS (chainable):\\n- .filter(fn) - keep items where fn returns true\\n- .map(fn) - transform each item\\n- .reduce(reducerFn) - aggregate entire collection to one value\\n- .groupBy(keys, reducer) - group by property paths or functions, returns [{ key, value }]\\n- .groupByUser([keys], reducer) - group events per user in chronological order; reducer signature: (state, events) => newState\\n- .sortAsc(accessor) / .sortDesc(accessor) - sort by property or function\\n- .flatten() - flatten nested arrays\\n\\nBUILT-IN REDUCERS (use with .reduce() or .groupBy()):\\nmixpanel.reducer.count(), .sum(accessor), .avg(accessor), .min(accessor), .max(accessor), .min_by(accessor), .max_by(accessor), .numeric_percentiles(accessor, [p1, p2, ...]), .top(N), .any(), .null(), .object_merge()\\n\\nSEGMENTATION EXPRESSIONS (for event_selectors/user_selectors/join selectors):\\nOperators: ==, !=, >, >=, <, <=, in, and, or, not. Typecasts: string(...), number(...), boolean(...). Example: properties[\\\"app_name\\\"] == \\\"gmail\\\" and user[\\\"age\\\"] > 30\\n\\nPARAMS: Pass dynamic values via the `params` field. Accessible in script as the global `params` variable.\\n\\nEXAMPLE:\\n```js\\nfunction main() {\\n return Events({ from_date: '2025-01-01', to_date: '2025-01-31', event_selectors: [{ event: 'purchase' }] })\\n .filter(e => e.properties.country === 'CA')\\n .groupBy(['properties.city'], mixpanel.reducer.count());\\n}\\n```\\n\\nThe return value from main() can be an array of objects, a single number (from .reduce()), or a nested array (from .groupBy()).\"),\n project_id: z.number().int().describe(\"Required if using service account credentials or an API secret for authentication.\"),\n workspace_id: z.number().int().describe(\"The ID of the Mixpanel workspace, if applicable.\").optional(),\n}).describe(\"Request model for executing JQL queries in Mixpanel.\");\nexport const MixpanelJqlQueryOutput = z.object({\n data: z.union([z.array(z.record(z.string(), z.unknown())), z.record(z.string(), z.unknown()), z.array(z.unknown()), z.number().int(), z.number(), z.string()]).nullable(),\n}).passthrough().describe(\"Response model for JQL query data\");\n\nexport const mixpanelJqlQuery: AppAction<\n typeof MixpanelJqlQueryInput,\n typeof MixpanelJqlQueryOutput,\n typeof mixpanel.credential\n> = action(\"MIXPANEL_JQL_QUERY\", {\n slug: \"mixpanel-jql-query\",\n name: \"Execute JQL Query\",\n description: \"Execute a custom JQL (JavaScript Query Language) query against Mixpanel's Query API. Key Constraints: - 60 queries/hour, max 5 concurrent queries. - 2-minute execution timeout. - 5 GB data processing limit, 2 GB output limit. - No remote network requests (XMLHttpRequest) are allowed inside the JQL script.\",\n input: MixpanelJqlQueryInput,\n output: MixpanelJqlQueryOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0KAA0K,CAAC,CAAC,SAAS;CACxO,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qqEAAqqE;CACjsE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF;CAC1H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,MAAMA,IAAAA,EAAE,MAAM;CAACA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC;CAAGA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC;CAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC;CAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;CAAGA,IAAAA,EAAE,OAAO;CAAGA,IAAAA,EAAE,OAAO;AAAC,CAAC,CAAC,CAAC,SAAS,EAC1K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAE7D,MAAa,mBAITC,eAAAA,OAAO,sBAAsB;CAC/B,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/jql-query.d.ts
|
|
@@ -10,28 +12,7 @@ declare const MixpanelJqlQueryInput: z.ZodObject<{
|
|
|
10
12
|
declare const MixpanelJqlQueryOutput: z.ZodObject<{
|
|
11
13
|
data: z.ZodNullable<z.ZodUnion<readonly [z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown>, z.ZodNumber, z.ZodNumber, z.ZodString]>>;
|
|
12
14
|
}, z.core.$loose>;
|
|
13
|
-
declare const mixpanelJqlQuery:
|
|
14
|
-
script: string;
|
|
15
|
-
project_id: number;
|
|
16
|
-
params?: Record<string, unknown> | undefined;
|
|
17
|
-
workspace_id?: number | undefined;
|
|
18
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
|
|
19
|
-
connectionId: z.ZodString;
|
|
20
|
-
entityId: z.ZodString;
|
|
21
|
-
instanceId: z.ZodString;
|
|
22
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
23
|
-
username: z.ZodString;
|
|
24
|
-
password: z.ZodString;
|
|
25
|
-
region: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
|
|
27
|
-
connectionId: z.ZodString;
|
|
28
|
-
entityId: z.ZodString;
|
|
29
|
-
instanceId: z.ZodString;
|
|
30
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
-
username: z.ZodString;
|
|
32
|
-
password: z.ZodString;
|
|
33
|
-
region: z.ZodString;
|
|
34
|
-
}, z.core.$strip>>]>;
|
|
15
|
+
declare const mixpanelJqlQuery: AppAction<typeof MixpanelJqlQueryInput, typeof MixpanelJqlQueryOutput, typeof mixpanel.credential>;
|
|
35
16
|
//#endregion
|
|
36
17
|
export { mixpanelJqlQuery };
|
|
37
18
|
//# sourceMappingURL=jql-query.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jql-query.d.cts","names":[],"sources":["../../src/actions/jql-query.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"jql-query.d.cts","names":[],"sources":["../../src/actions/jql-query.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;cAMrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAItB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,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/jql-query.d.ts
|
|
@@ -10,28 +12,7 @@ declare const MixpanelJqlQueryInput: z.ZodObject<{
|
|
|
10
12
|
declare const MixpanelJqlQueryOutput: z.ZodObject<{
|
|
11
13
|
data: z.ZodNullable<z.ZodUnion<readonly [z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>, z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodUnknown>, z.ZodNumber, z.ZodNumber, z.ZodString]>>;
|
|
12
14
|
}, z.core.$loose>;
|
|
13
|
-
declare const mixpanelJqlQuery:
|
|
14
|
-
script: string;
|
|
15
|
-
project_id: number;
|
|
16
|
-
params?: Record<string, unknown> | undefined;
|
|
17
|
-
workspace_id?: number | undefined;
|
|
18
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
|
|
19
|
-
connectionId: z.ZodString;
|
|
20
|
-
entityId: z.ZodString;
|
|
21
|
-
instanceId: z.ZodString;
|
|
22
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
23
|
-
username: z.ZodString;
|
|
24
|
-
password: z.ZodString;
|
|
25
|
-
region: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mixpanel", z.ZodObject<{
|
|
27
|
-
connectionId: z.ZodString;
|
|
28
|
-
entityId: z.ZodString;
|
|
29
|
-
instanceId: z.ZodString;
|
|
30
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
-
username: z.ZodString;
|
|
32
|
-
password: z.ZodString;
|
|
33
|
-
region: z.ZodString;
|
|
34
|
-
}, z.core.$strip>>]>;
|
|
15
|
+
declare const mixpanelJqlQuery: AppAction<typeof MixpanelJqlQueryInput, typeof MixpanelJqlQueryOutput, typeof mixpanel.credential>;
|
|
35
16
|
//#endregion
|
|
36
17
|
export { mixpanelJqlQuery };
|
|
37
18
|
//# sourceMappingURL=jql-query.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jql-query.d.mts","names":[],"sources":["../../src/actions/jql-query.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"jql-query.d.mts","names":[],"sources":["../../src/actions/jql-query.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;cAMrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAItB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,QAAA,CAAS,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jql-query.mjs","names":[],"sources":["../../src/actions/jql-query.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelJqlQueryInput = z.object({\n params: z.record(z.string(), z.unknown()).describe(\"A JSON-encoded object that will be made available in the script as `params`. Use this to pass dynamic date ranges, event names, or other parameters into your JQL query.\").optional(),\n script: z.string().describe(\"A fully valid JavaScript code snippet for Mixpanel's JQL engine. MUST define exactly one top-level `function main() { ... }` that returns the final dataset.\\n\\nDATA SOURCES:\\n- Events({ from_date: 'YYYY-MM-DD', to_date: 'YYYY-MM-DD', event_selectors: [{ event: 'Name', selector: '...' }] }) - returns objects with name, distinct_id, time (ms epoch), properties.\\n- People({ user_selectors: [{ selector: '...' }] }) - returns objects with distinct_id, time, last_seen, properties.\\n- join(Events(...), People(), { type: 'full'|'left'|'right'|'inner', selectors: [...] }) - combines events and profiles on distinct_id; each item has { distinct_id, event, user }.\\n\\nTRANSFORMATIONS (chainable):\\n- .filter(fn) - keep items where fn returns true\\n- .map(fn) - transform each item\\n- .reduce(reducerFn) - aggregate entire collection to one value\\n- .groupBy(keys, reducer) - group by property paths or functions, returns [{ key, value }]\\n- .groupByUser([keys], reducer) - group events per user in chronological order; reducer signature: (state, events) => newState\\n- .sortAsc(accessor) / .sortDesc(accessor) - sort by property or function\\n- .flatten() - flatten nested arrays\\n\\nBUILT-IN REDUCERS (use with .reduce() or .groupBy()):\\nmixpanel.reducer.count(), .sum(accessor), .avg(accessor), .min(accessor), .max(accessor), .min_by(accessor), .max_by(accessor), .numeric_percentiles(accessor, [p1, p2, ...]), .top(N), .any(), .null(), .object_merge()\\n\\nSEGMENTATION EXPRESSIONS (for event_selectors/user_selectors/join selectors):\\nOperators: ==, !=, >, >=, <, <=, in, and, or, not. Typecasts: string(...), number(...), boolean(...). Example: properties[\\\"app_name\\\"] == \\\"gmail\\\" and user[\\\"age\\\"] > 30\\n\\nPARAMS: Pass dynamic values via the `params` field. Accessible in script as the global `params` variable.\\n\\nEXAMPLE:\\n```js\\nfunction main() {\\n return Events({ from_date: '2025-01-01', to_date: '2025-01-31', event_selectors: [{ event: 'purchase' }] })\\n .filter(e => e.properties.country === 'CA')\\n .groupBy(['properties.city'], mixpanel.reducer.count());\\n}\\n```\\n\\nThe return value from main() can be an array of objects, a single number (from .reduce()), or a nested array (from .groupBy()).\"),\n project_id: z.number().int().describe(\"Required if using service account credentials or an API secret for authentication.\"),\n workspace_id: z.number().int().describe(\"The ID of the Mixpanel workspace, if applicable.\").optional(),\n}).describe(\"Request model for executing JQL queries in Mixpanel.\");\nexport const MixpanelJqlQueryOutput = z.object({\n data: z.union([z.array(z.record(z.string(), z.unknown())), z.record(z.string(), z.unknown()), z.array(z.unknown()), z.number().int(), z.number(), z.string()]).nullable(),\n}).passthrough().describe(\"Response model for JQL query data\");\n\nexport const mixpanelJqlQuery = action(\"MIXPANEL_JQL_QUERY\", {\n slug: \"mixpanel-jql-query\",\n name: \"Execute JQL Query\",\n description: \"Execute a custom JQL (JavaScript Query Language) query against Mixpanel's Query API. Key Constraints: - 60 queries/hour, max 5 concurrent queries. - 2-minute execution timeout. - 5 GB data processing limit, 2 GB output limit. - No remote network requests (XMLHttpRequest) are allowed inside the JQL script.\",\n input: MixpanelJqlQueryInput,\n output: MixpanelJqlQueryOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"jql-query.mjs","names":[],"sources":["../../src/actions/jql-query.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 MixpanelJqlQueryInput = z.object({\n params: z.record(z.string(), z.unknown()).describe(\"A JSON-encoded object that will be made available in the script as `params`. Use this to pass dynamic date ranges, event names, or other parameters into your JQL query.\").optional(),\n script: z.string().describe(\"A fully valid JavaScript code snippet for Mixpanel's JQL engine. MUST define exactly one top-level `function main() { ... }` that returns the final dataset.\\n\\nDATA SOURCES:\\n- Events({ from_date: 'YYYY-MM-DD', to_date: 'YYYY-MM-DD', event_selectors: [{ event: 'Name', selector: '...' }] }) - returns objects with name, distinct_id, time (ms epoch), properties.\\n- People({ user_selectors: [{ selector: '...' }] }) - returns objects with distinct_id, time, last_seen, properties.\\n- join(Events(...), People(), { type: 'full'|'left'|'right'|'inner', selectors: [...] }) - combines events and profiles on distinct_id; each item has { distinct_id, event, user }.\\n\\nTRANSFORMATIONS (chainable):\\n- .filter(fn) - keep items where fn returns true\\n- .map(fn) - transform each item\\n- .reduce(reducerFn) - aggregate entire collection to one value\\n- .groupBy(keys, reducer) - group by property paths or functions, returns [{ key, value }]\\n- .groupByUser([keys], reducer) - group events per user in chronological order; reducer signature: (state, events) => newState\\n- .sortAsc(accessor) / .sortDesc(accessor) - sort by property or function\\n- .flatten() - flatten nested arrays\\n\\nBUILT-IN REDUCERS (use with .reduce() or .groupBy()):\\nmixpanel.reducer.count(), .sum(accessor), .avg(accessor), .min(accessor), .max(accessor), .min_by(accessor), .max_by(accessor), .numeric_percentiles(accessor, [p1, p2, ...]), .top(N), .any(), .null(), .object_merge()\\n\\nSEGMENTATION EXPRESSIONS (for event_selectors/user_selectors/join selectors):\\nOperators: ==, !=, >, >=, <, <=, in, and, or, not. Typecasts: string(...), number(...), boolean(...). Example: properties[\\\"app_name\\\"] == \\\"gmail\\\" and user[\\\"age\\\"] > 30\\n\\nPARAMS: Pass dynamic values via the `params` field. Accessible in script as the global `params` variable.\\n\\nEXAMPLE:\\n```js\\nfunction main() {\\n return Events({ from_date: '2025-01-01', to_date: '2025-01-31', event_selectors: [{ event: 'purchase' }] })\\n .filter(e => e.properties.country === 'CA')\\n .groupBy(['properties.city'], mixpanel.reducer.count());\\n}\\n```\\n\\nThe return value from main() can be an array of objects, a single number (from .reduce()), or a nested array (from .groupBy()).\"),\n project_id: z.number().int().describe(\"Required if using service account credentials or an API secret for authentication.\"),\n workspace_id: z.number().int().describe(\"The ID of the Mixpanel workspace, if applicable.\").optional(),\n}).describe(\"Request model for executing JQL queries in Mixpanel.\");\nexport const MixpanelJqlQueryOutput = z.object({\n data: z.union([z.array(z.record(z.string(), z.unknown())), z.record(z.string(), z.unknown()), z.array(z.unknown()), z.number().int(), z.number(), z.string()]).nullable(),\n}).passthrough().describe(\"Response model for JQL query data\");\n\nexport const mixpanelJqlQuery: AppAction<\n typeof MixpanelJqlQueryInput,\n typeof MixpanelJqlQueryOutput,\n typeof mixpanel.credential\n> = action(\"MIXPANEL_JQL_QUERY\", {\n slug: \"mixpanel-jql-query\",\n name: \"Execute JQL Query\",\n description: \"Execute a custom JQL (JavaScript Query Language) query against Mixpanel's Query API. Key Constraints: - 60 queries/hour, max 5 concurrent queries. - 2-minute execution timeout. - 5 GB data processing limit, 2 GB output limit. - No remote network requests (XMLHttpRequest) are allowed inside the JQL script.\",\n input: MixpanelJqlQueryInput,\n output: MixpanelJqlQueryOutput,\n});\n"],"mappings":";;;AAgBA,MAAa,mBAIT,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBmC,EAAE,OAAO;EAC5C,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0KAA0K,CAAC,CAAC,SAAS;EACxO,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qqEAAqqE;EACjsE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oFAAoF;EAC1H,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACvG,CAAC,CAAC,CAAC,SAAS,sDAaH;CACP,QAboC,EAAE,OAAO,EAC7C,MAAM,EAAE,MAAM;EAAC,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC;EAAG,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC;EAAG,EAAE,MAAM,EAAE,QAAQ,CAAC;EAAG,EAAE,OAAO,CAAC,CAAC,IAAI;EAAG,EAAE,OAAO;EAAG,EAAE,OAAO;CAAC,CAAC,CAAC,CAAC,SAAS,EAC1K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-funnels.cjs","names":["z","action"],"sources":["../../src/actions/list-funnels.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelListFunnelsInput = z.object({\n project_id: z.number().int().describe(\"Required if using service account to authenticate request\"),\n workspace_id: z.number().int().describe(\"The id of the workspace if applicable\").optional(),\n}).describe(\"Request model for listing saved funnels\");\nconst MixpanelListFunnels_FunnelInfoSchema = z.object({\n name: z.string().describe(\"The name of the funnel\").nullable(),\n funnel_id: z.number().int().describe(\"The id of the funnel\").nullable(),\n}).passthrough().describe(\"Model for funnel information\");\nexport const MixpanelListFunnelsOutput = z.object({\n data: z.array(MixpanelListFunnels_FunnelInfoSchema).describe(\"Array of funnel information\"),\n}).passthrough().describe(\"Response model for list funnels data\");\n\nexport const mixpanelListFunnels = action(\"MIXPANEL_LIST_FUNNELS\", {\n slug: \"mixpanel-list-funnels\",\n name: \"List Saved Funnels\",\n description: \"Get the names and funnel_ids of your funnels. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.\",\n input: MixpanelListFunnelsInput,\n output: MixpanelListFunnelsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-funnels.cjs","names":["z","action"],"sources":["../../src/actions/list-funnels.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 MixpanelListFunnelsInput = z.object({\n project_id: z.number().int().describe(\"Required if using service account to authenticate request\"),\n workspace_id: z.number().int().describe(\"The id of the workspace if applicable\").optional(),\n}).describe(\"Request model for listing saved funnels\");\nconst MixpanelListFunnels_FunnelInfoSchema = z.object({\n name: z.string().describe(\"The name of the funnel\").nullable(),\n funnel_id: z.number().int().describe(\"The id of the funnel\").nullable(),\n}).passthrough().describe(\"Model for funnel information\");\nexport const MixpanelListFunnelsOutput = z.object({\n data: z.array(MixpanelListFunnels_FunnelInfoSchema).describe(\"Array of funnel information\"),\n}).passthrough().describe(\"Response model for list funnels data\");\n\nexport const mixpanelListFunnels: AppAction<\n typeof MixpanelListFunnelsInput,\n typeof MixpanelListFunnelsOutput,\n typeof mixpanel.credential\n> = action(\"MIXPANEL_LIST_FUNNELS\", {\n slug: \"mixpanel-list-funnels\",\n name: \"List Saved Funnels\",\n description: \"Get the names and funnel_ids of your funnels. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.\",\n input: MixpanelListFunnelsInput,\n output: MixpanelListFunnelsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;CACjG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC7D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8BAA8B;AACxD,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,MAAMA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,6BAA6B,EAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAEhE,MAAa,sBAITC,eAAAA,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|