@keystrokehq/mixpanel 0.1.0 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-unique-to-profile-list-property.cjs +3 -3
- package/dist/actions/add-unique-to-profile-list-property.cjs.map +1 -1
- package/dist/actions/add-unique-to-profile-list-property.d.cts +31 -3
- package/dist/actions/add-unique-to-profile-list-property.d.cts.map +1 -1
- package/dist/actions/add-unique-to-profile-list-property.d.mts +31 -3
- package/dist/actions/add-unique-to-profile-list-property.d.mts.map +1 -1
- package/dist/actions/add-unique-to-profile-list-property.mjs +3 -3
- package/dist/actions/add-unique-to-profile-list-property.mjs.map +1 -1
- package/dist/actions/aggregate-events.cjs +4 -4
- package/dist/actions/aggregate-events.cjs.map +1 -1
- package/dist/actions/aggregate-events.d.cts +44 -3
- package/dist/actions/aggregate-events.d.cts.map +1 -1
- package/dist/actions/aggregate-events.d.mts +44 -3
- package/dist/actions/aggregate-events.d.mts.map +1 -1
- package/dist/actions/aggregate-events.mjs +4 -4
- package/dist/actions/aggregate-events.mjs.map +1 -1
- package/dist/actions/aggregated-event-property-values.cjs +3 -3
- package/dist/actions/aggregated-event-property-values.cjs.map +1 -1
- package/dist/actions/aggregated-event-property-values.d.cts +48 -3
- package/dist/actions/aggregated-event-property-values.d.cts.map +1 -1
- package/dist/actions/aggregated-event-property-values.d.mts +48 -3
- package/dist/actions/aggregated-event-property-values.d.mts.map +1 -1
- package/dist/actions/aggregated-event-property-values.mjs +3 -3
- package/dist/actions/aggregated-event-property-values.mjs.map +1 -1
- package/dist/actions/cohorts-list.cjs +8 -8
- package/dist/actions/cohorts-list.cjs.map +1 -1
- package/dist/actions/cohorts-list.d.cts +19 -3
- package/dist/actions/cohorts-list.d.cts.map +1 -1
- package/dist/actions/cohorts-list.d.mts +19 -3
- package/dist/actions/cohorts-list.d.mts.map +1 -1
- package/dist/actions/cohorts-list.mjs +8 -8
- package/dist/actions/cohorts-list.mjs.map +1 -1
- package/dist/actions/create-annotation-tag.cjs +4 -4
- package/dist/actions/create-annotation-tag.cjs.map +1 -1
- package/dist/actions/create-annotation-tag.d.cts +14 -3
- package/dist/actions/create-annotation-tag.d.cts.map +1 -1
- package/dist/actions/create-annotation-tag.d.mts +14 -3
- package/dist/actions/create-annotation-tag.d.mts.map +1 -1
- package/dist/actions/create-annotation-tag.mjs +4 -4
- package/dist/actions/create-annotation-tag.mjs.map +1 -1
- package/dist/actions/create-identity.cjs +1 -1
- package/dist/actions/create-identity.cjs.map +1 -1
- package/dist/actions/create-identity.d.cts +18 -3
- package/dist/actions/create-identity.d.cts.map +1 -1
- package/dist/actions/create-identity.d.mts +18 -3
- package/dist/actions/create-identity.d.mts.map +1 -1
- package/dist/actions/create-identity.mjs +1 -1
- package/dist/actions/create-identity.mjs.map +1 -1
- package/dist/actions/create-service-account.cjs +9 -9
- package/dist/actions/create-service-account.cjs.map +1 -1
- package/dist/actions/create-service-account.d.cts +44 -3
- package/dist/actions/create-service-account.d.cts.map +1 -1
- package/dist/actions/create-service-account.d.mts +44 -3
- package/dist/actions/create-service-account.d.mts.map +1 -1
- package/dist/actions/create-service-account.mjs +9 -9
- package/dist/actions/create-service-account.mjs.map +1 -1
- package/dist/actions/delete-group.cjs +1 -1
- package/dist/actions/delete-group.cjs.map +1 -1
- package/dist/actions/delete-group.d.cts +16 -3
- package/dist/actions/delete-group.d.cts.map +1 -1
- package/dist/actions/delete-group.d.mts +16 -3
- package/dist/actions/delete-group.d.mts.map +1 -1
- package/dist/actions/delete-group.mjs +1 -1
- package/dist/actions/delete-group.mjs.map +1 -1
- package/dist/actions/delete-profile-batch.cjs +2 -2
- package/dist/actions/delete-profile-batch.cjs.map +1 -1
- package/dist/actions/delete-profile-batch.d.cts +21 -3
- package/dist/actions/delete-profile-batch.d.cts.map +1 -1
- package/dist/actions/delete-profile-batch.d.mts +21 -3
- package/dist/actions/delete-profile-batch.d.mts.map +1 -1
- package/dist/actions/delete-profile-batch.mjs +2 -2
- package/dist/actions/delete-profile-batch.mjs.map +1 -1
- package/dist/actions/delete-profile-property.cjs +1 -1
- package/dist/actions/delete-profile-property.cjs.map +1 -1
- package/dist/actions/delete-profile-property.d.cts +22 -3
- package/dist/actions/delete-profile-property.d.cts.map +1 -1
- package/dist/actions/delete-profile-property.d.mts +22 -3
- package/dist/actions/delete-profile-property.d.mts.map +1 -1
- package/dist/actions/delete-profile-property.mjs +1 -1
- package/dist/actions/delete-profile-property.mjs.map +1 -1
- package/dist/actions/delete-profile.cjs +1 -1
- package/dist/actions/delete-profile.cjs.map +1 -1
- package/dist/actions/delete-profile.d.cts +17 -3
- package/dist/actions/delete-profile.d.cts.map +1 -1
- package/dist/actions/delete-profile.d.mts +17 -3
- package/dist/actions/delete-profile.d.mts.map +1 -1
- package/dist/actions/delete-profile.mjs +1 -1
- package/dist/actions/delete-profile.mjs.map +1 -1
- package/dist/actions/get-all-projects.cjs +1 -1
- package/dist/actions/get-all-projects.cjs.map +1 -1
- package/dist/actions/get-all-projects.d.cts +5 -3
- package/dist/actions/get-all-projects.d.cts.map +1 -1
- package/dist/actions/get-all-projects.d.mts +5 -3
- package/dist/actions/get-all-projects.d.mts.map +1 -1
- package/dist/actions/get-all-projects.mjs +1 -1
- package/dist/actions/get-all-projects.mjs.map +1 -1
- package/dist/actions/get-annotation-tags-alt1.cjs +6 -6
- package/dist/actions/get-annotation-tags-alt1.cjs.map +1 -1
- package/dist/actions/get-annotation-tags-alt1.d.cts +14 -3
- package/dist/actions/get-annotation-tags-alt1.d.cts.map +1 -1
- package/dist/actions/get-annotation-tags-alt1.d.mts +14 -3
- package/dist/actions/get-annotation-tags-alt1.d.mts.map +1 -1
- package/dist/actions/get-annotation-tags-alt1.mjs +6 -6
- package/dist/actions/get-annotation-tags-alt1.mjs.map +1 -1
- package/dist/actions/group-batch-update.cjs +5 -5
- package/dist/actions/group-batch-update.cjs.map +1 -1
- package/dist/actions/group-batch-update.d.cts +38 -3
- package/dist/actions/group-batch-update.d.cts.map +1 -1
- package/dist/actions/group-batch-update.d.mts +38 -3
- package/dist/actions/group-batch-update.d.mts.map +1 -1
- package/dist/actions/group-batch-update.mjs +5 -5
- package/dist/actions/group-batch-update.mjs.map +1 -1
- package/dist/actions/group-delete-property.cjs +2 -2
- package/dist/actions/group-delete-property.cjs.map +1 -1
- package/dist/actions/group-delete-property.d.cts +17 -3
- package/dist/actions/group-delete-property.d.cts.map +1 -1
- package/dist/actions/group-delete-property.d.mts +17 -3
- package/dist/actions/group-delete-property.d.mts.map +1 -1
- package/dist/actions/group-delete-property.mjs +2 -2
- package/dist/actions/group-delete-property.mjs.map +1 -1
- package/dist/actions/identity-create-alias.cjs +1 -1
- package/dist/actions/identity-create-alias.cjs.map +1 -1
- package/dist/actions/identity-create-alias.d.cts +13 -3
- package/dist/actions/identity-create-alias.d.cts.map +1 -1
- package/dist/actions/identity-create-alias.d.mts +13 -3
- package/dist/actions/identity-create-alias.d.mts.map +1 -1
- package/dist/actions/identity-create-alias.mjs +1 -1
- package/dist/actions/identity-create-alias.mjs.map +1 -1
- package/dist/actions/jql-query.cjs +1 -1
- package/dist/actions/jql-query.cjs.map +1 -1
- package/dist/actions/jql-query.d.cts +15 -3
- package/dist/actions/jql-query.d.cts.map +1 -1
- package/dist/actions/jql-query.d.mts +15 -3
- package/dist/actions/jql-query.d.mts.map +1 -1
- package/dist/actions/jql-query.mjs +1 -1
- package/dist/actions/jql-query.mjs.map +1 -1
- package/dist/actions/list-funnels.cjs +4 -4
- package/dist/actions/list-funnels.cjs.map +1 -1
- package/dist/actions/list-funnels.d.cts +14 -3
- package/dist/actions/list-funnels.d.cts.map +1 -1
- package/dist/actions/list-funnels.d.mts +14 -3
- package/dist/actions/list-funnels.d.mts.map +1 -1
- package/dist/actions/list-funnels.mjs +4 -4
- package/dist/actions/list-funnels.mjs.map +1 -1
- package/dist/actions/list-service-accounts.cjs +5 -5
- package/dist/actions/list-service-accounts.cjs.map +1 -1
- package/dist/actions/list-service-accounts.d.cts +18 -3
- package/dist/actions/list-service-accounts.d.cts.map +1 -1
- package/dist/actions/list-service-accounts.d.mts +18 -3
- package/dist/actions/list-service-accounts.d.mts.map +1 -1
- package/dist/actions/list-service-accounts.mjs +5 -5
- package/dist/actions/list-service-accounts.mjs.map +1 -1
- package/dist/actions/profile-append-to-list-property.cjs +2 -2
- package/dist/actions/profile-append-to-list-property.cjs.map +1 -1
- package/dist/actions/profile-append-to-list-property.d.cts +25 -3
- package/dist/actions/profile-append-to-list-property.d.cts.map +1 -1
- package/dist/actions/profile-append-to-list-property.d.mts +25 -3
- package/dist/actions/profile-append-to-list-property.d.mts.map +1 -1
- package/dist/actions/profile-append-to-list-property.mjs +2 -2
- package/dist/actions/profile-append-to-list-property.mjs.map +1 -1
- package/dist/actions/profile-batch-update.cjs +7 -7
- package/dist/actions/profile-batch-update.cjs.map +1 -1
- package/dist/actions/profile-batch-update.d.cts +47 -3
- package/dist/actions/profile-batch-update.d.cts.map +1 -1
- package/dist/actions/profile-batch-update.d.mts +47 -3
- package/dist/actions/profile-batch-update.d.mts.map +1 -1
- package/dist/actions/profile-batch-update.mjs +7 -7
- package/dist/actions/profile-batch-update.mjs.map +1 -1
- package/dist/actions/profile-event-activity.cjs +6 -6
- package/dist/actions/profile-event-activity.cjs.map +1 -1
- package/dist/actions/profile-event-activity.d.cts +59 -3
- package/dist/actions/profile-event-activity.d.cts.map +1 -1
- package/dist/actions/profile-event-activity.d.mts +59 -3
- package/dist/actions/profile-event-activity.d.mts.map +1 -1
- package/dist/actions/profile-event-activity.mjs +6 -6
- package/dist/actions/profile-event-activity.mjs.map +1 -1
- package/dist/actions/profile-numerical-add.cjs +2 -2
- package/dist/actions/profile-numerical-add.cjs.map +1 -1
- package/dist/actions/profile-numerical-add.d.cts +22 -3
- package/dist/actions/profile-numerical-add.d.cts.map +1 -1
- package/dist/actions/profile-numerical-add.d.mts +22 -3
- package/dist/actions/profile-numerical-add.d.mts.map +1 -1
- package/dist/actions/profile-numerical-add.mjs +2 -2
- package/dist/actions/profile-numerical-add.mjs.map +1 -1
- package/dist/actions/profile-remove-from-list-property.cjs +2 -2
- package/dist/actions/profile-remove-from-list-property.cjs.map +1 -1
- package/dist/actions/profile-remove-from-list-property.d.cts +25 -3
- package/dist/actions/profile-remove-from-list-property.d.cts.map +1 -1
- package/dist/actions/profile-remove-from-list-property.d.mts +25 -3
- package/dist/actions/profile-remove-from-list-property.d.mts.map +1 -1
- package/dist/actions/profile-remove-from-list-property.mjs +2 -2
- package/dist/actions/profile-remove-from-list-property.mjs.map +1 -1
- package/dist/actions/profile-set.cjs +1 -1
- package/dist/actions/profile-set.cjs.map +1 -1
- package/dist/actions/profile-set.d.cts +20 -3
- package/dist/actions/profile-set.d.cts.map +1 -1
- package/dist/actions/profile-set.d.mts +20 -3
- package/dist/actions/profile-set.d.mts.map +1 -1
- package/dist/actions/profile-set.mjs +1 -1
- package/dist/actions/profile-set.mjs.map +1 -1
- package/dist/actions/query-frequency-report.cjs +1 -1
- package/dist/actions/query-frequency-report.cjs.map +1 -1
- package/dist/actions/query-frequency-report.d.cts +34 -3
- package/dist/actions/query-frequency-report.d.cts.map +1 -1
- package/dist/actions/query-frequency-report.d.mts +34 -3
- package/dist/actions/query-frequency-report.d.mts.map +1 -1
- package/dist/actions/query-frequency-report.mjs +1 -1
- package/dist/actions/query-frequency-report.mjs.map +1 -1
- package/dist/actions/query-funnel.cjs +3 -3
- package/dist/actions/query-funnel.cjs.map +1 -1
- package/dist/actions/query-funnel.d.cts +43 -3
- package/dist/actions/query-funnel.d.cts.map +1 -1
- package/dist/actions/query-funnel.d.mts +43 -3
- package/dist/actions/query-funnel.d.mts.map +1 -1
- package/dist/actions/query-funnel.mjs +3 -3
- package/dist/actions/query-funnel.mjs.map +1 -1
- package/dist/actions/query-insight.cjs +6 -6
- package/dist/actions/query-insight.cjs.map +1 -1
- package/dist/actions/query-insight.d.cts +19 -3
- package/dist/actions/query-insight.d.cts.map +1 -1
- package/dist/actions/query-insight.d.mts +19 -3
- package/dist/actions/query-insight.d.mts.map +1 -1
- package/dist/actions/query-insight.mjs +6 -6
- package/dist/actions/query-insight.mjs.map +1 -1
- package/dist/actions/query-numeric-average.cjs +3 -3
- package/dist/actions/query-numeric-average.cjs.map +1 -1
- package/dist/actions/query-numeric-average.d.cts +27 -3
- package/dist/actions/query-numeric-average.d.cts.map +1 -1
- package/dist/actions/query-numeric-average.d.mts +27 -3
- package/dist/actions/query-numeric-average.d.mts.map +1 -1
- package/dist/actions/query-numeric-average.mjs +3 -3
- package/dist/actions/query-numeric-average.mjs.map +1 -1
- package/dist/actions/query-numeric-sum.cjs +4 -4
- package/dist/actions/query-numeric-sum.cjs.map +1 -1
- package/dist/actions/query-numeric-sum.d.cts +28 -3
- package/dist/actions/query-numeric-sum.d.cts.map +1 -1
- package/dist/actions/query-numeric-sum.d.mts +28 -3
- package/dist/actions/query-numeric-sum.d.mts.map +1 -1
- package/dist/actions/query-numeric-sum.mjs +4 -4
- package/dist/actions/query-numeric-sum.mjs.map +1 -1
- package/dist/actions/query-profiles.cjs +9 -9
- package/dist/actions/query-profiles.cjs.map +1 -1
- package/dist/actions/query-profiles.d.cts +41 -3
- package/dist/actions/query-profiles.d.cts.map +1 -1
- package/dist/actions/query-profiles.d.mts +41 -3
- package/dist/actions/query-profiles.d.mts.map +1 -1
- package/dist/actions/query-profiles.mjs +9 -9
- package/dist/actions/query-profiles.mjs.map +1 -1
- package/dist/actions/query-retention-report.cjs +1 -1
- package/dist/actions/query-retention-report.cjs.map +1 -1
- package/dist/actions/query-retention-report.d.cts +42 -3
- package/dist/actions/query-retention-report.d.cts.map +1 -1
- package/dist/actions/query-retention-report.d.mts +42 -3
- package/dist/actions/query-retention-report.d.mts.map +1 -1
- package/dist/actions/query-retention-report.mjs +1 -1
- package/dist/actions/query-retention-report.mjs.map +1 -1
- package/dist/actions/query-segmentation.cjs +4 -4
- package/dist/actions/query-segmentation.cjs.map +1 -1
- package/dist/actions/query-segmentation.d.cts +40 -3
- package/dist/actions/query-segmentation.d.cts.map +1 -1
- package/dist/actions/query-segmentation.d.mts +40 -3
- package/dist/actions/query-segmentation.d.mts.map +1 -1
- package/dist/actions/query-segmentation.mjs +4 -4
- package/dist/actions/query-segmentation.mjs.map +1 -1
- package/dist/actions/query-top-events.cjs +5 -5
- package/dist/actions/query-top-events.cjs.map +1 -1
- package/dist/actions/query-top-events.d.cts +28 -3
- package/dist/actions/query-top-events.d.cts.map +1 -1
- package/dist/actions/query-top-events.d.mts +28 -3
- package/dist/actions/query-top-events.d.mts.map +1 -1
- package/dist/actions/query-top-events.mjs +5 -5
- package/dist/actions/query-top-events.mjs.map +1 -1
- package/dist/actions/remove-from-group-list-property.cjs +2 -2
- package/dist/actions/remove-from-group-list-property.cjs.map +1 -1
- package/dist/actions/remove-from-group-list-property.d.cts +22 -3
- package/dist/actions/remove-from-group-list-property.d.cts.map +1 -1
- package/dist/actions/remove-from-group-list-property.d.mts +22 -3
- package/dist/actions/remove-from-group-list-property.d.mts.map +1 -1
- package/dist/actions/remove-from-group-list-property.mjs +2 -2
- package/dist/actions/remove-from-group-list-property.mjs.map +1 -1
- package/dist/actions/remove-from-list-property.cjs +1 -1
- package/dist/actions/remove-from-list-property.cjs.map +1 -1
- package/dist/actions/remove-from-list-property.d.cts +20 -3
- package/dist/actions/remove-from-list-property.d.cts.map +1 -1
- package/dist/actions/remove-from-list-property.d.mts +20 -3
- package/dist/actions/remove-from-list-property.d.mts.map +1 -1
- package/dist/actions/remove-from-list-property.mjs +1 -1
- package/dist/actions/remove-from-list-property.mjs.map +1 -1
- package/dist/actions/segmentation-numeric-query.cjs +2 -2
- package/dist/actions/segmentation-numeric-query.cjs.map +1 -1
- package/dist/actions/segmentation-numeric-query.d.cts +37 -3
- package/dist/actions/segmentation-numeric-query.d.cts.map +1 -1
- package/dist/actions/segmentation-numeric-query.d.mts +37 -3
- package/dist/actions/segmentation-numeric-query.d.mts.map +1 -1
- package/dist/actions/segmentation-numeric-query.mjs +2 -2
- package/dist/actions/segmentation-numeric-query.mjs.map +1 -1
- package/dist/actions/set-group-property-once.cjs +1 -1
- package/dist/actions/set-group-property-once.cjs.map +1 -1
- package/dist/actions/set-group-property-once.d.cts +17 -3
- package/dist/actions/set-group-property-once.d.cts.map +1 -1
- package/dist/actions/set-group-property-once.d.mts +17 -3
- package/dist/actions/set-group-property-once.d.mts.map +1 -1
- package/dist/actions/set-group-property-once.mjs +1 -1
- package/dist/actions/set-group-property-once.mjs.map +1 -1
- package/dist/actions/set-profile-property-once.cjs +1 -1
- package/dist/actions/set-profile-property-once.cjs.map +1 -1
- package/dist/actions/set-profile-property-once.d.cts +20 -3
- package/dist/actions/set-profile-property-once.d.cts.map +1 -1
- package/dist/actions/set-profile-property-once.d.mts +20 -3
- package/dist/actions/set-profile-property-once.d.mts.map +1 -1
- package/dist/actions/set-profile-property-once.mjs +1 -1
- package/dist/actions/set-profile-property-once.mjs.map +1 -1
- package/dist/actions/top-event-properties.cjs.map +1 -1
- package/dist/actions/top-event-properties.d.cts +13 -3
- package/dist/actions/top-event-properties.d.cts.map +1 -1
- package/dist/actions/top-event-properties.d.mts +13 -3
- package/dist/actions/top-event-properties.d.mts.map +1 -1
- package/dist/actions/top-event-properties.mjs.map +1 -1
- package/dist/actions/top-event-property-values.cjs +1 -1
- package/dist/actions/top-event-property-values.cjs.map +1 -1
- package/dist/actions/top-event-property-values.d.cts +17 -3
- package/dist/actions/top-event-property-values.d.cts.map +1 -1
- package/dist/actions/top-event-property-values.d.mts +17 -3
- package/dist/actions/top-event-property-values.d.mts.map +1 -1
- package/dist/actions/top-event-property-values.mjs +1 -1
- package/dist/actions/top-event-property-values.mjs.map +1 -1
- package/dist/actions/top-events.cjs +1 -1
- package/dist/actions/top-events.cjs.map +1 -1
- package/dist/actions/top-events.d.cts +19 -3
- package/dist/actions/top-events.d.cts.map +1 -1
- package/dist/actions/top-events.d.mts +19 -3
- package/dist/actions/top-events.d.mts.map +1 -1
- package/dist/actions/top-events.mjs +1 -1
- package/dist/actions/top-events.mjs.map +1 -1
- package/dist/actions/update-group-list-property.cjs +3 -3
- package/dist/actions/update-group-list-property.cjs.map +1 -1
- package/dist/actions/update-group-list-property.d.cts +27 -3
- package/dist/actions/update-group-list-property.d.cts.map +1 -1
- package/dist/actions/update-group-list-property.d.mts +27 -3
- package/dist/actions/update-group-list-property.d.mts.map +1 -1
- package/dist/actions/update-group-list-property.mjs +3 -3
- package/dist/actions/update-group-list-property.mjs.map +1 -1
- package/dist/catalog.cjs +18 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +17 -0
- package/dist/catalog.d.mts +17 -0
- package/dist/catalog.mjs +18 -1
- package/dist/catalog.mjs.map +1 -1
- package/dist/execute.cjs +1 -1
- package/dist/execute.cjs.map +1 -1
- package/dist/execute.mjs +1 -1
- package/dist/execute.mjs.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
package/dist/action.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.cjs","names":["mixpanel","executeMixpanelTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { mixpanel } from \"./app\";\nimport { executeMixpanelTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input:
|
|
1
|
+
{"version":3,"file":"action.cjs","names":["mixpanel","executeMixpanelTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { mixpanel } from \"./app\";\nimport { executeMixpanelTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return mixpanel.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeMixpanelTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,SAAS,OAAO;EACrB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,oBAAoB,MAAM,KAAgC,CAAC;EAC3F;CACF,CAAC;AACH"}
|
package/dist/action.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { mixpanel } from \"./app\";\nimport { executeMixpanelTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input:
|
|
1
|
+
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { mixpanel } from \"./app\";\nimport { executeMixpanelTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return mixpanel.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeMixpanelTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,SAAS,OAAO;EACrB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,oBAAoB,MAAM,KAAgC,CAAC;EAC3F;CACF,CAAC;AACH"}
|
|
@@ -6,10 +6,10 @@ const MixpanelAddUniqueToProfileListPropertyInput = zod.z.object({
|
|
|
6
6
|
data: zod.z.array(zod.z.object({
|
|
7
7
|
ip: zod.z.string().describe("IP address for geolocation enrichment. Set to '0' to prevent updating geolocation data. If not provided, Mixpanel uses the request IP. Geolocation properties ($city, $region, mp_country_code) are derived and the IP is discarded.").optional(),
|
|
8
8
|
token: zod.z.string().describe("Your Mixpanel project authentication token. Required for authenticating the request."),
|
|
9
|
-
union: zod.z.
|
|
9
|
+
union: zod.z.record(zod.z.string(), zod.z.unknown()).describe("A JSON object containing key-value pairs where each key is a property name and each value is a list of items to union with that list property. Union adds values to a list property, excluding duplicates. If the property doesn't exist, it creates a new list with the provided values."),
|
|
10
10
|
distinct_id: zod.z.string().describe("The unique identifier for the user profile to update. This determines which profile will be modified."),
|
|
11
11
|
ignore_time: zod.z.boolean().describe("If true, prevents Mixpanel from automatically updating the 'Last Seen' property. Defaults to false.").optional()
|
|
12
|
-
}).describe("Individual profile update object for union operations on list properties.")).describe("A list of profile update objects. Each object must contain $token, $distinct_id, and $union properties. The $union operation adds values to list properties without creating duplicates."),
|
|
12
|
+
}).passthrough().describe("Individual profile update object for union operations on list properties.")).describe("A list of profile update objects. Each object must contain $token, $distinct_id, and $union properties. The $union operation adds values to list properties without creating duplicates."),
|
|
13
13
|
strict: zod.z.number().int().describe("Enables validation with per-record error messages. Set to 1 to enable strict mode, 0 to disable. When enabled, returns detailed validation errors for each failed record.").optional(),
|
|
14
14
|
verbose: zod.z.number().int().describe("Returns detailed response object. Set to 1 to get JSON response with status and error fields, 0 for plain text status (1 for success, 0 for failure). Default is 0.").optional(),
|
|
15
15
|
callback: zod.z.string().describe("JSONP callback function name. Used for JSONP requests.").optional()
|
|
@@ -17,7 +17,7 @@ const MixpanelAddUniqueToProfileListPropertyInput = zod.z.object({
|
|
|
17
17
|
const MixpanelAddUniqueToProfileListPropertyOutput = zod.z.object({
|
|
18
18
|
error: zod.z.string().describe("Error message if the request failed, null if successful.").nullable().optional(),
|
|
19
19
|
status: zod.z.union([zod.z.string(), zod.z.number().int()])
|
|
20
|
-
}).describe("Response model for profile union operation.");
|
|
20
|
+
}).passthrough().describe("Response model for profile union operation.");
|
|
21
21
|
const mixpanelAddUniqueToProfileListProperty = require_action.action("MIXPANEL_ADD_UNIQUE_TO_PROFILE_LIST_PROPERTY", {
|
|
22
22
|
slug: "mixpanel-add-unique-to-profile-list-property",
|
|
23
23
|
name: "Add Unique Values to Profile List Property",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-unique-to-profile-list-property.cjs","names":["z","action"],"sources":["../../src/actions/add-unique-to-profile-list-property.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelAddUniqueToProfileListPropertyInput
|
|
1
|
+
{"version":3,"file":"add-unique-to-profile-list-property.cjs","names":["z","action"],"sources":["../../src/actions/add-unique-to-profile-list-property.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelAddUniqueToProfileListPropertyInput = z.object({\n ip: z.number().int().describe(\"Controls geolocation. Set to 0 to disable geolocation, 1 to enable. Default is 1.\").optional(),\n data: z.array(z.object({\n ip: z.string().describe(\"IP address for geolocation enrichment. Set to '0' to prevent updating geolocation data. If not provided, Mixpanel uses the request IP. Geolocation properties ($city, $region, mp_country_code) are derived and the IP is discarded.\").optional(),\n token: z.string().describe(\"Your Mixpanel project authentication token. Required for authenticating the request.\"),\n union: z.record(z.string(), z.unknown()).describe(\"A JSON object containing key-value pairs where each key is a property name and each value is a list of items to union with that list property. Union adds values to a list property, excluding duplicates. If the property doesn't exist, it creates a new list with the provided values.\"),\n distinct_id: z.string().describe(\"The unique identifier for the user profile to update. This determines which profile will be modified.\"),\n ignore_time: z.boolean().describe(\"If true, prevents Mixpanel from automatically updating the 'Last Seen' property. Defaults to false.\").optional(),\n}).passthrough().describe(\"Individual profile update object for union operations on list properties.\")).describe(\"A list of profile update objects. Each object must contain $token, $distinct_id, and $union properties. The $union operation adds values to list properties without creating duplicates.\"),\n strict: z.number().int().describe(\"Enables validation with per-record error messages. Set to 1 to enable strict mode, 0 to disable. When enabled, returns detailed validation errors for each failed record.\").optional(),\n verbose: z.number().int().describe(\"Returns detailed response object. Set to 1 to get JSON response with status and error fields, 0 for plain text status (1 for success, 0 for failure). Default is 0.\").optional(),\n callback: z.string().describe(\"JSONP callback function name. Used for JSONP requests.\").optional(),\n}).describe(\"Request model for union operations on list properties in user profiles.\");\nexport const MixpanelAddUniqueToProfileListPropertyOutput = z.object({\n error: z.string().describe(\"Error message if the request failed, null if successful.\").nullable().optional(),\n status: z.union([z.string(), z.number().int()]),\n}).passthrough().describe(\"Response model for profile union operation.\");\n\nexport const mixpanelAddUniqueToProfileListProperty = action(\"MIXPANEL_ADD_UNIQUE_TO_PROFILE_LIST_PROPERTY\", {\n slug: \"mixpanel-add-unique-to-profile-list-property\",\n name: \"Add Unique Values to Profile List Property\",\n description: \"Tool to add unique values to list properties on user profiles in Mixpanel using the $union operation. Use when you need to add items to list-type properties without creating duplicates. Unlike $append, $union ensures values are unique in the list. If the property doesn't exist, it creates a new list with the provided values.\",\n input: MixpanelAddUniqueToProfileListPropertyInput,\n output: MixpanelAddUniqueToProfileListPropertyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8CAA8CA,IAAAA,EAAE,OAAO;CAClE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;CAC5H,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACvB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sOAAsO,CAAC,CAAC,SAAS;EACzQ,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF;EACjH,OAAOA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2RAA2R;EAC7U,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;EACxI,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CACpJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,CAAC,SAAS,0LAA0L;CACzS,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2KAA2K,CAAC,CAAC,SAAS;CACxN,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qKAAqK,CAAC,CAAC,SAAS;CACnN,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAa,+CAA+CA,IAAAA,EAAE,OAAO;CACnE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,QAAQA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;AAChD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,yCAAyCC,eAAAA,OAAO,gDAAgD;CAC3G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,37 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/add-unique-to-profile-list-property.d.ts
|
|
4
|
-
declare const MixpanelAddUniqueToProfileListPropertyInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MixpanelAddUniqueToProfileListPropertyInput: z.ZodObject<{
|
|
5
|
+
ip: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
data: z.ZodArray<z.ZodObject<{
|
|
7
|
+
ip: z.ZodOptional<z.ZodString>;
|
|
8
|
+
token: z.ZodString;
|
|
9
|
+
union: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
10
|
+
distinct_id: z.ZodString;
|
|
11
|
+
ignore_time: z.ZodOptional<z.ZodBoolean>;
|
|
12
|
+
}, z.core.$loose>>;
|
|
13
|
+
strict: z.ZodOptional<z.ZodNumber>;
|
|
14
|
+
verbose: z.ZodOptional<z.ZodNumber>;
|
|
15
|
+
callback: z.ZodOptional<z.ZodString>;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
declare const MixpanelAddUniqueToProfileListPropertyOutput: z.ZodObject<{
|
|
18
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
status: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
20
|
+
}, z.core.$loose>;
|
|
21
|
+
declare const mixpanelAddUniqueToProfileListProperty: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
|
+
data: {
|
|
23
|
+
[x: string]: unknown;
|
|
24
|
+
token: string;
|
|
25
|
+
union: Record<string, unknown>;
|
|
26
|
+
distinct_id: string;
|
|
27
|
+
ip?: string | undefined;
|
|
28
|
+
ignore_time?: boolean | undefined;
|
|
29
|
+
}[];
|
|
30
|
+
ip?: number | undefined;
|
|
31
|
+
strict?: number | undefined;
|
|
32
|
+
verbose?: number | undefined;
|
|
33
|
+
callback?: string | undefined;
|
|
34
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
35
|
//#endregion
|
|
8
36
|
export { mixpanelAddUniqueToProfileListProperty };
|
|
9
37
|
//# sourceMappingURL=add-unique-to-profile-list-property.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-unique-to-profile-list-property.d.cts","names":[],"sources":["../../src/actions/add-unique-to-profile-list-property.ts"],"mappings":";;;cAIa,2CAAA,
|
|
1
|
+
{"version":3,"file":"add-unique-to-profile-list-property.d.cts","names":[],"sources":["../../src/actions/add-unique-to-profile-list-property.ts"],"mappings":";;;cAIa,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAa3C,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;;cAK5C,sCAAA,gCAAsC,wBAAA;;;;WAMjD,MAAA"}
|
|
@@ -1,9 +1,37 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/add-unique-to-profile-list-property.d.ts
|
|
4
|
-
declare const MixpanelAddUniqueToProfileListPropertyInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MixpanelAddUniqueToProfileListPropertyInput: z.ZodObject<{
|
|
5
|
+
ip: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
data: z.ZodArray<z.ZodObject<{
|
|
7
|
+
ip: z.ZodOptional<z.ZodString>;
|
|
8
|
+
token: z.ZodString;
|
|
9
|
+
union: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
10
|
+
distinct_id: z.ZodString;
|
|
11
|
+
ignore_time: z.ZodOptional<z.ZodBoolean>;
|
|
12
|
+
}, z.core.$loose>>;
|
|
13
|
+
strict: z.ZodOptional<z.ZodNumber>;
|
|
14
|
+
verbose: z.ZodOptional<z.ZodNumber>;
|
|
15
|
+
callback: z.ZodOptional<z.ZodString>;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
declare const MixpanelAddUniqueToProfileListPropertyOutput: z.ZodObject<{
|
|
18
|
+
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
status: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
|
|
20
|
+
}, z.core.$loose>;
|
|
21
|
+
declare const mixpanelAddUniqueToProfileListProperty: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
|
+
data: {
|
|
23
|
+
[x: string]: unknown;
|
|
24
|
+
token: string;
|
|
25
|
+
union: Record<string, unknown>;
|
|
26
|
+
distinct_id: string;
|
|
27
|
+
ip?: string | undefined;
|
|
28
|
+
ignore_time?: boolean | undefined;
|
|
29
|
+
}[];
|
|
30
|
+
ip?: number | undefined;
|
|
31
|
+
strict?: number | undefined;
|
|
32
|
+
verbose?: number | undefined;
|
|
33
|
+
callback?: string | undefined;
|
|
34
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
35
|
//#endregion
|
|
8
36
|
export { mixpanelAddUniqueToProfileListProperty };
|
|
9
37
|
//# sourceMappingURL=add-unique-to-profile-list-property.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-unique-to-profile-list-property.d.mts","names":[],"sources":["../../src/actions/add-unique-to-profile-list-property.ts"],"mappings":";;;cAIa,2CAAA,
|
|
1
|
+
{"version":3,"file":"add-unique-to-profile-list-property.d.mts","names":[],"sources":["../../src/actions/add-unique-to-profile-list-property.ts"],"mappings":";;;cAIa,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAa3C,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;;cAK5C,sCAAA,gCAAsC,wBAAA;;;;WAMjD,MAAA"}
|
|
@@ -9,10 +9,10 @@ const mixpanelAddUniqueToProfileListProperty = action("MIXPANEL_ADD_UNIQUE_TO_PR
|
|
|
9
9
|
data: z.array(z.object({
|
|
10
10
|
ip: z.string().describe("IP address for geolocation enrichment. Set to '0' to prevent updating geolocation data. If not provided, Mixpanel uses the request IP. Geolocation properties ($city, $region, mp_country_code) are derived and the IP is discarded.").optional(),
|
|
11
11
|
token: z.string().describe("Your Mixpanel project authentication token. Required for authenticating the request."),
|
|
12
|
-
union: z.
|
|
12
|
+
union: z.record(z.string(), z.unknown()).describe("A JSON object containing key-value pairs where each key is a property name and each value is a list of items to union with that list property. Union adds values to a list property, excluding duplicates. If the property doesn't exist, it creates a new list with the provided values."),
|
|
13
13
|
distinct_id: z.string().describe("The unique identifier for the user profile to update. This determines which profile will be modified."),
|
|
14
14
|
ignore_time: z.boolean().describe("If true, prevents Mixpanel from automatically updating the 'Last Seen' property. Defaults to false.").optional()
|
|
15
|
-
}).describe("Individual profile update object for union operations on list properties.")).describe("A list of profile update objects. Each object must contain $token, $distinct_id, and $union properties. The $union operation adds values to list properties without creating duplicates."),
|
|
15
|
+
}).passthrough().describe("Individual profile update object for union operations on list properties.")).describe("A list of profile update objects. Each object must contain $token, $distinct_id, and $union properties. The $union operation adds values to list properties without creating duplicates."),
|
|
16
16
|
strict: z.number().int().describe("Enables validation with per-record error messages. Set to 1 to enable strict mode, 0 to disable. When enabled, returns detailed validation errors for each failed record.").optional(),
|
|
17
17
|
verbose: z.number().int().describe("Returns detailed response object. Set to 1 to get JSON response with status and error fields, 0 for plain text status (1 for success, 0 for failure). Default is 0.").optional(),
|
|
18
18
|
callback: z.string().describe("JSONP callback function name. Used for JSONP requests.").optional()
|
|
@@ -20,7 +20,7 @@ const mixpanelAddUniqueToProfileListProperty = action("MIXPANEL_ADD_UNIQUE_TO_PR
|
|
|
20
20
|
output: z.object({
|
|
21
21
|
error: z.string().describe("Error message if the request failed, null if successful.").nullable().optional(),
|
|
22
22
|
status: z.union([z.string(), z.number().int()])
|
|
23
|
-
}).describe("Response model for profile union operation.")
|
|
23
|
+
}).passthrough().describe("Response model for profile union operation.")
|
|
24
24
|
});
|
|
25
25
|
//#endregion
|
|
26
26
|
export { mixpanelAddUniqueToProfileListProperty };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-unique-to-profile-list-property.mjs","names":[],"sources":["../../src/actions/add-unique-to-profile-list-property.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelAddUniqueToProfileListPropertyInput
|
|
1
|
+
{"version":3,"file":"add-unique-to-profile-list-property.mjs","names":[],"sources":["../../src/actions/add-unique-to-profile-list-property.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelAddUniqueToProfileListPropertyInput = z.object({\n ip: z.number().int().describe(\"Controls geolocation. Set to 0 to disable geolocation, 1 to enable. Default is 1.\").optional(),\n data: z.array(z.object({\n ip: z.string().describe(\"IP address for geolocation enrichment. Set to '0' to prevent updating geolocation data. If not provided, Mixpanel uses the request IP. Geolocation properties ($city, $region, mp_country_code) are derived and the IP is discarded.\").optional(),\n token: z.string().describe(\"Your Mixpanel project authentication token. Required for authenticating the request.\"),\n union: z.record(z.string(), z.unknown()).describe(\"A JSON object containing key-value pairs where each key is a property name and each value is a list of items to union with that list property. Union adds values to a list property, excluding duplicates. If the property doesn't exist, it creates a new list with the provided values.\"),\n distinct_id: z.string().describe(\"The unique identifier for the user profile to update. This determines which profile will be modified.\"),\n ignore_time: z.boolean().describe(\"If true, prevents Mixpanel from automatically updating the 'Last Seen' property. Defaults to false.\").optional(),\n}).passthrough().describe(\"Individual profile update object for union operations on list properties.\")).describe(\"A list of profile update objects. Each object must contain $token, $distinct_id, and $union properties. The $union operation adds values to list properties without creating duplicates.\"),\n strict: z.number().int().describe(\"Enables validation with per-record error messages. Set to 1 to enable strict mode, 0 to disable. When enabled, returns detailed validation errors for each failed record.\").optional(),\n verbose: z.number().int().describe(\"Returns detailed response object. Set to 1 to get JSON response with status and error fields, 0 for plain text status (1 for success, 0 for failure). Default is 0.\").optional(),\n callback: z.string().describe(\"JSONP callback function name. Used for JSONP requests.\").optional(),\n}).describe(\"Request model for union operations on list properties in user profiles.\");\nexport const MixpanelAddUniqueToProfileListPropertyOutput = z.object({\n error: z.string().describe(\"Error message if the request failed, null if successful.\").nullable().optional(),\n status: z.union([z.string(), z.number().int()]),\n}).passthrough().describe(\"Response model for profile union operation.\");\n\nexport const mixpanelAddUniqueToProfileListProperty = action(\"MIXPANEL_ADD_UNIQUE_TO_PROFILE_LIST_PROPERTY\", {\n slug: \"mixpanel-add-unique-to-profile-list-property\",\n name: \"Add Unique Values to Profile List Property\",\n description: \"Tool to add unique values to list properties on user profiles in Mixpanel using the $union operation. Use when you need to add items to list-type properties without creating duplicates. Unlike $append, $union ensures values are unique in the list. If the property doesn't exist, it creates a new list with the provided values.\",\n input: MixpanelAddUniqueToProfileListPropertyInput,\n output: MixpanelAddUniqueToProfileListPropertyOutput,\n});\n"],"mappings":";;AAsBA,MAAa,yCAAyC,OAAO,gDAAgD;CAC3G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtByD,EAAE,OAAO;EAClE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS;EAC5H,MAAM,EAAE,MAAM,EAAE,OAAO;GACvB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sOAAsO,CAAC,CAAC,SAAS;GACzQ,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF;GACjH,OAAO,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2RAA2R;GAC7U,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG;GACxI,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;EACpJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,CAAC,SAAS,0LAA0L;EACzS,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2KAA2K,CAAC,CAAC,SAAS;EACxN,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qKAAqK,CAAC,CAAC,SAAS;EACnN,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACnG,CAAC,CAAC,CAAC,SAAS,yEAUH;CACP,QAV0D,EAAE,OAAO;EACnE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,QAAQ,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC;CAChD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAOhB;AACV,CAAC"}
|
|
@@ -27,12 +27,12 @@ const MixpanelAggregateEventsInput = zod.z.object({
|
|
|
27
27
|
}).describe("Request model for getting aggregate event counts.");
|
|
28
28
|
const MixpanelAggregateEvents_EventDataSchema = zod.z.object({
|
|
29
29
|
series: zod.z.array(zod.z.string()).describe("All dates included in values"),
|
|
30
|
-
values: zod.z.
|
|
31
|
-
}).describe("Model for event breakdown data structure");
|
|
30
|
+
values: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Keys are the names of events, each mapping to an object containing date-to-value mappings. Each event name maps to an object where keys are date strings (YYYY-MM-DD format) and values are numeric (int for general/unique aggregations, float for average/sum).")
|
|
31
|
+
}).passthrough().describe("Model for event breakdown data structure");
|
|
32
32
|
const MixpanelAggregateEventsOutput = zod.z.object({
|
|
33
33
|
data: MixpanelAggregateEvents_EventDataSchema.nullable(),
|
|
34
|
-
legend_size: zod.z.number().int().describe("The number of events defined in values")
|
|
35
|
-
}).describe("Base response model for event breakdown data");
|
|
34
|
+
legend_size: zod.z.number().int().describe("The number of events defined in values").nullable()
|
|
35
|
+
}).passthrough().describe("Base response model for event breakdown data");
|
|
36
36
|
const mixpanelAggregateEvents = require_action.action("MIXPANEL_AGGREGATE_EVENTS", {
|
|
37
37
|
slug: "mixpanel-aggregate-events",
|
|
38
38
|
name: "Get Aggregate Events",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aggregate-events.cjs","names":["z","action"],"sources":["../../src/actions/aggregate-events.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelAggregateEventsInput
|
|
1
|
+
{"version":3,"file":"aggregate-events.cjs","names":["z","action"],"sources":["../../src/actions/aggregate-events.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelAggregateEventsInput = z.object({\n type: z.enum([\"general\", \"unique\", \"average\", \"sum\"]).default(\"general\").describe(\"Type of aggregation\").optional(),\n unit: z.enum([\"minute\", \"hour\", \"day\", \"week\", \"month\"]).default(\"day\").describe(\"Time unit for grouping results\").optional(),\n event: z.string().describe(\"Name of the event to analyze At least one of `event` or `events` must be provided per request; omitting both returns a 'Missing required parameter: event' error.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return\").optional(),\n where: z.string().describe(\"Expression to filter events\").optional(),\n events: z.array(z.string()).describe(\"List of event names to analyze\").optional(),\n to_date: z.string().describe(\"End date for the query (inclusive)\"),\n interval: z.number().int().describe(\"Time interval for the results in seconds\").optional(),\n from_date: z.string().describe(\"Start date for the query (inclusive)\"),\n project_id: z.number().int().describe(\"The ID of the project to query\"),\n workspace_id: z.number().int().describe(\"The ID of the workspace if applicable\").optional(),\n}).describe(\"Request model for getting aggregate event counts.\");\nconst MixpanelAggregateEvents_EventDataSchema = z.object({\n series: z.array(z.string()).describe(\"All dates included in values\"),\n values: z.record(z.string(), z.unknown()).describe(\"Keys are the names of events, each mapping to an object containing date-to-value mappings. Each event name maps to an object where keys are date strings (YYYY-MM-DD format) and values are numeric (int for general/unique aggregations, float for average/sum).\"),\n}).passthrough().describe(\"Model for event breakdown data structure\");\nexport const MixpanelAggregateEventsOutput = z.object({\n data: MixpanelAggregateEvents_EventDataSchema.nullable(),\n legend_size: z.number().int().describe(\"The number of events defined in values\").nullable(),\n}).passthrough().describe(\"Base response model for event breakdown data\");\n\nexport const mixpanelAggregateEvents = action(\"MIXPANEL_AGGREGATE_EVENTS\", {\n slug: \"mixpanel-aggregate-events\",\n name: \"Get Aggregate Events\",\n description: \"Get aggregate event counts over time. Supports different types of aggregation: general, unique, average, sum.\",\n input: MixpanelAggregateEventsInput,\n output: MixpanelAggregateEventsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAU;EAAW;CAAK,CAAC,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAClH,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAQ;EAAO;EAAQ;CAAO,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC5H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mKAAmK,CAAC,CAAC,SAAS;CACzM,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACjF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACnE,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAChF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACjE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACzF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACrE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC;CACtE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8BAA8B;CACnE,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mQAAmQ;AACxT,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAM,wCAAwC,SAAS;CACvD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,50 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/aggregate-events.d.ts
|
|
4
|
-
declare const MixpanelAggregateEventsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MixpanelAggregateEventsInput: z.ZodObject<{
|
|
5
|
+
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
6
|
+
general: "general";
|
|
7
|
+
unique: "unique";
|
|
8
|
+
average: "average";
|
|
9
|
+
sum: "sum";
|
|
10
|
+
}>>>;
|
|
11
|
+
unit: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
12
|
+
minute: "minute";
|
|
13
|
+
hour: "hour";
|
|
14
|
+
day: "day";
|
|
15
|
+
week: "week";
|
|
16
|
+
month: "month";
|
|
17
|
+
}>>>;
|
|
18
|
+
event: z.ZodOptional<z.ZodString>;
|
|
19
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
20
|
+
where: z.ZodOptional<z.ZodString>;
|
|
21
|
+
events: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
22
|
+
to_date: z.ZodString;
|
|
23
|
+
interval: z.ZodOptional<z.ZodNumber>;
|
|
24
|
+
from_date: z.ZodString;
|
|
25
|
+
project_id: z.ZodNumber;
|
|
26
|
+
workspace_id: z.ZodOptional<z.ZodNumber>;
|
|
27
|
+
}, z.core.$strip>;
|
|
28
|
+
declare const MixpanelAggregateEventsOutput: z.ZodObject<{
|
|
29
|
+
data: z.ZodNullable<z.ZodObject<{
|
|
30
|
+
series: z.ZodArray<z.ZodString>;
|
|
31
|
+
values: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
32
|
+
}, z.core.$loose>>;
|
|
33
|
+
legend_size: z.ZodNullable<z.ZodNumber>;
|
|
34
|
+
}, z.core.$loose>;
|
|
35
|
+
declare const mixpanelAggregateEvents: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
36
|
+
to_date: string;
|
|
37
|
+
from_date: string;
|
|
38
|
+
project_id: number;
|
|
39
|
+
type?: "general" | "unique" | "average" | "sum" | undefined;
|
|
40
|
+
unit?: "minute" | "hour" | "day" | "week" | "month" | undefined;
|
|
41
|
+
event?: string | undefined;
|
|
42
|
+
limit?: number | undefined;
|
|
43
|
+
where?: string | undefined;
|
|
44
|
+
events?: string[] | undefined;
|
|
45
|
+
interval?: number | undefined;
|
|
46
|
+
workspace_id?: number | undefined;
|
|
47
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
48
|
//#endregion
|
|
8
49
|
export { mixpanelAggregateEvents };
|
|
9
50
|
//# sourceMappingURL=aggregate-events.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aggregate-events.d.cts","names":[],"sources":["../../src/actions/aggregate-events.ts"],"mappings":";;;cAIa,4BAAA,
|
|
1
|
+
{"version":3,"file":"aggregate-events.d.cts","names":[],"sources":["../../src/actions/aggregate-events.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAiB5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;cAK7B,uBAAA,gCAAuB,wBAAA"}
|
|
@@ -1,9 +1,50 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/aggregate-events.d.ts
|
|
4
|
-
declare const MixpanelAggregateEventsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MixpanelAggregateEventsInput: z.ZodObject<{
|
|
5
|
+
type: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
6
|
+
general: "general";
|
|
7
|
+
unique: "unique";
|
|
8
|
+
average: "average";
|
|
9
|
+
sum: "sum";
|
|
10
|
+
}>>>;
|
|
11
|
+
unit: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
12
|
+
minute: "minute";
|
|
13
|
+
hour: "hour";
|
|
14
|
+
day: "day";
|
|
15
|
+
week: "week";
|
|
16
|
+
month: "month";
|
|
17
|
+
}>>>;
|
|
18
|
+
event: z.ZodOptional<z.ZodString>;
|
|
19
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
20
|
+
where: z.ZodOptional<z.ZodString>;
|
|
21
|
+
events: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
22
|
+
to_date: z.ZodString;
|
|
23
|
+
interval: z.ZodOptional<z.ZodNumber>;
|
|
24
|
+
from_date: z.ZodString;
|
|
25
|
+
project_id: z.ZodNumber;
|
|
26
|
+
workspace_id: z.ZodOptional<z.ZodNumber>;
|
|
27
|
+
}, z.core.$strip>;
|
|
28
|
+
declare const MixpanelAggregateEventsOutput: z.ZodObject<{
|
|
29
|
+
data: z.ZodNullable<z.ZodObject<{
|
|
30
|
+
series: z.ZodArray<z.ZodString>;
|
|
31
|
+
values: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
32
|
+
}, z.core.$loose>>;
|
|
33
|
+
legend_size: z.ZodNullable<z.ZodNumber>;
|
|
34
|
+
}, z.core.$loose>;
|
|
35
|
+
declare const mixpanelAggregateEvents: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
36
|
+
to_date: string;
|
|
37
|
+
from_date: string;
|
|
38
|
+
project_id: number;
|
|
39
|
+
type?: "general" | "unique" | "average" | "sum" | undefined;
|
|
40
|
+
unit?: "minute" | "hour" | "day" | "week" | "month" | undefined;
|
|
41
|
+
event?: string | undefined;
|
|
42
|
+
limit?: number | undefined;
|
|
43
|
+
where?: string | undefined;
|
|
44
|
+
events?: string[] | undefined;
|
|
45
|
+
interval?: number | undefined;
|
|
46
|
+
workspace_id?: number | undefined;
|
|
47
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
48
|
//#endregion
|
|
8
49
|
export { mixpanelAggregateEvents };
|
|
9
50
|
//# sourceMappingURL=aggregate-events.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aggregate-events.d.mts","names":[],"sources":["../../src/actions/aggregate-events.ts"],"mappings":";;;cAIa,4BAAA,
|
|
1
|
+
{"version":3,"file":"aggregate-events.d.mts","names":[],"sources":["../../src/actions/aggregate-events.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAiB5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;cAK7B,uBAAA,gCAAuB,wBAAA"}
|
|
@@ -27,8 +27,8 @@ const MixpanelAggregateEventsInput = z.object({
|
|
|
27
27
|
}).describe("Request model for getting aggregate event counts.");
|
|
28
28
|
const MixpanelAggregateEvents_EventDataSchema = z.object({
|
|
29
29
|
series: z.array(z.string()).describe("All dates included in values"),
|
|
30
|
-
values: z.
|
|
31
|
-
}).describe("Model for event breakdown data structure");
|
|
30
|
+
values: z.record(z.string(), z.unknown()).describe("Keys are the names of events, each mapping to an object containing date-to-value mappings. Each event name maps to an object where keys are date strings (YYYY-MM-DD format) and values are numeric (int for general/unique aggregations, float for average/sum).")
|
|
31
|
+
}).passthrough().describe("Model for event breakdown data structure");
|
|
32
32
|
const mixpanelAggregateEvents = action("MIXPANEL_AGGREGATE_EVENTS", {
|
|
33
33
|
slug: "mixpanel-aggregate-events",
|
|
34
34
|
name: "Get Aggregate Events",
|
|
@@ -36,8 +36,8 @@ const mixpanelAggregateEvents = action("MIXPANEL_AGGREGATE_EVENTS", {
|
|
|
36
36
|
input: MixpanelAggregateEventsInput,
|
|
37
37
|
output: z.object({
|
|
38
38
|
data: MixpanelAggregateEvents_EventDataSchema.nullable(),
|
|
39
|
-
legend_size: z.number().int().describe("The number of events defined in values")
|
|
40
|
-
}).describe("Base response model for event breakdown data")
|
|
39
|
+
legend_size: z.number().int().describe("The number of events defined in values").nullable()
|
|
40
|
+
}).passthrough().describe("Base response model for event breakdown data")
|
|
41
41
|
});
|
|
42
42
|
//#endregion
|
|
43
43
|
export { mixpanelAggregateEvents };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aggregate-events.mjs","names":[],"sources":["../../src/actions/aggregate-events.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelAggregateEventsInput
|
|
1
|
+
{"version":3,"file":"aggregate-events.mjs","names":[],"sources":["../../src/actions/aggregate-events.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelAggregateEventsInput = z.object({\n type: z.enum([\"general\", \"unique\", \"average\", \"sum\"]).default(\"general\").describe(\"Type of aggregation\").optional(),\n unit: z.enum([\"minute\", \"hour\", \"day\", \"week\", \"month\"]).default(\"day\").describe(\"Time unit for grouping results\").optional(),\n event: z.string().describe(\"Name of the event to analyze At least one of `event` or `events` must be provided per request; omitting both returns a 'Missing required parameter: event' error.\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return\").optional(),\n where: z.string().describe(\"Expression to filter events\").optional(),\n events: z.array(z.string()).describe(\"List of event names to analyze\").optional(),\n to_date: z.string().describe(\"End date for the query (inclusive)\"),\n interval: z.number().int().describe(\"Time interval for the results in seconds\").optional(),\n from_date: z.string().describe(\"Start date for the query (inclusive)\"),\n project_id: z.number().int().describe(\"The ID of the project to query\"),\n workspace_id: z.number().int().describe(\"The ID of the workspace if applicable\").optional(),\n}).describe(\"Request model for getting aggregate event counts.\");\nconst MixpanelAggregateEvents_EventDataSchema = z.object({\n series: z.array(z.string()).describe(\"All dates included in values\"),\n values: z.record(z.string(), z.unknown()).describe(\"Keys are the names of events, each mapping to an object containing date-to-value mappings. Each event name maps to an object where keys are date strings (YYYY-MM-DD format) and values are numeric (int for general/unique aggregations, float for average/sum).\"),\n}).passthrough().describe(\"Model for event breakdown data structure\");\nexport const MixpanelAggregateEventsOutput = z.object({\n data: MixpanelAggregateEvents_EventDataSchema.nullable(),\n legend_size: z.number().int().describe(\"The number of events defined in values\").nullable(),\n}).passthrough().describe(\"Base response model for event breakdown data\");\n\nexport const mixpanelAggregateEvents = action(\"MIXPANEL_AGGREGATE_EVENTS\", {\n slug: \"mixpanel-aggregate-events\",\n name: \"Get Aggregate Events\",\n description: \"Get aggregate event counts over time. Supports different types of aggregation: general, unique, average, sum.\",\n input: MixpanelAggregateEventsInput,\n output: MixpanelAggregateEventsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,MAAM,EAAE,KAAK;EAAC;EAAW;EAAU;EAAW;CAAK,CAAC,CAAC,CAAC,QAAQ,SAAS,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAClH,MAAM,EAAE,KAAK;EAAC;EAAU;EAAQ;EAAO;EAAQ;CAAO,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC5H,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mKAAmK,CAAC,CAAC,SAAS;CACzM,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACjF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACnE,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAChF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACjE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACzF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACrE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC;CACtE,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,0CAA0C,EAAE,OAAO;CACvD,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8BAA8B;CACnE,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mQAAmQ;AACxT,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAMpE,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV2C,EAAE,OAAO;EACpD,MAAM,wCAAwC,SAAS;EACvD,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAOhB;AACV,CAAC"}
|
|
@@ -28,11 +28,11 @@ const MixpanelAggregatedEventPropertyValuesInput = zod.z.object({
|
|
|
28
28
|
const MixpanelAggregatedEventPropertyValues_SeriesDataSchema = zod.z.object({
|
|
29
29
|
series: zod.z.array(zod.z.string()).describe("Array of series data"),
|
|
30
30
|
values: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Values data")
|
|
31
|
-
}).describe("Model for series data");
|
|
31
|
+
}).passthrough().describe("Model for series data");
|
|
32
32
|
const MixpanelAggregatedEventPropertyValuesOutput = zod.z.object({
|
|
33
33
|
data: MixpanelAggregatedEventPropertyValues_SeriesDataSchema.nullable(),
|
|
34
|
-
legend_size: zod.z.number().int().describe("Size of the legend")
|
|
35
|
-
}).describe("Response model for aggregated event property values data");
|
|
34
|
+
legend_size: zod.z.number().int().describe("Size of the legend").nullable()
|
|
35
|
+
}).passthrough().describe("Response model for aggregated event property values data");
|
|
36
36
|
const mixpanelAggregatedEventPropertyValues = require_action.action("MIXPANEL_AGGREGATED_EVENT_PROPERTY_VALUES", {
|
|
37
37
|
slug: "mixpanel-aggregated-event-property-values",
|
|
38
38
|
name: "Get Aggregated Event Property Values",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aggregated-event-property-values.cjs","names":["z","action"],"sources":["../../src/actions/aggregated-event-property-values.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelAggregatedEventPropertyValuesInput
|
|
1
|
+
{"version":3,"file":"aggregated-event-property-values.cjs","names":["z","action"],"sources":["../../src/actions/aggregated-event-property-values.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MixpanelAggregatedEventPropertyValuesInput = z.object({\n name: z.string().describe(\"The name of the property you would like to get data for\"),\n type: z.enum([\"general\", \"unique\", \"average\"]).describe(\"The analysis type you would like to get data for\"),\n unit: z.enum([\"minute\", \"hour\", \"day\", \"week\", \"month\"]).describe(\"The level of granularity of the data\"),\n event: z.string().describe(\"The event that you wish to get data for. Note: this is a single event name, not an array\"),\n limit: z.number().int().default(255).describe(\"The maximum number of values to return\").optional(),\n format: z.enum([\"json\", \"csv\"]).default(\"json\").describe(\"Data format options for Mixpanel responses.\").optional(),\n values: z.array(z.string()).describe(\"The specific property values that you would like to get data for. Example: ['female', 'unknown']\").optional(),\n to_date: z.string().describe(\"The date in yyyy-mm-dd format to query to (inclusive)\").optional(),\n interval: z.number().int().describe(\"The number of units to return data for. Specify either interval or from_date and to_date\").optional(),\n from_date: z.string().describe(\"The date in yyyy-mm-dd format to begin querying from (inclusive)\").optional(),\n project_id: z.number().int().describe(\"Required if using service account to authenticate request\"),\n workspace_id: z.number().int().describe(\"The id of the workspace if applicable\").optional(),\n}).describe(\"Request model for getting aggregated event property values\");\nconst MixpanelAggregatedEventPropertyValues_SeriesDataSchema = z.object({\n series: z.array(z.string()).describe(\"Array of series data\"),\n values: z.record(z.string(), z.unknown()).describe(\"Values data\"),\n}).passthrough().describe(\"Model for series data\");\nexport const MixpanelAggregatedEventPropertyValuesOutput = z.object({\n data: MixpanelAggregatedEventPropertyValues_SeriesDataSchema.nullable(),\n legend_size: z.number().int().describe(\"Size of the legend\").nullable(),\n}).passthrough().describe(\"Response model for aggregated event property values data\");\n\nexport const mixpanelAggregatedEventPropertyValues = action(\"MIXPANEL_AGGREGATED_EVENT_PROPERTY_VALUES\", {\n slug: \"mixpanel-aggregated-event-property-values\",\n name: \"Get Aggregated Event Property Values\",\n description: \"Get unique, total, or average data for a single event and property over days, weeks, or months. The Query API has a rate limit of 60 queries per hour and a maximum of 5 concurrent queries.\",\n input: MixpanelAggregatedEventPropertyValuesInput,\n output: MixpanelAggregatedEventPropertyValuesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6CAA6CA,IAAAA,EAAE,OAAO;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACnF,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAU;CAAS,CAAC,CAAC,CAAC,SAAS,kDAAkD;CAC1G,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAQ;EAAO;EAAQ;CAAO,CAAC,CAAC,CAAC,SAAS,sCAAsC;CACxG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F;CACrH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACjG,QAAQA,IAAAA,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACjH,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;CAClJ,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAC/F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACzI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC5G,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,4DAA4D;AACxE,MAAM,yDAAyDA,IAAAA,EAAE,OAAO;CACtE,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sBAAsB;CAC3D,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,aAAa;AAClE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uBAAuB;AACjD,MAAa,8CAA8CA,IAAAA,EAAE,OAAO;CAClE,MAAM,uDAAuD,SAAS;CACtE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AAEpF,MAAa,wCAAwCC,eAAAA,OAAO,6CAA6C;CACvG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,54 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/aggregated-event-property-values.d.ts
|
|
4
|
-
declare const MixpanelAggregatedEventPropertyValuesInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MixpanelAggregatedEventPropertyValuesInput: z.ZodObject<{
|
|
5
|
+
name: z.ZodString;
|
|
6
|
+
type: z.ZodEnum<{
|
|
7
|
+
general: "general";
|
|
8
|
+
unique: "unique";
|
|
9
|
+
average: "average";
|
|
10
|
+
}>;
|
|
11
|
+
unit: z.ZodEnum<{
|
|
12
|
+
minute: "minute";
|
|
13
|
+
hour: "hour";
|
|
14
|
+
day: "day";
|
|
15
|
+
week: "week";
|
|
16
|
+
month: "month";
|
|
17
|
+
}>;
|
|
18
|
+
event: z.ZodString;
|
|
19
|
+
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
20
|
+
format: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
21
|
+
json: "json";
|
|
22
|
+
csv: "csv";
|
|
23
|
+
}>>>;
|
|
24
|
+
values: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
25
|
+
to_date: z.ZodOptional<z.ZodString>;
|
|
26
|
+
interval: z.ZodOptional<z.ZodNumber>;
|
|
27
|
+
from_date: z.ZodOptional<z.ZodString>;
|
|
28
|
+
project_id: z.ZodNumber;
|
|
29
|
+
workspace_id: z.ZodOptional<z.ZodNumber>;
|
|
30
|
+
}, z.core.$strip>;
|
|
31
|
+
declare const MixpanelAggregatedEventPropertyValuesOutput: z.ZodObject<{
|
|
32
|
+
data: z.ZodNullable<z.ZodObject<{
|
|
33
|
+
series: z.ZodArray<z.ZodString>;
|
|
34
|
+
values: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
35
|
+
}, z.core.$loose>>;
|
|
36
|
+
legend_size: z.ZodNullable<z.ZodNumber>;
|
|
37
|
+
}, z.core.$loose>;
|
|
38
|
+
declare const mixpanelAggregatedEventPropertyValues: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
39
|
+
name: string;
|
|
40
|
+
type: "general" | "unique" | "average";
|
|
41
|
+
unit: "minute" | "hour" | "day" | "week" | "month";
|
|
42
|
+
event: string;
|
|
43
|
+
project_id: number;
|
|
44
|
+
limit?: number | undefined;
|
|
45
|
+
format?: "json" | "csv" | undefined;
|
|
46
|
+
values?: string[] | undefined;
|
|
47
|
+
to_date?: string | undefined;
|
|
48
|
+
interval?: number | undefined;
|
|
49
|
+
from_date?: string | undefined;
|
|
50
|
+
workspace_id?: number | undefined;
|
|
51
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
52
|
//#endregion
|
|
8
53
|
export { mixpanelAggregatedEventPropertyValues };
|
|
9
54
|
//# sourceMappingURL=aggregated-event-property-values.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aggregated-event-property-values.d.cts","names":[],"sources":["../../src/actions/aggregated-event-property-values.ts"],"mappings":";;;cAIa,0CAAA,
|
|
1
|
+
{"version":3,"file":"aggregated-event-property-values.d.cts","names":[],"sources":["../../src/actions/aggregated-event-property-values.ts"],"mappings":";;;cAIa,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkB1C,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;cAK3C,qCAAA,gCAAqC,wBAAA"}
|
|
@@ -1,9 +1,54 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/aggregated-event-property-values.d.ts
|
|
4
|
-
declare const MixpanelAggregatedEventPropertyValuesInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MixpanelAggregatedEventPropertyValuesInput: z.ZodObject<{
|
|
5
|
+
name: z.ZodString;
|
|
6
|
+
type: z.ZodEnum<{
|
|
7
|
+
general: "general";
|
|
8
|
+
unique: "unique";
|
|
9
|
+
average: "average";
|
|
10
|
+
}>;
|
|
11
|
+
unit: z.ZodEnum<{
|
|
12
|
+
minute: "minute";
|
|
13
|
+
hour: "hour";
|
|
14
|
+
day: "day";
|
|
15
|
+
week: "week";
|
|
16
|
+
month: "month";
|
|
17
|
+
}>;
|
|
18
|
+
event: z.ZodString;
|
|
19
|
+
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
20
|
+
format: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
21
|
+
json: "json";
|
|
22
|
+
csv: "csv";
|
|
23
|
+
}>>>;
|
|
24
|
+
values: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
25
|
+
to_date: z.ZodOptional<z.ZodString>;
|
|
26
|
+
interval: z.ZodOptional<z.ZodNumber>;
|
|
27
|
+
from_date: z.ZodOptional<z.ZodString>;
|
|
28
|
+
project_id: z.ZodNumber;
|
|
29
|
+
workspace_id: z.ZodOptional<z.ZodNumber>;
|
|
30
|
+
}, z.core.$strip>;
|
|
31
|
+
declare const MixpanelAggregatedEventPropertyValuesOutput: z.ZodObject<{
|
|
32
|
+
data: z.ZodNullable<z.ZodObject<{
|
|
33
|
+
series: z.ZodArray<z.ZodString>;
|
|
34
|
+
values: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
35
|
+
}, z.core.$loose>>;
|
|
36
|
+
legend_size: z.ZodNullable<z.ZodNumber>;
|
|
37
|
+
}, z.core.$loose>;
|
|
38
|
+
declare const mixpanelAggregatedEventPropertyValues: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
39
|
+
name: string;
|
|
40
|
+
type: "general" | "unique" | "average";
|
|
41
|
+
unit: "minute" | "hour" | "day" | "week" | "month";
|
|
42
|
+
event: string;
|
|
43
|
+
project_id: number;
|
|
44
|
+
limit?: number | undefined;
|
|
45
|
+
format?: "json" | "csv" | undefined;
|
|
46
|
+
values?: string[] | undefined;
|
|
47
|
+
to_date?: string | undefined;
|
|
48
|
+
interval?: number | undefined;
|
|
49
|
+
from_date?: string | undefined;
|
|
50
|
+
workspace_id?: number | undefined;
|
|
51
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
52
|
//#endregion
|
|
8
53
|
export { mixpanelAggregatedEventPropertyValues };
|
|
9
54
|
//# sourceMappingURL=aggregated-event-property-values.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aggregated-event-property-values.d.mts","names":[],"sources":["../../src/actions/aggregated-event-property-values.ts"],"mappings":";;;cAIa,0CAAA,
|
|
1
|
+
{"version":3,"file":"aggregated-event-property-values.d.mts","names":[],"sources":["../../src/actions/aggregated-event-property-values.ts"],"mappings":";;;cAIa,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkB1C,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;cAK3C,qCAAA,gCAAqC,wBAAA"}
|